Data acquisition method, device and electronic equipment

CN114493645BActive Publication Date: 2026-08-21QINGDAO HAIER DRUM WASHING MACHINE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011268844.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-13
Publication Date
2026-08-21
Estimated Expiration
2040-11-13

AI Technical Summary

Technical Problem

[0005]为了解决现有技术中的上述问题,即为了解决现有技术中数据获取效率低的问题

Benefits of technology

[0048]本领域技术人员能够理解的是,本发明实施例提供一种数据获取方法、装置及电子设备,通过在获取到目标用户对应的目标用户终端发送的衣物数据获取请求后,直接从区块链中获取该目标用户所需的目标衣物数据,即可以从区块链中直接获取第一洗护数据和衣物洗护消费数据,该第一洗护数据表示目标用户在第一区域(例如家里)内的洗护数据,该衣物洗护消费数据表示目标用户在第二区域(例如洗衣门店)内的消费数据,并将该第一洗护数据和衣物洗护消费数据发送至目标用户,以使目标用户可以快速获取与衣物洗护相关的数据,无需目标用户到洗衣门店去其在洗衣门店内的衣物洗护消费数据,也无需用户从家里的洗护设备其在家里的洗护数据,从而提高数据获取的效率,且第一洗护数据是由第一区域内的洗护设备获取,并直接保存至区块链的,衣物洗护消费数据是由第二区域内的终端设备获取,并直接保存至区块链的,实现从数据源头上链,保证数据的真实可靠性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114493645B_ABST
    Figure CN114493645B_ABST
Patent Text Reader

Abstract

The application provides a data acquisition method and device and electronic equipment. The method comprises the following steps: obtaining a clothes data acquisition request sent by a target user terminal corresponding to a target user; obtaining target clothes data from a block chain according to the clothes data acquisition request, wherein the target clothes data comprises first washing and protecting data and clothes washing and protecting consumption data; the first washing and protecting data is collected by washing and protecting equipment corresponding to the target user in a first area and saved to the block chain; the clothes washing and protecting consumption data is obtained by a terminal device in a second area and saved to the block chain; and the first washing and protecting data and the clothes washing and protecting consumption data are sent to the target user terminal. The method realizes rapid acquisition of data related to a washing scene, and the target user does not need to go to the second area to obtain the clothes washing and protecting consumption data, thereby improving data acquisition efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of blockchain technology, specifically relating to a data acquisition method, device, and electronic device. Background Technology

[0002] With technological advancements and societal progress, more and more people are installing laundry and garment care equipment in their homes. While users can use these devices to wash and care for their clothes, sometimes they opt for professional laundry services for better cleaning and care.

[0003] Currently, in order to better understand the washing and care of their clothes, users need to obtain data related to clothing washing and care. This means that users obtain their washing and care data at home from their home washing and care devices, and they also obtain their consumption data at the laundry store.

[0004] However, users need to go to the laundry store to manually obtain their consumption data, and they need to obtain their home laundry data from their home laundry equipment. The data acquisition process is cumbersome, the acquisition efficiency is low, and the user experience is poor. Summary of the Invention

[0005] To address the aforementioned problems in the prior art, specifically the low data acquisition efficiency, this invention provides a data acquisition method, apparatus, and electronic device.

[0006] In a first aspect, embodiments of the present invention provide a data acquisition method, including:

[0007] Obtain the clothing data retrieval request sent by the target user's terminal corresponding to the target user;

[0008] According to the clothing data acquisition request, target clothing data is obtained from the blockchain; wherein the target clothing data includes first washing and care data and clothing washing and care consumption data, the first washing and care data is collected by the washing and care device corresponding to the target user in the first area and saved to the blockchain, and the clothing washing and care consumption data is obtained by the terminal device in the second area and saved to the blockchain;

[0009] The first washing and care data and clothing washing and care consumption data are sent to the target user terminal.

[0010] In one possible design, retrieving target clothing data from the blockchain based on the clothing data retrieval request includes:

[0011] Obtain the user key sent by the target user terminal, and obtain the standard key corresponding to the target user, wherein the standard key is a key generated based on the user information of the target user;

[0012] Determine whether the user key is the same as the standard key;

[0013] If they are the same, the target clothing data is obtained from the blockchain according to the clothing data acquisition request.

[0014] In one possible design, the target clothing data may also include first clothing label data and / or second clothing label data.

[0015] In one possible design, the first clothing tag data is read by a reader / writer device corresponding to the target user in the first area and saved to the blockchain; the second clothing tag data is read by a reader / writer device in the second area and saved to the blockchain.

[0016] In one possible design, the method further includes:

[0017] Acquire first tag data sent by a reader / writer within a first area; wherein the first tag data includes clothing attribute information and / or standard washing instructions for the clothing;

[0018] The first tag data is encrypted, and the encrypted first tag data is saved to the blockchain.

[0019] In one possible design, the method further includes:

[0020] Obtain the second tag data sent by the reading and writing devices in the second area, and obtain the standard key corresponding to the target user;

[0021] The second tag data is encrypted using the standard key, and the encrypted second tag data is saved to the blockchain.

[0022] In one possible design, the method further includes:

[0023] Data analysis is performed on the target clothing data to obtain the predicted washing and care information corresponding to the target user terminal;

[0024] Based on the predicted washing and care information, the washing and care equipment corresponding to the target user is controlled to perform washing.

[0025] Secondly, embodiments of the present invention provide a data acquisition device, comprising:

[0026] The transceiver module is used to obtain clothing data acquisition requests sent by the target user's terminal.

[0027] The processing module is used to obtain target clothing data from the blockchain according to the clothing data acquisition request; wherein the target clothing data includes first washing and care data and clothing washing and care consumption data, the first washing and care data is collected by washing and care equipment corresponding to the target user in a first area and saved to the blockchain, and the clothing washing and care consumption data is obtained by terminal devices in a second area and saved to the blockchain;

[0028] The transceiver module is also used to send the first washing and care data and clothing washing and care consumption data to the target user terminal.

[0029] In one possible design, the processing module is further configured to:

[0030] Obtain the user key sent by the target user terminal, and obtain the standard key corresponding to the target user, wherein the standard key is a key generated based on the user information of the target user;

[0031] Determine whether the user key is the same as the standard key;

[0032] If they are the same, the target clothing data is obtained from the blockchain according to the clothing data acquisition request.

[0033] In one possible design, the target clothing data may also include first clothing label data and / or second clothing label data.

[0034] In one possible design, the first clothing tag data is read by a reader / writer device corresponding to the target user in the first area and saved to the blockchain; the second clothing tag data is read by a reader / writer device in the second area and saved to the blockchain.

[0035] In one possible design, the processing module is further configured to:

[0036] Acquire first tag data sent by a reader / writer within a first area; wherein the first tag data includes clothing attribute information and / or standard washing instructions for the clothing;

[0037] The first tag data is encrypted, and the encrypted first tag data is saved to the blockchain.

[0038] In one possible design, the processing module is further configured to:

[0039] Obtain the second tag data sent by the reading and writing devices in the second area, and obtain the standard key corresponding to the target user;

[0040] The second tag data is encrypted using the standard key, and the encrypted second tag data is saved to the blockchain.

[0041] In one possible design, the processing module is further configured to:

[0042] Data analysis is performed on the target clothing data to obtain the predicted washing and care information corresponding to the target user terminal;

[0043] Based on the predicted washing and care information, the washing and care equipment corresponding to the target user is controlled to perform washing.

[0044] Thirdly, embodiments of the present invention provide an electronic device, including: at least one processor and a memory;

[0045] The memory stores computer-executed instructions;

[0046] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the data acquisition method as described in the first aspect and various possible designs of the first aspect.

[0047] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the data acquisition method described in the first aspect and various possible designs of the first aspect.

[0048] Those skilled in the art will understand that the embodiments of the present invention provide a data acquisition method, apparatus, and electronic device. After receiving a clothing data acquisition request sent by a target user's terminal, the method directly acquires the target clothing data required by the target user from the blockchain. Specifically, it can directly acquire first laundry care data and clothing laundry care consumption data from the blockchain. The first laundry care data represents the target user's laundry care data in a first area (e.g., at home), and the clothing laundry care consumption data represents the target user's consumption data in a second area (e.g., a laundry shop). The first laundry care data and clothing laundry care consumption data are then sent to the target user, enabling the target user to quickly obtain clothing laundry care-related data without needing to go to a laundry shop to retrieve their clothing laundry care consumption data or retrieve their home laundry care data from their home laundry equipment. This improves data acquisition efficiency. Furthermore, the first laundry care data is acquired from laundry equipment in the first area and directly stored on the blockchain, while the clothing laundry care consumption data is acquired from terminal devices in the second area and directly stored on the blockchain, achieving data source chaining and ensuring data authenticity and reliability. Attached Figure Description

[0049] Preferred embodiments of the data acquisition method, apparatus, and electronic device of the present invention will now be described with reference to the accompanying drawings. The drawings are as follows:

[0050] Figure 1 A schematic diagram of a scenario for the data acquisition method provided in an embodiment of the present invention;

[0051] Figure 2 Flowchart of the data acquisition method provided in the embodiments of the present invention Figure 1 ;

[0052] Figure 3 Flowchart of the data acquisition method provided in the embodiments of the present invention Figure 2 ;

[0053] Figure 4 This is a schematic diagram of the structure of the data acquisition device provided in an embodiment of the present invention;

[0054] Figure 5 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0056] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0057] Existing laundry scenarios, including home and store scenarios, store data differs depending on where the user washes clothes at home versus at a laundry store. When a user washes clothes at a laundry store, the corresponding consumption data is stored there. When a user needs to retrieve data related to a specific laundry scenario, they must first obtain the relevant washing and care data from their home laundry equipment, and then go to the laundry store to obtain the corresponding consumption data. However, because retrieving consumption data from the laundry store requires manual processing, and retrieving data from home laundry equipment requires processing at home, the data retrieval process is cumbersome, inefficient, and results in a poor user experience.

[0058] Therefore, to address the aforementioned problems, the technical concept of this invention is that after the laundry and care equipment in the first area (i.e., the home) acquires the laundry and care data, it encrypts and saves the data to the blockchain via IoT Chain No. 1. Similarly, after the read / write equipment in the second area (i.e., the laundry store) acquires the laundry and care consumption data, it encrypts and saves it to the blockchain. Upon receiving a user's request to retrieve clothing data, the system retrieves the corresponding laundry and care data and clothing consumption data from the blockchain and sends them to the user. This allows the user to quickly obtain data related to the laundry scenario, achieving rapid data acquisition and thus improving data acquisition efficiency.

[0059] The preferred technical solutions of the data acquisition method, apparatus, and electronic device of the present invention are described below with reference to the above-mentioned accompanying drawings.

[0060] Figure 1 This is a schematic diagram of a scenario for the data acquisition method provided in an embodiment of the present invention, such as... Figure 1 As shown, when a user needs to obtain data related to the laundry scenario, the user terminal 101 sends a clothing data acquisition request to the electronic device 102, so that the electronic device 102 can obtain the data related to the laundry scenario, i.e., the target clothing data, from the blockchain and send the target clothing data to the user terminal 101.

[0061] The user terminal 101 can be a mobile terminal (e.g., a smartphone, PDA, tablet computer, or other mobile device with camera capabilities, or a wearable electronic device), or a computer device (e.g., a desktop computer, laptop computer, all-in-one computer, or smart home device).

[0062] Among them, electronic device 102 can be a server, computer equipment, etc., specifically a device for building a blockchain platform.

[0063] Figure 2 Flowchart of the data acquisition method provided in the embodiments of the present invention Figure 1The execution entity in this embodiment can be Figure 1 The electronic devices shown in the illustrated embodiments are not specifically limited in this embodiment. Figure 2 As shown, the method includes:

[0064] S201. Obtain the clothing data acquisition request sent by the target user terminal corresponding to the target user.

[0065] In this embodiment, when a target user needs to obtain clothing data related to home laundry scenarios and consumption data related to store laundry scenarios, the target user inputs relevant operations on the target user terminal to generate a clothing data acquisition request and sends the clothing data acquisition request to the electronic device so that the electronic device can use the clothing data acquisition request to obtain the clothing data required by the target user.

[0066] S202. Obtain target clothing data from the blockchain according to the clothing data acquisition request. The target clothing data includes first washing and care data and clothing washing and care consumption data. The first washing and care data is collected by the washing and care device corresponding to the target user in the first area and saved to the blockchain. The clothing washing and care consumption data is obtained by the terminal device in the second area and saved to the blockchain.

[0067] In this embodiment, when the electronic device receives a clothing data acquisition request sent by the target user terminal corresponding to the target user, it indicates that the user needs to acquire clothing data related to the laundry scenario. Then, the target clothing data corresponding to the clothing data acquisition request is retrieved from the blockchain that stores clothing data of multiple users, that is, the target clothing data corresponding to the target user is acquired.

[0068] The target laundry data includes primary laundry care data related to home laundry scenarios for the target user, as well as clothing care consumption data related to in-store laundry scenarios for the target user. Primary laundry care data is collected by laundry care devices corresponding to the target user within a first area and stored on the blockchain. Specifically, when the target user uses laundry care devices within the first area (i.e., at home) to wash clothes, the devices collect the corresponding laundry care data, which is then used as primary laundry care data and stored on the blockchain to achieve on-chain processing of the primary laundry care data.

[0069] Correspondingly, the clothing washing and care consumption data is obtained by the terminal devices in the second area and stored in the blockchain. That is, when the target user washes clothes using the washing and care equipment in the second area (i.e., the laundry store), the terminal device obtains the consumption data corresponding to the target user and saves it in the blockchain.

[0070] The first laundry and care device corresponding to the target user refers to the laundry and care device bound to the target user. The first laundry and care device includes washing machines, smart wardrobes, dryers, and other devices that process clothes. The first laundry and care data includes data related to washing clothes, such as soaking data (e.g., soaking time, water usage), washing data (e.g., washing mode, time, water usage), rinsing data (e.g., rinsing time, water usage), and spin-drying data (e.g., spin-drying time, spin speed). The first laundry and care data also includes data related to clothing care, such as care mode and care time.

[0071] The terminal devices include user information reading and writing devices, which are used to read user information and, after reading the user information, save the user information and the reading time (i.e., consumption time) to the blockchain. Correspondingly, clothing washing and care consumption data includes user information and its corresponding consumption time.

[0072] Furthermore, optional user information reading and writing devices include radio frequency identification (RFID) readers, channel readers, etc.

[0073] Alternatively, user information may include user identifiers (e.g., user ID, user mobile phone number, ID card number, name, etc.) or other user-related information, such as the user's work address.

[0074] Optionally, the terminal device may also include a laundry and care device used to collect laundry and care data. Correspondingly, the laundry and care consumption data also includes secondary laundry and care data. When a user washes clothes in a secondary area (i.e., a laundry store), the laundry and care device in the secondary area washes the clothes, and the laundry and care device acquires the laundry and care data, uses it as secondary laundry and care data, and then saves the secondary laundry and care data to the blockchain to realize the on-chain storage of laundry and care consumption data.

[0075] The second set of laundry care data includes data related to washing clothes, such as soaking data (e.g., soaking time, water usage), washing data (e.g., washing mode, time, water usage), rinsing data (e.g., rinsing time, water usage), and spin-drying data (e.g., spin-drying time, spin speed). The first set of laundry care data also includes data related to caring for clothes, such as care mode and care time.

[0076] For ease of description, the washing and care equipment in the first area is referred to as the first washing and care equipment, and the washing and care equipment in the second area is referred to as the second washing and care equipment.

[0077] Additionally, optional data on clothing washing and care consumption may include the frequency of consumption by target users in the second region, i.e., the frequency of consumption at laundry stores, such as how often they wash and care for their clothes.

[0078] Alternatively, when saving clothing washing and care consumption data to the blockchain, the terminal device can do so directly by using its own installed IoT Blockchain No. 1 module. Correspondingly, when the first washing and care device saves the first washing data to the blockchain, it does so directly by using its own installed IoT Blockchain No. 1 module.

[0079] Furthermore, optionally, before saving the first washing and care data to the blockchain, the first washing and care device may first obtain a first key, use the first key to encrypt the first washing and care data, and then save the encrypted first washing and care data to the blockchain.

[0080] Accordingly, before saving clothing washing and care consumption data to the blockchain, the terminal device can first obtain the standard key corresponding to the target user, use the standard key to encrypt the clothing washing and care consumption data, and then save the encrypted clothing washing and care consumption data to the blockchain.

[0081] The first key can be a key corresponding to the first washing and care device, or a standard key corresponding to the target user of the first washing and care device. This standard key is generated based on the user information of the target user (e.g., user identifier). Furthermore, the first key can be a public key, a private key, or a symmetric key; there are no restrictions on this.

[0082] In this embodiment, in order to ensure the security of data storage, the clothing washing and care consumption data and the first washing and care data need to be encrypted before being saved to the blockchain. Then, the encrypted clothing washing and care consumption data and the first washing and care data are processed on the blockchain to ensure data security and prevent tampering.

[0083] In this embodiment, IoT Chain No. 1 integrates blockchain technology into hardware, possessing complete hardware expansion capabilities and functions such as digital identity authentication for IoT devices, privacy protection, data storage, and data traceability. It can efficiently empower various devices to achieve trusted data collection and privacy protection, thereby enabling terminal devices and the first washing and care device to directly save data to the blockchain.

[0084] In any embodiment, optionally, the target clothing data may further include first clothing label data and / or second clothing label data and second washing and care data.

[0085] Specifically, the first garment label data includes garment attribute information and / or standard washing instructions. When the target user washes the garment in the first area, the reading and writing device in the first area reads the label on the garment (e.g., hang tag, care label) to obtain the data on the label and uses it as the first label data.

[0086] The tags can be RFID tags, and the reading and writing devices in the first area can include RFID readers, first washing and care devices, etc., which can be devices that are tagged with clothing. Clothing attribute information includes information such as clothing material and standard washing and care methods. The standard washing and care methods indicate the optimal way to wash and care for clothing, which can guide users to properly wash and maintain their clothes.

[0087] Specifically, the second garment label data also includes garment attribute information and / or standard washing and care instructions. When a target user washes clothes in the second area, the reading and writing device in the second area reads the garment's label (e.g., hang tag, care label) to obtain the data on the label and uses it as the second label data.

[0088] Alternatively, the reading and writing devices in the second area may also include RFID reading devices, second washing and care devices, or other devices that can identify tags on clothing.

[0089] Furthermore, optionally, after reading the first clothing tag data, the reading and writing device in the first area can directly process it on the blockchain. That is, the first clothing tag data is read by the reading and writing device corresponding to the target user in the first area and saved to the blockchain. Correspondingly, after reading the second clothing tag data, the reading and writing device in the second area can also directly process it on the blockchain. That is, the second clothing tag data is read by the reading and writing device in the second area and saved to the blockchain.

[0090] Alternatively, after reading the first clothing tag data, the reading and writing device in the first area can send it to an electronic device so that the electronic device can process it on the blockchain. The specific process is as follows: obtain the first tag data sent by the reading and writing device in the first area; encrypt the first tag data; and save the encrypted first tag data to the blockchain.

[0091] Specifically, after the reading and writing device corresponding to the target user in the first area reads the tag data of the clothing, i.e. the first clothing tag data, it sends it to the electronic device. The electronic device encrypts the first clothing tag data and saves the encrypted first tag data to the blockchain so that when the target user needs to obtain the first tag data later, it can directly obtain it from the blockchain.

[0092] Alternatively, after reading the second clothing tag data, the reading / writing device in the second area can send it to an electronic device for on-chain processing. The specific process involves: obtaining the second tag data sent by the reading / writing device in the second area and obtaining the standard key corresponding to the target user; encrypting the second tag data using the standard key; and saving the encrypted second tag data to the blockchain.

[0093] Specifically, after receiving the second clothing tag data corresponding to the target user sent by the reading and writing device in the second area, the electronic device obtains the standard key corresponding to the target user. This standard key is generated based on the user information of the target user. Then, the electronic device uses the standard key to encrypt the second clothing tag data and uploads the encrypted second clothing tag data to the blockchain to ensure data security and prevent data from being tampered with.

[0094] It is understandable that when the reading / writing devices / laundry equipment in the first area and the second area save data to the blockchain, they will associate and save the data with user information so that users can retrieve relevant data based on their user information later. For example, when user A goes to the second area to wash clothes, the washing equipment in the second area will obtain the corresponding washing data while washing the clothes and save the washing data along with user A's user information to the blockchain.

[0095] S203. Send the first washing and care data and clothing washing and care consumption data to the target user terminal.

[0096] In this embodiment, after obtaining the first washing and care data and the clothing washing and care consumption data, that is, after obtaining the washing and care data of the target user when washing and caring for clothes at home and / or the consumption data of the target user in the laundry store, the electronic device sends the first washing and care data and the clothing washing and care consumption data to the target user terminal, that is, sends the data related to the laundry scenario to the target user terminal so that the target user corresponding to the target user terminal can obtain the data he / she needs.

[0097] Alternatively, when the target clothing data includes other data, that data may also be sent to the target user terminal; that is, all data included in the target clothing data must be sent to the target user terminal. For example, if the target clothing data also includes first clothing tag data and second clothing tag data, then the first clothing tag data and the second clothing tag data may also be sent to the target user terminal.

[0098] In addition, before sending the target clothing data to the target user terminal, that is, after obtaining the target clothing data from the blockchain, if the target clothing data is encrypted, it is necessary to decrypt the target clothing data, and then send the decrypted target clothing data to the target user terminal.

[0099] In this embodiment, the first laundry care device encrypts the acquired laundry care data during the laundry process and directly saves it to the blockchain, achieving data chaining from the data source and ensuring the authenticity and reliability of the first laundry care data in the blockchain. Similarly, after acquiring the laundry care consumption data, the terminal device in the second area encrypts the laundry care consumption data and directly saves it to the blockchain. This achieves data chaining from the data source and ensures the authenticity and reliability of the laundry care consumption data in the blockchain.

[0100] In this embodiment, the data obtained by users from relevant washing and care equipment and reading and writing devices in different laundry scenarios is encrypted and uploaded to the blockchain through IoT Chain No. 1, ensuring that the data is decentralized, secure, reliable and traceable.

[0101] As described above, after receiving a clothing data retrieval request from the target user's terminal, the system directly retrieves the target clothing data required by the target user from the blockchain. Specifically, it directly obtains the first laundry care data and clothing laundry consumption data from the blockchain. The first laundry care data represents the laundry care data generated by the target user using laundry equipment in the first area, i.e., data related to the home laundry scenario. The clothing laundry consumption data represents the consumption data generated by the target user when washing clothes in the second area, i.e., data related to the store laundry scenario. This first laundry care data and clothing laundry consumption data are then sent to the target user, allowing them to quickly obtain clothing laundry-related data without needing to visit a laundry store to retrieve their laundry consumption data or retrieve their home laundry data from their home laundry equipment. Furthermore, the first laundry care data is obtained from the laundry equipment in the first area and directly saved to the blockchain, while the clothing laundry consumption data is obtained from the terminal device in the second area and directly saved to the blockchain, achieving data source-to-chain verification and ensuring data authenticity and reliability.

[0102] Figure 3 Flowchart of the data acquisition method provided in the embodiments of the present invention Figure 2 In this embodiment Figure 2 Based on the previous embodiment, after receiving the clothing data retrieval request sent by the target user, it is necessary to verify the target user's identity to determine whether the target user is qualified to obtain the corresponding target clothing data. This process will be described in detail below with reference to a specific embodiment. Figure 3 As shown, the method includes:

[0103] S301. Obtain the clothing data acquisition request sent by the target user terminal corresponding to the target user.

[0104] S302. Obtain the user key sent by the target user terminal and obtain the standard key corresponding to the target user, wherein the standard key is a key generated based on the user information of the target user.

[0105] In this embodiment, the user key sent by the target user terminal is obtained, and the standard key corresponding to the target user is obtained. The standard key is a key generated based on the target user's specific tag, i.e., user information (e.g., user identifier), and is unique.

[0106] The user key can be sent separately by the target user terminal, or it can be added to the clothing data acquisition request when sending the clothing data acquisition request. In other words, the clothing data acquisition request carries the user key, and there are no restrictions on it here.

[0107] Alternatively, the clothing data acquisition request may also include the target user's user information, and correspondingly, the standard key corresponding to the target user can be obtained based on this user information.

[0108] S303. Determine whether the user key is the same as the standard key.

[0109] S304. If they are the same, then retrieve the target clothing data from the blockchain according to the clothing data retrieval request.

[0110] In this embodiment, the user key is compared with the standard key. If they are the same, it means that the user key sent by the target user terminal is the standard key corresponding to the target user. The target user's identity is successfully authenticated, and the target clothing data can be obtained from the blockchain according to the clothing data acquisition request.

[0111] Alternatively, when retrieving target clothing data from the blockchain, the standard key can be used to decrypt related data within the target clothing data (e.g., data acquired by a device in the second area) to achieve data decryption.

[0112] Alternatively, user keys can be used for authentication only when retrieving data from devices within the second region from the blockchain, such as clothing washing and care consumption data. Once authentication is successful, the data retrieved from the second region from the blockchain, i.e., clothing washing and care consumption data, can be obtained.

[0113] S305. Send the target clothing data to the target user terminal.

[0114] In this embodiment, after obtaining the target clothing data from the blockchain, the target clothing data is sent to the target user terminal so that the target user can quickly obtain the target clothing data, thus achieving rapid acquisition of the target clothing data.

[0115] S306. If they are different, stop retrieving the target clothing data from the blockchain based on the clothing data retrieval request.

[0116] In this embodiment, the user key is compared with the standard key. If the two are different, it indicates that the user key sent by the target user terminal is not the standard key corresponding to the target user. The identity authentication of the target user fails, and the target clothing data cannot be obtained from the blockchain. That is, the retrieval of the target clothing data from the blockchain according to the clothing data retrieval request is stopped to ensure data security and avoid data error transmission.

[0117] Alternatively, if it is determined that the user key is different from the standard key, a key error message can be sent to the target user terminal so that the target user can confirm whether the user key was sent incorrectly.

[0118] In any embodiment, optionally, after obtaining the target clothing data, the target clothing data can be analyzed to obtain the predicted washing and care information corresponding to the target user terminal, that is, to obtain the predicted washing and care information corresponding to the target user, and to control the washing and care equipment corresponding to the target user to perform washing based on the predicted washing and care information.

[0119] The predictive washing and care information includes predicted washing modes for different materials and / or other information related to washing clothes. The predictive washing and care information may also include predicted care modes for different materials and / or other information related to caring for clothes.

[0120] In this embodiment, after receiving a clothing data retrieval request from a target user, the target user's identity is authenticated based on the user key sent by the target user. Specifically, if the user key matches the target user's corresponding standard key, the target user's authentication is successful, and the required target clothing data can be retrieved from the blockchain according to the clothing data retrieval request. If the user key does not match the target user's corresponding standard key, the target user's authentication fails, and the required target clothing data is not retrieved from the blockchain. This ensures that only users with the key can query their own consumption data, i.e., the target clothing data, preventing information leakage, protecting user privacy, and guaranteeing the security of data retrieval.

[0121] Figure 4 This is a schematic diagram of the structure of the data acquisition device provided in an embodiment of the present invention, as shown below. Figure 4 As shown, the data acquisition device 40 may include a transceiver module 401 and a processing module 402.

[0122] The transceiver module 401 is used to obtain clothing data acquisition requests sent by the target user terminal corresponding to the target user.

[0123] Processing module 402 is used to retrieve target clothing data from the blockchain based on the clothing data retrieval request. The target clothing data includes first washing and care data and clothing washing and care consumption data. The first washing and care data is collected by washing and care devices corresponding to the target user in the first area and stored in the blockchain. The clothing washing and care consumption data is obtained by terminal devices in the second area and stored in the blockchain.

[0124] The transceiver module 401 is also used to send the first washing and care data and clothing washing and care consumption data to the target user terminal.

[0125] Optionally, the target clothing data may also include first clothing label data and / or second clothing label data.

[0126] Furthermore, optionally, the first clothing tag data is obtained by a reader / writer device corresponding to the target user within the first area and saved to the blockchain. The second clothing tag data is obtained by a reader / writer device within the second area and saved to the blockchain.

[0127] Alternatively, the processing module 402 may also be used for:

[0128] Acquire the first tag data sent by the reading and writing device within the first area. The first tag data includes clothing attribute information and / or the standard washing method for the clothing.

[0129] The first tag data is encrypted, and the encrypted first tag data is saved to the blockchain.

[0130] Alternatively, the processing module 402 may also be used for:

[0131] Obtain the second tag data sent by the reading and writing devices in the second area, and obtain the standard key corresponding to the target user.

[0132] The second tag data is encrypted using a standard key, and the encrypted second tag data is saved to the blockchain.

[0133] In another embodiment of the present invention, in the above... Figure 4 Based on the illustrated embodiment, the processing module 402 is further configured to:

[0134] Obtain the user key sent by the target user terminal, and obtain the standard key corresponding to the target user, where the standard key is a key generated based on the target user's user information.

[0135] Determine whether the user key is the same as the standard key.

[0136] If they are the same, the target clothing data is retrieved from the blockchain based on the clothing data retrieval request.

[0137] If they are different, stop retrieving the target clothing data from the blockchain based on the clothing data retrieval request.

[0138] In any embodiment, optionally, the processing module 402 is further configured to:

[0139] Data analysis is performed on the target clothing data to obtain the predicted washing and care information corresponding to the target user terminal.

[0140] Based on the predicted washing and care information, the corresponding washing and care equipment for the target user is controlled to perform the washing.

[0141] For a detailed description of the functions of each module in this embodiment, please refer to the description in the embodiments of the method; it will not be elaborated here.

[0142] Figure 5 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. For example... Figure 5 As shown, the electronic device 50 provided in this embodiment includes at least one processor 501 and a memory 502. The electronic device 50 also includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus 504.

[0143] In the specific implementation process, at least one processor 501 executes the computer execution instructions stored in the memory 502, causing at least one processor 501 to execute the data acquisition method executed by the above-mentioned barrel-type recommended device.

[0144] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0145] In the above Figure 5 In the illustrated embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0146] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.

[0147] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0148] Another embodiment of this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the data acquisition method described in the above method embodiment.

[0149] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0150] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0151] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0152] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will all fall within the scope of protection of the present invention.

Claims

1. A data acquisition method, characterized in that, include: Obtain the clothing data retrieval request sent by the target user's terminal corresponding to the target user; According to the clothing data acquisition request, target clothing data is obtained from the blockchain; wherein the target clothing data includes first washing and care data and clothing washing and care consumption data. The first washing and care data is collected by the washing and care device corresponding to the target user in the first area and stored in the blockchain. The first washing and care data includes clothing soaking time, soaking water volume, clothing washing mode, clothing washing time, clothing washing water volume, clothing rinsing time, clothing rinsing water volume, clothing spin-drying time, clothing spin-drying speed, care mode, and care time. The clothing washing and care consumption data is obtained by the terminal device in the second area and stored in the blockchain. The clothing washing and care consumption data includes clothing soaking time, soaking water volume, clothing washing mode, clothing washing time, clothing washing water volume, clothing rinsing time, clothing rinsing water volume, clothing spin-drying time, clothing spin-drying speed, care mode, care time, and consumption frequency in the second area. The first laundry care data and clothing laundry care consumption data are sent to the target user terminal; The target clothing data also includes first clothing label data and / or second clothing label data; The first clothing tag data is read by the reading and writing device corresponding to the target user in the first area and saved to the blockchain; the second clothing tag data is read by the reading and writing device in the second area and saved to the blockchain. Data analysis is performed on the target clothing data to obtain the predicted washing and care information corresponding to the target user terminal; Based on the predicted washing and care information, the washing and care equipment corresponding to the target user is controlled to perform washing.

2. The method according to claim 1, characterized in that, According to the clothing data acquisition request, the target clothing data is obtained from the blockchain, including: Obtain the user key sent by the target user terminal, and obtain the standard key corresponding to the target user, wherein the standard key is a key generated based on the user information of the target user; Determine whether the user key is the same as the standard key; If they are the same, the target clothing data is obtained from the blockchain according to the clothing data acquisition request.

3. The method according to claim 1, characterized in that, The method further includes: Acquire first tag data sent by a reader / writer within a first area; wherein the first tag data includes clothing attribute information and / or standard washing instructions for the clothing; The first tag data is encrypted, and the encrypted first tag data is saved to the blockchain.

4. The method according to claim 1, characterized in that, The method further includes: Obtain the second tag data sent by the reading and writing devices in the second area, and obtain the standard key corresponding to the target user; The second tag data is encrypted using the standard key, and the encrypted second tag data is saved to the blockchain.

5. A data acquisition device, characterized in that, include: The transceiver module is used to obtain clothing data acquisition requests sent by the target user's terminal. The processing module is used to obtain target clothing data from the blockchain according to the clothing data acquisition request; wherein the target clothing data includes first washing and care data and clothing washing and care consumption data. The first washing and care data is collected by the washing and care device corresponding to the target user in the first area and stored in the blockchain. The first washing and care data includes clothing soaking time, soaking water volume, clothing washing mode, clothing washing time, clothing washing water volume, clothing rinsing time, clothing rinsing water volume, clothing spin-drying time, clothing spin-drying speed, care mode, and care time. The clothing washing and care consumption data is obtained by the terminal device in the second area and stored in the blockchain. The clothing washing and care consumption data includes clothing soaking time, soaking water volume, clothing washing mode, clothing washing time, clothing washing water volume, clothing rinsing time, clothing rinsing water volume, clothing spin-drying time, clothing spin-drying speed, care mode, care time, and consumption frequency in the second area. The transceiver module is also used to send the first washing and care data and clothing washing and care consumption data to the target user terminal; The target clothing data also includes first clothing label data and / or second clothing label data; The first clothing tag data is read by the reading and writing device corresponding to the target user in the first area and saved to the blockchain; the second clothing tag data is read by the reading and writing device in the second area and saved to the blockchain. The processing module is further configured to perform data analysis on the target clothing data to obtain predicted washing and care information corresponding to the target user terminal; and control the washing and care equipment corresponding to the target user to perform washing based on the predicted washing and care information.

6. An electronic device, characterized in that, include: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the data acquisition method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the data acquisition method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Dust-free and sterilized clothes washing management system and method

    CN106790427A

  • Washing machine, intelligent clothing washing prompt system and method and cloud server

    CN106868793A

  • Household appliance Internet of Things user privacy protection method based on blockchain

    CN111064693A