CN111972722A - Control method and device of electronic cigarette, computer equipment and storage medium - Google Patents

Control method and device of electronic cigarette, computer equipment and storage medium Download PDF

Info

Publication number
CN111972722A
CN111972722A CN202010829207.5A CN202010829207A CN111972722A CN 111972722 A CN111972722 A CN 111972722A CN 202010829207 A CN202010829207 A CN 202010829207A CN 111972722 A CN111972722 A CN 111972722A
Authority
CN
China
Prior art keywords
identification information
electronic cigarette
identity identification
component
split
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.)
Granted
Application number
CN202010829207.5A
Other languages
Chinese (zh)
Other versions
CN111972722B (en
Inventor
许斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Weimei Electronic Technology Co ltd
Original Assignee
Shenzhen Feimo Technology 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 Shenzhen Feimo Technology Co ltd filed Critical Shenzhen Feimo Technology Co ltd
Priority to CN202010829207.5A priority Critical patent/CN111972722B/en
Publication of CN111972722A publication Critical patent/CN111972722A/en
Application granted granted Critical
Publication of CN111972722B publication Critical patent/CN111972722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/50Control or monitoring
    • AHUMAN NECESSITIES
    • A24TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
    • A24FSMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
    • A24F40/00Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
    • A24F40/40Constructional details, e.g. connection of cartridges and battery parts
    • A24F40/49Child proofing

Landscapes

  • Health & Medical Sciences (AREA)
  • Child & Adolescent Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Lock And Its Accessories (AREA)
  • Storage Device Security (AREA)

Abstract

The application relates to a control method and a device of an electronic cigarette, comprising the following steps: receiving first identity identification information sent by a server; the first identity identification information is information which is sent to the buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by the seller client; the unlocking request is generated after the seller client verifies second identification information stored in the second split component; the electronic cigarette with the first identity identification information comprises an electronic cigarette body, and is characterized in that a writing instruction of the first identity identification information is sent to the electronic cigarette body, the writing instruction is used for triggering the electronic cigarette body to store the first identity identification information into a first component, the electronic cigarette body detects that a second component is connected with the first component, and the second identity identification information is determined to be matched with the first identity identification information, so that the locking state of the electronic cigarette is switched to the unlocking state, double authentication is realized, and an underage user is effectively prevented from using the electronic cigarette with the identity of other people.

Description

Control method and device of electronic cigarette, computer equipment and storage medium
Technical Field
The present application relates to the field of electronic cigarette technologies, and in particular, to a method and an apparatus for controlling an electronic cigarette, a computer device, and a storage medium.
Background
In the prior art, in order to prevent juveniles from smoking electronic cigarettes, before using the electronic cigarettes, a user needs to download a client of a manufacturer corresponding to the electronic cigarettes, register the client with a real name to verify the identity of the user, and after the registration is successful, an unlocking instruction is sent to the electronic cigarettes through the client, so that the user can use the electronic cigarettes.
However, in the above method, the minor user or the illegal user may impersonate other person identification information to perform real-name registration, and it is difficult to prevent the minor from using the electronic cigarette.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for controlling an electronic cigarette, a computer device, and a storage medium.
A method of controlling an electronic cigarette, the electronic cigarette comprising a first split component and a second split component, the method comprising:
receiving first identity identification information sent by a server; the first identity identification information is information which is sent to a buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by a seller client; the unlocking request is generated after the seller client side verifies second identification information stored in the second split component;
sending a writing instruction of the first identity identification information to the electronic cigarette, wherein the writing instruction is used for triggering the electronic cigarette to store the first identity identification information into a first split part, and when the electronic cigarette detects that a second split part is connected with the first split part, determining that the second identity identification information is matched with the first identity identification information, and switching the locking state of the electronic cigarette into an unlocking state.
Optionally, the method further comprises:
acquiring the age of a login user corresponding to a buyer client;
and if the age of the login user is larger than or equal to a preset threshold value, executing a step of sending a writing instruction of the first identity identification information to the electronic cigarette.
Optionally, the method further comprises:
acquiring activation state information of the first split component;
if the activation state information is in an inactivated state, receiving an activation request of a login user, responding to the activation request, and generating a component activation instruction;
sending the component activation instruction to the electronic cigarette to activate a first component of the electronic cigarette.
Optionally, the method further comprises:
acquiring authentication function state information for the first split component;
when the authentication function state information is in an open state, determining a login user of the buyer client;
and if the login user is matched with the activated user of the second split component, executing a step of sending a writing instruction of the first identity identification information to the electronic cigarette.
A method of controlling an electronic cigarette, the electronic cigarette comprising a first split component and a second split component, the method comprising:
when the second split component is detected to be connected with the first split component, second identification information stored in the second split component and first identification information stored in the first split component and transmitted by a buyer client side are acquired; the first identity identification information is information which is sent to the buyer client based on second identity identification information carried in an unlocking request after the server receives the unlocking request sent by the seller client; the unlocking request is sent after the seller client side verifies second identification information stored in the second split component;
and when the first identity identification information is matched with the second identity identification information, switching the locking state of the electronic cigarette into an unlocking state.
Optionally, the second identification information stored by the second split component is stored in a two-dimensional code form; and the seller client verifies the second identification information by scanning the two-dimensional code.
A control device of an electronic cigarette, the device comprising:
the first identity identification information receiving module is used for receiving first identity identification information sent by the server; the first identity identification information is information which is sent to a buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by a seller client; the unlocking request is generated after the seller client side verifies second identification information stored in the second split component;
the writing instruction sending module is used for sending a writing instruction of the first identity identification information to the electronic cigarette, the writing instruction is used for triggering the electronic cigarette to store the first identity identification information into a first split part, and when the electronic cigarette detects that a second split part is connected with the first split part, the electronic cigarette determines that the second identity identification information is matched with the first identity identification information, and switches the locking state of the electronic cigarette into an unlocking state.
A control system for an electronic cigarette, the system comprising:
an electronic cigarette comprising a first split component and a second split component; the second split component stores second identity identification information;
the seller client is used for generating an unlocking request containing second identification information after the second identification information stored in the electronic cigarette passes verification, and sending the unlocking request to the server;
the server is used for sending first identity identification information to the buyer client based on the second identity identification information after receiving the unlocking request;
the buyer client is used for sending the received first identity identification information to the electronic cigarette;
the electronic cigarette is further used for storing first identity identification information to a first split component, detecting that a second split component is connected with the first split component, determining that second identity identification information is matched with the first identity identification information, and switching the locking state of the electronic cigarette into an unlocking state.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the control method of an electronic cigarette as described above when executing the computer program.
A computer readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of controlling an electronic cigarette as described above.
After the seller client verifies second identity identification information of the second split component, an unlocking request is generated and sent to the server, the server sends first identity identification information to the buyer client based on the second identity identification information carried in the unlocking request after receiving the unlocking request, the buyer client sends a writing instruction of the first identity identification information to the electronic cigarette after receiving the first identity identification information, the writing instruction triggers the electronic cigarette to store the first identity identification information into the first split component, the electronic cigarette detects that the second split component is connected with the first split component and determines that the second identity identification information is matched with the first identity identification information, the locking state of the electronic cigarette is switched to the unlocking state, and double authentication of the first split component and the second split component is realized, when the dual authentication of the seller client and the first split component is carried out, the electronic cigarette can be normally used, and the electronic cigarette is effectively prevented from being used by underage users or illegal users by using the identities of other people.
Drawings
Fig. 1 is an application environment diagram of a control method of an electronic cigarette in an embodiment;
figure 2 is a schematic flow chart of a method of controlling an e-cigarette according to one embodiment;
FIG. 3 is a schematic flow chart of a battery activation step according to one embodiment;
figure 4 is a schematic flow chart of a method of using an e-cigarette in another embodiment;
figure 5 is a schematic flow chart of another method of controlling an e-cigarette according to another embodiment;
figure 6 is a block diagram of a control device of an electronic cigarette in one embodiment;
figure 7 is a block diagram of the control device of another electronic cigarette in one embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The control method of the electronic cigarette can be applied to the application environment shown in fig. 1. In this application environment, the terminal 102 and the terminal 104 communicate with the server 106 through a network, and the terminal 102 may communicate with the e-cigarette 108.
The terminals 102 and 104 may be, but are not limited to, various personal computers, laptops, smartphones, tablets, and the portable wearable device server 106, and may be implemented by an independent server or a server cluster formed by a plurality of servers.
The e-cigarette 108 may include a first split component 1081 and a second split component 1082, and a control chip may be disposed in the e-cigarette 108.
In one embodiment, as shown in fig. 2, a method for controlling an electronic cigarette is provided, which is described by taking the method as an example applied to the terminal 102, and includes the following steps:
step 201, receiving first identity identification information sent by a server; the first identity identification information is information which is sent to a buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by a seller client; and the unlocking request is generated after the seller client side verifies the second identification information stored in the second split component.
As an example, the first identification information and the second identification information may be identification marks, by means of which different second partial elements may be distinguished.
In the specific implementation, when the electronic cigarette user purchases the electronic cigarette in the electronic cigarette physical store, the identity of the electronic cigarette purchaser can be verified by the seller, after the verification is passed, the seller verifies second identification information stored in the second split component by using the seller client, and after the verification is passed, the seller client can generate an unlocking request containing the second identification information and send the unlocking request to the server. After receiving the unlocking request, the server may send the first identity identification information to the terminal 102 based on the second identity identification information in the unlocking request, so that the terminal 102 may receive the first identity identification information; the first identity information and the second identity information may be the same, or the server may encrypt the second identity information and generate the first identity information including the second identity information.
Step 202, sending a write-in instruction of the first identity identification information to the electronic cigarette, where the write-in instruction is used to trigger the electronic cigarette to store the first identity identification information in a first split component, and when the electronic cigarette detects that a second split component is connected with the first split component, determining that the second identity identification information matches the first identity identification information, and switching a locking state of the electronic cigarette to an unlocking state.
As an example, the first component and the second component can be assembled to make the electronic cigarette work normally, and in practical application, the first component may be a battery device, and the second component may be an atomizer, or the first component may be an atomizer and the second component may be a battery device. When the first component and the second component are separated, the electronic cigarette cannot work normally.
After receiving the first identification information, the terminal 102 may generate a write command including the first identification information and send the write command to the e-cigarette. After receiving the write command, the electronic cigarette may read the first identification information from the write command and save the first identification information to the first component part.
When the second split component is connected with the first split component, the electronic cigarette can acquire second identification information corresponding to the second split component and judge whether the second identification information is matched with the first identification information, and if so, the electronic cigarette can be switched from a current locking state to an unlocking state so that the electronic cigarette can be normally used; if not, the electronic cigarette may return unlocking failure information to the terminal 102.
In this embodiment, after the seller client verifies the second identification information of the second split component, an unlocking request is generated and sent to the server, after receiving the unlocking request, the server sends the first identification information based on the second identification information carried in the unlocking request, after receiving the first identification information, the terminal sends a write-in instruction of the first identification information to the electronic cigarette, the write-in instruction triggers the electronic cigarette to store the first identification information in the first split component, and when detecting that the second split component is connected with the first split component, the electronic cigarette acquires the second identification information, and when the second identification information matches the first identification information, the locking state of the electronic cigarette is switched to the unlocking state, so that double authentication of the first split component and the second split component is realized, when the dual authentication of the seller client and the first split component is carried out, the electronic cigarette can be normally used, and the electronic cigarette is effectively prevented from being used by underage users or illegal users by using the identities of other people.
In practical applications, the terminal 102 in fig. 1 is a terminal corresponding to a buyer, and the buyer terminal 102 is installed with a buyer client; the terminal 104 is a terminal corresponding to a seller, and a seller client is installed on the terminal 104. The control method of the electronic cigarette can be applied to a buyer client, namely after a seller client verifies the second identity identification information and sends an unlocking request to a server, the server sends first identity identification information generated based on the second identity identification information to the buyer client, and the buyer client sends a writing instruction of the first identity identification information to the electronic cigarette.
Alternatively, terminal 102 and terminal 104 in fig. 1 may both be buyer-corresponding terminals. In particular, the terminals 102 and 104 may have seller clients installed thereon. After the seller client sends the unlocking request containing the second identity identification information to the server, the seller verifies the legal identity of the electronic cigarette purchaser, the server can send the first identity identification information generated based on the second identity identification information to the seller client, and the seller client sends a writing instruction of the first identity identification information to the electronic cigarette, so that the whole verification process of the electronic cigarette can be independently completed by the seller client.
In an embodiment, the terminal 102 is a terminal corresponding to the buyer, and the method may further include the following steps:
acquiring the age of a login user corresponding to a buyer client; and if the age of the login user is larger than or equal to a preset threshold value, executing a step of sending a writing instruction of the first identity identification information to the electronic cigarette.
In practical application, after the buyer client receives the first identity identification information, whether the identity of the current user of the buyer client is legal or not can be verified, and the electronic cigarette is prevented from being used by minors.
Specifically, the buyer client may obtain the age of the login user corresponding to the current login user, and determine whether the age of the login user is greater than or equal to a preset threshold, and if the age of the login user is greater than or equal to the preset threshold, the buyer client may send a write-in instruction of the first identity identification information to the electronic cigarette; if the age of the login user is smaller than the preset threshold, the buyer client can generate verification failure information, and the verification failure information can prompt that the age of the current login user does not meet the preset threshold.
In the embodiment, the age of the login user corresponding to the buyer client is obtained, and the write-in instruction of the first identity identification information is sent to the electronic cigarette when the age of the login user is greater than or equal to the preset threshold, so that the buyer client judges whether the user has the condition of using the electronic cigarette before sending the write-in instruction, and further identity verification is performed on the basis of verification performed by the seller client, thereby effectively preventing the underage user from using the electronic cigarette.
In one embodiment, as shown in fig. 3, the method may further comprise the steps of:
step 301, obtaining activation state information of the first split component.
As an example, the activation state information is used to characterize whether the first component part is in an activated state.
Before the first split component is activated for the first time, the buyer client may obtain the activation state information of the first split component and determine whether the current first split component is activated.
In practical applications, a communication module may be disposed in the first component, and communication between the buyer client and the first component may be performed through short-range wireless communication, such as bluetooth or WiFi.
Step 302, if the activation state information is in an inactivated state, receiving an activation request of a login user, and responding to the activation request to generate a component activation instruction.
If the activation state information is in an inactivated state, the buyer client side can generate prompt information to remind the buyer login user that the first component part is not activated currently, and after receiving the prompt information, the buyer user can click a preset button in a login state to send an activation request to the buyer client side. In response to the activation request, the buyer client may generate a component activation instruction.
Step 303, sending the component activation instruction to the electronic cigarette to activate a first component of the electronic cigarette.
After the component activation instruction is generated, the buyer client may send the component activation instruction to the electronic cigarette, and after the electronic cigarette receives the component activation instruction, the first split component may be activated, the inactivated state is switched to the activated state, and the first split component of the electronic cigarette is activated. Upon activation of the first component of the e-cigarette, authentication of the first component of the e-cigarette by the logged-in user may be achieved.
In this embodiment, the login user may activate the usage right of the first split component through the buyer client, and may activate the first split component by using the current login user identity, so that the buyer may authenticate the first split component.
In one embodiment, the method may further comprise the steps of:
acquiring authentication function state information for the first split component; when the authentication function state information is in an open state, determining a login user of the buyer client; and if the login user is matched with the activated user of the first split component, executing a step of sending a writing instruction of the first identity identification information to the electronic cigarette.
As an example, the authentication function status information is used to characterize whether the authentication function of the first component is on.
In practical application, after the usage right of the first component is activated, the buyer can select whether to start the authentication function of the first component, and after the buyer starts the authentication function, before using the electronic cigarette, the buyer client performs identity verification on the user requesting to use the electronic cigarette.
Specifically, when the electronic cigarette is used again, the buyer client may acquire authentication function state information for the first split component, and when the authentication function state information is in an open state, the buyer client determines a login user by acquiring information of a current login account, and if the login user is the same as an activated user of the first split component (i.e., a login user activating the use permission of the first split component), the buyer client may send a write-in instruction of the first identity identification information to the electronic cigarette; if the current login user is different from the login user for activating the use permission of the first split component, the buyer client can generate verification failure information, and the verification failure information can prompt that the current login user is inconsistent with the user for activating the use permission of the first split component and is an illegal user.
In this embodiment, if the current login user matches with the login user who activates the usage right of the first split component, the write-in instruction of the first identification information can be sent to the electronic cigarette, so that before the electronic cigarette is used at every time, the user who uses the first split component is identified, whether the user has the usage right is judged, and the first split component can be effectively prevented from being picked up and used by other people.
In one embodiment, the buyer can open the authentication function or close the authentication function of the first split component through the buyer client, so that diversified management of the first split component is realized, and the use habit requirements of different users can be met.
In order to enable those skilled in the art to better understand the above steps, the following is an example to illustrate the embodiments of the present application, but it should be understood that the embodiments of the present application are not limited thereto.
In this example, as shown in fig. 4, the first split component is a battery device, and the second split component is a cartridge provided with an atomizer, wherein a control chip may be provided in the battery device, a memory chip storing second identification information is provided in the atomizer, and a two-dimensional code or a bar code is identified on the surface of the cartridge or on the outer package of the cartridge, and the two-dimensional code or the bar code is associated with the second identification information in the memory chip.
In a specific implementation, when a buyer purchases an electronic cigarette, the buyer client may obtain a login user account corresponding to the buyer client through a real-name registration mode, and specifically, the buyer may perform the real-name registration in the buyer client through a mobile phone number because the mobile phone number of the buyer is associated with the identity information of the buyer.
When a buyer purchases the cigarette cartridge, after verifying that the identity of the buyer is legal (namely, the buyer has the qualification for purchasing the electronic cigarette), a seller of the entity sales shop can scan the two-dimensional code on the surface of the cigarette cartridge or the outer package of the cigarette cartridge through a seller client to acquire second identity identification information, and can acquire a login user account of the buyer and send the second identity identification information and the login user account to a cloud server to indicate that the second identity identification information is verified to pass, so that the cigarette cartridge can be used. When receiving the second identification and the login user account, the cloud server may send the first identification information to the login user account based on the second identification information.
When a buyer purchases the electronic cigarette, the buyer can log in a buyer client side, the buyer is in communication connection with the battery equipment through Bluetooth or WiFi, real-name authentication is carried out on the battery equipment, the use permission of the battery equipment is activated, and after first identity identification information sent by the cloud server is received, the buyer client side sends the first identity identification information to the battery equipment.
After receiving the first identification information, the battery device can store the information in the control chip, and when the atomizer is detected to be inserted into the battery device, the battery device can read the second identification information in the atomizer storage chip and judge whether the first identification information is consistent with the second identification information or not, and if so, the electronic cigarette can normally work; if not, the electronic cigarette cannot be used normally.
In one embodiment, as shown in fig. 5, a method for controlling an e-cigarette is provided, which is described by taking the method as an example applied to the e-cigarette 108 in fig. 1, and includes the following steps:
step 501, when it is detected that the second split component is connected with the first split component, acquiring second identification information stored in the second split component and first identification information stored in the first split component and transmitted by a buyer client; the first identity identification information is information which is sent to the buyer client based on second identity identification information carried in an unlocking request after the server receives the unlocking request sent by the seller client; and the unlocking request is sent after the seller client side verifies the second identification information stored in the second split component.
In a specific implementation, the second sub-component part may correspond to the second identification information, different second sub-component parts may have different second identification information, and the second sub-component part may have the second identification information stored therein.
The seller client side can verify the second identification information of the second split component, and after the verification is passed, the seller client side can generate an unlocking request containing the second identification information and send the unlocking request to the server side. After receiving the unlocking request, the server may send the first identity identification information to the buyer client based on the second identity identification information in the unlocking request, so that the buyer client may receive the first identity identification information; the first identity information is the same as the second identity information, or the server side can encrypt the second identity information to generate the first identity information containing the second identity information.
After receiving the first identity information, the buyer client may generate a write-in command including the first identity information, and send the write-in command to the e-cigarette. After receiving the write command, the electronic cigarette may read the first identification information from the write command and save the first identification information to the first component part.
When it is detected that the second body part is connected to the first body part, the e-cigarette may retrieve the stored second identification information from the second body part and the stored first identification information transmitted by the buyer client in the first body part.
Step 502, when the first identification information matches the second identification information, switching the locking state of the electronic cigarette to an unlocking state.
After the first identity identification information and the second identity identification information are obtained, the electronic cigarette can judge whether the second identity identification information is matched with the first identity identification information, and if so, the electronic cigarette can be switched from a current locking state to an unlocking state so that the electronic cigarette can be normally used; if not, the electronic cigarette can return unlocking failure information to the buyer client.
In this embodiment, the seller client generates an unlocking request after verifying second identification information of the second split component, and sends the unlocking request to the server, the server sends first identification information to the buyer client based on the second identification information carried in the unlocking request after receiving the unlocking request, the buyer client sends a write-in instruction of the first identification information to the electronic cigarette after receiving the first identification information, the write-in instruction triggers the electronic cigarette to store the first identification information in the first split component, and the electronic cigarette acquires the second identification information when detecting that the second split component is connected with the first split component, and switches the locking state of the electronic cigarette to the unlocking state when the second identification information matches the first identification information, thereby realizing dual authentication of the first split component and the second split component, when the dual authentication of the seller client and the first split component is carried out, the electronic cigarette can be normally used, and the electronic cigarette is effectively prevented from being used by underage users or illegal users by using the identities of other people.
In one embodiment, the second identification information has a corresponding two-dimensional code, and the seller client verifies the second identification information by scanning the two-dimensional code.
In particular, the second identification information may have a corresponding two-dimensional code, which may be attached to a surface of the second sectional component or to an outer package of the second sectional component. When the seller sells the electronic cigarette, after verifying that the buyer is qualified to purchase the electronic cigarette, the seller client scans the two-dimensional code, the second identity identification information can be verified, and when the seller client successfully scans the two-dimensional code, the second identity identification information is determined to pass verification.
In this embodiment, the seller client scans the two-dimensional code to verify the second identification information, the identity validity of the buyer user can be verified by the user corresponding to the seller client, the second identification information is sent to the server after the verification is passed, and the electronic cigarette is prevented from being used by an underage user by adding a link of seller identification.
It should be understood that although the various steps in the flow charts of fig. 1-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-5 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in figure 6, there is provided a control device for an electronic cigarette comprising a first component and a second component, the device comprising:
a first identity information receiving module 601, configured to receive first identity information sent by a server; the first identity identification information is information which is sent to a buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by a seller client; the unlocking request is generated after the seller client side verifies second identification information stored in the second component
A write-in instruction sending module 602, configured to send a write-in instruction of the first identity identification information to the electronic cigarette, where the write-in instruction is used to trigger the electronic cigarette to store the first identity identification information in a first split component, and when the electronic cigarette detects that a second split component is connected to the first split component, it determines that the second identity identification information matches the first identity identification information, and switches a locking state of the electronic cigarette to an unlocking state.
In one embodiment, further comprising:
the login user age acquisition module is used for acquiring the corresponding login user age of the buyer client;
and the judging module is used for calling the writing instruction sending module if the age of the login user is greater than or equal to a preset threshold value.
In one embodiment, further comprising:
the activation state information acquisition module is used for acquiring activation state information of the first split component;
the activation instruction generation module is used for receiving an activation request of a login user if the activation state information is in an inactivated state, and generating a component activation instruction in response to the activation request;
an activation instruction sending module for sending the component activation instruction to the electronic cigarette to activate a first component of the electronic cigarette.
In one embodiment, further comprising:
the authentication function state information acquisition module is used for acquiring authentication function state information aiming at the first split component;
the login user determining module is used for determining a login user of the buyer client when the authentication function state information is in an open state;
and the matching module is used for executing and calling the writing instruction sending module if the login user is matched with the activated user of the first split component.
In one embodiment, as shown in figure 7, there is provided a control device for an electronic cigarette comprising a first component and a second component, the device comprising:
an identification information obtaining module 701, configured to, when it is detected that the second split component is connected to the first split component, obtain second identification information stored in the second split component and first identification information stored in the first split component and sent by the buyer client; the first identity identification information is information which is sent to the buyer client based on second identity identification information carried in an unlocking request after the server receives the unlocking request sent by the seller client; the unlocking request is sent after the seller client side verifies second identification information stored in the second split component;
an unlocking module 702, configured to switch the locking state of the electronic cigarette to an unlocking state when the first identity information matches the second identity information.
In one embodiment, the second identification information stored by the second split component is stored in the form of a two-dimensional code; and the seller client verifies the second identification information by scanning the two-dimensional code.
For specific limitations of the control device of the electronic cigarette, reference may be made to the above limitations of the control method of the electronic cigarette, and details are not repeated here. All or part of the modules in the control device of the electronic cigarette can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is provided a control system for an electronic cigarette, the system comprising:
an electronic cigarette comprising a first split component and a second split component; the second split component stores second identity identification information;
the seller client is used for generating an unlocking request containing second identification information after the second identification information stored in the electronic cigarette passes verification, and sending the unlocking request to the server;
the server is used for sending first identity identification information to the buyer client based on the second identity identification information after receiving the unlocking request;
the buyer client is used for sending the received first identity identification information to the electronic cigarette;
the electronic cigarette is further used for storing first identity identification information to a first split component, detecting that a second split component is connected with the first split component, determining that second identity identification information is matched with the first identity identification information, and switching the locking state of the electronic cigarette into an unlocking state.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of controlling an electronic cigarette. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving first identity identification information sent by a server; the first identity identification information is information which is sent to a buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by a seller client; the unlocking request is generated after the seller client side verifies second identification information stored in the second split component;
sending a writing instruction of the first identity identification information to the electronic cigarette, wherein the writing instruction is used for triggering the electronic cigarette to store the first identity identification information into a first split part, and when the electronic cigarette detects that a second split part is connected with the first split part, determining that the second identity identification information is matched with the first identity identification information, and switching the locking state of the electronic cigarette into an unlocking state.
In one embodiment, the steps in the other embodiments described above are also implemented when the computer program is executed by a processor.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving first identity identification information sent by a server; the first identity identification information is information which is sent to a buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by a seller client; the unlocking request is generated after the seller client side verifies second identification information stored in the second split component;
sending a writing instruction of the first identity identification information to the electronic cigarette, wherein the writing instruction is used for triggering the electronic cigarette to store the first identity identification information into a first split part, and when the electronic cigarette detects that a second split part is connected with the first split part, determining that the second identity identification information is matched with the first identity identification information, and switching the locking state of the electronic cigarette into an unlocking state.
In one embodiment, the computer program when executed by the processor also performs the steps in the other embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of controlling an electronic cigarette, the electronic cigarette comprising a first component and a second component, the method comprising:
receiving first identity identification information sent by a server; the first identity identification information is information which is sent to a buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by a seller client; the unlocking request is generated after the seller client side verifies second identification information stored in the second split component;
sending a writing instruction of the first identity identification information to the electronic cigarette, wherein the writing instruction is used for triggering the electronic cigarette to store the first identity identification information into a first split part, and when the electronic cigarette detects that a second split part is connected with the first split part, determining that the second identity identification information is matched with the first identity identification information, and switching the locking state of the electronic cigarette into an unlocking state.
2. The method of claim 1, further comprising:
acquiring the age of a login user corresponding to a buyer client;
and if the age of the login user is larger than or equal to a preset threshold value, executing a step of sending a writing instruction of the first identity identification information to the electronic cigarette.
3. The method of claim 1, further comprising:
acquiring activation state information of the first split component;
if the activation state information is in an inactivated state, receiving an activation request of a login user, responding to the activation request, and generating a component activation instruction;
sending the component activation instruction to the electronic cigarette to activate a first component of the electronic cigarette.
4. The method of claim 3, further comprising:
acquiring authentication function state information for the first split component;
when the authentication function state information is in an open state, determining a login user of the buyer client;
and if the login user is matched with the activated user of the first split component, executing a step of sending a writing instruction of the first identity identification information to the electronic cigarette.
5. A method of controlling an electronic cigarette, the electronic cigarette comprising a first component and a second component, the method comprising:
when the second split component is detected to be connected with the first split component, second identification information stored in the second split component and first identification information stored in the first split component and transmitted by a buyer client side are acquired; the first identity identification information is information which is sent to the buyer client based on second identity identification information carried in an unlocking request after the server receives the unlocking request sent by the seller client; the unlocking request is sent after the seller client side verifies second identification information stored in the second split component;
and when the first identity identification information is matched with the second identity identification information, switching the locking state of the electronic cigarette into an unlocking state.
6. The method of claim 5 wherein the second identification information stored by the second component is stored in the form of a two-dimensional code; and the seller client verifies the second identification information by scanning the two-dimensional code.
7. A control device for an electronic cigarette, the device comprising:
the first identity identification information receiving module is used for receiving first identity identification information sent by the server; the first identity identification information is information which is sent to a buyer client by the server side based on second identity identification information carried in an unlocking request after the server side receives the unlocking request sent by a seller client; the unlocking request is generated after the seller client side verifies second identification information stored in the second split component;
the writing instruction sending module is used for sending a writing instruction of the first identity identification information to the electronic cigarette, the writing instruction is used for triggering the electronic cigarette to store the first identity identification information into a first split part, and when the electronic cigarette detects that a second split part is connected with the first split part, the electronic cigarette determines that the second identity identification information is matched with the first identity identification information, and switches the locking state of the electronic cigarette into an unlocking state.
8. A control system for an electronic cigarette, the system comprising:
an electronic cigarette comprising a first split component and a second split component; second identification information is stored in the second split component;
the seller client is used for generating an unlocking request containing second identification information after the second identification information stored in the electronic cigarette passes verification, and sending the unlocking request to the server;
the server is used for sending first identity identification information to the buyer client based on the second identity identification information after receiving the unlocking request;
the buyer client is used for sending the received first identity identification information to the electronic cigarette;
the electronic cigarette is further used for storing first identity identification information to a first split component, detecting that a second split component is connected with the first split component, determining that second identity identification information is matched with the first identity identification information, and switching the locking state of the electronic cigarette into an unlocking state.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of controlling an electronic cigarette of any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of controlling an electronic cigarette according to any one of claims 1 to 6.
CN202010829207.5A 2020-08-18 2020-08-18 Control method and device of electronic cigarette, computer equipment and storage medium Active CN111972722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010829207.5A CN111972722B (en) 2020-08-18 2020-08-18 Control method and device of electronic cigarette, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010829207.5A CN111972722B (en) 2020-08-18 2020-08-18 Control method and device of electronic cigarette, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111972722A true CN111972722A (en) 2020-11-24
CN111972722B CN111972722B (en) 2024-02-27

Family

ID=73434556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010829207.5A Active CN111972722B (en) 2020-08-18 2020-08-18 Control method and device of electronic cigarette, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111972722B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108348002A (en) * 2015-05-15 2018-07-31 约翰·卡梅伦 Evaporation of materials for electrical steam device is handled
CN109288138A (en) * 2018-11-02 2019-02-01 常州市派腾电子技术服务有限公司 Control method, device and the computer storage medium of electronic cigarette
CN109315837A (en) * 2018-09-21 2019-02-12 深圳市合元科技有限公司 A kind of electronic cigarette control method and electronic cigarette
CN109711142A (en) * 2018-11-28 2019-05-03 广东思格雷电子科技股份有限公司 A kind of electronic cigarette, electronic cigarette managing device and electronic cigarette management system
CN109757784A (en) * 2019-03-25 2019-05-17 天网互联科技(深圳)有限公司 A kind of application method and authentication registration method of electronic cigarette
CN110754702A (en) * 2019-12-04 2020-02-07 深圳市太美亚电子科技有限公司 Method, smoking set and system for preventing minors from using electronic cigarette
CN110837765A (en) * 2018-08-17 2020-02-25 深圳市艾维普思科技有限公司 Electronic cigarette selling method based on face recognition, terminal, storage medium and electronic cigarette
CN110959917A (en) * 2019-06-27 2020-04-07 深圳雾芯科技有限公司 Electronic atomizer device and method of operation
US20200137570A1 (en) * 2018-10-29 2020-04-30 Zorday IP, LLC Network-enabled electronic cigarette
CN111227318A (en) * 2019-12-31 2020-06-05 云南云烁科技有限公司 Control method and system of electronic cigarette, mobile terminal and cloud server
CN111460417A (en) * 2020-03-26 2020-07-28 深圳市康泓威科技有限公司 System for authorizing and activating electronic cigarette and authorization method thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108348002A (en) * 2015-05-15 2018-07-31 约翰·卡梅伦 Evaporation of materials for electrical steam device is handled
CN110837765A (en) * 2018-08-17 2020-02-25 深圳市艾维普思科技有限公司 Electronic cigarette selling method based on face recognition, terminal, storage medium and electronic cigarette
CN109315837A (en) * 2018-09-21 2019-02-12 深圳市合元科技有限公司 A kind of electronic cigarette control method and electronic cigarette
US20200137570A1 (en) * 2018-10-29 2020-04-30 Zorday IP, LLC Network-enabled electronic cigarette
CN109288138A (en) * 2018-11-02 2019-02-01 常州市派腾电子技术服务有限公司 Control method, device and the computer storage medium of electronic cigarette
CN109711142A (en) * 2018-11-28 2019-05-03 广东思格雷电子科技股份有限公司 A kind of electronic cigarette, electronic cigarette managing device and electronic cigarette management system
CN109757784A (en) * 2019-03-25 2019-05-17 天网互联科技(深圳)有限公司 A kind of application method and authentication registration method of electronic cigarette
CN110959917A (en) * 2019-06-27 2020-04-07 深圳雾芯科技有限公司 Electronic atomizer device and method of operation
CN110754702A (en) * 2019-12-04 2020-02-07 深圳市太美亚电子科技有限公司 Method, smoking set and system for preventing minors from using electronic cigarette
CN111227318A (en) * 2019-12-31 2020-06-05 云南云烁科技有限公司 Control method and system of electronic cigarette, mobile terminal and cloud server
CN111460417A (en) * 2020-03-26 2020-07-28 深圳市康泓威科技有限公司 System for authorizing and activating electronic cigarette and authorization method thereof

Also Published As

Publication number Publication date
CN111972722B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
US10447839B2 (en) Device locator disable authentication
JP5978307B2 (en) Secure data access based on policy compliance
US9098850B2 (en) System and method for transaction security responsive to a signed authentication
US11212283B2 (en) Method for authentication and authorization and authentication server using the same for providing user management mechanism required by multiple applications
CN108200089A (en) Implementation method, device, system and the storage medium of information security
CN110768968A (en) Authorization method, device, equipment and system based on verifiable statement
US9344896B2 (en) Method and system for delivering a command to a mobile device
KR20170069271A (en) Method, device, terminal, and server for verifying security of service operation
CN108763888B (en) User profile processing method and device, computer equipment and storage medium
US20050229008A1 (en) Method and device for identifying user-selected equipment
US10843661B2 (en) Electronic key management system assisting device, electronic key management system, method, and storage medium
CN108475304A (en) A kind of method, apparatus and mobile terminal of affiliate application and biological characteristic
WO2021249527A1 (en) Method and apparatus for implementing motopay, and electronic device
CN108234124A (en) Auth method, device and system
KR20200050813A (en) Payment method using biometric authentication and electronic device thereof
CN109254661A (en) Image display method, device, storage medium and electronic equipment
CN109413034B (en) Application program data display method and device, computer equipment and storage medium
CN111131208B (en) Third-party service application login method and device, computer equipment and storage medium
US20150154388A1 (en) Information processing apparatus and user authentication method
CN111972722B (en) Control method and device of electronic cigarette, computer equipment and storage medium
CN108234412A (en) Auth method and device
CN108234113A (en) Auth method, device and system
KR20140094990A (en) Authentication System of the many users using mobile device and method thereof
CN114448722B (en) Cross-browser login method and device, computer equipment and storage medium
CN104836795A (en) Terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201119

Address after: 518101 building B1, Tangwei community, Fuhai street, Baoan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Weimei Electronic Technology Co.,Ltd.

Address before: 518101 120 Tianji tower, Xinggang Tongchuang Hui, 6099 Bao'an Avenue, Qiaotou community, Fuhai street, Bao'an District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN FEIMO TECHNOLOGY Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant