CN112288892A - Electronic one-way ticket selling equipment and method - Google Patents

Electronic one-way ticket selling equipment and method Download PDF

Info

Publication number
CN112288892A
CN112288892A CN202011561974.9A CN202011561974A CN112288892A CN 112288892 A CN112288892 A CN 112288892A CN 202011561974 A CN202011561974 A CN 202011561974A CN 112288892 A CN112288892 A CN 112288892A
Authority
CN
China
Prior art keywords
dimensional code
ticket
signal
display
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011561974.9A
Other languages
Chinese (zh)
Other versions
CN112288892B (en
Inventor
刘晓宏
籍天亮
孔晨
方超
余华琼
杨宏旭
陈刚
叶慧珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baweitong Technology Co ltd
Original Assignee
Baweitong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baweitong Technology Co ltd filed Critical Baweitong Technology Co ltd
Priority to CN202011561974.9A priority Critical patent/CN112288892B/en
Publication of CN112288892A publication Critical patent/CN112288892A/en
Application granted granted Critical
Publication of CN112288892B publication Critical patent/CN112288892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B1/00Machines for printing and issuing tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • 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]

Landscapes

  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The invention provides electronic one-way ticket selling equipment and a method, the method only needs a user to place a mobile phone in a two-dimensional code acquisition area of the electronic one-way ticket selling equipment for taking a picture after payment is completed, a two-dimensional code generated by a two-dimensional code generating device in the electronic ticket selling equipment and sent to the surface of the two-dimensional code acquisition area is acquired, in addition, the display time of a ticket two-dimensional code displayed in the electronic ticket selling equipment is controlled through a display control signal, higher privacy is realized, and the ticket two-dimensional code can be prevented from being shot and stolen by other people. The device has the advantages that the number and the width of moire fringes of images generated by the two-dimension code generating device are detected in real time, and the moire fringes are adjusted in real time according to a preset value, so that the cost is greatly reduced and the dynamic accuracy is increased compared with a traditional display screen which is obtained by adopting the resolution and the refresh rate.

Description

Electronic one-way ticket selling equipment and method
Technical Field
The invention relates to the technical field of automatic ticketing, in particular to electronic single-pass ticket selling equipment and a method.
Background
At present, in the subway industry, the two-dimensional code scanning and passing brake is relatively common, and the passing brake scheme has the advantages of convenience, rapidness, no contact, safety, sanitation and the like, but the mode is only suitable for registered users with subway APP. For some passengers who do not want to download the APP and only need to purchase a one-time one-way ticket, the passengers still need to purchase and use a physical one-way ticket card or a paper one-way ticket card, and the two kinds of one-time one-way ticket cards have the following problems:
physical one-way ticket: the losses of dozens to millions are caused to the subway side every year due to abrasion, loss and bending; the passenger holds the ticket card by hand, and the ticket card is recycled and unsanitary; the waste ticket recycling box of the outbound gate machine needs to be cleaned and maintained regularly, and the waste ticket recycling box is more frequent in the morning and evening peak period.
Paper one-way ticket: a scheme for replacing a card type one-way ticket is characterized in that a two-dimensional code picture is printed on paper, and the code scanning and the passing of a gate are completed when the paper enters and exits a station, so that the problem is caused that the gate is not identified due to the unclear printing condition or the picture is ground in a pocket of a user; printing equipment and paper are also consumables, and a considerable part of resource maintenance is required to be invested every year; when the paper ticket is used up and discarded, the environment of a station is influenced, passengers often lose the paper ticket in the station, and after the garbage can at the exit is filled with the paper ticket, the paper ticket can scatter to the ground, so that the appearance and the appearance of a city are influenced.
Disclosure of Invention
The invention provides electronic one-way ticket selling equipment and a method for overcoming the defects in the background technology.
In order to achieve the purpose, the invention provides an electronic single-way ticket selling method, which comprises the following steps:
acquiring a touch signal, wherein the touch signal comprises destination site information;
generating a bill signal according to the touch signal, wherein the bill signal is output so as to display payment amount information on a first screen, and the first screen is arranged outside the electronic single-way ticket selling equipment;
acquiring a payment signal, wherein the payment signal comprises data of payment completion of a user;
generating a ticket information signal, wherein the ticket information signal comprises two-dimensional code information corresponding to a ticket;
outputting the ticket information signal to generate a ticket two-dimensional code related to a destination station;
displaying the ticket two-dimensional code on a first display area of a second screen, wherein the second screen is arranged in the electronic one-way ticket selling equipment, and the ticket two-dimensional code is transmitted to a two-dimensional code acquisition area arranged outside the electronic one-way ticket selling equipment through a set optical path;
and controlling the display time of the ticket two-dimensional code according to the display control signal.
Further, still include:
displaying the ticket two-dimensional code on a second display area of the second screen;
acquiring a relay signal, wherein the relay signal is a signal which is acquired by a CCD camera arranged in the electronic single-way ticket selling equipment and positioned on an optical path of the second display area;
generating a first state image according to the acquired relay signal;
detecting a first moire parameter in the first state image, wherein the moire parameter comprises the number of moire fringes and/or the width of the moire fringes;
comparing the first moire parameter with a set two-dimensional code moire fringe threshold value;
and outputting a first angle control signal according to the comparison result, wherein the first angle control signal controls the second screen to rotate at a corresponding angle on the plane where the second screen is located.
Further, the angle is 30-45 degrees.
Further, still include: generating a second state image according to the acquired relay signal;
detecting a second moire parameter in the second state image;
comparing the second moire parameter with a set two-dimensional code moire fringe threshold value;
and outputting a second angle control signal according to the comparison result, wherein the second angle control signal controls the second screen to rotate for 1-5 degrees on the plane where the second screen is located.
Furthermore, the display control signal controls the display time of the two-dimensional code according to signals collected by the infrared detector, the distance sensor and the identification camera.
In order to achieve the above object, the present invention provides an electronic single ticket selling device, comprising:
the device comprises an equipment body, a touch screen, a two-dimensional code acquisition area, a reflection area, a two-dimensional code display device, a user detection device and a signal processing module;
the touch screen is arranged on the outer surface of the front side of the equipment body, is configured to display corresponding site information and payment amount information, and generates a corresponding input signal according to the touch of a user on the corresponding site information on the touch screen;
the two-dimensional code acquisition area is arranged on a horizontal operation table top of the equipment body and is made of transparent materials which can enable light rays to pass through;
a reflection area and a two-dimensional code display device are arranged in the equipment body; the two-dimensional code display device, the reflection area and the two-dimensional code acquisition area are positioned on a periscope light path, so that a two-dimensional code generated by the two-dimensional code display device passes through the reflection area along the periscope light path and reaches the two-dimensional code acquisition area;
the user detection device is configured to collect relevant signals in a set range and transmit the collected relevant signals to the display control device of the signal processing module to generate display control signals;
the signal processing module is arranged in the equipment body, the signal processing module is electrically connected with the touch screen, the two-dimensional code display device and the user detection device, and the signal processing module is configured to process signals generated by the touch screen, the two-dimensional code display device and the user detection device and generate corresponding output signals.
Further, still include: a CCD camera and a rotation control device;
the screen of the two-dimensional code display device comprises a first display area and a second display area, and the first display area and the second display area are configured to display related two-dimensional codes according to ticket information signals;
the CCD camera is arranged in the equipment body and is positioned on a second display area light path of the two-dimensional code display device;
one end of the rotation control device is connected with the signal processing module, and the other end of the rotation control device is connected with the two-dimensional code display device; the two-dimensional code display device can rotate in a plane where a screen of the two-dimensional code display device is located according to the control signal.
Further, the rotation control device is installed on the inner wall of the back face of the equipment body, the rotation control device comprises a cam divider and a turntable installed on the cam divider, a two-dimensional code display device is arranged on the identification plate, and the identification plate is fixed on the turntable through a support column.
Furthermore, the rotation control device is arranged on the inner wall of the back of the equipment body and comprises a push rod motor and an identification plate; be equipped with two-dimensional code display device on the signboard, the signboard passes through the axis of rotation and rotates to be installed on equipment body back inner wall.
Further, the user detection device comprises an infrared detector, a distance sensor and an identification camera;
the infrared detector is arranged at the bottom of the front end of the equipment body and is configured to detect a human body signal close to the equipment body in real time and input the human body signal into a signal processing module arranged in the equipment body;
the distance sensor is arranged in the two-dimensional code acquisition area and is configured to acquire a mobile phone signal of the two-dimensional code acquisition area;
the recognition camera is arranged above the outer surface of the front face of the equipment body and is configured to acquire an image signal.
Has the advantages that:
the embodiment of the patent provides an electronic single ticket selling method, and only after payment is completed, a user takes a picture of a mobile phone in a two-dimensional code acquisition area of electronic single ticket selling equipment, obtains a two-dimensional code generated by a two-dimensional code generation device inside the electronic ticket selling equipment and sends the two-dimensional code to the surface of the two-dimensional code acquisition area, and in addition, the display time of a ticket two-dimensional code displayed inside is controlled through a display control signal, so that the electronic single ticket selling method has higher privacy, and the ticket two-dimensional code can be guaranteed not to be shot and stolen by other people.
The embodiment of the invention provides electronic one-way ticket selling equipment, which is capable of detecting the number and the width of moire fringes of an image generated by a two-dimensional code generating device in a camera in real time and adjusting the moire fringes in real time according to a preset value.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
Fig. 1 is a flow chart of an electronic single-pass ticket selling method provided by an embodiment of the invention;
fig. 2 is a flow chart of an electronic single-pass ticket selling method provided by the embodiment of the invention;
fig. 3 is a schematic diagram of two display areas in a two-dimensional code generation apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a first state image with a greater number of moire fringes according to an embodiment of the present invention;
FIG. 5 is a threshold two-dimensional code image with reduced moire patterns provided by embodiments of the present invention;
fig. 6 is a flow chart of an electronic single-pass ticket selling method provided by the embodiment of the invention;
fig. 7 is a schematic side view of an electronic single-pass ticket selling device according to an embodiment of the present invention;
fig. 8 is a front perspective view of an electronic single-pass ticket selling apparatus provided by an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic single-pass ticket selling device provided by an embodiment of the invention;
fig. 10 is a schematic rotation diagram of a two-dimensional code display device of an electronic single-way ticket selling apparatus according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of a rotation control device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a rotation control device according to an embodiment of the present invention.
In the figure: 10-equipment body, 11-touch screen, 12-two-dimensional code acquisition area, 13-reflection area, 14-two-dimensional code display device, 15-user detection device, 151-infrared detector, 152-distance sensor, 153-identification camera, 161-cam divider, 162-turntable, 163-identification plate, 164-support column, 171-push rod motor, 172-rotating shaft and 173-limit switch.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The embodiment of the invention firstly provides an electronic single-way ticket selling method, as shown in fig. 1, wherein the electronic single-way ticket selling method specifically comprises the following steps:
step S100: acquiring a touch signal, wherein the touch signal comprises destination site information;
in this embodiment, the electronic one-way ticket selling device displays corresponding site information on a touch screen, a user selects a destination site through the touch screen, and the electronic one-way ticket selling device converts a touch screen operation of the user into a touch input signal and directly transmits and stores the touch input signal to a signal processing module inside the automatic ticket vending machine terminal.
In other embodiments, the touch signal containing the destination site information is transmitted as an input signal of the server to a ticketing data processing server or database for processing the acquired input data of the user.
Step S110: generating a billing signal according to the touch signal, the billing signal being output to cause payment amount information to be displayed on a first screen; the first screen is a touch display screen arranged outside the electronic single-way ticket selling equipment;
in this embodiment, a billing signal is generated according to the touch signal, where the billing signal includes payment amount information, and the payment amount information is output and displayed on a screen, where the touch signal may be a level signal, a capacitance signal, and other input signals that may occur to those skilled in the art and are of a level signal of a touch display screen outside the electronic one-way ticket selling device, and the touch signal belongs to the protection range of the embodiment of the present invention, the obtained touch screen signal is input into a signal processing module disposed inside the electronic one-way ticket selling device, an input value of the signal processing module is matched with a preset value, and it is determined that different touch signals correspond to different destination stations; the signal processing module generates a bill signal of a corresponding destination site according to the corresponding relation, wherein the bill signal comprises corresponding destination site information, starting site information and ticket amount information obtained according to the destination site and the starting site; the bill signal is output to the display drive of the first screen of the electronic single-way ticket selling equipment through a signal processing module in the electronic single-way ticket selling equipment, so that an image containing corresponding destination site information, starting site information and the amount of the tickets obtained according to the destination site and the starting site is displayed on the external touch screen.
Step S120: acquiring a payment signal, wherein the payment signal comprises data of payment completion of a user;
in this embodiment, the payment signal may be payment data information sent from a corresponding APP server to an internal server provided in the electronic one-way ticket selling equipment after a user pays through a payment software APP, such as a payment treasure or a WeChat;
in other embodiments, the payment signal may be a payment signal generated by a cash accepting device received by a signal processing module in the electronic single-pass ticket selling equipment after the user pays by cash.
Step S130: generating a ticket information signal, wherein the ticket information signal comprises two-dimensional code information corresponding to a ticket;
in this embodiment, after the customer completes payment, a signal processing module arranged inside the electronic one-way ticket selling equipment generates a corresponding ticket information signal according to a bill signal or a payment signal, the ticket information signal includes two-dimensional code generation data of a two-dimensional code related to the generation of the electronic one-way ticket two-dimensional code generation device, and the ticket information signal is transmitted to the two-dimensional code generation device and then can generate a corresponding ticket two-dimensional code;
in other embodiments, the ticket information signal is a control signal for controlling the two-dimensional code generating device to generate a two-dimensional code, the electronic one-way ticket selling equipment is internally provided with the two-dimensional code generating device, the two-dimensional code generating device generates a set of random numbers or pseudo-random numbers according to the control signal, and the two-dimensional code generating device generates a corresponding electronic one-way ticket two-dimensional code according to the random numbers or pseudo-random numbers.
Step S140: outputting the ticket information signal to generate a ticket two-dimensional code related to a destination station;
in this embodiment, the ticket information signal is output to the inside of the two-dimensional code generation device, and the driving in the two-dimensional code generation device generates the corresponding ticket two-dimensional code according to the level of the ticket information signal.
Step S150: displaying the ticket two-dimensional code on a first display area of a second screen, wherein the second screen is arranged in the electronic one-way ticket selling equipment, and the ticket two-dimensional code is transmitted to a two-dimensional code acquisition area arranged outside the electronic one-way ticket selling equipment through a set optical path;
in the embodiment, after the user successfully pays, the two-dimensional code display screen in the machine displays the two-dimensional code, and the internal two-dimensional code display mode has certain privacy and can ensure that the two-dimensional code is not shot and stolen by others; on the other hand, after the user opens the mobile phone camera, the mobile phone camera is aligned to a two-dimensional code acquisition area (also called a two-dimensional code photographing area) horizontally placed on the platform surface of the ticket purchasing machine, the camera faces downwards, the user clicks to photograph, the two-dimensional code image serving as the electronic one-way ticket can be acquired after the two-dimensional code image is stored, the user holds the two-dimensional code stored in the mobile phone and displays the two-dimensional code on the subway when the subway enters or leaves, the code scanning and passing the gate can be completed, the two-dimensional code generated by the entity one-way ticket, the paper one-way ticket and the subway APP can be used as a pass, and the trouble that the user does not have a corresponding mobile phone APP, a fault-related scene of a mobile phone network occurs, or a two-dimensional code image printed on the one-way ticket is printed.
In other embodiments, the two-dimensional code purchased by the passenger through photographing can be used only once when the passenger enters or leaves the station; the gate can carry out local and online verification on the two-dimensional code, when the two-dimensional code is identified by the gate entering the station or leaving the station, the two-dimensional code is reported to the server for online verification, if the server finds that the code is used, the code is judged to be an invalid two-dimensional code, and the gate is informed to refuse to open the door.
Step S160: controlling the display time of the ticket two-dimensional code according to a display control signal;
in this embodiment, the infrared probe recognizes that the ticket buying passenger leaves, the distance sensor recognizes that the mobile phone is taken away, and the camera recognizes the person leaving behavior to ensure that the whole ticket buying flow of the passenger is completed, at this moment, the display control signal controls the two-dimensional code display device to not display the two-dimensional code picture, and the ticket buying flow is ended.
In addition, when the mobile phone shoots the screen, a moire fringe phenomenon often appears, because the interference and the grain superposition of light generated by the shooting frequency of the mobile phone camera close to the refreshing frequency of the screen are generated; the phenomenon can cause poor effect of shot two-dimensional codes, influence identification of station entry and exit gate machines on the two-dimensional codes, and reduce passing efficiency; in contrast, as shown in fig. 2, an electronic single-pass ticket selling method according to an embodiment of the present invention further includes the following steps:
step S200: displaying the ticket two-dimensional code on a second display area of the second screen;
in this embodiment, as shown in fig. 3, the ticket information signal generated by the signal processing module generates corresponding two-dimensional codes of tickets in two display areas with a certain distance from a two-dimensional code generating device inside the electronic one-way ticket selling equipment, and the two-dimensional codes of tickets in the first display area are transmitted to a two-dimensional code obtaining area arranged outside the electronic one-way ticket selling equipment through a set optical path, so as to be used for drawing tickets out of the electronic one-way ticket selling equipment; the ticket two-dimensional code of the second display area is used for being matched with a CCD camera arranged on an optical path of the second display area to detect the number and the width of moire fringes of the two-dimensional code; the two ticket two-dimensional codes are respectively arranged in two display areas of the two-dimensional code generating device at a certain distance, so that the two-dimensional codes are respectively transmitted along two optical paths, and moire fringes generated by the ticket drawing, the recognition and the detection of the electronic single-pass ticket two-dimensional codes in a ticket buyer CCD image sensor are not interfered with each other.
Step S210: acquiring a relay signal, wherein the relay signal is a signal which is acquired by a CCD camera arranged in the electronic single-way ticket selling equipment and positioned on an optical path of the second display area;
in the real-time example, the imaging center of the CCD camera arranged in the electronic ticketing apparatus is opposite to the center of the ticket two-dimensional code of the second display area and is located on the light path of the ticket two-dimensional code of the second display area, and the CCD camera can just capture all the light signals emitted by the ticket two-dimensional code of the second display area completely without acquiring the light signals of the ticket two-dimensional code of the first display area; the optical signal of the ticket two-dimensional code in the first display area is linearly transmitted along a first optical path in the one-way ticket selling equipment, horizontally enters the emitting area, and then vertically reaches the two-dimensional code obtaining area (also called a two-dimensional code photographing area) upwards to be captured and imaged by the camera imaging unit of the mobile phone of the ticket buyer; the ticket two-dimensional code of the second display area is linearly transmitted along a second optical path in the single-pass ticket selling equipment and is captured and imaged by the CCD arranged on the second optical path, the imaging angle of the optical signal of the ticket two-dimensional code of the first display area, which is shot into the camera imaging unit of the mobile phone of the user, is the same as the imaging angle of the optical signal of the ticket two-dimensional code of the second display area, which is shot into the CCD of the second optical path, and is vertical to the imaging angle, and because the first display area and the second display area have the same frequency as the optical signal on the display screen of the two-dimensional code generating device, the optical signal collected by the CCD camera on the optical path of the second display area is synchronous with the optical signal which reaches the two-dimensional code acquisition area (also called two-dimensional code photographing area) and is captured by the camera imaging unit of the mobile phone of the ticket buyer, and has the. Therefore, the moire fringes of the image generated by the camera of the ticket buyer mobile phone can be synchronously detected or adjusted according to the characteristics of the moire fringes of the image generated by the CCD camera.
Step S220: generating a first state image according to the acquired relay signal;
the first state image is a two-dimensional code image collected by a CCD camera on an optical path of the second display region in an original state where the second screen does not rotate, as shown in fig. 4, the first state image has a large number of moire fringes, and the width of the moire fringes is large.
Step S230: detecting a first moire parameter in the first state image, wherein the moire parameter comprises the number of moire fringes and/or the width of the moire fringes;
in the present embodiment, the image processing unit of the signal processing module detects the number and width of the moire fringes of the first state image as shown in fig. 4 as the first moire parameter using the existing image detection algorithm, and the first moire parameter is recorded in the storage unit of the electronic single-pass ticket selling apparatus.
Step S240: comparing the first moire parameter with a set two-dimensional code moire fringe threshold value;
in this embodiment, it may be adopted that a corresponding threshold two-dimensional code image with fewer moire fringes is stored in a storage unit of the electronic single-way ticket selling device, as shown in fig. 5, a two-dimensional code image with moire fringes that are difficult to be distinguished by naked eyes is used as the threshold two-dimensional code image, and when the image is compared with the first state image according to an existing image algorithm, a comparison result, that is, the first state image has more moire fringes or less moire fringes than the threshold image, can be automatically obtained.
In other embodiments, the processor compares the first moire parameters extracted by the existing image algorithm with the moire parameters of the threshold two-dimensional code to obtain a comparison result, that is, the moire parameters of the first state image and the moire parameters of the threshold image are more or less than the number of moire fringes, and the moire fringe width is wider or narrower.
Step S250: outputting a first angle control signal according to the comparison result, wherein the first angle control signal controls the second screen to rotate on the plane where the second screen is located by a corresponding angle;
in the present embodiment, if the first state image and the threshold image have more moire fringes, the signal processing module outputs the first angle control signal to control the second screen to rotate 30-45 ° on the plane where the second screen is located. If the first state image and the threshold image have the same moire pattern, the rotation of the angle is not performed.
In other real-time examples, according to the comparison between the first moire parameter and the set two-dimensional code moire fringe threshold, if the first moire parameter has a larger number of moire fringes and/or a wider moire width than the set two-dimensional code moire fringe threshold, the signal processing module outputs the first angle control signal to control the second screen to rotate 30-45 ° on the plane where the second screen is located.
In addition, in order to more accurately reduce moire fringes of a two-dimensional code image which has undergone one rotation, as shown in fig. 6, an electronic single ticket selling method according to an embodiment of the present invention further includes the steps of:
step S300: generating a second state image according to the acquired relay signal;
wherein the second state is a state after the second screen is rotated.
Step S310: detecting a second moire parameter in the second state image;
step S320: comparing the second moire parameter with a set two-dimensional code moire fringe threshold value;
step S330: outputting a second angle control signal according to the comparison result, wherein the second angle control signal controls the second screen to rotate for 1-5 degrees on the plane where the second screen is located;
in summary, the embodiment of the present invention provides an electronic one-way ticket selling method, because a two-dimensional code generated by a traditional entity one-way ticket, a paper one-way ticket, and APP software is used as a pass ticket, there are problems that a user does not have a corresponding mobile phone APP, a user mobile phone network fails, or a two-dimensional code image printed on the paper one-way ticket is not clearly printed or the image is ground in a user pocket, which causes a gate not to be identified. The embodiment of the patent provides an electronic single ticket selling method, and only after payment is completed, a user takes a picture of a mobile phone in a two-dimensional code acquisition area of electronic single ticket selling equipment, obtains a two-dimensional code generated by a two-dimensional code generation device inside the electronic ticket selling equipment and sends the two-dimensional code to the surface of the two-dimensional code acquisition area, and in addition, the display time of a ticket two-dimensional code displayed inside is controlled through a display control signal, so that the electronic single ticket selling method has higher privacy, and the ticket two-dimensional code can be guaranteed not to be shot and stolen by other people.
In the prior art, the moire fringes are reduced by improving the screen refresh rate and the resolution ratio, and the price of the display screen obtained by purchasing the resolution ratio and the refresh rate in actual engineering is very high in consideration of the problem of cost; the method for detecting and adjusting the two-dimensional code sending equipment to reduce the moire fringes in the prior art is absent, and the electronic one-way ticket selling method provided by the embodiment of the invention adopts the method that the two-dimensional code of the ticket is displayed on the second display area of the second screen, the two-dimensional code is acquired through the CCD camera arranged on the optical path of the second display area, the moire parameters generated by the two-dimensional code of the second display area are detected in real time, and the moire angle of the second display area relative to the camera of the mobile phone of the user is adjusted in real time according to the detected moire parameters, so that the quantity and the width of the generated moire fringes are greatly reduced, the elimination of the moire fringes is realized, the effect of the user on acquiring the two-dimensional code shot by the two-dimensional code is improved, the identification rate of the incoming and outgoing gate machine on the two-dimensional code is increased, and the passing efficiency of the electronic one-.
According to the electronic single-way ticket selling method, the embodiment of the invention also provides electronic single-way ticket selling equipment.
Fig. 7 is a schematic side view of an electronic single-pass ticket selling device according to an embodiment of the present invention. In this embodiment, as shown in fig. 7, the electronic single-pass ticket selling apparatus includes: the device comprises an equipment body 10, a touch screen 11, a two-dimensional code acquisition area 12, a reflection area 13, a two-dimensional code display device 14, a user detection device 15 and a signal processing module; the touch screen 11 is arranged on the outer surface of the front side of the device body 10, the touch screen 11 is configured to display corresponding site information and payment amount information, and generate a corresponding input signal according to the touch of a user on the corresponding site information on the touch screen 11; fig. 8 is a front perspective view of an electronic single-pass ticket selling apparatus provided by an embodiment of the present invention; as shown in fig. 8, the two-dimensional code acquisition area 12 is disposed on the horizontal operation table of the device body 10, and the two-dimensional code acquisition area 12 is made of a transparent material that allows light to pass through. A reflection area 13 and a two-dimensional code display device 14 are arranged inside the equipment body 10; the two-dimensional code display device 14, the reflection area 13 and the two-dimensional code acquisition area 12 are positioned on a periscope light path, so that a two-dimensional code generated by the two-dimensional code display device 14 passes through the reflection area 13 along the periscope light path and reaches the two-dimensional code acquisition area 12; the user detection device 15 is configured to collect relevant signals within a set range and transmit the collected relevant signals to the display control device of the signal processing module; the signal processing module is arranged inside the device body 10, the signal processing module is electrically connected with the touch screen 11, the two-dimensional code display device 14 and the user detection device 15, and the signal processing module is configured to process signals generated by the touch screen 11, the two-dimensional code display device 14 and the user detection device 15 and generate corresponding output signals.
In other embodiments, besides the structure that the two-dimensional code display device 14, the reflection area 13, and the two-dimensional code acquisition area 12 are located on the optical path of the periscope, a variety of ways are supported to enable the two-dimensional code in the screen of the two-dimensional code display device 14 to be transmitted into the mobile phone camera of the two-dimensional code acquisition area 12, as shown in fig. 9, the two-dimensional code display device 14 is directly disposed under the two-dimensional code acquisition area 12, so that the two-dimensional code generated by the two-dimensional code display device is not directly transmitted into the two-dimensional code acquisition area 12 through the reflection area 13.
In this embodiment, as shown in fig. 9, the user detection device 15 includes an infrared detector 151, a distance sensor 152, and an identification camera 153, and the display control signal inputs signals collected by the infrared detector 151, the distance sensor 152, and the identification camera 153 into a signal processing module to generate a display control signal to control the display time of the two-dimensional code in the two-dimensional code display device 14, specifically, when the infrared detector 151 recognizes that the ticket-buying passenger leaves, the distance sensor 152 recognizes that the mobile phone has been taken away, and at the same time, the identification camera 153 is added to recognize the departure of the person, so as to ensure that the whole ticket-buying flow of the passenger is completed, at this time, the two-dimensional code display device 14 does not display the two-dimensional code picture, and the ticket-buying flow is completed; compared with the method using only one of the sensing devices, the generated display control signal is more accurate and has smaller error, and the stability and the safety of the electronic single-way ticket selling method are improved.
In order to implement the electronic one-way ticket selling method of the present embodiment that detects moire fringe parameters of a two-dimensional code generated by the internal two-dimensional code display device 14 in real time and adjusts the two-dimensional code display device 14 in real time, an electronic one-way ticket selling device is proposed, as shown in fig. 10, the arrangement of the reflection area 13 and the user detection device 15 is the same as that described in the foregoing, and details are not repeated here. The difference lies in that, in the embodiment of the present invention, the method further includes: a CCD camera and a rotation control device; the two-dimensional code display device 14 is rotated on the plane on which the two-dimensional code display device 14 is located under the control of the rotation control device. Wherein the screen of the two-dimensional code display device 14 further includes a first display area and a second display area configured to display the relevant two-dimensional code according to the ticket information signal; the CCD camera is disposed inside the device body 10 and located on the second display area light path of the two-dimensional code display device 14, and the CCD camera is disposed on the second display area light path of the two-dimensional code display device 14, so that the CCD camera can be prevented from blocking or interfering with the two-dimensional code transmitted to the two-dimensional code acquisition area 12, thereby affecting the display of the two-dimensional code in the two-dimensional code acquisition area 12 and the whole electronic one-way ticket selling process. By adopting the scheme that the two ticket two-dimensional codes are displayed in the two display areas of the two-dimensional code display device 14 through the display control signals, the ticket two-dimensional codes output in the two-dimensional code acquisition area 12 and the number and the width of the moire fringes generated by the ticket two-dimensional codes in the image imaged by the CCD camera lens can be detected synchronously.
One end of the rotation control device is connected with the signal processing module, and the other end of the rotation control device is connected with the two-dimensional code display device; the two-dimensional code display device 14 is movably connected with the equipment body 10 through a rotation control device, and the two-dimensional code display device 14 can rotate in a plane where a screen of the two-dimensional code display device is located according to a control signal. Thereby adjusting the number and width of the moire fringes generated in the image imaged by the lens of the CCD camera.
Further, the embodiment of the present invention further provides two specific structures of a rotation control device, as shown in fig. 11, the rotation control device is installed on the inner wall of the back of the apparatus body 10, the rotation control device includes a cam divider 161 and a turntable 162 installed on the cam divider 161, the two-dimensional code display device 14 is arranged on the identification plate 163, and the identification plate 163 is fixed on the turntable 162 through a support column 164. When in use: the cam divider 161 controls the rotary disc 162 to rotate by a certain angle, the rotary disc 162 rotates to drive the identification plate 163 to rotate synchronously, and the angle can reduce the number and width of moire fringes of the two-dimensional code collected by the mobile phone camera, so that the mobile phone can shoot clear ticket two-dimensional codes conveniently.
In this embodiment, as shown in fig. 12, the rotation control means is installed on the inner wall of the back of the apparatus body 10, and includes a push rod motor 171, an identification plate 163; the two-dimensional code display device 14 is provided on the identification plate 163, and the identification plate 163 is rotatably mounted on the inner wall of the back surface 10 of the apparatus body through the rotating shaft 172. When in use: the push rod of push rod motor 171 is released and is made the marking plate 163 rotate round the axis of rotation, after the carousel rotated to limit switch position 173, limit switch 173 output signal made push rod motor 171 stop promoting, can reduce the Moire fringe quantity and the width that the two-dimensional code was gathered to the cell-phone camera and make things convenient for the cell-phone to shoot clear ticket two-dimensional code.
To sum up, the embodiment of the present invention provides an electronic one-way ticket selling device, which has the functions of detecting the number and the width of moire fringes of an image generated by a two-dimensional code generating device in a camera in real time, and adjusting the moire fringes in real time according to a preset value.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.

Claims (10)

1. An electronic single-ticket selling method is characterized by comprising the following steps:
acquiring a touch signal, wherein the touch signal comprises destination site information;
generating a bill signal according to the touch signal, wherein the bill signal is output so as to display payment amount information on a first screen, and the first screen is arranged outside the electronic single-way ticket selling equipment;
acquiring a payment signal, wherein the payment signal comprises data of payment completion of a user;
generating a ticket information signal, wherein the ticket information signal comprises two-dimensional code information corresponding to a ticket;
outputting the ticket information signal to generate a ticket two-dimensional code related to a destination station;
displaying the ticket two-dimensional code on a first display area of a second screen, wherein the second screen is arranged in the electronic one-way ticket selling equipment, and the ticket two-dimensional code is transmitted to a two-dimensional code acquisition area arranged outside the electronic one-way ticket selling equipment through a set optical path;
and controlling the display time of the ticket two-dimensional code according to the display control signal.
2. The electronic single-pass ticket ticketing method of claim 1 further comprising:
displaying the ticket two-dimensional code on a second display area of the second screen;
acquiring a relay signal, wherein the relay signal is a signal which is acquired by a CCD camera arranged in the electronic single-way ticket selling equipment and positioned on an optical path of the second display area;
generating a first state image according to the acquired relay signal;
detecting a first moire parameter in the first state image, wherein the moire parameter comprises the number of moire fringes and/or the width of the moire fringes;
comparing the first moire parameter with a set two-dimensional code moire fringe threshold value;
and outputting a first angle control signal according to the comparison result, wherein the first angle control signal controls the second screen to rotate at a corresponding angle on the plane where the second screen is located.
3. An electronic single-pass ticket vending method as claimed in claim 2, characterized in that said angle is 30-45 °.
4. The electronic single-pass ticket ticketing method of claim 2, further comprising:
generating a second state image according to the acquired relay signal;
detecting a second moire parameter in the second state image;
comparing the second moire parameter with a set two-dimensional code moire fringe threshold value;
and outputting a second angle control signal according to the comparison result, wherein the second angle control signal controls the second screen to rotate for 1-5 degrees on the plane where the second screen is located.
5. The electronic single-pass ticket selling method of claim 1, wherein the display control signal controls the display time of the two-dimensional code according to the signals collected by the infrared detector, the distance sensor and the identification camera.
6. An electronic single-ticket ticketing apparatus, comprising: the device comprises an equipment body, a touch screen, a two-dimensional code acquisition area, a reflection area, a two-dimensional code display device, a user detection device and a signal processing module;
the touch screen is arranged on the outer surface of the front side of the equipment body, is configured to display corresponding site information and payment amount information, and generates a corresponding input signal according to the touch of a user on the corresponding site information on the touch screen;
the two-dimensional code acquisition area is arranged on a horizontal operation table top of the equipment body and is made of transparent materials which can enable light rays to pass through;
a reflection area and a two-dimensional code display device are arranged in the equipment body; the two-dimensional code display device, the reflection area and the two-dimensional code acquisition area are positioned on a periscope light path, so that a two-dimensional code generated by the two-dimensional code display device passes through the reflection area along the periscope light path and reaches the two-dimensional code acquisition area;
the user detection device is configured to collect relevant signals in a set range and transmit the collected relevant signals to the display control device of the signal processing module to generate display control signals;
the signal processing module is arranged in the equipment body, the signal processing module is electrically connected with the touch screen, the two-dimensional code display device and the user detection device, and the signal processing module is configured to process signals generated by the touch screen, the two-dimensional code display device and the user detection device and generate corresponding output signals.
7. The electronic single-pass ticket ticketing apparatus of claim 6 further comprising: a CCD camera and a rotation control device;
the screen of the two-dimensional code display device comprises a first display area and a second display area, and the first display area and the second display area are configured to display related two-dimensional codes according to ticket information signals;
the CCD camera is arranged in the equipment body and is positioned on a second display area light path of the two-dimensional code display device;
one end of the rotation control device is connected with the signal processing module, and the other end of the rotation control device is connected with the two-dimensional code display device; the two-dimensional code display device can rotate in a plane where a screen of the two-dimensional code display device is located according to the angle control signal.
8. The electronic single-pass ticket selling equipment as claimed in claim 7, wherein the rotation control device is installed on the inner wall of the back of the equipment body, the rotation control device comprises a cam divider and a turntable installed on the cam divider, the two-dimensional code display device is arranged on the identification plate, and the identification plate is fixed on the turntable through a support column.
9. The electronic single-pass ticket vending apparatus of claim 7, wherein the rotation control device is installed on the inner wall of the back of the apparatus body, and the rotation control device comprises a push rod motor and an identification plate; be equipped with two-dimensional code display device on the signboard, the signboard passes through the axis of rotation and rotates to be installed on equipment body back inner wall.
10. Electronic single-pass ticket vending apparatus as claimed in claim 7, wherein said user detection means comprise an infrared detector, a distance sensor, an identification camera;
the infrared detector is arranged at the bottom of the front end of the equipment body and is configured to detect a human body signal close to the equipment body in real time and input the human body signal into a signal processing module arranged in the equipment body;
the distance sensor is arranged in the two-dimensional code acquisition area and is configured to acquire a mobile phone signal of the two-dimensional code acquisition area;
the recognition camera is arranged above the outer surface of the front face of the equipment body and is configured to acquire an image signal.
CN202011561974.9A 2020-12-25 2020-12-25 Electronic one-way ticket selling equipment and method Active CN112288892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011561974.9A CN112288892B (en) 2020-12-25 2020-12-25 Electronic one-way ticket selling equipment and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011561974.9A CN112288892B (en) 2020-12-25 2020-12-25 Electronic one-way ticket selling equipment and method

Publications (2)

Publication Number Publication Date
CN112288892A true CN112288892A (en) 2021-01-29
CN112288892B CN112288892B (en) 2021-04-06

Family

ID=74426304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011561974.9A Active CN112288892B (en) 2020-12-25 2020-12-25 Electronic one-way ticket selling equipment and method

Country Status (1)

Country Link
CN (1) CN112288892B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070133843A1 (en) * 2005-12-13 2007-06-14 Sharp Kabushiki Kaisha Electronic apparatus operating system
CN201402486Y (en) * 2009-04-30 2010-02-10 上海大学 Anti-peep device during password input
CN103218965A (en) * 2013-03-25 2013-07-24 汪晓春 Two-dimensional code intelligent display device
CN204010160U (en) * 2014-08-27 2014-12-10 南京信息工程大学 The intelligent locker that Quick Response Code is unpacked
CN105988224A (en) * 2015-02-09 2016-10-05 北京三星通信技术研究有限公司 3D display device and Moire fringe reducing method and device thereof
CN106896994A (en) * 2015-12-21 2017-06-27 阿里巴巴集团控股有限公司 A kind of frame display methods and device
CN109741468A (en) * 2018-04-26 2019-05-10 比亚迪股份有限公司 AFC system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070133843A1 (en) * 2005-12-13 2007-06-14 Sharp Kabushiki Kaisha Electronic apparatus operating system
CN201402486Y (en) * 2009-04-30 2010-02-10 上海大学 Anti-peep device during password input
CN103218965A (en) * 2013-03-25 2013-07-24 汪晓春 Two-dimensional code intelligent display device
CN204010160U (en) * 2014-08-27 2014-12-10 南京信息工程大学 The intelligent locker that Quick Response Code is unpacked
CN105988224A (en) * 2015-02-09 2016-10-05 北京三星通信技术研究有限公司 3D display device and Moire fringe reducing method and device thereof
CN106896994A (en) * 2015-12-21 2017-06-27 阿里巴巴集团控股有限公司 A kind of frame display methods and device
CN109741468A (en) * 2018-04-26 2019-05-10 比亚迪股份有限公司 AFC system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘震等: "《数字摄影技术与艺术实验教程》", 30 June 2015, 教育部直属师范大学华中师范大学出版社 *
高鸿锦等: "《新型显示技术(下册)》", 31 August 2014, 北京邮电大学出版社 *

Also Published As

Publication number Publication date
CN112288892B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
KR102454854B1 (en) Item detection system and method based on image monitoring
CA3124343C (en) Methods and systems for detecting screen covers on electronic devices
CN102982607B (en) For differentiating mobile communication equipment and the method for counterfeit bill
CN1957248B (en) Device and method for detecting contamination in a container
US6076731A (en) Magnetic stripe reader with signature scanner
JP2021184314A (en) Method and apparatus for recycling electronic devices
EP2165289A2 (en) Optical reader system for extracting information in a digital image
AU2013272209B2 (en) Optical coin discrimination systems and methods for use with consumer-operated kiosks and the like
JP6699872B2 (en) Baggage measuring device, baggage receiving system, baggage measuring method, and program
KR102441562B1 (en) Smart vending machine with AI-based adult authentication function
KR102253819B1 (en) Empty bottle unmanned recycle system and method thereof
CN112288892B (en) Electronic one-way ticket selling equipment and method
CN106060306B (en) Image read-out and image forming apparatus
EP3620974A1 (en) Method for recycling electronic devices
CN105711277A (en) Intelligent seal selection and sealing examination control method
US5880843A (en) Apparatus and method for determining the optical distortion of a transparent substrate
JP6652118B2 (en) Automatic teller machine, terminal device, and medium reading method
CN103650007A (en) Method for verifying the authenticity of securities and device for its realization
TWI842334B (en) Bill handling apparatus
TWI821102B (en) Bezel
CN116547689A (en) Photo taking device, control method therefor, and program
DARANDALE et al. Note to Coin Exchanger
BE880734A (en) METHOD FOR THE SECRET CHARACTERIZATION AND EVALUATION OF DATA MEDIA
MXPA00001916A (en) Apparatus and method for determining the optical distortion of a transparent substrate

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
GR01 Patent grant
GR01 Patent grant