CN113435972A - Automatic locking method and device for public transport smoking set and electronic equipment - Google Patents

Automatic locking method and device for public transport smoking set and electronic equipment Download PDF

Info

Publication number
CN113435972A
CN113435972A CN202110708574.4A CN202110708574A CN113435972A CN 113435972 A CN113435972 A CN 113435972A CN 202110708574 A CN202110708574 A CN 202110708574A CN 113435972 A CN113435972 A CN 113435972A
Authority
CN
China
Prior art keywords
smoking set
control information
public transportation
payment
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110708574.4A
Other languages
Chinese (zh)
Inventor
黄婷
刘华臣
吴聪
谭健
唐良颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Tobacco Hubei Industrial LLC
Original Assignee
China Tobacco Hubei Industrial LLC
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 China Tobacco Hubei Industrial LLC filed Critical China Tobacco Hubei Industrial LLC
Priority to CN202110708574.4A priority Critical patent/CN113435972A/en
Publication of CN113435972A publication Critical patent/CN113435972A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0639Item locations
    • G06Q50/40
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Abstract

The invention discloses an automatic locking method, an automatic locking device and electronic equipment for public transport smoking set, wherein the method comprises the steps of inquiring a first payment object corresponding to a first payment operation when the first payment operation is detected to exist in at least one of preset terminals corresponding to the smoking set and the smoking set; when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object, generating and sending first control information to the smoking set based on the public transportation category, wherein the first control information is used for controlling the smoking set locking and heating module; inquiring unlocking conditions corresponding to public transport categories in a preset database; and when the unlocking condition is met, generating and sending second control information to the smoking set. The method and the device realize the determination of the payment object according to the payment operation of the smoking set or the terminal bound with the smoking set, and automatically control the smoking set to lock the heating module after determining that the payment object is the public transportation, thereby ensuring that the smoking set cannot generate smoke in the public transportation environment.

Description

Automatic locking method and device for public transport smoking set and electronic equipment
Technical Field
The application relates to the technical field of intelligent cigarette control, in particular to an automatic locking method and device for public transport smoking set and electronic equipment.
Background
With the gradual expansion of the smoking ban in China, the excellent harm reduction level of the low-temperature heating non-combustible tobacco products becomes a new choice for many users, but the low-temperature heating non-combustible tobacco products can generate a large amount of smoke and strong smoke smell during smoking, and the normal order can still be interfered in a closed environment such as public transportation, and the prohibition is needed. However, the types of public transportation are complicated, and the public transportation can be moved continuously and the positions are not fixed, so that no method for effectively controlling the low-temperature heating non-combustible tobacco products in the public transportation exists at present.
Disclosure of Invention
In order to solve the above problems, embodiments of the present application provide an automatic locking method and apparatus for public transportation smoking set, and an electronic device.
In a first aspect, an embodiment of the present application provides an automatic locking method for public transportation smoking set, the method including:
when detecting that at least one of a smoking set and a preset terminal corresponding to the smoking set has a first payment operation, inquiring a first payment object corresponding to the first payment operation;
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, wherein the first control information is used for controlling the smoking set locking and heating module;
inquiring unlocking conditions corresponding to the public transport categories in a preset database;
and when the unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
Preferably, when it is determined that the first payment object is public transportation, determining a public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, where the first control information is used to control the smoking set locking and heating module, and the method includes:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
when the public transport category is a train or an airplane, acquiring travel information corresponding to the payment operation;
determining the travel starting time based on the travel information, and generating and sending first control information to the smoking set when the travel starting time is a first preset time before the travel starting time, wherein the first control information is used for controlling the smoking set locking and heating module.
Preferably, when the unlocking condition is satisfied, generating and sending second control information to the smoking set, where the second control information is used to control the heating module to unlock, and the method includes:
determining a travel destination and travel end time based on the travel information, and acquiring destination position information corresponding to the travel destination;
generating a judgment time range according to the travel ending time, continuously acquiring the smoking set position information of the smoking set in the judgment time range, and judging whether the smoking set position information is matched with the destination position information;
after the smoking set position information is matched with the destination position information, when the smoking set position information is not located in the destination position information, the unlocking condition is determined to be met, second control information is generated and sent to the smoking set, and the second control information is used for controlling the heating module to unlock.
Preferably, when it is determined that the first payment object is public transportation, determining a public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, where the first control information is used to control the smoking set locking and heating module, and the method includes:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
and when the public transport category is the subway, generating and sending first control information to the smoking set in real time, wherein the first control information is used for controlling the smoking set locking and heating module.
Preferably, when the unlocking condition is satisfied, generating and sending second control information to the smoking set, where the second control information is used to control the heating module to unlock, and the method includes:
when detecting that at least one of the smoking set and the preset terminal has a second payment operation, inquiring a second payment object corresponding to the second payment operation;
and if the public transportation types of the first payment object and the second payment object are the same, determining that an unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
Preferably, when it is determined that the first payment object is public transportation, determining a public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, where the first control information is used to control the smoking set locking and heating module, and the method includes:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
when the public transportation category is a bus, acquiring payment terminal information corresponding to the first payment operation, wherein the payment terminal information comprises payment terminal position information and bus station information;
and when a first distance between the payment terminal position information and the smoking set position information of the smoking set is smaller than a first preset distance, generating and sending first control information to the smoking set, wherein the first control information is used for controlling the smoking set locking and heating module.
Preferably, when the unlocking condition is satisfied, generating and sending second control information to the smoking set, where the second control information is used to control the heating module to unlock, and the method includes:
detecting the first distance when detecting that a second distance between the payment terminal position information and the nearest bus station information is smaller than a second preset distance;
and when the first distance is continuously greater than the first preset distance within the preset waiting time, determining that the unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
In a second aspect, the present application provides an automatic locking device for public transportation smoking set, the device includes:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for inquiring a first payment object corresponding to a first payment operation when the first payment operation is detected to exist in at least one of a smoking set and a preset terminal corresponding to the smoking set;
the judging module is used for judging the public transportation category of the first payment object when the first payment object is determined to be public transportation, and generating and sending first control information to the smoking set based on the public transportation category, wherein the first control information is used for controlling the smoking set locking and heating module;
the query module is used for querying the unlocking conditions corresponding to the public traffic categories in a preset database;
and the generating module is used for generating and sending second control information to the smoking set when the unlocking condition is met, wherein the second control information is used for controlling the heating module to unlock.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method as provided in the first aspect or any one of the possible implementation manners of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method as provided in the first aspect or any one of the possible implementations of the first aspect.
The invention has the beneficial effects that: 1. the payment object is determined according to the payment operation of the smoking set or the terminal bound with the smoking set, and after the payment object is determined to be public transportation, the smoking set locking and heating module is automatically controlled, so that the smoking set is ensured not to generate smoke in the public transportation environment.
2. According to the difference of public transport categories, different corresponding unlocking conditions are stored in a preset database, and only when the unlocking conditions are met, the smoking set can be automatically controlled to be unlocked, so that the smoking set is further ensured not to generate smoke in the public transport environment.
3. The system is suitable for various public transportation conditions, wide in universality, not limited by the movement influence of public transportation, and high in automatic management and control efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an automatic locking method for public transportation smoking set according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of an automatic locking device for public transportation smoking set according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In the following description, the terms "first" and "second" are used for descriptive purposes only and are not intended to indicate or imply relative importance. The following description provides embodiments of the present application, where different embodiments may be substituted or combined, and thus the present application is intended to include all possible combinations of the same and/or different embodiments described. Thus, if one embodiment includes feature A, B, C and another embodiment includes feature B, D, then this application should also be considered to include an embodiment that includes one or more of all other possible combinations of A, B, C, D, even though this embodiment may not be explicitly recited in text below.
The following description provides examples, and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements described without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the described methods may be performed in an order different than the order described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
Referring to fig. 1, fig. 1 is a schematic flow chart of an automatic locking method for public transportation smoking set provided in an embodiment of the present application. In an embodiment of the present application, the method includes:
s101, when detecting that at least one of the smoking set and the preset terminal corresponding to the smoking set has a first payment operation, inquiring a first payment object corresponding to the first payment operation.
The execution main body of the application can be a cloud server.
The preset terminal can be understood as a preset intelligent terminal bound with the smoking set in the embodiment of the application, and the intelligent terminal can be a mobile phone, a tablet and the like.
The payment operation can be understood as an operation of making payment for purchasing, buying tickets, paying and the like in the embodiment of the application.
The payment object may be understood as a transaction object when performing a payment operation, i.e. a payee in the embodiments of the present application.
In the embodiment of the present application, since the smoking set may be provided with functional modules such as bluetooth, Near Field Communication (NFC), Radio Frequency Identification (RFID), etc., the operation of payment can be performed, such as at a merchant, even through the smoking set only. Therefore, the payment operation of the smoking set needs to be detected in addition to the payment operation of the preset terminal corresponding to the smoking set. When at least one of the smoking set and the preset terminal has payment operation, the user is considered to pay for a certain merchant, and the payment operation is required no matter what public transportation the user achieves, so the payment operation is detected. And after the first payment operation is detected, inquiring a first payment object corresponding to the first payment operation according to operation information generated by the first payment operation, and further judging whether the object of the first payment operation is public transportation or not.
S102, when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, wherein the first control information is used for controlling the smoking set locking and heating module.
The public transportation category may be understood in the embodiments of the present application as a specific type of public transportation, such as trains, subways, and the like.
In the embodiment of the application, after the first payment object is determined to be public transportation, the heating module in the smoking set needs to be controlled and locked to ensure that the smoking set cannot generate smoke and smoke smell in the public transportation. Since the riding rules and the payment forms of different public transportation are not completely the same, the first control information generated based on the public transportation category is sent to the smoking set, and then the smoking set locking and heating module is controlled. Wherein, as mentioned in the foregoing, except realizing the heating module to glycerine heating in the smoking set, can also be provided with functional module such as bluetooth, and if the user carries out the payment of public transport through the payment function of smoking set, to the subway, pay once more when still needing to go out the subway, to sum up, will not forbid whole smoking set completely, but only lock heating module, guarantee that other functions can normal use.
S103, inquiring unlocking conditions corresponding to the public transport categories in a preset database.
In the embodiment of the application, a database is preset, and the database stores the corresponding relation between the public transportation category and the unlocking condition, so that each public transportation category corresponds to the unlocking condition aiming at the characteristics of the public transportation category. Therefore, after the public transportation category of the first payment object is judged, the corresponding unlocking condition can be directly inquired in the database.
And S104, when the unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
After the unlocking condition is determined, the cloud server can continuously monitor the unlocking condition, and when the inquired unlocking condition is met, second control information can be generated and sent to the smoking set so as to control the heating module to unlock.
In one possible embodiment, step S102 includes:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
when the public transport category is a train or an airplane, acquiring travel information corresponding to the payment operation;
determining the travel starting time based on the travel information, and generating and sending first control information to the smoking set when the travel starting time is a first preset time before the travel starting time, wherein the first control information is used for controlling the smoking set locking and heating module.
In the embodiment of the application, if it is determined that the public transportation category is a train or an airplane, it may be determined that the payment operation detected before is a ticket/airplane purchase process for a train or airplane flight, so that the travel information of the train/airplane flight corresponding to the payment operation may be obtained, and the travel start time of the flight, that is, the departure time of the flight, may be determined according to the obtained travel information. Since the flight the user takes may be hours or days later, it is not necessary to lock the heating module of the smoking article at the current moment when the payment operation is detected, but rather to generate the first control information to automatically control the heating module locking at a first preset time (e.g. 10 minutes) before the start time of the journey.
In one possible embodiment, step S104 includes:
determining a travel destination and travel end time based on the travel information, and acquiring destination position information corresponding to the travel destination;
generating a judgment time range according to the travel ending time, continuously acquiring the smoking set position information of the smoking set in the judgment time range, and judging whether the smoking set position information is matched with the destination position information;
after the smoking set position information is matched with the destination position information, when the smoking set position information is not located in the destination position information, the unlocking condition is determined to be met, second control information is generated and sent to the smoking set, and the second control information is used for controlling the heating module to unlock.
The judgment time range may be understood as a time range for starting judgment based on the trip end time and a certain error time in the embodiment of the present application. For example, if the trip end time is three pm and the error time may be twenty minutes, the generated determination time ranges from forty two pm to twenty three pm.
In the embodiment of the application, for a train or an airplane, the train can pass through a plurality of mountain roads or tunnels during the traveling process, so that the GPS signal is unstable, the positioning is inaccurate, the safety of the airplane during the traveling process generally needs to be switched into a flight model, and the traveling speed of the train and the airplane is very high, so that it is unrealistic to monitor the position of the smoking set in real time to determine whether the smoking set reaches the destination. The present application generates a determination time range from the travel end time after determining the travel destination and the travel end time based on the travel information. And when the current time is within the judgment time range, namely the train or the plane is about to arrive at the destination, the smoking set position information of the smoking set is detected, and whether the smoking set position information is matched with the destination position information is judged. A match is an indication that the user carrying the smoking article has arrived at the destination of the flight. However, for a train station or an airport, the train station or the airport still belongs to a public place where smoke is forbidden, so after the train station or the airport are matched with the public place, position monitoring needs to be continued, when the position information of the smoking set is not in the position information of the destination, namely the user is considered to have left the destination, at this moment, the unlocking condition is considered to be met, and second control information is generated by control to control the heating module to unlock.
It is possible that the train or the airplane may easily have a late time, and in a serious case, the late time may be one or two hours, in which case the judgment time range will not be accurate enough. Therefore, the starting position information is determined according to the travel information, when the smoking set position information is matched with the starting position information, the smoking set position information is monitored to determine when the smoking set position information leaves the starting position information, the difference value between the leaving time and the travel starting time is used as the delay error time, and the judgment time range is adjusted based on the delay error time.
In one possible embodiment, step S102 includes:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
and when the public transport category is the subway, generating and sending first control information to the smoking set in real time, wherein the first control information is used for controlling the smoking set locking and heating module.
In the embodiment of the application, for the case that the public transportation category is subway, the moment when the payment operation is generated indicates that the user enters the subway station, so that the first control information is generated in real time to control the smoking set locking and heating module.
In one possible embodiment, step S104 includes:
when detecting that at least one of the smoking set and the preset terminal has a second payment operation, inquiring a second payment object corresponding to the second payment operation;
and if the public transportation types of the first payment object and the second payment object are the same, determining that an unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
In the embodiment of the application, since the subway is taken and payment operations must be performed once at the entry port and the exit port, when the second payment operation is detected and the public transportation class of the second payment object corresponding to the second payment operation is confirmed to be the same as the first payment object, the unlocking condition is considered to be satisfied, and the second control information is generated to control the heating module to unlock.
In one possible embodiment, step S102 includes:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
when the public transportation category is a bus, acquiring payment terminal information corresponding to the first payment operation, wherein the payment terminal information comprises payment terminal position information and bus station information;
and when a first distance between the payment terminal position information and the smoking set position information of the smoking set is smaller than a first preset distance, generating and sending first control information to the smoking set, wherein the first control information is used for controlling the smoking set locking and heating module.
The bus stop information may be understood as position information of each stop on an expected travel route of the bus in the embodiment of the present application.
In the embodiment of the application, because each bus is provided with the payment terminal used for scanning the code or swiping the card, when the public transportation class is determined to be the bus, the payment terminal information of the payment terminal connected when the first payment operation is carried out is obtained, so that the position information of the payment terminal and the bus station information are obtained. Upon determining that the first distance between the payment terminal and the smoking set is less than a first preset distance (e.g. 4 meters), it can be confirmed that the user is riding in the bus and is now on the bus, and first control information will then be generated to control the smoking set locking heating module.
In one possible embodiment, step S104 includes:
detecting the first distance when detecting that a second distance between the payment terminal position information and the nearest bus station information is smaller than a second preset distance;
and when the first distance is continuously greater than the first preset distance within the preset waiting time, determining that the unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
In the embodiment of the present application, since the bus stops only when the bus arrives at the station, in order to increase the detection efficiency and reduce the power consumption, the first distance is detected to determine whether the user gets off the bus only when the second distance between the payment terminal location information and the bus station information closest thereto is less than a second preset distance (e.g., 15 meters). Specifically, if the first distance is continuously greater than the first preset distance within the preset waiting time (for example, 10 s), it is determined that the user has got off the vehicle, it is determined that the unlocking condition is satisfied, and then the second control information is generated to control the smoking set to unlock the heating module.
The automatic locking device for public transport smoking set provided by the embodiment of the present application will be described in detail with reference to fig. 2. It should be noted that the automatic locking device for public transportation smoking set shown in fig. 2 is used for executing the method of the embodiment shown in fig. 1 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and details of the technology are not disclosed, please refer to the embodiment shown in fig. 1 of the present application.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an automatic locking device for public transportation smoking set provided in an embodiment of the present application. As shown in fig. 2, the apparatus includes:
the system comprises a detection module 201, a processing module and a processing module, wherein the detection module is used for inquiring a first payment object corresponding to a first payment operation when the first payment operation is detected to exist in at least one of a smoking set and a preset terminal corresponding to the smoking set;
the judging module 202 is configured to judge a public transportation category of the first payment object when the first payment object is determined to be public transportation, and generate and send first control information to the smoking set based on the public transportation category, where the first control information is used to control the smoking set locking and heating module;
the query module 203 is used for querying the unlocking conditions corresponding to the public transportation categories in a preset database;
a generating module 204, configured to generate and send second control information to the smoking set when the unlocking condition is met, where the second control information is used to control the heating module to unlock.
In one possible implementation, the determining module 202 includes:
a first category judgment unit configured to judge a public transportation category of the first payment object when the first payment object is determined to be public transportation;
the travel information acquisition unit is used for acquiring travel information corresponding to the payment operation when the public transportation category is a train or an airplane;
and the travel starting time determining unit is used for determining travel starting time based on the travel information, and generating and sending first control information to the smoking set when the travel starting time is before a first preset time, wherein the first control information is used for controlling the smoking set locking and heating module.
In one possible implementation, the generation module 204 includes:
a destination position acquiring unit, configured to determine a travel destination and a travel end time based on the travel information, and acquire destination position information corresponding to the travel destination;
a judgment time range generating unit, configured to generate a judgment time range according to the trip end time, continuously obtain smoking set position information of the smoking set within the judgment time range, and judge whether the smoking set position information matches the destination position information;
and the matching unit is used for determining that the unlocking condition is met when the smoking set position information is not located in the destination position information after the smoking set position information is matched with the destination position information, and generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
In one possible implementation, the determining module 202 includes:
a second category judgment unit configured to judge a public transportation category of the first payment object when the first payment object is determined to be public transportation;
and the real-time generation unit is used for generating and sending first control information to the smoking set in real time when the public transportation category is subway, and the first control information is used for controlling the smoking set locking and heating module.
In one possible implementation, the generation module 204 includes:
the second payment operation detection unit is used for inquiring a second payment object corresponding to a second payment operation when the fact that the second payment operation exists in at least one of the smoking set and the preset terminal is detected;
and the category comparison unit is used for determining that an unlocking condition is met if the public transportation categories of the first payment object and the second payment object are the same, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
In one possible implementation, the determining module 202 includes:
a third category judgment unit configured to judge a public transportation category of the first payment object when the first payment object is determined to be public transportation;
the payment terminal determining unit is used for acquiring payment terminal information corresponding to the first payment operation when the public transportation category is a bus, wherein the payment terminal information comprises payment terminal position information and bus station information;
the first distance detection unit is used for generating and sending first control information to the smoking set when a first distance between the payment terminal position information and the smoking set position information of the smoking set is smaller than a first preset distance, wherein the first control information is used for controlling the smoking set locking and heating module.
In one possible implementation, the generation module 204 includes:
a second distance detection unit, configured to detect the first distance whenever a second distance between the payment terminal position information and the nearest bus station information is detected to be smaller than a second preset distance;
and the distance judgment unit is used for determining that the unlocking condition is met when the first distance is continuously greater than the first preset distance within the preset waiting time, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
It is clear to a person skilled in the art that the solution according to the embodiments of the present application can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, a Field-Programmable Gate Array (FPGA), an Integrated Circuit (IC), or the like.
Each processing unit and/or module in the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
Referring to fig. 3, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown, where the electronic device may be used to implement the method in the embodiment shown in fig. 1. As shown in fig. 3, the electronic device 300 may include: at least one central processor 301, at least one network interface 304, a user interface 303, a memory 305, at least one communication bus 302.
Wherein a communication bus 302 is used to enable the connection communication between these components.
The user interface 303 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 303 may further include a standard wired interface and a wireless interface.
The network interface 304 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
The central processor 301 may include one or more processing cores. The central processor 301 connects various parts within the entire electronic device 300 using various interfaces and lines, and performs various functions of the terminal 300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 305 and calling data stored in the memory 305. Alternatively, the central Processing unit 301 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The CPU 301 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the cpu 301, but may be implemented by a single chip.
The Memory 305 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable medium. The memory 305 may be used to store instructions, programs, code sets, or instruction sets. The memory 305 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 305 may alternatively be at least one storage device located remotely from the central processor 301. As shown in fig. 3, memory 305, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.
In the electronic device 300 shown in fig. 3, the user interface 303 is mainly used for providing an input interface for a user to obtain data input by the user; and the central processor 301 may be configured to invoke the public transportation smoking article auto-lock application stored in the memory 305 and specifically perform the following operations:
when detecting that at least one of a smoking set and a preset terminal corresponding to the smoking set has a first payment operation, inquiring a first payment object corresponding to the first payment operation;
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, wherein the first control information is used for controlling the smoking set locking and heating module;
inquiring unlocking conditions corresponding to the public transport categories in a preset database;
and when the unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. An automatic locking method for public transport smoking set, characterized by comprising:
when detecting that at least one of a smoking set and a preset terminal corresponding to the smoking set has a first payment operation, inquiring a first payment object corresponding to the first payment operation;
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, wherein the first control information is used for controlling the smoking set locking and heating module;
inquiring unlocking conditions corresponding to the public transport categories in a preset database;
and when the unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
2. The method according to claim 1, wherein when the first payment object is determined to be public transportation, determining a public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, the first control information being used for controlling the smoking set locking and heating module, comprises:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
when the public transport category is a train or an airplane, acquiring travel information corresponding to the payment operation;
determining the travel starting time based on the travel information, and generating and sending first control information to the smoking set when the travel starting time is a first preset time before the travel starting time, wherein the first control information is used for controlling the smoking set locking and heating module.
3. The method of claim 2, wherein generating and sending second control information to the smoking article when the unlock condition is satisfied, the second control information being used to control the heating module to unlock comprises:
determining a travel destination and travel end time based on the travel information, and acquiring destination position information corresponding to the travel destination;
generating a judgment time range according to the travel ending time, continuously acquiring the smoking set position information of the smoking set in the judgment time range, and judging whether the smoking set position information is matched with the destination position information;
after the smoking set position information is matched with the destination position information, when the smoking set position information is not located in the destination position information, the unlocking condition is determined to be met, second control information is generated and sent to the smoking set, and the second control information is used for controlling the heating module to unlock.
4. The method according to claim 1, wherein when the first payment object is determined to be public transportation, determining a public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, the first control information being used for controlling the smoking set locking and heating module, comprises:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
and when the public transport category is the subway, generating and sending first control information to the smoking set in real time, wherein the first control information is used for controlling the smoking set locking and heating module.
5. The method of claim 4, wherein generating and sending second control information to the smoking set when the unlock condition is satisfied, the second control information being used to control the heating module to unlock comprises:
when detecting that at least one of the smoking set and the preset terminal has a second payment operation, inquiring a second payment object corresponding to the second payment operation;
and if the public transportation types of the first payment object and the second payment object are the same, determining that an unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
6. The method according to claim 1, wherein when the first payment object is determined to be public transportation, determining a public transportation category of the first payment object, and generating and sending first control information to the smoking set based on the public transportation category, the first control information being used for controlling the smoking set locking and heating module, comprises:
when the first payment object is determined to be public transportation, judging the public transportation category of the first payment object;
when the public transportation category is a bus, acquiring payment terminal information corresponding to the first payment operation, wherein the payment terminal information comprises payment terminal position information and bus station information;
and when a first distance between the payment terminal position information and the smoking set position information of the smoking set is smaller than a first preset distance, generating and sending first control information to the smoking set, wherein the first control information is used for controlling the smoking set locking and heating module.
7. The method of claim 6, wherein generating and sending second control information to the smoking set when the unlock condition is satisfied, the second control information being used to control the heating module to unlock comprises:
detecting the first distance when detecting that a second distance between the payment terminal position information and the nearest bus station information is smaller than a second preset distance;
and when the first distance is continuously greater than the first preset distance within the preset waiting time, determining that the unlocking condition is met, generating and sending second control information to the smoking set, wherein the second control information is used for controlling the heating module to unlock.
8. An automatic locking device for public transport smoking set, comprising:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for inquiring a first payment object corresponding to a first payment operation when the first payment operation is detected to exist in at least one of a smoking set and a preset terminal corresponding to the smoking set;
the judging module is used for judging the public transportation category of the first payment object when the first payment object is determined to be public transportation, and generating and sending first control information to the smoking set based on the public transportation category, wherein the first control information is used for controlling the smoking set locking and heating module;
the query module is used for querying the unlocking conditions corresponding to the public traffic categories in a preset database;
and the generating module is used for generating and sending second control information to the smoking set when the unlocking condition is met, wherein the second control information is used for controlling the heating module to unlock.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110708574.4A 2021-06-25 2021-06-25 Automatic locking method and device for public transport smoking set and electronic equipment Pending CN113435972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110708574.4A CN113435972A (en) 2021-06-25 2021-06-25 Automatic locking method and device for public transport smoking set and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110708574.4A CN113435972A (en) 2021-06-25 2021-06-25 Automatic locking method and device for public transport smoking set and electronic equipment

Publications (1)

Publication Number Publication Date
CN113435972A true CN113435972A (en) 2021-09-24

Family

ID=77754308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110708574.4A Pending CN113435972A (en) 2021-06-25 2021-06-25 Automatic locking method and device for public transport smoking set and electronic equipment

Country Status (1)

Country Link
CN (1) CN113435972A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108605203A (en) * 2016-04-20 2018-09-28 华为技术有限公司 A kind of User Status detection method and detection device
CN110245937A (en) * 2019-05-15 2019-09-17 浙江工贸职业技术学院 A kind of bus rapid payment system based on 5G communication
US20200221783A1 (en) * 2019-01-12 2020-07-16 Changzhou Patent Electronic Technology Co., Ltd. Control method and apparatus for electronic cigarette
CN111904042A (en) * 2019-05-08 2020-11-10 常州市派腾电子技术服务有限公司 Control method and device of electronic cigarette
CN112164148A (en) * 2020-09-24 2021-01-01 Oppo广东移动通信有限公司 Method, system and computer readable storage medium for paying for vehicles

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108605203A (en) * 2016-04-20 2018-09-28 华为技术有限公司 A kind of User Status detection method and detection device
US20200221783A1 (en) * 2019-01-12 2020-07-16 Changzhou Patent Electronic Technology Co., Ltd. Control method and apparatus for electronic cigarette
CN111436023A (en) * 2019-01-12 2020-07-21 常州市派腾电子技术服务有限公司 Control method and device of electronic cigarette
CN111904042A (en) * 2019-05-08 2020-11-10 常州市派腾电子技术服务有限公司 Control method and device of electronic cigarette
CN110245937A (en) * 2019-05-15 2019-09-17 浙江工贸职业技术学院 A kind of bus rapid payment system based on 5G communication
CN112164148A (en) * 2020-09-24 2021-01-01 Oppo广东移动通信有限公司 Method, system and computer readable storage medium for paying for vehicles

Similar Documents

Publication Publication Date Title
KR101647834B1 (en) Public Transportation Fee Settlement Method and System For Using Beacon
US20210004731A1 (en) Ticketing method and system
CN105741096A (en) Automatic payment method and automatic payment system for buses
KR20060056976A (en) Reservation changing system
US10438029B2 (en) Mobile device and reader for facilitating a transaction
AU2017200323B2 (en) Localization of transaction tags
WO2016134638A1 (en) Method, device and system for synchronizing real-time bus information
CN105913500B (en) Ticket checking method and ticket-checking system out of the station
CN110633975A (en) Travel control system, method and device in public transport and traffic payment method
US20190333063A1 (en) Systems and methods for providing interactions between users and transportation service providers in an integrated public and/or private transportation service platform
GB2527499A (en) Travel data of transport system users
CN109886732A (en) A kind of charging method of public transport, storage medium and vehicle-mounted counting equipment
US20190244438A1 (en) Car sharing settlement method and car sharing management system
CN110390733A (en) A kind of bus card-reading machine control method, device and computer equipment
JP2010061237A (en) In-vehicle settlement system, in-vehicle settlement device, and in-vehicle settlement communication interface card
CN103930793B (en) Apparatus and method for determining travel information
CN106600714A (en) Rail transit ticket vending system and method based on Internet
KR20160051923A (en) Taxi fare payment relay method and payment relay server
CN113435972A (en) Automatic locking method and device for public transport smoking set and electronic equipment
KR20160105200A (en) Public transport payment device and a method using a beacon
CN113284295A (en) Method, electronic device, and computer storage medium for renting vehicle
KR20140062678A (en) System for relief service of taxi and method thereof
JP5522876B1 (en) Information processing method, portable device, and information processing program
KR102271369B1 (en) Traffic charge server and method for calculating traffic charge thereby
JP5434166B2 (en) Automatic ticket gate, transfer guidance system, transfer guidance method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210924