Data processing method, device, system, equipment and storage medium
By receiving data reported by IoT terminal devices and storing and analyzing it according to preset rules, it solves the problems of health and medical data privacy and security and data islands, and realizes the reuse and efficient storage of data in multi-business systems.
Patent Information
- Application Number
- CN202011538950.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-23
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-12-23
AI Technical Summary
In the existing technology, the basic data generated by enterprise APPs and IoT business systems are stored separately, making it difficult to guarantee the privacy and security of health and medical data, and the data storage system can easily become an island, increasing costs and management complexity.
By receiving the data reported by the IoT terminal device, and determining the target IoT data according to the preset rules sent by the business system, storage and analysis processing is performed to ensure that the data is stored in the location corresponding to the preset rules, and the data is realized in the multi-business system. Reuse and privacy protection.
It effectively reduces the cost of data storage systems and business systems, avoids the phenomenon of data islands, and ensures the privacy security and efficient storage and analysis of health and medical data.
Smart Images

Figure CN112820366B
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to the field of Internet of Things technology, specifically to Internet of Things data processing technology, and more particularly to a data processing method, device, system, equipment and storage medium. Background Art
[0002] At present, the basic data generated by the company's APP (application) products, Internet of Things business systems, health management systems, etc. are stored separately. If these basic data are stored in a unified data management platform, there will be privacy and security issues for health and medical data. Summary of the invention
[0003] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a data processing method, apparatus, system, device and storage medium.
[0004] In a first aspect, the data processing method of the present invention includes: receiving Internet of Things data reported by an Internet of Things terminal device; determining target Internet of Things data in the Internet of Things data according to preset rules sent by a business system, wherein the preset rules are conditions indicating storage and processing of the Internet of Things data; and storing the target Internet of Things data in a storage location corresponding to the preset rules.
[0005] In some embodiments, determining target IoT data in the IoT data according to a preset rule sent by a business system includes:
[0006] Parsing the preset rules to obtain content corresponding to the preset rules;
[0007] According to the content corresponding to the preset rule, the target Internet of Things data in the Internet of Things data is determined.
[0008] In some embodiments, the content corresponding to the preset rule includes a target device identifier and a binding time parameter, and determining the target IoT data in the IoT data according to the content corresponding to the preset rule includes:
[0009] Obtaining a reporting device identifier and a device data uploading time included in the IoT data;
[0010] When the reporting device identifier is consistent with the target device identifier, the IoT data is filtered and processed according to the relationship between the device data upload time and the binding time parameter to obtain the target IoT data.
[0011] In some embodiments, the content corresponding to the preset rule includes a target device identifier, a binding time parameter, a user attribute identifier, and an analysis object condition, and determining the target IoT data in the IoT data according to the content corresponding to the preset rule includes:
[0012] Parsing the preset rule to obtain the user attribute identifier, where the user attribute identifier is used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier;
[0013] When the user attribute identifier indicates that data analysis is to be performed on the IoT data corresponding to the target device identifier, the IoT data is analyzed and processed according to the analysis object condition, the target device identifier and the binding time parameter to obtain an analysis and processing result;
[0014] Determine the analysis and processing result as the target Internet of Things data.
[0015] In some embodiments, the analyzing and processing the IoT data according to the analysis object scope, the target device identifier and the binding time parameter includes:
[0016] Obtaining a reporting device identifier and a device data uploading time included in the IoT data;
[0017] When the reporting device identifier is consistent with the target device identifier and the device upload data time is within the binding time parameter, the IoT data is filtered and processed according to the analysis object range to obtain a filtering result;
[0018] An analysis process is performed on the screening result to obtain an analysis process result.
[0019] In some embodiments, storing the target IoT data in a storage location corresponding to the preset rule includes:
[0020] Allocating a storage location corresponding to the preset rule according to the preset rule;
[0021] Performing data preprocessing on the target IoT data to obtain a preprocessed result;
[0022] The preprocessing result is stored in a storage location corresponding to the preset rule.
[0023] In some embodiments, the target IoT data is pushed to the business system according to a storage location corresponding to the preset rule.
[0024] In some embodiments, the method further includes: receiving IoT data reported by the business system; determining target IoT data in the IoT data according to preset rules sent by the business system; storing the target IoT data in a storage location corresponding to the preset rules; and pushing the target IoT data to the business system according to the storage location corresponding to the preset rules.
[0025] In some embodiments, there are at least two business systems, and the content corresponding to the preset rules includes a target device identifier, a binding time parameter, and an analysis object condition. Then, according to the content corresponding to the preset rules, the target IoT data in the IoT data is determined, including: obtaining a reporting device identifier and a device data upload time contained in the IoT data; when the reported device identifier is consistent with the target device identifier reported by at least two business systems, analyzing and processing the IoT data to obtain an analysis and processing result; and determining the analysis and processing result as the target IoT data.
[0026] In a second aspect, the data processing method of the present invention includes: obtaining a target storage condition, wherein the target storage condition includes a target device identifier and a binding time parameter;
[0027] Generate a preset rule according to the target storage condition, wherein the preset rule is a condition indicating storage processing for the IoT data;
[0028] The preset rules are sent to a data storage system.
[0029] In some embodiments, the target storage condition further includes target user parameters and analysis object range, and generating a preset rule according to the target storage condition includes:
[0030] Generate a user attribute identifier according to the target user parameter and the binding time parameter, wherein the user attribute identifier is used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier;
[0031] The preset rule is generated according to the target attribute identifier, the binding time parameter, the target device identifier and the analysis object range.
[0032] In a third aspect, the data processing device of the present invention includes: an Internet of Things data receiving unit, configured to receive Internet of Things data reported by an Internet of Things terminal device;
[0033] A target data determination unit, configured to determine target IoT data in the IoT data according to a preset rule sent by a business system, wherein the preset rule is a condition indicating storage processing for the IoT data;
[0034] A storage unit is used to store the target IoT data in a storage location corresponding to the preset rule.
[0035] In a fourth aspect, a data processing apparatus of the present invention includes: a storage condition acquisition unit, configured to acquire a target storage condition, wherein the target storage condition includes a target device identifier and a binding time parameter;
[0036] A rule generating unit, configured to generate a preset rule according to the target storage condition, wherein the preset rule is a condition indicating storage processing for the IoT data;
[0037] The rule sending unit is used to send the preset rule to the data storage system.
[0038] In a fifth aspect, the data processing system of the present invention comprises:
[0039] A data lake storage and analysis system and at least one business system, wherein the data lake storage and analysis system includes the data storage device according to the third aspect, and the data lake storage and analysis system is used to store IoT data uploaded by IoT terminal devices;
[0040] The business system includes the data storage device as described in the fourth aspect, and the business system is used to store user data that is bound to the Internet of Things terminal device.
[0041] In a sixth aspect, a computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the data processing method described in the first aspect or the data processing method described in the second aspect is implemented.
[0042] In the seventh aspect, a computer-readable storage medium stores a computer program thereon, characterized in that when the program is executed by a processor, it implements the data processing method described in the first aspect or the data processing method described in the second aspect.
[0043] The data storage system of the present application is capable of receiving preset rules of multiple business systems, and storing target IoT data to storage locations corresponding to the preset rules according to the preset rules of the multiple business systems, thereby effectively realizing the reuse of the data storage system in multiple business systems, effectively reducing the cost of the data storage system and the business system, and at the same time, effectively avoiding the data corresponding to the business system from becoming isolated data.
[0044] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0046] Figure 1a This is an application scenario diagram of an embodiment of the present application;
[0047] Figure 1b This is another application scenario diagram of an embodiment of the present application;
[0048] Figure 1c This is another application scenario diagram of an embodiment of the present application;
[0049] Figure 2 A flowchart of a data processing method according to an embodiment of the present application;
[0050] Figure 3 A schematic diagram of the principle of a data processing method according to an embodiment of the present application;
[0051] Figure 4 A flowchart of another data processing method according to an embodiment of the present application;
[0052] Figure 5 A schematic diagram of another data processing method according to an embodiment of the present application;
[0053] Figure 6 A flowchart of another data processing method according to an embodiment of the present application;
[0054] Figure 7 A signaling interaction diagram of another data processing method according to an embodiment of the present application;
[0055] Figure 8 A flowchart of another data processing method according to an embodiment of the present application;
[0056] Fig. 9 A flowchart of another data processing method according to an embodiment of the present application;
[0057] Fig.10 A flowchart of a specific embodiment of the present application;
[0058] Fig.11 This is a schematic diagram of another specific embodiment of the present application;
[0059] Fig.12 A flowchart of another data processing method according to an embodiment of the present application;
[0060] Fig.13 A data interaction diagram of another data processing method according to an embodiment of the present application;
[0061] Fig.14 A data interaction diagram of another data processing method according to an embodiment of the present application;
[0062] Fig.15 A data interaction diagram of another data processing method according to an embodiment of the present application;
[0063] Fig.16 A schematic diagram of another data processing method according to an embodiment of the present application;
[0064] Fig.17 This is a structural diagram of a data lake in another data processing method in an embodiment of the present application;
[0065] Fig.18 A schematic diagram of the structure of a data processing device according to an embodiment of the present application;
[0066] Fig.19 A schematic diagram of the structure of a data processing device according to an embodiment of the present application;
[0067] Fig. 20 A schematic diagram of the structure of a data processing system according to an embodiment of the present application;
[0068] Fig.21 The present invention is a schematic diagram of the structure of a computer system of a computer device or server suitable for implementing the embodiments of the present application. DETAILED DESCRIPTION
[0069] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.
[0070] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0071] Please refer to Figure 1a-Figure 1c , Figure 1a-Figure 1c This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1a-Figure 1c As shown, Figure 1a and Figure 1b The relationship between the three is demonstrated from different perspectives of data storage system, access equipment and business system. Figure 1c Expand the description from the data processing functions provided by the data storage system.
[0072] like Figure 1aAs shown, the device, data storage system and business system are connected in sequence. The device is a health detection device, such as a blood pressure monitor, a blood glucose meter, a smart heart patch, a body fat scale, a lung function meter, a sleep meter, a temperature detection device, a breast milk analyzer, etc. The device is connected to the data storage system through interfaces such as direct connection devices, device manufacturer cloud docking, gateways and business systems to send the collected user health data to the data storage system. The data storage system is an IoT (Internet of Things) data lake. The data storage system is configured with multiple functional modules such as manufacturer management, device management, product management, security authentication, data standardization, data storage, data conversion, and device linkage to store, integrate, standardize and process the data sent by the device. For example, through security authentication, it is determined that the device that reports data is a device that can receive IoT data. The data uploaded by the device is processed using a data standardization module, and then stored using a data storage module, or sent to a business system using a data forwarding module.
[0073] It should be understood that the data storage system builds a basic data ecosystem. By building a one-stop development platform for multi-source heterogeneous data, it supports big data storage, computing and analysis functions such as data warehouse, interactive query, operation analysis, data visualization, search recommendation, real-time analysis, and predictive analysis, and realizes the overall connection of data governance and services in enterprise operations. Specifically, Figure 1c As shown in the figure, the data lake integrates microservice framework, AI platform, big data computing function, security & monitoring module, multi-source heterogeneous data integration module, hybrid cloud storage, data processing module, etc. The outside of the data lake is connected to community supermarkets such as smart communities, health stations, C-end & family such as mobile health, home Internet of Things, B-end health management such as medical community, VIP health management, smart public health such as smart physical examination, smart follow-up, single disease medical monomer such as diabetes, hypertension, COPD (chronic obstructive pulmonary disease), online marketing, etc. Among them, for data from different sources, no matter from which channel the data is transmitted to the data lake, as long as the mobile phone number or ID number is the same, the data lake background should correspond these data to a user, and then push the relevant required data according to the specific business system.
[0074] The business system is a platform system that interacts with users for data, such as enterprise apps, health management systems, health stations, smart communities, health management, smart public health, etc. After receiving data, the business systems can process data and push messages independently.
[0075] It should be understood that the data in the data storage system can also provide data support for public welfare platforms, such as hospital information systems, public health information systems, regional health information platforms, etc.
[0076] Figure 2 The flowchart of a data processing method of an embodiment of the present application is as follows. It should be noted that the data processing method of this embodiment is executed by a data processing device, which can be implemented by software and / or hardware. The data processing device in this embodiment can be configured in a server, which is a data storage system, such as an IoT data lake.
[0077] like Figure 2 and 3 As shown, the data processing method of the embodiment of the present application includes the following steps:
[0078] Step 101, receiving IoT data reported by an IoT terminal device.
[0079] It should be noted that the IoT terminal device includes medical data collection equipment, such as a blood pressure monitor, a blood glucose meter, etc. The IoT data at least includes the user health data collected by the IoT terminal device. Among them, the IoT terminal device usually stores the network address of the data storage system. After the IoT terminal device detects the user health data, the IoT data is generated according to the user health data, and then the IoT data is reported to the data storage system according to the network address of the data storage system.
[0080] It should be understood that the Internet of Things terminal device defined in the embodiments of the present application is the Internet of Things terminal device bound by the user when registering in the business system.
[0081] Step 102, determining target IoT data in the IoT data according to preset rules sent by the business system, where the preset rules indicate conditions for storing and processing the IoT data.
[0082] It should be noted that the business system is a platform system for data interaction with users, such as enterprise APP, health management system, etc. Business systems can be divided into blood pressure systems, blood sugar systems, etc. according to business types, and can also be divided according to enterprises. Therefore, each business system generates preset rules indicating the conditions for storage and processing of IoT data based on its own characteristics, and then the business system sends the preset rules to the data storage system so that the data storage system determines the target IoT data in the IoT data according to the preset rules sent by the business system. Among them, the target IoT data can be the user health data collected by the IoT terminal device or the analysis results after analyzing the user health data.
[0083] It should be noted that if Fig.17As shown, the data storage system includes multiple functional modules, among which the basic configuration module is used to configure product types, management indicators, business system management information, configuration information and dictionary data, etc. The device access submodule is adapted with a variety of quick access solutions, including common network environments and common transmission protocols, such as HTTP, Socket, MQTT, etc., which can be adapted to a variety of IoT terminal devices and business systems for data interaction, for example, receiving IoT data sent by IoT terminal devices and preset rules sent by business systems, etc. The address of the data storage system can be burned into the IoT terminal device.
[0084] It should be understood that the data storage system can only receive IoT data or preset rules that have established a communication connection with the data storage system, and the IoT terminal device and the business system can only receive data sent by the data storage system after establishing a connection with the data storage system. For IoT terminal devices that have established communication with the data storage system, the data storage system can also provide corresponding device management services, such as managing the device life cycle of the IoT terminal device. Among them, an IoT terminal device can be associated with multiple business systems. For each business system, an IoT terminal device can only be associated with one organization, and an IoT terminal device can be associated with different users.
[0085] It should also be noted that some IoT terminal devices that do not have the ability to communicate wirelessly with the data storage system can also use Bluetooth, local area network and other communication methods to send the detected IoT data to user terminals equipped with business systems, such as smart phones, etc., and then the business system will send the IoT data detected by the IoT terminal devices to the data storage system.
[0086] like Fig.17 As shown, the data storage system may also include a data processing module, which may be further divided into a data receiving submodule, a data conversion submodule, a data distribution submodule, and a data storage submodule. The data receiving submodule is used to receive data transmitted by a hardware device or synchronized by a business system. The data conversion submodule is used to perform preprocessing and data standardization on the received data. Data standardization refers to extracting useful information from device data and processing it into data in a unified format. For example, it is unified into structured data and stored in a relational database, which can then be queried and extracted through SQL statements.
[0087] The data distribution submodule is used to provide the business system with the ability to distribute data. For example, the following distribution methods can be supported between the data storage system and the business system:
[0088] a) Communicate through the message middleware MQ (Message Queue);
[0089] b) Direct transmission via HTTP / HTTPS;
[0090] c) Transmitted via HTTP / HTTPS RSA signature encryption;
[0091] d)Token method.
[0092] like Fig.17 As shown, the data storage system may also include a data analysis module, which may analyze the data through cloud computing, big data analysis, artificial intelligence algorithm models, etc., including but not limited to real-time analysis, predictive analysis, etc. to obtain analysis results.
[0093] In an embodiment of the present application, at least one IoT terminal device only needs to be configured with the network address of the data storage system to send IoT data to the data storage system, so that the data storage system can simultaneously store the IoT data reported by at least one IoT terminal device. Similarly, at least one business system only needs to be configured with the network address of the data storage system to send preset rules to the data storage system, so that the data storage system can store the received IoT data according to the preset rules.
[0094] Step 103: store the target IoT data in a storage location corresponding to a preset rule.
[0095] It should be noted that the data storage system has a distributed storage structure, that is, the target IoT data can be distributedly stored according to the preset rules sent by the business system.
[0096] It should be understood that when the IoT data uploaded by an IoT terminal device complies with preset rules sent by multiple business systems, the data storage system can store the IoT data according to each preset rule respectively.
[0097] Therefore, the data storage system of the present application can receive the preset rules of multiple business systems, and store the target IoT data to the storage location corresponding to the preset rules according to the preset rules of the multiple business systems, thereby effectively realizing the reuse of the data storage system in multiple business systems, effectively reducing the cost of the data storage system and the business system, and at the same time, effectively avoiding the data corresponding to the business system from becoming isolated data.
[0098] Optionally, since the IoT data reported by each IoT terminal device usually has its own data characteristics, the IoT data needs to be pre-processed before being stored and processed according to preset rules.
[0099] Specifically, Figure 4 As shown, the target IoT data is stored in a storage location corresponding to the preset rules, including:
[0100] Step 201: Allocate a storage location corresponding to a preset rule according to the preset rule.
[0101] Among them, the storage location corresponding to the preset rules includes but is not limited to the storage location corresponding one-to-one to the business system, or the storage location corresponding one-to-one to the user health data type, or the storage location corresponding one-to-one to the health management needs.
[0102] Step 202: preprocess the target IoT data to obtain a preprocessed result.
[0103] It should be noted that because the type of data reported by each IoT terminal device usually varies due to factors such as the manufacturer, including but not limited to structured data, semi-structured data, unstructured data, etc., in order to facilitate the storage and analysis of the target IoT data by the data storage system, the target IoT data needs to be pre-processed to unify the format of the target IoT data.
[0104] For example, for user blood pressure data, the data formats of different models of IoT terminal devices produced by different manufacturers may differ greatly. For example, the IoT data reported by IoT terminal device 1 is a common string "N12345H123L78", where the number "12345" after N is the device number, the number "123" after H is the systolic pressure, and the number "78" after L is the diastolic pressure. The IoT data reported by IoT terminal device 2 is a hexadecimal string "2711 7D 4A", where "2711" is the device number, "7D" is the systolic pressure, and "4A" is the diastolic pressure. At this time, it is necessary to unify the format of the IoT data reported by IoT terminal device 1 and the IoT data reported by IoT terminal device 2. Preferably, the IoT data reported by IoT terminal device 2 can be converted into a common string, and the conversion result is:
[0105] Systolic blood pressure Diastolic blood pressure Device Number Device binding time Device unbinding time 123 78 12345 2020-01-03-10:22:37 2020-01-03-10:26:45 125 74 10001 2020-04-12-18:28:52 2020-04-12-18:31:03
[0106] Step 203: store the preprocessing result to a storage location corresponding to the preset rule.
[0107] Therefore, the present application can pre-process the IoT data reported by the IoT terminal device, so that the data storage system can store and analyze the target IoT data, thereby improving the data processing speed of the data storage system.
[0108] Furthermore, the data processing method proposed in the embodiment of the present application is as follows: Figure 5 As shown, it also includes: pushing the target Internet of Things data to the business system according to the storage location corresponding to the preset rules.
[0109] That is to say, the data storage system proposed in the embodiment of the present application also has the function of distributing the stored target IoT data, thereby meeting the query and analysis needs of the business system for the target IoT data.
[0110] Specifically, the data storage system can distribute the target IoT data to the business system in the following ways: a) communication through the message middleware MQ (Message Queue), b) direct transmission through HTTP / HTTPS, c) transmission through HTTP / HTTPS RSA signature encryption, d) Token method, e) API interface, etc.
[0111] It should be understood that the communication method in which the above-mentioned data storage system distributes target IoT data to the business system can also be applied to the reporting link of the IoT terminal device to the data storage system.
[0112] Further, according to the preset rules sent by the business system, the target IoT data in the IoT data is determined, including: parsing the preset rules to obtain content corresponding to the preset rules, and determining the target IoT data in the IoT data according to the content corresponding to the preset rules.
[0113] It should be noted that the data in the health and medical field usually contains private data, such as the user's health status. Moreover, since the business system and the data storage system are deployed separately, that is, the business system is a business platform deployed by the enterprise, and the data storage system is a data storage platform that can be shared by multiple enterprises, the business system usually does not share user information to the data storage platform in order to keep the privacy of its own users confidential, that is, the user health data generated by the measurement of the Internet of Things terminal device is separated from the user information in the data storage system, achieving the purpose of desensitizing the storage of user health data, that is, the data storage system can only process and analyze the Internet of Things data sent by the Internet of Things terminal device, but cannot analyze the user information. However, the data storage system not only has the simple operation of storing and distributing the Internet of Things data sent by the Internet of Things terminal device, but also can perform data visualization, data fusion, data analysis, etc. on the stored user health data. Therefore, this application proposes to determine the target Internet of Things data in the Internet of Things data according to the preset rules sent by the business system.
[0114] As a feasible embodiment, the content corresponding to the preset rule includes a target device identifier and a binding time parameter.
[0115] It should be noted that the target device identifier and binding time parameters in the preset rules may be the identifier and time of the IoT terminal device used and / or bound when the user registers and / or logs in the business system. It should be understood that the binding time parameter may also include but is not limited to the time when the IoT terminal device is unbound from the business system. The binding time and unbinding time are the binding start time and binding end time between the user information and the target device identifier.
[0116] For example, when multiple users share a terminal device in the Internet of Things, such as medical equipment in a hospital, user information can be logged in in the business system interaction interface preset for the medical equipment before each use. At this time, the business system can obtain the target device identifier and binding start time corresponding to the user information. When the current patient finishes using the device and logs out the user information, an unbinding time is generated.
[0117] like Figure 6 As shown, according to the content corresponding to the preset rules, the target IoT data in the IoT data is determined, including:
[0118] Step 301, obtaining the reporting device identifier and the device data uploading time contained in the IoT data.
[0119] Among them, since the IoT data is reported by the IoT terminal device, the reporting device identifier is the device identifier of the IoT terminal device that collects the user health data. The device upload data time is the time when the IoT terminal device reports the collected user health data to the data storage system. It should be understood that the device upload data time refers to the time when the IoT terminal device initiates the report, not the time when the data storage system receives the IoT data. This can effectively avoid errors caused by reporting delays and avoid judging valid data as invalid data.
[0120] Step 302: When the reported device identifier is consistent with the target device identifier, the IoT data is filtered and processed according to the relationship between the device data upload time and the binding time parameter to obtain the target IoT data.
[0121] That is to say, when the reported device identifier and the target device identifier are consistent, it means that the IoT terminal device that reports the IoT data to the data storage system is the same as the IoT terminal device used by the user when registering and / or logging in to the business system. At this time, the IoT data received by the data storage system is considered valid, and the IoT data can be filtered and processed according to the relationship between the device upload data time and the binding time parameters to obtain the target IoT data.
[0122] Optionally, the IoT data is filtered and processed according to the relationship between the device upload data time and the binding time parameter to obtain target IoT data, including but not limited to filtering the IoT data to obtain target IoT data that can directly feedback data and target IoT data that needs to be analyzed and processed before feedback data.
[0123] For example, if Figure 7 As shown, the business system needs to find the user health data detected by all bound devices of user B, such as blood pressure monitors, blood glucose meters, etc. At this time, the business system searches for the device identifier and corresponding binding time that has a binding relationship with user B from the saved user information:
[0124]
[0125] Since the user may have multiple health detection devices, that is, multiple pieces of information as above are obtained by query, each device number and corresponding binding time parameter are further selected to generate a query list:
[0126]
[0127] The business system generates preset rules based on the query list and sends the preset rules to the data storage system. The data storage system queries the data that meets any of the following conditions based on the query list in the preset rules: a reported device identifier that is consistent with the target device identifier and a device upload data time that is within the binding time parameters, and uses the IoT data that meets the query list as the target IoT data.
[0128] It should be understood that after the target IoT data is filtered out according to the query list, the queried IoT data can be directly sent to the business system, or the filtered target IoT data can be further analyzed according to preset rules sent by the business system.
[0129] As another feasible embodiment, the content corresponding to the preset rule includes a target device identifier, a binding time parameter, a user attribute identifier, and an analysis object.
[0130] It should be noted that the target device identifier and binding time parameters in the preset rules may be the identifier and time of the IoT terminal device used and / or bound when the user registers and / or logs in the business system. It should be understood that the binding time parameter may also include but is not limited to the time when the IoT terminal device is unbound from the business system. The binding time and unbinding time are the binding start time and binding end time between the user information and the target device identifier.
[0131] The user attribute identifier can be used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier, that is, whether the user health data of the user needs to be analyzed. For example, if the user is an activated user of the additional health analysis function of the business system, the user can be marked with the user attribute identifier so that the data storage system can analyze the user health data of the user.
[0132] The analysis object refers to the data that needs to be analyzed. For example, in the field of blood pressure analysis, only the blood pressure data that meets the hypertension standard can be analyzed, such as analyzing the number and frequency of hypertension occurrences.
[0133] Then Ruru Figure 8 As shown, according to the content corresponding to the preset rule, the target IoT data in the IoT data is determined, including:
[0134] Step 401: parse the preset rules to obtain a user attribute identifier, where the user attribute identifier is used to indicate whether to analyze the IoT data corresponding to the target device identifier.
[0135] From the above analysis, it can be seen that the user attribute identifier is determined by the business system based on the user information registered by the user in the business system. Therefore, the user attribute identifier can be preset in the preset rules sent by the business system to the data storage system, and the user attribute identifier can be obtained by parsing the preset rules.
[0136] For example, the user attribute identifier may be a binary identifier. For example, when it is necessary to analyze the user health data of the user, the user attribute identifier is select=1, and when it is not necessary to analyze the user health data of the user, the user attribute identifier is select=0.
[0137] Step 402, when the user attribute identifier indicates to perform data analysis on the IoT data corresponding to the target device identifier, the IoT data is analyzed and processed according to the analysis object condition, the target device identifier and the binding time parameter to obtain an analysis and processing result.
[0138] Step 403: determine that the analysis and processing result is the target IoT data.
[0139] That is to say, after receiving the preset rules sent by the business system, the embodiment of the present application can first extract the user attribute identifier in the preset rules. If the user attribute identifier indicates that data analysis is to be performed on the IoT data corresponding to the target device identifier, the analysis object condition, target device identifier and binding time parameter in the preset rules are further obtained, and analysis and processing are performed based on the IoT data reported by the IoT terminal device to obtain the analysis and processing results. If the user attribute identifier indicates that the IoT data corresponding to the target device identifier is not to be analyzed, only the storage location in the preset rules can be extracted to use the IoT data reported by the IoT terminal device as the target IoT data and store it according to the storage location in the preset rules, and then push the target IoT data to the business system according to the storage location corresponding to the preset rules.
[0140] Furthermore, if Fig. 9 As shown, step 402, when the user attribute identifier indicates to perform data analysis on the IoT data corresponding to the target device identifier, the IoT data is analyzed and processed according to the analysis object condition, the target device identifier and the binding time parameter to obtain the analysis and processing result, further comprising:
[0141] Step 501, obtaining the reporting device identifier and the device data uploading time contained in the IoT data.
[0142] Among them, since the IoT data is reported by the IoT terminal device, the reporting device identifier is the device identifier of the IoT terminal device that collects the user health data. The device upload data time is the time when the IoT terminal device reports the collected user health data to the data storage system. It should be understood that the device upload data time refers to the time when the IoT terminal device initiates the report, not the time when the data storage system receives the IoT data. This can effectively avoid errors caused by reporting delays and avoid judging valid data as invalid data.
[0143] Step 502: When the reported device identifier is consistent with the target device identifier and the device upload data time is within the binding time parameter, the IoT data is filtered and processed according to the analysis object range to obtain the filtering result.
[0144] Among them, the device data upload time is within the binding time parameters means that the device data upload time is after the binding time when the user registers / logs in to the business system and before the unbinding time when the user exits the business system, that is, if the device data upload time is between the binding time and the unbinding time, it is determined that the device data upload time is within the binding time parameters.
[0145] The analysis object range refers to the threshold for processing user health data. In other words, when the user health data is within the analysis object range, the user health data is determined to be a screening result.
[0146] Step 503: Analyze and process the screening results to obtain analysis and processing results.
[0147] It should be understood that the analysis and processing of the screening results can also be preset according to preset rules, that is, the preset rules may include analysis rule instructions for analyzing the screening results, and the data storage system can select the corresponding analysis model according to the analysis rule instructions, wherein the analysis model can be a big data analysis model, AI analysis model, neural network analysis, etc. preset in the data storage system, and then the screening results are input into the corresponding analysis model to obtain the analysis and processing results.
[0148] For example, if Fig.10 As shown, when the business system needs to save a copy of the newly uploaded IoT data that meets the conditions of Chaoyang District, Beijing, female, age greater than 50, diastolic blood pressure greater than 90, and systolic blood pressure greater than 140, and return the number of saved items and the average blood pressure value.
[0149] When user A binds the blood pressure monitor in the business system, a binding relationship is generated:
[0150]
[0151] Since the business system stores user information, the business system determines whether user A meets the conditions based on the user information stored in the business system. If yes, a user attribute identifier of select=1 is generated for user A. If not, a user attribute identifier of select=0 is generated for user A.
[0152] Then the business system generates the following preset rules based on the device number, binding time and user attribute identifier of the IoT terminal device bound to the user and sends them to the data storage system:
[0153]
[0154]
[0155] The data storage system analyzes the preset rules sent by the business system. When the user attribute identifier is select=1, the device identifier "SN: 123456" in the preset rule is extracted as the target device identifier, and the binding time parameter "Binding_Time: 2020-09-08-12:12:12", then continue to receive the IoT data sent by the IoT device, extract the reporting device identifier in the IoT data, if the reporting device identifier in the IoT data matches the target device identifier, that is, the reporting device identifier is "SN: 123456", then further obtain the binding time parameters in the preset rules and the device upload data time in the IoT data, if the device upload data time is within the binding time parameters, that is, the device upload data time is after 2020-09-08-12:12:12, it should be understood that the unbinding time is not marked in the aforementioned preset rules, so the time after 2020-09-08-12:12:12 is bound to the time parameter, then further obtain the user health data in the IoT data and the analysis object range in the preset rules, if the systolic blood pressure in the IoT data is greater than 140 and the diastolic blood pressure is greater than 90, The current IoT data is determined to be a screening result. If the systolic blood pressure in the IoT data is less than or equal to 140 or the diastolic blood pressure is less than or equal to 90, it is determined that the current IoT data is not a screening result.
[0156] Therefore, the data processing method proposed in the embodiment of the present application can use the data analysis model of the data storage system to analyze the IoT data detected by the preset rules sent by the business system and the IoT terminal device, and provide the business system with intelligent auxiliary diagnosis results for the corresponding data. For example, the data storage system can send the results of real-time analysis and / or prediction to the business system, and the business system queries the user information corresponding to the corresponding data in its own data, and then promptly sends the abnormal analysis results to the client interaction interface corresponding to the user information and / or sends reminder information to the account bound to the user information. Thus, it is possible to detect and remind chronic diseases such as hypertension, diabetes, and chronic respiratory diseases. As a feasible embodiment, the business system can also directly send the data to be analyzed to the data storage system, so as to use the analysis model preset in the data storage system to analyze the data to be analyzed, and effectively solve the problem of insufficient data analysis computing power of the business system. For example, some institutions (not limited to physical examination institutions) can bind and measure the equipment provided by the institution, and the measurement data is aggregated on the terminal device of the institution, and then the terminal device transmits these data to the data storage system through the communication method of the wired network or the wireless network.
[0157] Specifically, the data storage system receives the IoT data reported by the business system; determines the target IoT data in the IoT data according to the preset rules sent by the business system; stores the target IoT data in a storage location corresponding to the preset rules; and pushes the target IoT data to the business system according to the storage location corresponding to the preset rules.
[0158] For example, for fundus images taken by a fundus camera of a physical examination institution, the images and preset rules containing analysis requirements can be sent to the data storage system through the business system pre-installed in the fundus camera. The data storage system then extracts the fundus images to be analyzed and the analysis requirements, respectively, and inputs the fundus images into the analysis model corresponding to the analysis requirements to analyze the fundus images, obtain the analysis results and send them to the business system.
[0159] For another example, when a user uses a breast milk analyzer, the preset rules sent by the business system to the data storage system may be to recommend recipes based on breast milk. After receiving the breast milk test data sent by the IoT terminal device, the data storage system may send the breast milk test data to the recipe recommendation model, so as to use the recipe recommendation model to analyze the breast milk test data and obtain recipes recommended to the mother in a targeted manner. The data storage system then feeds the analyzed recipes back to the business system so that the business system can recommend recipes to the mother.
[0160] For another example, the data storage system may receive medical report image data sent by the business system, and then perform OCR (Optical Character Recognition) on the medical report image data, extract character data in the medical report, and feed it back to the business system.
[0161] As another feasible embodiment, there are at least two business systems, and the content corresponding to the preset rules includes the target device identifier, binding time parameters and analysis object conditions. Then, according to the content corresponding to the preset rules, the target IoT data in the IoT data is determined, including: obtaining the reporting device identifier and the device data upload time contained in the IoT data; when the reporting device identifier is consistent with the target device identifier reported by at least two business systems, analyzing and processing the IoT data to obtain the analysis and processing results; determining the analysis and processing results as the target IoT data. Fig.11As shown, the data storage system can also solve the problem of data fusion between multiple business systems. Specifically, when business system 1 and business system 2 want to obtain each other's data or use each other's existing data for data analysis, when data sharing is allowed at the decision-making level of the business systems of both parties, business system 1 and business system 2 can respectively send to the data storage system to allow the data stored according to their original preset rules to be transferred and / or copied to a new shared location. For example, data A, B, and C of business system 1 are copied to a shared location, and data D and E of business system 2 are copied to a shared location. Then, the data storage system is instructed to perform fusion analysis according to data A, B, C, D, and E in the shared location through new preset rules, and the analysis results are sent to business system 1 and business system 2 respectively. It should be understood that business system 1 and business system 2 can also individually instruct the data storage system to perform personalized analysis on the IoT data in the shared location according to their own business needs.
[0162] When conducting data fusion analysis, data generated by different channels, different business systems, and different types of hardware devices can be transmitted to the data storage system for fusion analysis through a variety of transmission methods. The above transmission methods include but are not limited to: IoT hardware devices directly connected to various networks directly transmit data to the data storage system according to the address of the server that receives the data burned in. Alternatively, hardware devices that use wireless communication methods such as Bluetooth can first bind to the device through the APP or applet installed in the terminal device such as the mobile phone, and the transmitted data is transmitted to the APP background, and then transmitted to the data storage system through the APP background data interface. After data processing, it can be distributed to various business systems, or after data analysis, AI big data and other processing, a report or result is returned to the user. In some institutions (not limited to physical examination institutions), users can use the equipment provided by the institution to bind and measure data, and the data is collected on the terminal device of the institution, and then the terminal device transmits these data to the data storage system through wired and wireless communication methods.
[0163] For example, business system 1 can be a platform for diabetic retinopathy (diabetic retinopathy, a complication of diabetes) screening. Although the current AI algorithm can achieve an accuracy rate of more than 90%, there are still cases of false positives. If it is known that the person being screened does not have diabetes, the results of the diabetic retinopathy screening can be corrected. Among them, the data provided by business system 2 may include the diabetes status of the user corresponding to the diabetic retinopathy screening performed by business system 1. Based on this, the data storage system can better screen out the device identification of users with diabetes according to business system 1 and business system 2.
[0164] Among them, when multiple business systems use the data in the data storage system together, the data in the shared location can use the latest data table and / or all data tables. The latest data table is saved according to the device identification, business system, indicators, etc., and the data measured by the device for the last time is saved. All data tables save all data in the device. In the data storage system, the latest data corresponding to the multi-business system can be viewed (queried), and the data storage system can feedback the latest data detected by the corresponding device to the business system according to the preset rules of each business system. It should be understood that what the user sees in the terminal device (not limited to applet, APP, H5 page) is all the latest data measured by the individual, regardless of source, device, or organization. In summary, the data storage system of the present application can receive the preset rules of multiple business systems, and store the target Internet of Things data to the storage location corresponding to the preset rules according to the preset rules of the multi-business system, thereby effectively realizing the reuse of the data storage system in multiple business systems, effectively reducing the cost of the data storage system and the business system, and at the same time, effectively avoiding the data corresponding to the business system from becoming isolated data.
[0165] Fig.12 Flow chart of another data processing method of the embodiment of the present application. It should be noted that the execution subject of the data processing method of the present embodiment is the business system, and the business system can interact with the data storage system. Fig.12 As shown, the data processing method of the embodiment of the present application includes:
[0166] Step 601, obtaining a target storage condition, where the target storage condition includes that the target device identifier complies with a binding time parameter.
[0167] Step 602: Generate a preset rule according to the target storage condition, where the preset rule indicates the condition for storing and processing the IoT data.
[0168] Step 603: Send the preset rules to the data storage system.
[0169] As a feasible embodiment, the method further includes:
[0170] The target storage condition also includes target user parameters and analysis object scope. The preset rules generated according to the target storage condition include:
[0171] Generate a user attribute identifier according to the target user parameter and the binding time parameter, where the user attribute identifier is used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier;
[0172] Generate preset rules based on target attribute identification, binding time parameters, target device identifier and analysis object scope.
[0173] It should be noted that for details not disclosed in the data processing method of the embodiments of the present application, please refer to the details disclosed in the above embodiments of the present application, which will not be repeated here.
[0174] To sum up, the data storage system of the present application is able to receive preset rules of multiple business systems, and store the target IoT data to a storage location corresponding to the preset rules according to the preset rules of the multiple business systems, thereby effectively realizing the reuse of the data storage system in multiple business systems, effectively reducing the cost of the data storage system and the business system, and at the same time, effectively avoiding the data corresponding to the business system from becoming isolated data.
[0175] Combine the following Figure 13-17 Describe the data processing method. Fig.13 Flow chart of another data processing method of the embodiment of the present application. The data processing method proposed in the embodiment of the present application is applied to a data processing system. The data storage system takes the IoT data lake as an example. Fig.16 A schematic diagram of the interaction system between the data lake and the business system proposed in an embodiment of the present application is described.
[0176] like Fig.13 As shown, in the business system, the user is bound to the IoT terminal device (detection equipment), and the business system generates corresponding preset rules based on user information, bound device identification, binding time and unbinding time, and user's personalized analysis requirements. The business system sends the preset rules to the data storage system, and the physical network terminal device (detection equipment) measures the user to obtain measurement data. The IoT terminal device generates IoT data based on the measurement data, device identification and detection time, and sends the IoT data to the data storage system. When the received IoT data meets the preset rules, the data storage system saves the IoT data to the storage location corresponding to the preset rules. When the received IoT data does not meet the preset rules, the IoT data is not processed.
[0177] Furthermore, if Fig.14As shown, the business system determines whether the user meets the screening conditions based on the user information stored therein. If yes, the user attribute identifier is set to 1, if not, the user attribute identifier is set to 0, and preset rules are generated based on the user information, the device identifier bound to the user, the binding time, the unbinding time, the analysis object condition and the user attribute identifier, and the preset rules are sent to the data storage system. The measurement data of the physical network terminal device (detection device), the Internet of Things flood terminal device generates the Internet of Things data based on the measurement data, the device identifier and the detection time, and sends the Internet of Things data to the data storage system. The data storage system extracts the device identifier corresponding to the user identifier 1 as the target device identifier. When the reported device identifier of the Internet of Things terminal device matches the target device identifier, the physical network data is further obtained. When the physical network data meets the analysis object condition, a copy of the physical network data is saved, the count value is increased by 1, the average value of the detection data is updated, and the result is returned to the business system.
[0178] Or, if Fig.15 As shown, the business system obtains the device identification of all devices bound to the user information based on the user information, obtains the binding time and unbinding time of each device identification, generates preset rules based on the device identification, binding time and unbinding time, and sends the preset rules to the data storage system. The data storage system searches for data that meets the preset rules in the stored data and sends the queried data to the business system.
[0179] Fig.18 Schematic diagram of the structure of a data processing device in an embodiment of the present application. The data processing device may be configured in a server, which is a data storage system, such as an IoT data lake. Fig.18 As shown, the data processing device 10 includes:
[0180] The IoT data receiving unit 11 is used to receive IoT data reported by IoT terminal devices.
[0181] The target data determination unit 12 is used to determine the target IoT data in the IoT data according to the preset rules sent by the business system, where the preset rules are conditions for indicating storage and processing of the IoT data.
[0182] The storage unit 13 is used to store the target IoT data in a storage location corresponding to a preset rule.
[0183] In some embodiments, the target data determination unit 12 is further configured to:
[0184] Parse the preset rules and obtain the content corresponding to the preset rules;
[0185] According to the content corresponding to the preset rules, the target IoT data in the IoT data is determined.
[0186] In some embodiments, the target data determination unit 12 is further configured to:
[0187] Obtain the reporting device identifier and device data upload time contained in the IoT data;
[0188] When the reported device identifier is consistent with the target device identifier, the IoT data is filtered and processed according to the relationship between the device upload data time and the binding time parameter to obtain the target IoT data.
[0189] In some embodiments, the target data determination unit 12 is further configured to:
[0190] Parsing the preset rules to obtain a user attribute identifier, where the user attribute identifier is used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier;
[0191] When the user attribute identifier indicates that data analysis is to be performed on the IoT data corresponding to the target device identifier, the IoT data is analyzed and processed according to the analysis object condition, the target device identifier and the binding time parameter to obtain an analysis and processing result;
[0192] Determine the analysis and processing results as the target IoT data.
[0193] In some embodiments, the target data determination unit 12 is further configured to:
[0194] Obtain the reporting device identifier and device data upload time contained in the IoT data;
[0195] When the reported device identifier is consistent with the target device identifier and the device upload data time is within the binding time parameter, the IoT data is filtered and processed according to the analysis object range to obtain the filtering result;
[0196] The screening results are analyzed and processed to obtain analysis and processing results.
[0197] In some embodiments, the storage unit 13′ is further configured to:
[0198] Allocate a storage location corresponding to the preset rule according to the preset rule;
[0199] Preprocess the target IoT data to obtain preprocessed results;
[0200] The preprocessing results are stored in a storage location corresponding to the preset rules.
[0201] In some embodiments, the storage unit 13′ is further configured to:
[0202] Push the target IoT data to the business system according to the storage location corresponding to the preset rules.
[0203] In some embodiments, the data processing device 10 is further configured to:
[0204] Receiving the IoT data reported by the business system;
[0205] Determine the target IoT data in the IoT data according to the preset rules sent by the business system;
[0206] Storing the target IoT data in a storage location corresponding to the preset rule;
[0207] The target IoT data is pushed to the business system according to a storage location corresponding to the preset rule.
[0208] In some embodiments, there are at least two business systems, and the content corresponding to the preset rule includes a target device identifier, a binding time parameter, and an analysis object condition. Then, according to the content corresponding to the preset rule, the target IoT data in the IoT data is determined. The data processing device 10 is further used to:
[0209] Obtaining a reporting device identifier and a device data uploading time included in the IoT data;
[0210] When the reported device identifier is respectively consistent with the target device identifier reported by at least two business systems, analyzing and processing the Internet of Things data to obtain an analysis and processing result;
[0211] Determine the analysis and processing result as the target Internet of Things data.
[0212] It should be noted that for details not disclosed in the data processing device of the embodiment of the present application, please refer to the details disclosed in the above embodiments of the present application, which will not be repeated here.
[0213] It should be understood that the units or modules described in the data storage device 10 are similar to those described in the reference Figure 2 Therefore, the operations and features described above for the method are also applicable to the data storage device 20 and the units contained therein, and will not be described in detail here.
[0214] For the several modules or units mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0215] To sum up, the data storage system of the present application is able to receive preset rules of multiple business systems, and store the target IoT data to a storage location corresponding to the preset rules according to the preset rules of the multiple business systems, thereby effectively realizing the reuse of the data storage system in multiple business systems, effectively reducing the cost of the data storage system and the business system, and at the same time, effectively avoiding the data corresponding to the business system from becoming isolated data.
[0216] Fig.19 Schematic diagram of the structure of a data processing device in an embodiment of the present application. The data processing device is set in a business server, and the business server uses the data processing device to interact with the data storage system. The data processing device can be a business system. Fig.19 As shown, the data processing device 20 includes:
[0217] A storage condition acquisition unit 21, used to acquire a target storage condition, the target storage condition including a target device identifier and a binding time parameter;
[0218] A rule generating unit 22, configured to generate a preset rule according to a target storage condition, wherein the preset rule is a condition indicating storage processing for IoT data;
[0219] The rule sending unit 23 is used to send the preset rules to the data storage system.
[0220] In some embodiments, the storage condition acquisition unit 21 is further configured to:
[0221] Generate a user attribute identifier according to the target user parameter and the binding time parameter, where the user attribute identifier is used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier;
[0222] Generate preset rules based on target attribute identification, binding time parameters, target device identifier and analysis object scope.
[0223] It should be understood that the units or modules recorded in the data storage device 20 are similar to those in the reference Fig.12 Therefore, the operations and features described above for the method are also applicable to the data storage device 20 and the units contained therein, and will not be described in detail here.
[0224] For the several modules or units mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0225] Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0226] To sum up, the data storage system of the present application is able to receive preset rules of multiple business systems, and store the target IoT data to a storage location corresponding to the preset rules according to the preset rules of the multiple business systems, thereby effectively realizing the reuse of the data storage system in multiple business systems, effectively reducing the cost of the data storage system and the business system, and at the same time, effectively avoiding the data corresponding to the business system from becoming isolated data.
[0227] Fig. 20 This is a schematic diagram of the structure of a data processing system according to an embodiment of the present application. As shown in FIG20 , the data processing system 30 includes:
[0228] A data lake storage and analysis system 31 and at least one business system 32, wherein the data lake storage and analysis system 31 includes a data storage device 10, and the data lake storage and analysis system 31 is used to store IoT data uploaded by IoT terminal devices;
[0229] The business system 32 includes a data storage device 20, and the business system 32 is used to store user data that is bound to the IoT terminal device.
[0230] It should be understood that the units or modules described in the data storage device 10 and the data storage device 20 are similar to those described in the reference Figure 2 Therefore, the operations and features described above for the method are also applicable to the data storage device 10 and the data storage device 20 and the units contained therein, and will not be described in detail here.
[0231] For the several modules or units mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0232] Reference below Fig.21 , which shows a schematic diagram of the structure of a computer system 1600 of a terminal device or server suitable for implementing an embodiment of the present application.
[0233] like Fig.21As shown, the computer system 1600 includes a central processing unit (CPU) 1601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1602 or a program loaded from a storage part 1608 into a random access memory (RAM) 1603. In the RAM 1603, various programs and data required for the operation of the system 1600 are also stored. The CPU 1601, the ROM 1602, and the RAM 1603 are connected to each other via a bus 1604. An input / output (I / O) interface 1605 is also connected to the bus 1604.
[0234] The following components are connected to the I / O interface 1605: an input section 1606 including a keyboard, a mouse, etc.; an output section 1607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1608 including a hard disk, etc.; and a communication section 1609 including a network interface card such as a LAN card, a modem, etc. The communication section 1609 performs communication processing via a network such as the Internet. A drive 1610 is also connected to the I / O interface 16016 as needed. A removable medium 1611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1610 as needed, so that a computer program read therefrom is installed into the storage section 1608 as needed.
[0235] In particular, according to the embodiments of the present disclosure, the above reference Figure X The described processes may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising a computer program for executing Figure 2 Or the program code of the method of 12. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1609, and / or installed from the removable medium 1611.
[0236] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a different order from the order marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0237] As another aspect, the present application further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the device described in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into the device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the data processing method described in the present application.
[0238] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.
Claims
1. A data processing method, characterized in that: The method includes: Receiving IoT data reported by IoT terminal devices; According to the preset rules sent by the business system, the target IoT data in the IoT data is determined, wherein the preset rules are conditions for indicating storage and processing of the IoT data, including: parsing the preset rules to obtain content corresponding to the preset rules, wherein the content corresponding to the preset rules includes a target device identifier, a binding time parameter, a user attribute identifier, and an analysis object condition; according to the content corresponding to the preset rules, the target IoT data in the IoT data is determined, specifically including: Parsing the preset rule to obtain the user attribute identifier, where the user attribute identifier is used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier; When the user attribute identifier indicates that data analysis is to be performed on the IoT data corresponding to the target device identifier, the IoT data is analyzed and processed according to the analysis object condition, the target device identifier and the binding time parameter to obtain an analysis and processing result, including: Acquire a reporting device identifier and a device data upload time included in the IoT data; when the reporting device identifier is consistent with the target device identifier and the device data upload time is within the binding time parameter, filter the IoT data according to the analysis object condition to obtain a filtering result; perform analysis and processing on the filtering result to obtain an analysis and processing result; Determining the analysis and processing result as the target IoT data; The target IoT data is stored in a storage location corresponding to the preset rule.
2. The method according to claim 1, characterized in that The content corresponding to the preset rule includes a target device identifier and a binding time parameter, and determining the target IoT data in the IoT data according to the content corresponding to the preset rule includes: Obtaining a reporting device identifier and a device data uploading time included in the IoT data; When the reporting device identifier is consistent with the target device identifier, the Internet of Things data is screened and processed according to the relationship between the device data upload time and the binding time parameter to obtain the target Internet of Things data.
3. The method according to claim 1, characterized in that The storing the target IoT data to a storage location corresponding to the preset rule includes: Allocating a storage location corresponding to the preset rule according to the preset rule; Performing data preprocessing on the target IoT data to obtain a preprocessed result; The preprocessing result is stored in a storage location corresponding to the preset rule.
4. The method according to claim 1, characterized in that The method further includes: The target IoT data is pushed to the business system according to a storage location corresponding to the preset rule.
5. The method according to claim 1, characterized in that The method further includes: Receiving the IoT data reported by the business system; Determine the target IoT data in the IoT data according to the preset rules sent by the business system; Storing the target IoT data in a storage location corresponding to the preset rule; The target IoT data is pushed to the business system according to a storage location corresponding to the preset rule.
6. The method according to claim 1, characterized in that There are at least two business systems, and the content corresponding to the preset rule includes a target device identifier, a binding time parameter, and an analysis object condition. Then, according to the content corresponding to the preset rule, the target IoT data in the IoT data is determined, including: Obtaining a reporting device identifier and a device data uploading time included in the IoT data; When the reported device identifier is respectively consistent with the target device identifier reported by at least two business systems, analyzing and processing the Internet of Things data to obtain an analysis and processing result; Determine the analysis and processing result as the target Internet of Things data.
7. A data processing method, characterized in that: include: Acquire a target storage condition, wherein the target storage condition includes a target device identifier and a binding time parameter; Generate a preset rule according to the target storage condition, wherein the preset rule is a condition indicating storage processing for the IoT data, including: parsing the preset rule to obtain content corresponding to the preset rule, wherein the content corresponding to the preset rule includes a target device identifier, a binding time parameter, a user attribute identifier, and an analysis object condition; determine the target IoT data in the IoT data according to the content corresponding to the preset rule, specifically including: Parsing the preset rule to obtain the user attribute identifier, where the user attribute identifier is used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier; When the user attribute identifier indicates that data analysis is to be performed on the IoT data corresponding to the target device identifier, the IoT data is analyzed and processed according to the analysis object condition, the target device identifier and the binding time parameter to obtain an analysis and processing result, including: Acquire a reporting device identifier and a device data upload time included in the IoT data; when the reporting device identifier is consistent with the target device identifier and the device data upload time is within the binding time parameter, filter the IoT data according to the analysis object condition to obtain a filtering result; perform analysis and processing on the filtering result to obtain an analysis and processing result; Determining the analysis and processing result as the target IoT data; The preset rules are sent to a data storage system.
8. The method according to claim 7, characterized in that The target storage condition also includes target user parameters and analysis object range, and generating preset rules according to the target storage condition includes: Generate a user attribute identifier according to the target user parameter and the binding time parameter, wherein the user attribute identifier is used to indicate whether to perform data analysis on the IoT data corresponding to the target device identifier; The preset rule is generated according to the target attribute identifier, the binding time parameter, the target device identifier and the analysis object range.
9. A data processing device, characterized in that: Applied to the method according to any one of claims 1 to 6, the device comprises: An IoT data receiving unit, used to receive IoT data reported by an IoT terminal device; A target data determination unit, configured to determine target IoT data in the IoT data according to a preset rule sent by a business system, wherein the preset rule is a condition indicating storage processing for the IoT data; A storage unit is used to store the target IoT data in a storage location corresponding to the preset rule.
10. A data processing device, characterized in that: Applied to the method according to any one of claims 7-8, the device comprises: A storage condition acquisition unit, used to acquire a target storage condition, wherein the target storage condition includes a target device identifier and a binding time parameter; A rule generating unit, configured to generate a preset rule according to the target storage condition, wherein the preset rule is a condition indicating storage processing for IoT data; The rule sending unit is used to send the preset rule to the data storage system.
11. A data processing system, characterized in that: The system comprises: a data lake storage and analysis system and at least one business system, the data lake storage and analysis system comprising the data storage device according to claim 9, the data lake storage and analysis system being used to store IoT data uploaded by IoT terminal devices; The business system includes the data storage device as claimed in claim 10, and the business system is used to store user data that is bound to the Internet of Things terminal device.
12. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the data processing method described in any one of claims 1 to 6 or the data processing method described in any one of claims 7 to 8.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the program implements the data processing method described in any one of claims 1 to 6 or the data processing method described in any one of claims 7 to 8.
Citation Information
Patent Citations
Telemedicine system and telemedicine equipment
CN102567611A
Boiler monitoring method and system based on Internet of Things
CN107741008A
Internet-of-things system assembled in intelligent industrial equipment assembly type and storage medium
CN108400993A
Method and device for forwarding user datagram protocol message
CN110719248A
Internet of Things data transmission method and device, medium and electronic equipment
CN111274268A
