Anti-theft device and control method thereof

Through the mobile terminal decodes the identification code on the paper feeding device and sends unlocking instructions to the background server. After verification, it generates a lock-opening signal, which solves the problem that existing mechanical paper feeding devices cannot achieve contactless intelligent lock-opening, and realizes the security of the device Anti-theft and convenient lock-opening.

CN111080850BActive Publication Date: 2025-02-18BEIJING XIAOQU ZHIPIN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201911234600.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-05
Publication Date
2025-02-18
Estimated Expiration
2039-12-05

AI Technical Summary

Technical Problem

Existing mechanical paper feeding equipment cannot achieve contactless intelligent lock unlocking, and does not require media unlocking, which cannot be prevented from theft or convenient unlocking.

Method used

The mobile terminal scans the identification code on the paper feeding device, obtains the device ID and decodes it, generates the user interaction interface to receive unlocking instructions, and sends it to the background server for verification. If the user is an administrator, the background server generates control instructions, the main control board of the paper feeding device parses and generates a unlock signal, and the electronic lock performs the unlock operation.

Benefits of technology

The contactless intelligent lock unlocking of paper feeding equipment is realized, which is both anti-theft and convenient lock unlocking, avoiding equipment damage and waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111080850B_ABST
    Figure CN111080850B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to an anti-theft device and a control method thereof, comprising: a mobile terminal receives anti-theft device unlocking instruction information input by a user in a user interaction interface, and sends the anti-theft device unlocking instruction information to a background server; the background server parses the anti-theft device unlocking instruction information, queries a paper supply device administrator data list, and determines whether the user is an administrator user in the paper supply device; when it is determined that the user is an administrator user of the paper supply device, generates first control instruction information according to the anti-theft device unlocking instruction and a device ID, and sends the information to the paper supply device; a communication module of the paper supply device receives the first control instruction information, and transmits the information to a main control board of the paper supply device; the main control board parses and processes the first control instruction information, obtains the anti-theft device unlocking instruction, generates an unlocking signal according to the anti-theft device unlocking instruction, and sends the information to an electronic lock of the paper supply device through a converter board of the paper supply device, so that the electronic lock performs an unlocking operation according to the unlocking signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to an anti-theft device and a control method thereof. Background Art

[0002] At present, public toilets are equipped with paper supply equipment for people's convenient use, but a small number of people are accustomed to taking public toilet paper home, or a small number of people use toilet paper at will, causing unnecessary waste.

[0003] In order to avoid the waste of toilet paper caused by such uncivilized phenomena and to further cultivate good living habits among the Chinese people, the existing public toilets have improved and upgraded their paper supply equipment. Most of them are mechanical contact type: such as buttons and keys, which must be opened with the help of a certain medium tool. If there is violent destruction or excessive pulling, it will cause damage to the equipment and will not play a role in preventing theft. Summary of the invention

[0004] The purpose of the present invention is to provide an anti-theft device and a control method thereof in view of the defects of the prior art, so as to solve the problem that the existing mechanical paper feeding equipment cannot realize non-contact intelligent unlocking and does not need to use media to unlock, which can prevent theft and facilitate unlocking.

[0005] To achieve the above object, in a first aspect, the present invention provides a control method for an anti-theft device, the control method comprising:

[0006] The mobile terminal scans the identification code on the paper supply device to obtain the identification code information, wherein the identification code information includes the device ID;

[0007] The mobile terminal decodes the identification code information, generates and outputs a user interaction interface, receives anti-theft device unlocking instruction information input by the user on the user interaction interface, and sends the anti-theft device unlocking instruction information to the backend server; the anti-theft device unlocking instruction information includes the user ID of the mobile terminal, the anti-theft device unlocking instruction, the device ID and the terminal ID of the mobile terminal;

[0008] The backend server analyzes the unlocking instruction information of the anti-theft device, queries the paper supply device administrator data list according to the device ID, user ID and terminal ID, and determines whether the user is an administrator user of the paper supply device;

[0009] When it is determined that the user is an administrator user of the paper supply device, the background server generates first control instruction information according to the anti-theft device unlocking instruction and the device ID, and sends the first control instruction information to the paper supply device;

[0010] The communication module of the paper supply device receives the first control instruction information and transmits it to the main control board of the paper supply device;

[0011] The main control board parses and processes the first control instruction information to obtain the anti-theft device unlocking instruction, generates an unlocking signal according to the anti-theft device unlocking instruction, and sends it to the electronic lock of the paper supply device through the adapter board of the paper supply device, so that the electronic lock performs an unlocking operation according to the unlocking signal.

[0012] Preferably, the background server generates first control instruction information according to the anti-theft device unlocking instruction and the device ID, and sends it to the paper supply device. The control method also includes: the background server generates billing record information according to the device ID, user ID and terminal ID.

[0013] Preferably, after the electronic lock performs the unlocking operation according to the unlocking signal, the control method further comprises: the main control board receives unlocking status feedback information of the electronic lock, generates first feedback information according to the unlocking status feedback information, and sends the first feedback information to the background server through the communication module; the first feedback information includes the device ID and unlocking completion status information;

[0014] The backend server sends the first feedback information to the mobile terminal to prompt the user that unlocking is completed.

[0015] Preferably, when it is determined that the user is not an administrator user of the paper supply device, the control method further comprises: the background server generates second feedback information and sends it to the mobile terminal to prompt that the user authority authentication fails.

[0016] Preferably, the control method further includes:

[0017] The electronic lock generates closing state feedback information according to the closing operation, generates third feedback information according to the closing state feedback information, and sends it to the background server through the communication module; the third feedback information includes the device ID and the locking completion state information;

[0018] The backend server sends the third feedback information to the mobile terminal to prompt the user that the locking is completed.

[0019] In a second aspect, an embodiment of the present invention provides an anti-theft device, the anti-theft device comprising: a device housing, a communication module, a main control board, a switching board and an electronic lock;

[0020] An identification code is provided on the device housing;

[0021] The device housing comprises: an upper front housing, a housing body and a rear housing;

[0022] The communication module is arranged on the main control board, and the communication module is connected to the backend server through the 4G network, and is connected to the anti-theft device and the backend server respectively;

[0023] The main control board is arranged in the shell body, the main control board is electrically connected to the communication module, and the main control board is connected to the adapter board through a serial port; the main control board analyzes the command information received by the communication module and generates an electrical signal, and sends it to the adapter board;

[0024] The adapter board is connected to the main control board and the electronic lock respectively;

[0025] The electronic lock is arranged on the top of the device housing to lock the upper front housing and the housing body from the inside.

[0026] Preferably, the electronic lock specifically comprises: a lock body, a lock port, a lock tongue groove, a lock tongue, a lock buckle and a control line;

[0027] The surface of the lock body is provided with a screw hole, and the lock body is fixed to the middle piece by passing a screw through the screw hole;

[0028] The lock opening is opened at the front end of the lock body, and the opening width and depth of the lock opening match the lock buckle;

[0029] The lock tongue groove is arranged inside the lock body, the opening of the lock tongue groove is communicated with the lock port, and a rotating shaft is arranged inside the lock tongue groove;

[0030] The lock tongue is located in the lock tongue groove, the end of the lock tongue is fixed on the rotating shaft, the lock tongue takes the rotating shaft as a base point and reciprocates along the inner edge of the lock tongue groove, the lock tongue comprises a lock tongue baffle and a lock tongue hook; the lock tongue baffle and the lock tongue hook are an integrated structure;

[0031] The lock buckle is arranged on one side of the upper front shell of the paper feeding device, and the lock buckle comprises a base and a buckle body; the buckle body and the base are an integrally formed structure;

[0032] The control line is used to connect the electronic lock and the adapter plate.

[0033] Preferably, the anti-theft device further comprises: a power supply;

[0034] The power supply is arranged below the electronic lock, and the power supply is connected to the electronic lock via the adapter plate and the control line; the power supply is used to provide working power to the electronic lock.

[0035] Preferably, the anti-theft device further comprises: a Bluetooth module;

[0036] The Bluetooth module is arranged in the shell body and is connected to the background server via the Bluetooth protocol.

[0037] Further preferably, a groove is provided between the lock tongue baffle and the lock tongue hook, and the groove is used to fix the lock buckle when the lock buckle is buckled with the lock tongue hook.

[0038] The anti-theft device and control method thereof provided by the embodiment of the present invention solve the problem that the existing mechanical paper feeding equipment cannot realize non-contact intelligent unlocking and does not need to use medium to unlock, which can prevent theft and facilitate unlocking. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flow chart of a control method for an anti-theft device provided by an embodiment of the present invention;

[0040] Figure 2 A first exploded view of the anti-theft device provided by an embodiment of the present invention;

[0041] Figure 3 A second exploded view of the anti-theft device provided by an embodiment of the present invention;

[0042] Figure 4 A schematic diagram of the unlocking state of an electronic lock in an anti-theft device provided by an embodiment of the present invention;

[0043] Figure 5 A schematic diagram of the locked state of an electronic lock in an anti-theft device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments.

[0045] Figure 1 The flowchart of the control method of the anti-theft device provided by the embodiment of the present invention is as follows. Figure 1 In addition, the mobile terminal used in the embodiment of the present invention is a dedicated customized mobile terminal, or a mobile terminal loaded with a specific application that can access the paper supply device management server.

[0046] The unlocking control method of the anti-theft device provided in this embodiment includes the following steps:

[0047] Step 101, the mobile terminal scans the identification code on the paper supply device to obtain the identification code information;

[0048] Wherein, the identification code information includes a device ID;

[0049] Specifically, the mobile terminal is a smart phone or mobile tablet with image recognition and Internet access functions; the identification code is specifically a QR code or a barcode; the device ID specifically includes the device name, device number and operating status information, etc.

[0050] In a specific implementation process, a user uses a mobile terminal to scan a two-dimensional code image on a paper supply device, where the two-dimensional code image includes a device ID.

[0051] Of course, non-administrator users can also scan the QR code. When a user uses a non-customized mobile terminal (i.e. a mobile terminal without administrator privileges) to perform the above-mentioned QR code scanning operation, a security prompt interface will first appear, informing the user that his or her operating privileges will be subject to corresponding restrictions.

[0052] Step 102, the mobile terminal decodes the identification code information, generates and outputs a user interaction interface, receives anti-theft device unlocking instruction information input by the user in the user interaction interface, and sends the anti-theft device unlocking instruction information to the background server;

[0053] Specifically, the user interaction interface includes user options, device options, mobile terminal options, device operation status options and anti-theft device setting options, and each option is provided with a corresponding submenu or status information.

[0054] In a specific implementation process, the image recognition device in the mobile terminal recognizes the QR code scanned in step 101, generates and outputs a user interaction interface through analysis and is displayed on the mobile terminal. The user inputs unlocking instruction information for the anti-theft device option in the user interaction interface and performs related operations on other options through the touch screen of the mobile terminal, and then sends it to the background server through the mobile terminal, wherein the anti-theft device unlocking instruction information includes the user ID of the mobile terminal, the anti-theft device unlocking instruction, the device ID and the terminal ID of the mobile terminal; when the user uses a non-customized mobile terminal to perform the above operations, there is only one option for inputting the anti-theft device unlocking instruction information in the user interaction interface. This design can prevent user ID leakage and reduce the probability of misoperation.

[0055] The mobile terminal sends the anti-theft device unlocking instruction information to the background server through the 4G communication module or WIFI communication module in the mobile terminal.

[0056] Step 103, the backend server parses the anti-theft device unlocking instruction information, queries the paper supply device administrator data list according to the device ID, user ID and terminal ID, and determines whether the user is an administrator user in the paper supply device;

[0057] Specifically, the paper supply equipment administrator data list includes data of all authorized paper supply equipment administrators and data of authorized equipment maintenance personnel.

[0058] In a specific implementation process, the background server receives the instruction information sent by the mobile terminal, and can obtain the anti-theft device unlocking instruction information through analysis, and can also obtain the device ID, user ID and terminal ID information of the mobile terminal. By querying and comparing the device ID, user ID and terminal ID of the mobile terminal with the paper supply device administrator data list stored in the background server, it can be determined whether the current user ID is an authorized administrator of the paper supply device; when a non-administrator user uses the mobile terminal to perform the above operations, the background server receives the information sent by the mobile terminal and parses it, and obtains the anti-theft device unlocking instruction information, device ID and user ID information. By querying and comparing the device ID and user ID with the paper supply device administrator data list stored in the background server, it is determined that the current user is a non-administrator user, and step 109 is executed. The background server generates second feedback information and sends it to the mobile terminal to prompt that the user authority authentication has failed.

[0059] When it is determined that the user is an administrator user of the paper supply device, step 104 is executed.

[0060] Step 104, the backend server generates first control instruction information according to the anti-theft device unlocking instruction and the device ID, and sends it to the paper supply device;

[0061] Specifically, when the device ID, user ID and terminal ID of the mobile terminal are compared with the paper supply device administrator data list in the background server and the person is confirmed to be an authorized administrator of the paper supply device, the background server generates control instruction information corresponding to the device ID based on the anti-theft device unlocking instruction information and the device ID. The control instruction information corresponding to the device ID is sent by the background server to the paper supply device corresponding to the device ID, ensuring that the anti-theft device unlocking instruction information sent by the user from the mobile terminal matches the anti-theft device unlocking instruction information sent by the background server to the corresponding device ID.

[0062] The control instruction information is specifically anti-theft device unlocking instruction information.

[0063] In a specific implementation process, when the device ID, user ID and terminal ID of the mobile terminal are compared with the paper supply device administrator data list in the background server, and it is confirmed that the current user is an authorized administrator of the paper supply device, the background server generates a first control instruction information based on the received anti-theft device unlocking instruction information and device ID, and the first control instruction information is sent by the background server to the paper supply device of the corresponding device ID; for users who pass the above authentication using a non-customized mobile terminal, the background server also generates control instruction information corresponding to the device ID based on the anti-theft device unlocking instruction information and device ID, and the control instruction information is also sent by the background server to the paper supply device of the corresponding device ID.

[0064] After step 104, the control method further includes: the background server generates charging record information according to the device ID, the user ID and the terminal ID.

[0065] Specifically, the billing record information is the number of times the user ID applies for unlocking and the server responds and sends anti-theft device unlocking instructions within a billing cycle, which serves as the basis for the paper supply equipment supplier to settle the rental fee or consumables usage fee with the user.

[0066] In a specific implementation process, one week or one month is set as a billing cycle, and the background server records the number of times the user ID and terminal ID apply for unlocking instructions within the above billing cycle and the number of times the device ID accepts unlocking instructions within the above billing cycle and stores them in the background server, so that the supplier can settle relevant fees by retrieving the billing record information from the background server; for example, the user business to which the user belongs can be determined based on the user ID, and then the total number of times each user of the user business applies for unlocking instructions within the above billing cycle is counted, and the rental fee or consumables usage fee is calculated based on the single unlocking application fee or the total number of unlocking applications, and the billing record information is generated.

[0067] Step 105, the communication module of the paper supply device receives the first control instruction information and transmits it to the main control board of the paper supply device;

[0068] Specifically, the communication module of the paper supply device is a 4G communication module or a WIFI communication module, and the communication module and the main control board can be connected through a serial port.

[0069] In a specific implementation process, the background server sends the anti-theft device unlocking instruction information to the paper supply device. The paper supply device receives the information from the background server through the built-in 4G communication module or WIFI communication module, and transmits the received instruction information to the main control board.

[0070] Step 106, the main control board parses and processes the first control instruction information to obtain an anti-theft device unlocking instruction, generates an unlocking signal according to the anti-theft device unlocking instruction, and sends the unlocking signal to the electronic lock of the paper supply device through the adapter board of the paper supply device, so that the electronic lock performs an unlocking operation according to the unlocking signal;

[0071] Specifically, the main control board parses and processes the command information received from the communication module into a corresponding electrical signal, and sends the unlocking electrical signal to the electronic lock through the adapter board; the adapter board is used for signal transmission and power supply between the electronic lock and the main control board. A serial port is provided on the surface of the adapter board. The main control board and the electronic lock are connected to the serial port through a control line. The electronic lock performs an unlocking operation according to the received unlocking signal.

[0072] In a specific implementation process, the main control board receives the unlocking command information transmitted from the communication module, and converts it into a corresponding unlocking electrical signal through analysis and processing. The main control board is connected to the adapter board through a control line, and the adapter board is also electrically connected to the electronic lock through the control line, so that the unlocking electrical signal is sent to the electronic lock through the adapter board, and the electronic lock executes the unlocking operation after receiving the unlocking electrical signal; the specific structure of the electronic lock and the unlocking execution process will be described accordingly in the embodiments of the subsequent device.

[0073] Step 107, the main control board receives the unlocking status feedback information of the electronic lock, generates first feedback information according to the unlocking status feedback information, and sends it to the background server through the communication module;

[0074] Specifically, the first feedback information includes the device ID and unlocking completion status information;

[0075] Step 108: The backend server sends the first feedback information to the mobile terminal to prompt the user that the unlocking is completed.

[0076] Specifically, in order to confirm whether the unlocking instruction input by the mobile terminal is received and executed by the electronic lock, the background server will simultaneously feedback the unlocking status to the user. Through the first feedback information, the user can effectively avoid disassembling the upper front shell of the paper feeding device without executing the unlocking of the electronic lock, which may cause damage to the device shell.

[0077] In a specific implementation process, after the electronic lock completes the unlocking operation, it will automatically generate status information and send it to the main control board through the adapter board. The status information received by the main control board includes the device ID, terminal ID and unlocking status feedback information. The main control board processes and generates first feedback information based on the device ID, terminal ID and unlocking status feedback information. The main control board sends the first feedback information to the background server through the communication module. The background server sends the received first feedback information to the mobile terminal corresponding to the terminal ID, prompting the user of the mobile terminal that the unlocking is completed. For users using non-customized mobile terminals, the above feedback information cannot be obtained.

[0078] After the aforementioned step 103, when it is determined that the user is not an administrator user of the paper supply device, step 109 is executed:

[0079] Step 109: the backend server generates second feedback information and sends it to the mobile terminal to prompt the user that the authority authentication fails.

[0080] Specifically, when the device ID, user ID and terminal ID information of the mobile terminal obtained by the background server cannot be found in the paper supply device administrator data list, the background server will generate a second feedback message and send the user authority authentication failure information to the corresponding mobile terminal. In addition, the background server can also output advertising information of the paper supply device to the mobile terminal.

[0081] To close the electronic lock, follow these steps:

[0082] Step 201, the electronic lock generates closing state feedback information according to the closing operation, generates third feedback information according to the closing state feedback information, and sends it to the background server through the communication module;

[0083] Specifically, the third feedback information includes device ID and locking completion status information;

[0084] In a specific implementation process, in order to inform the mobile terminal that the electronic lock has completed locking, the background server will feedback the locking status to the user. The electronic lock automatically generates closing status feedback information based on the closing operation and sends it to the main control board through the adapter board. The status information received by the main control board includes the device ID, terminal ID and locking status feedback information. The main control board generates third feedback information based on the device ID and the locking completion status information, and sends the third feedback information to the background server through the communication module.

[0085] Step 202: The backend server sends third feedback information to the mobile terminal to prompt the user that the locking is completed.

[0086] Specifically, the user opens the upper front shell of the paper supply device according to the first feedback information, and after completing the replacement of toilet paper and other related tasks, restores the upper front shell of the paper supply device to its original position. The main control board generates third feedback information according to the closing state information. The third feedback information includes the device ID and the locking completion state information. Through the third feedback information, the user can confirm whether the internal electronic lock and the lock buckle are fastened, thereby avoiding the occurrence of toilet paper theft or equipment damage due to the failure of the internal electronic lock and the lock buckle of the paper supply device to fasten.

[0087] In a specific implementation process, the background server sends the received third feedback information to the mobile terminal corresponding to the terminal ID, prompting the user of the mobile terminal that the electronic lock is locked.

[0088] The control method of the anti-theft device provided by the embodiment of the present invention solves the problem that the existing mechanical paper feeding equipment cannot realize non-contact intelligent unlocking and does not need to use medium to unlock, which can prevent theft and facilitate unlocking.

[0089] Accordingly, an embodiment of the present invention provides an anti-theft device as described in the above embodiment, Figure 2 A first exploded view of the anti-theft device provided by an embodiment of the present invention, Figure 3 A second exploded view of the anti-theft device provided by an embodiment of the present invention, Figure 4 A schematic diagram of the unlocking state of an electronic lock in an anti-theft device provided by an embodiment of the present invention, Figure 5 A schematic diagram of the locked state of an electronic lock in an anti-theft device provided in an embodiment of the present invention; Figure 2 , Figure 3 , Figure 4 and Figure 5 As shown, it includes: a device housing 1, a communication module 2, a main control board 3, a switching board 4, an electronic lock 5, a power supply 6 and a Bluetooth module 7;

[0090] The device shell 1 consists of an upper front shell 11, a shell body 12 and a rear shell 13. The surface of the upper front shell 11 has a QR code, and a lock 55 is accommodated inside the upper front shell 11. The rear shell 13 is fixed to the wall surface by bolts, and the shell body 12 inside the rear shell 13 is buckled on the surface of the rear shell 13 and fastened by screws.

[0091] The communication module 2 , the main control board 3 , the adapter board 4 , the electronic lock 5 , the power supply 6 and the Bluetooth module 7 are all accommodated in the device housing 1 .

[0092] The communication module 2 is arranged on the main control board 3, and the communication module 2 is connected to the backend server through the 4G network, and is connected to the anti-theft device and the backend server respectively;

[0093] The main control board 3 is arranged in the housing body 1, the main control board 3 is electrically connected to the communication module 2, and the main control board 3 is connected to the adapter board 4 through a serial port; the main control board 3 analyzes the command information received by the communication module 2 and generates an electrical signal, which is sent to the adapter board 4;

[0094] The adapter board 4 is connected to the main control board 3 and the electronic lock 5 respectively;

[0095] The electronic lock 5 is disposed on the top of the device housing 1 to lock the front shell 11 and the housing body 12 from the inside.

[0096] The electronic lock 5 is composed of a lock body 51 , a lock port 52 , a lock tongue groove 53 , a lock tongue 54 , a lock buckle 55 and a control line 56 .

[0097] The surface of the lock body 51 has screw holes, and screws are inserted through the screw holes to fix the lock body 51 to the housing body 12;

[0098] The lock opening 52 is opened at the front end of the lock body 51, and the opening width and depth of the lock opening 52 match the lock buckle 55;

[0099] The lock tongue groove 53 is disposed inside the lock body 51, the opening of the lock tongue groove 53 is communicated with the lock port 52, and a rotating shaft is provided inside the lock tongue groove 53;

[0100] The lock tongue 54 is located in the lock tongue groove 53, and the end of the lock tongue 54 is fixed on the rotating shaft. The lock tongue 54 reciprocates along the inner edge of the lock tongue groove 53 with the rotating shaft as the base point. The lock tongue 54 specifically includes a lock tongue baffle 541 and a lock tongue hook 542; the lock tongue baffle 541 and the lock tongue hook 542 are an integral structure; there is a groove 543 between the lock tongue baffle 541 and the lock tongue hook 542, and the groove 543 is used to fix the lock buckle 55 when the lock buckle 55 is engaged with the lock tongue hook 542.

[0101] The lock buckle 55 is disposed inside the upper front shell 11, and the lock buckle 55 includes a base 551 and a buckle body 552; the buckle body 552 and the base 551 are an integrally formed structure;

[0102] The control line 56 is used to connect the electronic lock and the adapter plate;

[0103] The power supply 6 is arranged below the electronic lock 5 , and the power supply 6 is connected to the electronic lock 5 via the adapter plate 4 and the control line 56 ; the power supply 6 is used to provide working power to the electronic lock 5 .

[0104] The Bluetooth module 7 is arranged in the main control board 3, and is used for enabling the anti-theft device to interact with the mobile terminal and realize the unlocking operation when the anti-theft device cannot interact with the background server and realize the unlocking operation.

[0105] The unlocking process of the electronic lock is described in detail below through a specific implementation process.

[0106] The user uses a smart phone or mobile tablet with image recognition and Internet access functions to scan the two-dimensional code image or barcode located on the front shell 11 of the device shell 1, and the image recognition device in the smart phone or mobile tablet recognizes and analyzes the image or barcode to generate a user interaction interface and outputs it for display on the mobile terminal. The mobile terminal receives the user's input operation of unlocking the anti-theft device option in the user interaction interface through the touch screen, and then sends it to the background server through the communication module in the mobile terminal. The background server receives the instruction information sent by the mobile terminal, and can obtain the anti-theft device unlocking instruction information and the device ID, user ID and terminal ID information of the mobile terminal through analysis. The device ID, user ID and terminal ID of the mobile terminal are compared with the paper supply device administrator data list stored in the background server to determine whether the current user ID is an authorized administrator of the paper supply device; when it is confirmed that the current user ID is an authorized administrator of the paper supply device, the background server can obtain the unlocking instruction information of the anti-theft device and the device ID, user ID and terminal ID of the mobile terminal. After the paper equipment is authorized by the administrator, the background server generates the first control instruction information according to the received anti-theft device unlocking instruction information and the device ID, and the first control instruction information is sent by the background server to the paper supply device of the corresponding device ID; wherein, the first control instruction information is specifically the anti-theft device unlocking instruction information; while the background server sends the first control instruction information to the paper supply device, the background server generates the billing record information according to the device ID, the user ID and the terminal ID; the paper supply device receives the anti-theft device unlocking instruction information from the background server through the built-in communication module 2, and the communication module 2 transmits the received instruction information to the main control board 3; the main control board 3 receives the unlocking instruction information transmitted from the communication module 2, and converts it into a corresponding unlocking electrical signal through analysis and processing, and sends the unlocking electrical signal to the adapter board 4; the unlocking electrical signal is sent to the electronic lock 5 through the adapter board 4, and the electronic lock 5 performs the unlocking operation after receiving the unlocking electrical signal. Specifically, after the electronic lock 5 receives the unlocking electrical signal, the power supply 6 supplies power to the electronic lock 5 through the adapter board 4 and the control line 56, and the motor inside the electronic lock 5 drives the lock tongue 54 to rotate counterclockwise in the lock tongue groove 53. As the lock tongue 54 slowly rotates, the buckle body 552 of the lock buckle 55 is disengaged from the groove 543 under the push of the lock tongue baffle 541. During this period, the lock tongue hook 542 is completely separated from the buckle body 552, and the buckle body 552 moves to the outside of the lock body 51 through the lock port 52 until the buckle body 552 is partially pulled out of the lock body 51, and the lock buckle 55 is separated from the lock body 51 and unlocking is achieved.

[0107] The locking process of the electronic lock is described in detail below through another specific implementation process.

[0108] After the user completes the replacement of toilet paper, the upper front shell 11 of the paper supply device is buckled onto the shell body 12, and the lock buckle 55 is reinserted into the lock body 51 of the electronic lock 5; specifically, when the buckle body 552 of the lock buckle 55 moves into the lock tongue groove 53 through the lock port 52, the buckle body 552 of the lock buckle 55 pushes the lock tongue baffle 541 to move together during the movement, until the buckle body 552 is stuck in the groove 543 and is completely buckled by the lock tongue hook 542, so that the lock buckle 55 is completely inserted into the lock tongue groove 53, thereby completing the locking of the electronic lock 5. At the same time, the electronic lock 5 automatically generates a closing state feedback information according to the closing operation and sends it to the main control board 3 through the adapter board 4. The main control board 3 generates a third feedback information according to the received device ID and the closing state feedback information, and sends the third feedback information to the background server through the communication module 2. The background server sends the received third feedback information to the mobile terminal corresponding to the terminal ID, prompting the user of the mobile terminal that the electronic lock is locked.

[0109] The anti-theft device provided by the embodiment of the present invention is used on a paper supply device and can realize non-contact intelligent unlocking and safe anti-theft.

[0110] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0111] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0112] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for controlling an anti-theft device, characterized in that: The control method comprises: The mobile terminal scans the identification code on the paper supply device to obtain the identification code information, wherein the identification code information includes the device ID; The mobile terminal decodes the identification code information, generates and outputs a user interaction interface, receives anti-theft device unlocking instruction information input by the user on the user interaction interface, and sends the anti-theft device unlocking instruction information to the backend server; the anti-theft device unlocking instruction information includes the user ID of the mobile terminal, the anti-theft device unlocking instruction, the device ID and the terminal ID of the mobile terminal; The backend server parses the unlocking instruction information of the anti-theft device, queries the paper supply device administrator data list according to the device ID, user ID and terminal ID, and determines whether the user is an administrator user in the paper supply device; When it is determined that the user is an administrator user of the paper supply device, the background server generates first control instruction information according to the anti-theft device unlocking instruction and the device ID, and sends the first control instruction information to the paper supply device; The communication module of the paper supply device receives the first control instruction information and transmits it to the main control board of the paper supply device; The main control board parses and processes the first control instruction information to obtain the anti-theft device unlocking instruction, generates an unlocking signal according to the anti-theft device unlocking instruction, and sends it to the electronic lock of the paper supply device through the adapter board of the paper supply device, so that the electronic lock performs an unlocking operation according to the unlocking signal.

2. The control method according to claim 1, characterized in that: The backend server generates first control instruction information according to the anti-theft device unlocking instruction and the device ID, and sends it to the paper supply device. The control method also includes: the backend server generates billing record information according to the device ID, user ID and terminal ID.

3. The control method according to claim 1, characterized in that: After the electronic lock performs the unlocking operation according to the unlocking signal, the control method further includes: the main control board receives the unlocking status feedback information of the electronic lock, generates first feedback information according to the unlocking status feedback information, and sends the first feedback information to the background server through the communication module; the first feedback information includes the device ID and the unlocking completion status information; The backend server sends the first feedback information to the mobile terminal to prompt the user that unlocking is completed.

4. The control method according to claim 1, characterized in that: When it is determined that the user is not an administrator user of the paper supply device, the control method further includes: the background server generates second feedback information and sends it to the mobile terminal to prompt that the user authority authentication fails.

5. The control method according to claim 1, characterized in that: The control method further comprises: The electronic lock generates closing state feedback information according to the closing operation, generates third feedback information according to the closing state feedback information, and sends the third feedback information to the background server through the communication module; the third feedback information includes the device ID and the locking completion state information; The backend server sends the third feedback information to the mobile terminal to prompt the user that the locking is completed.

6. An anti-theft device, characterized in that: The anti-theft device comprises: a device housing, a communication module, a main control board, a switching board and an electronic lock; An identification code is provided on the device housing; The device housing comprises: an upper front housing, a housing body and a rear housing; the housing body is buckled on the surface of the rear housing and fastened by screws; The communication module is arranged on the main control board, and the communication module is connected to the backend server through the 4G network, and is connected to the anti-theft device and the backend server respectively; The main control board is arranged in the shell body, the main control board is electrically connected to the communication module, and the main control board is connected to the adapter board through a serial port; the main control board analyzes the command information received by the communication module and generates an electrical signal, and sends it to the adapter board; The adapter board is connected to the main control board and the electronic lock respectively; The electronic lock is arranged on the top of the device housing to lock the upper front housing and the housing body from the inside.

7. The anti-theft device according to claim 6, characterized in that: The electronic lock specifically comprises: a lock body, a lock port, a lock tongue slot, a lock tongue, a lock buckle and a control line; The surface of the lock body is provided with a screw hole, and the lock body is fixed to the middle piece by passing a screw through the screw hole; The lock opening is opened at the front end of the lock body, and the opening width and depth of the lock opening match the lock buckle; The lock tongue groove is arranged inside the lock body, the opening of the lock tongue groove is communicated with the lock port, and a rotating shaft is arranged inside the lock tongue groove; The lock tongue is located in the lock tongue groove, the end of the lock tongue is fixed on the rotating shaft, the lock tongue takes the rotating shaft as a base point and reciprocates along the inner edge of the lock tongue groove, the lock tongue comprises a lock tongue baffle and a lock tongue hook; the lock tongue baffle and the lock tongue hook are an integrated structure; The lock buckle is arranged on one side of the upper front shell of the paper feeding device, and the lock buckle comprises a base and a buckle body; the buckle body and the base are an integrally formed structure; The control line is used to connect the electronic lock and the adapter plate.

8. The anti-theft device according to claim 6, characterized in that: The anti-theft device also includes: a power supply; The power supply is arranged below the electronic lock, and the power supply is connected to the electronic lock via the adapter plate and the control line; the power supply is used to provide working power to the electronic lock.

9. The anti-theft device according to claim 6, characterized in that: The anti-theft device also includes: a Bluetooth module; The Bluetooth module is arranged in the shell body and connected with the background server via the Bluetooth protocol.

10. The anti-theft device according to claim 7, characterized in that: A groove is provided between the lock tongue baffle and the lock tongue hook, and the groove is used to fix the lock buckle when the lock buckle is buckled with the lock tongue hook.

Citation Information

Patent Citations

  • Anti-theft device

    CN211397029U