Disclosure of Invention
The invention aims to solve the technical problem of providing an account association and information sharing method and device, which are used for establishing an association relationship between an application program software APP and a public platform so as to enable equipment information between the APP and the public platform to be synchronous and consistent.
The technical scheme adopted by the invention is that an account association and information sharing method comprises the following steps:
acquiring an account number logged in a first platform for controlling the household appliance, and acquiring an account number logged in a second platform for controlling the household appliance;
and judging whether the account number logged in the first platform is consistent with the account number logged in the second platform, if so, establishing the association relationship between the first platform and the second platform.
Optionally, the obtaining an account number of a first platform logged in for controlling the home appliance device and an account number of a second platform logged in for controlling the home appliance device include:
when the first platform is logged in, an account number for logging in the first platform is obtained, and the account number for logging in the second platform is obtained from a second platform cloud service corresponding to the second platform.
Optionally, the establishing an association relationship between the first platform and the second platform includes:
and acquiring the equipment information of the household appliance controlled by the second platform from the second platform cloud service, synchronizing the equipment information to the first platform cloud service corresponding to the first platform, and maintaining the consistency of the equipment information in the first platform cloud service and the equipment information in the second platform cloud service.
Optionally, the device information includes: identification information of the household appliance and/or operation state information of the household appliance.
Optionally, the first platform is an application software platform, and the second platform is a social software public account platform; or,
the first platform is a social software public account platform, and the second platform is an application software platform.
The invention also provides an account association and information sharing device, which comprises:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring an account number logged in a first platform for controlling the household appliance and acquiring an account number logged in a second platform for controlling the household appliance;
and the processing module is used for judging whether the account number logged in the first platform is consistent with the account number logged in the second platform or not, and if so, establishing the association relationship between the first platform and the second platform.
Optionally, the obtaining module is specifically configured to:
when the first platform is logged in, an account number for logging in the first platform is obtained, and the account number for logging in the second platform is obtained from a second platform cloud service corresponding to the second platform.
Optionally, the processing module is specifically configured to:
under the condition that the account number for logging in the first platform is consistent with the account number for logging in the second platform, acquiring the equipment information of the household appliance controlled by the second platform from the second platform cloud service, synchronizing the equipment information into the first platform cloud service corresponding to the first platform, and maintaining the consistency of the equipment information in the first platform cloud service and the equipment information in the second platform cloud service.
Optionally, the device information includes: identification information of the household appliance and/or operation state information of the household appliance.
Optionally, the first platform is an application software platform, and the second platform is a social software public account platform; or,
the first platform is a social software public account platform, and the second platform is an application software platform.
By adopting the technical scheme, the invention at least has the following advantages:
according to the account association and information sharing method and device, when the account information used when logging in the application software platform is consistent with the account information used when logging in the social software public number platform, the association relationship between the application software platform and the social software public number platform is established, so that the inquiry control and the use state of the household appliance are communicated and shared, a user can use the application software platform of a household appliance manufacturer and the public number platform of the social software to control and operate the intelligent household appliance of the Internet of things more easily and flexibly, the experience degree of the user is improved, and the popularization of the intelligent household appliance of the Internet of things is facilitated.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
A first embodiment of the present invention provides a method for account association and information sharing, as shown in fig. 1, including the following specific steps:
step S101: the method comprises the steps of obtaining an account number of a first platform for controlling the household appliance in a login mode, and obtaining an account number of a second platform for controlling the household appliance in the login mode.
Specifically, step S101 includes:
when logging in a first platform, acquiring an account number for logging in the first platform, and acquiring the account number for logging in a second platform from a second platform cloud service corresponding to the second platform.
Further, the first platform is an application software platform, and the second platform is a social software public account platform; or the first platform is a social software public account platform, and the second platform is an application software platform.
The user enters a public number platform suitable for the social software developed by a household appliance manufacturer through an account of the social software, and the user can perform operations such as: adding/deleting devices and controlling the running state of the devices.
When a user logs in an application software platform developed by a household appliance manufacturer and used for controlling household appliance equipment, the user does not need to register an account again, and the user directly logs in the application software platform by using a third-party account, wherein the third-party account comprises: accounts for social software, such as: a WeChat account, a QQ account, a microblog account, and the like. When the user successfully logs in the application software platform through the third-party account, the user can perform operations such as: adding/deleting devices and controlling the running state of the devices.
Step S102: and judging whether the account number for logging in the first platform is consistent with the account number for logging in the second platform, if so, establishing the association relationship between the first platform and the second platform.
Specifically, step S102 includes:
(1) under the condition that the first platform is a social software public number platform and the second platform is an application software platform, when a user logs in the social software public number platform through an account of the social software, the account of the logged-in application software platform is obtained from cloud services corresponding to the application software platform, when the account of the logged-in application software platform is a third-party account, whether the third-party account is the same as the account of the social software or not is judged, and if yes, an association relationship between the social software public number platform and the application software platform is established.
(2) Under the condition that the first platform is an application software platform and the second platform is a social software public number platform, when a user logs in the application software platform through a third-party account, the account when logging in the social software public number platform is obtained from a cloud service corresponding to the social software public number platform, whether the third-party account is the same as the account of the social software is judged, and if yes, the association relationship between the social software public number platform and the application software platform is established.
Further, establishing an association relationship between the first platform and the second platform includes:
and acquiring the equipment information of the household electrical appliance controlled by the second platform from the second platform cloud service, synchronizing the equipment information of the household electrical appliance controlled by the second platform into the first platform cloud service corresponding to the first platform, and maintaining the consistency of the equipment information in the first platform cloud service and the equipment information in the second platform cloud service.
The second platform cloud service is used for storing an account number for logging in the second platform and device information of the household appliance controlled by the second platform. And synchronizing the equipment information of the second platform into the cloud service of the first platform so that the first platform can control the corresponding household appliance equipment according to the equipment information. And synchronizing the device information of the first platform control household electrical appliance device to the second platform cloud service so as to maintain the consistency of the device information in the first platform cloud service and the device information in the second platform cloud service.
Further, the device information includes: identification information of the household appliance and running state information of the household appliance.
A second embodiment of the present invention provides a method for account association and information sharing, as shown in fig. 2, including the following specific steps:
step S201: and the user logs in an APP client developed by a household appliance manufacturer and used for controlling household appliance equipment through a third party account.
The third party account includes: accounts for social software, such as: a WeChat account, a QQ account and a microblog account. In this embodiment, a user logs in an APP client through a wechat account. The APP client in this embodiment is equivalent to the application software platform in the first embodiment.
Step S202: and the user controls and operates the household appliance through the APP client.
The control operation includes: the operation states of the addition/deletion apparatus and the control apparatus.
Specifically, the device information of the user controlling the household appliance device through the APP client is stored in the APP cloud service corresponding to the APP client. In addition, a third party account for logging in the APP client is also stored in the APP cloud service.
Further, the device information of the home device includes: identification information of the household appliance and running state information of the household appliance.
Step S203: and the user logs in the WeChat client through the WeChat account and enters a public number platform which is developed by a household appliance manufacturer and is suitable for the WeChat client and used for controlling the household appliance.
The public number platform suitable for the wechat client in this embodiment is equivalent to the social software public number platform in the first embodiment.
Step S204: and acquiring a third party account for logging in the APP client from the APP cloud service corresponding to the APP client.
Step S205: judging whether the third party account is the same as the WeChat account, if so, executing a step S206; and if not, storing the wechat account number into the wechat cloud service corresponding to the public number platform of the wechat client.
Step S206: and acquiring the equipment information of the household electrical appliance controlled by the APP client from the APP cloud service, and storing the equipment information into the WeChat cloud service.
Step S207: and the user controls and operates the corresponding household appliance equipment through the public number platform according to the equipment information in the WeChat cloud service, and updates the equipment information in the WeChat cloud service.
Step S208: and synchronizing the equipment information in the WeChat cloud service into the APP cloud service so as to maintain the consistency of the equipment information in the WeChat cloud service and the equipment information in the APP cloud service.
In a third embodiment of the present invention, a method for account association and information sharing, as shown in fig. 3, includes the following specific steps:
step S301: and the user logs in the WeChat client through the WeChat account and enters a public number platform which is developed by a household appliance manufacturer and is suitable for the WeChat client and used for controlling the household appliance.
The public number platform suitable for the wechat client in this embodiment is equivalent to the social software public number platform in the first embodiment.
Step S302: and the user controls and operates the household appliance through the public platform.
The control operation includes: the operation states of the addition/deletion apparatus and the control apparatus.
Specifically, the user controls the equipment information of the household electrical appliance equipment through the public number platform to be stored in the wechat cloud service corresponding to the public number platform of the wechat client. In addition, the wechat account is also stored in the wechat cloud service.
Further, the device information of the home device includes: identification information of the household appliance and running state information of the household appliance.
Step S303: and the user logs in an APP client developed by a household appliance manufacturer and used for controlling household appliance equipment through a third party account.
The third party account includes: accounts for social software, such as: a WeChat account, a QQ account and a microblog account. In this embodiment, a user logs in an APP client through a wechat account. The APP client in this embodiment is equivalent to the application software platform in the first embodiment.
Step S304: and acquiring the wechat account number from the wechat cloud service corresponding to the public number platform of the wechat client.
Step S305: judging whether the third party account is the same as the WeChat account, if so, executing a step S306; and if not, storing the third-party account into the APP cloud service corresponding to the APP client.
Step S306: and acquiring the equipment information of the household electrical appliance controlled by the public number platform from the WeChat cloud service, and storing the equipment information into the APP cloud service.
Step S307: and the user controls and operates the corresponding household appliance equipment through the APP client according to the equipment information in the APP cloud service, and updates the equipment information in the APP cloud service.
Step S308: and synchronizing the equipment information in the APP cloud service into the WeChat cloud service so as to maintain the consistency of the equipment information in the WeChat cloud service and the equipment information in the APP cloud service.
In a fourth embodiment of the present invention, an account association and information sharing apparatus, as shown in fig. 4, specifically includes the following components:
the obtaining module 401 is configured to obtain an account number logged in to a first platform for controlling the home appliance device, and obtain an account number logged in to a second platform for controlling the home appliance device.
Specifically, the obtaining module 401 is configured to:
when logging in a first platform, acquiring an account number for logging in the first platform, and acquiring the account number for logging in a second platform from a second platform cloud service corresponding to the second platform.
Further, the first platform is an application software platform, and the second platform is a social software public account platform; or,
the first platform is a social software public account platform, and the second platform is an application software platform.
The user enters a public number platform suitable for the social software developed by a household appliance manufacturer through an account of the social software, and the user can perform operations such as: adding/deleting devices and controlling the running state of the devices.
When a user logs in an application software platform developed by a household appliance manufacturer and used for controlling household appliance equipment, the user does not need to register an account again, and the user directly logs in the application software platform by using a third-party account, wherein the third-party account comprises: accounts for social software, such as: WeChat account, QQ account, and micro-thin account. When the user successfully logs in the application software platform through the third-party account, the user can perform operations such as: adding/deleting devices and controlling the running state of the devices.
The processing module 402 is configured to determine whether an account number logged in the first platform is consistent with an account number logged in the second platform, and if so, establish an association relationship between the first platform and the second platform.
Specifically, under the request that the first platform is a social software public number platform and the second platform is an application software platform, when a user logs in the social software public number platform through an account of the social software, the account of the logged-in application software platform is obtained from a cloud service corresponding to the application software platform, when the account of the logged-in application software platform is a third-party account, whether the third-party account is the same as the account of the social software is judged, and if yes, an association relationship between the social software public number platform and the application software platform is established.
Under the request that the first platform is an application software platform and the second platform is a social software public number platform, when a user logs in the application software platform through a third-party account, the account when logging in the social software public number platform is obtained from a cloud service corresponding to the social software public number platform, whether the third-party account is the same as the account of the social software is judged, and if yes, the association relationship between the social software public number platform and the application software platform is established.
Further, the processing module 402 is specifically configured to:
under the condition that the account number for logging in the first platform is consistent with the account number for logging in the second platform, acquiring the equipment information of the household electrical appliance controlled by the second platform from the second platform cloud service, synchronizing the equipment information of the household electrical appliance controlled by the second platform into the first platform cloud service corresponding to the first platform, and maintaining the consistency of the equipment information in the first platform cloud service and the equipment information in the second platform cloud service.
The second platform cloud service is used for storing an account number for logging in the second platform and device information of the household appliance controlled by the second platform. And synchronizing the equipment information of the second platform into the cloud service of the first platform so that the first platform can control the corresponding household appliance equipment according to the equipment information. And synchronizing the device information of the first platform control household electrical appliance device to the second platform cloud service so as to maintain the consistency of the device information in the first platform cloud service and the device information in the second platform cloud service.
Further, the device information includes: identification information of the household appliance and running state information of the household appliance.
According to the account association and information sharing method and device, when the account information used when logging in the application software platform is consistent with the account information used when logging in the social software public number platform, the association relationship between the application software platform and the social software public number platform is established, so that the inquiry control and the use state of the household appliance are communicated and shared, a user can use the application software platform of a household appliance manufacturer and the public number platform of the social software to control and operate the intelligent household appliance of the Internet of things more easily and flexibly, the experience degree of the user is improved, and the popularization of the intelligent household appliance of the Internet of things is facilitated.
While the invention has been described in connection with specific embodiments thereof, it is to be understood that it is intended by the appended drawings and description that the invention may be embodied in other specific forms without departing from the spirit or scope of the invention.