CN115712684A - Storage method and system for dynamic information of articles in Internet of things - Google Patents

Storage method and system for dynamic information of articles in Internet of things Download PDF

Info

Publication number
CN115712684A
CN115712684A CN202211481381.0A CN202211481381A CN115712684A CN 115712684 A CN115712684 A CN 115712684A CN 202211481381 A CN202211481381 A CN 202211481381A CN 115712684 A CN115712684 A CN 115712684A
Authority
CN
China
Prior art keywords
information
node
article
dynamic information
dynamic
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.)
Granted
Application number
CN202211481381.0A
Other languages
Chinese (zh)
Other versions
CN115712684B (en
Inventor
周江锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Dingshan Information Technology Co ltd
Original Assignee
Nanjing Dingshan Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Dingshan Information Technology Co ltd filed Critical Nanjing Dingshan Information Technology Co ltd
Priority to CN202211481381.0A priority Critical patent/CN115712684B/en
Publication of CN115712684A publication Critical patent/CN115712684A/en
Application granted granted Critical
Publication of CN115712684B publication Critical patent/CN115712684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a data processing technology, and discloses a method and a system for storing dynamic information of articles in the Internet of things, wherein the method comprises the following steps: acquiring dynamic information of the article, and storing the dynamic information of the article in a database cluster; extracting an article code of the article dynamic information, and tracking the article dynamic information according to the article code to obtain an article information record; extracting node types from the article information records, and generating a query list according to the node types, the article codes and the article dynamic information, wherein the node types comprise main nodes and sub nodes; according to the query list, the main node is issued to and stored in each sub-node, and the stored sub-nodes are subjected to integrated calculation to obtain an updated main node; and updating the dynamic information of the articles in the database cluster according to the updating main node to obtain a target database cluster. The invention can improve the efficiency of storing the dynamic information of the article.

Description

Storage method and system for dynamic information of articles in Internet of things
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a system for storing dynamic information of articles in the Internet of things.
Background
In systems such as internet of things and industrial monitoring, a large amount of real-time data information is generated at every moment, and the data information is relatively complicated to collect. In order to process data information generated in real time, the data information needs to be processed with high timeliness and high throughput of a real-time database, real-time monitoring and early warning are carried out on equipment according to the data information, historical data information in the real-time database is analyzed and mined, and a basis is provided for enterprise decision making and the like.
The traditional method for processing historical data information by a real-time database at present comprises the following steps: 1. data information is efficiently compressed and stored in a file mode; 2. in combination with a relational database, data information is stored in the relational database, and both of these two ways of processing data information have certain disadvantages. For example, the data information query speed is reduced to a certain extent by adopting a high-efficiency data information compression mode; the method stored in the relational database has the problems that large-scale expansion cannot be realized, unstructured data information cannot be processed easily, and efficiency is low when high-concurrency query is performed when massive data information is processed. In summary, the existing technology has the problem of low efficiency when storing dynamic information of articles.
Disclosure of Invention
The invention provides a storage method and a storage system for dynamic information of articles in the Internet of things, and mainly aims to solve the problem of low data integration efficiency.
In order to achieve the above object, the method for storing dynamic information of an article in the internet of things provided by the invention comprises the following steps:
acquiring dynamic information of an article, and storing the dynamic information of the article in a preset database cluster;
extracting the article code of the article dynamic information, and tracking the article dynamic information according to the article code to obtain an article information record;
extracting a node type from the item information record, and generating a query list according to the node type, the item code and the item dynamic information, wherein the node type comprises a main node and a sub node;
according to the query list, the main node is issued to and stored in each sub node, and the stored sub nodes are subjected to integrated calculation to obtain an updated main node;
and updating the dynamic information of the articles in the database cluster according to the updating master node to obtain a target database cluster.
Optionally, the storing the item dynamic information into a preset database cluster includes:
acquiring a preloading information request corresponding to the dynamic article information, and analyzing the dynamic article information according to the preloading information request to obtain a preloading information label;
according to the pre-loaded information label, inquiring a service information area corresponding to the pre-loaded information label from a preset information pre-loaded data table;
and utilizing a preset SQL statement to place the area data of the business information area into the database cluster.
Optionally, the item code for extracting the item dynamic information includes:
acquiring an information ID of the dynamic article information, and positioning an operation area of the dynamic article information;
searching a service information area corresponding to the information ID and the operation area from a preset service area definition table;
and inquiring the information label of the dynamic information of the article in the service information area, numbering the information label and obtaining the article code.
Optionally, the tracking the dynamic information of the article according to the article code to obtain an article information record includes:
marking the dynamic information of the article according to the article code to obtain dynamic information of the marked article;
recording an information path of the dynamic information of the marked article, and judging whether the information path contains an information node of the dynamic information of the marked article;
and when the information path contains the information node, acquiring the article information in the information node, and integrating the article information to obtain an article information record.
Optionally, the generating a query list according to the node type, the item code, and the item dynamic information includes:
associating the node types by using a preset association algorithm to obtain associated node types;
the article number is in one-to-one correspondence with the article dynamic information corresponding to the article number, and the corresponding article code and the article dynamic information are combined to be used as code information;
and constructing a query list by taking the associated node type as a row vector and the coding information as a column vector.
Optionally, the associating the node type by using a preset association algorithm to obtain an associated node type includes:
selecting any node type from the node types as a target node type, and taking other node types except the target node type as reference node types;
matching calculation is carried out on the target node type and the reference node type by utilizing the association algorithm to obtain a matching value;
the correlation algorithm is represented as:
Figure BDA0003961768830000031
wherein P (v, theta) represents a matching value of the target node type and the reference node type, v represents the target node type, theta represents the reference node type, and Z represents a preset normalization factor;
when the matching value is larger than a preset threshold value, activating a connection point of the target node type and the reference node type by using a preset activation function to obtain a related node type;
the activation function may be expressed as:
Figure BDA0003961768830000032
wherein E (v, θ) represents an associated node type of the target node type and the reference node type, v (v, θ) i Representing the ith target node type, theta representing the jth reference node type, I representing the number of the target node types, J representing the number of the reference node types, b representing the preset offset vector of the target node type, and a representing the preset offset vector of the reference node type.
Optionally, the issuing and storing the master node to each of the child nodes according to the query list includes:
inquiring node information of the main node according to the inquiry list;
and transmitting the node information to the sub-node through the connection point of the main node and the sub-node, and storing the node information to the sub-node.
Optionally, the performing integrated computation on the stored sub-nodes to obtain an updated master node includes:
carrying out weight assignment on the stored sub-nodes to obtain node weights;
performing weighted calculation according to the sub-nodes and the node weights to obtain an updated main node;
performing weighting calculation by using the following formula to obtain an updated master node:
Figure BDA0003961768830000041
wherein A represents the update master node, score d Denotes the d-th partial node, α d And a weight coefficient representing the weight of the node corresponding to the d-th sub-node, wherein n represents the total number of the sub-nodes.
Optionally, the updating, according to the update master node, the item dynamic information in the database cluster to obtain a target database cluster includes:
extracting the main node of the dynamic information of the article by using a preset machine learning algorithm to obtain an information main node;
the machine learning algorithm is represented as:
Figure BDA0003961768830000042
wherein h represents the information main node, Y represents the dynamic information of the article, w represents a preset weight of the information main node, and c represents a preset calculation parameter;
replacing the information main node by using the updating main node, and storing the updating main node to the dynamic information of the article;
and storing the updated dynamic information of the article into the database cluster to obtain a target database cluster.
In order to solve the above problem, the present invention further provides a storage system for dynamic information of an article in the internet of things, where the system includes:
the article dynamic information storage module is used for acquiring article dynamic information and storing the article dynamic information into a preset database cluster;
the article information record generating module is used for extracting the article code of the article dynamic information and tracking the article dynamic information according to the article code to obtain an article information record;
the query list generation module is used for extracting a node type from the item information record and generating a query list according to the node type, the item code and the item dynamic information, wherein the node type comprises a main node and a sub node;
the sub-node calculation module is used for issuing and storing the main node to each sub-node according to the query list, and performing integrated calculation on the stored sub-nodes to obtain an updated main node;
and the database cluster updating module is used for updating the dynamic information of the articles in the database cluster according to the updating master node to obtain a target database cluster.
The embodiment of the invention provides a method and a system for storing article dynamic information in the Internet of things, wherein different article dynamic information can be distinguished by storing the article dynamic information into a database cluster; by extracting the article code of the article dynamic information and tracking the article dynamic information according to the article code, the accuracy of acquiring article information records can be improved, and the computer processing efficiency is improved; the main node is issued and stored to each sub-node, and the stored sub-nodes are integrated and calculated, so that data unification can be ensured, and the calculation efficiency is improved; the dynamic information of the articles in the database cluster is updated through the updating master node, so that the target database cluster is more accurate, and the efficiency of storing the dynamic information of the articles is improved. Therefore, the storage method, the storage system, the electronic device and the computer-readable storage medium for the dynamic information of the articles in the internet of things, which are provided by the invention, can solve the problem of low efficiency in storing the dynamic information of the articles.
Drawings
Fig. 1 is a schematic flow chart of a method for storing dynamic information of an article in the internet of things according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of item encoding for extracting item dynamic information according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of generating a query list according to a node type, an item code, and item dynamic information according to an embodiment of the present invention;
fig. 4 is a functional block diagram of a storage system for dynamic information of an item in the internet of things according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a storage method for dynamic information of articles in the Internet of things. The execution subject of the storage method of the dynamic information of the item in the internet of things includes, but is not limited to, at least one of electronic devices, such as a server and a terminal, which can be configured to execute the method provided by the embodiment of the present application. In other words, the storage method of the dynamic information of the items in the internet of things may be executed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform.
Fig. 1 is a schematic flow chart of a method for storing dynamic information of an item in the internet of things according to an embodiment of the present invention. In this embodiment, the method for storing dynamic information of an item in the internet of things includes:
s1, acquiring dynamic information of an article, and storing the dynamic information of the article in a preset database cluster;
in the embodiment of the invention, the item dynamic information comprises information such as item numbers, item names and item information records.
In an embodiment of the present invention, the storing the dynamic information of the article in a preset database cluster includes:
acquiring a preloading information request corresponding to the dynamic article information, and analyzing the dynamic article information according to the preloading information request to obtain a preloading information label;
according to the pre-loaded information label, inquiring a service information area corresponding to the pre-loaded information label from a preset information pre-loaded data table;
and placing the area data of the business information area into the database cluster by using a preset SQL statement.
In the embodiment of the invention, all the preloaded information requests are sequenced according to the generation time of the preloaded information requests to generate a preloaded information request queue, the preloaded information request queue comprises a plurality of preloaded information requests and preloaded information labels corresponding to the preloaded information requests, and the preloaded information labels corresponding to the dynamic information of the article are extracted according to the preloaded information request queue to obtain a plurality of preloaded information labels.
In the embodiment of the invention, the preset information preloading data table comprises information data such as preloading information labels, service information areas, article dynamic information and the like, each preloading information label has a unique number corresponding to the preloading information label, the number can be represented by a numerical value or a letter, and the service information area corresponding to the preloading information label can be found in the information preloading data table according to the number.
In the embodiment of the invention, the preset SQL statement refers to a structured query language.
In the embodiment of the invention, the area data of the service information area is stored in the database cluster, and different service information areas correspond to different area data, for example, online purchased commodities can be divided into skin care areas, washing and protecting areas and the like, and the data corresponding to the skin care areas comprise data of water, milk and the like, so that different dynamic information of the articles can be distinguished by using the service information areas.
S2, extracting an article code of the article dynamic information, and tracking the article dynamic information according to the article code to obtain an article information record;
referring to fig. 2, in the embodiment of the present invention, the article code for extracting the article dynamic information includes:
s21, acquiring an information ID of the dynamic information of the article, and positioning an operation area of the dynamic information of the article;
s22, searching a service information area corresponding to the information ID and the operation area from a preset service area definition table;
s23, inquiring the information label of the dynamic article information in the service information area, numbering the information label and obtaining an article code.
In the embodiment of the invention, the operation area corresponding to the information ID is found according to the information ID of the dynamic information of the article, for example, the corresponding information ID is found on a front-end page, and the operation area is obtained by positioning through a mouse cursor according to the information ID; the operation area refers to an area for performing addition, deletion, modification and check, for example, a certain commodity can be subjected to addition, deletion, modification and check on a background page of the commodity.
In the embodiment of the present invention, the service area definition table refers to a predefined relationship comparison table between different operation areas and corresponding service information areas in a front-end page according to an actual service situation, a plurality of commodities corresponding to each service information area include corresponding operation areas, for example, a commodity toner in a skin care area, and a background page includes operation areas for increasing, deleting and modifying toner.
In the embodiment of the invention, the corresponding information labels are searched through the corresponding information IDs in the service information area, each information ID corresponds to a plurality of information labels, and the information labels are sequenced from long to short according to the time created by the information labels to obtain the article codes, for example, if the time for increasing the information label of the article A is 5 days and the time for increasing the information label of the article B is 1 day, the number of the article A is 1,B is 2, and so on, the obtained plurality of numbers are used as the article numbers.
In an embodiment of the present invention, the tracking the dynamic information of the article according to the article code to obtain an article information record includes:
marking the dynamic information of the article according to the article code to obtain dynamic information of the marked article;
recording an information path of the dynamic information of the marked article, and judging whether the information path contains an information node of the dynamic information of the marked article;
and when the information path contains the information node, acquiring the article information in the information node, and integrating the article information to obtain an article information record.
In the embodiment of the present invention, the dynamic information of the article is marked differently according to the difference of the article codes, for example, if the article code is 100, the dynamic information of the article is marked with a typeface of 100; specifically, the embodiment of the present invention may record the information path of the dynamic information of the article by using a preset Dijkstra algorithm.
In the embodiment of the invention, by marking the dynamic information of the article, the corresponding dynamic information of the article can be quickly found in the calculation process, thereby accelerating the calculation efficiency; by recording the information path, the accuracy of acquiring the dynamic information of the article is improved.
S3, extracting a node type from the item information record, and generating a query list according to the node type, the item code and the item dynamic information, wherein the node type comprises a main node and a sub node;
in the embodiment of the invention, the step of extracting the node type from the article information record refers to the step of generating a feature matrix corresponding to the node according to more than two pieces of feature information of the node extracted from the article information record, inputting the feature matrix into a preset K-means clustering algorithm for clustering, identifying the node type according to a clustering result, and performing application type division and extraction on the node type.
In the embodiment of the present invention, the node type includes a main node and a sub node, the main node may be a generic name of a large class in the article information record, and the sub node refers to a sub class in the corresponding large class, for example, a cleaning product is used as a large class, the cleaning product includes a cleaning product and a nursing product, the cleaning product includes shampoo, bath lotion, and the like, and the nursing product includes hair conditioner, body lotion, and the like.
Referring to fig. 3, in the embodiment of the present invention, the generating a query list according to the node type, the item code, and the item dynamic information includes:
s31, associating the node types by using a preset association algorithm to obtain associated node types;
s32, the article number corresponds to the article dynamic information corresponding to the article number one by one, and the corresponding article code and the article dynamic information are combined to be used as code information;
and S33, constructing a query list by taking the type of the associated node as a row vector and the coding information as a column vector.
In the embodiment of the present invention, the associating the node type by using a preset association algorithm to obtain an associated node type includes:
selecting any node type from the node types as a target node type, and taking other node types except the target node type as reference node types;
matching calculation is carried out on the target node type and the reference node type by utilizing the association algorithm to obtain a matching value;
the correlation algorithm is represented as:
Figure BDA0003961768830000091
wherein P (v, theta) represents a matching value of the target node type and the reference node type, v represents the target node type, theta represents the reference node type, and Z represents a preset normalization factor;
when the matching value is larger than a preset threshold value, activating a connection point of the target node type and the reference node type by using a preset activation function to obtain a related node type;
the activation function may be expressed as:
Figure BDA0003961768830000092
whereinE (v, θ) represents an associated node type of the target node type and the reference node type, v (v, θ) i Representing the ith target node type, theta representing the jth reference node type, I representing the number of the target node types, J representing the number of the reference node types, b representing the preset offset vector of the target node type, and a representing the preset offset vector of the reference node type.
In the embodiment of the present invention, after the connection point between the target node type and the reference node type is activated, information included in the target node type after the connection point is activated may be transmitted to the reference node type.
In this embodiment of the present invention, when the matching value is greater than a preset threshold, for example, the threshold is 60%, when the matching value is greater than 60%, the connection point between the target node type and another node type may be activated by using a preset activation function, and the activation state may be represented by boolean values, for example, 0 and 1, where 0 represents an inactive state and 1 represents an active state. After the connection point is activated, the information included in the target node type may be transmitted to a reference node type matched with the target node type, so as to obtain an associated node type.
In the embodiment of the invention, the node types are correlated, so that more data information can be shared, thereby accelerating the calculation efficiency.
S4, according to the query list, the main node is issued to and stored in each sub-node, and the stored sub-nodes are subjected to integrated calculation to obtain an updated main node;
in the embodiment of the invention, the query list comprises the main node and the corresponding sub-nodes, the corresponding sub-nodes in the main node are found through the target sub-nodes according to the corresponding relation in the list, and then the main node is split to obtain the sub-nodes.
In this embodiment of the present invention, the issuing and storing the master node to each of the child nodes according to the query list includes:
inquiring node information of the main node according to the inquiry list;
and transmitting the node information to the sub-node through the connection point of the main node and the sub-node, and storing the node information to the sub-node.
In the embodiment of the present invention, the performing integrated calculation on the stored sub-nodes to obtain an update master node includes:
carrying out weight assignment on the stored sub-nodes to obtain node weights;
performing weighted calculation according to the sub-nodes and the node weights to obtain an updated main node;
performing weighting calculation by using the following formula to obtain an updated master node:
Figure BDA0003961768830000101
wherein A represents the update master node, score d Denotes the d-th partial node, α d And a weight coefficient representing the weight of the node corresponding to the d-th sub-node, wherein n represents the total number of the sub-nodes.
In the embodiment of the invention, the types of the branch nodes are divided, the ratio of the number of the branch nodes in the types to the total number of the nodes is used as a weight, and the weight is used as the node weight.
And S5, updating the dynamic information of the articles in the database cluster according to the updating master node to obtain a target database cluster.
In an embodiment of the present invention, the updating, according to the update master node, the item dynamic information in the database cluster to obtain a target database cluster includes:
extracting the main node of the dynamic information of the article by using a preset machine learning algorithm to obtain an information main node;
the machine learning algorithm is represented as:
Figure BDA0003961768830000102
wherein h represents the information main node, Y represents the dynamic information of the article, w represents a preset weight of the information main node, and c represents a preset calculation parameter;
replacing the information main node by using the updating main node, and storing the updating main node to the dynamic information of the article;
and storing the updated dynamic information of the article into the database cluster to obtain a target database cluster.
In the embodiment of the invention, the main node of the dynamic information of the article is extracted to update the main node, so that the dynamic information of the article is updated to obtain a target database cluster.
In the embodiment of the invention, the dynamic information of the article is updated by the updating main node, and the dynamic article information can be updated in real time, so that the real-time property, the uniformity and the accuracy of data are ensured, and the information processing of a computer can be more accurate.
The embodiment of the invention provides a method and a system for storing article dynamic information in the Internet of things, wherein different article dynamic information can be distinguished by storing the article dynamic information into a database cluster; by extracting the article code of the article dynamic information and tracking the article dynamic information according to the article code, the accuracy of acquiring article information records can be improved, and the computer processing efficiency is improved; the main node is issued and stored to each sub-node, and the stored sub-nodes are integrated and calculated, so that data unification can be ensured, and the calculation efficiency is improved; the dynamic information of the articles in the database cluster is updated through the updating master node, so that the target database cluster is more accurate, and the efficiency of storing the dynamic information of the articles is improved. Therefore, the storage method of the dynamic information of the articles in the Internet of things can solve the problem of low efficiency in storing the dynamic information of the articles.
Fig. 4 is a functional block diagram of a system for storing dynamic information of an item in the internet of things according to an embodiment of the present invention.
The storage system 100 for dynamic information of articles in the internet of things can be installed in electronic equipment. According to the realized functions, the storage system 100 for dynamic information of items in the internet of things may include an item dynamic information storage module 101, an item information record generation module 102, a query list generation module 103, a sub-node calculation module 104, and a database cluster update module 105. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and can perform a fixed function, and are stored in a memory of the electronic device.
In the present embodiment, the functions of the respective modules/units are as follows:
the article dynamic information storage module 101 is configured to acquire article dynamic information and store the article dynamic information into a preset database cluster;
the article information record generating module 102 is configured to extract an article code of the article dynamic information, and track the article dynamic information according to the article code to obtain an article information record;
the query list generation module 103 is configured to extract a node type from the item information record, and generate a query list according to the node type, the item code, and the item dynamic information, where the node type includes a master node and a slave node;
the sub-node calculation module 104 is configured to issue and store the master node to each sub-node according to the query list, and perform integrated calculation on the stored sub-nodes to obtain an updated master node;
the database cluster updating module 105 is configured to update the dynamic information of the items in the database cluster according to the update master node, so as to obtain a target database cluster.
In detail, when used, each module in the storage system 100 for dynamic information of an article in the internet of things in the embodiment of the present invention adopts the same technical means as the storage method for dynamic information of an article in the internet of things in the attached drawings, and can produce the same technical effect, which is not described herein again.
The embodiment also provides an electronic device, which may include a processor, a memory, a communication bus, and a communication interface, and may further include a computer program stored in the memory and executable on the processor, such as a protection upgrade program based on big data of information security.
In some embodiments, the processor may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor is a Control Unit (Control Unit) of the electronic device, connects various components of the whole electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (for example, a storage program for executing dynamic information of an article in the internet of things) stored in the memory 11 and calling data stored in the memory.
The memory includes at least one type of readable storage medium including flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory may also be an external storage device of the electronic device in other embodiments, such as a plug-in removable hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic device. Further, the memory may also include both an internal storage unit and an external storage device of the electronic device. The memory can be used for storing application software installed in the electronic device and various data, such as codes of storage programs of dynamic information of articles in the internet of things, and the like, and can also be used for temporarily storing data which is output or is to be output.
The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connected communication between the memory and at least one processor or the like.
The communication interface is used for communication between the electronic equipment and other equipment and comprises a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are commonly used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
The storage program of the dynamic information of the article in the internet of things stored in the memory of the electronic device is a combination of a plurality of instructions, and when the storage program runs in the processor, the steps of the storage method of the dynamic information of the article in the internet of things can be realized.
Specifically, the specific implementation method of the instruction by the processor may refer to the description of the relevant steps in the embodiment corresponding to the drawings, which is not described herein again.
Further, the electronic device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or system capable of carrying said computer program code, a recording medium, a usb-disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The invention also provides a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the storage method for dynamic information of an article in the internet of things are realized.
The program code can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows.
Storage media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media may include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that may be used to store information that may be accessed by a computing device.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, system, and method may be implemented in other ways. For example, the system embodiments described above are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
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 achieve the purpose of 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 unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or systems recited in the system claims may also be implemented by one unit or system in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A storage method for dynamic information of an article in the Internet of things is characterized by comprising the following steps:
acquiring dynamic information of an article, and storing the dynamic information of the article in a preset database cluster;
extracting the article code of the article dynamic information, and tracking the article dynamic information according to the article code to obtain an article information record;
extracting a node type from the item information record, and generating a query list according to the node type, the item code and the item dynamic information, wherein the node type comprises a main node and a sub node;
according to the query list, the main node is issued to and stored in each sub-node, and the stored sub-nodes are subjected to integrated calculation to obtain an updated main node;
and updating the dynamic information of the articles in the database cluster according to the updating master node to obtain a target database cluster.
2. The method for storing dynamic information of an item in the internet of things according to claim 1, wherein the step of storing the dynamic information of the item into a preset database cluster comprises the following steps:
acquiring a preloading information request corresponding to the dynamic article information, and analyzing the dynamic article information according to the preloading information request to obtain a preloading information label;
according to the pre-loaded information label, inquiring a service information area corresponding to the pre-loaded information label from a preset information pre-loaded data table;
and placing the area data of the business information area into the database cluster by using a preset SQL statement.
3. The method for storing item dynamic information in the internet of things according to claim 1, wherein the extracting the item code of the item dynamic information comprises:
acquiring an information ID of the dynamic article information, and positioning an operation area of the dynamic article information;
searching a service information area corresponding to the information ID and the operation area from a preset service area definition table;
and inquiring the information label of the dynamic information of the article in the service information area, numbering the information label and obtaining the article code.
4. The method for storing dynamic information of an item in the internet of things according to claim 1, wherein the tracking the dynamic information of the item according to the item code to obtain an item information record comprises:
marking the dynamic information of the article according to the article code to obtain dynamic information of the marked article;
recording an information path of the dynamic information of the marked article, and judging whether the information path contains an information node of the dynamic information of the marked article;
and when the information path contains the information node, acquiring the article information in the information node, and integrating the article information to obtain an article information record.
5. The method for storing item dynamic information in the internet of things according to claim 1, wherein the generating a query list according to the node type, the item code and the item dynamic information comprises:
associating the node types by using a preset association algorithm to obtain associated node types;
the article number is in one-to-one correspondence with the article dynamic information corresponding to the article number, and the corresponding article code and the article dynamic information are combined to be used as code information;
and constructing a query list by taking the associated node type as a row vector and the coding information as a column vector.
6. The method for storing dynamic information of items in the internet of things according to claim 5, wherein the associating the node types by using a preset association algorithm to obtain associated node types comprises:
selecting any node type from the node types as a target node type, and taking other node types except the target node type as reference node types;
matching calculation is carried out on the target node type and the reference node type by utilizing the association algorithm to obtain a matching value;
the correlation algorithm is represented as:
Figure FDA0003961768820000021
wherein P (v, theta) represents a matching value of the target node type and the reference node type, v represents the target node type, theta represents the reference node type, and Z represents a preset normalization factor;
when the matching value is larger than a preset threshold value, activating a connection point of the target node type and the reference node type by using a preset activation function to obtain a related node type;
the activation function may be expressed as:
Figure FDA0003961768820000022
wherein E (v, θ) represents an associated node type of the target node type and the reference node type, v (v, θ) i Representing the ith target node type, theta representing the jth reference node type, I representing the number of the target node types, J representing the number of the reference node types, b representing the preset offset vector of the target node type, and a representing the preset offset vector of the reference node type.
7. The method for storing dynamic information of an item in the internet of things according to claim 1, wherein the step of sending the main node to each sub-node for storage according to the query list comprises the steps of:
inquiring node information of the main node according to the inquiry list;
and transmitting the node information to the sub-node through the connection point of the main node and the sub-node, and storing the node information to the sub-node.
8. The method for storing dynamic information of an item in the internet of things according to claim 1, wherein the step of performing integrated calculation on the stored sub-nodes to obtain an updated master node comprises the steps of:
carrying out weight assignment on the stored sub-nodes to obtain node weights;
performing weighted calculation according to the sub-nodes and the node weights to obtain an updated main node;
performing weighting calculation by using the following formula to obtain an updated master node:
Figure FDA0003961768820000031
wherein A represents the update master node, score d Denotes the d-th partial node, α d And a weight coefficient representing the weight of the node corresponding to the d-th sub-node, wherein n represents the total number of the sub-nodes.
9. The method for storing dynamic information of items in the internet of things according to any one of claims 1 to 8, wherein the updating the dynamic information of items in the database cluster according to the update master node to obtain a target database cluster comprises:
extracting the main node of the dynamic information of the article by using a preset machine learning algorithm to obtain an information main node;
the machine learning algorithm is represented as:
Figure FDA0003961768820000032
wherein h represents the information main node, Y represents the dynamic information of the article, w represents a preset weight of the information main node, and c represents a preset calculation parameter;
replacing the information main node by using the updating main node, and storing the updating main node to the dynamic information of the article;
and storing the updated dynamic information of the article into the database cluster to obtain a target database cluster.
10. A storage system for dynamic information of articles in the Internet of things is characterized by comprising:
the article dynamic information storage module is used for acquiring article dynamic information and storing the article dynamic information into a preset database cluster;
the article information record generating module is used for extracting the article code of the article dynamic information and tracking the article dynamic information according to the article code to obtain an article information record;
the query list generation module is used for extracting node types from the item information records and generating a query list according to the node types, the item codes and the item dynamic information, wherein the node types comprise main nodes and sub nodes;
the sub-node calculation module is used for issuing and storing the main node to each sub-node according to the query list, and performing integrated calculation on the stored sub-nodes to obtain an updated main node;
and the database cluster updating module is used for updating the dynamic information of the articles in the database cluster according to the updating master node to obtain a target database cluster.
CN202211481381.0A 2022-11-24 2022-11-24 Storage method and system for dynamic information of articles in Internet of things Active CN115712684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211481381.0A CN115712684B (en) 2022-11-24 2022-11-24 Storage method and system for dynamic information of articles in Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211481381.0A CN115712684B (en) 2022-11-24 2022-11-24 Storage method and system for dynamic information of articles in Internet of things

Publications (2)

Publication Number Publication Date
CN115712684A true CN115712684A (en) 2023-02-24
CN115712684B CN115712684B (en) 2023-10-24

Family

ID=85234743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211481381.0A Active CN115712684B (en) 2022-11-24 2022-11-24 Storage method and system for dynamic information of articles in Internet of things

Country Status (1)

Country Link
CN (1) CN115712684B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117535510A (en) * 2024-01-10 2024-02-09 麦格纳汽车动力总成(天津)有限公司 Automatic control method, device and equipment for heat treatment and readable storage medium
CN117535510B (en) * 2024-01-10 2024-05-03 麦格纳汽车动力总成(天津)有限公司 Automatic control method, device and equipment for heat treatment and readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716077B1 (en) * 1999-11-22 2010-05-11 Accenture Global Services Gmbh Scheduling and planning maintenance and service in a network-based supply chain environment
CN101833710A (en) * 2010-05-07 2010-09-15 中国科学院自动化研究所 Semantics-based article information tracking and tracing method for Internet of things
CN102014113A (en) * 2010-07-09 2011-04-13 北京哈工大计算机网络与信息安全技术研究中心 Storage method and system of dynamic information of goods in internet of things
CN103023970A (en) * 2012-11-15 2013-04-03 中国科学院计算机网络信息中心 Method and system for storing mass data of Internet of Things (IoT)
CN104199900A (en) * 2014-08-26 2014-12-10 中国航天科工集团第二研究院七〇六所 Audit and analysis method based on file trajectory tracking trees
CN105745675A (en) * 2013-11-29 2016-07-06 联邦快递服务公司 Methods and systems for managing shipment of an item using a wireless node network
CN106339843A (en) * 2016-08-26 2017-01-18 特斯联(北京)科技有限公司 A logistics management system based on internet of things
CN107428461A (en) * 2015-02-18 2017-12-01 联邦快递服务公司 Use the counter interface display device management logistics information related to logistics counter
CN108140009A (en) * 2015-10-13 2018-06-08 微软技术许可有限责任公司 B-tree key assignments manager of the distributed freedom formula based on RDMA
KR20200004543A (en) * 2018-07-04 2020-01-14 강대웅 Method for providing authentic data and application based substitute payment service
CN112529460A (en) * 2020-12-23 2021-03-19 城云科技(中国)有限公司 Material scheduling method, scheduling system, electronic device and storage medium
CN113316118A (en) * 2021-05-31 2021-08-27 中国人民解放军国防科技大学 Unmanned aerial vehicle cluster network self-organizing system and method based on task cognition
CN113886434A (en) * 2021-11-02 2022-01-04 北京百度网讯科技有限公司 Database cluster-based query and storage method, device and equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7716077B1 (en) * 1999-11-22 2010-05-11 Accenture Global Services Gmbh Scheduling and planning maintenance and service in a network-based supply chain environment
CN101833710A (en) * 2010-05-07 2010-09-15 中国科学院自动化研究所 Semantics-based article information tracking and tracing method for Internet of things
CN102014113A (en) * 2010-07-09 2011-04-13 北京哈工大计算机网络与信息安全技术研究中心 Storage method and system of dynamic information of goods in internet of things
CN103023970A (en) * 2012-11-15 2013-04-03 中国科学院计算机网络信息中心 Method and system for storing mass data of Internet of Things (IoT)
CN105745675A (en) * 2013-11-29 2016-07-06 联邦快递服务公司 Methods and systems for managing shipment of an item using a wireless node network
CN104199900A (en) * 2014-08-26 2014-12-10 中国航天科工集团第二研究院七〇六所 Audit and analysis method based on file trajectory tracking trees
CN107428461A (en) * 2015-02-18 2017-12-01 联邦快递服务公司 Use the counter interface display device management logistics information related to logistics counter
CN108140009A (en) * 2015-10-13 2018-06-08 微软技术许可有限责任公司 B-tree key assignments manager of the distributed freedom formula based on RDMA
CN106339843A (en) * 2016-08-26 2017-01-18 特斯联(北京)科技有限公司 A logistics management system based on internet of things
KR20200004543A (en) * 2018-07-04 2020-01-14 강대웅 Method for providing authentic data and application based substitute payment service
CN112529460A (en) * 2020-12-23 2021-03-19 城云科技(中国)有限公司 Material scheduling method, scheduling system, electronic device and storage medium
CN113316118A (en) * 2021-05-31 2021-08-27 中国人民解放军国防科技大学 Unmanned aerial vehicle cluster network self-organizing system and method based on task cognition
CN113886434A (en) * 2021-11-02 2022-01-04 北京百度网讯科技有限公司 Database cluster-based query and storage method, device and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117535510A (en) * 2024-01-10 2024-02-09 麦格纳汽车动力总成(天津)有限公司 Automatic control method, device and equipment for heat treatment and readable storage medium
CN117535510B (en) * 2024-01-10 2024-05-03 麦格纳汽车动力总成(天津)有限公司 Automatic control method, device and equipment for heat treatment and readable storage medium

Also Published As

Publication number Publication date
CN115712684B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
CN113946690A (en) Potential customer mining method and device, electronic equipment and storage medium
CN110955690A (en) Self-service data labeling platform and self-service data labeling method based on big data technology
CN113961584A (en) Method and device for analyzing field blood relationship, electronic equipment and storage medium
CN114186132A (en) Information recommendation method and device, electronic equipment and storage medium
CN114612194A (en) Product recommendation method and device, electronic equipment and storage medium
CN113868529A (en) Knowledge recommendation method and device, electronic equipment and readable storage medium
CN114756669A (en) Intelligent analysis method and device for problem intention, electronic equipment and storage medium
CN114862140A (en) Behavior analysis-based potential evaluation method, device, equipment and storage medium
CN114416939A (en) Intelligent question and answer method, device, equipment and storage medium
CN114003704A (en) Method and device for creating designated tag guest group, electronic equipment and storage medium
CN114220536A (en) Disease analysis method, device, equipment and storage medium based on machine learning
CN113706253A (en) Real-time product recommendation method and device, electronic equipment and readable storage medium
CN113658002A (en) Decision tree-based transaction result generation method and device, electronic equipment and medium
CN113706249A (en) Data recommendation method and device, electronic equipment and storage medium
CN115879947A (en) Management method and system based on electronic transaction
CN115712684B (en) Storage method and system for dynamic information of articles in Internet of things
CN114518993A (en) System performance monitoring method, device, equipment and medium based on business characteristics
CN115204971A (en) Product recommendation method and device, electronic equipment and computer-readable storage medium
CN113706019A (en) Service capability analysis method, device, equipment and medium based on multidimensional data
CN114219367A (en) User scoring method, device, equipment and storage medium
CN114662005A (en) Message pushing method, device, equipment and storage medium for user behavior track
CN114185776A (en) Big data point burying method, device, equipment and medium for application program
CN113656690A (en) Product recommendation method and device, electronic equipment and readable storage medium
CN113706207A (en) Order transaction rate analysis method, device, equipment and medium based on semantic analysis
Singh et al. A survey on master data management techniques for business perspective

Legal Events

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