CN107464167A - Coded lock latches confirmation method, device, server and the storage medium of state - Google Patents
Coded lock latches confirmation method, device, server and the storage medium of state Download PDFInfo
- Publication number
- CN107464167A CN107464167A CN201710646916.8A CN201710646916A CN107464167A CN 107464167 A CN107464167 A CN 107464167A CN 201710646916 A CN201710646916 A CN 201710646916A CN 107464167 A CN107464167 A CN 107464167A
- Authority
- CN
- China
- Prior art keywords
- lock
- coded lock
- coded
- user
- picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012790 confirmation Methods 0.000 title claims abstract description 6
- 238000007781 pre-processing Methods 0.000 claims description 9
- 238000000605 extraction Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 4
- 230000006835 compression Effects 0.000 claims description 3
- 238000007906 compression Methods 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 3
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 5
- 238000012544 monitoring process Methods 0.000 abstract description 4
- KJLPSBMDOIVXSN-UHFFFAOYSA-N 4-[4-[2-[4-(3,4-dicarboxyphenoxy)phenyl]propan-2-yl]phenoxy]phthalic acid Chemical compound C=1C=C(OC=2C=C(C(C(O)=O)=CC=2)C(O)=O)C=CC=1C(C)(C)C(C=C1)=CC=C1OC1=CC=C(C(O)=O)C(C(O)=O)=C1 KJLPSBMDOIVXSN-UHFFFAOYSA-N 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Marketing (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Business, Economics & Management (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
Confirmation method, device, server and the storage medium for the state that latched the embodiment of the invention discloses a kind of coded lock.Methods described includes:The coded lock picture for including latch handle and coded lock mark that user is taken pictures and uploaded by terminal is obtained, wherein, coded lock mark corresponds with coded lock;Extract the current location information and coded lock mark for the handle that latched described in coded lock picture;The predeterminated position of the handle that latches corresponding with coded lock is determined according to coded lock mark;Current location information is matched with the predeterminated position, and the state that latches of the coded lock is determined according to matching result.By using above-mentioned technical proposal, server can carry out effective monitoring to the state of coded lock.When accident occurs for shared bicycle, bicycle operator can quickly find the person liable of accident, avoid unnecessary economic loss for shared bicycle operation enterprise, while can also promote the extensive development of shared bicycle.
Description
Technical Field
The embodiment of the invention relates to the technical field of remote communication, in particular to a method and a device for confirming the locking state of a coded lock, a server and a storage medium.
Background
The mechanical coded lock is a lock which has strong reliability, no maintenance, low manufacturing cost and easy operation, and can be applied to a plurality of fields. In the last two years, a bicycle (a public bicycle without piles) is shared, and the new walking mode with the mechanical coded lock appears in streets and alleys in cities, so that great convenience is provided for people's traveling.
However, limited by the design principle of the mechanical coded lock itself, when the mechanical coded lock is applied to a scene such as a shared bicycle which is large in scale and has an unspecified use object, the background server cannot effectively monitor the lock-falling state of the mechanical coded lock after the user uses the shared bicycle. If the user A fails to lock after using the shared bicycle, and if the user B uses the shared bicycle, the backstage can not accurately lock the person in charge if an accident happens. The method brings economic loss to the sharing single-vehicle operation enterprises to a certain extent, and simultaneously restricts the large-scale development of the sharing single-vehicle.
Disclosure of Invention
The embodiment of the invention provides a method and a device for confirming the locking state of a coded lock, a server and a storage medium, and realizes effective monitoring of the state of a mechanical coded lock of a shared bicycle by a background server.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for confirming a lock-out state of a combination lock, where the method includes:
acquiring a coded lock picture which is photographed and uploaded by a user through a terminal and comprises a lock falling handle and coded lock identifications, wherein the coded lock identifications correspond to the coded locks one to one;
extracting the current position information of the lock falling handle and the coded lock identification in the coded lock picture;
determining a preset position of a lock falling handle corresponding to the coded lock according to the coded lock identification;
and matching the current position information of the lock falling handle with the preset position, and determining the lock falling state of the coded lock according to the matching result.
In a second aspect, an embodiment of the present invention provides an apparatus for confirming a lock-out state of a combination lock, where the apparatus includes:
the system comprises a coded lock picture acquisition module, a coded lock picture acquisition module and a coded lock picture processing module, wherein the coded lock picture acquisition module is used for acquiring a coded lock picture which is photographed and uploaded by a user through a terminal and comprises a lock falling handle and coded lock identifications, and the coded lock identifications correspond to the coded locks one to one;
the characteristic extraction module is used for extracting the current position information of the lock falling handle and the coded lock identification in the coded lock picture;
the preset position determining module is used for determining the preset position of the lock falling handle corresponding to the coded lock according to the coded lock identification;
and the lock falling state confirmation module is used for matching the current position information of the lock falling handle with the preset position and determining the lock falling state of the coded lock according to the matching result.
In a third aspect, an embodiment of the present invention provides a server, where the server includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement a method for confirming a lock-out status of a combination lock provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for confirming a lock-out status of a combination lock provided in any embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, after the coded lock picture which is photographed and uploaded by a user through the terminal is obtained, the preset position of the lock falling handle corresponding to the coded lock in the picture can be determined according to the coded lock identification in the coded lock picture. The current position information of the lock falling handle in the picture is extracted and matched with the preset position of the lock falling handle, and the lock falling state of the coded lock can be determined according to the matching result. By adopting the technical scheme, the back-end server can effectively monitor the state of the coded lock. When the shared bicycle provided with the coded lock has an accident, the background server can quickly find out the person responsible for the accident by taking the coded lock picture uploaded by the user and the lock falling state of the coded lock determined according to the coded lock picture as the basis, so that unnecessary economic loss is avoided for the shared bicycle operation enterprises, and meanwhile, the large-scale development of the bicycle can be promoted.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for confirming a lock-out status of a combination lock according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for confirming a lock-out status of a preferred combination lock according to a second embodiment of the present invention;
fig. 3 is a block diagram of a device for confirming a lock-out status of a combination lock according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart illustrating a method for confirming a lock-out status of a combination lock according to an embodiment of the present invention. The method of the embodiment may be executed by a device for confirming the lock-falling state of the combination lock, wherein the device may be implemented by software and/or hardware, and may be generally integrated in a background server to monitor the lock-falling state of the combination lock. As shown in fig. 1, the method may include:
s110: and acquiring a coded lock picture which is photographed and uploaded by a user through a terminal and contains a lock falling handle and a coded lock identifier.
The coded locks are all provided with marks which correspond to the coded locks one by one in advance, and the marks can be two-dimensional codes or other identification marks such as license plates of shared bicycles.
The lock falling handle of the coded lock is a component of the coded lock, and the lock falling handle can be moved to drive the lock bolt of the coded lock to rotate so as to complete the lock falling operation of the coded lock.
Illustratively, the combination lock in the present embodiment may be an intelligent combination lock or a non-intelligent combination lock, and in the present embodiment, a mechanical combination lock is preferred. The mechanical combination lock can be applied to public bicycles such as ofo sharing bicycles. The following description will specifically take a mechanical combination lock as an example.
For example, before using the sharing list, the user may download and register an APP (application) corresponding to the sharing list on a mobile terminal such as a smart phone or a tablet computer in advance, or may enter an application corresponding to the sharing list through a third-party application such as a WeChat or a Paibao. When the sharing bicycle is used, the unlocking password of the mechanical password lock can be obtained by scanning the two-dimensional code or manually inputting the license plate number and the like. After the user unlocks the shared bicycle through the unlocking password, the shared bicycle can be normally used. In the user unlocking process, the server can acquire and store information such as an account number of the user, the position of the user, the user unlocking time, the coded lock identification and the like, and the information can be used as a basis for matching subsequent information.
For example, after the user uses the shared bicycle, the lock-down operation can be completed through the lock-down handle. The user can shoot the coded lock picture through the mobile terminal, wherein the coded lock picture at least comprises the following components: the coded lock identification and the current position information of the lock falling handle of the coded lock. And the user can upload the shot coded lock picture to a background server corresponding to the sharing bicycle through the mobile terminal.
Further, when the server acquires the coded lock picture uploaded by the user, if the picture is detected not to contain the coded lock identification and the coded lock falling handle, or the server cannot identify the coded lock identification or the position information of the falling handle due to the problem of the shooting angle of the user, the server can prompt the user to shoot again and upload the picture until the coded lock picture uploaded by the user contains the coded lock identification and the falling handle.
Further, for a user who has successfully completed a lock-dropping operation, the uploaded picture of the coded lock may be saved in the mobile terminal while the picture of the coded lock is uploaded, and meanwhile, current time information may be obtained through the mobile terminal or current location information may be obtained by using a GPS (Global Positioning System) Positioning function of the mobile terminal. The significance of this arrangement is: the user can keep the information and can prove that the user finishes the lock-falling operation after using the bicycle as evidence. If any fault occurs in the course of subsequent use of the bicycle (here, by a person other than the current user), the evidence held by the user can be used as the basis for disclaimer. Meanwhile, the server can also accurately find responsible persons in corresponding use periods according to the pictures uploaded by the user.
S120: and extracting the current position information of the lock falling handle and the coded lock identification in the coded lock picture.
Exemplarily, for identifying a coded lock picture containing a coded lock identifier and a lock drop handle, current position information of the coded lock identifier and the lock drop handle needs to be extracted to serve as a basis for subsequent feature matching. The characteristic extraction process can be carried out in the process of identifying whether the coded lock picture comprises the lock falling handle and the coded lock identification, and the current position information and the coded lock identification of the lock falling handle can be further accurately extracted after the coded lock picture is obtained.
S130: and determining the preset position of the lock falling handle corresponding to the coded lock according to the coded lock identifier.
The preset position of the lock falling handle is pre-stored in the server, and the lock falling handle is positioned after the coded lock is successfully locked.
For example, the model of the combination lock installed on a bicycle may vary due to the different times the shared bicycle is pushed. Therefore, the coded locks of different models can be pre-stored in the background server, and the position information of the lock falling handle after the lock falling is successful is used as the basis of the subsequent feature matching.
After the server acquires the coded lock picture uploaded by the user, the coded lock identification can be extracted from the picture and is matched with the identification used when the user unlocks the coded lock, and if the coded lock identification and the identification are the same, the coded lock shot by the user and the coded lock unlocked when the user uses the sharing bicycle are the same. At this time, the preset position of the lock falling handle after the lock falling of the coded lock is successful can be determined according to the coded lock identification.
S140: and matching the current position information of the lock falling handle with the preset position of the lock falling handle, and determining the lock falling state of the coded lock according to the matching result.
As can be understood by those skilled in the art, in the image feature matching process, a rectangular coordinate system can be established by using the upper left corner of the picture as an origin, and for the preset position of the lock-down handle, the first coordinate information of the lock-down handle in the coordinate system can be determined. For the coded lock picture shot by the user, second coordinate information of the current position information of the lock falling handle in the coordinate system can be determined based on the image restoration, the feature extraction and other technologies provided by the prior art. In the process of matching the position of the drop lock handle, the analog information of the picture characteristics is converted into specific digital information, and whether the current position information of the drop lock handle is matched with the preset position or not can be determined by comparing the first coordinate information with the second coordinate information. In the process of image matching, the image matching method may also be based on other related image matching algorithms, and the image matching algorithm is not specifically limited in this embodiment.
In this embodiment, the lock-falling state of the combination lock includes two states, i.e., lock-falling success and lock-falling failure.
For example, the determining the lock-falling state of the current combination lock according to the matching result may specifically be: if the current position information of the lock falling handle is successfully matched with the preset position, determining that the coded lock is successfully fallen; and if the current position information of the lock falling handle fails to be matched with the preset position, determining that the coded lock fails to fall.
Specifically, the matching manner provided in S120 is still taken as an example for description, and if the first coordinate information and the second coordinate information are equal, it is determined that the current position information of the lock drop handle is successfully matched with the preset position, which indicates that the lock drop of the user is successful. And if the first coordinate information is not equal to the second coordinate information, determining that the current position information of the locking handle fails to be matched with the preset position, indicating that the current position information of the locking handle does not meet the effective locking requirement, and indicating that the locking of the user fails. For different lock-drop states, the server can send corresponding prompts to the user.
It should be noted that, for the mechanical coded lock, by adopting the technical scheme provided by this embodiment, the intelligent performance of the mechanical coded lock is given, and the background server can effectively monitor different states of the mechanical coded lock.
It should be further noted that the technical solution provided in this embodiment is not limited to be applied to monitoring the state of a mechanical combination lock, and for an intelligent lock, when a user uses up a bicycle, the technical solution provided in this embodiment may also be used to further enhance monitoring of the background server on the state of the intelligent lock, and when an accident occurs to the bicycle equipped with the intelligent lock, a picture taken by the user may also be used as a basis for exemption.
The embodiment of the invention provides a method for confirming the lock-out state of a coded lock. When the shared bicycle provided with the coded lock has an accident, the background server can quickly find out the person responsible for the accident by taking the coded lock picture uploaded by the user and the lock falling state of the coded lock determined according to the coded lock picture as the basis, so that unnecessary economic loss is avoided for the shared bicycle operation enterprises, and meanwhile, the large-scale development of the bicycle can be promoted.
Example two
Fig. 2 is a flowchart illustrating a method for confirming a lock-out status of a preferred combination lock according to a second embodiment of the present invention. In this embodiment two, on the basis of the above embodiment, the process of "obtaining a coded lock picture photographed and uploaded by a user through a terminal", the process of "determining a lock-down state of a coded lock according to a matching result", and the subsequent process are refined, and with reference to fig. 2, the second embodiment of the present invention specifically includes:
s210: and acquiring a coded lock picture which is photographed and uploaded by a user through a terminal and contains a lock falling handle and a coded lock identifier.
And the coded lock identification corresponds to the coded lock one to one.
Preferably, the coded lock picture uploaded by the user is as follows: the image preprocessing method comprises the steps of preprocessing an image by a mobile terminal held by a user, wherein the image preprocessing can be image compression, image packaging, image feature extraction and the like.
For example, additional functions such as image preprocessing may be provided in the APP corresponding to the shared bicycle. When the user uploads the picture, the picture can be automatically preprocessed through the additional function and then uploaded to the server. Or the user can be reminded of needing to carry out preprocessing operation on the image before uploading the image in a state prompt mode of popping up a dialog box. The advantages of the above arrangement are: after the mobile terminal preprocesses the image, the characteristic information in the image is more obvious, a more reliable data base is provided for the subsequent server to identify the image, the workload of the server is reduced, and the image processing speed of the server is accelerated.
It should be noted that, when the server acquires the coded lock picture uploaded by the user, the server may also acquire time information of the user uploading the coded lock picture, information such as a location and a local account number uploaded by the user, and store the time information and the user information together while storing the coded lock picture. This is provided in order to lock the responsible person who may be present using each single vehicle.
S220: and extracting the current position information of the lock falling handle and the coded lock identification in the coded lock picture.
S230: and determining the preset position of the lock falling handle corresponding to the coded lock according to the coded lock identifier.
S240: matching the current position information of the lock falling handle with the preset position of the lock falling handle, judging whether the matching is successful, and if so, executing the step S250; otherwise, step S270 is executed.
S250: and (5) determining that the password lock is successfully unlocked, and continuing to execute the step S260.
S260: and prompting the user that the lock is successfully locked, and storing the coded lock picture.
For example, if the server determines that the user has successfully lost the lock, the server may store the picture of the combination lock uploaded by the user together with a series of related information of the user during the picture uploading. If the sharing bicycle has an accident in the subsequent use process, the server can accurately find the person responsible for the accident according to the stored pictures. For example, for the shared bicycle Q, the user a uploads a picture of a password lock that is successfully locked after using the bicycle, and the server also obtains information of the account of the user a and time and position information of the user a when uploading the picture. If the user B uses the shared bicycle Q at the current moment, when the bicycle Q has an accident, the server can determine that the person responsible for the accident is not the user A according to the stored time information and position information of the user A and the stored time information and position information of the accident. At this time, the server does not acquire the coded lock picture shot by the user B and the related information of the user B, so that the person with the largest suspected liability of the accident of the bicycle Q can be locked as the user B. For the user A, the accident of the bicycle Q can be further proved to be irrelevant to the user A through the coded lock picture stored by the mobile terminal and the information such as the time and the position when the picture is uploaded.
For example, the time for storing the coded lock picture taken by the user and stored in the server may be set to be one month, as well as the series of information related to the user. When the month limit is reached, the server can automatically clear the reserved information so as to update the information.
S270: and determining that the coded lock fails to be locked, and continuing to execute the step S280.
S280: and prompting the user to finish the lock dropping operation again.
For example, if it is determined that the user fails to lock, the server may prompt the user accordingly. The specific prompting mode can be as follows: short message reminding or a dialog box popping up on an application software interface of the bicycle and the like. If the user fails to lock repeatedly (for example, 5 times), the user can be guided to complete the lock-dropping operation in a mode of contacting the user through the customer service telephone, so that the user experience is improved. Through adopting the technical scheme that this embodiment provided, also strengthened the normalized operation when the user uses the sharing bicycle.
On the basis of the above embodiment, the user can be prompted to complete the lock-down operation successfully by performing corresponding reminding on the user according to the determined lock-down state, so that the effect of improving the user experience is achieved. By storing the picture which is successfully locked, and the time, the position, the user account number and other related information of the picture uploaded by the user, the information can be used as evidence, and if an accident occurs in the subsequent use process of the shared bicycle, the shared bicycle operation enterprise can accurately and quickly lock the responsible person according to the stored information, so that the economic pressure of the shared bicycle operation enterprise is reduced.
EXAMPLE III
Fig. 3 is a block diagram of a device for confirming a lock-out status of a combination lock according to a third embodiment of the present invention. The apparatus may be implemented by software and/or hardware, and may be generally integrated in a server. As shown in fig. 3, the apparatus includes: the system comprises a coded lock picture acquisition module 310, a feature extraction module 320, a preset position determination module 330 and a lock-out state confirmation module 340. Wherein,
the code lock picture acquiring module 310 is used for acquiring a code lock picture which is photographed and uploaded by a user through a terminal and comprises a lock falling handle and code lock identifications, wherein the code lock identifications correspond to the code locks one to one; the feature extraction module 320 is configured to extract current position information of the lock falling handle and the coded lock identifier in the coded lock picture; a preset position determining module 330, configured to determine, according to the coded lock identifier, a preset position of a lock drop handle corresponding to the coded lock; and the lock falling state confirming module 340 is configured to match the current position information of the lock falling handle with the preset position, and determine the lock falling state of the coded lock according to a matching result.
The embodiment of the invention provides a device for confirming the lock-out state of a coded lock. When the shared bicycle provided with the coded lock has an accident, the background server can quickly find out the person responsible for the accident by taking the coded lock picture uploaded by the user and the lock falling state of the coded lock determined according to the coded lock picture as the basis, so that unnecessary economic loss is avoided for the shared bicycle operation enterprises, and meanwhile, the large-scale development of the bicycle can be promoted.
On the basis of the above embodiment, the coded lock is a mechanical coded lock and is applied to a shared bicycle.
On the basis of the above embodiment, the coded lock picture uploaded by the user is: and the picture is subjected to image preprocessing by the mobile terminal held by the user, wherein the image preprocessing comprises image compression and image packaging.
On the basis of the foregoing embodiment, the lock-down status confirmation module 340 is specifically configured to: if the current position information of the lock falling handle is successfully matched with the preset position, determining that the coded lock is successfully locked; and if the current position information of the lock falling handle is not matched with the preset position, determining that the coded lock fails to fall.
On the basis of the above embodiment, the apparatus further includes: and the first prompting module is used for prompting the user to finish the lock falling operation again after the password lock is determined to fail to fall.
On the basis of the above embodiment, the apparatus further includes: and the second prompting module is used for prompting the user that the lock falling is successful after the coded lock is determined to be successful, and storing the coded lock picture.
On the basis of the above embodiment, the apparatus further includes: the information acquisition module is used for acquiring current time information when a user uploads the coded lock picture and user information of the user, wherein the user information comprises current position information of the user and local account information of the user; and the information storage module is used for storing the current time information and the user information.
Example four
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention, as shown in fig. 4, the server includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of the processors 70 may be one or more, and one processor 70 is taken as an example in fig. 4; the processor 70, the memory 71, the input device 72 and the output device 73 in the server may be connected by a bus or other means, and the bus connection is exemplified in fig. 4.
The memory 71 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for confirming the lock-out status of the combination lock in the embodiment of the present invention (for example, the combination lock picture obtaining module 310, the feature extracting module 320, the preset position determining module 330, and the lock-out status confirming module 340 in the device for confirming the lock-out status of the combination lock). The processor 70 executes various functional applications and data processing of the server by running software programs, instructions and modules stored in the memory 71, that is, implements the above-mentioned method for confirming the lock-out status of the combination lock.
The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the server, and the like. Further, the memory 71 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 71 may further include memory located remotely from processor 70, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 72 may be used to receive input numeric, character or image information and generate key signal inputs related to user settings and function control of the server. The output device 73 may include a display device such as a display screen.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a method for confirming a lock-out status of a combination lock, and the method includes:
acquiring a coded lock picture which is photographed and uploaded by a user through a terminal and comprises a lock falling handle and coded lock identifications, wherein the coded lock identifications correspond to the coded locks one to one;
extracting the current position information of the lock falling handle and the coded lock identification in the coded lock picture;
determining a preset position of a lock falling handle corresponding to the coded lock according to the coded lock identification;
and matching the current position information of the lock falling handle with the preset position, and determining the lock falling state of the coded lock according to the matching result.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the method for confirming the lock-out status of the combination lock provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the device for confirming a lock-out state of a combination lock, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for confirming a lock-out status of a combination lock, the method comprising:
acquiring a coded lock picture which is photographed and uploaded by a user through a terminal and comprises a lock falling handle and coded lock identifications, wherein the coded lock identifications correspond to the coded locks one to one;
extracting the current position information of the lock falling handle and the coded lock identification in the coded lock picture;
determining a preset position of a lock falling handle corresponding to the coded lock according to the coded lock identification;
and matching the current position information of the lock falling handle with the preset position, and determining the lock falling state of the coded lock according to the matching result.
2. The method of claim 1, wherein:
the coded lock is a mechanical coded lock and is applied to sharing bicycles.
3. The method of claim 1, wherein:
the coded lock picture uploaded by the user is as follows: and the picture is subjected to image preprocessing by a terminal held by a user, wherein the image preprocessing comprises image compression and image packaging.
4. The method of claim 1, wherein determining the lock-out status of the combination lock based on the matching result comprises:
if the current position information of the lock falling handle is successfully matched with the preset position, determining that the coded lock is successfully locked;
and if the current position information of the lock falling handle is failed to be matched with the preset position, determining that the coded lock fails to fall.
5. The method of claim 4, after determining that the combination lock failed to drop, further comprising:
and prompting the user to finish the lock dropping operation again.
6. The method of claim 4, after determining that the combination lock is successfully locked, further comprising:
and prompting the user that the lock is successfully locked, and storing the coded lock picture.
7. The method of claim 1, further comprising:
acquiring current time information when a user uploads the coded lock picture and user information of the user, wherein the user information comprises current position information of the user and local account information of the user;
and saving the current time information and the user information for inquiry.
8. A device for confirming a lock-out condition of a combination lock, the device further comprising:
the system comprises a coded lock picture acquisition module, a coded lock picture acquisition module and a coded lock picture processing module, wherein the coded lock picture acquisition module is used for acquiring a coded lock picture which is photographed and uploaded by a user through a terminal and comprises a lock falling handle and coded lock identifications, and the coded lock identifications correspond to the coded locks one to one;
the characteristic extraction module is used for extracting the current position information of the lock falling handle and the coded lock identification in the coded lock picture;
the preset position determining module is used for determining the preset position of the lock falling handle corresponding to the coded lock according to the coded lock identification;
and the lock falling state confirmation module is used for matching the current position information of the lock falling handle with the preset position and determining the lock falling state of the coded lock according to the matching result.
9. A server, characterized in that the server comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of confirming a loss of lock status of a combination lock as recited in any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of confirming a lock-out status of a combination lock according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710646916.8A CN107464167A (en) | 2017-08-01 | 2017-08-01 | Coded lock latches confirmation method, device, server and the storage medium of state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710646916.8A CN107464167A (en) | 2017-08-01 | 2017-08-01 | Coded lock latches confirmation method, device, server and the storage medium of state |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107464167A true CN107464167A (en) | 2017-12-12 |
Family
ID=60547292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710646916.8A Pending CN107464167A (en) | 2017-08-01 | 2017-08-01 | Coded lock latches confirmation method, device, server and the storage medium of state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107464167A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108492573A (en) * | 2018-03-09 | 2018-09-04 | 姜鹏飞 | A kind of identification of non-motor vehicle, localization method and system |
CN111179581A (en) * | 2018-11-13 | 2020-05-19 | 千寻位置网络有限公司 | System and method for sharing bicycle ID matching based on vision |
CN111832598A (en) * | 2019-08-22 | 2020-10-27 | 北京骑胜科技有限公司 | Method and device for detecting vehicle lock state |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106779979A (en) * | 2017-01-21 | 2017-05-31 | 上海量明科技发展有限公司 | Share the charging method of bicycle, order car client and system |
CN106803199A (en) * | 2017-01-13 | 2017-06-06 | 上海量明科技发展有限公司 | Shared bicycle and its chain wrestling, client and system |
CN206271580U (en) * | 2016-09-05 | 2017-06-20 | 南京大全自动化科技有限公司 | A kind of switch based on image recognition position |
CN106932807A (en) * | 2017-05-22 | 2017-07-07 | 王爱云 | Shared bicycle tilt state detecting system |
CN106952493A (en) * | 2017-04-18 | 2017-07-14 | 冯超 | A kind of control method and system of shared vehicle management system |
-
2017
- 2017-08-01 CN CN201710646916.8A patent/CN107464167A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206271580U (en) * | 2016-09-05 | 2017-06-20 | 南京大全自动化科技有限公司 | A kind of switch based on image recognition position |
CN106803199A (en) * | 2017-01-13 | 2017-06-06 | 上海量明科技发展有限公司 | Shared bicycle and its chain wrestling, client and system |
CN106779979A (en) * | 2017-01-21 | 2017-05-31 | 上海量明科技发展有限公司 | Share the charging method of bicycle, order car client and system |
CN106952493A (en) * | 2017-04-18 | 2017-07-14 | 冯超 | A kind of control method and system of shared vehicle management system |
CN106932807A (en) * | 2017-05-22 | 2017-07-07 | 王爱云 | Shared bicycle tilt state detecting system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108492573A (en) * | 2018-03-09 | 2018-09-04 | 姜鹏飞 | A kind of identification of non-motor vehicle, localization method and system |
CN111179581A (en) * | 2018-11-13 | 2020-05-19 | 千寻位置网络有限公司 | System and method for sharing bicycle ID matching based on vision |
CN111179581B (en) * | 2018-11-13 | 2022-02-01 | 千寻位置网络有限公司 | System and method for sharing bicycle ID matching based on vision |
CN111832598A (en) * | 2019-08-22 | 2020-10-27 | 北京骑胜科技有限公司 | Method and device for detecting vehicle lock state |
CN111832598B (en) * | 2019-08-22 | 2024-05-14 | 北京骑胜科技有限公司 | Method and device for detecting lock state |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112489253B (en) | Unlocking method of intelligent lock, mobile terminal, server and readable storage medium | |
CN104574167B (en) | Lease processing method, related device and system | |
CN109685956B (en) | Method, device, equipment and storage medium for scanning and unlocking shared bicycle license plate | |
CN109902195B (en) | Monitoring image query method, device, equipment and medium | |
CN108989291B (en) | Login verification method, automatic login verification method, server side and client side | |
CN107622227B (en) | 3D face recognition method, terminal device and readable storage medium | |
CN105354773B (en) | System for evidence preservation and verification on traffic accident scene | |
WO2017000342A1 (en) | Fingerprint recognition method and terminal | |
CN107464167A (en) | Coded lock latches confirmation method, device, server and the storage medium of state | |
CN102347942A (en) | Information safety method based on image acquisition and system thereof | |
CN107038462B (en) | Equipment control operation method and system | |
US20180012010A1 (en) | Secure storage of fingerprint related elements | |
CN105743850B (en) | Method and device for obtaining user authentication information when delivering articles by using express box | |
CN113179249A (en) | Method for rapidly and safely mining government affair data in big data network | |
US20120093374A1 (en) | Electronic device and method for identifying use by unauthorized users | |
CN112172591A (en) | Electric automobile matching charging method and system | |
CN111506591A (en) | Block chain-based vehicle identity authentication method, device, computer and medium | |
CN106548052A (en) | A kind of mobile terminal unlocking method and system | |
CN108063665B (en) | Communication method and terminal device | |
CN115311694A (en) | Fingerprint unlocking method, device, equipment and storage medium | |
CN111063063B (en) | Shared vehicle unlocking method and device, computer equipment and storage medium | |
CN115527241A (en) | Fingerprint template updating method and device, embedded equipment and storage medium | |
CN111696227B (en) | Unlocking method and device | |
CN107689119A (en) | Shared transportation tool management method and device | |
CN109067880B (en) | Remote unlocking method of shared equipment, device, equipment and storage medium thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171212 |