WO2015180049A1 - 一种信息推送方法以及通信系统 - Google Patents
一种信息推送方法以及通信系统 Download PDFInfo
- Publication number
- WO2015180049A1 WO2015180049A1 PCT/CN2014/078605 CN2014078605W WO2015180049A1 WO 2015180049 A1 WO2015180049 A1 WO 2015180049A1 CN 2014078605 W CN2014078605 W CN 2014078605W WO 2015180049 A1 WO2015180049 A1 WO 2015180049A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user terminal
- electronic cigarette
- information
- remaining amount
- user
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004891 communication Methods 0.000 title claims abstract description 25
- 239000003571 electronic cigarette Substances 0.000 claims abstract description 264
- 239000007788 liquid Substances 0.000 claims abstract description 12
- 239000000779 smoke Substances 0.000 claims description 124
- 230000000391 smoking effect Effects 0.000 claims description 30
- 230000001939 inductive effect Effects 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 4
- 239000000523 sample Substances 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 description 12
- 235000019504 cigarettes Nutrition 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000003068 static effect Effects 0.000 description 5
- 210000004556 brain Anatomy 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0251—Targeted advertisements
- G06Q30/0255—Targeted advertisements based on user history
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/50—Control or monitoring
- A24F40/53—Monitoring, e.g. fault detection
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/65—Devices with integrated communication means, e.g. wireless communication means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01P—MEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
- G01P13/00—Indicating or recording presence, absence, or direction, of movement
- G01P13/0006—Indicating or recording presence, absence, or direction, of movement of fluids or of granulous or powder-like substances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- A—HUMAN NECESSITIES
- A24—TOBACCO; CIGARS; CIGARETTES; SIMULATED SMOKING DEVICES; SMOKERS' REQUISITES
- A24F—SMOKERS' REQUISITES; MATCH BOXES; SIMULATED SMOKING DEVICES
- A24F40/00—Electrically operated smoking devices; Component parts thereof; Manufacture thereof; Maintenance or testing thereof; Charging means specially adapted therefor
- A24F40/10—Devices using liquid inhalable precursors
Definitions
- the embodiments of the present invention relate to the field of communications, and in particular, to an information pushing method and a communication system.
- E-cigarettes are a new type of electronic product that has a similar appearance to ordinary cigarettes and a similar taste to cigarettes, but e-cigarettes are healthier and more environmentally friendly than traditional cigarettes.
- e-cigarettes With the increasing number of users using e-cigarettes, users have put forward more requirements for the functions that e-cigarettes can provide.
- the existing e-cigarettes can detect the number of remaining ports that can be pumped at present, and will pass when the quantity is insufficient. Flashing or beeping prompts the user to increase the smoke.
- the electronic cigarette can detect the remaining number of ports that can still be drawn, when the number is insufficient, only the user is reminded, and the user is not provided with more information to facilitate the user to make a selection.
- Embodiments of the present invention provide an information pushing method and a communication system, which can accurately push information to a user to facilitate user selection.
- the user terminal Receiving, by the user terminal, the remaining amount information of the electronic cigarette sent by the electronic cigarette that is bound to the user terminal; the user terminal determining, according to the remaining amount information of the smoke oil, whether the remaining amount of the smoke oil is lower than a preset value, and if yes, The service platform sends the request information;
- the user terminal receives the electronic cigarette accessory information sent by the service platform and presents the information to the user.
- the method includes:
- the electronic cigarette determines whether the user is currently smoking electronic cigarettes, and if so, the electronic cigarette determines whether the client in the user terminal is in a standby state, and if in the standby state, the electronic cigarette passes through a wireless network
- the user terminal sends the smoke oil remaining amount information.
- the electronic cigarette determines whether the client in the user terminal is in a standby state package Includes:
- the electronic cigarette determines whether the client response message replied by the user terminal is received, and if yes, determines that the client in the user terminal is in a standby state.
- the sending, by the electronic cigarette, the remaining amount information of the smoke oil to the user terminal by using a wireless network includes:
- the electronic cigarette transmits valuePair type data to the user terminal through a wireless network, and the valuePair type data is used to represent the smoke oil remaining amount information.
- the sending, by the electronic cigarette, the remaining amount information of the smoke oil to the user terminal by using a wireless network includes:
- the electronic cigarette transmits JSON type data to the user terminal through a wireless network, and the JSON type data includes the smoke oil remaining amount information.
- the user terminal determines whether the remaining amount of the smoke oil is lower than a preset value, and includes:
- the user terminal converts the JSON type data into a JSONObject object
- the user terminal extracts the remaining amount information of the smoked oil from the JSONObject object according to the field identifier.
- the method before the sending the request information to the service platform, the method includes:
- the user terminal presents selection information to the user
- the user terminal triggers the step of sending the request information to the service platform;
- the user terminal stops performing the operation.
- the electronic smoke before the sending the electronic cigarette to the user terminal via the wireless network, the electronic smoke includes:
- the electronic cigarette counts its own sensor through the counter to determine the remaining number of the smoke oil, and uses the remaining number of the smoke oil as the remaining amount information of the smoke oil.
- the senor is an air flow sensing switch or a push button switch;
- the push button switch is a micro touch switch or an inductive switch.
- the sending, by the electronic cigarette, the remaining amount information of the smoke oil to the user terminal before the electronic cigarette comprises: performing detection to determine the remaining amount information of the smoke oil.
- the electronic cigarette is in a preset state that the electronic cigarette is perpendicular to a horizontal plane, or the electronic cigarette is parallel to a horizontal plane.
- the wireless network is a Bluetooth network, or a WIFI network, or an infrared network, or an NFC network.
- the user terminal is a mobile phone, or a personal computer, or a laptop computer, or a tablet computer.
- the communication system provided by the embodiment of the present invention includes:
- the electronic cigarette and the user terminal are bound by the user terminal, and the electronic cigarette is bound to the user terminal; the user terminal is configured to receive the remaining amount information of the smoked oil sent by the electronic cigarette, and determine according to the remaining amount information of the smoke oil Whether the remaining amount of the smoke oil is lower than a preset value, and if yes, sending the request information to the service platform, receiving the electronic cigarette accessory information sent by the service platform, and displaying the information to the user.
- the electronic cigarette is used to determine whether the user is currently smoking e-cigarette, and if so, whether the client in the user terminal is in a standby state, and if in the standby state, The user terminal transmits the smoke oil remaining amount information.
- the user terminal is further configured to display the selection information to the user;
- the user terminal triggers the function of sending the request information to the service platform;
- the user terminal stops performing the operation.
- the electronic cigarette is specifically used to count its own sensor by a counter to determine the remaining number of the smoke oil, and the remaining number of the smoke oil is used as the remaining amount information of the smoke oil.
- the senor is an air flow sensing switch or a push button switch
- the push button switch is a micro touch switch or an inductive switch.
- the level of the smoke oil level is detected to determine the remaining amount of the smoke oil.
- the electronic cigarette is in a preset state that the electronic cigarette is perpendicular to a horizontal plane, or the electronic cigarette is parallel to a horizontal plane.
- the wireless network is a Bluetooth network, or a WIFI network, or an infrared network, or an NFC network.
- the user terminal is a mobile phone, or a personal computer, or a laptop computer, or a tablet computer.
- the embodiments of the present invention have the following advantages:
- the user terminal may determine whether the remaining amount of the smoke oil is lower than a preset value, and if yes, send the request information to the service platform to display the service platform to the user.
- the feedback of the electronic cigarette accessory information enables the user to push the electronic cigarette accessory information that the user cares about when the remaining amount of the smoke oil is low, thereby realizing the accurate pushing of the information.
- FIG. 1 is a schematic diagram of an embodiment of an information pushing method provided by the present invention.
- FIG. 2 is a schematic diagram of another embodiment of an information pushing method provided by the present invention.
- FIG. 3 is a schematic diagram of another embodiment of an information pushing method provided by the present invention.
- FIG. 4 is a schematic diagram of a communication frame provided by the present invention.
- FIG. 5 is a schematic diagram of an embodiment of a communication system provided by the present invention.
- an embodiment of the information pushing method in the embodiment of the present invention includes:
- the user terminal receives the remaining amount information of the smoke oil sent by the electronic cigarette;
- the user terminal may be bound to the electronic cigarette in advance, and after the binding is completed, the user terminal may receive the remaining amount information of the smoked oil sent by the electronic cigarette.
- the user terminal determines whether the remaining amount of smoke oil is lower than a preset value, and if so, step 103 is performed, and if not, step 105 is performed;
- the user terminal may determine, according to the information, whether the remaining amount of the smoked oil in the electronic cigarette is preset with a preset value, and if yes, execute step 103; if not, perform the step 105.
- the user terminal sends the request information to the service platform.
- the user terminal may send the request information to the service platform to request the service platform to feed back the corresponding information.
- the user terminal receives the electronic cigarette accessory information sent by the service platform and displays the information to the user. After the user terminal sends the request information to the service platform, the service platform feeds back the corresponding electronic cigarette accessory information to the user terminal, and the user terminal can receive the electronic cigarette. The accessory information is displayed to the user.
- the user terminal performs other operations.
- the user terminal determines that the remaining amount of the smoke oil in the electronic cigarette is not lower than the preset value, it indicates that the current smoke oil is sufficient, and the user terminal can perform other operations, such as recording the current remaining amount of the smoke oil, or The user is presented with the current amount of remaining smoke oil, etc., which is not limited herein.
- the user terminal may determine whether the remaining amount of the smoked oil is lower than a preset value, and if yes, send the request information to the service platform to display the service platform feedback to the user.
- the information of the electronic cigarette accessories enables the user to push the information of the electronic cigarette accessories that the user cares about when the remaining amount of the smoke oil is low, thereby realizing the accurate pushing of the information.
- FIG. 2 another embodiment of the information pushing method in the embodiment of the present invention includes:
- the electronic cigarette detects the user status
- the e-cigarette can detect the user status of the user to analyze the current state of the user, for example, the user is smoking, the user is about to smoke, the user turns off the electronic cigarette, and the like, which is not limited herein.
- the electronic cigarette determines whether the user is currently smoking e-cigarette, and if so, step 203 is performed, and if not, step 201 is performed;
- the electronic cigarette After detecting the state of the user, the electronic cigarette can determine the current user state, thereby determining whether the user is currently smoking the electronic cigarette. If yes, step 203 can be performed. If not, step 201 can be repeated.
- the electronic cigarette can determine whether the user is currently smoking electronic cigarettes in various ways, for example, according to the working state of the atomizing component in the electronic cigarette, when the atomizing component is working, the user can be determined. E-cigarettes are currently being smoked.
- the battery power consumption speed is greater than a certain threshold, it may be determined that the user is currently smoking the electronic cigarette.
- the sensor in this embodiment may be an air flow sensor switch or a push button switch, or other types of switches, which are not limited herein.
- the button switch may be a micro touch switch or an inductive switch, or other types of switches, specifically There is no limit on the place.
- the electronic cigarette can also determine whether the user is smoking electronic cigarettes by other means, which is not limited herein.
- the electronic cigarette determines whether the client in the user terminal is in a standby state, and if so, step 205 is performed, and if not, step 204 is performed;
- the client in the user terminal bound to the electronic cigarette can be further detected.
- the user can bind his own electronic cigarette to the user terminal.
- the electronic cigarette can be connected through a Bluetooth connection, or a WIFI connection, or an infrared connection, or
- the NFC connection and other methods establish an association relationship with the user terminal.
- a client terminal such as an APP client, a web client, and the like, may be installed in the user terminal, and is not limited herein.
- the electronic cigarette stops operating and ends the process
- the electronic cigarette determines that the client in the user terminal is not in the standby state, the user turns off itself.
- the electronic cigarette sends the remaining amount information of the smoke oil to the user terminal through the wireless network;
- the electronic cigarette determines that the client in the user terminal is in the standby state, it indicates that the electronic cigarette can complete the data transmission with the user terminal, and the electronic cigarette transmits the remaining amount information of the smoke oil to the user terminal through the wireless network.
- the wireless network in this embodiment may be a Bluetooth network, a WIFI network, or an infrared network, or an NFC network, which is not limited herein.
- the user terminal determines whether the remaining amount of smoke oil is lower than a preset value, and if so, step 207 is performed, and if no, step 209 is performed;
- the user terminal may determine, according to the information, whether the remaining amount of the smoked oil in the electronic cigarette is preset with a preset value, and if yes, execute step 207; if not, perform the step 209.
- the user terminal sends the request information to the service platform.
- the user terminal may send the request information to the service platform to request the service platform to feed back the corresponding information.
- the user terminal receives the electronic cigarette accessory information sent by the service platform and displays the information to the user. After the user terminal sends the request information to the service platform, the service platform feeds back the corresponding electronic cigarette accessory information to the user terminal, and the user terminal can receive the electronic cigarette. The accessory information is displayed to the user.
- the electronic cigarette accessory information in this embodiment may be sales information of an electronic cigarette accessory (such as a cigarette oil, a battery pole, etc.), such as a mall location, a telephone, a promotion information, a product selling price, etc., and is not limited herein.
- sales information of an electronic cigarette accessory such as a cigarette oil, a battery pole, etc.
- a mall location such as a telephone, a promotion information, a product selling price, etc., and is not limited herein.
- the user terminal performs other operations.
- the user terminal may determine whether the remaining amount of the smoked oil is lower than a preset value, and if yes, send the request information to the service platform to display the service platform feedback to the user.
- the electronic cigarette accessory information enables the user to push the electronic cigarette accessory information that the user cares about when the remaining amount of the smoke oil is low, thereby realizing the accurate pushing of the information;
- the electronic cigarette can send the remaining amount information of the smoked oil to the user terminal when the user smokes, so that the remaining amount of the smoke oil is more accurate and more suitable for the user's needs.
- FIG. 3 another embodiment of the information pushing method in the embodiment of the present invention includes:
- the electronic cigarette detects the user status
- the electronic cigarette can detect the user status of the user, and analyze the current state of the user, for example, the user is smoking, the user is about to smoke, the user turns off the electronic cigarette, and the like, which is not limited herein.
- the electronic cigarette determines whether the user is currently smoking e-cigarette, and if so, step 303 is performed, and if not, step 301 is performed;
- the electronic cigarette After detecting the state of the user, the electronic cigarette can determine the current user state, thereby determining whether the user is currently smoking the electronic cigarette. If yes, step 303 can be performed. If not, step 301 can be repeatedly performed.
- the electronic cigarette can determine whether the user is currently smoking electronic cigarettes in various ways, for example, according to the working state of the atomizing component in the electronic cigarette, when the atomizing component is working, the user can be determined. E-cigarettes are currently being smoked.
- the battery power consumption speed is greater than a certain threshold, it may be determined that the user is currently smoking the electronic cigarette.
- the sensor in this embodiment may be an air flow sensor switch or a push button switch, or other types of switches, which are not limited herein.
- the button switch may be a micro touch switch or an inductive switch, or other types of switches, specifically There is no limit on the place.
- electronic cigarettes can also be judged by other means. Whether the household is smoking electronic cigarettes, the specifics are not limited here.
- the electronic cigarette determines whether the client in the user terminal is in the standby state, and if so, step 305 is performed, and if no, step 304 is performed;
- the client in the user terminal bound to the electronic cigarette can be further detected.
- the user can bind his own electronic cigarette to the user terminal.
- the electronic cigarette can communicate with the user terminal through a Bluetooth connection, a WIFI connection, an infrared connection, or an NFC connection. Establish an association.
- a client terminal such as an APP client, a web client, and the like, may be installed in the user terminal, and is not limited herein.
- the electronic cigarette may send a client probe message to the user terminal, and then, the electronic cigarette determines whether the client response message replied by the user terminal is received, and if yes, determines that the client in the user terminal is in a standby state, if not , it is determined that the client in the user terminal is not in the standby state.
- the electronic cigarette can determine whether the client in the user terminal is in a standby state in more ways, which is not limited herein.
- the user terminal in this embodiment may be a mobile phone, or a personal computer, or a laptop computer, or a tablet computer, or the like, and is not limited herein.
- the electronic cigarette determines that the client in the user terminal is not in the standby state, it means that the user closes the client by itself, or the user terminal is not currently turned on, or the user terminal does not currently have a network signal, and the electronic cigarette cannot be completed with the user terminal.
- the e-cigarette can stop the operation and end the current process.
- the electronic cigarette in this step may also activate the client by triggering signaling.
- the specific implementation manner is common knowledge of those skilled in the art, and is not here. Make a limit.
- the electronic cigarette sends the remaining amount information of the smoke oil to the user terminal through the wireless network;
- the electronic cigarette determines that the client in the user terminal is in the standby state, it indicates that the electronic cigarette can complete the data transmission with the user terminal, and the electronic cigarette transmits the remaining smoke oil to the user terminal through the wireless network. Quantity information.
- the wireless network in this embodiment may be a Bluetooth network, a WIFI network, or an infrared network, or an NFC network, which is not limited herein.
- the electronic cigarette can send the remaining amount information of the cigarette oil to the user terminal in various ways, for example, the following manner can be used:
- the electronic cigarette can send valuePair type data to the user terminal through the wireless network, and the valuePair type data is used to represent the remaining amount information of the smoke oil.
- the valuePair type data can be written as: ( "CigarOilLeft”, leftValue ), where leftValue is floating point data.
- the electronic cigarette can send JSON type data to the user terminal through the wireless network, and the JSON type data includes the remaining amount information of the smoke oil.
- the JSON type data can be written as: ⁇ "CigarOilLeft”: “leftValue” ⁇ , where leftValue is floating point data.
- the JSON mode has a large amount of data transmission
- the valuePair mode is suitable for the transmission of a single data. In actual applications, one of them can be selected for transmission, which is not limited herein.
- the electronic cigarette may transmit the remaining amount information of the smoked oil in other manners, which is not limited herein.
- the remaining amount information of the smoke oil needs to be acquired, and the obtaining manner can be as follows:
- the electronic cigarette can count its own sensor through the counter to determine the remaining number of the smoke oil, and use the remaining number of the smoke oil as the remaining amount information of the smoke oil.
- the sensor is an air flow sensing switch or a push button switch
- the push button switch is a micro touch switch or an inductive switch.
- the number of ports that can be pumped per time is generally fixed. For example, each time the oil can be filled with 100 ports, the electronic cigarette can pass the counter to the sensor of smoking (such as gas). The flow sensing switch or the push button switch is counted to determine how many ports the user has drawn, and the remaining number of the smoke oil is calculated as the remaining amount of the smoke oil.
- the electronic cigarette can be detected by the liquid level detector when the electronic cigarette is in a preset state to determine the remaining amount of the smoke oil.
- the electronic cigarette is in a preset state that the electronic cigarette is perpendicular to the horizontal plane, or the electronic cigarette is parallel to the horizontal plane.
- the electronic cigarette can detect the level of the smoke oil level when the electronic cigarette is perpendicular to the horizontal plane or parallel to the horizontal plane by the liquid level detector, thereby calculating the remaining amount of the smoke oil based on the height.
- the electronic cigarette can also calculate the remaining amount information of the smoked oil in other ways, which is not limited herein.
- step 306 the user terminal determines whether the remaining amount of smoke oil is lower than a preset value, and if so, step 307 is performed, and if no, step 311 is performed;
- the user terminal After the user terminal obtains the remaining amount information of the smoked oil sent by the electronic cigarette, the user can first analyze: If the data transmitted by the electronic cigarette is the valuePair type data, the user terminal can directly obtain the key value as a specific value according to the key name.
- the user terminal converts the JSON type data into a JSONObject object, and extracts a specific value from the JSONObject object according to the field identifier, and the following implementation manner can be used:
- JSONObject jsonObject new JSONObject ( result );
- step 307 may be performed. If the user terminal determines that the remaining amount of the smoke oil is not lower than the preset value, step 311 may be performed.
- the user terminal displays the selection information to the user.
- the user terminal may prompt the user that the remaining amount of the smoke oil is insufficient, and the selection information is displayed to enable the user to select whether Receive the information of the electronic cigarette accessories pushed by the service platform.
- step 309 determines whether the user allows the information to be pushed. If yes, step 309 is performed. Otherwise, step 311 is performed;
- the user terminal sends the request information to the service platform.
- the user terminal may send the request information to the service platform to request the service platform to feed back the corresponding information.
- the communication framework in this embodiment can be as shown in FIG. 4, the electronic cigarette is bound to the user terminal, and the user terminal is connected to the service platform through the communication network, and one service platform can provide services for the plurality of electronic cigarettes and the user terminal.
- the user terminal receives the electronic cigarette accessory information sent by the service platform and displays the information to the user. After the user terminal sends the request information to the service platform, the service platform feeds back the corresponding electronic cigarette accessory information to the user terminal, and the user terminal can receive the electronic cigarette. The accessory information is displayed to the user.
- the electronic cigarette accessory information in this embodiment may be sales information of an electronic cigarette accessory (such as a cigarette oil, a battery pole, etc.), such as a mall location, a telephone, a promotion information, a product selling price, etc., and is not limited herein.
- sales information of an electronic cigarette accessory such as a cigarette oil, a battery pole, etc.
- a mall location such as a telephone, a promotion information, a product selling price, etc., and is not limited herein.
- the user terminal can obtain information by using the following process:
- HttpEntity entity HttpUtil. getEntity ( url, null, HttpUtil.METHOD_GET );
- the specific implementation can be:
- HttpEntity entity null
- HttpClient client new DefaultHttpClient()
- the specific implementation can be:
- Cigarettes JSONUtil.JSONParse ( result );
- the user terminal may also obtain the electronic cigarette accessory information from the service platform for display by other means, which is not limited herein.
- the user terminal performs other operations.
- the user terminal may perform other operations, for example. If the current process is stopped, it is not limited here.
- steps 307 to 308 in this embodiment are optional steps.
- the user terminal may not prompt the user to select whether to allow the service platform to push information. And directly send the request information to the service platform, and display the electronic cigarette accessory information to the user.
- the user terminal may determine whether the remaining amount of the smoked oil is lower than a preset value, and if yes, send the request information to the service platform to display the service platform feedback to the user.
- the electronic cigarette accessory information enables the user to push the electronic cigarette accessory information that the user cares about when the remaining amount of the smoke oil is low, thereby realizing the accurate pushing of the information;
- the electronic cigarette can send the remaining amount information of the smoked oil to the user terminal when the user smokes, so that the remaining amount information of the smoke oil is more accurate and more suitable for the user's needs;
- the user terminal may be prompted to select whether to allow the service platform to push the information, so that the user's selection power can be fully guaranteed to avoid unnecessary interference to the user.
- the communications system in the embodiment of the present invention includes:
- the electronic cigarette 501, the user terminal 502, and the service platform 503, the electronic cigarette 501 is bound to the user terminal 502;
- the user terminal 502 is configured to receive the remaining amount information of the cigarette oil sent by the electronic cigarette 501, determine whether the remaining amount of the smoke oil is lower than a preset value according to the remaining amount information of the smoke oil, and if yes, send the request information to the service platform 503, and receive the service platform 503.
- the e-cigarette accessory information is sent and displayed to the user.
- the e-cigarette 501 in this embodiment may also be specifically configured to determine whether the user is currently smoking e-cigarettes, and if so, whether the client in the user terminal 502 is in a standby state, and if in the standby state, to the user terminal through the wireless network. 502 sends the remaining amount information of the smoke oil.
- the user terminal 502 can also be used to display the selection information to the user.
- the user terminal 502 triggers a function of transmitting the request information to the service platform 503;
- the user terminal 502 stops performing the operation.
- the electronic cigarette 501 is specifically used to count the sensors of the own by the counter to determine the remaining number of the smoke oil, and the remaining number of the smoke oil is used as the remaining amount information of the smoke oil.
- the inductor in this embodiment is an air flow sensing switch or a key switch
- the push button switch is a micro touch switch or an inductive switch.
- the electronic cigarette 501 is specifically configured to detect the level of the smoke oil level when the electronic cigarette 501 is in a preset state by the liquid level detector to determine the remaining amount of the smoke oil.
- the electronic cigarette 501 is in a preset state in which the electronic cigarette is perpendicular to the horizontal plane, or the electronic cigarette 501 is parallel to the horizontal plane.
- the wireless network in this embodiment is a Bluetooth network, or a WIFI network, or an infrared network, or an NFC network.
- the user terminal 502 is a mobile phone, or a personal computer, or a laptop computer, or a tablet computer.
- the electronic cigarette 501 can detect the user status of the user to analyze the current state of the user, for example, the user is smoking, the user is going to smoke, the user turns off the electronic cigarette, and the like, which is not limited herein.
- the electronic cigarette 501 After detecting the state of the user, the electronic cigarette 501 can determine the current user state, thereby determining whether the user is currently smoking electronic cigarettes.
- the electronic cigarette 501 can determine whether the user is currently smoking electronic cigarettes in various ways, for example, according to the working state of the atomizing component in the electronic cigarette 501, and when the atomizing component is working, the user can be determined. E-cigarettes are currently being smoked.
- the sensor in the electronic cigarette 501 may be judged according to the working state of the sensor in the electronic cigarette 501, and when the sensor is working, it may be determined that the user is currently smoking the electronic cigarette.
- the pool power consumption speed is greater than a certain threshold, it may be determined that the user is currently smoking the electronic cigarette.
- the sensor in this embodiment may be an air flow sensor switch or a push button switch, or other types of switches, which are not limited herein, wherein the button switch may be a micro touch switch or an inductive switch, or His type of switch is not limited here.
- the electronic cigarette 501 can determine whether the user is smoking electronic cigarettes by other means, which is not limited herein.
- the electronic cigarette 501 can further detect the client in the user terminal 502 bound to the electronic cigarette 501 after determining that the user is smoking the electronic cigarette.
- the user can bind the electronic cigarette 501 to the user terminal 502.
- the electronic cigarette 501 can be connected through a Bluetooth connection, a WIFI connection, an infrared connection, or an NFC connection.
- An association relationship is established with the user terminal 502.
- the client terminal 502 can be installed with a client, such as an APP client, a web client, and the like.
- the electronic cigarette 501 can send a client probe message to the user terminal 502, and then, the electronic cigarette 501 determines whether the client response message replied by the user terminal 502 is received, and if yes, determines that the client in the user terminal 502 is In the standby state, if not, it is determined that the client in the user terminal 502 is not in the standby state.
- the e-cigarette 501 can determine whether the client in the user terminal 502 is in a standby state in a more specific manner, which is not limited herein.
- the user terminal 502 in this embodiment may be a mobile phone, or a personal computer, or a laptop computer, or a tablet computer, or the like, and is not limited herein.
- the electronic cigarette 501 determines that the client in the user terminal 502 is not in the standby state, the user turns off the client, or the user terminal 502 is not currently powered on, or the user terminal 502 does not currently have a network signal, and the electronic cigarette 501 cannot Upon completion of the data transfer with the user terminal, the electronic cigarette 501 can stop the operation and end the current flow.
- the e-cigarette 501 in this step may also activate the client by triggering signaling, and the specific implementation manner is common knowledge of those skilled in the art, where Not limited.
- the wireless network in this embodiment may be a Bluetooth network, a WIFI network, or an infrared network, or an NFC network, which is not limited herein.
- the electronic cigarette 501 can send the remaining amount information of the cigarette oil to the user terminal 502 in various ways, for example, by using the following methods:
- the electronic cigarette 501 can send valuePair type data to the user terminal through the wireless network, and the valuePair type data is used to represent the smoke oil remaining amount information.
- the valuePair type data can be written as: ( "CigarOilLeft”, leftValue ), where leftValue is floating point data.
- the electronic cigarette 501 can send JSON type data to the user terminal through the wireless network, and the JSON type data includes the remaining amount information of the smoke oil.
- the JSON type data can be written as: ⁇ "CigarOilLeft”: “leftValue” ⁇ , where leftValue is floating point data.
- the JSON mode has a large amount of data transmission
- the valuePair mode is suitable for the transmission of a single data. In actual applications, one of them can be selected for transmission, which is not limited herein.
- the electronic cigarette 501 can transmit the remaining amount information of the smoke oil in other manners, which is not limited herein.
- the remaining amount information of the smoke oil needs to be acquired, and the obtaining manner can be as follows:
- the electronic cigarette 501 can count its own sensor by the counter to determine the remaining number of the smoke, and use the remaining number of the smoke as the remaining amount information of the smoked oil.
- the sensor is an air flow sensing switch or a push button switch
- the push button switch is a micro touch switch or an inductive switch.
- the number of ports that can be pumped per time is generally fixed. For example, each time the oil is filled, 100 can be pumped, and the electronic cigarette 501 can pass the counter to the sensor of smoking (for example, The airflow sensor switch or button switch is counted to determine how many ports the user has drawn, thereby calculating The remaining number of smoke oil is obtained as information on the remaining amount of smoke oil.
- the electronic cigarette 502 can detect the level of the smoke oil level when the electronic cigarette 501 is in a preset state by the liquid level detector to determine the remaining amount of the smoke oil.
- the electronic cigarette 501 is in a preset state that the electronic cigarette 501 is perpendicular to the horizontal plane, or the electronic cigarette
- the electronic cigarette 501 can detect the level of the smoke oil level when the electronic cigarette 501 is perpendicular to the horizontal plane or parallel to the horizontal plane by the liquid level detector, thereby calculating the remaining amount of the smoke oil based on the height.
- the electronic cigarette 501 can calculate the remaining amount information of the smoked oil in other manners, which is not limited herein.
- the solution can be first solved. If the data transmitted from the electronic cigarette 501 is valuePair type data, the user terminal 502 can directly obtain the key value as a specific value according to the key name.
- the user terminal 502 converts the JSON type data into a JSONObject object, and extracts a specific value from the JSONObject object according to the field identifier, and the following implementation manner can be used:
- JSONObject jsonObject new JSONObject ( result );
- the user terminal 502 may prompt the user that the remaining amount of the smoke oil is insufficient, and display selection information for making the user Choose whether to receive the e-cigarette accessories information pushed by the service platform.
- the user terminal 502 can send the request information to the service platform 503 to request the service platform 503 to feed back the corresponding information.
- the communication framework in this embodiment may be as shown in FIG. 4, the electronic cigarette 501 is bound to the user terminal 502, and the user terminal 502 is connected to the service platform 503 through a communication network, and one service platform 503 may be a plurality of electronic cigarettes 501 and user terminals. 502 provides services.
- the service platform 503 After the user terminal 502 sends the request information to the service platform 503, the service platform 503 will send the user to the user.
- the terminal 502 feeds back the corresponding electronic cigarette accessory information, and the user terminal 502 can receive the electronic cigarette accessory information and display it to the user.
- the electronic cigarette accessory information in this embodiment may be the sales information of the electronic cigarette accessory, such as the location of the shopping mall, the telephone, the promotion information, the product selling price, etc., which are not limited herein.
- the user terminal 502 can obtain information by using the following process:
- Cigarettes JSONUtil.JSONParse ( result );
- the user terminal 502 can also obtain the electronic cigarette accessory information from the service platform 503 for display by other means, which is not limited herein.
- the user terminal 502 may perform other operations, such as stopping the current The process is not limited here.
- the user terminal 502 can determine whether the remaining amount of the smoked oil is lower than a preset value, and if yes, send the request information to the service platform 503 to display to the user.
- the electronic cigarette accessory information fed back by the service platform enables the user to push the electronic cigarette accessory information that the user cares about when the remaining amount of the smoke oil is low, thereby realizing the accurate pushing of the information; secondly, the electronic cigarette 501 can be presented to the user when the user smokes.
- the terminal 502 sends the remaining amount information of the smoke oil, so that the remaining amount information of the smoke oil is more accurate and more in line with the needs of the user;
- the user terminal 502 can prompt the user to select whether to allow the service platform to push the information when determining that the remaining amount of the smoke oil is lower than the preset value, so that the user's selection power can be fully guaranteed to avoid unnecessary interference to the user.
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
一种信息推送方法以及通信系统,其中,所述信息推送方法包括以下步骤:用户终端接收已与所述用户终端绑定的电子烟发送的烟油剩余量信息(101);所述用户终端根据所述烟油剩余量信息判断烟油剩余量是否低于预置数值(102),若是,则向服务平台发送请求信息(103);所述用户终端接收所述服务平台发送的电子烟配件信息并向用户进行展示(104)。
Description
一种信息推送方法以及通信系统 技术领域
本发明实施例涉及通信领域, 尤其涉及一种信息推送方法以及通信系统。
背景技术
电子烟是一种新型的电子产品, 其与普通的香烟有着相似的外观, 以及与 香烟相似的味道, 但是电子烟相对于传统的香烟更为的健康以及环保。
随着使用电子烟的用户越来越多,用户对电子烟所能提供的功能也提出了 更多的要求,现有的电子烟可以检测当前还能抽的剩余口数, 当数量不足时会 通过闪灯或是发出提示音等方式提示用户增加烟油。
上述现有技术中, 虽然电子烟可以对当前还能抽的剩余口数进行检测,但 是当数量不足时仅会提醒用户,而并不能够为用户提供更多的信息以方便用户 进行选择。
发明内容
本发明实施例提供了一种信息推送方法以及通信系统,能够准确的向用户 推送信息以方便用户进行选择。
本发明实施例提供的信息推送方法, 包括:
用户终端接收已与所述用户终端绑定的电子烟发送的烟油剩余量信息; 所述用户终端根据所述烟油剩余量信息判断烟油剩余量是否低于预置数 值, 若是, 则向服务平台发送请求信息;
所述用户终端接收所述服务平台发送的电子烟配件信息并向用户进行展 示。
可选地,所述用户终端接收已与所述用户终端绑定的电子烟发送的烟油剩 余量信息之前包括:
所述电子烟判断所述用户当前是否正在抽电子烟, 若是, 则所述电子烟判 断所述用户终端中的客户端是否处于待机状态, 若处于待机状态, 则所述电子 烟通过无线网络向所述用户终端发送所述烟油剩余量信息。
可选地, 所述电子烟判断所述用户终端中的客户端是否处于待机状态包
括:
所述电子烟向所述用户终端发送客户端探测消息;
所述电子烟判断是否接收到所述用户终端回复的客户端响应消息, 若是, 则确定所述用户终端中的客户端处于待机状态。
可选地,所述电子烟通过无线网络向所述用户终端发送所述烟油剩余量信 息包括:
所述电子烟通过无线网络向所述用户终端发送 valuePair类型数据, 所述 valuePair类型数据用以表示所述烟油剩余量信息。
可选地,所述电子烟通过无线网络向所述用户终端发送所述烟油剩余量信 息包括:
所述电子烟通过无线网络向所述用户终端发送 JSON 类型数据, 所述 JSON类型数据中包含所述烟油剩余量信息。
可选地,所述用户终端根据所述烟油剩余量信息判断烟油剩余量是否低于 预置数值之前包括:
所述用户终端将所述 JSON类型数据转换为 JSONObject对象;
所述用户终端根据字段标识从所述 JSONObject对象中提取出所述烟油剩 余量信息。
可选地, 所述向服务平台发送请求信息之前包括:
所述用户终端向所述用户展示选择信息;
若所述用户选择允许服务平台推送信息,则所述用户终端触发所述向服务 平台发送请求信息的步骤;
若所述用户选择不允许服务平台推送信息, 则所述用户终端停止执行操 作。
可选地,所述电子烟通过无线网络向所述用户终端发送所述烟油剩余量信 息之前包括:
所述电子烟通过计数仪对自身的感应器进行计数以确定烟油剩余口数,并 将所述烟油剩余口数作为烟油剩余量信息。
可选地, 所述感应器为气流感应开关或按键开关;
所述按键开关为微触开关或感应开关。
可选地,所述电子烟通过无线网络向所述用户终端发送所述烟油剩余量信 息之前包括: 进行检测, 以确定所述烟油剩余量信息。
可选地, 所述电子烟处于预置状态为所述电子烟垂直于水平面, 或所述电 子烟平行于水平面。
可选地, 所述无线网络为蓝牙网络, 或 WIFI 网络, 或红外线网络, 或 NFC网络。
可选地, 所述用户终端为手机、或个人电脑、或笔记本电脑、或平板电脑。 本发明实施例提供的通信系统, 包括:
电子烟、 用户终端以 良务平台, 所述电子烟与所述用户终端绑定; 所述用户终端用于接收所述电子烟发送的烟油剩余量信息,根据所述烟油 剩余量信息判断烟油剩余量是否低于预置数值, 若是, 则向所述服务平台发送 请求信息, 接收所述服务平台发送的电子烟配件信息并向用户进行展示。
可选地, 所述电子烟用于判断所述用户当前是否正在抽电子烟, 若是, 则 判断所述用户终端中的客户端是否处于待机状态, 若处于待机状态, 则通过无 线网络向所述用户终端发送所述烟油剩余量信息。
可选地, 所述用户终端还用于向所述用户展示选择信息;
若所述用户选择允许服务平台推送信息,则所述用户终端触发所述向服务 平台发送请求信息的功能;
若所述用户选择不允许服务平台推送信息, 则所述用户终端停止执行操 作。
可选地,所述电子烟具体用于通过计数仪对自身的感应器进行计数以确定 烟油剩余口数, 并将所述烟油剩余口数作为烟油剩余量信息。
可选地, 所述感应器为气流感应开关或按键开关;
所述按键开关为微触开关或感应开关。
时烟油液面高度进行检测, 以确定所述烟油剩余量信息。
可选地, 所述电子烟处于预置状态为所述电子烟垂直于水平面, 或所述电 子烟平行于水平面。
可选地, 所述无线网络为蓝牙网络, 或 WIFI 网络, 或红外线网络, 或 NFC网络。
可选地, 所述用户终端为手机、或个人电脑、或笔记本电脑、或平板电脑。 从以上技术方案可以看出, 本发明实施例具有以下优点:
本发明实施例中, 用户终端接收到电子烟发送的烟油剩余量信息之后, 可 以判断烟油剩余量是否低于预置数值, 若是, 则向服务平台发送请求信息, 以 向用户展示服务平台反馈的电子烟配件信息,使得烟油剩余量较低的时候可以 向用户推送用户关心的电子烟配件信息, 从而实现信息的精确推送。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明所提供的信息推送方法一个实施例示意图;
图 2为本发明所提供的信息推送方法另一实施例示意图;
图 3为本发明所提供的信息推送方法另一实施例示意图;
图 4为本发明所提供的通信框架示意图;
图 5为本发明所提供的通信系统一个实施例示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
请参阅图 1, 本发明实施例中的信息推送方法一个实施例包括:
101、 用户终端接收电子烟发送的烟油剩余量信息;
本实施例中, 用户终端可以预先与电子烟进行绑定, 绑定完成后, 用户终 端可以接收该电子烟发送的烟油剩余量信息。
102、用户终端判断烟油剩余量是否低于预置数值,若是,则执行步骤 103, 若否, 则执行步骤 105;
用户终端在获取到电子烟发送的烟油剩余量信息之后,可以根据该信息判 断该电子烟中的烟油剩余量是否预置预置数值,若是, 则执行步骤 103,若否, 则执行步骤 105。
103、 用户终端向服务平台发送请求信息;
本实施例中, 若用户终端确定该电子烟中的烟油剩余量低于预置数值, 则 说明当前烟油不足, 用户终端可以向服务平台发送请求信息, 以请求服务平台 反馈相应的信息。
104、 用户终端接收服务平台发送的电子烟配件信息并向用户进行展示; 用户终端向服务平台发送请求信息之后,服务平台会向用户终端反馈相应 的电子烟配件信息, 则用户终端可以接收电子烟配件信息并向用户进行展示。
105、 用户终端执行其他操作。
本实施例中, 若用户终端确定该电子烟中的烟油剩余量不低于预置数值, 则说明当前烟油充足, 用户终端可以执行其他操作, 例如记录当前的烟油剩余 量, 或是向用户展示当前的烟油剩余量等, 具体此处不做限定。
本实施例中, 用户终端接收到电子烟发送的烟油剩余量信息之后, 可以判 断烟油剩余量是否低于预置数值, 若是, 则向服务平台发送请求信息, 以向用 户展示服务平台反馈的电子烟配件信息,使得烟油剩余量较低的时候可以向用 户推送用户关心的电子烟配件信息, 从而实现信息的精确推送。
下面对本发明实施例中的信息推送方法进行详细描述, 请参阅图 2, 本发 明实施例中的信息推送方法另一实施例包括:
201、 电子烟检测用户状态;
本实施例中, 电子烟可以对用户的用户状态进行检测, 以分析用户的当前 状态, 例如用户正在抽烟、 用户将要抽烟、 用户关闭了电子烟等, 具体此处不 做限定。
202、 电子烟判断用户当前是否正在抽电子烟, 若是, 则执行步骤 203, 若否, 则执行步骤 201 ;
电子烟对用户状态进行检测后, 可以确定当前的用户状态,从而判断用户 当前是否正在抽电子烟, 若是, 则可以执行步骤 203, 若否, 则可以继续重复 执行步骤 201。
需要说明的是, 电子烟可以有多种方式判断用户当前是否正在抽电子烟, 例如可以才艮据电子烟中雾化组件的工作状态来判断, 当雾化组件正在工作时, 则可以确定用户当前正在抽电子烟。
或者,还可以根据电子烟中感应器的工作状态来判断, 当感应器正在工作 时, 则可以确定用户当前正在抽电子烟。
或者,还可以根据电子烟中的电池电量消耗速度来判断, 当池电量消耗速 度大于某一门限时, 则可以确定用户当前正在抽电子烟。
本实施例中的感应器可以为气流感应开关或按键开关,或者其他类型的开 关, 具体此处不做限定, 其中, 按键开关可以为微触开关或感应开关, 或者其 他类型的开关, 具体此处亦不做限定。
可以理解的是,在实际应用中, 电子烟还可以通过其他更多的方式判断用 户是否正在抽电子烟, 具体此处不做限定。
203、 电子烟判断用户终端中的客户端是否处于待机状态, 若是, 则执行 步骤 205, 若否, 则执行步骤 204;
电子烟确定用户正在抽电子烟之后,可以进一步对与该电子烟绑定的用户 终端中的客户端进行检测。
需要说明的是, 本实施例中, 用户可以将自己的电子烟与用户终端进行绑 定, 具体的, 电子烟可以通过蓝牙连接、 或 WIFI 连接、 或红外线连接、 或
NFC连接等方式与用户终端建立关联关系。
用户终端中可以安装有客户端, 例如 APP客户端、 网页客户端等, 具体 此处不做限定。
204、 电子烟停止操作, 并结束流程;
若电子烟确定用户终端中的客户端未处于待机状态,则说明用户自行关闭
了该客户端, 或是用户终端当前未开机、 或是用户终端当前没有网络信号, 电 子烟无法完成与用户终端之间的数据传输, 则电子烟可以停止操作, 并结束当 前流程。
205、 电子烟通过无线网络向用户终端发送烟油剩余量信息;
若电子烟确定用户终端中的客户端处于待机状态,则说明电子烟可以完成 与用户终端之间的数据传输,则电子烟通过无线网络向用户终端发送烟油剩余 量信息。
本实施例中的无线网络具体可以为蓝牙网络, 或 WIFI网络, 或红外线网 络, 或 NFC网络, 此处不做限定。
206、用户终端判断烟油剩余量是否低于预置数值,若是,则执行步骤 207, 若否, 则执行步骤 209;
用户终端在获取到电子烟发送的烟油剩余量信息之后,可以根据该信息判 断该电子烟中的烟油剩余量是否预置预置数值,若是, 则执行步骤 207,若否, 则执行步骤 209。
207、 用户终端向服务平台发送请求信息;
本实施例中, 若用户终端确定该电子烟中的烟油剩余量低于预置数值, 则 说明当前烟油不足, 用户终端可以向服务平台发送请求信息, 以请求服务平台 反馈相应的信息。
208、 用户终端接收服务平台发送的电子烟配件信息并向用户进行展示; 用户终端向服务平台发送请求信息之后,服务平台会向用户终端反馈相应 的电子烟配件信息, 则用户终端可以接收电子烟配件信息并向用户进行展示。
本实施例中的电子烟配件信息可以为电子烟配件 (例如烟油、 电池杆等) 的销售信息, 例如商城位置、 电话、 促销信息、 产品售价等, 具体此处不做限 定。
209、 用户终端执行其他操作。
本实施例中, 若用户终端确定该电子烟中的烟油剩余量不低于预置数值, 则说明当前烟油充足, 用户终端可以执行其他操作, 例如记录当前的烟油剩余 量, 或是向用户展示当前的烟油剩余量等, 具体此处不做限定。
本实施例中, 用户终端接收到电子烟发送的烟油剩余量信息之后, 可以判 断烟油剩余量是否低于预置数值, 若是, 则向服务平台发送请求信息, 以向用 户展示服务平台反馈的电子烟配件信息,使得烟油剩余量较低的时候可以向用 户推送用户关心的电子烟配件信息, 从而实现信息的精确推送;
其次, 电子烟可以在用户抽烟时才向用户终端发送烟油剩余量信息,使得 烟油剩余量信息更加准确, 也更符合用户的需求。
为便于理解, 下面对本发明实施例中的信息推送方法进行进一步详细描 述, 请参阅图 3, 本发明实施例中的信息推送方法另一实施例包括:
301、 电子烟检测用户状态;
本实施例中, 电子烟可以对用户的用户状态进行检测, 以分析用户的当前 状态, 例如用户正在抽烟、 用户将要抽烟、 用户关闭了电子烟等, 具体此处不 做限定。
302、 电子烟判断用户当前是否正在抽电子烟, 若是, 则执行步骤 303, 若否, 则执行步骤 301 ;
电子烟对用户状态进行检测后, 可以确定当前的用户状态,从而判断用户 当前是否正在抽电子烟, 若是, 则可以执行步骤 303, 若否, 则可以继续重复 执行步骤 301。
需要说明的是, 电子烟可以有多种方式判断用户当前是否正在抽电子烟, 例如可以才艮据电子烟中雾化组件的工作状态来判断, 当雾化组件正在工作时, 则可以确定用户当前正在抽电子烟。
或者,还可以根据电子烟中感应器的工作状态来判断, 当感应器正在工作 时, 则可以确定用户当前正在抽电子烟。
或者,还可以根据电子烟中的电池电量消耗速度来判断, 当池电量消耗速 度大于某一门限时, 则可以确定用户当前正在抽电子烟。
本实施例中的感应器可以为气流感应开关或按键开关,或者其他类型的开 关, 具体此处不做限定, 其中, 按键开关可以为微触开关或感应开关, 或者其 他类型的开关, 具体此处亦不做限定。
可以理解的是,在实际应用中, 电子烟还可以通过其他更多的方式判断用
户是否正在抽电子烟, 具体此处不做限定。
303、 电子烟判断用户终端中的客户端是否处于待机状态, 若是, 则执行 步骤 305, 若否, 则执行步骤 304;
电子烟确定用户正在抽电子烟之后,可以进一步对与该电子烟绑定的用户 终端中的客户端进行检测。
需要说明的是, 本实施例中, 用户可以将自己的电子烟与用户终端进行绑 定, 具体的, 电子烟可以通过蓝牙连接、 或 WIFI 连接、 或红外线连接、 或 NFC连接等方式与用户终端建立关联关系。
用户终端中可以安装有客户端, 例如 APP客户端、 网页客户端等, 具体 此处不做限定。
本实施例中, 电子烟可以向用户终端发送客户端探测消息, 之后, 电子烟 判断是否接收到用户终端回复的客户端响应消息, 若是, 则确定用户终端中的 客户端处于待机状态, 若否, 则确定用户终端中的客户端未处于待机状态。
在实际应用中,电子烟还可以通过更多的方式确定用户终端中的客户端是 否处于待机状态, 具体此处不做限定。
本实施例中的用户终端可以为手机、 或个人电脑、 或笔记本电脑、 或平板 电脑, 或其他类似的设备, 具体此处不做限定。
304、 电子烟停止操作, 并结束流程;
若电子烟确定用户终端中的客户端未处于待机状态,则说明用户自行关闭 了该客户端, 或是用户终端当前未开机、 或是用户终端当前没有网络信号, 电 子烟无法完成与用户终端之间的数据传输, 则电子烟可以停止操作, 并结束当 前流程。
需要说明的是, 在本实施例中, 如果用户自行关闭了客户端, 则本步骤电 子烟也可以通过触发信令激活该客户端,具体实现方式为本领域技术人员的公 知常识, 此处不做限定。
305、 电子烟通过无线网络向用户终端发送烟油剩余量信息;
若电子烟确定用户终端中的客户端处于待机状态,则说明电子烟可以完成 与用户终端之间的数据传输,则电子烟通过无线网络向用户终端发送烟油剩余
量信息。
本实施例中的无线网络具体可以为蓝牙网络, 或 WIFI网络, 或红外线网 络, 或 NFC网络, 此处不做限定。
本实施例中, 电子烟可以通过多种方式将烟油剩余量信息发送至用户终 端, 例如可以釆用如下方式:
一、 通过 valuePair方式发送:
具体的, 电子烟可以通过无线网络向用户终端发送 valuePair类型数据, 该 valuePair类型数据用以表示烟油剩余量信息。
该 valuePair类型数据可以写为:( "CigarOilLeft", leftValue ),其中, leftValue 为浮点型数据。
二、 通过 JSON方式发送:
具体的, 电子烟可以通过无线网络向用户终端发送 JSON 类型数据, 该 JSON类型数据中包含烟油剩余量信息。
该 JSON类型数据可以写为: { "CigarOilLeft": "leftValue" },其中, leftValue 为浮点型数据。
上述两种方式中, JSON方式数据传输量较大, valuePair方式适合单个数 据传值, 在实际应用中, 可以选择其中的一种进行传输, 具体此处不做限定。
需要说明的是, 除了上述的两种传输方式之外, 电子烟还可以釆用其他的 方式传输烟油剩余量信息, 具体此处不做限定。
本实施例中, 电子烟在向用户终端发送烟油剩余量信息之前,还需要获取 该烟油剩余量信息, 获取方式可以通过以下几种途径:
一、 通过感应器进行确定:
本方式中,电子烟可以通过计数仪对自身的感应器进行计数以确定烟油剩 余口数, 并将该烟油剩余口数作为烟油剩余量信息。
其中, 该感应器为气流感应开关或按键开关, 该按键开关为微触开关或感 应开关。
在实际应用中,每次填充的烟油能供抽的口数一般来说是固定的, 例如每 次注满烟油能够抽 100口, 则电子烟可以通过计数仪对吸烟的感应器(例如气
流感应开关或按键开关)进行计数, 以确定用户已抽了多少口, 从而计算得出 烟油剩余口数, 以此作为烟油剩余量信息。
二、 通过液面检测仪进行确定:
本方式中,电子烟可以通过液面检测仪对电子烟处于预置状态时烟油液面 高度进行检测, 以确定烟油剩余量信息。
其中, 电子烟处于预置状态为电子烟垂直于水平面, 或电子烟平行于水平 面。
电子烟可以通过液面检测仪检测电子烟垂直于水平面或平行于水平面时 的烟油液面高度, 从而根据该高度推算出烟油剩余量信息。
可以理解的是, 在实际应用中, 除了上述两种方式之外, 电子烟还可以釆 用其他的方式计算烟油剩余量信息, 具体此处不做限定。
306、用户终端判断烟油剩余量是否低于预置数值,若是,则执行步骤 307, 若否, 则执行步骤 311 ;
用户终端获取到电子烟发送的烟油剩余量信息之后可以先进行解析: 如果电子烟传来的数据是 valuePair类型数据, 则用户终端可以直接根据 键名获取键值作为具体数值。
如果电子烟传来的数据是 JSON类型数据, 则用户终端将 JSON类型数据 转换为 JSONObject对象,并根据字段标识从 JSONObject对象中提取出具体数 值, 可以釆用如下实现方式:
JSONObject jsonObject = new JSONObject ( result );
float oilLeft= ( float ) jsonObject.getDouble ( "code" )。
若用户终端确定烟油剩余量低于预置数值, 则可以执行步骤 307, 若用户 终端确定烟油剩余量不低于预置数值, 则可以执行步骤 311。
307、 用户终端向用户展示选择信息;
本实施例中, 若用户终端确定烟油剩余量低于预置数值, 则说明烟油剩余 量不足, 用户终端可以向用户提示烟油剩余量不足, 并且展示选择信息, 用以 使得用户选择是否接收服务平台推送的电子烟配件信息。
308、 用户终端判断用户是否允许推送信息, 若是, 则执行步骤 309, 若
否, 则执行步骤 311 ;
309、 用户终端向服务平台发送请求信息;
本实施例中, 若用户允许服务平台推送信息, 则用户终端可以向服务平台 发送请求信息, 以请求服务平台反馈相应的信息。
本实施例中的通信框架可以如图 4所示, 电子烟与用户终端绑定, 用户终 端通过通信网络连接到服务平台,一个服务平台可以为多个电子烟以及用户终 端提供服务。
310、 用户终端接收服务平台发送的电子烟配件信息并向用户进行展示; 用户终端向服务平台发送请求信息之后,服务平台会向用户终端反馈相应 的电子烟配件信息, 则用户终端可以接收电子烟配件信息并向用户进行展示。
本实施例中的电子烟配件信息可以为电子烟配件 (例如烟油、 电池杆等) 的销售信息, 例如商城位置、 电话、 促销信息、 产品售价等, 具体此处不做限 定。
本实施例中, 用户终端可以通过如下过程获取信息进行展示:
( 1 )通过 HTTP发送数据请求, 获取实体对象:
HttpEntity entity=HttpUtil. getEntity ( url, null, HttpUtil.METHOD_GET ); 具体的实现方式可以为:
public class HttpUtil {
public static final int METHOD—GET: 1 ;
public static final int METHOD_POST=2; public static HttpEntity getEntity(String uri,List<NameValuePair> params,int method) throws IOException{
HttpEntity entity =null;
HttpClient client=new DefaultHttpClient();
client.getParams().setParameter(CoreConnectionPNames. CONNECTION— TIMEOUT, 3000);
HttpUriRequest request=null;
}(¾0_3S'sn^lSdHH==()9p03smBlsl9§'()9unsn^lSl9§'9SUODS9J)JI
i(lS9nb9j)9ino9X9,iu9i =9Suods9J 9Suods9¾diiH
ί (s匿•red^ipugxmodpspoougiJQ } (OXiduigsrsuiBJBdi ¾>¾>nnu=i SUIBJB(J)JT
:丄 SOd aOH丄腦
i('¾')pTOd(¾'(()3ni¾\ §M d)pTOd(¾'
(=1) u9ddB,(()9uiBjss[i9§,jred) u9ddB,qs
} (OXiduigsrsuiBJBdi ¾>¾>nnu=i SUIBJB(J)JT
:丄 39 αθΗ丄腦
} (poq ui) qojT S
一 εΐ— 98.0/M0ZN3/X3d 6l7008l/SlOZ OAV
( 2 )将实体对象转换为流对象, 以方便进行 JSON解析:
InputStream is=HttpUtil.getStream ( entity );
具体的实现方式可以为:
public static InputStream getStream(HttpEntity entity )throws IOException{ InputStream in=null;
if(entity!=null){
in=entity.getContent(); return in;
}
public static long getLength(HttpEntity entity) {
long len=0;
if(entity!=null){
len=entity.getContentLength();
}
return len;
( 3 )进行 JSON解析, 将流对象转换为字符串:
String result: JSONUtil.getData ( is );
( 4 )获取所需的相关产品对象:
cigarettes=JSONUtil.JSONParse ( result );
( 5 )获取到产品对象后就可以进行展示。
需要说明的是,在实际应用中, 用户终端还可以通过其他的方式从服务平 台获取电子烟配件信息进行展示, 具体此处不足限定。
311、 用户终端执行其他操作。
本实施例中, 若用户终端确定该电子烟中的烟油剩余量不低于预置数值, 或者是用户选择不允许服务平台推送信息, 则用户终端可以执行其他操作, 例
如停止当前的流程, 具体此处不做限定。
需要说明的是,本实施例中的步骤 307至 308为可选步骤,在实际应用中, 用户终端在确定烟油剩余量低于预置数值时,可以不提示用户选择是否允许服 务平台推送信息, 而直接向服务平台发送请求信息, 并向用户展示电子烟配件 信息。
本实施例中, 用户终端接收到电子烟发送的烟油剩余量信息之后, 可以判 断烟油剩余量是否低于预置数值, 若是, 则向服务平台发送请求信息, 以向用 户展示服务平台反馈的电子烟配件信息,使得烟油剩余量较低的时候可以向用 户推送用户关心的电子烟配件信息, 从而实现信息的精确推送;
其次, 电子烟可以在用户抽烟时才向用户终端发送烟油剩余量信息,使得 烟油剩余量信息更加准确, 也更符合用户的需求;
再次, 用户终端在确定烟油剩余量低于预置数值时, 可以提示用户选择是 否允许服务平台推送信息, 所以能够充分保障用户的选择权力,避免对用户造 成不必要的干扰。
上面对本发明实施例中的信息推送方法进行了描述,下面对本发明实施例 中的通信系统进行描述, 请参阅图 5, 本发明实施例中的通信系统包括:
电子烟 501、用户终端 502以及服务平台 503,电子烟 501与用户终端 502 绑定;
用户终端 502用于接收电子烟 501发送的烟油剩余量信息,根据烟油剩余 量信息判断烟油剩余量是否低于预置数值, 若是, 则向服务平台 503发送请求 信息, 接收服务平台 503发送的电子烟配件信息并向用户进行展示。
本实施例中的电子烟 501 还可以具体用于判断用户当前是否正在抽电子 烟, 若是, 则判断用户终端 502中的客户端是否处于待机状态, 若处于待机状 态, 则通过无线网络向用户终端 502发送烟油剩余量信息。
本实施例中, 用户终端 502还可以用于向用户展示选择信息;
若用户选择允许服务平台推送信息, 则用户终端 502触发向服务平台 503 发送请求信息的功能;
若用户选择不允许服务平台推送信息, 则用户终端 502停止执行操作。
本实施例中,电子烟 501具体用于通过计数仪对自身的感应器进行计数以 确定烟油剩余口数, 并将烟油剩余口数作为烟油剩余量信息。
本实施例中的感应器为气流感应开关或按键开关;
按键开关为微触开关或感应开关。
本实施例中,电子烟 501具体用于通过液面检测仪对电子烟 501处于预置 状态时烟油液面高度进行检测, 以确定烟油剩余量信息。
本实施例中, 电子烟 501处于预置状态为电子烟垂直于水平面, 或电子烟 501平行于水平面。
本实施例中的无线网络为蓝牙网络, 或 WIFI 网络, 或红外线网络, 或 NFC网络。
本实施例中, 用户终端 502为手机、 或个人电脑、 或笔记本电脑、 或平板 电脑。
为便于理解,下面以一具体应用场景对本发明实施例中的通信系统进行详 细描述:
本实施例中, 电子烟 501可以对用户的用户状态进行检测, 以分析用户的 当前状态, 例如用户正在抽烟、 用户将要抽烟、 用户关闭了电子烟等, 具体此 处不做限定。
电子烟 501对用户状态进行检测后, 可以确定当前的用户状态,从而判断 用户当前是否正在抽电子烟。
需要说明的是,电子烟 501可以有多种方式判断用户当前是否正在抽电子 烟, 例如可以根据电子烟 501中雾化组件的工作状态来判断, 当雾化组件正在 工作时, 则可以确定用户当前正在抽电子烟。
或者,还可以根据电子烟 501中感应器的工作状态来判断, 当感应器正在 工作时, 则可以确定用户当前正在抽电子烟。
或者,还可以根据电子烟 501中的电池电量消耗速度来判断, 当池电量消 耗速度大于某一门限时, 则可以确定用户当前正在抽电子烟。
本实施例中的感应器可以为气流感应开关或按键开关,或者其他类型的开 关, 具体此处不做限定, 其中, 按键开关可以为微触开关或感应开关, 或者其
他类型的开关, 具体此处亦不做限定。
可以理解的是,在实际应用中, 电子烟 501还可以通过其他更多的方式判 断用户是否正在抽电子烟, 具体此处不做限定。
电子烟 501 确定用户正在抽电子烟之后, 可以进一步对与该电子烟 501 绑定的用户终端 502中的客户端进行检测。
需要说明的是, 本实施例中, 用户可以将自己的电子烟 501 与用户终端 502进行绑定, 具体的, 电子烟 501可以通过蓝牙连接、 或 WIFI连接、 或红 外线连接、 或 NFC连接等方式与用户终端 502建立关联关系。
用户终端 502中可以安装有客户端, 例如 APP客户端、 网页客户端等, 具体此处不做限定。
本实施例中,电子烟 501可以向用户终端 502发送客户端探测消息,之后, 电子烟 501判断是否接收到用户终端 502回复的客户端响应消息, 若是, 则确 定用户终端 502中的客户端处于待机状态, 若否, 则确定用户终端 502中的客 户端未处于待机状态。
在实际应用中,电子烟 501还可以通过更多的方式确定用户终端 502中的 客户端是否处于待机状态, 具体此处不做限定。
本实施例中的用户终端 502可以为手机、 或个人电脑、 或笔记本电脑、 或 平板电脑, 或其他类似的设备, 具体此处不做限定。
若电子烟 501确定用户终端 502中的客户端未处于待机状态,则说明用户 自行关闭了该客户端, 或是用户终端 502当前未开机、或是用户终端 502当前 没有网络信号, 电子烟 501 无法完成与用户终端之间的数据传输, 则电子烟 501可以停止操作, 并结束当前流程。
需要说明的是, 在本实施例中, 如果用户自行关闭了客户端, 则本步骤电 子烟 501也可以通过触发信令激活该客户端,具体实现方式为本领域技术人员 的公知常识, 此处不做限定。
若电子烟 501确定用户终端 502中的客户端处于待机状态,则说明电子烟 501可以完成与用户终端 502之间的数据传输, 则电子烟 501通过无线网络向 用户终端 502发送烟油剩余量信息。
本实施例中的无线网络具体可以为蓝牙网络, 或 WIFI网络, 或红外线网 络, 或 NFC网络, 此处不做限定。
本实施例中,电子烟 501可以通过多种方式将烟油剩余量信息发送至用户 终端 502, 例如可以釆用如下方式:
一、 通过 valuePair方式发送:
具体的, 电子烟 501可以通过无线网络向用户终端发送 valuePair类型数 据, 该 valuePair类型数据用以表示烟油剩余量信息。
该 valuePair类型数据可以写为:( "CigarOilLeft", leftValue ),其中, leftValue 为浮点型数据。
二、 通过 JSON方式发送:
具体的, 电子烟 501可以通过无线网络向用户终端发送 JSON类型数据, 该 JSON类型数据中包含烟油剩余量信息。
该 JSON类型数据可以写为: { "CigarOilLeft": "leftValue" },其中, leftValue 为浮点型数据。
上述两种方式中, JSON方式数据传输量较大, valuePair方式适合单个数 据传值, 在实际应用中, 可以选择其中的一种进行传输, 具体此处不做限定。
需要说明的是, 除了上述的两种传输方式之外, 电子烟 501还可以釆用其 他的方式传输烟油剩余量信息, 具体此处不做限定。
本实施例中, 电子烟 501在向用户终端 502发送烟油剩余量信息之前,还 需要获取该烟油剩余量信息, 获取方式可以通过以下几种途径:
一、 通过感应器进行确定:
本方式中,电子烟 501可以通过计数仪对自身的感应器进行计数以确定烟 油剩余口数, 并将该烟油剩余口数作为烟油剩余量信息。
其中, 该感应器为气流感应开关或按键开关, 该按键开关为微触开关或感 应开关。
在实际应用中,每次填充的烟油能供抽的口数一般来说是固定的, 例如每 次注满烟油能够抽 100口, 则电子烟 501可以通过计数仪对吸烟的感应器(例 如气流感应开关或按键开关)进行计数, 以确定用户已抽了多少口, 从而计算
得出烟油剩余口数, 以此作为烟油剩余量信息。
二、 通过液面检测仪进行确定:
本方式中,电子烟 502可以通过液面检测仪对电子烟 501处于预置状态时 烟油液面高度进行检测, 以确定烟油剩余量信息。
其中, 电子烟 501处于预置状态为电子烟 501垂直于水平面, 或电子烟
501平行于水平面。
电子烟 501可以通过液面检测仪检测电子烟 501垂直于水平面或平行于水 平面时的烟油液面高度, 从而根据该高度推算出烟油剩余量信息。
可以理解的是, 在实际应用中, 除了上述两种方式之外, 电子烟 501还可 以釆用其他的方式计算烟油剩余量信息, 具体此处不做限定。
用户终端 502获取到电子烟 501发送的烟油剩余量信息之后可以先进行解 如果电子烟 501传来的数据是 valuePair类型数据, 则用户终端 502可以 直接根据键名获取键值作为具体数值。
如果电子烟 501传来的数据是 JSON类型数据, 则用户终端 502将 JSON 类型数据转换为 JSONObject对象,并根据字段标识从 JSONObject对象中提取 出具体数值, 可以釆用如下实现方式:
JSONObject jsonObject = new JSONObject ( result );
float oilLeft= ( float ) jsonObject.getDouble ( "code" )。
本实施例中, 若用户终端 502确定烟油剩余量低于预置数值, 则说明烟油 剩余量不足, 用户终端 502可以向用户提示烟油剩余量不足, 并且展示选择信 息, 用以使得用户选择是否接收服务平台推送的电子烟配件信息。
若用户允许服务平台推送信息,则用户终端 502可以向服务平台 503发送 请求信息, 以请求服务平台 503反馈相应的信息。
本实施例中的通信框架可以如图 4所示,电子烟 501与用户终端 502绑定, 用户终端 502通过通信网络连接到服务平台 503, 一个服务平台 503可以为多 个电子烟 501以及用户终端 502提供服务。
用户终端 502向服务平台 503发送请求信息之后,服务平台 503会向用户
终端 502反馈相应的电子烟配件信息,则用户终端 502可以接收电子烟配件信 息并向用户进行展示。
本实施例中的电子烟配件信息可以为电子烟配件的销售信息,例如商城位 置、 电话、 促销信息、 产品售价等, 具体此处不做限定。
本实施例中, 用户终端 502可以通过如下过程获取信息进行展示:
( 1 )通过 HTTP发送数据请求, 获取实体对象:
( 2 )将实体对象转换为流对象, 以方便进行 JSON解析:
( 3 )进行 JSON解析, 将流对象转换为字符串:
String result: JSONUtil.getData ( is );
( 4 )获取所需的相关产品对象:
cigarettes=JSONUtil.JSONParse ( result );
( 5 )获取到产品对象后就可以进行展示。
需要说明的是,在实际应用中, 用户终端 502还可以通过其他的方式从服 务平台 503获取电子烟配件信息进行展示, 具体此处不足限定。
本实施例中,若用户终端 502确定该电子烟 501中的烟油剩余量不低于预 置数值, 或者是用户选择不允许服务平台推送信息, 则用户终端 502可以执行 其他操作, 例如停止当前的流程, 具体此处不做限定。
本实施例中,用户终端 502接收到电子烟 501发送的烟油剩余量信息之后, 可以判断烟油剩余量是否低于预置数值, 若是, 则向服务平台 503发送请求信 息, 以向用户展示服务平台反馈的电子烟配件信息,使得烟油剩余量较低的时 候可以向用户推送用户关心的电子烟配件信息, 从而实现信息的精确推送; 其次,电子烟 501可以在用户抽烟时才向用户终端 502发送烟油剩余量信 息, 使得烟油剩余量信息更加准确, 也更符合用户的需求;
再次, 用户终端 502在确定烟油剩余量低于预置数值时, 可以提示用户选 择是否允许服务平台推送信息, 所以能够充分保障用户的选择权力,避免对用 户造成不必要的干扰。
Claims
1、 一种信息推送方法, 其特征在于, 包括:
用户终端接收已与所述用户终端绑定的电子烟发送的烟油剩余量信息; 所述用户终端根据所述烟油剩余量信息判断烟油剩余量是否低于预置数 值, 若是, 则向服务平台发送请求信息;
所述用户终端接收所述服务平台发送的电子烟配件信息并向用户进行展 示。
2、 根据权利要求 1所述的方法, 其特征在于, 所述用户终端接收已与所 述用户终端绑定的电子烟发送的烟油剩余量信息之前包括:
所述电子烟判断所述用户当前是否正在抽电子烟, 若是, 则所述电子烟判 断所述用户终端中的客户端是否处于待机状态, 若处于待机状态, 则所述电子 烟通过无线网络向所述用户终端发送所述烟油剩余量信息。
3、 根据权利要求 2所述的方法, 其特征在于, 所述电子烟判断所述用户 终端中的客户端是否处于待机状态包括:
所述电子烟向所述用户终端发送客户端探测消息;
所述电子烟判断是否接收到所述用户终端回复的客户端响应消息, 若是, 则确定所述用户终端中的客户端处于待机状态。
4、 根据权利要求 2所述的方法, 其特征在于, 所述电子烟通过无线网络 向所述用户终端发送所述烟油剩余量信息包括:
所述电子烟通过无线网络向所述用户终端发送 valuePair类型数据, 所述 valuePair类型数据用以表示所述烟油剩余量信息。
5、 根据权利要求 2所述的方法, 其特征在于, 所述电子烟通过无线网络 向所述用户终端发送所述烟油剩余量信息包括:
所述电子烟通过无线网络向所述用户终端发送 JSON 类型数据, 所述 JSON类型数据中包含所述烟油剩余量信息。
6、 根据权利要求 5所述的方法, 其特征在于, 所述用户终端根据所述烟 油剩余量信息判断烟油剩余量是否低于预置数值之前包括:
所述用户终端将所述 JSON类型数据转换为 JSONObject对象;
所述用户终端根据字段标识从所述 JSONObject对象中提取出所述烟油剩 余量信息。
7、 根据权利要求 1至 6中任一项所述的方法, 其特征在于, 所述向服务 平台发送请求信息之前包括:
所述用户终端向所述用户展示选择信息;
若所述用户选择允许服务平台推送信息,则所述用户终端触发所述向服务 平台发送请求信息的步骤;
若所述用户选择不允许服务平台推送信息, 则所述用户终端停止执行操 作。
8、 根据权利要求 2至 6中任一项所述的方法, 其特征在于, 所述电子烟 通过无线网络向所述用户终端发送所述烟油剩余量信息之前包括:
所述电子烟通过计数仪对自身的感应器进行计数以确定烟油剩余口数,并 将所述烟油剩余口数作为烟油剩余量信息。
9、 根据权利要求 8所述的方法, 其特征在于, 所述感应器为气流感应开 关或按键开关;
所述按键开关为微触开关或感应开关。
10、 根据权利要求 2至 6中任一项所述的方法, 其特征在于, 所述电子烟 通过无线网络向所述用户终端发送所述烟油剩余量信息之前包括: 进行检测, 以确定所述烟油剩余量信息。
11、 根据权利要求 10所述的方法, 其特征在于, 所述电子烟处于预置状 态为所述电子烟垂直于水平面, 或所述电子烟平行于水平面。
12、 根据权利要求 2至 6中任一项所述的方法, 其特征在于, 所述无线网 络为蓝牙网络, 或 WIFI网络, 或红外线网络, 或 NFC网络。
13、 根据权利要求 1至 6中任一项所述的方法, 其特征在于, 所述用户终 端为手机、 或个人电脑、 或笔记本电脑、 或平板电脑。
14、 一种通信系统, 其特征在于, 包括:
电子烟、 用户终端以 良务平台, 所述电子烟与所述用户终端绑定;
所述用户终端用于接收所述电子烟发送的烟油剩余量信息,根据所述烟油 剩余量信息判断烟油剩余量是否低于预置数值, 若是, 则向所述服务平台发送 请求信息, 接收所述服务平台发送的电子烟配件信息并向用户进行展示。
15、 根据权利要求 14所述的通信系统, 其特征在于, 所述电子烟用于判 断所述用户当前是否正在抽电子烟, 若是, 则判断所述用户终端中的客户端是 否处于待机状态, 若处于待机状态, 则通过无线网络向所述用户终端发送所述 烟油剩余量信息。
16、 根据权利要求 14或 15所述的通信系统, 其特征在于,
所述用户终端还用于向所述用户展示选择信息;
若所述用户选择允许服务平台推送信息,则所述用户终端触发所述向服务 平台发送请求信息的功能;
若所述用户选择不允许服务平台推送信息, 则所述用户终端停止执行操 作。
17、 根据权利要求 15所述的通信系统, 其特征在于, 所述电子烟具体用 于通过计数仪对自身的感应器进行计数以确定烟油剩余口数,并将所述烟油剩 余口数作为烟油剩余量信息。
18、 根据权利要求 17所述的通信系统, 其特征在于, 所述感应器为气流 感应开关或按键开关;
所述按键开关为微触开关或感应开关。
19、 根据权利要求 15所述的通信系统, 其特征在于, 所述电子烟具体用 于通过液面检测仪对所述电子烟处于预置状态时烟油液面高度进行检测,以确 定所述烟油剩余量信息。
20、 根据权利要求 19所述的通信系统, 其特征在于, 所述电子烟处于预 置状态为所述电子烟垂直于水平面, 或所述电子烟平行于水平面。
21、 根据权利要求 15所述的通信系统, 其特征在于, 所述无线网络为蓝 牙网络, 或 WIFI网络, 或红外线网络, 或 NFC网络。
22、 根据权利要求 14所述的通信系统, 其特征在于, 所述用户终端为手 机、 或个人电脑、 或笔记本电脑、 或平板电脑。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201480000497.5A CN107079312A (zh) | 2014-05-28 | 2014-05-28 | 一种信息推送方法以及通信系统 |
PCT/CN2014/078605 WO2015180049A1 (zh) | 2014-05-28 | 2014-05-28 | 一种信息推送方法以及通信系统 |
US15/062,618 US20160189216A1 (en) | 2014-05-28 | 2016-03-07 | Information pushing method and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/078605 WO2015180049A1 (zh) | 2014-05-28 | 2014-05-28 | 一种信息推送方法以及通信系统 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/062,618 Continuation US20160189216A1 (en) | 2014-05-28 | 2016-03-07 | Information pushing method and communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015180049A1 true WO2015180049A1 (zh) | 2015-12-03 |
Family
ID=54697834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/078605 WO2015180049A1 (zh) | 2014-05-28 | 2014-05-28 | 一种信息推送方法以及通信系统 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20160189216A1 (zh) |
CN (1) | CN107079312A (zh) |
WO (1) | WO2015180049A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112568497A (zh) * | 2019-09-29 | 2021-03-30 | 深圳小野科技有限公司 | 一种电子烟烟油信息处理方法、系统及电子烟 |
CN113142683A (zh) * | 2021-02-23 | 2021-07-23 | 深圳市讴可电子科技有限公司 | 基于电子烟的信息推送方法、装置、设备及介质 |
US11632987B2 (en) | 2013-12-31 | 2023-04-25 | Rai Strategic Holdings, Inc. | Electronic vaping device |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10244793B2 (en) | 2005-07-19 | 2019-04-02 | Juul Labs, Inc. | Devices for vaporization of a substance |
US10638792B2 (en) | 2013-03-15 | 2020-05-05 | Juul Labs, Inc. | Securely attaching cartridges for vaporizer devices |
US10279934B2 (en) | 2013-03-15 | 2019-05-07 | Juul Labs, Inc. | Fillable vaporizer cartridge and method of filling |
US20160366947A1 (en) | 2013-12-23 | 2016-12-22 | James Monsees | Vaporizer apparatus |
US10076139B2 (en) | 2013-12-23 | 2018-09-18 | Juul Labs, Inc. | Vaporizer apparatus |
US10058129B2 (en) | 2013-12-23 | 2018-08-28 | Juul Labs, Inc. | Vaporization device systems and methods |
USD842536S1 (en) | 2016-07-28 | 2019-03-05 | Juul Labs, Inc. | Vaporizer cartridge |
CN110664012A (zh) | 2013-12-23 | 2020-01-10 | 尤尔实验室有限公司 | 蒸发装置系统和方法 |
USD825102S1 (en) | 2016-07-28 | 2018-08-07 | Juul Labs, Inc. | Vaporizer device with cartridge |
US10159282B2 (en) | 2013-12-23 | 2018-12-25 | Juul Labs, Inc. | Cartridge for use with a vaporizer device |
CN107427067B (zh) | 2014-12-05 | 2020-10-23 | 尤尔实验室有限公司 | 校正剂量控制 |
DE202017007467U1 (de) | 2016-02-11 | 2021-12-08 | Juul Labs, Inc. | Befüllbare Verdampferkartusche |
US10405582B2 (en) | 2016-03-10 | 2019-09-10 | Pax Labs, Inc. | Vaporization device with lip sensing |
USD849996S1 (en) | 2016-06-16 | 2019-05-28 | Pax Labs, Inc. | Vaporizer cartridge |
USD851830S1 (en) | 2016-06-23 | 2019-06-18 | Pax Labs, Inc. | Combined vaporizer tamp and pick tool |
USD836541S1 (en) | 2016-06-23 | 2018-12-25 | Pax Labs, Inc. | Charging device |
WO2019027568A1 (en) | 2017-08-02 | 2019-02-07 | Glaxosmithkline Consumer Healthcare Holdings (Us) Llc | PORTABLE DEVICE AND APPLICATION FOR BEHAVIORAL CARRIER |
USD887632S1 (en) | 2017-09-14 | 2020-06-16 | Pax Labs, Inc. | Vaporizer cartridge |
JP7197606B2 (ja) | 2018-12-28 | 2022-12-27 | 日本たばこ産業株式会社 | 情報処理装置、情報処理方法、およびプログラム |
EP3912493A4 (en) * | 2019-01-17 | 2022-08-17 | Japan Tobacco Inc. | AEROSOL GENERATION CONTROL DEVICE, TERMINAL DEVICE, MANAGEMENT DEVICE, POWER SUPPLY DEVICE, INFORMATION PROCESSING METHOD AND PROGRAM |
EP3711584A1 (en) * | 2019-03-22 | 2020-09-23 | Nerudia Limited | Smoking substitute system |
CN110225476A (zh) * | 2019-04-29 | 2019-09-10 | 上海掌门科技有限公司 | 电子烟设备及用于提供用户的关联信息的方法与设备 |
CN110662176B (zh) * | 2019-09-19 | 2021-11-26 | 唯它(北京)科技有限公司 | 用于电子烟的追踪找寻方法及装置、电子设备 |
GB202109222D0 (en) * | 2021-06-25 | 2021-08-11 | Nicoventures Trading Ltd | An aerosol provision system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103653261A (zh) * | 2013-12-13 | 2014-03-26 | 上海烟草集团有限责任公司 | 一种智能电子烟 |
CN103745578A (zh) * | 2014-01-10 | 2014-04-23 | 深圳市赛盟特科技有限公司 | 一种防丢网络系统及防丢方法 |
CN103783675A (zh) * | 2014-02-27 | 2014-05-14 | 唐群 | 一种智能电子烟装置及其控制系统 |
CN203597405U (zh) * | 2013-11-28 | 2014-05-21 | 胡朝群 | 具有无线蓝牙低功耗连接通讯功能的智能电子烟 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130284192A1 (en) * | 2012-04-25 | 2013-10-31 | Eyal Peleg | Electronic cigarette with communication enhancements |
-
2014
- 2014-05-28 WO PCT/CN2014/078605 patent/WO2015180049A1/zh active Application Filing
- 2014-05-28 CN CN201480000497.5A patent/CN107079312A/zh active Pending
-
2016
- 2016-03-07 US US15/062,618 patent/US20160189216A1/en not_active Abandoned
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203597405U (zh) * | 2013-11-28 | 2014-05-21 | 胡朝群 | 具有无线蓝牙低功耗连接通讯功能的智能电子烟 |
CN103653261A (zh) * | 2013-12-13 | 2014-03-26 | 上海烟草集团有限责任公司 | 一种智能电子烟 |
CN103745578A (zh) * | 2014-01-10 | 2014-04-23 | 深圳市赛盟特科技有限公司 | 一种防丢网络系统及防丢方法 |
CN103783675A (zh) * | 2014-02-27 | 2014-05-14 | 唐群 | 一种智能电子烟装置及其控制系统 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11632987B2 (en) | 2013-12-31 | 2023-04-25 | Rai Strategic Holdings, Inc. | Electronic vaping device |
CN112568497A (zh) * | 2019-09-29 | 2021-03-30 | 深圳小野科技有限公司 | 一种电子烟烟油信息处理方法、系统及电子烟 |
CN113142683A (zh) * | 2021-02-23 | 2021-07-23 | 深圳市讴可电子科技有限公司 | 基于电子烟的信息推送方法、装置、设备及介质 |
Also Published As
Publication number | Publication date |
---|---|
US20160189216A1 (en) | 2016-06-30 |
CN107079312A (zh) | 2017-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015180049A1 (zh) | 一种信息推送方法以及通信系统 | |
US10492531B2 (en) | Information pushing method and communication system | |
CN106793827B (zh) | 一种数据通信方法以及数据通信系统 | |
WO2015161402A1 (zh) | 一种数据通信方法以及数据通信系统 | |
WO2016029429A1 (zh) | 一种数据通信方法以及数据通信系统 | |
WO2015192358A1 (zh) | 一种数据通信方法以及数据通信系统 | |
US20160323404A1 (en) | Data communication method and data communication system | |
WO2015149326A1 (zh) | 应用于电子烟的信息交互方法及系统 | |
CN105353653A (zh) | 电子烟控制方法、装置、系统及电子烟 | |
WO2015149340A1 (zh) | 应用于电子烟的信息交互方法及系统 | |
CN207148815U (zh) | 智能播报设备 | |
WO2015165350A1 (zh) | 智能电视移动端切换、电视端信息获取方法和装置、系统 | |
TWI512496B (zh) | 資源分享方法和系統 | |
WO2014000595A1 (zh) | 数据传输方法及装置 | |
CN107851351A (zh) | 通知装置及其物体位置通知方法 | |
JP2013054733A5 (zh) | ||
WO2017167273A1 (zh) | 业务处理方法和装置 | |
WO2013131477A1 (zh) | 远程监控装置和方法 | |
WO2018000646A1 (zh) | 视频下载方法、装置及电子设备 | |
CN108600977A (zh) | 一种广告推送系统及方法 | |
WO2015062233A1 (en) | Method and device for information transmission | |
TWI537168B (zh) | 電動車輛間的通訊系統及其通訊方法 | |
JP2013150086A5 (zh) | ||
WO2014015564A1 (zh) | 信息提供装置及方法、信息获取装置及方法 | |
CN208434120U (zh) | 一种广告推送系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14893457 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14893457 Country of ref document: EP Kind code of ref document: A1 |