CN111726268B - Data sharing method and device, equipment and storage medium - Google Patents

Data sharing method and device, equipment and storage medium Download PDF

Info

Publication number
CN111726268B
CN111726268B CN201910210043.5A CN201910210043A CN111726268B CN 111726268 B CN111726268 B CN 111726268B CN 201910210043 A CN201910210043 A CN 201910210043A CN 111726268 B CN111726268 B CN 111726268B
Authority
CN
China
Prior art keywords
verification
household appliance
shared data
response
appliance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910210043.5A
Other languages
Chinese (zh)
Other versions
CN111726268A (en
Inventor
曾成鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Original Assignee
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd filed Critical Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority to CN201910210043.5A priority Critical patent/CN111726268B/en
Publication of CN111726268A publication Critical patent/CN111726268A/en
Application granted granted Critical
Publication of CN111726268B publication Critical patent/CN111726268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The embodiment of the application discloses a data sharing method, a data sharing device, data sharing equipment and a storage medium. The method comprises the following steps: the first household appliance device broadcasts a shared data request to a network where the first household appliance device is located; the shared data request carries verification information of the first household appliance; the first household appliance equipment determines the equipment returning the shared data response in the network as second household appliance equipment; the shared data response carries verification information of the second household appliance; the first household appliance acquires a first verification response based on the verification information of the first household appliance and the verification information of the second household appliance; and if the first verification response shows that the verification is successful, the first household appliance equipment acquires the shared data from the second household appliance equipment or the verification equipment.

Description

Data sharing method and device, equipment and storage medium
Technical Field
The embodiment of the application relates to the field of internet of things, and relates to but is not limited to a data sharing method, a data sharing device, data sharing equipment and a data sharing storage medium.
Background
The Internet of things is an important component of a new generation of information technology and is also an important development stage of the 'informatization' era. The user end extends and expands to any article to perform information exchange and communication, namely, the article information. The Internet of things is widely applied to network fusion through communication perception technologies such as intelligent perception, identification technology and pervasive computing. Communication can be carried out between the equipment of the Internet of things, and the data sharing function between the equipment of the Internet of things is extended. However, in the data sharing schemes of the internet of things devices in the related art, data verification mechanisms are often lacked, so that the safety of the use of the internet of things devices is greatly hidden.
Disclosure of Invention
In view of the above, embodiments of the present application provide a data sharing method and apparatus, a device and a storage medium to solve at least one problem in the prior art.
The technical scheme of the embodiment of the application is realized as follows:
an embodiment of the present application provides a data sharing method, including:
the first household appliance device broadcasts a shared data request to a network where the first household appliance device is located; the shared data request carries verification information of the first household appliance;
the first household appliance equipment determines the equipment returning the shared data response in the network as second household appliance equipment; the shared data response carries verification information of the second household appliance;
the first household appliance acquires a first verification response based on the verification information of the first household appliance and the verification information of the second household appliance;
and if the first verification response shows that the verification is successful, the first household appliance equipment acquires the shared data from the second household appliance equipment or the verification equipment.
The embodiment of the application provides another data sharing method, which comprises the following steps:
when monitoring a shared data request broadcasted by equipment in a network, a second household appliance determines the equipment broadcasting the shared data request as a first household appliance; the shared data request carries verification information of the first household appliance;
the second household appliance responds to the shared data request and sends a shared data response to the first household appliance, wherein the shared data response carries the verification information of the second household appliance;
and when the second household appliance determines that the verification of the shared data request is passed, sending shared data to the first household appliance.
An embodiment of the present application further provides a data sharing apparatus, including:
the broadcasting unit is configured to broadcast a shared data request to a network where the first household appliance is located; the shared data request carries verification information of the first household appliance;
a first determining unit, configured to determine a device returning a shared data response in the network as a second home device; the shared data response carries verification information of the second household appliance;
the first obtaining unit is configured to obtain a first verification response based on the verification information of the first household appliance and the verification information of the second household appliance;
and the second acquisition unit is configured to acquire the shared data from the second household appliance or the verification device when the first verification response indicates that the verification is successful.
An embodiment of the present application further provides another data sharing apparatus, including:
the monitoring unit is configured to determine a device broadcasting a shared data request as a first household appliance when a second household appliance monitors the shared data request broadcasted by devices in a network; the shared data request carries verification information of the first household appliance;
a response unit configured to respond to the shared data request and send a shared data response to the first home appliance device, where the shared data response carries verification information of a second home appliance device;
and the second sending unit is configured to send the shared data to the first household appliance when the second household appliance determines that the request for the shared data passes the verification.
An embodiment of the present application further provides a home appliance device for implementing data sharing, where the device includes: the device comprises a memory and a processor, wherein the memory stores a computer program which can run on the processor, and the processor realizes any data sharing method when executing the computer program.
Embodiments of the present application further provide a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute any one of the data sharing methods described above.
In the embodiment of the application, the shared data is verified by utilizing the verification information of each household appliance, a verification mechanism is provided for a data sharing scheme in the Internet of things, and the security of data sharing is improved.
Drawings
Fig. 1 is a schematic flowchart illustrating an implementation process of a data sharing method according to an embodiment of the present application;
FIG. 2 is a schematic interaction flow diagram of another data sharing method according to an embodiment of the present application;
FIG. 3A is a schematic diagram illustrating another data sharing method according to an embodiment of the present application;
fig. 3B is a schematic diagram illustrating an implementation flow of another data sharing method according to an embodiment of the present application;
fig. 3C is a schematic diagram illustrating an implementation flow of another data sharing method according to an embodiment of the present application;
fig. 4A is a schematic structural diagram of a data sharing device according to an embodiment of the present application;
fig. 4B is a schematic diagram of a structure of another data sharing device according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a hardware entity of a data sharing device according to an embodiment of the present application.
Detailed Description
The technical solution of the present application is further elaborated below with reference to the drawings and the embodiments.
An embodiment of the present application provides a data sharing method, as shown in fig. 1, the method includes:
step S101, broadcasting a shared data request to a network where a first household appliance is located by the first household appliance; the shared data request carries verification information of the first household appliance;
first household electrical appliances can interconnect with some other household electrical appliances, forms the thing networking. The network where the first household appliance is located is an internet of things formed by the first household appliance and other household appliances. When the first household appliance needs to acquire the data sensed by other household appliances, the first household appliance broadcasts the shared data request to the network where the first household appliance is located, and after trying to enable the other household appliances in the network to receive the broadcasted data request, the first household appliance can respond and provide the required shared data. In order to achieve the purpose of security check, the shared data request carries check information of the first home appliance device, and the check information may include identification information, such as a device ID, and also includes information such as a security check code.
Step S102, the first household appliance determines the equipment returning the shared data response in the network as a second household appliance; the shared data response carries verification information of the second household appliance;
when the first home device receives the response, it finds that the received response is a reply to the shared data request broadcasted by itself, i.e., a shared data response. Then, the first home device determines the device returning the shared data response as the second home device, and prepares for data sharing with the second home device. In order to ensure the security of the shared data, the shared data response returned by the second household appliance device carries the verification information of the second household appliance device.
Step S103, the first household appliance obtains a first verification response based on the verification information of the first household appliance and the verification information of the second household appliance;
here, the first home device itself may perform security verification according to the verification information of the first home device and the verification information of the second home device, and determine whether the second home device and itself can perform secure data sharing. And obtaining a first verification response according to the verification result.
The first household appliance device can also send the self verification information and the verification information of the second household appliance to one verification device, and the verification device obtains a verification result after verifying according to the verification information of the first household appliance device and the second household appliance device and returns a first verification response to the first household appliance device.
The first household appliance can also directly acquire the first verification response provided by the second household appliance. The first household appliance provides the self verification information to the second household appliance through broadcasting, and the second household appliance can verify the data which is provided by combining the first household appliance with the second household appliance. Of course, the second home device may also send a verification request to the verification device and obtain a verification result. And the second household appliance carries the obtained verification result in the first verification response to be provided for the first household appliance.
And step S104, if the first verification response shows that the verification is successful, the first household appliance obtains the shared data from the second household appliance or the verification device.
The first verification response can indicate that verification is successful or failed, and when verification is failed, the first household appliance does not acquire shared data; when the verification is successful, the first household appliance considers that the shared data provided by the second household appliance can be safely used, and at the moment, the second household appliance may not provide the shared data to the first household appliance and the verification device; therefore, the first household appliance obtains the shared data from the second household appliance and performs application.
The second home device may already carry the shared data in the shared data response provided to the first home device, and the first home device may directly extract the shared data from the shared data response and apply the shared data when the verification is successful.
In addition, the second household appliance may also provide the shared data to the verification device, and when the verification device confirms that the verification is successful, the shared data is sent to the first household appliance, and at this time, when the first household appliance obtains the first verification response which is sent by the verification device and indicates that the verification is successful, the first household appliance may obtain the required shared data from the verification device and apply the shared data.
An embodiment of the present application provides another data sharing method, as shown in fig. 2, the method includes:
step S201, the first home device 21 broadcasts a shared data request to its own network; the shared data request carries verification information of the first household appliance;
step S202, when the second home device 22 monitors a shared data request broadcasted by devices in the network, determining the device broadcasting the shared data request as the first home device;
the second household appliance may be an appliance having a sensing function, and the sensing function is generally acquired and processed by different types of sensors. The sensor includes, but is not limited to, forms of a thermosensitive element, a photosensitive element, a gas-sensitive element, a force-sensitive element, a magnetic-sensitive element, a humidity-sensitive element, a sound-sensitive element, a radiation-sensitive element, a color-sensitive element, a flavor-sensitive element, and the like. The second household electrical appliance can sense the surrounding environment to obtain corresponding sensing data. Meanwhile, the second household appliance also monitors the broadcast signal in the network where the second household appliance is located, and when the second household appliance receives the shared data request, the second household appliance determines the equipment sending the shared data request as the first household appliance so as to prepare for data sharing with the first household appliance.
The shared data request carries the verification information of the first household appliance, and the second household appliance can verify the first household appliance according to the verification information. The verification information may include identification information, such as a device ID, and also includes information such as a security verification code. The shared data request can also carry an identifier for representing the type of the requested data, and when the second household appliance determines that the type of the data requested to be shared by the first household appliance is the data type sensed by the second household appliance, the identity of the first household appliance is verified.
Step S203, the second household electrical appliance 22 responds to the shared data request, and sends a shared data response to the first household electrical appliance 21, where the shared data response carries the verification information of the second household electrical appliance 22;
and after receiving the shared data request, the second household appliance returns a shared data response to the first household appliance so as to inform the second household appliance that the second household appliance can provide the required shared data for the first household appliance. Here, the second home device may provide its own verification information to the first home device, so that the first home device may perform security verification.
Step S204, the first household electrical appliance 21 determines the device returning the shared data response in the network as the second household electrical appliance 22;
here, the first home device determines a device of the shared data response returned in the network as a second home device performing data sharing with itself.
Step S205, the first household appliance carries the verification information of the first household appliance 21 and the verification information of the second household appliance 22 in a first verification request, and sends the first verification request to the verification device 23;
the first household appliance carries the verification information of the first household appliance and the second household appliance in the first verification request, and sends the first verification request to the verification device. The verification device may be a network device such as a gateway or a server, may be another verification device, or may be a second home appliance. And after the verification equipment completes the verification, returning a first verification response to the first household appliance equipment.
Step S206, the first household electrical appliance 21 obtains a first verification response returned by the verification device 23, where the first verification response carries a first verification result indicating whether the verification is successful.
Here, the verification device performs verification according to the received first verification request. The first verification request comprises verification information of the first household appliance and verification information of the second household appliance. The verification device performs verification according to verification information of the two home appliances, for example, the verification information may include IDs of the appliances, and the verification device determines whether the first home appliance and the second home appliance are members of the same preset home group or are in the same preset area according to the ID of the first home appliance and the ID of the second home appliance. And when the verification result is determined to be the same preset family group member or in the same preset area, obtaining a first verification result with successful verification, and returning a first verification response with verification success to the first household appliance.
The function of the checking device can be realized by a cloud end, and the cloud end is composed of one or more servers. And the cloud end presets the members of each family group capable of data sharing or presets an area capable of data sharing. The first household appliance device and the second household appliance device can be connected with the cloud end, and can also be connected with the cloud end through the gateway. When the cloud has a plurality of servers, a data sharing protocol can be established among the servers. For example, the cloud end comprises a first server establishing a data sharing protocol and is connected with a second server, the first household appliance is a device to which the first server belongs, the second household appliance is a device to which the second server belongs, and when the first household appliance sends a verification request to the first server, the first server identifies the ID of the first household appliance but cannot identify the ID of the second household appliance; at this time, the first server may send the ID of the second home appliance to the second server for verification, and send a confirmation message to the first server when the second server determines that the received ID is the ID of the second home appliance to which the second server belongs. And the first server judges whether the IDs of the two devices meet the condition of successful verification according to the confirmation message, and if so, the first verification result is confirmed to be successful verification.
In step S207, when the second home device 22 determines that the request for shared data passes the verification, the shared data is sent to the first home device 21.
Here, the second home device may acquire the first verification response acquired by the first home device to determine whether the verification is passed.
The second household appliance can also perform security verification according to the verification information of the first household appliance and the verification information of the second household appliance, determine whether the second household appliance can provide safe data sharing for the first household appliance, and determine whether the shared data request passes the verification.
The second household appliance equipment can also send the self verification information and the verification information of the first household appliance equipment to the verification equipment, and the verification equipment performs verification. The verification device may be the first home device, or may be a gateway or a server. For example, the function of the verification device is realized by a cloud, which is the same as the verification initiated by the first household appliance to the verification device, the second household appliance initiates a verification request to the cloud, and the cloud is composed of one or more servers. And the cloud end presets the members of each family group capable of data sharing or presets an area capable of data sharing. And when the cloud end determines that the verification information of the two devices meets the preset conditions, returning a result of successful verification confirmation to the second household appliance, and determining whether the shared data request passes the verification by the second household appliance.
And when the second household appliance equipment determines that the verification is passed, the shared data requested to be shared by the first household appliance equipment is sent to the first household appliance equipment.
Step S208, if the first verification response indicates that the verification is successful, the first home appliance 21 acquires the shared data from the second home appliance 22 or the verification device 23.
Step S204 and step S205 in the present embodiment provide an implementation method of step S103. By the method, the first household appliance can be verified through the verification equipment of the third party, accuracy of the verification result is guaranteed, and safety of data sharing is improved.
The embodiment of the application provides another data sharing method, which comprises the following steps:
step S301, broadcasting a shared data request to a network where the first household appliance is located by the first household appliance; the shared data request carries verification information of the first household appliance;
step S302, when the second household appliance monitors a shared data request broadcasted by the devices in the network, determining the device broadcasting the shared data request as the first household appliance;
step S303, the second household appliance responds to the shared data request and sends a shared data response to the first household appliance, wherein the shared data response carries the verification information of the second household appliance;
step S304, the first household appliance determines the equipment returning the shared data response in the network as the second household appliance;
step S305, the first household appliance carries the verification information of the first household appliance and the verification information of the second household appliance in a first verification request, and sends the first verification request to a verification device;
step S306, the first household appliance device obtains a first verification response returned by the verification device, and the first verification response carries a first verification result of whether verification is successful or not;
step S307, the second household appliance obtains a third verification response based on the verification information of the first household appliance and the verification information of the second household appliance;
and the second household appliance performs verification according to the verification information of the first household appliance and the second household appliance to obtain a third verification response. Here, the second home device itself may perform a check as a checking device to determine whether itself can share data with the first home device. The second household appliance can also carry the verification information of the second household appliance and the first household appliance in the verification request and send the verification request to the verification device, and the verification is completed by the verification device.
Here, the verification information includes an ID of the device, and the verification device determines whether the first home device and the second home device are members of a preset family group capable of data sharing or are in the same preset area capable of data sharing according to the ID of the first home device and the ID of the second home device. And after the verification equipment completes the verification, returning a third verification response to the second household appliance equipment.
And step S308, if the third verification response shows that the verification is successful, the second household appliance determines that the verification of the shared data request is passed.
And when the verification device confirms that the two household appliances are preset family group members capable of data sharing or are in the same preset area capable of data sharing, determining that the verification is successful, and returning a third verification response indicating that the verification is successful to the second household appliance. At this time, the second home device may determine that the check of the shared data request passes.
Step S309, when the second home appliance determines that the request for shared data is verified, sending shared data to the first home appliance.
When the second household appliance determines that the shared data request is verified, sending shared data to the first household appliance; if the verification is not passed, the shared data is not sent, but a response can be returned to the first household appliance to inform that the first household appliance cannot share the data with the first household appliance.
And step S310, if the first verification response shows that the verification is successful, the first household appliance obtains the shared data from the second household appliance or the verification device.
The foregoing steps S307 to S309 provide a way for the second household appliance to perform verification as well, where the second household appliance itself or requests the verification to the verification device to obtain a third verification response, and when the second household appliance confirms that the verification is passed through the third verification response, the second household appliance determines that data sharing can be performed on the first household appliance. And the first household appliance determines whether the first household appliance can acquire the shared data provided by the second household appliance through the first verification response.
The first household appliance and the second household appliance respectively carry out verification, and respectively obtain a first verification response and a third verification response. And after obtaining the third verification response, the second household appliance confirms whether the shared data provided by the first household appliance can be provided. And when both sides confirm that the data sharing can be carried out, the data sharing is carried out, and the first household appliance can acquire the shared data provided by the second household appliance and carry out application.
The embodiment of the application provides another data sharing method, which comprises the following steps:
step S401, broadcasting a shared data request to a network where the first household appliance is located by the first household appliance; the shared data request carries verification information of the first household appliance;
step S402, when the second household electrical appliance monitors a shared data request broadcasted by the equipment in the network, determining the equipment broadcasting the shared data request as the first household electrical appliance;
step S403, the second household appliance sends a shared data response to the first household appliance in response to the shared data request, where the shared data response carries verification information of the second household appliance;
step S404, the first household appliance determines the equipment returning the shared data response in the network as the second household appliance;
step S405, the first household appliance carries the verification information of the first household appliance and the verification information of the second household appliance in a first verification request, and sends the first verification request to the verification device;
step S406, the first household appliance device obtains a first verification response returned by the verification device, wherein the first verification response carries a first verification result of whether verification is successful;
step S407, the second household appliance judges whether the verification information of the first household appliance and the verification information of the second household appliance meet preset conditions;
step S408, if the preset condition is met, determining that the third verification response indicates that the verification is successful;
step S409, if the preset condition is not met, determining that the third verification response indicates verification failure;
here, the second household appliance determines whether a preset condition is satisfied according to the verification information of the first household appliance and the verification information of the second household appliance, the preset condition is a condition for determining that the two household appliances can perform safe data sharing, when the verification information of the two household appliances satisfies the preset condition, the verification is determined to be passed, otherwise, the verification is not passed. Of course, the second household appliance may also send a verification request to another verification device, and the verification device determines whether the two satisfy the preset condition, so as to obtain a corresponding third verification response.
And step S410, if the third verification response shows that the verification is successful, determining that the verification of the shared data request is passed.
The preset conditions here may be: the two devices are preset family members capable of data sharing or in the same preset area capable of data sharing. When the verification device confirms that the two household appliances meet the preset conditions, namely the two household appliances are preset family members capable of data sharing or are in the same preset area capable of data sharing, the verification is determined to be successful, and a third verification response indicating the verification is successful is returned to the second household appliance. At this time, the second home device may determine that the check of the shared data request passes.
And step S411, when the second household appliance determines that the request for the shared data passes the verification, sending the shared data to the first household appliance.
When the second household appliance determines that the shared data request is verified, sending shared data to the first household appliance; if the verification is not passed, the shared data is not sent, but a response can be returned to the first household appliance to inform that the first household appliance cannot share the data with the first household appliance.
Step S412, if the first verification response indicates that the verification is successful, the first home appliance device obtains the shared data from the second home appliance device or the verification device.
And when the second household appliance determines that the verification is passed through the third verification response and the shared data is sent to the first household appliance, the first household appliance determines whether to acquire the shared data or not through the first verification response. And when the first verification response shows that the verification is successful, the first household appliance acquires the shared data provided by the second household appliance. Of course, the second home device may also provide the shared data to the first home device through the verification device.
The foregoing steps S407 to S409 provide an implementation manner of the step S307, where the second electrical appliance determines whether the verification passes by determining whether the verification information of the first electrical appliance and the second electrical appliance satisfies the preset condition.
The embodiment of the application provides another data sharing method, which comprises the following steps:
step S501, broadcasting a shared data request to a network where a first household appliance is located by the first household appliance; the shared data request carries verification information of the first household appliance;
step S502, when the second household electrical appliance monitors a shared data request broadcasted by the equipment in the network, the equipment broadcasting the shared data request is determined as the first household electrical appliance;
step S503, the second household appliance responds to the shared data request and sends a shared data response to the first household appliance, wherein the shared data response carries the verification information of the second household appliance;
step S504, the first household appliance determines the equipment returning the shared data response in the network as the second household appliance;
step S505, the first household appliance carries the verification information of the first household appliance and the verification information of the second household appliance in a first verification request, and sends the first verification request to a verification device;
step S506, the first household appliance equipment obtains a first verification response returned by the verification equipment, and the first verification response carries a first verification result of whether verification is successful or not;
step S507, when the second household appliance determines that the first household appliance and the second household appliance are members of a preset same family group or are in a same preset area according to the ID of the first household appliance and the ID of the second household appliance, determining that a third verification response indicates that verification is successful;
the verification information of the first household appliance is the ID of the first household appliance, and the verification information of the second household appliance is the ID of the second household appliance.
Here, the verification information of the first home device includes an ID of the first home device, and the verification information of the second home device includes an ID of the second home device. And the second household appliance determines whether the preset condition is met according to the IDs of the second household appliance and the second household appliance.
The preset conditions here include: and if the first household appliance and the second household appliance are the same preset family group member or in the same preset area, determining that the first household appliance and the second household appliance can share data, and if the corresponding third verification response indicates that the verification is successful.
Step S508, if the preset condition is not met, determining that the third verification response indicates verification failure;
step S509, if the third verification response indicates that the verification is successful, determining that the verification of the shared data request is passed.
And step S510, when the second household appliance determines that the shared data request is verified, sending shared data to the first household appliance.
Step S511, if the first verification response indicates that the verification is successful, the first home appliance device obtains the shared data from the second home appliance device or the verification device.
The step S507 provides an implementation manner of determining that the preset condition is satisfied in the step S407, and determining whether the verification passes by determining whether the IDs of the first household appliance and the second household appliance satisfy the preset condition.
The embodiment of the application provides another data sharing method, which comprises the following steps:
step S601, broadcasting a shared data request to a network where a first household appliance is located by the first household appliance; the shared data request carries verification information of the first household appliance;
step S602, when the second household electrical appliance monitors a shared data request broadcasted by the equipment in the network, determining the equipment broadcasting the shared data request as the first household electrical appliance;
step S603, the second household appliance responds to the shared data request and sends a shared data response to the first household appliance, wherein the shared data response carries the verification information of the second household appliance;
step S604, the first household appliance determines the equipment returning the shared data response in the network as a second household appliance;
step S605, the first household electrical appliance carries the verification information of the first household electrical appliance and the verification information of the second household electrical appliance in a first verification request, and sends the first verification request to a verification device;
step S606, the first household appliance equipment obtains a first verification response returned by the verification equipment, and the first verification response carries a first verification result of whether verification is successful or not;
step S607, the second household electrical appliance carries the verification information of the first household electrical appliance and the verification information of the second household electrical appliance in a third verification request, and sends the third verification request to the verification device;
here, the second home device requests the verification device for verification. And the second household appliance carries the verification information of the first household appliance and the verification information of the second household appliance in the third verification request and sends the verification requests to the verification equipment. And the checking equipment checks according to the checking information of the first household appliance and the checking information of the second household appliance, determines whether the two appliances can share data or not, and returns a third checking response to the second household appliance.
Step S608, the second household appliance obtains a third verification response returned by the verification device, where the third verification response carries a third verification result indicating whether the verification is successful.
And in the third verification response, the verification equipment sends a response to the second household appliance according to whether the verification is successful. The second home device may determine whether the verification is passed according to a result of the third verification response. And when the verification is passed, sending the shared data to the first household appliance.
And step S609, if the third verification response shows that the verification is successful, the second household appliance equipment determines that the verification of the shared data request is passed.
And step S610, when the second household appliance determines that the request for the shared data passes the verification, the second household appliance sends the shared data to the first household appliance.
Step S611, if the first verification response indicates that the verification is successful, the first home appliance device obtains the shared data from the second home appliance device or the verification device.
The above steps S607 and S608 give one implementation of step S307. The second household appliance sends the check request with the information of the two appliances to the check appliance and obtains a corresponding check result.
The embodiment of the application provides another data sharing method, which comprises the following steps:
step S701, broadcasting a shared data request to a network where the first household appliance is located by the first household appliance; the shared data request carries verification information of the first household appliance;
step S702, when the second household electrical appliance monitors a shared data request broadcasted by the equipment in the network, determining the equipment broadcasting the shared data request as the first household electrical appliance;
step S703, the second household appliance sends a shared data response to the first household appliance in response to the shared data request, where the shared data response carries verification information of the second household appliance;
step S704, the first household appliance determines the equipment returning the shared data response in the network as a second household appliance;
step S705, the first home appliance carries the verification information of the first home appliance and the verification information of the second home appliance in a first verification request, and sends the first verification request to a verification device;
step S706, the first household appliance device obtains a first verification response returned by the verification device, and the first verification response carries a first verification result of whether verification is successful or not;
step S707, the second household appliance carries the verification information of the first household appliance and the verification information of the second household appliance in a third verification request, and sends the third verification request to a verification device;
step S708, the second household appliance obtains a third verification response returned by the verification device, where the third verification response carries a third verification result indicating whether the verification is successful.
Step S709, if the third verification response indicates that the verification is successful, the second home appliance device determines that the verification of the shared data request is passed.
Step S710, if the shared data request passes the verification, the second household appliance equipment obtains a verification identifier returned by the verification equipment;
step S711, the second household appliance sends a check identifier and shared data to the first household appliance; and the verification identifier is used for enabling the first household appliance to verify the shared data again.
The foregoing steps S710 and S711 provide an implementation manner in which the second home device provides the first home device with the check identifier for rechecking. After the verification equipment completes verification, a verification identifier is provided while a verification result is returned to the second household appliance, and when the second household appliance sends shared data to the first household appliance, the verification identifier can be sent to the first household appliance together, so that the first household appliance can perform re-verification on the received shared data. For example, when the second home appliance requests the verification device to perform verification, the verification device determines that data sharing can be performed between the first home appliance and the second home appliance according to the verification information of the first home appliance and the second home appliance, that is, it is determined that the verification is passed. At this time, the verification device randomly generates an authentication token as a verification identifier, corresponds to the data shared by the second household appliance, and returns the authentication token to the second household appliance. And the second household appliance sends the shared data to the first household appliance and simultaneously sends the authentication token to the first household appliance. After receiving the shared data and the authentication token, the first household appliance device may send the received authentication token to the verification device for verification, and when the verification device confirms that the authentication token is the authentication token preset by itself and corresponding to the shared data, it is determined that the verification is successful, and the first household appliance device may safely use the received shared data.
Step S712, if the first verification response indicates that the verification is successful, the first home appliance device obtains the shared data and the verification identifier from the second home appliance device or the verification device;
when the first verification response indicates that the verification is successful, the first home appliance device may obtain a verification identifier related to the shared data, and perform a second verification on the shared data. For example, when the second home device performs the first check and obtains the first check response, it is determined that the first home device indicated in the received broadcast shared data request can perform data sharing with itself, and the first check response is returned to the first home device. At this time, the first home appliance may determine whether the obtained shared data is the safe shared data provided by the second home appliance on the basis that the second home appliance is successfully verified. Therefore, the first household appliance device can acquire the shared data and simultaneously acquire the check identifier, then check the check identifier and confirm the security of the received shared data. The verification identifier may be an authentication token provided by the second home appliance itself as the verification device, or an authentication token provided by the verification device when the second home appliance requests the verification device for verification.
Step S713, the first household appliance sends a second check request with the check identification to the check device;
after receiving the check identifier, the first household appliance device may send a second check request with the check identifier to the check device; the checking device confirms whether the check is successful or not by confirming whether the received check identifier is a legal check identifier provided by the checking device.
Step S714, the first electrical home appliance device obtains a second check response returned by the check device, where the second check response carries a second check result indicating whether the check identifier is legal or not;
step S715, if the second verification response indicates that the verification identifier is valid, the first home device determines that the shared data can be applied.
And when the checking device confirms that the checking identifier sent by the first household appliance device is a preset legal checking identifier of the checking device, returning a second checking response indicating that the checking identifier is legal to the first household appliance device. After receiving the second check response, the first home appliance device may determine whether the shared data received by itself is safe shared data according to a check result indicating whether the check identifier is legal, thereby determining whether the shared data can be applied.
In this embodiment, the verification device may be a network device such as a server or a gateway. For example, the verification device is a cloud terminal composed of one or more servers, and when the second household appliance requests verification from the cloud terminal, the cloud terminal provides an authentication token for data corresponding to the verification request of the second household appliance, and returns a third verification response that the verification is successful. And after the first household appliance equipment acquires the shared data and the authentication token, the received authentication token is sent to the cloud end, the cloud end confirms whether the received authentication token is a legal authentication token generated by the cloud end, and a corresponding second check response is returned.
The embodiment of the application provides data sharing equipment, and the data sharing equipment is household electrical appliance equipment of the Internet of things.
The household appliance is provided with a wired or wireless connection network or other electronic equipment functions. As shown in fig. 3A, the home appliance 11 includes: the home appliance system comprises an internet of things module 11a, a sensing module 11b, a data module 11c and a storage module, wherein the storage module is not shown in the figure, and can be a module with a storage function, which is possessed by the home appliance 11 itself, or an external storage device, and is used for storing data.
The Internet of Things module 11a is a module for directly or indirectly connecting to the Internet or an external device, and includes but is not limited to a bluetooth module, a Wi-Fi (wireless local area network) module, a 2G (second generation wireless communication technology) module, a 3G (third generation wireless communication technology) module, an NB-IoT (Narrow Band Internet of Things) module, a ZigBee (ZigBee protocol of purple peak), a Long Range Radio (Long Range Radio), and the like.
The sensing module 11b is a module for providing sensing capability for the household electrical appliance, and the sensing capability is generally acquired and processed by different types of sensors. The sensor includes, but is not limited to, forms of a thermosensitive element, a photosensitive element, a gas-sensitive element, a force-sensitive element, a magnetic-sensitive element, a humidity-sensitive element, a sound-sensitive element, a radiation-sensitive element, a color-sensitive element, a flavor-sensitive element, and the like.
The data module 11c is used for processing, judging and feeding back information from the storage module and the internet of things module. The functions of real upgrading or updating recognition, logic processing and the like can assist the remote server to process related functions such as authentication, sharing, data collection and the like.
The home device 11 may establish a connection with the cloud 13 through the gateway 12. The cloud provides computing, storage, transmission and other capabilities for a single or multiple computers or server devices connected with the internet and capable of providing stable access capability, and also needs to have device authentication capability.
An embodiment of the present application provides a data sharing method, as shown in fig. 3B, the method includes a data acquisition process:
step S11, the first household appliance, such as the Internet of things device 1, determines that a sensing data is required to be acquired;
step S12, the first home device broadcasts a request for obtaining data.
The request includes a unique identification code (ID) of the first home device at the cloud and a request-aware data type.
And step S13, when the first household appliance confirms that the data is returned, acquiring the data.
The acquired data comprises a unique identification code (ID) of the data sharing device, namely the second household appliance device at the cloud end; and requesting the perceived data content and the authentication token returned by the cloud.
And step S14, the first household appliance checks the acquired data.
The first household appliance device sends the ID of the first household appliance device and the ID of the second household appliance device to the cloud end; and when the cloud authentication token exists in the shared data, the authentication token is also sent to the cloud.
The cloud checks the two IDs and confirms whether the IDs have authority to share data, wherein the definition of the authority has the following three forms:
the first and the second household appliances are owned by the same family or the same user; namely, the two household appliances are members of the same family group set by the cloud;
the second and the two household appliances are in the same area; namely, the two household appliances are in the range of the interconnection area set by the cloud;
thirdly, if the verified authentication token exists, the legality of the authentication token is verified.
And step four, the first household appliance equipment acquires a validity verification result returned by the cloud end and determines whether the requested data has permission to be shared.
And step S15, the first home device applies the received shared data after the data verification is successful.
An embodiment of the present application provides a data sharing method, as shown in fig. 3C, the method includes a data acquisition process:
step S21, detecting a perception data request of a second household appliance, such as the Internet of things device 2;
the second home device is used as one end for sending the shared data, has a sensing function, and can sense the data. The second household appliance detects the own sensing data request, and when the sensing data request is detected, the data can be sensed and sensing data can be generated.
Step S22, the second home appliance determines whether the data request is received;
the second household appliance detects an external broadcast signal, and confirms that the data request is received when the data request sent by the first household appliance is detected.
Step S23, confirming whether the broadcast source, namely the first household appliance has the data acquisition authority;
and the second household appliance acquires the ID of the first household appliance and the data type required to be sensed according to the broadcast signal. The second household appliance device sends the ID of the second household appliance device and the ID of the first household appliance device to the cloud end;
the cloud checks the two IDs and confirms whether authority sharing data exists or not, wherein the definition of the authority has the following two forms:
the first and the second household appliances are owned by the same family or the same user; namely, the two household appliances are members of the same family group set by the cloud;
the second and the two household appliances are in the same area; namely, the two household appliances are in the range of the interconnection area set by the cloud.
And then the second household appliance equipment acquires a validity verification result returned by the cloud end and determines whether the requested data has permission to be shared. And meanwhile, the second household appliance performs secondary verification according to the authentication token returned by the cloud.
Step S24, if the verification is successful, the second home device pushes the requested sensed data to the broadcast source, that is, the first home device.
The pushed data includes: the unique identification code of the second household appliance at the cloud end; the type and value of the sensing data shared by the second household appliance.
In a practical application scenario, for example, the application in a group of home appliances is as follows:
step S1, the electric rice cooker in Internet of things needs to know the current indoor temperature and broadcasts a data request to the family;
step S2, the Internet of things air conditioner receives the broadcast request, confirms that the indoor temperature data are available, and checks the validity of the request to the cloud;
step S3, checking that the in-things electric cooker of the in-things air conditioning box returns to the indoor temperature after passing;
and step S4, adjusting the cooking curve of the Internet of things electric cooker according to the indoor temperature.
An embodiment of the present application provides a data sharing apparatus 400, as shown in fig. 4A, the apparatus includes:
a broadcasting unit 401 configured to broadcast a shared data request to a network where the first home device is located; the shared data request carries verification information of the first household appliance;
a first determining unit 402, configured to determine a device returning a shared data response in the network as a second home device; the shared data response carries verification information of the second household appliance;
a first obtaining unit 403, configured to obtain a first verification response based on the verification information of the first home appliance and the verification information of the second home appliance;
a second obtaining unit 404, configured to obtain shared data from the second home device or the verification device if the first verification response indicates that the verification is successful.
In other embodiments, the first obtaining unit 403 includes:
the first sending module is configured to carry the verification information of the first household appliance and the verification information of the second household appliance in a first verification request and send the first verification request to the verification device;
the first obtaining module is configured to obtain a first verification response returned by the verification device, where the first verification response carries a first verification result indicating whether verification is successful.
In other embodiments, the apparatus further comprises:
a third obtaining unit configured to obtain a check identifier and shared data from the second home appliance;
the first sending unit is configured to send a second check request with the check identifier to the check device;
a fourth obtaining unit, configured to obtain a second check response returned by the check device, where the second check response carries a second check result indicating whether the check identifier is legal or not;
a second determining unit configured to determine that the shared data can be applied by the first home device if the second check response indicates that the check identification is valid.
In other embodiments, the verification device is a server or a gateway.
Another data sharing apparatus 410 is further provided in the embodiment of the present application, as shown in fig. 4B, the apparatus includes:
the monitoring unit 411 is configured to determine, when the second home device monitors a shared data request broadcasted by a device in the network, the device which broadcasts the shared data request as the first home device; the shared data request carries verification information of the first household appliance;
a response unit 412, configured to respond to the shared data request and send a shared data response to the first household appliance device, where the shared data response carries verification information of a second household appliance device;
a second sending unit 413, configured to send the shared data to the first home device when the second home device determines that the request for shared data is verified.
In other embodiments, the apparatus further comprises:
a fifth obtaining unit, configured to obtain, according to the shared data request, verification information of the second home appliance device;
a sixth obtaining unit, configured to obtain a third verification response based on the verification information of the first household appliance and the verification information of the second household appliance;
a third determining unit configured to determine that the request for shared data passes the verification if the third verification response indicates a successful verification.
In other embodiments, the sixth obtaining unit includes:
the judging module is configured to judge whether the checking information of the first household appliance and the checking information of the second household appliance meet preset conditions or not;
the first determining module is configured to determine that the third verification response indicates successful verification if the preset condition is met;
and the second determining module is configured to determine that the third verification response indicates verification failure if the preset condition is not met.
In other embodiments, the verification information of the first home appliance is an ID of the first home appliance, and the verification information of the second home appliance is an ID of the second home appliance;
the judging module comprises: and the determining submodule is configured to determine that the third verification response indicates that the verification is successful when the judging module determines that the first household appliance and the second household appliance are members of a preset same family group or in a same preset area according to the ID of the first household appliance and the ID of the second household appliance.
In other embodiments, the sixth obtaining unit includes:
the second sending module is configured to carry the verification information of the first household appliance and the verification information of the second household appliance in a third verification request and send the third verification request to the verification device;
and the second obtaining module is configured to obtain a third verification response returned by the verification device, wherein the third verification response carries a third verification result indicating whether verification is successful or not.
In other embodiments, the apparatus further comprises:
a seventh obtaining unit, configured to obtain, if the second verification response indicates that the verification is successful, a verification identifier returned by the verification device;
a third sending unit, configured to send a check identifier and shared data to the first home appliance; and the verification identifier is used for enabling the first household appliance to verify the shared data again.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the method for sharing data is implemented in the form of a software functional module and is sold or used as a standalone product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an internet of things device (which may be a personal computer, a mobile terminal, a household appliance, a commercial device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, an embodiment of the present application provides a data sharing device, which includes a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor executes the computer program to implement the steps in the data sharing method provided in the foregoing embodiment.
Correspondingly, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the data sharing method provided by the above embodiment.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 5 is a schematic diagram of a hardware entity of a data sharing device in an embodiment of the present application, and as shown in fig. 5, the hardware entity of the data sharing device 500 includes: a processor 501, a communication interface 502 and a memory 503, wherein
The processor 501 generally controls the overall operation of the data sharing device 500.
The communication interface 502 may enable the data sharing device to communicate with other terminals or servers via a network.
The Memory 503 is configured to store instructions and applications executable by the processor 501, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 501 and modules in the data sharing device 500, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an internet of things device (which may be a personal computer, a mobile terminal, a household appliance, a commercial device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method for sharing data, comprising:
the first household appliance device broadcasts a shared data request to a network where the first household appliance device is located; the shared data request carries verification information of the first household appliance;
the first household appliance equipment determines equipment returning the shared data response in the network as second household appliance equipment; the shared data response carries verification information of the second household appliance;
the first household appliance acquires a first verification response based on the verification information of the first household appliance and the verification information of the second household appliance;
and if the first verification response shows that the verification is successful, the first household appliance equipment acquires the shared data from the second household appliance equipment or the verification equipment.
2. The data sharing method according to claim 1, wherein the acquiring, by the first home device, a first verification response based on the verification information of the first home device and the verification information of the second home device includes:
the first household appliance carries the verification information of the first household appliance and the verification information of the second household appliance in a first verification request, and the first verification request is sent to verification equipment;
and the first household appliance equipment acquires the first verification response returned by the verification equipment, wherein the first verification response carries a first verification result of whether verification is successful or not.
3. The data sharing method according to claim 2, wherein the method further comprises:
the first household appliance equipment acquires a check identifier and shared data from the second household appliance equipment;
the first household appliance device sends a second verification request with the verification identifier to the verification device;
the first household appliance equipment acquires a second check response returned by the check equipment, wherein the second check response carries a second check result indicating whether the check identification is legal or not;
and if the second check response shows that the check identification is legal, the first household appliance determines that the shared data can be applied.
4. The data sharing method according to claim 3, wherein the verification device is a server or a gateway.
5. A method for sharing data, comprising:
when monitoring a shared data request broadcasted by equipment in a network where a second household appliance is located, determining the equipment broadcasting the shared data request as first household appliance equipment; the shared data request carries verification information of the first household appliance;
the second household appliance responds to the shared data request and sends a shared data response to the first household appliance, wherein the shared data response carries verification information of the second household appliance;
the second household appliance equipment acquires a first verification response; wherein the first verification response is: the first household appliance is obtained based on the verification information of the first household appliance and the verification information of the second household appliance;
and the second household appliance sends the shared data to the first household appliance when the first household appliance determines that the shared data request is verified based on the first verification response.
6. The data sharing method of claim 5, wherein the method further comprises:
the second household appliance equipment acquires the verification information of the first household appliance equipment according to the shared data request;
the second household appliance obtains a third verification response based on the verification information of the first household appliance and the verification information of the second household appliance;
and if the third check response shows that the check is successful, determining that the check on the shared data request is passed.
7. The data sharing method according to claim 6, wherein the obtaining, by the second home device, a third verification response based on the verification information of the first home device and the verification information of the second home device comprises:
the second household appliance judges whether the checking information of the first household appliance and the checking information of the second household appliance meet preset conditions or not;
if the preset condition is met, determining that the third verification response indicates that verification is successful;
and if the preset condition is not met, determining that the third verification response indicates verification failure.
8. The data sharing method according to claim 7, wherein the checking information of the first home appliance is an ID of the first home appliance, the checking information of the second home appliance is an ID of the second home appliance, and the second home appliance determines whether the checking information of the first home appliance and the checking information of the second home appliance satisfy a preset condition, including:
and when the second household appliance determines that the first household appliance and the second household appliance are members of a preset same family group or are in a same preset area according to the ID of the first household appliance and the ID of the second household appliance, determining that the third verification response indicates that the verification is successful.
9. The data sharing method according to claim 6, wherein the obtaining, by the second home device, a third verification response based on the verification information of the first home device and the verification information of the second home device comprises:
the second household appliance carries the verification information of the first household appliance and the verification information of the second household appliance in a third verification request, and the third verification request is sent to verification equipment;
and the second household appliance equipment acquires the third verification response returned by the verification equipment, wherein the third verification response carries a third verification result of whether the verification is successful or not.
10. The data sharing method according to claim 9, wherein the method further comprises:
if the shared data request passes the verification, the second household appliance equipment acquires a verification identifier returned by the verification equipment;
the second household appliance equipment sends a check identifier and shared data to the first household appliance equipment; and the verification identifier is used for enabling the first household appliance to verify the shared data again.
11. A data sharing apparatus, comprising:
the broadcasting unit is configured to broadcast a shared data request to a network where the first household appliance is located; the shared data request carries verification information of the first household appliance;
a first determining unit, configured to determine a device returning a shared data response in the network as a second home device; the shared data response carries verification information of the second household appliance;
the first obtaining unit is configured to obtain a first verification response based on the verification information of the first household appliance and the verification information of the second household appliance;
and the second acquisition unit is configured to acquire the shared data from the second household appliance or the verification device when the first verification response indicates that the verification is successful.
12. A data sharing apparatus, comprising:
the monitoring unit is configured to determine a device broadcasting a shared data request as a first household appliance when a second household appliance monitors the shared data request broadcasted by a device in a network where the second household appliance is located; the shared data request carries verification information of the first household appliance;
a response unit configured to respond to the shared data request and send a shared data response to the first home appliance device, where the shared data response carries verification information of the second home appliance device;
an acquisition unit configured to acquire a first verification response; wherein the first verification response is: the first household appliance is obtained based on the verification information of the first household appliance and the verification information of the second household appliance;
and the second sending unit is configured to send the shared data to the first household appliance when the second household appliance determines that the request for the shared data is verified based on the first verification response at the first household appliance.
13. An appliance device for implementing data sharing, the device comprising: memory storing a computer program operable on a processor, the processor implementing the data sharing method as provided in any one of claims 1 to 4 or 5 to 10 when executing the computer program.
14. A computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being configured to perform the data sharing method provided by any one of claims 1 to 4 or 5 to 10.
CN201910210043.5A 2019-03-19 2019-03-19 Data sharing method and device, equipment and storage medium Active CN111726268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910210043.5A CN111726268B (en) 2019-03-19 2019-03-19 Data sharing method and device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910210043.5A CN111726268B (en) 2019-03-19 2019-03-19 Data sharing method and device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111726268A CN111726268A (en) 2020-09-29
CN111726268B true CN111726268B (en) 2022-04-12

Family

ID=72563020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910210043.5A Active CN111726268B (en) 2019-03-19 2019-03-19 Data sharing method and device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111726268B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367228B (en) * 2020-10-30 2022-03-22 美智纵横科技有限责任公司 Household appliance data acquisition method and device and storage medium
CN113407427A (en) * 2021-06-18 2021-09-17 北京小米移动软件有限公司 Verification information processing method and device, terminal equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103493467A (en) * 2012-01-25 2014-01-01 松下电器产业株式会社 Consumer electronic appliance information management device, consumer electronic appliance information sharing method and consumer electronic appliance information sharing system
CN103997441A (en) * 2013-02-17 2014-08-20 海尔集团公司 Data sharing method, device and system and household equipment
CN104469476A (en) * 2014-11-19 2015-03-25 深圳市九洲电器有限公司 Set top box network standby control method and system
CN105873061A (en) * 2016-06-17 2016-08-17 深圳市创梦天地科技有限公司 Method and device for carrying out data sharing between software in terminal equipment
CN107592367A (en) * 2017-09-30 2018-01-16 广东美的制冷设备有限公司 Resource share method, device and the computer-readable recording medium of home appliance
CN108965416A (en) * 2018-07-04 2018-12-07 平安科技(深圳)有限公司 Medical data sharing method, device, computer equipment and storage medium
CN108959463A (en) * 2018-06-19 2018-12-07 广东美的厨房电器制造有限公司 Information sharing method and household appliance and information sharing system and storage medium
CN108983627A (en) * 2018-07-27 2018-12-11 广东美的制冷设备有限公司 Household appliance and its data sharing method, device and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1511218B1 (en) * 2002-05-17 2015-11-18 Lenovo (Beijing) Limited A method to realize dynamic networking and resource sharing among equipments
JP6523143B2 (en) * 2015-11-13 2019-05-29 株式会社東芝 Data distribution device, communication system, mobile unit and data distribution method
CN108134773B (en) * 2017-11-09 2023-10-24 珠海格力电器股份有限公司 Shared device binding method and device, storage medium and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103493467A (en) * 2012-01-25 2014-01-01 松下电器产业株式会社 Consumer electronic appliance information management device, consumer electronic appliance information sharing method and consumer electronic appliance information sharing system
CN103997441A (en) * 2013-02-17 2014-08-20 海尔集团公司 Data sharing method, device and system and household equipment
CN104469476A (en) * 2014-11-19 2015-03-25 深圳市九洲电器有限公司 Set top box network standby control method and system
CN105873061A (en) * 2016-06-17 2016-08-17 深圳市创梦天地科技有限公司 Method and device for carrying out data sharing between software in terminal equipment
CN107592367A (en) * 2017-09-30 2018-01-16 广东美的制冷设备有限公司 Resource share method, device and the computer-readable recording medium of home appliance
CN108959463A (en) * 2018-06-19 2018-12-07 广东美的厨房电器制造有限公司 Information sharing method and household appliance and information sharing system and storage medium
CN108965416A (en) * 2018-07-04 2018-12-07 平安科技(深圳)有限公司 Medical data sharing method, device, computer equipment and storage medium
CN108983627A (en) * 2018-07-27 2018-12-11 广东美的制冷设备有限公司 Household appliance and its data sharing method, device and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"How to erase data from the shared storage of Access appliances (Access Appliance data erasure)";veritas;《URL:https://www.veritas.com/support/en_US/article.100042142》;20180305;全文 *
"一种共享数据完整性验证方案的分析与改进";杨同豪, 李俊全, 郁滨;《计算机工程与应用》;20151231;第16-21页 *

Also Published As

Publication number Publication date
CN111726268A (en) 2020-09-29

Similar Documents

Publication Publication Date Title
US9459604B2 (en) Methods and system for joining a smart energy device to a zigbee network
KR102478098B1 (en) Method and apparatus for controlling visitor calling in home network system
KR101908618B1 (en) Smart object identification in the digital home
US9948510B2 (en) Method and apparatus for managing access information for registration of device in smart home service
US9674879B2 (en) Provisioning of electronic devices
CN105578470B (en) Method, device and system for accessing Internet of things equipment to network
TWI787383B (en) Device connection method, device and system
CN107113173B (en) Method and apparatus for providing service based on identifier of user equipment
KR102392472B1 (en) Method and apparatus for managing of a network hub in wireless communication system
KR20190075644A (en) Electronic device contrrolling node in a network and control method thereof
US11096051B2 (en) Connection establishment method, device, and system
KR101328779B1 (en) Mobile terminal, server and information providing method using the same
CN111726268B (en) Data sharing method and device, equipment and storage medium
CN102811228A (en) Network business login method, equipment and system
US20170295167A1 (en) Registering a smart device with a registration device using a multicast protocol
JP6516009B2 (en) Device authentication system, management apparatus and device authentication method
KR20160131572A (en) Method and apparatus for certificating information related payment in a mobile communication system
CN105191208A (en) Methods for activation of an application on a user device
CN104980420A (en) Business processing method, device, terminal and server
CN113645257B (en) Identity authentication method and device, electronic equipment and storage medium
KR102527868B1 (en) Apparatus and method for communicating data in network environment based on nan protocol
CN114666097A (en) Communication method and system of Internet of things equipment
JP7381218B2 (en) Product management system and product management method
KR102612463B1 (en) Method and apparatus for managing verifiable credential and device authentication based on decentralized identifier
JP6992440B2 (en) Secure elements, terminals, verification systems, verification methods, and programs

Legal Events

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