CN110740448A - Shared household appliance lease authorization control method and device - Google Patents

Shared household appliance lease authorization control method and device Download PDF

Info

Publication number
CN110740448A
CN110740448A CN201911010462.0A CN201911010462A CN110740448A CN 110740448 A CN110740448 A CN 110740448A CN 201911010462 A CN201911010462 A CN 201911010462A CN 110740448 A CN110740448 A CN 110740448A
Authority
CN
China
Prior art keywords
time
lease
household appliance
current
identification information
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.)
Pending
Application number
CN201911010462.0A
Other languages
Chinese (zh)
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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Refrigeration Equipment 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 Midea Group Co Ltd, Guangdong Midea Refrigeration Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201911010462.0A priority Critical patent/CN110740448A/en
Publication of CN110740448A publication Critical patent/CN110740448A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/12Detection or prevention of fraud
    • H04W12/121Wireless intrusion detection systems [WIDS]; Wireless intrusion prevention systems [WIPS]
    • H04W12/122Counter-measures against attacks; Protection against rogue devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides shared household appliance leasing authorization control methods and devices, the method includes the steps of establishing connection between household appliances and terminal equipment through a preset WIFI module, obtaining a pre-stored private key corresponding to identification information of the household appliances, encrypting current system time by using the private key to generate a payment token, sending the payment token, the identification information and leasing time to the terminal equipment, receiving an encrypted message sent by a server fed back by the terminal equipment, decrypting the encrypted message by using the private key to obtain current time and leasing time, judging whether the difference between the current time and the current second system time is within a preset time difference, and controlling the household appliances to work according to the leasing time if the difference is within the preset time difference.

Description

Shared household appliance lease authorization control method and device
Technical Field
The application relates to the technical field of household appliances, in particular to a rental authorization control method and device for shared household appliances.
Background
The sharing economy is gradually running in young consumer groups, and household appliance manufacturers gradually put forward sharing household appliances such as sharing refrigerators, sharing washing machines, sharing air conditioners and the like.
At present, a Narrow-Band Internet of Things (NB-IoT) module is usually selected to directly access domain networks to the shared home appliances to complete authorized control of the home appliances.
Disclosure of Invention
The application provides shared household appliance lease authorization control methods and devices, which are used for solving the problem that in the related art, shared household appliances are directly accessed to a domain network, and the layout positions of the household appliances are limited.
An embodiment in the aspect of of the present application provides shared household appliance lease authorization control methods, where the method is applied to a household appliance, and includes:
establishing connection between the household appliance and the terminal equipment through a preset WIFI module, and acquiring a prestored private key corresponding to identification information of the household appliance;
encrypting current th system time by using the private key to generate a payment token, and sending the payment token, the identification information and lease time to the terminal equipment, so that the terminal equipment performs lease authorization processing with a server according to the lease time, the payment token and the identification information specified by a user;
receiving an encrypted message sent by the server and fed back by the terminal equipment, wherein the encrypted message is generated by encrypting the current time and the lease time of the server by applying a public key corresponding to the identification information by the server;
and decrypting the encrypted message by using the private key to obtain the current time and the lease time, judging whether the difference between the current time and the current second system time is within a preset time difference, and if so, controlling the household appliance to work according to the lease time.
The shared household appliance leasing authorization control method provided by the embodiment of the application establishes wireless connection between the household appliance and the terminal equipment through the preset WIFI module, the household appliance does not need to be networked and communicated with the server, the flexibility of household appliance sharing layout is greatly improved, the layout cost of the shared household appliance is reduced, moreover, the current th system time of the household appliance is encrypted through the prestored private key corresponding to the identification information to generate a payment token, so that the payment token is strongly related to the private key, the household appliance decrypts an encrypted message fed back by the server by using the private key to obtain the current time, and when the difference between the current time and the second system time of the household appliance is determined to be within the preset time difference, the household appliance is controlled to work according to the leasing time, so that malicious repeated leasing attack can be prevented, and the safety is enhanced.
In another aspect of the present application, an embodiment provides methods for controlling lease authorization of shared home appliances, where the methods are applied to a terminal device, and include:
establishing connection with a WIFI module of the household appliance to acquire identification information, a payment token and lease time of the household appliance, wherein the payment token is generated by encrypting current th system time by a private key which is prestored by the household appliance and corresponds to the identification information;
sending the identification information, the payment token and the lease time to a server, and carrying out corresponding lease payment so that the server decrypts the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time, and judges whether the difference between the current time of the server and the th system time is within a preset time difference, if so, the public key is applied to encrypt the current time and the lease time to generate an encrypted message;
and receiving the encrypted message fed back by the server and sending the encrypted message to the household appliance, so that the household appliance decrypts the encrypted message by using the private key to obtain the current time and the lease time, and judges whether the difference between the current time and the current second system time is within a preset time difference, if so, the household appliance is controlled to work according to the lease time.
The shared household appliance leasing authorization control method provided by the embodiment of the application establishes wireless connection with the WIFI module of the household appliance and leases the household appliance with the server for authorization processing, so that the household appliance does not need to be networked and communicates with the server, the flexibility of the shared household appliance layout is greatly improved, the layout cost of the shared household appliance is reduced, in addition, the payment token is generated by encrypting the current th system time by using the private key corresponding to the identification information prestored by the household appliance, so that the payment token is strongly related to the private key, malicious repeated leasing attack can be prevented, and the safety is enhanced.
In another aspect of the present application, an embodiment provides methods for controlling rental authorization of shared appliances, where the method is applied to a server and includes:
receiving identification information, a payment token and lease time of the household appliance sent by a terminal device, wherein the payment token is generated by encrypting current th system time by a private key which is prestored by the household appliance and corresponds to the identification information;
sending the lease amount to the terminal equipment so as to enable the terminal equipment to carry out corresponding lease payment;
decrypting the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time, judging whether the difference between the current time of the server and the th system time is within a preset time difference, and if so, encrypting the current time and the lease time by using the public key to generate an encrypted message;
and sending the encrypted message to a terminal device, sending the encrypted message to the household appliance device by the terminal device, so that the household appliance device decrypts the encrypted message by using a private key which is prestored and corresponds to the identification information of the household appliance device, acquires the current time and the lease time, judges whether the difference between the current time and the current second system time is in a preset time difference, and controls the household appliance device to work according to the lease time if the difference is in the preset time difference.
The shared household appliance lease authorization control method receives identification information, a payment token, lease time and the like of household appliances from the terminal equipment, sends the encrypted message to the terminal equipment, and sends the encrypted message to the household appliances by the terminal equipment, so that the household appliances do not need to be connected to a network to communicate with a server, the flexibility of layout of the shared household appliances is greatly improved, and the layout cost of the shared household appliances is reduced.
Another aspect of the present application provides a kinds of shared appliance lease authorization control devices, which are disposed in an appliance, and include:
the acquisition module is used for establishing connection between the household appliance and the terminal equipment through a preset WIFI module and acquiring a prestored private key corresponding to the identification information of the household appliance;
a generating module, configured to encrypt a current th system time using the private key to generate a payment token;
the sending module is used for sending the payment token, the identification information and the leasing time to the terminal equipment so that the terminal equipment can carry out leasing authorization processing with a server according to the leasing time specified by a user, the payment token and the identification information;
a receiving module, configured to receive an encrypted packet sent by the server and fed back by the terminal device, where the encrypted packet is generated by encrypting, by the server, the current time and the lease time of the server using a public key corresponding to the identification information;
the decryption module is used for decrypting the encrypted message by using the private key to obtain the current time and the lease time;
the judging module is used for judging whether the difference between the current time and the current second system time is within a preset time difference;
and the control module is used for controlling the household appliance to work according to the lease time when the difference between the current time and the current second system time is within a preset time difference.
The shared household appliance leasing authorization control device provided by the embodiment of the application establishes wireless connection between the household appliance and the terminal device through the preset WIFI module, the household appliance does not need to be networked and communicated with the server, the flexibility of household appliance sharing layout is greatly improved, the layout cost of the shared household appliance is reduced, moreover, the current th system time of the household appliance is encrypted through the prestored private key corresponding to the identification information to generate a payment token, so that the payment token is strongly related to the private key, the household appliance decrypts the encrypted message fed back by the server by using the private key to obtain the current time, and when the difference between the current time and the second system time of the household appliance is determined to be within the preset time difference, the household appliance is controlled to work according to the leasing time, so that malicious repeated leasing attack can be prevented, and the safety is enhanced.
In another aspect of the present application, an embodiment of the present application provides a shared appliance lease authorization control apparatus, which is disposed in a terminal device, and includes:
the system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for establishing connection with a WIFI module of the household appliance and acquiring identification information, a payment token and lease time of the household appliance, wherein the payment token is generated by encrypting current th system time by a private key which is prestored by the household appliance and corresponds to the identification information;
a sending module for sending the identification information, the payment token and the lease time to a server,
the payment module is used for carrying out corresponding lease payment so that the server decrypts the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time, and judges whether the difference between the current time of the server and the th system time is within a preset time difference, if so, the public key is applied to encrypt the current time and the lease time to generate an encrypted message;
the receiving module is used for receiving the encrypted message fed back by the server;
the sending module is further configured to send the encrypted message to the household electrical appliance, so that the household electrical appliance decrypts the encrypted message by using the private key to obtain the current time and the lease time, and judges whether a difference between the current time and the current second system time is within a preset time difference, and if so, the household electrical appliance is controlled to work according to the lease time.
The shared household appliance leasing authorization control device establishes wireless connection with the WIFI module of the household appliance and performs leasing authorization processing with the server, so that the household appliance does not need to be networked and communicates with the server, the flexibility of shared household appliance layout is greatly improved, and the layout cost of the shared household appliance is reduced.
Another aspect of the present application provides a sharing appliance lease authorization control device, which is disposed on a server, and includes:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving identification information of the household appliance, a payment token and lease time sent by a terminal device, wherein the payment token is generated by encrypting current th system time by a private key which is prestored by the household appliance and corresponds to the identification information;
the sending module is used for sending the lease amount to the terminal equipment so as to enable the terminal equipment to carry out corresponding lease payment;
the acquisition module is used for decrypting the payment token according to a pre-stored public key corresponding to the identification information to acquire th system time;
the judging module is used for judging whether the difference between the current time of the server and the th system time is within a preset time difference;
the encryption module is used for encrypting the current time and the lease time by applying the public key to generate an encrypted message when the difference between the current time of the server and the th system time is within a preset time difference;
the sending module is further used for sending the encrypted message to a terminal device, the terminal device sends the encrypted message to the household appliance, so that the household appliance uses a private key which is prestored and corresponds to the identification information of the household appliance to decrypt the encrypted message, the current time and the lease time are obtained, whether the difference between the current time and the current second system time is within a preset time difference or not is judged, and if yes, the household appliance is controlled to work according to the lease time.
The shared household appliance lease authorization control device receives identification information, a payment token, lease time and the like of household appliances from the terminal equipment, sends an encrypted message to the terminal equipment, and sends the encrypted message to the household appliances by the terminal equipment, so that the household appliances do not need to be connected to a network to communicate with a server, the flexibility of layout of the shared household appliances is greatly improved, and the layout cost of the shared household appliances is reduced.
Another aspect of the present application, an embodiment of the present application provides a home device, including a processor and a memory;
the processor reads the executable program code stored in the memory to run the program corresponding to the executable program code, so as to implement the shared appliance lease authorization control method for the application appliance device according to the embodiment of the aspect .
Another aspect of the present application, an embodiment provides terminal devices, including a processor and a memory;
wherein, the processor executes the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the shared appliance lease authorization control method applied to the terminal device as described in another embodiment of aspect .
Another aspect of the present application provides a server, comprising a processor and a memory;
wherein, the processor executes the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the shared appliance lease authorization control method applied to the server as described in another embodiment of aspect .
Another -aspect embodiment of the present application provides non-transitory computer-readable storage media, on which a computer program is stored, which when executed by a processor implements the shared appliance lease authorization control method applied to an appliance device as described in the -aspect embodiment above, or implements the shared appliance lease authorization control method applied to a terminal device as described in the -aspect embodiment above, or implements the shared appliance lease authorization control method applied to a server as described in the -aspect embodiment above.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of an shared appliance lease authorization control method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another methods for controlling rental authorization of shared appliances according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another methods for controlling rental authorization of shared appliances according to an embodiment of the present application;
fig. 4 is a schematic interaction diagram among home devices, terminal devices, and servers according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of types of shared appliance lease authorization control devices according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another types of shared appliance lease authorization control devices according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another shared appliance lease authorization control apparatuses according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The following describes a shared household appliance lease authorization control method and device according to an embodiment of the present application with reference to the accompanying drawings.
The embodiment of the application provides shared household appliance lease authorization control methods, aiming at the problem that the layout position of household appliances is limited in a method for directly accessing household appliances to domain network shared household appliances in the related technology.
The shared household appliance leasing authorization control method is applied to household appliances, wireless connection between the household appliances and terminal equipment is established through a preset WIFI module, the household appliances do not need to be networked to communicate with a server, the flexibility of shared household appliance layout is greatly improved, the layout cost of the shared household appliances is reduced, moreover, the current th system time of the household appliances is encrypted through a prestored private key corresponding to identification information to generate a payment token, the payment token is strongly related to the private key, the household appliances decrypt an encrypted message fed back by the server by using the private key to obtain the current time, and when the difference between the current time of the server and the current second system time of the household appliances is determined to be within a preset time difference, the household appliances are controlled to work according to the leasing time, so that malicious repeated leasing attack can be prevented, and the safety is enhanced.
Fig. 1 is a schematic flowchart of an shared appliance lease authorization control method according to an embodiment of the present application.
The shared household appliance lease authorization control method is applied to household appliances, can be executed by the shared household appliance lease authorization control device provided by the embodiment of the application, and can be configured in the household appliances so as to realize that the household appliances do not need networking to communicate with a server, greatly reduce the layout cost of the shared household appliances, prevent malicious repeated lease attack and enhance the safety.
In the embodiment of the application, the household appliances can be air conditioners, washing machines, refrigerators and the like.
As shown in fig. 1, the shared appliance lease authorization control method includes:
step 101, establishing connection between the household appliance and the terminal device through a preset WIFI module, and acquiring a prestored private key corresponding to identification information of the household appliance.
In this embodiment, a WIFI module is provided in the household electrical appliance, hotspots are opened after the household electrical appliance is powered on by default, and the terminal device can detect surrounding network signals in real time, for example, when detecting a hotspot of the household electrical appliance, establish connection with the WIFI module of the household electrical appliance.
The household appliance can be connected with the plurality of terminal devices through the WIFI module, that is, the plurality of terminal devices can lease the same household appliance.
In the embodiment, the household appliance is connected with the terminal device through the preset WIFI module, so that the shared household appliance does not need to be networked and communicated with the server, the flexibility of the layout of the shared household appliance is greatly improved, and the layout cost of the shared household appliance is reduced.
In this embodiment, the home device pre-stores a private key corresponding to identification information of the home device, where the identification information of the home device is used to indicate degrees of uniqueness of the home device, such as a MAC address or a device serial number of the home device.
As examples, during the production process, the WIFI module of the home device may record private keys and public keys corresponding to the MAC address only, where the private keys are stored in the home device and the public keys are stored in the server.
When the user applies for leasing the household appliance through the terminal equipment, the household appliance can obtain the pre-stored private key corresponding to the identification information of the household appliance from the local.
And 102, encrypting the current th system time by using a private key to generate a payment token, and sending the payment token, the identification information and the lease time to the terminal equipment.
During specific implementation, Real-Time clocks (RTCs) can be set in a WIFI module of the home appliance, the current th system Time of the home appliance is obtained through the RTCs, and the current th system Time is encrypted by using the private key to generate the payment token.
After the payment token is generated, the household appliance equipment can send the payment token, the identification information of the household appliance equipment and the lease time to the terminal equipment through wireless connection between the household appliance equipment and the terminal equipment, so that the terminal equipment can conduct lease authorization processing with the server according to the payment token, the identification information of the household appliance equipment and the lease time. The rental time may include a rental start time and a rental end time.
In the embodiment, the current th system time of the household appliance is encrypted by the private key corresponding to the identification information of the household appliance, so that the system time of the household appliance is strongly related to the private key, thereby preventing the household appliance from being rented maliciously and repeatedly and enhancing the safety.
And 103, receiving the encrypted message sent by the server and fed back by the terminal equipment.
In this embodiment, the home appliance may receive, from the terminal device, the encrypted packet sent by the server and fed back through the wireless connection with the terminal device. The encrypted message is generated by encrypting the current time and the lease time of the server by the server according to the public key corresponding to the identification information of the household appliance.
In this embodiment, since the encrypted message is generated by encrypting the current time and the lease time of the server by using the public key, the security of the information can be improved.
And 104, decrypting the encrypted message by using the private key to obtain the current time and the lease time, judging whether the difference between the current time and the current second system time is within a preset time difference, and if so, controlling the household appliance to work according to the lease time.
Since the private key and the public key correspond to the identification information of the household appliance and the encrypted message is encrypted by the public key in the application, the household appliance can decrypt the encrypted message by the private key after receiving the encrypted message of the server from the terminal device, and the current time and the lease time of the server can be obtained.
And after the current time and the lease time of the server are obtained, judging whether the difference between the current time and the current second system time is within a preset time difference. And the second system time is the current real-time of the household appliance.
If the difference value between the current time of the server and the current second system time of the household appliance is within the preset time difference range, the current lease application can be considered to be normal, the operation of the household appliance can be controlled according to the lease time, and particularly, the household appliance is controlled to operate within the time period from the lease starting time to the lease ending time so as to allow the user to use the household appliance within the lease time.
In this embodiment, the encryption authentication is performed through the private key and the public key corresponding to the identification information of the home appliance, so that the security of the information is ensured. And whether the difference between the current time of the server and the current second system time is within the preset time difference or not is judged, so that the home appliance can be prevented from being rented by maliciously utilizing the earlier encrypted message, and the safety is enhanced.
The shared household appliance leasing authorization control method is applied to household appliances, wireless connection between the household appliances and terminal equipment is established through a preset WIFI module, the household appliances do not need to be networked to communicate with a server, flexibility of layout of the shared household appliances is greatly improved, and layout cost of the shared household appliances is reduced.
In practical application, generally, the household electrical appliance is controlled by an application program corresponding to the household electrical appliance, in order to further reduce user operations and improve rental convenience, in embodiments of the present application, when the payment token, the identification information, and the rental time are sent to the terminal device, the payment token, the identification information, and the rental time are sent to the terminal device through webpage information preset by the WIFI module.
During specific implementation, the http module can be built in the WIFI module of the household appliance, and webpage information is preset through the http module. After wireless connection is established between the household appliance and the terminal equipment, the terminal equipment can access webpage information preset by the WIFI module, a user can set lease time in the webpage information, and then the household appliance can send a payment token, identification information and the lease time to the terminal equipment through the webpage information preset by the WIFI module.
In the embodiment of the application, the payment token and the identification information are sent to the terminal equipment through the webpage information preset by the WIFI module, interaction is carried out between the household appliance and the terminal equipment through the preset webpage information, the terminal equipment does not need to additionally download and install the application program, user operation is reduced, and leasing is more convenient.
Based on this, in embodiments of the present application, when it is determined that the difference between the current time of the server and the current second system time is within the preset time difference, the current second system time of the home device may be calibrated, for example, by using the current time of the server.
In the embodiment of the application, if the difference between the current time and the current second system time is within the preset time difference, the current second system time can be calibrated to prevent the system time error of the household appliance equipment from being continuously increased and influence the encryption authentication during subsequent lease, so that the accuracy of the lease authorization of the shared household appliance is improved.
In the embodiments of the present application, if the difference between the current time of the server and the current second system time of the household appliance is not within the preset time difference range, it may be considered that the current lease application is abnormal, and then information of lease failure may be sent to the terminal device.
In the embodiment of the application, when the difference between the current time and the current second system time is not within the preset time difference, the leasing experience of the user can be improved by sending the information of the leasing failure to the terminal equipment.
In order to implement the foregoing embodiments, the embodiment of the present application further provides shared appliance lease authorization control methods applied to the terminal device.
Fig. 2 is a schematic flowchart of another methods for controlling rental authorization of shared appliances according to the embodiment of the present application.
The shared household appliance lease authorization control method in the embodiment of the application, which is applied to the terminal equipment, can be executed by the shared household appliance lease authorization control device arranged on the terminal equipment in the embodiment of the application. The terminal device may be a mobile phone, a tablet computer, or other device with an operating system.
As shown in fig. 2, the shared appliance lease authorization control method includes:
step 201, establishing connection with a WIFI module of a home appliance, and acquiring identification information, a payment token, and lease time of the home appliance.
In this embodiment, a WIFI module is provided in the household electrical appliance, hotspots are opened after the household electrical appliance is powered on by default, and the terminal device can detect surrounding network signals in real time, for example, when detecting a hotspot of the household electrical appliance, establish connection with the WIFI module of the household electrical appliance.
When a user applies for leasing the household appliance through the terminal equipment, the terminal equipment can acquire identification information, a payment token, leasing time and the like of the household appliance from the household appliance through connection with the household appliance.
The payment token is generated by encrypting th system time by using a pre-stored private key corresponding to identification information after the terminal device obtains a lease application, the lease time can be selected by a user according to a provided option or input by the user, and the lease time comprises lease starting time and lease ending time, wherein the th system time can be the system time of the household appliance when the payment token starts to be generated.
In the embodiment, the terminal equipment is connected with the WIFI module of the household appliance equipment, information interaction is carried out on the terminal equipment and the household appliance equipment, the household appliance equipment does not need to be connected into a network to be communicated with the server, the local flexibility of shared household appliances is greatly improved, and the layout cost is reduced.
Step 202, sending the identification information, the payment token and the lease time to a server, and performing corresponding lease payment.
In this embodiment, the terminal device sends the identification information of the home device, the payment token, the lease time, the identification information of the terminal device, and the like to the server, where the identification information of the terminal device is used to indicate the unique property of the terminal device, and may be a serial number of the device.
After receiving the identification information of the household appliance, the payment token, the lease time, the identification information of the terminal equipment and the like, the server can determine the lease amount according to the lease time and send the lease amount to the corresponding terminal equipment according to the identification information of the terminal equipment so as to enable the terminal equipment to carry out corresponding lease payment.
After the lease payment is determined to be completed, the server decrypts the payment token according to a pre-stored public key corresponding to the identification information to obtain system time, and judges whether the difference between the current time of the server and the system time is within a preset time difference or not.
And step 203, receiving the encrypted message fed back by the server and sending the encrypted message to the household appliance.
After the server generates the encrypted message, the encrypted message can be sent to the corresponding terminal device according to the identification information of the terminal device. And the terminal equipment receives the encrypted message fed back by the server and sends the encrypted message to the household appliance equipment through the connection between the terminal equipment and the household appliance equipment.
After the household appliance equipment receives the encrypted message, the private key is used for decrypting the encrypted message to obtain the current time and the lease time of the server, and whether the difference between the current time and the current second system time of the household appliance equipment is within the preset time difference or not is judged.
If the difference between the current time of the server and the current second system time of the household appliance is within the preset time difference, which indicates that the current lease application is normal, the household appliance controls the household appliance to work according to the lease time, and specifically, the household appliance can be controlled to work within the time period from the lease starting time to the lease ending time, so as to allow the user to use the household appliance within the lease time.
In the shared household appliance leasing authorization control method, the wireless connection is established with the WIFI module of the household appliance, and the leasing authorization processing is performed with the server, so that the household appliance does not need to be networked and communicates with the server, the flexibility of shared household appliance layout is greatly improved, the layout cost is reduced, moreover, the payment token is generated by encrypting the current th system time by using the private key corresponding to the identification information prestored in the household appliance, and is strongly related to the private key, so that malicious repeated leasing attack can be prevented, and the safety is enhanced.
In practical applications, generally, the home appliance is controlled by an application program corresponding to the home appliance, and in order to further reduce user operations and improve rental convenience, in embodiments of the present application, when the identification information, the payment token, and the rental time of the home appliance are obtained, the web page information preset by the WIFI module of the home appliance may be accessed by the browser, and the payment token, the identification information, the rental time, and the like are obtained.
During specific implementation, the http module can be built in the WIFI module of the household appliance, and webpage information is preset through the http module. After wireless connection is established between the household appliance and the terminal device, the terminal device can access webpage information preset by the WIFI module through the browser, a user can set lease time in the webpage information, and then the terminal device can obtain identification information, a payment token, lease time and the like of the household appliance from the household appliance through the webpage information preset by the WIFI module.
In the embodiment of the application, the payment token, the identification information, the lease time and the like are acquired through webpage information preset by a WIFI module of the browser for accessing the household appliance, interaction is performed between the household appliance and the terminal equipment through the preset webpage information, the terminal equipment does not need to additionally download and install the application program, user operation is reduced, and lease is more convenient.
In order to implement the embodiment of the implementation, the embodiment of the present application further provides shared appliance lease authorization control methods applied to the server, and fig. 3 is a flowchart illustrating another shared appliance lease authorization control methods provided in the embodiment of the present application.
The shared household appliance lease authorization control method provided by the embodiment of the application is applied to a server and can be executed by the shared household appliance lease authorization control device applied to the server provided by the embodiment of the application.
As shown in fig. 3, the shared appliance lease authorization control method includes:
step 301, receiving identification information of the home appliance device, a payment token and lease time sent by the terminal device.
In this embodiment, after receiving the identification information, the payment token, the lease time, and the like of the home appliance from the home appliance, the terminal device sends the identification information, the payment token, the lease time, the identification information of the terminal device, and the like of the home appliance to the server, so that the server receives the identification information, the payment token, the lease time, the identification information of the terminal device, and the like of the home appliance sent by the terminal device.
The payment token is generated by encrypting the current th system time of the household appliance by the household appliance according to a pre-stored private key corresponding to identification information, the identification information of the household appliance is used for representing the unique property of the household appliance, such as the MAC address or the equipment serial number of the household appliance, the identification information of the terminal equipment can be the serial number of the terminal equipment, and the leasing time can comprise the leasing starting time and the leasing ending time of the leasing household appliance.
The terminal device in this embodiment may be a device having an operating system, such as a mobile phone and a tablet computer, and the household appliance may be an air conditioner, a washing machine, a refrigerator, and the like.
Step 302, sending the lease amount to the terminal device, so that the terminal device can make corresponding lease payment.
In this embodiment, after receiving the identification information of the home appliance, the payment token, the lease time, the identification information of the terminal device, and the like, the server may determine the lease amount according to the lease time, and send the lease amount to the corresponding terminal device according to the identification information of the terminal device, so that the terminal device performs corresponding lease payment.
And 303, decrypting the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time, judging whether the difference between the current time of the server and the th system time is within a preset time difference, and if so, encrypting the current time and the lease time by using the public key to generate an encrypted message.
In this embodiment, the server may store a public key corresponding to the identification information of the home appliance in advance.
Since the identification information of the home appliance corresponds to pairs of private key and public key, after the terminal device completes lease payment, the server can decrypt the payment token according to the pre-stored public key corresponding to the identification information to obtain the current system time of the home appliance.
If the difference between the current time of the server and the current system time of the is within the preset time difference, which indicates that the current lease application is normal, the public key is applied to encrypt the current time and the lease time to generate an encrypted message.
And step 304, sending the encrypted message to the terminal equipment, and sending the encrypted message to the household appliance equipment by the terminal equipment.
In this embodiment, the server sends the encrypted message to the terminal device, and the terminal device sends the encrypted message to the home appliance device through the wireless connection with the home appliance device.
After the household appliance equipment receives the encrypted message, the private key is used for decrypting the encrypted message to obtain the current time and the lease time of the server, the difference value between the current time of the server and the current second system time is calculated, and whether the difference value is within the preset time difference or not is judged. And if the current lease application is normal within the preset time difference, controlling the household appliance according to the lease time, specifically, controlling the household appliance to work within the time period from the lease starting time to the lease ending time so as to allow the user to use the household appliance within the lease time.
It should be noted that, it is determined whether the difference between the current time of the server and the th system time is within the preset time difference, and whether the difference between the current time of the server and the second system time is within the preset time difference, where the preset time differences used in the two times may be the same or different, and may be specifically set according to actual needs.
The server can also record the consumption condition of each account applying for leasing the household appliance equipment, so that when the consumption of a certain account is abnormal, the account can be tracked through the database.
The shared household appliance lease authorization control method receives identification information, a payment token, lease time and the like of household appliances from the terminal equipment, sends the encrypted message to the terminal equipment, and sends the encrypted message to the household appliances by the terminal equipment, so that the household appliances do not need to be connected to a network to communicate with a server, the flexibility of household appliance layout is greatly improved, and the layout cost of shared household appliances is reduced.
In practical applications, there may be cases of malicious repeated renting, or information delay due to network reasons, and in order to ensure the safety of renting, in embodiments of the present application, if the difference between the current time of the server and the system time is not within the preset time difference, information of rental failure is fed back to the terminal device.
In the embodiment of the application, when the difference between the current time of the server and the th system time is not within the preset time difference, the renting safety and the user experience can be improved by feeding back the information of the renting failure to the terminal equipment.
To further explain the shared household appliance lease authorization control method in this embodiment, an interaction process among the household appliances, the terminal devices, and the servers is described below with reference to fig. 4, fig. 4 is a schematic diagram of interactions among types of household appliances, terminal devices, and servers provided in this embodiment.
As shown in fig. 4, a WIFI module is preset in the household appliance, a hotspot is turned on by default after the household appliance is powered on, and a connection between the household appliance and the terminal device is established through the WIFI module of the household appliance.
When the terminal equipment applies for lease control, the household appliance equipment acquires a prestored private key corresponding to the identification information of the household appliance equipment, encrypts the current th system time by using the private key to generate a payment token, and sends the payment token, the identification information of the household appliance equipment and lease time to the terminal equipment.
The terminal equipment accesses webpage information preset by the WIFI module through the browser to acquire the payment token, the identification information of the household appliance equipment and the lease time, sends the payment token, the identification information of the household appliance equipment, the lease time and the like to the server, and meanwhile can also send the identification information of the terminal equipment to the server.
The server receives the payment token, the identification information of the household appliance, the lease time and the identification information of the terminal equipment, decrypts the payment token according to a pre-stored public key corresponding to the identification information of the household appliance to obtain th system time, and encrypts the current time and the lease time by using the public key to generate an encrypted message when the difference between the current time of the server and the th system time is determined to be within a preset time difference.
And the terminal equipment receives the encrypted message sent by the server and sends the encrypted message to the household appliance equipment through wireless connection with the household appliance equipment.
And after the household appliance equipment receives the encrypted message sent by the terminal equipment, decrypting the encrypted message by using the private key to obtain the current time and the lease time, and controlling the household appliance equipment to work according to the lease time when the difference between the current time and the current second system time is determined to be within a preset time difference.
Further , when the difference between the current time and the current second system time is determined to be within the preset time difference, the current second system time may also be calibrated to avoid the system time error from increasing and affecting the cryptographic authentication at the subsequent lease.
In order to implement the foregoing embodiments, an kinds of shared household appliance lease authorization control devices are further provided in the embodiments of the present application, and fig. 5 is a schematic structural diagram of kinds of shared household appliance lease authorization control devices provided in the embodiments of the present application.
The shared household appliance lease authorization control device in the embodiment of the application can be arranged in household appliances such as air conditioners, washing machines, refrigerators and the like.
As shown in fig. 5, the shared appliance lease authorization control apparatus includes: the device comprises an acquisition module 510, a generation module 520, a sending module 530, a receiving module 540, a decryption module 550, a judgment module 560 and a control module 570.
The obtaining module 510 is configured to establish connection between the home appliance and the terminal device through a preset WIFI module, and obtain a pre-stored private key corresponding to identification information of the home appliance;
a generating module 520, configured to encrypt a current th system time with a private key to generate a payment token;
a sending module 530, configured to send the payment token, the identification information, and the lease time to the terminal device, so that the terminal device performs lease authorization processing with the server according to the lease time, the payment token, and the identification information specified by the user;
a receiving module 540, configured to receive an encrypted message sent by the server and fed back by the terminal device, where the encrypted message is generated by encrypting the current time and lease time of the server by using a public key corresponding to the identification information;
the decryption module 550 is configured to decrypt the encrypted packet by using a private key to obtain the current time and the lease time;
a judging module 560, configured to judge whether a difference between the current time and the current second system time is within a preset time difference;
and the control module 570 is used for controlling the household appliance to work according to the lease time when the difference between the current time and the current second system time is within the preset time difference.
In possible implementation manners of the embodiment of the present application, the sending module 530 is specifically configured to:
and sending the payment token, the identification information and the lease time to the terminal equipment through webpage information preset by the WIFI module.
In possible implementation manners of the embodiment of the present application, the apparatus may further include:
and the calibration module is used for calibrating the current second system time.
In possible implementation manners of this embodiment, the sending module 530 is further configured to:
and when the difference between the current time and the current second system time is not within the preset time difference, sending lease failure information to the terminal equipment.
It should be noted that the explanation of the embodiment of the shared household appliance lease authorization control method applied to the household appliance device is also applicable to the shared household appliance lease authorization control device of the embodiment, and therefore, the explanation is not repeated herein.
The shared household appliance leasing authorization control device establishes wireless connection between the household appliance and the terminal device through the preset WIFI module, the household appliance does not need to be networked and communicates with the server, flexibility of household appliance sharing layout is greatly improved, layout cost of the shared household appliance is reduced, moreover, the current th system time of the household appliance is encrypted through the prestored private key corresponding to the identification information to generate a payment token, the payment token is strongly related to the private key, the household appliance decrypts an encrypted message fed back by the server through the private key to obtain the current time, and when the difference between the current time and the second system time of the household appliance is determined to be within the preset time difference, the household appliance is controlled to work according to the leasing time, so that malicious repeated leasing attack can be prevented, and safety is enhanced.
In order to implement the foregoing embodiments, the present application further provides shared appliance lease authorization control devices applied to a terminal device, and fig. 6 is a schematic structural diagram of another shared appliance lease authorization control devices provided in the present application.
The shared household appliance lease authorization control device in the embodiment of the application is applied to terminal equipment, such as mobile phones, tablet computers and other equipment with operating systems.
As shown in fig. 6, the shared appliance lease authorization control apparatus includes: the system comprises an acquisition module 610, a sending module 620, a payment module 630 and a receiving module 640.
The acquisition module 610 is used for establishing connection with a WIFI module of the household appliance to acquire identification information, a payment token and lease time of the household appliance, wherein the payment token is generated by encrypting th system time currently by a private key which is prestored by the household appliance and corresponds to the identification information;
a sending module 620 for sending the identification information, the payment token and the lease time to the server,
the payment module 630 is configured to perform corresponding lease payment, so that the server decrypts the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time, and determines whether a difference between the current time of the server and the th system time is within a preset time difference, and if so, encrypts the current time and the lease time by using the public key to generate an encrypted message;
a receiving module 640, configured to receive an encrypted message fed back by a server;
the sending module 620 is further configured to send the encrypted message to the home appliance device, so that the home appliance device decrypts the encrypted message by using the private key to obtain current time and lease time, and determines whether a difference between the current time and the current second system time is within a preset time difference, and if so, controls the home appliance device to operate according to the lease time.
In possible implementation manners of the embodiment of the present application, the obtaining module 610 is specifically configured to:
and accessing webpage information preset by the WIFI module through the browser, and acquiring identification information, a payment token and lease time of the household appliance.
It should be noted that the above explanation of the embodiment of the shared household appliance lease authorization control method applied to the terminal device is also applicable to the shared household appliance lease authorization control apparatus in this embodiment, and therefore, no further description is given here.
The shared household appliance leasing authorization control device establishes wireless connection with the WIFI module of the household appliance and leases authorization processing with the server, so that the household appliance does not need to be networked and communicates with the server, the flexibility of household appliance sharing layout is greatly improved, and the layout cost of the shared household appliance is reduced.
In order to implement the foregoing embodiments, the present application further provides shared appliance lease authorization control devices applied to a server, and fig. 7 is a schematic structural diagram of another shared appliance lease authorization control devices provided in the present application.
As shown in fig. 7, the shared appliance lease authorization control apparatus includes: a receiving module 710, a sending module 720, an obtaining module 730, a judging module 740, and an encrypting module 750.
The receiving module 710 is configured to receive identification information of the home appliance device, a payment token and lease time sent by the terminal device, where the payment token is generated by encrypting current th system time by using a private key corresponding to the identification information and pre-stored in the home appliance device;
a sending module 720, configured to send the lease amount to the terminal device, so that the terminal device performs corresponding lease payment;
the obtaining module 730 is configured to decrypt the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time;
a judging module 740, configured to judge whether a difference between the current time of the server and the th system time is within a preset time difference;
the encryption module 750 is used for encrypting the current time and the lease time by using a public key to generate an encrypted message when the difference between the current time of the server and the th system time is within a preset time difference;
the sending module 720 is further configured to send the encrypted message to the terminal device, and the terminal device sends the encrypted message to the home appliance device, so that the home appliance device decrypts the encrypted message by using a pre-stored private key corresponding to the identification information of the home appliance device, obtains the current time and the lease time, and determines whether a difference between the current time and the current second system time is within a preset time difference, and if so, controls the home appliance device to operate according to the lease time.
In possible implementation manners of the embodiment of the present application, the sending module 720 is further configured to:
and when the difference between the current time of the server and the th system time is not within the preset time difference, feeding back information of leasing failure to the terminal equipment.
It should be noted that the explanation of the above embodiment of the shared appliance lease authorization control method applied to the server is also applicable to the shared appliance lease authorization control apparatus of this embodiment, and therefore, the details are not repeated herein.
The shared household appliance lease authorization control device receives identification information, a payment token, lease time and the like of household appliances from the terminal equipment, sends an encrypted message to the terminal equipment, and sends the encrypted message to the household appliances by the terminal equipment, so that the household appliances do not need to be connected to a network to communicate with a server, the flexibility of layout of the shared household appliances is greatly improved, and the layout cost of the shared household appliances is reduced.
In order to implement the foregoing embodiments, the present application further provides home devices, including a processor and a memory;
the processor reads the executable program code stored in the memory to run the program corresponding to the executable program code, so as to implement the shared household appliance lease authorization control method for the application household appliance device according to the embodiment.
In order to implement the foregoing embodiments, the present application further provides terminal devices, including a processor and a memory;
the processor reads the executable program code stored in the memory to run the program corresponding to the executable program code, so as to implement the shared household appliance lease authorization control method applied to the terminal device according to the embodiment.
In order to implement the foregoing embodiments, the present application further provides kinds of servers, including a processor and a memory;
the processor reads the executable program code stored in the memory to run a program corresponding to the executable program code, so as to implement the shared appliance lease authorization control method applied to the server according to the embodiment.
In order to implement the foregoing embodiments, the present application further provides non-transitory computer-readable storage media, on which a computer program is stored, where the computer program, when executed by a processor, implements the shared appliance lease authorization control method applied to an appliance device as described in the foregoing embodiments, or implements the shared appliance lease authorization control method applied to a terminal device as described in the foregoing embodiments, or implements the shared appliance lease authorization control method applied to a server as described in the foregoing embodiments.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (15)

1, shared household appliance lease authorization control method, wherein the method is applied to household appliance, including:
establishing connection between the household appliance and the terminal equipment through a preset WIFI module, and acquiring a prestored private key corresponding to identification information of the household appliance;
encrypting current th system time by using the private key to generate a payment token, and sending the payment token, the identification information and lease time to the terminal equipment, so that the terminal equipment performs lease authorization processing with a server according to the lease time, the payment token and the identification information specified by a user;
receiving an encrypted message sent by the server and fed back by the terminal equipment, wherein the encrypted message is generated by encrypting the current time and the lease time of the server by applying a public key corresponding to the identification information by the server;
and decrypting the encrypted message by using the private key to obtain the current time and the lease time, judging whether the difference between the current time and the current second system time is within a preset time difference, and if so, controlling the household appliance to work according to the lease time.
2. The method of claim 1, wherein said sending the payment token and the identification information, and a lease time to the terminal device comprises:
and sending the payment token, the identification information and the lease time to the terminal equipment through webpage information preset by the WIFI module.
3. The method of claim 1, wherein if the difference between the current time and the current second system time is within a predetermined time difference, further comprising:
and calibrating the current second system time.
4. The method of claim 1, further comprising:
and if the difference between the current time and the current second system time is not within the preset time difference, sending lease failure information to the terminal equipment.
5, shared household appliance lease authorization control method, characterized in that, the method is applied to terminal equipment, including:
establishing connection with a WIFI module of the household appliance to acquire identification information, a payment token and lease time of the household appliance, wherein the payment token is generated by encrypting current th system time by a private key which is prestored by the household appliance and corresponds to the identification information;
sending the identification information, the payment token and the lease time to a server, and carrying out corresponding lease payment so that the server decrypts the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time, and judges whether the difference between the current time of the server and the th system time is within a preset time difference, if so, the public key is applied to encrypt the current time and the lease time to generate an encrypted message;
and receiving the encrypted message fed back by the server and sending the encrypted message to the household appliance, so that the household appliance decrypts the encrypted message by using the private key to obtain the current time and the lease time, and judges whether the difference between the current time and the current second system time is within a preset time difference, if so, the household appliance is controlled to work according to the lease time.
6. The method of claim 5, wherein the obtaining identification information associated with the home device, the payment token, and the rental time comprises:
and accessing webpage information preset by the WIFI module through a browser, and acquiring identification information, a payment token and lease time of the household appliance.
7, shared household appliance lease authorization control method, wherein the method is applied to server, including:
receiving identification information, a payment token and lease time of the household appliance sent by a terminal device, wherein the payment token is generated by encrypting current th system time by a private key which is prestored by the household appliance and corresponds to the identification information;
sending the lease amount to the terminal equipment so as to enable the terminal equipment to carry out corresponding lease payment;
decrypting the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time, judging whether the difference between the current time of the server and the th system time is within a preset time difference, and if so, encrypting the current time and the lease time by using the public key to generate an encrypted message;
and sending the encrypted message to a terminal device, sending the encrypted message to the household appliance device by the terminal device, so that the household appliance device decrypts the encrypted message by using a private key which is prestored and corresponds to the identification information of the household appliance device, acquires the current time and the lease time, judges whether the difference between the current time and the current second system time is in a preset time difference, and controls the household appliance device to work according to the lease time if the difference is in the preset time difference.
8. The method of claim 7, further characterized by:
and if the difference between the current time of the server and the th system time is not within the preset time difference, feeding back lease failure information to the terminal equipment.
9, sharing household electrical appliance lease authorization control device, wherein the device is arranged on household electrical appliance, including:
the acquisition module is used for establishing connection between the household appliance and the terminal equipment through a preset WIFI module and acquiring a prestored private key corresponding to the identification information of the household appliance;
a generating module, configured to encrypt a current th system time using the private key to generate a payment token;
the sending module is used for sending the payment token, the identification information and the leasing time to the terminal equipment so that the terminal equipment can carry out leasing authorization processing with a server according to the leasing time specified by a user, the payment token and the identification information;
a receiving module, configured to receive an encrypted packet sent by the server and fed back by the terminal device, where the encrypted packet is generated by encrypting, by the server, the current time and the lease time of the server using a public key corresponding to the identification information;
the decryption module is used for decrypting the encrypted message by using the private key to obtain the current time and the lease time;
the judging module is used for judging whether the difference between the current time and the current second system time is within a preset time difference;
and the control module is used for controlling the household appliance to work according to the lease time when the difference between the current time and the current second system time is within a preset time difference.
10, sharing household electrical appliance lease authorization control device, wherein the device is arranged in the terminal equipment, including:
the system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for establishing connection with a WIFI module of the household appliance and acquiring identification information, a payment token and lease time of the household appliance, wherein the payment token is generated by encrypting current th system time by a private key which is prestored by the household appliance and corresponds to the identification information;
a sending module for sending the identification information, the payment token and the lease time to a server,
the payment module is used for carrying out corresponding lease payment so that the server decrypts the payment token according to a pre-stored public key corresponding to the identification information to obtain th system time, and judges whether the difference between the current time of the server and the th system time is within a preset time difference, if so, the public key is applied to encrypt the current time and the lease time to generate an encrypted message;
the receiving module is used for receiving the encrypted message fed back by the server;
the sending module is further configured to send the encrypted message to the household electrical appliance, so that the household electrical appliance decrypts the encrypted message by using the private key to obtain the current time and the lease time, and judges whether a difference between the current time and the current second system time is within a preset time difference, and if so, the household electrical appliance is controlled to work according to the lease time.
11, sharing household appliance lease authorization control device, wherein the device is arranged on the server, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving identification information of the household appliance, a payment token and lease time sent by a terminal device, wherein the payment token is generated by encrypting current th system time by a private key which is prestored by the household appliance and corresponds to the identification information;
the sending module is used for sending the lease amount to the terminal equipment so as to enable the terminal equipment to carry out corresponding lease payment;
the acquisition module is used for decrypting the payment token according to a pre-stored public key corresponding to the identification information to acquire th system time;
the judging module is used for judging whether the difference between the current time of the server and the th system time is within a preset time difference;
the encryption module is used for encrypting the current time and the lease time by applying the public key to generate an encrypted message when the difference between the current time of the server and the th system time is within a preset time difference;
the sending module is further used for sending the encrypted message to a terminal device, the terminal device sends the encrypted message to the household appliance, so that the household appliance uses a private key which is prestored and corresponds to the identification information of the household appliance to decrypt the encrypted message, the current time and the lease time are obtained, whether the difference between the current time and the current second system time is within a preset time difference or not is judged, and if yes, the household appliance is controlled to work according to the lease time.
home devices, comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the shared appliance lease authorization control method as claimed in any of claims 1-4.
kinds of terminal equipment, characterized by comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the shared appliance lease authorization control method as claimed in any of claims 5-6.
A server of the type , comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the shared appliance lease authorization control method as claimed in any of claims 7-8.
15, non-transitory computer readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements the shared appliance lease authorization control method as claimed in any of claims 1-4 through , or implements the shared appliance lease authorization control method as claimed in any of claims 5-6 through , or implements the shared appliance lease authorization control method as claimed in any of claims 7-8 through .
CN201911010462.0A 2019-10-23 2019-10-23 Shared household appliance lease authorization control method and device Pending CN110740448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911010462.0A CN110740448A (en) 2019-10-23 2019-10-23 Shared household appliance lease authorization control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911010462.0A CN110740448A (en) 2019-10-23 2019-10-23 Shared household appliance lease authorization control method and device

Publications (1)

Publication Number Publication Date
CN110740448A true CN110740448A (en) 2020-01-31

Family

ID=69271018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911010462.0A Pending CN110740448A (en) 2019-10-23 2019-10-23 Shared household appliance lease authorization control method and device

Country Status (1)

Country Link
CN (1) CN110740448A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710404A (en) * 2020-05-31 2020-09-25 南京麦澜德医疗科技有限公司 Method for authorizing and using equipment
CN113628392A (en) * 2021-08-19 2021-11-09 上海擎朗智能科技有限公司 Time management method, device and storage medium
CN113819584A (en) * 2021-09-02 2021-12-21 青岛海尔空调器有限总公司 Method and device for sharing air conditioner control, air conditioner and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927462A (en) * 2014-03-27 2014-07-16 北京深思数盾科技有限公司 Remote true time calibration method for software protection device
CN106529240A (en) * 2016-10-28 2017-03-22 美的智慧家居科技有限公司 Household appliance leasing method and device
CN107195123A (en) * 2017-07-20 2017-09-22 宁波青大智能安防科技有限公司 The lease shared system and its control method of a kind of intelligent coffer
CN107798531A (en) * 2017-08-14 2018-03-13 ***股份有限公司 Electric paying method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927462A (en) * 2014-03-27 2014-07-16 北京深思数盾科技有限公司 Remote true time calibration method for software protection device
CN106529240A (en) * 2016-10-28 2017-03-22 美的智慧家居科技有限公司 Household appliance leasing method and device
CN107195123A (en) * 2017-07-20 2017-09-22 宁波青大智能安防科技有限公司 The lease shared system and its control method of a kind of intelligent coffer
CN107798531A (en) * 2017-08-14 2018-03-13 ***股份有限公司 Electric paying method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710404A (en) * 2020-05-31 2020-09-25 南京麦澜德医疗科技有限公司 Method for authorizing and using equipment
CN111710404B (en) * 2020-05-31 2024-01-23 南京麦澜德医疗科技股份有限公司 Equipment authorization using method
CN113628392A (en) * 2021-08-19 2021-11-09 上海擎朗智能科技有限公司 Time management method, device and storage medium
CN113628392B (en) * 2021-08-19 2023-08-25 上海擎朗智能科技有限公司 Time management method, device and storage medium
CN113819584A (en) * 2021-09-02 2021-12-21 青岛海尔空调器有限总公司 Method and device for sharing air conditioner control, air conditioner and system
WO2023029602A1 (en) * 2021-09-02 2023-03-09 青岛海尔空调器有限总公司 Method, apparatus and system for controlling shared air conditioner, and air conditioner

Similar Documents

Publication Publication Date Title
JP6668183B2 (en) Communication device, communication method, communication system and program
CN108512846B (en) Bidirectional authentication method and device between terminal and server
US9998440B2 (en) System and processing method for electronic authentication client, and system and method for electronic authentication
CN102595213B (en) Security certificate method and system of credible TV terminal
CN110740448A (en) Shared household appliance lease authorization control method and device
CN105471974A (en) Intelligent equipment capable of realizing remote control, terminal equipment and method
US10305892B2 (en) Device system for performing group authentication and operating method thereof
CN105472192A (en) Intelligent equipment capable of realizing control safety authorization and sharing, terminal equipment and method
KR20040075293A (en) Apparatus and method simplifying an encrypted network
CN109862560B (en) Bluetooth authentication method, device, equipment and medium
CN112714053B (en) Communication connection method and device
CN112632521B (en) Request response method and device, electronic equipment and storage medium
CN108023727B (en) Authorization method and system thereof
CN106685644B (en) Communication encryption method and device, gateway, server, intelligent terminal and system
EP2498469B1 (en) Authenticating method of communicating connection, gateway apparatus using authenticating method, and communication system using authenticating method
CN114125832B (en) Network connection method, terminal, network equipment to be distributed and storage medium
KR102575725B1 (en) Apparatus, system and method for controlling charging of electric vehicle
CN108712246B (en) Intelligent household equipment and system and visitor password acquisition method
US20170353315A1 (en) Secure electronic entity, electronic apparatus and method for verifying the integrity of data stored in such a secure electronic entity
CN109451504B (en) Internet of things module authentication method and system
CN113434837B (en) Method and device for equipment identity authentication and smart home system
CN112601218B (en) Wireless network configuration method and device
CN117118763B (en) Method, device and system for data transmission
CN114189863A (en) Binding method and device of intelligent door lock, storage medium and electronic device
CN115868142A (en) Equipment verification method, equipment and cloud

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200131