CN115240301A - Riding equipment control method, equipment, medium and terminal control method and device - Google Patents

Riding equipment control method, equipment, medium and terminal control method and device Download PDF

Info

Publication number
CN115240301A
CN115240301A CN202210819035.2A CN202210819035A CN115240301A CN 115240301 A CN115240301 A CN 115240301A CN 202210819035 A CN202210819035 A CN 202210819035A CN 115240301 A CN115240301 A CN 115240301A
Authority
CN
China
Prior art keywords
distance
riding
signal strength
mobile terminal
signal intensity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210819035.2A
Other languages
Chinese (zh)
Inventor
杨贵来
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ditai Technology Co ltd
Original Assignee
Shenzhen Ditai Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ditai Technology Co ltd filed Critical Shenzhen Ditai Technology Co ltd
Priority to CN202210819035.2A priority Critical patent/CN115240301A/en
Publication of CN115240301A publication Critical patent/CN115240301A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses

Abstract

The invention discloses a lock-opening and lock-closing control method of riding equipment, which comprises the following steps: establishing short-range wireless connection between the riding equipment and the mobile terminal; receiving a distance setting instruction to enter an on-off lock distance calibration state; receiving a first distance confirmation instruction and storing a first standard signal strength corresponding to the distance represented by the first distance confirmation instruction; setting the first standard signal strength as an on/off lock signal strength; and monitoring the real-time signal intensity of short-range wireless connection between the riding device and the mobile terminal, and when the real-time signal intensity reaches the first standard signal intensity, the riding device executes corresponding unlocking or locking actions. The invention can improve the user experience.

Description

Riding equipment control method, equipment, medium and terminal control method and device
Technical Field
The invention relates to the technical field of riding equipment, in particular to a riding equipment control method, equipment, a medium and a terminal control method and device.
Background
In the prior art, when a user uses an electric power-assisted bicycle or a scooter, the user needs to unlock or lock the bicycle or the scooter through a key. Specifically, the lock is mechanically opened and closed by a physical key or remotely opened and closed by an electronic key. However, in any case, the user is required to perform the operation of opening and closing the lock. This leads to on the one hand being more cumbersome, and on the other hand in case the user forgets to close the lock, can lead to electric bicycle or scooter to be stolen.
Disclosure of Invention
The invention aims to solve the technical problem of automatically sensing the distance of a user and then automatically carrying out locking and unlocking operations.
In order to solve the technical problem, the invention provides a locking and unlocking control method of riding equipment, which comprises the following steps of:
establishing short-range wireless connection between the riding equipment and the mobile terminal;
receiving a distance setting instruction to enter an on-off locking distance calibration state;
receiving a first distance confirmation instruction, and storing a first standard signal strength corresponding to the distance represented by the first distance confirmation instruction;
setting the first standard signal strength as an on/off lock signal strength;
and monitoring the real-time signal intensity of short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the first standard signal intensity, the riding equipment executes corresponding unlocking or locking actions.
Wherein the storing the first standard signal strength corresponding to the distance represented by the first distance confirmation instruction comprises:
storing a first standard signal strength corresponding to the distance represented by the first distance confirmation command and a corresponding first signal change direction;
the monitoring the real-time signal strength of the short-range wireless connection between the riding device and the mobile terminal, and when the real-time signal strength reaches the first standard signal strength, the riding device executing corresponding unlocking or locking actions comprises:
and monitoring the real-time signal intensity and the signal change direction of the short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the first standard signal intensity and the signal change direction is consistent with the first signal change direction, the riding equipment executes corresponding unlocking or locking actions.
Wherein, still include:
receiving a second distance confirmation instruction and storing a second standard signal strength corresponding to the distance represented by the second distance confirmation instruction;
setting the second standard signal intensity as an off/on signal intensity;
and monitoring the real-time signal intensity of short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the second standard signal intensity, the riding equipment executes corresponding locking or unlocking actions.
Wherein the storing the second standard signal strength corresponding to the distance represented by the second distance confirmation instruction comprises:
storing a second standard signal strength corresponding to the distance represented by the second distance confirmation instruction and a corresponding second signal change direction;
the monitoring the real-time signal strength of the short-range wireless connection between the riding device and the mobile terminal, and when the real-time signal strength reaches the second standard signal strength, the riding device executing corresponding locking or unlocking actions comprises:
and monitoring the real-time signal intensity and the signal change direction of the short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the second standard signal intensity and the signal change direction is consistent with the second signal change direction, the riding equipment executes corresponding locking or unlocking actions.
The first distance setting instruction is an unlocking distance setting instruction, the first distance confirming instruction is an unlocking distance confirming instruction, and the first standard signal intensity is unlocking signal intensity; the second distance setting instruction is a locking distance setting instruction, the second distance confirming instruction is a locking distance confirming instruction, and the second standard signal strength is locking signal strength.
And the locking signal intensity is less than or equal to the unlocking signal intensity.
After the short-range wireless connection between the riding equipment and the mobile terminal is established, the riding equipment performs authentication operation on the mobile terminal; the authentication operation comprises: the riding device acquires authentication information sent by the mobile terminal, wherein the authentication information comprises opposite-end authentication data and a corresponding authentication data address; and the riding equipment acquires local authentication data according to the authentication data address and judges whether the local authentication data is consistent with the opposite terminal authentication data, if so, the authentication is successful.
The authentication data address is an identifier pointing to a plurality of numerical values in a plurality of data tables.
And judging whether the local authentication data is consistent with the opposite terminal authentication data or not comprises judging whether the difference between the local authentication data and the opposite terminal authentication data is within a preset interval or not, and if so, judging that the local authentication data is consistent with the opposite terminal authentication data.
Correspondingly, the invention also provides a control method of the mobile terminal, which comprises the following steps:
establishing short-range wireless connection between the mobile terminal and riding equipment;
outputting an interactive prompt for adjusting the distance between the mobile terminal and the riding equipment, and outputting a distance setting instruction to the riding equipment to enable the riding equipment to enter an on-off distance calibration state;
the method comprises the steps of obtaining a first distance confirmation instruction input by a user and sending the first distance confirmation instruction to the riding equipment.
Correspondingly, the invention also provides a device for setting the distance between the switch and the lock, which comprises:
the communication module is used for establishing short-range wireless connection between the mobile terminal and the riding device;
the output module is used for outputting an interactive prompt for adjusting the distance between the mobile terminal and the riding equipment; the distance setting instruction is output to the riding equipment to enable the riding equipment to enter an on-off locking distance calibration state;
the input module is used for acquiring a first distance confirmation instruction input by a user and sending the first distance confirmation instruction to the riding equipment.
Correspondingly, the invention also provides electronic equipment in the riding equipment, which comprises:
a memory for storing computer executable program code;
and the processor is used for executing the computer executable program codes to realize any switch lock control method.
Wherein, the electronic equipment is a riding instrument or an electronic lock.
Correspondingly, the invention also provides a storage medium, which stores computer executable program codes, and the computer executable program codes are executed to realize any switch lock control method.
In the invention, because the user can carry out calibration operation in advance, namely freely setting the strength of the locking signal or the unlocking signal, the locking distance or the unlocking distance can be correspondingly and freely set. Therefore, on one hand, the automatic unlocking and locking operation can be automatically carried out according to the distance, on the other hand, the riding device judges the signal strength, and on the premise that the mobile device is determined, the difference of the connection signal strength of different devices, which is reflected when different mobile devices are connected with the riding device, can be effectively avoided, and the risk of malicious intrusion brought by the mobile terminal can be reduced by giving the judgment authority of unlocking and locking to the riding device.
Drawings
Fig. 1 is a flowchart of an embodiment of a locking and unlocking control method of a riding device.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be implemented in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, a flowchart of an embodiment of the locking and unlocking control method of a riding device is illustrated. As shown, the present embodiment occurs on one side of the riding device, and includes the following steps:
step 101, establishing a short-range wireless connection between the riding device and the mobile terminal. The riding device is an electric power-assisted bicycle or a scooter or a common two-wheeled electric vehicle. The mobile terminal can be an electronic device with short-range wireless connection capability, such as a mobile phone, a smart watch, a bracelet and the like.
It can be understood that the riding device as a transportation device includes many components, and then the mobile terminal specifically performs short-range wireless connection with which part of the riding device, in the embodiment of the present invention, the mobile device may perform short-range wireless connection with an instrument of the riding device, may also perform short-range wireless connection with an electronic lock of the riding device, further may also perform short-range wireless connection with a controller of the riding device, and so on, in short, any part of the riding device having short-range wireless communication capability may participate. However, when the connected part does not have the unlocking and locking capabilities, the connected part is required to be connected with the electronic lock again to send an unlocking and locking instruction; for example, if the electronic lock is connected with a meter, it is necessary to ensure that the meter can perform wired or wireless communication with the electronic lock, so that the meter can control the opening and closing of the electronic lock.
For short range wireless connections, it may be a bluetooth connection, especially a bluetooth low energy connection; the connection can also be a radio frequency connection, or a ZigBee connection, or a Wifi connection, etc. For the specific establishment process of the connection, the protocol specification of the relevant connection mode may be referred to, and details are not described herein.
And 102, receiving a distance setting instruction to enter an on-off lock distance calibration state.
In the step, the riding device receives a distance setting instruction from one side of the mobile terminal, and the instruction indicates the riding device to enter a locking, unlocking and distance calibration state. The so-called on-off lock distance calibration state can be understood as a personalized setting state, which is a state in which the user sets the on-off lock distance according to the needs of the user. The reason why the mobile terminal sends the distance setting instruction to the riding device is that the user triggers the mobile terminal, and specifically, various processes executed on the mobile terminal side will be separately described in the following embodiments.
The main purpose in this state, however, is to record the signal strength value of the short-range wireless connection at the distance of the individual switch lock, as will be explained in more detail below. After the riding equipment enters a calibration state, the riding equipment can continuously detect the signal intensity of the short-range wireless connection and simultaneously monitor whether a confirmation instruction is received. As described above, it may be the case that the meter, the electronic lock, the controller, etc. perform these operations.
Step 103, receiving a first distance confirmation instruction, and storing a first standard signal strength corresponding to the distance represented by the first distance confirmation instruction.
In the step, when the user holds the mobile terminal and moves to the unlocking and locking distance which is considered to be proper by the user, a first distance confirmation instruction can be triggered through the mobile terminal, and the first distance confirmation instruction can be sent to the riding equipment. After receiving the command, the riding device stores the signal strength of the short-range wireless connection detected by the riding device lock corresponding to the first distance confirmation command, which is referred to as a first standard signal strength. The locking device is characterized in that in a mode of customizing the locking and unlocking distance by a user, after the user determines a proper distance, the riding device locks the currently detected signal intensity and serves as a basis for automatically locking and unlocking according to the distance in the follow-up process.
Here, because the signal intensity size that equipment one side of riding was gone on detects, and under the prerequisite that both sides equipment had all been confirmed, consequently each item physical hardware parameter of both sides equipment is all fixed, directly utilized signal intensity size as the foundation of follow-up automatic switch lock simultaneously, this kind of scheme has avoided unifying at mobile terminal APP default setting, give the error problem that preset corresponding relation leads to apart from with signal intensity, because model and hardware parameter etc. of different mobile terminals are different, if adopt the existence of error that will certainly lead to of same set of standard, make when this switch lock not switch lock, cause property loss easily.
For example, if the default setting of the mobile terminal APP is 20dB for a distance of 10 meters and the setting informs the riding device to lock at this time, the communication capability of the short-range wireless connection of the mobile phone is strong, which may be a result of antenna optimization, because the space of the mobile phone is relatively large, more complex antennas may be arranged to improve the spatial coupling efficiency and accuracy, while for a smart watch, the space is limited to be small, and the connection performance is weak. The situation that the wire may be outgoing at this time is that, for the mobile phone, the distance reaches 15 meters when the signal strength detected by the mobile terminal APP is 20dB, and for the smart watch, the distance is only 5 meters when the signal strength detected by the smart watch is 20 dB. Therefore, this leads to the presence of the above-mentioned errors; similarly, even if the mobile phones are used, different brands optimize the short-range wireless connection signal receiving and transmitting software differently, or the antenna schemes are different, similar errors exist.
Therefore, the problem of errors can be caused by uniform configuration on one side of the mobile terminal, the mobile terminal and the riding equipment are instantiated, the setting of the distance is personalized, the misoperation of locking and unlocking is reduced, and the user experience is greatly improved. Meanwhile, the acquisition of the judgment basis of the locking and unlocking and the decision-making are all put on the riding equipment, so that the phenomenon that the mobile terminal is illegally invaded and even illegally remotely controlled to maliciously control the locking and unlocking of the riding equipment, and property loss is caused is avoided. On the other hand, the mobile terminal is always a device with very complex electromagnetic environment and application environment, and comprises a short-range wireless connection antenna, such as a Bluetooth antenna, a wifi antenna, a long-range mobile communication antenna and the like, so that the problem of randomness can be always met by detecting the signal strength of the switch lock on the mobile terminal, and the problem of randomness can be greatly reduced because the environment is single when the switch lock is placed on the riding device.
In the embodiment of the invention, after the first distance confirmation instruction is received, the riding device stores the signal intensity detected at the same moment and marks the signal intensity to be the first standard signal intensity. For example, when the riding device receives the first distance confirmation instruction, the signal strength of the short-range wireless connection detected at the same time is acquired by 30dB, and then the 30dB is stored and marked with the first standard signal strength. Under the condition of automatic distance sensing and automatic unlocking in the follow-up process, the standard value of 30dB can be directly used.
In the embodiment of the present invention, the steps specifically include: and storing the first standard signal intensity corresponding to the distance represented by the first distance confirmation instruction and the corresponding first signal change direction.
The first signal change direction represents whether the first standard signal strength is the locking signal strength or the unlocking signal strength, and specifically, the first signal change direction may be a change trend of the signal strength of the riding device before the riding device continuously monitors the signal strength of the short-range wireless connection until the first standard signal is reached, for example, a gradually increasing trend or a gradually decreasing trend; generally speaking, a gradually increasing trend indicates that the distance is continuously decreasing, and the unlocking signal strength is set; otherwise, the lock-off signal strength is set. However, this is not the only possibility, and it is also possible that the user directly triggers an indication of the direction of change of the signal on the mobile terminal to the riding device, for example, the user directly informs the riding device through the mobile terminal that the current first standard signal strength is the unlocking signal strength or the locking signal strength, or both. After the riding equipment receives the notification, the unlocking signal intensity is automatically matched with the first signal change direction to form a trend that the signal intensity is gradually increased, and the locking signal intensity is automatically matched with the first signal change direction to form a trend that the signal intensity is gradually decreased.
The significance of setting and storing this parameter of the first signal direction of change here is that subsequent execution of the operation of the automatic distance sensing switch lock will be more accurate and a more diversified switch lock control scheme can be formed. This will be explained in detail below.
And 104, setting the first standard signal intensity as unlocking or locking signal intensity.
In this step, the first standard signal strength is definitely given a realistic meaning, that is, the first standard signal strength is the unlocking signal strength, or the locking signal strength, or both the unlocking signal strength and the locking signal strength.
One term assigned here is understood to mean that the first standard signal strength is identified on the riding device, and the flag thereof is unlocked and/or the signal strength is locked.
And 105, monitoring the real-time signal intensity of the short-range wireless connection between the riding device and the mobile terminal, and when the real-time signal intensity reaches the first standard signal intensity, executing corresponding unlocking or locking actions by the riding device.
After the self-defined unlocking and locking distance setting is realized through the previous steps, the actual automatic distance sensing is used for unlocking and locking in the step. In the process, the riding device detects the signal strength of the short-range wireless connection in real time, and once the signal strength reaches the first marked signal strength, the riding device automatically performs the operation of locking and unlocking.
Specifically, as described above, when the instrument or the controller in the riding device is connected to the mobile terminal, the instrument or the controller is required to send a lock opening and closing instruction to the electronic lock, and the electronic lock performs a lock opening and closing operation; when the electronic lock is connected with the mobile terminal, the electronic lock directly performs the operation of locking and unlocking.
In the embodiment of the present invention, the steps specifically include:
the method comprises the steps of monitoring the real-time signal intensity and the signal change direction of short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the first standard signal intensity and the signal change direction is consistent with the first signal change direction, the riding equipment executes corresponding unlocking or locking actions.
In the step, a judgment factor of the signal change direction is introduced, because a signal intensity value is also reached, the process that the user approaches the riding equipment from far to near or the process that the user leaves the riding equipment from near to far is possible, obviously, the expectation of the user is different in the two processes, one is to unlock and the other is to close the lock. Therefore, in order to distinguish the two processes, a judgment factor of the signal change direction is introduced.
Specifically, the riding device can detect the signal strength of the short-range wireless connection in real time and determine the signal strength change trend, namely the signal change direction according to the real-time signal strength. When the signal intensity reaches the first standard signal intensity, the riding device determines whether the unlocking operation or the locking operation is currently performed in combination with the previously determined signal change direction.
For example, real-time monitoring of the riding device shows that the signal intensity is continuously increased, the signal change direction is the trend of increasing, and the unlocking operation is automatically executed when the subsequent monitoring signal intensity reaches the first standard signal intensity corresponding to the signal change direction.
In the embodiment of the present invention, on the basis of the above embodiment, the method further includes the following steps:
receiving a second distance confirmation command and storing second standard signal strength corresponding to the distance represented by the second distance confirmation command;
setting the second standard signal intensity as the lock closing or unlocking signal intensity;
and monitoring the real-time signal intensity of short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the second standard signal intensity, executing corresponding locking or unlocking actions by the riding equipment.
Wherein storing the second standard signal strength corresponding to the distance represented by the second distance confirmation instruction comprises:
storing a second standard signal strength corresponding to the distance represented by the second distance confirmation command and a corresponding second signal change direction;
wherein, the real-time signal intensity of the short range wireless connection between the equipment of riding and the mobile terminal of control, when real-time signal intensity reaches second standard signal intensity, the equipment of riding carries out corresponding lock or the action of unblanking and includes:
and monitoring the real-time signal intensity and the signal change direction of short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the second standard signal intensity and the signal change direction is consistent with the second signal change direction, the riding equipment executes corresponding locking or unlocking actions.
In the embodiment, the main purpose is to introduce the second case, that is, if the above embodiment is an unlocking case, the present embodiment is an increased locking case; if the above embodiment is the case of closing the lock, the present embodiment is the case of increasing the unlocking. Since the processes are similar, they can be analogized to each other, and are not repeated here. The significance is that some users may have different distance requirements for opening and closing the lock, which may also be a greater requirement that is supported by the presence of this embodiment. In this embodiment, the first distance setting instruction is an unlocking distance setting instruction, the first distance confirming instruction is an unlocking distance confirming instruction, and the first standard signal strength is an unlocking signal strength; the second distance setting instruction is a lock closing distance setting instruction, the second distance confirming instruction is a lock closing distance confirming instruction, and the second standard signal strength is lock closing signal strength.
In the embodiment of the invention, the strength of the locking signal is less than or equal to that of the unlocking signal. With equal, the characterized distance factors tend to be comparable; under the condition that signal intensity is less than the signal intensity of unblanking close the lock, can solve the user to the concern demand of the security of the equipment property of riding, that is to say close the lock distance and be less than the distance of unblanking, this has also improved the convenience.
In another embodiment of the present invention, on the basis of the above embodiments, after the short-range wireless connection between the riding device and the mobile terminal is established, the riding device performs an authentication operation on the mobile terminal, so as to improve the security and prevent illegal connection, because there are many short-range wireless signals such as bluetooth signals in the real environment, and a pen identifies the identity of the riding device.
In one embodiment, the specific process of the authentication operation includes:
the riding equipment acquires authentication information sent by the mobile terminal; before the step, the mobile terminal and the riding device respectively have the same agreed authentication data pool, and the authentication information is derived from the authentication data pool. The authentication information here includes authentication data and corresponding authentication data address of the opposite terminal, i.e. the mobile terminal. Specifically, the mobile terminal and the riding device both store the same authentication data pool, the mobile terminal extracts a plurality of data from the authentication data pool and attaches index information (namely, an authentication data address) of the data in the authentication data pool, and then after receiving the authentication information, the riding device searches for corresponding local authentication data in the authentication data pool in local storage according to the index information, and judges whether the local authentication data is consistent with the opposite-end authentication data or not after finding the local authentication data, if so, the authentication is successful, and the identity is legal.
For example, the authentication data pool may be 4 data tables, each having a corresponding identifier, e.g., four data tables 00, 01, 10, and 11; each data table contains 128 data values, with sequence numbers from 0 to 127. The mobile terminal first randomly determines 2 values from 4 data tables, which are the 10 th data in the 00 table, the 100 th data in the 111,10 table, and the 101. Then the mobile terminal sends (00,10,111) and (10,100,101) to the riding device, after the riding device receives the data, whether the search confirmation value is 111 according to (00,10) in the local authentication data pool, and whether the search confirmation value is 101 according to (10, 100) in the local authentication data pool, if the search confirmation values are the same, the authentication is successful.
In the embodiment of the invention, whether the local authentication data is consistent with the opposite-end authentication data or not is self-defined, the same authentication data can be considered as consistent, the computed data conforms to the preset rule after the authentication data is computed according to a certain algorithm but is also considered as consistent, so that the safety is higher, and certain fault tolerance is also improved. Specifically, after the riding device receives the authentication data, corresponding local authentication data are obtained through the authentication data address, the local authentication data are substituted into a preset calculation formula, whether the difference value between the calculation result and the received authentication data is within a preset range or not is judged, and if yes, the difference value is considered to be consistent.
In an embodiment of a method for controlling a mobile terminal according to the present invention, the method includes the following steps:
the embodiment is generated at one side of the mobile terminal, corresponds to the process generated at one side of the riding device, and jointly forms a process for automatically sensing the distance to switch and lock. Mobile terminal actually means mobile terminal and install APP on it, and the function of APP is exactly to realize that automatic perception distance carries out the switch lock.
Step 201, establishing short-range wireless connection between the mobile terminal and the riding device. This process is similar to what happens on cycling equipment.
Step 202, outputting an interaction prompt for adjusting the distance between the mobile terminal and the riding device, and outputting a distance setting instruction to the riding device to enable the riding device to enter an unlocking and locking distance calibration state.
In this step, the user triggers distance calibration operation through mobile terminal APP at first, and APP will mark the distance setting instruction that the operation corresponds and send for the equipment of riding also gets into the state of maring. Then the APP gives a prompt in the interactive interface to indicate the user to hold the mobile terminal to move so as to adjust the distance between the mobile terminal and the riding device.
Step 203, obtaining a first distance confirmation instruction input by a user and sending the first distance confirmation instruction to the riding equipment.
In this step, the user observes the distance between the mobile terminal and the riding device in the continuous moving process, if the distance meets the expectation of the user, the first distance confirmation instruction is triggered by the mobile terminal to be sent to the riding device, and at this time, the riding device locks the signal intensity of the riding device at that time and stores the signal intensity after receiving the first distance confirmation instruction. Meanwhile, in order to indicate whether the first distance confirmation instruction indicates unlocking confirmation or locking confirmation, the APP can provide an option for the user on the interactive interface, so that the user can select unlocking distance confirmation or locking distance confirmation, and the information is sent to the riding equipment as signal change direction information.
To this end, the mobile device APP has sent information or instructions required for calibration to the riding device. Subsequently, in the running process, after the connection between the riding device and the riding device is established, the riding device can be unlocked and locked under the condition that a user feels no sense. Since the processes between the two are corresponding, the above-mentioned other embodiments may be referred to in this embodiment if the discussion is not detailed.
In the embodiment of the device for setting the switch lock distance, the embodiment is an avatar of the embodiment of the control method of the mobile terminal, and the concrete market expression form of the device can be hardware equipment and can be an APP source program; the embodiment comprises the following steps:
the communication module is used for establishing short-range wireless connection between the mobile terminal and the riding device;
the output module is used for outputting an interactive prompt for adjusting the distance between the mobile terminal and the riding equipment; the distance setting instruction is output to the riding equipment to enable the riding equipment to enter an on-off locking distance calibration state;
the input module is used for acquiring a first distance confirmation instruction input by a user and sending the first distance confirmation instruction to the riding equipment.
It should be noted that, in this embodiment, parts related to the above embodiments may be mutually referred to, and repeated parts are not repeated.
In an embodiment of an electronic device in a cycling device of the present invention, comprising:
a memory for storing computer executable program code;
a processor for executing the computer executable program code to implement any of the above methods of switch lock control.
Specifically, the electronic device in this embodiment may be a riding meter, an electronic lock, a controller, or even an electronic transmission, as long as the electronic device is capable of directly or indirectly controlling the electronic lock.
In an embodiment of a storage medium of the present invention comprises: the storage medium stores computer executable program code which when executed implements any of the above methods of switch lock control.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (14)

1. A locking and unlocking control method of riding equipment is characterized by comprising the following steps:
establishing short-range wireless connection between the riding equipment and the mobile terminal;
receiving a distance setting instruction to enter an on-off lock distance calibration state;
receiving a first distance confirmation instruction and storing a first standard signal strength corresponding to the distance represented by the first distance confirmation instruction;
setting the first standard signal strength as an on/off lock signal strength;
and monitoring the real-time signal intensity of short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the first standard signal intensity, the riding equipment executes corresponding unlocking or locking actions.
2. The method of claim 1, wherein storing the first standard signal strength corresponding to the distance represented by the first distance validation instruction comprises:
storing a first standard signal strength corresponding to the distance represented by the first distance confirmation instruction and a corresponding first signal change direction;
the monitoring the real-time signal strength of the short-range wireless connection between the riding device and the mobile terminal, and when the real-time signal strength reaches the first standard signal strength, the riding device executing corresponding unlocking or locking actions comprises:
and monitoring the real-time signal intensity and the signal change direction of the short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the first standard signal intensity and the signal change direction is consistent with the first signal change direction, the riding equipment executes corresponding unlocking or locking actions.
3. The method of claim 2, further comprising:
receiving a second distance confirmation instruction and storing a second standard signal strength corresponding to the distance represented by the second distance confirmation instruction;
setting the second standard signal intensity as an off/on signal intensity;
and monitoring the real-time signal intensity of short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the second standard signal intensity, the riding equipment executes corresponding locking or unlocking actions.
4. The method of claim 3, wherein storing the second standard signal strength corresponding to the distance represented by the second distance validation instruction comprises:
storing a second standard signal strength corresponding to the distance represented by the second distance confirmation instruction and a corresponding second signal change direction;
the monitoring the real-time signal strength of the short-range wireless connection between the riding device and the mobile terminal, and when the real-time signal strength reaches the second standard signal strength, the riding device executing corresponding locking or unlocking actions comprises:
and monitoring the real-time signal intensity and the signal change direction of the short-range wireless connection between the riding equipment and the mobile terminal, and when the real-time signal intensity reaches the second standard signal intensity and the signal change direction is consistent with the second signal change direction, the riding equipment executes corresponding locking or unlocking actions.
5. The method of claim 3, wherein the first distance setting command is an unlocking distance setting command, the first distance confirming command is an unlocking distance confirming command, and the first standard signal strength is an unlocking signal strength; the second distance setting instruction is a lock closing distance setting instruction, the second distance confirming instruction is a lock closing distance confirming instruction, and the second standard signal strength is lock closing signal strength.
6. The method of claim 5, wherein the lock-off signal strength is less than or equal to the lock-on signal strength.
7. The method according to any one of claims 1 to 6, wherein the establishing of the short-range wireless connection between the cycling device and the mobile terminal further comprises the cycling device performing an authentication operation on the mobile terminal; the authentication operation comprises: the riding device acquires authentication information sent by the mobile terminal, wherein the authentication information comprises opposite-end authentication data and a corresponding authentication data address; and the riding equipment acquires local authentication data according to the authentication data address and judges whether the local authentication data is consistent with the opposite terminal authentication data, if so, the authentication is successful.
8. The method as claimed in claim 7, wherein the opposite end authentication data and the local authentication data are values in a plurality of preset data tables, and the authentication data address is an identifier pointing to the values in the plurality of data tables.
9. The method of claim 7, wherein the determining whether the local authentication data is consistent with the peer authentication data comprises determining whether a difference between the local authentication data and the peer authentication data is within a preset interval, and if so, determining that the local authentication data is consistent with the peer authentication data.
10. A control method of a mobile terminal, comprising:
establishing short-range wireless connection between the mobile terminal and riding equipment;
outputting an interactive prompt for adjusting the distance between the mobile terminal and the riding equipment, and outputting a distance setting instruction to the riding equipment to enable the riding equipment to enter an on-off distance calibration state;
the method comprises the steps of obtaining a first distance confirmation instruction input by a user and sending the first distance confirmation instruction to the riding equipment.
11. A switch lock distance setting device, comprising:
the communication module is used for establishing short-range wireless connection between the mobile terminal and the riding equipment;
the output module is used for outputting an interactive prompt for adjusting the distance between the mobile terminal and the riding equipment; the distance setting instruction is output to the riding equipment to enable the riding equipment to enter an on-off lock distance calibration state;
the input module is used for acquiring a first distance confirmation instruction input by a user and sending the first distance confirmation instruction to the riding equipment.
12. An electronic device in a cycling device, comprising:
a memory for storing computer executable program code;
a processor for executing the computer executable program code to implement the method of any of claims 1 to 9.
13. The electronic device of claim 12, wherein the electronic device is a riding meter or an electronic lock.
14. A storage medium, characterized in that the storage medium stores computer-executable program code which, when executed, implements the method of any one of claims 1 to 9.
CN202210819035.2A 2022-07-13 2022-07-13 Riding equipment control method, equipment, medium and terminal control method and device Pending CN115240301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210819035.2A CN115240301A (en) 2022-07-13 2022-07-13 Riding equipment control method, equipment, medium and terminal control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210819035.2A CN115240301A (en) 2022-07-13 2022-07-13 Riding equipment control method, equipment, medium and terminal control method and device

Publications (1)

Publication Number Publication Date
CN115240301A true CN115240301A (en) 2022-10-25

Family

ID=83673366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210819035.2A Pending CN115240301A (en) 2022-07-13 2022-07-13 Riding equipment control method, equipment, medium and terminal control method and device

Country Status (1)

Country Link
CN (1) CN115240301A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100650872B1 (en) * 2005-12-26 2006-11-28 주식회사 팬택 System and method for visitor management using bluetooth communication
JP2012172492A (en) * 2011-02-24 2012-09-10 Nec Access Technica Ltd Security system, door locking/unlocking control method and door locking/unlocking control program
CN109768947A (en) * 2017-11-09 2019-05-17 中国移动通信有限公司研究院 A kind of method for authenticating user identity, device and medium
CN110435789A (en) * 2019-08-13 2019-11-12 山东爱德邦智能科技有限公司 A kind of lock control method, device, equipment and the storage medium of bicycle
CN112116735A (en) * 2019-06-20 2020-12-22 华为技术有限公司 Intelligent lock unlocking method and related equipment
CN113112646A (en) * 2021-03-24 2021-07-13 上海七十迈数字科技有限公司 Method and equipment for automatically opening and closing lock of vehicle
CN113129486A (en) * 2021-04-16 2021-07-16 山东爱德邦智能科技有限公司 Vehicle lock control method, terminal device, HID vehicle lock device and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100650872B1 (en) * 2005-12-26 2006-11-28 주식회사 팬택 System and method for visitor management using bluetooth communication
JP2012172492A (en) * 2011-02-24 2012-09-10 Nec Access Technica Ltd Security system, door locking/unlocking control method and door locking/unlocking control program
CN109768947A (en) * 2017-11-09 2019-05-17 中国移动通信有限公司研究院 A kind of method for authenticating user identity, device and medium
CN112116735A (en) * 2019-06-20 2020-12-22 华为技术有限公司 Intelligent lock unlocking method and related equipment
CN110435789A (en) * 2019-08-13 2019-11-12 山东爱德邦智能科技有限公司 A kind of lock control method, device, equipment and the storage medium of bicycle
CN113112646A (en) * 2021-03-24 2021-07-13 上海七十迈数字科技有限公司 Method and equipment for automatically opening and closing lock of vehicle
CN113129486A (en) * 2021-04-16 2021-07-16 山东爱德邦智能科技有限公司 Vehicle lock control method, terminal device, HID vehicle lock device and electronic device

Similar Documents

Publication Publication Date Title
EP3158540B1 (en) Electronic access control device and access control method
CN112822630B (en) Data processing method of device and computer-readable storage medium
CN103679860B (en) Household burglary-resisting system and method for work thereof
CN103886242B (en) Control system, information processor, terminal installation and control method
CN101855861A (en) Authentication method, authentication system, on-vehicle device, and authentication device
EP2506617A1 (en) Secure method for discovering and accessing nearby mobile devices using a visual channel
CN106294027A (en) A kind of data back up method, device, carrier server and mobile terminal
CN105844740A (en) Novel remote-sensing control method and apparatus
CN104640112A (en) Authentication method, device and system
KR101019629B1 (en) Doorlock system and control method using mobile equipment
CN115240301A (en) Riding equipment control method, equipment, medium and terminal control method and device
CN105022950A (en) Information processing method and electronic device
CN108174372A (en) Method for network access, device, electronic equipment and storage medium
CN105590361A (en) Intelligent antitheft door and method for remotely unlocking intelligent antitheft door
CN107808090A (en) Electronic equipment unlocking method, electronic equipment and computer-readable recording medium
US20210185742A1 (en) Machine for processing foods and packaging products
CN115380149A (en) Communication system and communication method
KR20060036981A (en) The materializing method and system for an electric-key
US11837037B2 (en) Universal secure mobile device entry upgrade electronics unit for electronic locks and method of use thereof
CN104794806A (en) Currency conversion device
CN112507269A (en) Website background risk assessment system
KR20160125222A (en) System and method for network partition computer security using mobile device
KR20030044248A (en) Electronic key system using mobile phone and method 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