CN114590343B - Data processing method, device and terminal equipment - Google Patents

Data processing method, device and terminal equipment Download PDF

Info

Publication number
CN114590343B
CN114590343B CN202210113783.9A CN202210113783A CN114590343B CN 114590343 B CN114590343 B CN 114590343B CN 202210113783 A CN202210113783 A CN 202210113783A CN 114590343 B CN114590343 B CN 114590343B
Authority
CN
China
Prior art keywords
data
preset
queue
acceleration
current
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.)
Active
Application number
CN202210113783.9A
Other languages
Chinese (zh)
Other versions
CN114590343A (en
Inventor
杨磊
王发果
戴凯敏
朱建成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Junzheng Network Technology Co Ltd
Original Assignee
Shanghai Junzheng Network 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 Shanghai Junzheng Network Technology Co Ltd filed Critical Shanghai Junzheng Network Technology Co Ltd
Priority to CN202210113783.9A priority Critical patent/CN114590343B/en
Publication of CN114590343A publication Critical patent/CN114590343A/en
Application granted granted Critical
Publication of CN114590343B publication Critical patent/CN114590343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62HCYCLE STANDS; SUPPORTS OR HOLDERS FOR PARKING OR STORING CYCLES; APPLIANCES PREVENTING OR INDICATING UNAUTHORIZED USE OR THEFT OF CYCLES; LOCKS INTEGRAL WITH CYCLES; DEVICES FOR LEARNING TO RIDE CYCLES
    • B62H5/00Appliances preventing or indicating unauthorised use or theft of cycles; Locks integral with cycles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • 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
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2325/00Indexing scheme relating to vehicle anti-theft devices
    • B60R2325/20Communication devices for vehicle anti-theft devices
    • B60R2325/205Mobile phones
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2325/00Indexing scheme relating to vehicle anti-theft devices
    • B60R2325/30Vehicles applying the vehicle anti-theft devices
    • B60R2325/306Motorcycles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The specification provides a data processing method, a data processing device and terminal equipment. Based on the method, when the user uses the riding equipment, the terminal equipment associated with the riding equipment can monitor whether the motion data of the terminal equipment meets the preset condition in real time. When the user uses the riding device and needs to be locked, the user can send out an instruction by simply shaking the held terminal device; at this time, the terminal device monitors that the motion data of the terminal device meets a preset condition, and then can determine that a user initiates a target shaking operation indicating locking, and generates a locking instruction for the riding device so as to automatically complete the locking operation of the riding device. Therefore, the operation of a user side can be effectively simplified, the user can conveniently and efficiently finish the locking of the riding equipment, and the user can obtain better interaction experience.

Description

Data processing method, device and terminal equipment
Technical Field
The present disclosure belongs to the field of internet technologies, and in particular, to a data processing method, a data processing device, and a terminal device.
Background
Based on the existing method, after the user finishes sharing the bicycle, the user needs to click on the corresponding sharing bicycle APP on the mobile phone to enter a specific operation interface; in the operation interface, the user also needs to perform corresponding clicking operation according to the related instruction to issue a locking instruction so as to finally complete the locking operation of the sharing bicycle. The operation process is relatively complicated and complex, so that the interaction experience of the user is poor.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The specification provides a data processing method, a data processing device and terminal equipment, which can effectively simplify the operation of a user side, enable the user to conveniently and efficiently finish the locking of riding equipment, and enable the user to obtain better interaction experience.
An embodiment of the present disclosure provides a data processing method applied to a terminal device, where the terminal device is associated with a riding device, the method includes: monitoring whether the motion data of the terminal equipment meets preset conditions or not; under the condition that the motion data of the terminal equipment meets the preset condition, determining that a user initiates target shaking operation for indicating locking, and generating a locking instruction for the riding equipment; and the riding equipment executes locking operation according to the locking instruction.
The embodiment of the specification provides a data processing method applied to riding equipment, comprising the following steps: receiving a locking instruction; the locking instruction is generated by the terminal equipment under the condition that the motion data of the terminal equipment is monitored to meet the preset condition; responding to the locking instruction, collecting the current running speed, and detecting whether the current running speed is less than or equal to a preset speed threshold value; and under the condition that the current running speed is less than or equal to a preset speed threshold value, executing locking operation according to the locking instruction.
An embodiment of the present disclosure provides a data processing apparatus applied to a terminal device, where the terminal device is associated with a riding device, including: the monitoring module is used for monitoring whether the motion data of the terminal equipment meet preset conditions or not; the processing module is used for determining that a user initiates a target shaking operation for indicating locking and generating a locking instruction for the riding equipment under the condition that the motion data of the terminal equipment meet the preset condition; and the riding equipment executes locking operation according to the locking instruction.
Embodiments of the present disclosure provide a terminal device comprising a processor and a memory for storing processor-executable instructions, which when executed by the processor implement the relevant steps of the data processing method.
The present description provides a computer-readable storage medium having stored thereon computer instructions which when executed by a processor perform the relevant steps of the data processing method.
Based on the data processing method, the data processing device and the terminal equipment provided by the embodiment of the specification, when a user uses the riding equipment, the terminal equipment associated with the riding equipment can monitor whether the motion data of the terminal equipment meets preset conditions in real time. When the user uses the riding equipment to finish closing the lock, the user can initiate the instruction by simply shaking the held terminal equipment; at this time, the terminal device monitors that the motion data of the terminal device meets a preset condition, and then can determine that a user initiates a target shaking operation indicating locking, and generates a locking instruction for the riding device, so as to automatically complete locking operation of the riding device based on the locking instruction. Therefore, the operation of a user side can be effectively simplified, the user can conveniently and efficiently finish the locking of the riding equipment, and the user can obtain better interaction experience.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are required for the embodiments will be briefly described below, and the drawings described below are only some embodiments described in the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a flow diagram of a data processing method provided in one embodiment of the present disclosure;
FIG. 2 is a schematic structural view of a riding device according to one embodiment of the present disclosure;
FIG. 3 is a schematic diagram of one embodiment of a data processing method provided by embodiments of the present specification, in one example scenario;
FIG. 4 is a schematic diagram of one embodiment of a data processing method provided by embodiments of the present specification, in one example scenario;
FIG. 5 is a schematic diagram of one embodiment of a data processing method provided by embodiments of the present specification, in one example of a scenario;
FIG. 6 is a schematic diagram of one embodiment of a data processing method provided by embodiments of the present specification, in one example of a scenario;
FIG. 7 is a schematic diagram of one embodiment of a data processing method provided by embodiments of the present specification, in one example of a scenario;
FIG. 8 is a flow chart of a data processing method according to one embodiment of the present disclosure;
fig. 9 is a schematic structural composition diagram of a terminal device provided in an embodiment of the present specification;
fig. 10 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
Referring to fig. 1, an embodiment of the present disclosure provides a data processing method. The method is particularly applied to one side of the terminal equipment. Wherein the terminal device is associated with a riding device. In particular implementations, the method may include the following.
S101: and monitoring whether the motion data of the terminal equipment meets preset conditions.
S102: under the condition that the motion data of the terminal equipment meets the preset condition, determining that a user initiates target shaking operation for indicating locking, and generating a locking instruction for the riding equipment; and the riding equipment executes locking operation according to the locking instruction.
In one embodiment, the terminal device may specifically include a user terminal disposed at a user side and capable of implementing functions such as data acquisition and data transmission. Specifically, the terminal may be, for example, an electronic device such as a tablet computer, a smart phone, an intelligent wearable device, and the like. Alternatively, the terminal device may be a software application capable of running in the above-mentioned electronic device. For example, there may be a XX sharing bicycle APP running on a smartphone, etc. The specification mainly takes a client APP installed and operated on a smart phone as an example for specific description.
In one embodiment, the motion data of the terminal device may specifically include acceleration data of the terminal device. Correspondingly, the terminal equipment can be provided with an accelerometer for detecting acceleration data of the terminal equipment.
As the movement data of the terminal device, speed data, displacement data, or the like of the terminal device may be used instead of the acceleration data, as the case may be.
In one embodiment, the riding device may specifically include at least one of the following: sharing bicycles, sharing electric vehicles, sharing bicycles, and the like. Of course, the above-listed riding devices are only one illustrative type. In specific implementation, the riding device may further include other types of riding devices according to specific application scenarios and processing requirements. The present specification is not limited to this. The present specification mainly describes a shared electric vehicle as an example. Reference may be made to related embodiments of a shared electric vehicle for other types of riding devices.
Specifically, referring to fig. 2, the above-mentioned riding device may be provided with a speed sensor for detecting the running speed of the user. In addition, the above-described riding apparatus may be further provided with a transceiver module for receiving and transmitting data signals, for example, a T-BOX module or the like. The transceiver module may support bluetooth-based data interaction and/or network-based data interaction. Further, the above-described riding apparatus may be further provided with a controller for controlling the execution of the unlocking operation and the locking operation.
In one embodiment, the terminal device is specifically associated with a riding device. In particular, the terminal device may be bound to the riding device.
Specifically, for example, when a user needs to use a certain shared electric vehicle, the user can scan the two-dimensional code arranged on the vehicle body of the shared electric vehicle through the function of 'code scanning and riding' in the XX shared electric vehicle APP installed on the mobile phone; the two-dimensional codes are in one-to-one correspondence with the shared electric vehicle. Then, the XX sharing electric vehicle APP of the mobile phone can generate a riding request aiming at the sharing electric vehicle according to the two-dimensional code obtained by scanning; the riding request is sent to a cloud server of the XX sharing electric vehicle service platform; the riding request may carry the scanned two-dimensional code. After receiving the riding request, the cloud server can determine the shared electric vehicle which the user wants to use according to the two-dimensional code; and binding the shared electric vehicle with the mobile phone initiating the riding request, so that the shared electric vehicle is associated with the mobile phone held by the user.
Further, the cloud server can also respond to the riding request to generate an unlocking instruction aiming at the shared electric vehicle; and sending the unlocking instruction to the corresponding shared electric vehicle through a network. Correspondingly, the shared electric vehicle can receive the unlocking instruction through the transceiver module; and performs an unlocking operation by the controller. Meanwhile, the cloud server can also send a use prompt of 'successful unlocking and use' to the mobile phone of the user. Thus, the user can smoothly ride the shared electric vehicle associated with the own mobile phone.
In this embodiment, the cloud server may specifically include a background negative server disposed at one side of a network platform (for example, XX sharing electric vehicle service platform, etc.), and capable of implementing functions such as data transmission and data processing. Specifically, the cloud server may be, for example, an electronic device having a data operation, a storage function, and a network interaction function. Alternatively, the cloud server may be a software program running in the electronic device, which provides support for data processing, storage, and network interaction. In this embodiment, the number of servers included in the cloud server is not particularly limited. The cloud server may be one server, or may be several servers, or a server cluster formed by several servers.
In one embodiment, the terminal device may be specifically configured to trigger monitoring of the operation data of the terminal device in case it is determined that the user uses the riding device.
In one embodiment, the method may further include the following when implemented: detecting whether a user uses the riding device; and triggering whether the operation data of the monitoring terminal equipment meet the preset conditions or not under the condition that the user uses the riding equipment is detected.
In one embodiment, the terminal device may determine whether the user is currently using the riding device by collecting and detecting whether the speed data of the terminal device is greater than a lower speed limit. In the implementation, if the speed data collected by the terminal device is less than or equal to the lower speed limit value, it can be judged that the current user does not start to use the riding device, and further, the subsequent speed data can be continuously detected. If the speed data acquired by the terminal equipment is larger than the speed lower limit value, the riding equipment can be judged to be used currently, and whether the operation data of the terminal equipment meet the preset conditions can be monitored.
In one embodiment, the terminal device may determine whether the user initiates the target shake operation indicating locking by monitoring whether the motion data of the terminal device meets a preset condition, so that a locking instruction for the riding device may be automatically generated to implement locking operation for the riding device when it is determined that the user initiates the target shake operation.
It should be noted that, based on the data processing method provided by the embodiment of the present disclosure, the user does not need to click the corresponding shared bicycle app on the mobile phone first as in the existing method, so as to enter into a specific operation interface; and in the operation interface, corresponding clicking operation is performed according to the related instruction to issue a locking instruction so as to finish the locking operation of the sharing bicycle. Referring to fig. 3, a user may initiate a target shaking operation by shaking a terminal device, so as to more efficiently and conveniently complete a locking operation for the riding device.
In this embodiment, in order to avoid erroneous judgment and reduce errors, the target shake operation is specifically defined as: the terminal device is continuously shaken for a small period of time more than a preset lower limit of times. The preset lower limit of the times may be 3, or other values greater than 3. By setting the preset lower limit of times, the target shaking operation can be effectively distinguished from most of collision vibration normally encountered by the riding equipment in the riding process or shaking generated by misoperation, so that misjudgment is avoided.
In addition, in the specific monitoring and judging process, the terminal equipment can monitor whether the motion data of the terminal equipment meets the preset condition or not based on a preset target shaking operation detection algorithm.
Therefore, misjudgment caused by normal vibration of a user in the process of using the riding equipment can be effectively avoided.
In an embodiment, the monitoring whether the motion data of the terminal device meets the preset condition may include the following when implemented:
s1: the method comprises the steps of collecting motion data of terminal equipment at equal intervals;
s2: updating a data queue by utilizing the motion data according to a preset rule; and determining whether the terminal equipment meets the preset condition according to the updated data queue.
In one embodiment, the motion data may specifically include at least one of: acceleration data, velocity data, displacement data, and the like. Of course, it should be noted that the above-listed motion data is only a schematic illustration. In the specific implementation, other suitable motion data may be selected according to the specific situation.
In one embodiment, the collecting the motion data of the terminal device at equal intervals may specifically include: and acquiring motion data of the terminal equipment at preset time intervals. Of course, in specific implementation, according to specific situations and processing requirements, in some situations, for example, the motion data of the terminal device can be collected through a preset distance interval.
By the embodiment, whether the preset condition is met or not can be determined according to the motion data of the monitoring terminal equipment based on the preset target shaking operation detection algorithm, and whether the user initiates the target shaking operation for indicating locking or not can be accurately judged.
In one embodiment, in consideration of the fact that the user often does not fix the shaking direction when shaking the terminal device when initiating the target shaking operation, in order to more accurately monitor and determine whether the user actually initiates the target shaking operation, deceleration data in multiple directions may be monitored simultaneously.
In one embodiment, specific description will be given taking acceleration data as an example of motion data. For the case of using other motion data, reference may be made to an embodiment using acceleration data as motion data, which is not described in detail in this specification.
The acceleration data may specifically include: first acceleration data, second acceleration data, and third acceleration data; the first acceleration data are acceleration data in a first direction, the second acceleration data are acceleration data in a second direction, and the third acceleration data are acceleration data in a third direction;
correspondingly, updating a data queue by utilizing the acceleration data according to a preset rule; the data queue may specifically include: a first data queue corresponding to the first acceleration data, a second data queue corresponding to the second acceleration data, and a third data queue corresponding to the third acceleration data;
the updated data queue may specifically include: the system comprises an updated first data queue, an updated second data queue and an updated third data queue.
In an embodiment, in a specific implementation, the first acceleration data may specifically include acceleration in a left or right direction, which may be recorded as acceleration data along an X-axis direction. Specifically, the first acceleration data in the left direction may be written as a positive number, and the first acceleration data in the right direction may be written as a negative number.
The second acceleration data may specifically include acceleration in a forward or backward direction, and may be referred to as acceleration data in the Y-axis direction. Specifically, the second acceleration data in the forward direction may be counted as a positive number, and the second acceleration data in the backward direction may be counted as a negative number.
The third acceleration data may specifically include acceleration in an upward or downward direction, and may be referred to as acceleration data in the Z-axis direction. Specifically, the third acceleration data in the downward direction may be written as a positive number, and the third acceleration data in the upward direction may be written as a negative number.
In specific implementation, one or more acceleration data to be monitored can be selected from the first acceleration data, the second acceleration data and the third acceleration data according to specific conditions and processing requirements, and the acceleration data is combined.
In one embodiment, the first data queue may be specifically understood as a data queue corresponding to the first acceleration data, the second data queue may be specifically understood as a data queue corresponding to the second acceleration data, and the third data queue may be specifically understood as a data queue corresponding to the third acceleration data.
Specifically, the first data queue may be denoted as X, the second data queue may be denoted as Y, and the third data queue may be denoted as Z as shown in fig. 4.
Taking the first data queue X as an example, the first data queue X includes a plurality of first acceleration data arranged according to the sequence of the acquisition time. Wherein, each first acceleration data corresponds to an acquisition time.
For example, the first data queue X has arranged from front to back: first acceleration data x1 collected at time t1, first acceleration data x2 collected at time t2, first acceleration data xn collected at time … … tn. The preset time interval is set between the acquisition time of two adjacent first acceleration data in the first data queue X, and may be denoted as Δt.
For the second data queue Y and the third data queue Z, reference may be made to the related embodiments of the first data queue X, which are not described herein.
In one embodiment, in the implementation, the acceleration data in the corresponding direction can be collected by an accelerometer built in the terminal device at preset time intervals.
Wherein, the preset time interval may be set to 5 seconds. Of course, it should be noted that the above-listed preset time intervals are only illustrative. In the implementation, other values can be set as preset time intervals according to specific conditions and precision requirements, and the preset time intervals can also be set by a user through terminal equipment in a self-defining mode.
In an embodiment, the updating the data queue according to the preset rule by using the acceleration data to obtain an updated data queue may include the following when implemented: updating the current first data queue by utilizing the current first acceleration data according to a preset rule in the following manner to obtain an updated first data queue; the current first acceleration data are first acceleration data acquired at a current preset time interval:
s1: detecting whether the current first acceleration data is larger than a preset acceleration threshold value or not;
s2: and under the condition that the current first acceleration data is determined to be larger than the preset acceleration threshold value, writing the current first acceleration data into the tail of the current first data queue to obtain an updated first data queue.
The preset acceleration threshold may be denoted as g. Specifically, the specific value of the preset acceleration threshold may be set to 9.8m/s 2.
In specific implementation, referring to fig. 5, when the terminal device collects the current first acceleration data (xn+1 at time tn+1) through the accelerometer, the current first acceleration data may be compared with a preset acceleration threshold value, and if it is determined that the current first acceleration data is greater than the preset acceleration threshold value, the current first acceleration data may be directly written into the tail of the first data queue, so as to correspond to time tn+1, thereby obtaining the updated first data queue.
In one embodiment, after detecting whether the current first acceleration data is greater than the preset acceleration threshold, the method may further include the following when implemented:
s1: under the condition that the current first acceleration data is less than or equal to a preset acceleration threshold value, writing the current first acceleration data into the tail of a current first data queue to obtain a current first intermediate queue;
s2: detecting whether a first continuous preset number of first acceleration data is less than or equal to a preset acceleration threshold value from the current first acceleration data in the current first intermediate queue along the direction from the current first acceleration data to the head of the queue;
s3: and under the condition that the fact that a continuous first preset number of first acceleration data is smaller than or equal to a preset acceleration threshold value exists in the current first intermediate queue from the current first acceleration data along the direction from the first acceleration data to the head of the queue is determined, the current first intermediate queue is emptied, and an updated first data queue is obtained.
In implementation, referring to fig. 6, when it is determined that the current first acceleration data (xn+1) is less than or equal to the preset acceleration threshold, the current first acceleration data may be directly written into the tail of the current first data queue, so as to obtain the current first intermediate queue. Further, from the current first acceleration data in the current first intermediate queue, detecting whether a continuous first preset number of first acceleration data is smaller than or equal to a preset acceleration threshold value along the direction toward the head of the queue.
If it is determined that the continuous first preset number of acceleration data is equal to or less than the preset acceleration threshold value, it may be determined that the acceleration data greater than the preset acceleration threshold value stored in the current first intermediate queue is error data with a high probability, not data corresponding to the target shake operation. The error data may be acceleration data generated by collision vibration of the riding device when passing over a ground bump or road shoulder; for example, acceleration data generated by a short vibration of the terminal device when the user operates the terminal device by mistake may be used.
At this time, referring to fig. 6, the current first intermediate queue may be emptied to obtain an empty queue, which is used as the updated first data queue, so as to re-record the first data queue.
By the above embodiment, based on the preset target shake operation detection algorithm, the error data can be recognized in preparation, and the error occurring when the target shake operation is judged can be effectively reduced.
In one embodiment, after detecting whether there is a continuous first preset number of acceleration data in the direction from the current first acceleration data to the head of the queue in the current first intermediate queue, the method may further include, when implemented, the following: and under the condition that the fact that the continuous first preset number of first acceleration data is not smaller than or equal to a preset acceleration threshold value from the current first acceleration data in the current first intermediate queue in the direction from the current first acceleration data to the head of the queue is determined, determining the current first intermediate queue as an updated first data queue.
It should be noted that, the updating process of the second data queue and the third data queue may refer to the updating process of the first data queue, which is not described in detail in this specification.
In an embodiment, the determining whether the motion data of the terminal device meets the preset condition according to the updated data queue may include the following when the implementation is performed:
s1: detecting whether at least one updated data queue in the updated first data queue, the updated second data queue and the updated third data queue meets preset requirements;
s2: and under the condition that at least one updated data queue in the updated first data queue, the updated second data queue and the updated third data queue meets the preset requirement, determining that the motion data of the terminal equipment meets the preset condition.
In this embodiment, the updated data queue includes an updated first data queue, an updated second data queue, and an updated third data queue at the same time, and whether the three updated data queues, that is, the updated first data queue, the updated second data queue, and the updated third data queue, meet preset requirements may be detected based on a preset target shake operation detection algorithm; as long as it is detected that at least one updated data queue in the three updated data queues meets a preset requirement, it can be determined that the motion data of the terminal device meets a preset condition, and then it is determined that the user actually initiates a target shaking operation for indicating lock closing.
In an embodiment, the detecting whether at least one updated data queue in the updated first data queue, the updated second data queue, and the updated third data queue meets a preset requirement may include: detecting whether the updated first data queue meets preset requirements according to the following mode:
s1: detecting whether first acceleration data with second preset numbers of accelerations larger than a preset acceleration threshold value exist in the updated first data queue;
s2: under the condition that the first data queue after updating is determined to have the first acceleration data with the second preset number of accelerations larger than the preset acceleration threshold value, determining that the first data queue after updating meets the preset requirement; and empties the updated first data queue.
In this embodiment, when the detection is specific, whether the number of the first acceleration data larger than the preset acceleration threshold in the updated first data queue is larger than the second preset number may be counted and detected, and if the number of the first acceleration data larger than the preset acceleration threshold in the updated first data queue is larger than the second preset number, it may be determined that the updated first data queue meets the preset requirement. Otherwise, determining that the updated first data queue does not meet the preset requirement.
The specific value of the second preset number may be determined according to a preset lower limit of the number of times of shaking in the target shaking operation. Specifically, for example, the specific value of the second preset number may be set to 3 or a number greater than 3.
The second preset number is set in consideration of the fact that, generally, if the riding device passes through a road surface bulge or a road shoulder or the like, one to two vibrations (which are collision vibrations normally occurring in the riding process) are easily generated, so that acceleration data with one to two values larger than a preset deceleration threshold value easily occur in the acquired data queue. Therefore, the second preset number is set to be a value larger than or equal to 3, and vibration generated when the riding equipment passes through the road surface bulge or the road shoulder can be effectively prevented from being wrongly judged to be a target shaking operation initiated by a user, so that errors can be reduced, and accuracy can be improved.
For the detection of the updated second data queue and the updated third data queue, the detection process of the updated first data queue may be referred to, which is not described in detail in this specification.
Through the embodiment, whether the user initiates the target shaking operation for indicating locking can be accurately identified by detecting whether the data queue meets the preset requirement.
In one embodiment, the first preset number and the preset acceleration threshold may be specifically determined according to user data of a user holding the terminal device.
In the present embodiment, it is considered that there is often a difference between different users when specifically initiating the target shake operation. For example, older users or female users often experience a smaller range of motion and slower response when shaking the terminal device. While the younger users or male users often show a larger movement range, a faster response, etc. when shaking the terminal device.
In order to more accurately judge whether the user holding the terminal equipment initiates the target shaking operation, different types of users can be distinguished, and the matched first preset number and the preset acceleration threshold value are set in a targeted manner for the different types of users, so that whether the user initiates the target shaking operation for indicating locking can be accurately judged.
In one embodiment, in implementation, the terminal device may first query the user database according to the user identifier of the logged-in user, so as to obtain the user data of the user. The user data may specifically include age, gender, occupation, etc. And distinguishing different types of users according to user data of the users, and setting a first preset number matched with the users and belonging to an acceleration threshold value.
Specifically, for example, according to user data of the user, when it is determined that the user is a elderly user or a female user, the value of the preset acceleration threshold may be set to be relatively small, and the value of the first preset number may be set to be relatively large; when it is determined that the user is a younger user or a male user, the value of the preset acceleration threshold may be set to be relatively large, and the value of the first preset number may be set to be relatively small.
It should be noted that, the above-mentioned user data is collected and used by adopting a compliance means on the premise that the user knows and grants consent. And in the process of collection and use, the user data can be subjected to secret processing by adopting means such as data encryption, so that the user data is prevented from being leaked in the process of collection and use, and the safety of the user data is protected.
In an embodiment, the first preset number and the preset acceleration threshold may also be values that are determined by the cloud server and that match operation habits of a majority of users by learning operation records when initiating target shake operations of the majority of users. In addition, the first preset number and the preset acceleration threshold value can be set by a user through terminal equipment in a self-defining mode so as to meet the personalized customization requirement of the user.
In one embodiment, the terminal device determines that a user initiates a target shaking operation indicating locking and generates a locking instruction for the riding device when the movement data of the terminal device is monitored to meet a preset condition.
In one embodiment, after generating the lock-off instruction for the riding device, the method may further include the following when embodied: sending the locking instruction to a cloud server; the cloud server forwards the locking instruction to the riding equipment; or, sending the locking instruction to the riding equipment through Bluetooth connection; the riding equipment receives and responds to the locking instruction, acquires the current running speed and detects whether the current running speed is smaller than or equal to a preset speed threshold value; and under the condition that the current running speed is less than or equal to a preset speed threshold value, executing locking operation according to the locking instruction.
In specific implementation, for example, when a user uses the terminal device to unlock and use the riding device, the terminal device establishes and maintains a bluetooth connection with the riding device; the terminal device may send the lock closing instruction directly to the riding device via the bluetooth connection.
For another example, referring to fig. 7, the terminal device may also send a lock closing instruction to the cloud server of the XX sharing electric vehicle service platform through the mobile phone network; and the cloud server forwards the locking instruction to the corresponding riding equipment through the network.
The riding device may not immediately execute the locking operation after receiving the locking instruction, but collect the current running speed of the riding device through a speed sensor built in the riding device, and detect whether the current running speed is less than or equal to a preset speed threshold. The predetermined speed threshold may be a smaller speed value close to 0, for example, 0.1 m/s.
Under the condition that the current running speed is less than or equal to a preset speed threshold value, the fact that the locking operation is performed currently does not cause risk to the safety of a user can be determined, and then specific locking operation can be executed according to the locking instruction.
In contrast, in the case where it is determined that the current running speed is greater than the preset speed threshold, it may be determined that the current locking operation is likely to pose a risk to the safety of the user, and at this time, the locking operation may be temporarily not performed.
Therefore, the safety of the user can be well protected, and the danger of emergency lock closing to the safety of the user under the condition that the user uses the riding equipment at a high speed is effectively avoided.
In one embodiment, after generating the lock-off instruction for the riding device, the method may further comprise, when embodied: the terminal equipment acquires the current speed of the terminal equipment through a built-in speed sensor; and under the condition that the current speed of the terminal equipment is less than or equal to a preset speed threshold value, providing a locking instruction for the riding equipment. In contrast, in the case where it is determined that the current speed of the terminal device is equal to the preset speed value, the lock closing instruction may be temporarily not provided to the riding device. And, can also send the suggestion of reporting to the wrong to the user. Thus, the danger of emergency locking to the user in the case of the user using the riding apparatus at a high speed can be avoided.
As can be seen from the above, based on the data processing method provided in the embodiments of the present disclosure, when a user uses a riding device, a terminal device associated with the riding device may monitor in real time whether motion data of the terminal device meets a preset condition. When the user uses the riding device and needs to be locked, the user can simply shake the held terminal device; at this time, the terminal device monitors that the motion data of the terminal device meets a preset condition, and then can determine that a user initiates a target shaking operation indicating locking, and generates a locking instruction for the riding device so as to automatically complete the locking operation of the riding device. Therefore, the operation of a user side can be effectively simplified, the user can conveniently and efficiently finish the locking of the riding equipment, and the user can obtain better interaction experience.
Referring to fig. 8, another data processing method is also provided in the embodiment of the present disclosure. The method is applied to one side of the riding equipment, and the riding equipment is associated with terminal equipment held by a user. The method, when embodied, may include the following.
S801: receiving a locking instruction; the locking instruction is generated by the terminal equipment under the condition that the motion data of the terminal equipment is monitored to meet the preset condition;
s802: responding to the locking instruction, collecting the current running speed, and detecting whether the current running speed is less than or equal to a preset speed threshold value;
s803: and under the condition that the current running speed is less than or equal to a preset speed threshold value, executing locking operation according to the locking instruction.
Through the data processing method, the riding equipment can be matched with the terminal equipment, and when the user is determined to initiate target shaking operation for indicating locking, the locking operation of the riding equipment is automatically and safely completed according to the locking instruction initiated by the terminal equipment, so that the safety of the user when the user uses the riding equipment is protected.
The embodiment of the specification also provides a terminal device, which comprises a processor and a memory for storing instructions executable by the processor, wherein the processor can execute the following steps according to the instructions when being implemented: monitoring whether the motion data of the terminal equipment meets preset conditions or not; under the condition that the motion data of the terminal equipment meets the preset condition, determining that a user initiates target shaking operation for indicating locking, and generating a locking instruction for the riding equipment; and the riding equipment executes locking operation according to the locking instruction.
In order to more accurately complete the above instructions, referring to fig. 9, another specific terminal device is provided in this embodiment of the present disclosure, where the terminal device includes a network communication port 901, a processor 902, and a memory 903, where the foregoing structures are connected by an internal cable, so that each structure may perform specific data interaction.
The network communication port 901 may be specifically configured to acquire acceleration data of the terminal device as motion data.
The processor 902 may be specifically configured to monitor whether the motion data of the terminal device meets a preset condition; under the condition that the motion data of the terminal equipment meets the preset condition, determining that a user initiates target shaking operation for indicating locking, and generating a locking instruction for the riding equipment; and the riding equipment executes locking operation according to the locking instruction.
The memory 903 may be used to store a corresponding program of instructions.
In this embodiment, the network communication port 901 may be a virtual port that binds with different communication protocols, so that different data may be sent or received. For example, the network communication port may be a port responsible for performing web data communication, a port responsible for performing FTP data communication, or a port responsible for performing mail data communication. The network communication port may also be an entity's communication interface or a communication chip. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it may also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 902 may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor, and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic controller, and an embedded microcontroller, among others. The description is not intended to be limiting.
In this embodiment, the memory 903 may include multiple levels, and in a digital system, the memory may be any memory as long as it can hold binary data; in an integrated circuit, a circuit with a memory function without a physical form is also called a memory, such as a RAM, a FIFO, etc.; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card, and the like.
The embodiments of the present specification also provide a computer storage medium based on the above data processing method, where the computer storage medium stores computer program instructions that when executed implement: monitoring whether the motion data of the terminal equipment meets preset conditions or not; under the condition that the motion data of the terminal equipment meets the preset condition, determining that a user initiates target shaking operation for indicating locking, and generating a locking instruction for the riding equipment; and the riding equipment executes locking operation according to the locking instruction.
In the present embodiment, the storage medium includes, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
The embodiments of the present specification also provide a computer storage medium based on the above data processing method, where the computer storage medium stores computer program instructions that when executed implement: receiving a locking instruction; the locking instruction is generated by the terminal equipment under the condition that the motion data of the terminal equipment is monitored to meet the preset condition; responding to the locking instruction, collecting the current running speed, and detecting whether the current running speed is less than or equal to a preset speed threshold value; and under the condition that the current running speed is less than or equal to a preset speed threshold value, executing locking operation according to the locking instruction.
In this embodiment, the functions and effects of the program instructions stored in the computer storage medium may be explained in comparison with other embodiments, and are not described herein.
Referring to fig. 10, on a software level, the embodiment of the present disclosure further provides a data processing apparatus, which may specifically include the following structural modules:
the monitoring module 1001 may be specifically configured to monitor whether the motion data of the terminal device meets a preset condition;
the processing module 1002 may be specifically configured to determine that a user initiates a target shake operation indicating locking and generate a locking instruction for the riding device when it is monitored that the motion data of the terminal device meets a preset condition; and the riding equipment executes locking operation according to the locking instruction.
In one embodiment, when the monitoring module 1001 is specifically implemented, it may monitor whether the motion data of the terminal device meets the preset condition in the following manner: the method comprises the steps of collecting motion data of terminal equipment at equal intervals; updating a data queue by utilizing the motion data according to a preset rule; and determining whether the terminal equipment meets the preset condition according to the updated data queue.
In one embodiment, the motion data may specifically include at least one of: acceleration data, velocity data, displacement data, etc.
In one embodiment, the monitoring module 1001 may collect the motion data of the terminal device at preset time intervals when it is specifically implemented.
In one embodiment, the acceleration data may specifically include: first acceleration data, second acceleration data, and third acceleration data; the first acceleration data are acceleration data in a first direction, the second acceleration data are acceleration data in a second direction, and the third acceleration data are acceleration data in a third direction; correspondingly, when the monitoring module 1001 is specifically implemented, the data queue may be updated by using the acceleration data according to a preset rule; the data queue may specifically include: a first data queue corresponding to the first acceleration data, a second data queue corresponding to the second acceleration data, and a third data queue corresponding to the third acceleration data; the updated data queue may specifically include: the system comprises an updated first data queue, an updated second data queue and an updated third data queue.
In one embodiment, when the processing module 1002 is specifically implemented, the data queue may be updated with the acceleration data in the following manner, to obtain an updated data queue: updating the current first data queue by utilizing the current first acceleration data according to a preset rule in the following manner to obtain an updated first data queue; the current first acceleration data are first acceleration data acquired at a current preset time interval: detecting whether the current first acceleration data is larger than a preset acceleration threshold value or not; and under the condition that the current first acceleration data is determined to be larger than the preset acceleration threshold value, writing the current first acceleration data into the tail of the current first data queue to obtain an updated first data queue.
In one embodiment, after detecting whether the current first acceleration data is greater than the preset acceleration threshold, the processing module 1002 may write the current first acceleration data to the tail of the current first data queue to obtain the current first intermediate queue under the condition that the current first acceleration data is determined to be less than or equal to the preset acceleration threshold; detecting whether a first continuous preset number of first acceleration data is less than or equal to a preset acceleration threshold value from the current first acceleration data in the current first intermediate queue along the direction from the current first acceleration data to the head of the queue; and under the condition that the fact that a continuous first preset number of first acceleration data is smaller than or equal to a preset acceleration threshold value exists in the current first intermediate queue from the current first acceleration data along the direction from the first acceleration data to the head of the queue is determined, the current first intermediate queue is emptied, and an updated first data queue is obtained.
In an embodiment, in a specific implementation, when the processing module 1002 is specifically configured, after detecting whether there is a continuous first preset number of acceleration data in the direction from the current first acceleration data in the current first intermediate queue to the head of the queue, the current first intermediate queue may be determined to be the updated first data queue when it is determined that there is no continuous first preset number of acceleration data in the current first intermediate queue from the current first acceleration data to the head of the queue that is less than or equal to the preset acceleration threshold.
In one embodiment, when the processing module 1002 is specifically implemented, it may determine whether the motion data of the terminal device meets the preset condition according to the updated data queue in the following manner: detecting whether at least one updated data queue in the updated first data queue, the updated second data queue and the updated third data queue meets preset requirements; and under the condition that at least one updated data queue in the updated first data queue, the updated second data queue and the updated third data queue meets the preset requirement, determining that the motion data of the terminal equipment meets the preset condition.
In one embodiment, when the processing module 1002 is specifically configured, it may be detected whether at least one updated data queue in the updated first data queue, the updated second data queue, and the updated third data queue meets a preset requirement in the following manner: detecting whether the updated first data queue meets preset requirements according to the following mode: detecting whether first acceleration data with second preset numbers of accelerations larger than a preset acceleration threshold value exist in the updated first data queue; under the condition that the first data queue after updating is determined to have the first acceleration data with the second preset number of accelerations larger than the preset acceleration threshold value, determining that the first data queue after updating meets the preset requirement; and empties the updated first data queue.
In one embodiment, the first preset number and the preset acceleration threshold are determined according to user data of a user holding the terminal device.
In one embodiment, the apparatus may specifically further include a transmitting module. In the implementation, after a locking instruction for the riding equipment is generated, the locking instruction is sent to a cloud server through a sending module; the cloud server forwards the locking instruction to the riding equipment; or, sending the locking instruction to the riding equipment through Bluetooth connection; the riding equipment receives and responds to the locking instruction, acquires the current running speed and detects whether the current running speed is smaller than or equal to a preset speed threshold value; and under the condition that the current running speed is less than or equal to a preset speed threshold value, executing locking operation according to the locking instruction.
In one embodiment, the apparatus may specifically further comprise a detection module, which may specifically be configured to detect whether the user uses the riding device; and triggering whether the operation data of the monitoring terminal equipment meet the preset conditions or not under the condition that the user uses the riding equipment is detected.
The embodiment of the present disclosure further provides a data processing apparatus, which may specifically include: the receiving module is used for receiving the locking instruction; the locking instruction is generated by the terminal equipment under the condition that the motion data of the terminal equipment is monitored to meet the preset condition; the detection module is used for responding to the locking instruction, collecting the current running speed and detecting whether the current running speed is smaller than or equal to a preset speed threshold value; and the execution module is used for executing locking operation according to the locking instruction under the condition that the current running speed is less than or equal to a preset speed threshold value.
It should be noted that, the units, devices, or modules described in the above embodiments may be implemented by a computer chip or entity, or may be implemented by a product having a certain function. For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, when the present description is implemented, the functions of each module may be implemented in the same piece or pieces of software and/or hardware, or a module that implements the same function may be implemented by a plurality of sub-modules or a combination of sub-units, or the like. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
From the above, based on the data processing device provided by the embodiment of the present disclosure, the operation on the user side can be effectively simplified, so that the user can conveniently and efficiently complete locking of the riding device, and the user can obtain better interaction experience.
Although the present description provides method operational steps as described in the examples or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented by an apparatus or client product in practice, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment, or even in a distributed data processing environment). The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, it is not excluded that additional identical or equivalent elements may be present in a process, method, article, or apparatus that comprises a described element. The terms first, second, etc. are used to denote a name, but not any particular order.
Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller can be regarded as a hardware component, and means for implementing various functions included therein can also be regarded as a structure within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of embodiments, it will be apparent to those skilled in the art that the present description may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the present specification may be embodied essentially in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and include several instructions to cause a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) to perform the methods described in the various embodiments or portions of the embodiments of the present specification.
Various embodiments in this specification are described in a progressive manner, and identical or similar parts are all provided for each embodiment, each embodiment focusing on differences from other embodiments. The specification is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Although the present specification has been described by way of example, it will be appreciated by those skilled in the art that there are many variations and modifications to the specification without departing from the spirit of the specification, and it is intended that the appended claims encompass such variations and modifications as do not depart from the spirit of the specification.

Claims (14)

1. A data processing method, characterized by being applied to a terminal device, wherein the terminal device is associated with a riding device, the method comprising:
monitoring whether the motion data of the terminal equipment meets preset conditions or not; comprising the following steps: the method comprises the steps of collecting motion data of terminal equipment at equal intervals; updating a data queue by utilizing the motion data according to a preset rule; determining whether the terminal equipment meets preset conditions according to the updated data queue;
under the condition that the motion data of the terminal equipment meets the preset condition, determining that a user initiates target shaking operation for indicating locking, and generating a locking instruction for the riding equipment; and the riding equipment executes locking operation according to the locking instruction.
2. The method of claim 1, wherein the motion data comprises at least one of: acceleration data, velocity data, displacement data.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the equidistant acquisition of the motion data of the terminal equipment comprises the following steps: acquiring motion data of terminal equipment at preset time intervals;
the acceleration data includes: first acceleration data, second acceleration data, and third acceleration data; the first acceleration data are acceleration data in a first direction, the second acceleration data are acceleration data in a second direction, and the third acceleration data are acceleration data in a third direction;
correspondingly, updating a data queue by utilizing the acceleration data according to a preset rule; the data queue includes: a first data queue corresponding to the first acceleration data, a second data queue corresponding to the second acceleration data, and a third data queue corresponding to the third acceleration data;
the updated data queue includes: the system comprises an updated first data queue, an updated second data queue and an updated third data queue.
4. A method according to claim 3, wherein updating the data queue with the acceleration data according to a predetermined rule, resulting in an updated data queue, comprises:
Updating the current first data queue by utilizing the current first acceleration data according to a preset rule in the following manner to obtain an updated first data queue; the current first acceleration data are first acceleration data acquired at a current preset time interval:
detecting whether the current first acceleration data is larger than a preset acceleration threshold value or not;
and under the condition that the current first acceleration data is determined to be larger than the preset acceleration threshold value, writing the current first acceleration data into the tail of the current first data queue to obtain an updated first data queue.
5. The method of claim 4, wherein after detecting whether the current first acceleration data is greater than a preset acceleration threshold, the method further comprises:
under the condition that the current first acceleration data is less than or equal to a preset acceleration threshold value, writing the current first acceleration data into the tail of a current first data queue to obtain a current first intermediate queue;
detecting whether a first continuous preset number of first acceleration data is less than or equal to a preset acceleration threshold value from the current first acceleration data in the current first intermediate queue along the direction from the current first acceleration data to the head of the queue;
And under the condition that the fact that a continuous first preset number of first acceleration data is smaller than or equal to a preset acceleration threshold value exists in the current first intermediate queue from the current first acceleration data along the direction from the first acceleration data to the head of the queue is determined, the current first intermediate queue is emptied, and an updated first data queue is obtained.
6. The method of claim 5, wherein after detecting whether there is a consecutive first predetermined number of acceleration data in the head of the queue from the current first acceleration data in the current first intermediate queue that is less than or equal to a predetermined acceleration threshold, the method further comprises:
and under the condition that the fact that the continuous first preset number of first acceleration data is not smaller than or equal to a preset acceleration threshold value from the current first acceleration data in the current first intermediate queue in the direction from the current first acceleration data to the head of the queue is determined, determining the current first intermediate queue as an updated first data queue.
7. The method of claim 5, wherein determining whether the motion data of the terminal device satisfies a preset condition based on the updated data queue comprises:
detecting whether at least one updated data queue in the updated first data queue, the updated second data queue and the updated third data queue meets preset requirements;
And under the condition that at least one updated data queue in the updated first data queue, the updated second data queue and the updated third data queue meets the preset requirement, determining that the motion data of the terminal equipment meets the preset condition.
8. The method of claim 7, wherein detecting whether at least one of the updated first data queue, the updated second data queue, and the updated third data queue satisfies a preset requirement comprises:
detecting whether the updated first data queue meets preset requirements according to the following mode:
detecting whether first acceleration data with second preset numbers of accelerations larger than a preset acceleration threshold value exist in the updated first data queue;
under the condition that the first data queue after updating is determined to have the first acceleration data with the second preset number of accelerations larger than the preset acceleration threshold value, determining that the first data queue after updating meets the preset requirement; and empties the updated first data queue.
9. The method of claim 6, wherein the first predetermined number, the predetermined acceleration threshold, are determined based on user data of a user holding the terminal device.
10. The method of claim 1, wherein after generating the lock-off instruction for the riding device, the method further comprises:
sending the locking instruction to a cloud server; the cloud server forwards the locking instruction to the riding equipment;
or alternatively, the first and second heat exchangers may be,
transmitting the locking instruction to riding equipment through Bluetooth connection;
the riding equipment receives and responds to the locking instruction, acquires the current running speed and detects whether the current running speed is smaller than or equal to a preset speed threshold value; and under the condition that the current running speed is less than or equal to a preset speed threshold value, the riding device executes locking operation according to the locking instruction.
11. A data processing method, applied to a riding device, comprising:
receiving a locking instruction; the locking instruction is generated by the terminal equipment under the condition that the motion data of the terminal equipment is monitored to meet the preset condition; the terminal equipment monitors whether the motion data of the terminal equipment meets preset conditions according to the following mode: the method comprises the steps of collecting motion data of terminal equipment at equal intervals; updating a data queue by utilizing the motion data according to a preset rule; determining whether the terminal equipment meets preset conditions according to the updated data queue;
Responding to the locking instruction, collecting the current running speed, and detecting whether the current running speed is less than or equal to a preset speed threshold value;
and under the condition that the current running speed is less than or equal to a preset speed threshold value, executing locking operation according to the locking instruction.
12. A data processing apparatus for use with a terminal device, wherein the terminal device is associated with a riding device, comprising:
the monitoring module is used for monitoring whether the motion data of the terminal equipment meet preset conditions or not;
the processing module is used for determining that a user initiates a target shaking operation for indicating locking and generating a locking instruction for the riding equipment under the condition that the motion data of the terminal equipment meet the preset condition; the riding equipment executes locking operation according to the locking instruction;
the monitoring module is specifically used for acquiring motion data of the terminal equipment at equal intervals; updating a data queue by utilizing the motion data according to a preset rule; and determining whether the terminal equipment meets the preset condition according to the updated data queue.
13. A terminal device comprising a processor and a memory for storing processor-executable instructions, which processor, when executing the instructions, implements the steps of the method of any one of claims 1 to 10.
14. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any of claims 1 to 10, or 11.
CN202210113783.9A 2022-01-30 2022-01-30 Data processing method, device and terminal equipment Active CN114590343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210113783.9A CN114590343B (en) 2022-01-30 2022-01-30 Data processing method, device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210113783.9A CN114590343B (en) 2022-01-30 2022-01-30 Data processing method, device and terminal equipment

Publications (2)

Publication Number Publication Date
CN114590343A CN114590343A (en) 2022-06-07
CN114590343B true CN114590343B (en) 2023-09-01

Family

ID=81806669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210113783.9A Active CN114590343B (en) 2022-01-30 2022-01-30 Data processing method, device and terminal equipment

Country Status (1)

Country Link
CN (1) CN114590343B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412311A (en) * 2016-10-19 2017-02-15 广东欧珀移动通信有限公司 Data transmission method and terminal device
CN106447855A (en) * 2016-09-19 2017-02-22 深圳博科智能科技有限公司 Shake-based unlocking method and terminal equipment
CN106600781A (en) * 2016-12-14 2017-04-26 北京拜克洛克科技有限公司 Method and device for controlling locking of intelligent bicycle lock as well as intelligent bicycle lock and bicycle
CN106875524A (en) * 2017-01-24 2017-06-20 青岛工学院 A kind of smart bluetooth lock for mountain bike
CN113554786A (en) * 2021-08-02 2021-10-26 南马实业(深圳)有限公司 Vehicle control method and system of Bluetooth vehicle key

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102018111286A1 (en) * 2018-05-11 2019-11-14 ABUS August Bremicker Söhne KG Hand transmitter for a mobile lock

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106447855A (en) * 2016-09-19 2017-02-22 深圳博科智能科技有限公司 Shake-based unlocking method and terminal equipment
CN106412311A (en) * 2016-10-19 2017-02-15 广东欧珀移动通信有限公司 Data transmission method and terminal device
CN106600781A (en) * 2016-12-14 2017-04-26 北京拜克洛克科技有限公司 Method and device for controlling locking of intelligent bicycle lock as well as intelligent bicycle lock and bicycle
CN106875524A (en) * 2017-01-24 2017-06-20 青岛工学院 A kind of smart bluetooth lock for mountain bike
CN113554786A (en) * 2021-08-02 2021-10-26 南马实业(深圳)有限公司 Vehicle control method and system of Bluetooth vehicle key

Also Published As

Publication number Publication date
CN114590343A (en) 2022-06-07

Similar Documents

Publication Publication Date Title
EP2918139B1 (en) Intra-vehicular mobile device management
CN104364794B (en) Location-based access for portable electron device controls
US10796376B2 (en) Automatic exchange of information for vehicle accidents
US11180154B2 (en) Fingerprinting drivers based on vehicle turns
JP6922072B2 (en) Abnormality diagnosis system and abnormality diagnosis method
WO2019093098A1 (en) Information processing device, moving apparatus, method, and program
KR20210128512A (en) In-vehicle complex biometric authentication system and its operation method
CN111605651A (en) Vehicle control method, device, electronic device and storage medium
US20230229152A1 (en) Processing system for dynamic event verification & sensor selection
US11864065B2 (en) Rider location detection and sharing system
US20150288788A1 (en) Mobile Device Management
CN109450669A (en) A kind of method of abnormal alarm, equipment and computer storage medium
KR20220041137A (en) Multi-mode messaging anomaly detection for broadcast network security
US10925342B2 (en) Helmet communication and safety system
CN111915403A (en) Shared vehicle state detection method and device
CN114590343B (en) Data processing method, device and terminal equipment
CN112017401A (en) Alarm system for monitoring the safety of persons, corresponding method and storage medium
CN113615166B (en) Accident detection device and accident detection method
US20210125423A1 (en) Processing System for Dynamic Collison Verification & Sensor Selection
CN103345304A (en) Operating method and device of mobile equipment on the basis of time-share trigger of sensor
US20220289204A1 (en) Driving diagnosis device and driving diagnosis method
CN107392606B (en) Account management method and device
CN115140073A (en) Driving diagnosis apparatus and driving diagnosis method
CN114915971A (en) Vehicle control method, device, storage medium and vehicle
JP6997157B2 (en) Information processing equipment, information processing methods and programs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant