CN111972722B - 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
CN111972722B
CN111972722B CN202010829207.5A CN202010829207A CN111972722B CN 111972722 B CN111972722 B CN 111972722B CN 202010829207 A CN202010829207 A CN 202010829207A CN 111972722 B CN111972722 B CN 111972722B
Authority
CN
China
Prior art keywords
identification information
electronic cigarette
split component
identity identification
identity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010829207.5A
Other languages
Chinese (zh)
Other versions
CN111972722A (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 Weimei Electronic 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 Weimei Electronic Technology Co ltd filed Critical Shenzhen Weimei Electronic 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

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 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 generated after the seller client side verifies the second identification information stored by the second split component; and 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 the first split component, and the electronic cigarette is used for switching the locking state of the electronic cigarette into the unlocking state after detecting that the second split component is connected with the first split component and determining that the second identity identification information is matched with the first identity identification information, so that double authentication is realized, and the electronic cigarette is effectively prevented from being used by underage users for smoking other people.

Description

Control method and device of electronic cigarette, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic cigarette technologies, and in particular, to a method and apparatus for controlling an electronic cigarette, a computer device, and a storage medium.
Background
In the prior art, in order to prevent minors from sucking the electronic cigarette, before using the electronic cigarette, a user needs to download a client of a manufacturer corresponding to the electronic cigarette, register the client with a real name to verify the identity of the user, and send an unlocking instruction to the electronic cigarette through the client after the registration is successful, so that the user can use the electronic cigarette.
However, in the above method, the minor user or the illegal user can impersonate the identity information of the other person 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 foregoing, it is desirable to provide a control method, apparatus, computer device, and storage medium for an 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:
receiving first identity identification information sent by a server; 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 generated after the seller client verifies the second identification information stored by the second split component;
And 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 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 is matched with the first identity identification information, and switching a 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 login user age is greater than or equal to a preset threshold value, executing the step of sending the 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 inactive state, receiving an activation request of a login user, and responding to the activation request to generate a component activation instruction;
and sending the component activation instruction to the electronic cigarette so as to activate the first split component of the electronic cigarette.
Optionally, the method further comprises:
acquiring authentication function state information for a first split part;
When the authentication function state information is in an on state, determining a login user of a buyer client;
and if the login user is matched with the activation user of the second split component, executing the step of sending the 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 connection of the second split component and the first split component is detected, acquiring second identity identification information stored in the second split component and first identity identification information stored in the first split component and sent 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; the unlocking request is sent after the seller client verifies the second identification information stored by 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 to 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 for an electronic cigarette, the device comprising:
the first identity identification information receiving module is used for receiving the first identity identification information sent by the server; 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 generated after the seller client verifies the second identification information stored by 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 the first split component, and when the electronic cigarette detects that the second split component is connected with the first split component, the electronic cigarette determines that the second identity identification information is matched with the first identity identification information, and the locking state of the electronic cigarette is switched to the unlocking state.
A control system for an electronic cigarette, the system comprising:
the electronic cigarette comprises a first split component and a second split component; the second split part stores second identity information;
the seller client side is used for generating an unlocking request containing the second identification information after the second identification information stored in the electronic cigarette passes verification, and sending the unlocking request to the server side;
the server side is used for sending the first identity identification information to the buyer client side based on the second identity identification information after receiving the unlocking request;
the buyer client side 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 into a first split component, and switching a locking state of the electronic cigarette into an unlocking state when the second split component is detected to be connected with the first split component and the second identity identification information is determined to be matched with the first identity identification information.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method of controlling an e-cigarette as described above when the computer program is executed.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of controlling an e-cigarette as described above.
According to the control method, the device, the computer equipment and the storage medium of the electronic cigarette, after the second identity information of the second split component is verified by the seller client side, an unlocking request is generated and sent to the server side, after the server side receives the unlocking request, the first identity information is sent to the buyer client side based on the second identity information carried in the unlocking request, the buyer client side sends a writing instruction of the first identity information to the electronic cigarette after receiving the first identity information, the writing instruction triggers the electronic cigarette to store the first identity information into the first split component, and the electronic cigarette is connected with the first split component after detecting the second split component, determines that the second identity information is matched with the first identity information, switches the locking state of the electronic cigarette into the unlocking state, so that double authentication of the first split component and the second split component is realized, and the electronic cigarette can be normally used only when the electronic cigarette is subjected to double authentication through the seller client side and the first split component, and identity of underage or illegal users can be effectively prevented from using the electronic cigarette.
Drawings
FIG. 1 is an application environment diagram of a method of controlling an electronic cigarette in one embodiment;
FIG. 2 is a flow chart of a method for controlling an electronic cigarette according to an embodiment;
FIG. 3 is a flow chart of a battery activation step in one embodiment;
fig. 4 is a flow chart of a method for using an electronic cigarette according to another embodiment;
FIG. 5 is a flow chart of another method for controlling an electronic cigarette according to another embodiment;
FIG. 6 is a block diagram of an electronic cigarette control device according to an embodiment;
FIG. 7 is a block diagram of another electronic cigarette control device in one embodiment;
fig. 8 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The control method of the electronic cigarette can be applied to an 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 not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices 106, which may be implemented by a server or a server cluster composed of a plurality of servers.
The electronic cigarette 108 may include a first split component 1081 and a second split component 1082, and a control chip may be disposed in the electronic cigarette 108.
In one embodiment, as shown in fig. 2, a control method of an electronic cigarette is provided, and the method is applied to the terminal 102 for illustration, 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 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 generated after the seller client verifies the second identification information stored by the second split component.
As an example, the first identity information and the second identity information may be identities, by means of which the different second split components may be distinguished.
In a specific implementation, when the electronic cigarette user purchases the electronic cigarette in the electronic cigarette entity store, the seller can verify the identity of the electronic cigarette purchaser, after the verification is passed, the seller uses the seller client to verify the second identity information stored in the second split component, and after the verification is passed, the seller client can generate an unlocking request containing the second identity information and send the unlocking request to the server. After receiving the unlocking request, the server may send the first identity information to the terminal 102 based on the second identity information in the unlocking request, so that the terminal 102 may receive the first identity information; the first identity information and the second identity information may be the same, or the server may encrypt the second identity information and then generate the first identity information including the second identity information.
Step 202, a writing instruction of the first identity identification information is sent 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 component, and when the electronic cigarette detects that a second split component is connected with the first split component, the electronic cigarette determines that the second identity identification information is matched with the first identity identification information, and the locking state of the electronic cigarette is switched to the unlocking state.
As an example, the first split component and the second split component may be assembled and combined, so that the electronic cigarette can work normally, and in practical application, the first split component may be a battery device, the second split component may be an atomizer, or the first split component may be an atomizer, and the second split component may be a battery device. When the first split component and the second split component are separated, the electronic cigarette cannot work normally.
After receiving the first identity information, the terminal 102 may generate a write instruction including the first identity information, and send the write instruction to the electronic cigarette. After receiving the writing instruction, the electronic cigarette can read the first identity identification information from the writing instruction and store the first identity identification information into the first split component.
When the connection of the second split component and the first split component is detected, the electronic cigarette can acquire second identification information corresponding to the second split component, judge whether the second identification information is matched with the first identification information, and if so, switch the electronic cigarette from the current locking state to the unlocking state so that the electronic cigarette can be normally used; if not, the electronic cigarette may return the unlocking failure information to the terminal 102.
In this embodiment, after the second identity information of the second split component is verified by the seller client, an unlocking request is generated and sent to the server, after the server receives the unlocking request, based on the second identity information carried in the unlocking request, the first identity information is sent, after the first identity information is received by the terminal, a writing instruction of the first identity information is sent to the electronic cigarette, the writing instruction triggers the electronic cigarette to store the first identity information into the first split component, and when the electronic cigarette detects that the second split component is connected with the first split component, the second identity information is acquired, and when the second identity information is matched with the first identity information, the locking state of the electronic cigarette is switched to an unlocking state, so that double authentication of the first split component and the second split component is realized, and when the double authentication of the first split component is passed through the seller client, the electronic cigarette can be normally used, and underage users or illegal users can be effectively prevented from using the electronic cigarette by using other identities.
In practical applications, the terminal 102 in fig. 1 is a terminal corresponding to a buyer, and the buyer terminal 102 is provided with a buyer client; the terminal 104 is a terminal corresponding to the 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 the seller client verifies the second identity information, and after sending an unlocking request to the server, the server sends the first identity information generated based on the second identity information to the buyer client, and the buyer client sends a writing instruction of the first identity information to the electronic cigarette.
Alternatively, the terminal 102 and the terminal 104 in fig. 1 may both be corresponding terminals of the buyer. Specifically, the terminals 102 and 104 may have vendor clients installed thereon. After the seller client sends the unlocking request containing the second identity information to the server, the server can send the first identity information generated based on the second identity information to the seller client because the seller has verified the legal identity of the purchaser of the electronic cigarette, and the seller client sends a writing instruction of the first identity information to the electronic cigarette, so that the whole verification process of the electronic cigarette can be independently completed by the seller client.
In one embodiment, the terminal 102 is a corresponding terminal of 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 login user age is greater than or equal to a preset threshold value, executing the step of sending the 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, so that the electronic cigarette is prevented from being used by minors.
Specifically, the buyer client side can acquire the login user age corresponding to the current login user, judge whether the login user age is greater than or equal to a preset threshold value, and if the login user age is greater than or equal to the preset threshold value, the buyer client side can send a writing instruction of the first identity identification information to the electronic cigarette; if the login user age is smaller than the preset threshold, the buyer client can generate verification failure information, and the verification failure information can prompt that the current login user age does not meet the preset threshold.
In this embodiment, the login user age corresponding to the buyer client is obtained, and the writing instruction of the first identity identification information is sent to the electronic cigarette when the login user age is greater than or equal to the preset threshold, so that whether the user has the condition of using the electronic cigarette or not is judged by the buyer client before the writing instruction is sent, and further identity verification is performed on the basis of verification by the seller client, so that the use of the electronic cigarette by the underage user is effectively prevented.
In one embodiment, as shown in fig. 3, the method may further include the steps of:
step 301, acquiring activation state information of the first split component.
As an example, the activation status information is used to characterize whether the first split component is in an activated state.
The first split component is in an inactive state before being started for the first time, and before a writing instruction is sent to the electronic cigarette, the buyer client side can acquire the active state information of the first split component and judge whether the current first split component is activated.
In practical application, a communication module may be disposed in the first split component, and communication between the buyer client and the first split component may be performed through a short-distance wireless communication manner, for example, bluetooth, wiFi, etc.
Step 302, if the activation state information is in an inactive state, receiving an activation request of a login user, and responding to the activation request, generating a component activation instruction.
If the activation state information is in an inactive state, the buyer client side can generate prompt information to remind the buyer user that the first split component 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.
And step 303, sending the component activation instruction to the electronic cigarette so as to activate the first split component of the electronic cigarette.
After the component activation instruction is generated, the buyer client can send the component activation instruction to the electronic cigarette, and the electronic cigarette can activate the first split component after receiving the component activation instruction, switch the unactivated state to the activated state and activate the first split component of the electronic cigarette. After the first split part of the electronic cigarette is activated, authentication of the login user on the first split part of the electronic cigarette can be achieved.
In this embodiment, the login user may activate the use authority 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 a first split part; when the authentication function state information is in an on state, determining a login user of a buyer client; and if the login user is matched with the activation user of the first split component, executing the step of sending the 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 split component is on.
In practical application, after activating the use authority of the first split component, the buyer can select whether to start the authentication function of the first split component, and after the buyer starts the authentication function, before using the electronic cigarette, the buyer client can perform identity authentication on the user requesting to use the electronic cigarette.
Specifically, when the electronic cigarette is reused, the buyer client side can acquire authentication function state information aiming at the first split component, when the authentication function state information is in an on state, the buyer client side determines a login user by acquiring information of a current login account, and if the login user is the same as an activation user of the first split component (namely, a login user activating the use permission of the first split component), the buyer client side can send a writing instruction of first identity identification information to the electronic cigarette; if the current login user is different from the login user activating the use authority 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 activating the use authority of the first split component, so that the current login user is an illegal user.
In this embodiment, if the current login user is matched with the login user activating the use authority of the first split component, a writing instruction of the first identity identification information can be sent to the electronic cigarette, so that identity identification is performed on the user using the first split component before each use of the electronic cigarette, whether the user has the use authority is judged, and the first split component can be effectively prevented from being picked up by others for use.
In one embodiment, a buyer can start the authentication function of the first split component or close the authentication function 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 embodiments of the present application will be exemplified below by way of an example, 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, where a control chip may be provided in the battery device, a storage 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 an outer package of the cartridge, and the two-dimensional code or the bar code is associated with the second identification information in the storage chip.
In a specific implementation, when a buyer purchases an electronic cigarette, a buyer client can acquire a login user account corresponding to the buyer client in a real-name registration mode, and specifically, the buyer can perform 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 a cigarette bullet, after verifying that the identity of the buyer is legal (namely, the buyer has the qualification of purchasing the electronic cigarette), a seller of the entity sales store can scan a two-dimensional code on the surface of the cigarette bullet or on an outer package of the cigarette bullet through a client side of the seller to acquire second identity identification information, a login user account of the buyer can be acquired, the second identity identification information and the login user account are sent to a cloud server, and the fact that the second identity identification information passes verification is indicated. When the second identification and the login user account are received, the cloud server can send the first identification information to the login user account based on the second identification information.
When buying the electronic cigarette, a buyer can log in the buyer client and is in communication connection with the battery equipment through Bluetooth or WiFi, real-name authentication is carried out on the battery equipment, the use authority of the battery equipment is activated, and after receiving the first identity identification information sent by the cloud server, the buyer client sends the first identity identification information to the battery equipment.
After the battery equipment receives the first identity identification information, the information can be stored in the control chip, when the insertion of the atomizer into the battery equipment is detected, the battery equipment can read the second identity identification information in the atomizer storage chip and judge whether the first identity identification information is consistent with the second identity identification information, and if so, the electronic cigarette can work normally; if not, the electronic cigarette cannot be used normally.
In one embodiment, as shown in fig. 5, a control method of an electronic cigarette is provided, and the method is applied to the electronic cigarette 108 in fig. 1 for illustration, and includes the following steps:
step 501, when it is detected that the second split component is connected to the first split component, obtaining second identity identification information stored in the second split component and first identity identification information stored in the first split component and sent 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; the unlocking request is sent after the seller client verifies the second identification information stored by the second split component.
In a specific implementation, the second split component may correspond to the second identification information, the different second split components have different second identification information, and the second split component may store the second identification information therein.
The seller client can verify the second identification information of the second split component, 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 side can send the first identity identification information to the buyer client side based on the second identity identification information in the unlocking request, so that the buyer client side can receive the first identity identification information; the first identity information is the same as the second identity information, or the server may encrypt the second identity information and then generate the first identity information including the second identity information.
After receiving the first identity identification information, the buyer client side can generate a writing instruction containing the first identity identification information and send the writing instruction to the electronic cigarette. After receiving the writing instruction, the electronic cigarette can read the first identity identification information from the writing instruction and store the first identity identification information into the first split component.
When the connection of the second split component and the first split component is detected, the electronic cigarette can acquire the stored second identity identification information from the second split component and the first identity identification information stored in the first split component and sent by the buyer client.
Step 502, when the first identity information is matched with the second identity information, switching the locking state of the electronic cigarette to the 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, if so, the electronic cigarette can be switched from the current locking state to the 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, after the second identity information of the second split component is verified by the seller client, an unlocking request is generated and sent to the server, after the server receives the unlocking request, based on the second identity information carried in the unlocking request, the first identity information is sent to the buyer client, after the first identity information is received by the buyer client, a writing instruction of the first identity information is sent to the electronic cigarette, the writing instruction triggers the electronic cigarette to store the first identity information into the first split component, and when the electronic cigarette detects that the second split component is connected with the first split component, the second identity information is obtained, and when the second identity information is matched with the first identity information, the locking state of the electronic cigarette is switched to an unlocking state, so that double authentication of the first split component and the second split component is realized, and when the double authentication of the first split component and the seller client is passed, the electronic cigarette can be normally used, and the electronic cigarette can be effectively prevented from being used by adult users or illegal users with other identities.
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.
Specifically, the second identification information may have a corresponding two-dimensional code, which may be attached to the surface of the second split part or the outer package of the second split part. When the seller sells the electronic cigarettes, after verifying that the buyer has the qualification of purchasing the electronic cigarettes, the seller client scans the two-dimensional codes, so that the second identity identification information can be verified, and when the seller client successfully scans the two-dimensional codes, the second identity identification information is confirmed to pass the verification.
In this embodiment, the seller client scans the two-dimensional code to verify the second identification information, so that the user corresponding to the seller client can verify the identity validity of the buyer user, and after the verification is passed, the second identification information is sent to the server, and the link of seller identification is added to prevent the use of the electronic cigarette by the underage user.
It should be understood that, although the steps in the flowcharts of fig. 1-5 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1-5 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 6, there is provided a control device for an electronic cigarette, the electronic cigarette including a first split part and a second split part, the device including:
a first identity identification information receiving module 601, configured to receive first identity identification information sent by a server; 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 generated after the seller client side verifies the second identification information stored by the second split component
The writing instruction sending module 602 is configured to send a writing instruction of the first identity identification information to the electronic cigarette, where the writing instruction is used to trigger the electronic cigarette to store the first identity identification information in the first split component, and when 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.
In one embodiment, further comprising:
The login user age acquisition module is used for acquiring the login user age corresponding to 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 the 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 inactive state and responding to the activation request to generate a component activation instruction;
and the activation instruction sending module is used for sending the component activation instruction to the electronic cigarette so as to activate the first split component of the electronic cigarette.
In one embodiment, further comprising:
an authentication function status information acquisition module configured to acquire authentication function status information for 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 the writing instruction sending module if the login user is matched with the activation user of the first split component.
In one embodiment, as shown in fig. 7, there is provided a control device for an electronic cigarette, the electronic cigarette including a first split part and a second split part, the device including:
an identification information obtaining module 701, configured to obtain, when it is detected that the second split component is connected to the first split component, second identification information stored in the second split component, and first identification information sent by a buyer client and stored in the first split component; 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 verifies the second identification information stored by the second split component;
and the unlocking module 702 is configured to switch the locking state of the electronic cigarette to an unlocking state when the first identity information matches with 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 a specific limitation of the control device of an electronic cigarette, reference may be made to the limitation of the control method of an electronic cigarette hereinabove, and the description thereof will not be repeated here. The modules in the control device of the electronic cigarette can be all or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, there is provided a control system for an electronic cigarette, the system comprising:
the electronic cigarette comprises a first split component and a second split component; the second split part stores second identity information;
the seller client side is used for generating an unlocking request containing the second identification information after the second identification information stored in the electronic cigarette passes verification, and sending the unlocking request to the server side;
the server side is used for sending the first identity identification information to the buyer client side based on the second identity identification information after receiving the unlocking request;
The buyer client side 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 into a first split component, and switching a locking state of the electronic cigarette into an unlocking state when the second split component is detected to be connected with the first split component and the second identity identification information is determined to be matched with the first identity identification information.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof 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 includes a non-volatile 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 the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements 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, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 8 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than 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 stored therein a computer program, the processor when executing the computer program performing the steps of:
receiving first identity identification information sent by a server; 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 generated after the seller client verifies the second identification information stored by the second split component;
and 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 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 is matched with the first identity identification information, and switching a locking state of the electronic cigarette into an unlocking state.
In one embodiment, the steps of the other embodiments described above are also implemented when the processor executes a computer program.
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 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 generated after the seller client verifies the second identification information stored by the second split component;
and 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 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 is matched with the first identity identification information, and switching a locking state of the electronic cigarette into an unlocking state.
In one embodiment, the computer program, when executed by a processor, also implements the steps of the other embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. 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 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 generated after the seller of the electronic cigarette verifies the second identification information stored by the second split component through a seller client;
After receiving the first identity identification information, generating a writing instruction containing the first identity identification information, and sending the writing instruction containing 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 component, and when the electronic cigarette detects that a 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, switching the locking state of the electronic cigarette into an unlocking state.
2. The method as recited in claim 1, further comprising:
acquiring the age of a login user corresponding to a buyer client;
and if the login user age is greater than or equal to a preset threshold value, executing the step of sending a writing instruction containing the first identity identification information to the electronic cigarette.
3. The method as recited in claim 1, further comprising:
acquiring activation state information of the first split component;
if the activation state information is in an inactive state, receiving an activation request of a login user, and responding to the activation request to generate a component activation instruction;
And sending the component activation instruction to the electronic cigarette so as to activate the first split component of the electronic cigarette.
4. A method according to claim 3, further comprising:
acquiring authentication function state information for a first split part;
when the authentication function state information is in an on state, determining a login user of a buyer client;
and if the login user is matched with the activation user of the first split component, executing the step of sending a writing instruction containing the first identity identification information to the electronic cigarette.
5. 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 connection of the second split component and the first split component is detected, acquiring second identity identification information stored in the second split component and first identity identification information stored in the first split component and sent 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; the unlocking request is sent by a seller of the electronic cigarette after the second identity information stored by the second split component is verified by a seller client; the first identity identification information is read from a received writing instruction containing the first identity identification information by the electronic cigarette and is stored in the first split component; the writing instruction is generated after the buyer client receives the first identity identification information sent by the server and is sent to the electronic cigarette;
And when the first identity identification information is matched with the second identity identification information, switching the locking state of the electronic cigarette to an unlocking state.
6. The method of claim 5, wherein 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.
7. An electronic cigarette control device, the device comprising:
the first identity identification information receiving module is used for receiving the first identity identification information sent by the server; 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 generated after the seller of the electronic cigarette verifies the second identification information stored by the second split component through the seller client;
the electronic cigarette comprises a first split component, a first identity identification information and a second split component, wherein the first split component is used for being connected with the first split component, the second split component is used for being connected with the first split component, the first split component is connected with the second split component, the second split component is connected with the first split component, and the second split component is connected with the first split component.
8. A control system for an electronic cigarette, the system comprising:
the electronic cigarette comprises a first split component and a second split component; the second split part stores second identity information;
the seller client side is used for generating an unlocking request containing the second identification information after the second identification information stored in the electronic cigarette passes verification, and sending the unlocking request to the server side;
the server side is used for sending the first identity identification information to the buyer client side based on the second identity identification information after receiving the unlocking request;
the buyer client side is used for generating a writing instruction containing the first identity identification information after receiving the first identity identification information and sending the writing instruction to the electronic cigarette;
the electronic cigarette is further configured to read the first identity identification information from the write command after receiving the write command, store the first identity identification information to a first split component, and switch the locking state of the electronic cigarette to the unlocking state when detecting that the second split component is connected with the first split component and determining that the second identity identification information is matched with the first identity identification information.
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, carries out the steps of the method of controlling an e-cigarette according to any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the control method of an electronic cigarette as claimed in 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 CN111972722A (en) 2020-11-24
CN111972722B true 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 (10)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020092245A1 (en) * 2018-10-29 2020-05-07 Zorday IP, LLC Network-enabled electronic cigarette

Patent Citations (10)

* 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
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
CN111972722A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
US11323260B2 (en) Method and device for identity verification
US10447839B2 (en) Device locator disable authentication
JP5978307B2 (en) Secure data access based on policy compliance
US9344896B2 (en) Method and system for delivering a command to a mobile device
CN106453205B (en) identity verification method and device
CN108200089A (en) Implementation method, device, system and the storage medium of information security
US9600671B2 (en) Systems and methods for account recovery using a platform attestation credential
US20160048460A1 (en) Remote load and update card emulation support
CN108763888B (en) User profile processing method and device, computer equipment and storage medium
CN112313983A (en) User authentication using companion device
CN105101205A (en) One-click login authentication method, device and system
CN108475304A (en) A kind of method, apparatus and mobile terminal of affiliate application and biological characteristic
CN104899496B (en) data reading method and terminal thereof
US9397995B2 (en) Information processing apparatus and user authentication method
CN111131208B (en) Third-party service application login method and device, computer equipment and storage medium
CN108494749A (en) Method, apparatus, equipment and the computer readable storage medium of IP address disabling
CN111972722B (en) Control method and device of electronic cigarette, computer equipment and storage medium
CN112543194B (en) Mobile terminal login method and device, computer equipment and storage medium
CN114448722A (en) Cross-browser login method and device, computer equipment and storage medium
CN110636493B (en) Information backup method, device and equipment of virtual SIM card and storage medium
CN113297559A (en) Single sign-on method and device, computer equipment and storage medium
CN111740980B (en) Method and device for logging in application, mobile terminal and storage medium
CN113595871B (en) Account login method and device, computer equipment and storage medium
WO2018017019A1 (en) Personal security device and method
CN104134025A (en) Mobile terminal locking method and device based on SIM cards and mobile 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