CN112486011B - Method for waking up user based on alarm clock trolley - Google Patents

Method for waking up user based on alarm clock trolley Download PDF

Info

Publication number
CN112486011B
CN112486011B CN202011287107.0A CN202011287107A CN112486011B CN 112486011 B CN112486011 B CN 112486011B CN 202011287107 A CN202011287107 A CN 202011287107A CN 112486011 B CN112486011 B CN 112486011B
Authority
CN
China
Prior art keywords
alarm clock
trolley
target
transmission
data
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
CN202011287107.0A
Other languages
Chinese (zh)
Other versions
CN112486011A (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.)
Changsha University
Original Assignee
Changsha University
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 Changsha University filed Critical Changsha University
Priority to CN202011287107.0A priority Critical patent/CN112486011B/en
Publication of CN112486011A publication Critical patent/CN112486011A/en
Application granted granted Critical
Publication of CN112486011B publication Critical patent/CN112486011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0255Control of position or course in two dimensions specially adapted to land vehicles using acoustic signals, e.g. ultra-sonic singals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Acoustics & Sound (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Environmental & Geological Engineering (AREA)
  • Electric Clocks (AREA)

Abstract

The invention provides a method for waking up a user based on an alarm clock trolley, which comprises the following steps: receiving target wake-up time input by a target user based on an alarm clock dolly; when the target wake-up time is reached, triggering a wake-up function of the alarm clock trolley and controlling the alarm clock trolley to be in an automatic tracking motion wake-up state; meanwhile, outputting information to be answered based on the alarm clock trolley, and receiving an answer result replied by the target user about the information to be answered to control whether to close the automatic tracking motion awakening state of the alarm clock trolley. The alarm clock trolley has the advantages that the target awakening time of the user is obtained, when the alarm clock trolley is consistent with the target awakening time, the awakening function is triggered, the alarm clock trolley is controlled to run around, the target user is supervised to get up, meanwhile, when the alarm clock trolley is closed by the target user, the arithmetic questions are presented to the target user, the alarm clock trolley can stop working only under the condition of correctly solving the questions, and the purpose of thoroughly awakening the target user is achieved.

Description

Method for waking up user based on alarm clock trolley
Technical Field
The invention relates to the technical field of alarm clocks, in particular to a method for waking up a user based on an alarm clock trolley.
Background
The alarm clock is a clock with a time-telling device, can indicate time and can emit signals such as sound according to the preset time of a user, and the alarm clock is used as a common household article and almost every household can have the alarm clock. When the alarm clock reaches the time preset by the target user, the alarm clock can trigger the alarm clock and send out signals such as sound and the like to wake up the user.
However, most users may go to sleep again after the alarm clock is turned off at any time when the alarm rings, and the alarm clock cannot achieve the purpose of thoroughly waking up the users, so the invention provides a method for waking up the users based on the alarm clock trolley.
Disclosure of Invention
The invention provides a method for waking up a user based on an alarm clock trolley, which is used for waking up through automatic tracking motion of the alarm clock trolley so as to achieve the effect of waking up a target user.
A method for waking up a user based on an alarm clock dolly comprises the following steps:
receiving target wake-up time input by a target user based on an alarm clock dolly;
when the target wake-up time is reached, triggering a wake-up function of the alarm clock trolley and controlling the alarm clock trolley to be in an automatic tracking motion wake-up state;
meanwhile, outputting information to be answered based on the alarm clock trolley, and receiving an answer result replied by the target user about the information to be answered to control whether to close the automatic tracking motion awakening state of the alarm clock trolley.
Preferably, the method for waking up the user based on the alarm clock dolly receives the target wake-up time input by the target user, and includes:
the method comprises the steps of obtaining sleeping time of a target user, determining current state values of N adjusting factors influencing alarm clock time, determining time adjusting values of corresponding adjusting factors according to the current state values, and obtaining an adjusting weight of each adjusting factor;
calculating an adjustment reference value of the alarm clock timing time based on the adjustment weight value and the time adjustment value of each adjustment factor;
and when the adjusting reference value is not 0, determining the alarm clock trolley target awakening time according to the adjusting reference value.
Preferably, the method for waking up a user based on an alarm clock dolly, in the process of triggering the wake-up function of the alarm clock dolly, comprises:
when the time difference between the current system time of the alarm clock trolley and the target awakening time input by the target user is detected to reach the preset time length, the awakening function in the alarm clock trolley enters a state to be triggered;
when the alarm clock trolley is in the state to be triggered, detecting a current life scene, and acquiring an awakening mode matched with the current life scene;
and based on the matched wake-up mode, when the current system time of the alarm clock trolley is completely the same as the target wake-up time input by the target user, the matched wake-up mode enters a wake-up state.
Preferably, the method for waking up the user based on the alarm clock trolley, when the alarm clock trolley is in the tracking motion wake-up state, includes:
based on the alarm clock trolley, transmitting an ultrasonic signal to a forward road, and detecting feedback information according to the ultrasonic signal to judge whether an obstacle blocks the forward direction of the alarm clock trolley;
if the barrier blocks in the advancing direction, a coordinate system is established based on the road environment image, the current position of the alarm clock trolley is obtained, and the coordinate of the barrier on the advancing road in the coordinate system is obtained;
constructing M movement path curves according to the current position of the alarm clock trolley and the coordinates of the obstacle in a coordinate system, and selecting a target path curve which can avoid the obstacle from the M movement path curves;
simultaneously, selecting F path points near the obstacle in the target path curve;
based on a preset function library, calling a space loss function, and calculating a loss value of the target path curve, wherein the loss value of the target path curve is smaller than a preset threshold value;
meanwhile, based on a preset coordinate adjustment method and the width of the alarm clock trolley, the distance between the point closest to the obstacle in the F path points and the obstacle is obtained;
calculating the distance between the alarm clock trolley and the obstacle on the advancing road according to the width of the alarm clock trolley and the distance between the point closest to the obstacle and the obstacle;
if the distance is smaller than a preset safety distance, adjusting the coordinate values of the F path points according to the preset coordinate adjustment method until the distance is larger than or equal to the preset safety distance to obtain an optimal path curve;
the optimal path curve loss value is also smaller than a preset threshold value;
and controlling the alarm clock trolley to finish automatic obstacle avoidance based on the optimal path curve.
Preferably, the method for waking up the user based on the alarm clock dolly comprises, before the alarm clock dolly outputs the information to be answered:
the alarm clock trolley and the target user mobile terminal are in communication connection, and a transmission link is constructed;
based on the transmission link, the alarm clock trolley sends a data receiving instruction to the target user mobile terminal, and after the target user mobile terminal receives the instruction, the arithmetic questions to be sent by the target user mobile terminal are converted into a target sequence through a data conversion library in the transmission link, and the target sequence is subjected to error correction coding to obtain a target coding sequence;
the target coding sequence comprises K pieces of arithmetic problem information, and the K pieces of arithmetic problem information in the target coding sequence are converted into corresponding waveform signals through a data conversion library in the transmission link;
based on the waveform signal, a modulation waveform signal is called from a preset database, the waveform signal and the modulation waveform signal are multiplied to obtain target transmission information, and the target transmission information is transmitted to the alarm clock trolley;
the alarm clock trolley converts the target transmission information into primary binary data and stores the primary binary data in an arithmetic database;
after the alarm clock trolley receives an instruction of outputting information to be answered, randomly calling primary binary data corresponding to a target arithmetic question from the arithmetic question bank, and inputting a preset arithmetic conversion model to convert the primary binary data into an arithmetic expression;
wherein, the arithmetic expression is the output information to be answered.
Preferably, after receiving an answer result from the target user in response to the to-be-answered information, the method for waking up the user based on the alarm clock cart includes:
receiving an answer result replied by the target user about the information to be answered based on the alarm clock trolley, and numbering the answer result;
searching a standard answer to the question corresponding to the information to be answered from a preset answer library according to the numbered answer result;
according to a preset static data consistency detection method, carrying out consistency verification on the answer result and the standard answer to the question;
if the answer result is consistent with the standard answer to the question, the operation of solving the question is finished;
otherwise, the alarm clock trolley receives the answer result of the target user replying the information to be answered again until the answer result is consistent with the standard answer to the question.
Preferably, the method for waking up the user based on the alarm clock dolly controls whether to turn off the automatic tracking motion wake-up state of the alarm clock dolly, and includes:
triggering the alarm clock trolley to stop awakening operation instructions based on the answer result is consistent with the standard answer to the question;
the alarm clock trolley controls the automatic tracking motion awakening mode to stop working according to the awakening stopping operation instruction;
otherwise, the alarm clock trolley continuously keeps the automatic tracking motion awakening state.
Preferably, in the method for waking up the user based on the alarm clock dolly, the process of transmitting the target transmission information to the alarm clock dolly includes: acquiring data to be transmitted, and counting the total amount of the data to be transmitted;
dividing the data to be transmitted into G batches based on a preset transmission cycle, a batch upper limit and a data volume upper limit of each batch of data, packaging the data of the G batches to obtain a source data packet, and transmitting the source data packet;
calculating a data loss value of the source data packet in the transmission link according to the following formula:
Figure 599915DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 457012DEST_PATH_IMAGE002
representing a data loss value of the source packet in a transmission link;
Figure 682457DEST_PATH_IMAGE003
representing the packet loss rate of the source packet in a transmission link;
Figure 599598DEST_PATH_IMAGE004
representing the total number of batches of the source packets;
Figure 644914DEST_PATH_IMAGE005
the number of the current batches of the source packets is represented, and the value range is [1,
Figure 40123DEST_PATH_IMAGE004
];
Figure 870807DEST_PATH_IMAGE006
is shown as
Figure 958849DEST_PATH_IMAGE005
The total amount of data contained in the source packets is batched;
Figure 491461DEST_PATH_IMAGE007
representing the transmission bandwidth needed by the source packet in the transmission process;
Figure 955941DEST_PATH_IMAGE008
represents a maximum transmission bandwidth provided by the transmission link;
comparing the calculated data loss value with a preset loss value;
if the loss value is larger than a preset loss value, judging that the data is seriously lost and the transmission fails, repacking the source data packet, and performing guide transmission again;
otherwise, calculating the transmission efficiency of the source packet in the transmission link according to the following formula:
Figure 890399DEST_PATH_IMAGE009
;
wherein the content of the first and second substances,
Figure 883762DEST_PATH_IMAGE010
representing the transmission efficiency of the source data packet in the transmission link, and the value range is [0, 1 ];
Figure 903671DEST_PATH_IMAGE011
the roll-off coefficient of the source packet during transmission in the transmission link is represented, and the value range is [0.2.0.8 ]];
Figure 171841DEST_PATH_IMAGE012
Indicating the period of transmission of the source data packet in the transmission link;
Figure 960806DEST_PATH_IMAGE013
representing the transmission rate of the source data packet in the transmission link;
Figure 141383DEST_PATH_IMAGE014
represents a maximum transmission rate allowed by the transmission link;
Figure 648587DEST_PATH_IMAGE002
representing a data loss value of the source packet in a transmission link;
Figure 454869DEST_PATH_IMAGE015
the total amount of data received by the alarm clock trolley is represented;
Figure 98340DEST_PATH_IMAGE016
representing the total amount of data in the source packet;
calling a reference transmission efficiency and transmission effect grade corresponding table according to the transmission efficiency, and inquiring the transmission effect grade corresponding to the transmission effect according to the corresponding table;
the transmission effect is graded into three levels, including: poor, good and excellent;
and if the transmission effect grade corresponding to the transmission efficiency is poor, calling auxiliary transmission data packet auxiliary source data in the transmission link for transmission, and improving the transmission efficiency.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of a method for waking up a user based on an alarm clock dolly in an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The invention provides a method for waking up a user based on an alarm clock dolly, which comprises the following steps as shown in figure 1:
receiving target wake-up time input by a target user based on an alarm clock dolly;
when the target wake-up time is reached, triggering a wake-up function of the alarm clock trolley and controlling the alarm clock trolley to be in an automatic tracking motion wake-up state;
meanwhile, outputting information to be answered based on the alarm clock trolley, and receiving an answer result replied by the target user about the information to be answered to control whether to close the automatic tracking motion awakening state of the alarm clock trolley.
In this embodiment, the target wake-up time refers to a time when the user finishes sleeping, that is, a time when the alarm clock cart starts working.
In this embodiment, the wake-up function refers to the ring, running and answer arithmetic question stop wake-up function included in the alarm clock cart.
In the embodiment, the automatic tracking motion awakening means that the alarm clock trolley automatically runs and rings in a living room of a user, and a motion path can be automatically found to avoid an obstacle.
In this embodiment, the information to be answered refers to an arithmetic question presented to the user by the alarm clock cart during operation.
The beneficial effects of the above technical scheme are: through the target awakening time of the user, when the alarm clock trolley is consistent with the target awakening time, the awakening function is triggered, the alarm clock trolley is controlled to run around, the target user is supervised to get up, meanwhile, when the alarm clock trolley is closed by the target user, the arithmetic questions are presented to the target user, the alarm clock trolley can stop working only under the condition of correctly solving the questions, the scientific mode for enabling the target user to be awake is added, and the purpose of thoroughly awakening the target user is achieved.
The invention provides a method for waking up a user based on an alarm clock dolly, which receives target wake-up time input by a target user and comprises the following steps:
the method comprises the steps of obtaining sleeping time of a target user, determining current state values of N adjusting factors influencing alarm clock time, determining time adjusting values of corresponding adjusting factors according to the current state values, and obtaining an adjusting weight of each adjusting factor;
calculating an adjustment reference value of the alarm clock timing time based on the adjustment weight value and the time adjustment value of each adjustment factor;
and when the adjusting reference value is not 0, determining the alarm clock trolley target awakening time according to the adjusting reference value.
In this embodiment, the current state value of the adjustment factor refers to a factor that affects the set wake-up time, such as: setting the target wake-up time to be 7 a in the morning: 00, the factors affecting the set time include the current state value of the second hand.
In this embodiment, adjusting the time adjustment value of the factor refers to resolving the pointer that affects the set target wake-up time to the target location, for example: setting the target wake-up time to be 7 a in the morning: 00, the second hand is currently pointing at 10, i.e. the time adjustment value is 10 seconds.
In this embodiment, the adjustment weight of the adjustment factor refers to the frequency of each number in the weighted average among the factors affecting the set target wake-up time.
In this embodiment, the adjustment reference value of the time refers to the time actually set after excluding the influence of the adjustment factor.
The beneficial effects of the above technical scheme are: the method comprises the steps of determining the sleeping time of a target user, simultaneously determining factors influencing the adjustment time, determining the current values of the adjustment factors, calculating the time adjustment values of the adjustment factors, ensuring the accuracy of the set time, simultaneously adjusting the reference value according to the calculated time to obtain the time finally set on the alarm clock trolley, and ensuring that the influence of other factors is eliminated, so that the alarm clock trolley can accurately wake up at the target wake-up time set by the target user.
The invention provides a method for waking up a user based on an alarm clock dolly, which comprises the following steps of:
when the time difference between the current system time of the alarm clock trolley and the target awakening time input by the target user is detected to reach the preset time length, the awakening function in the alarm clock trolley enters a state to be triggered;
when the alarm clock trolley is in the state to be triggered, detecting a current life scene, and acquiring an awakening mode matched with the current life scene;
and based on the matched wake-up mode, when the current system time of the alarm clock trolley is completely the same as the target wake-up time input by the target user, the matched wake-up mode enters a wake-up state.
In this embodiment, the preset time length means that the difference between the current time value of the alarm clock cart and the target wake-up time is within ten minutes.
In this embodiment, the state to be triggered refers to that the wake-up function in the alarm clock dolly has already been self-checked and enters a state of receiving a trigger instruction.
In this embodiment, the wake-up mode refers to a mode of selecting ringing according to the living environment of the target user, and is divided into low decibel, medium decibel and high decibel.
The beneficial effects of the above technical scheme are: when the difference value between the system time of the alarm clock trolley and the target awakening time reaches a preset time period, the alarm clock trolley detects the current environment of the target user, and the awakening mode matched with the environment is searched according to the detected current environment, so that the alarm clock trolley adopts different awakening modes according to different environments, the intelligence of the intelligent trolley is improved, and the use of the target user on different occasions is met.
The invention provides a method for waking up a user based on an alarm clock trolley, which comprises the following steps that when the alarm clock trolley is in a tracking motion wake-up state:
based on the alarm clock trolley, transmitting an ultrasonic signal to a forward road, and detecting feedback information according to the ultrasonic signal to judge whether an obstacle blocks the forward direction of the alarm clock trolley;
if the barrier blocks in the advancing direction, a coordinate system is established based on the road environment image, the current position of the alarm clock trolley is obtained, and the coordinate of the barrier on the advancing road in the coordinate system is obtained;
constructing M movement path curves according to the current position of the alarm clock trolley and the coordinates of the obstacle in a coordinate system, and selecting a target path curve which can avoid the obstacle from the M movement path curves;
simultaneously, selecting F path points near the obstacle in the target path curve;
based on a preset function library, calling a space loss function, and calculating a loss value of the target path curve, wherein the loss value of the target path curve is smaller than a preset threshold value;
meanwhile, based on a preset coordinate adjustment method and the width of the alarm clock trolley, the distance between the point closest to the obstacle in the F path points and the obstacle is obtained;
calculating the distance between the alarm clock trolley and the obstacle on the advancing road according to the width of the alarm clock trolley and the distance between the point closest to the obstacle and the obstacle;
if the distance is smaller than a preset safety distance, adjusting the coordinate values of the F path points according to the preset coordinate adjustment method until the distance is larger than or equal to the preset safety distance to obtain an optimal path curve;
the optimal path curve loss value is also smaller than a preset threshold value;
and controlling the alarm clock trolley to finish automatic obstacle avoidance based on the optimal path curve.
In this embodiment, the spatial loss function refers to a function that maps the value of a random event or its associated random variable to a non-negative real number to represent the "risk" or "loss" of the random event.
In this embodiment, the loss value of the path curve refers to the degree of danger that may exist during travel on the path.
In this embodiment, the preset safety distance refers to that the alarm clock trolley can smoothly avoid the obstacle and keep a certain distance from the obstacle, and the distance can ensure that the trolley does not collide with the obstacle to a certain extent when the trolley deviates, and the distance is called as the preset safety distance.
In this embodiment, the preset threshold refers to that the "risk" coefficient on the path curve does not affect the advancing state of the alarm clock dolly, and the corresponding "risk" coefficient value is the preset threshold at this time.
The beneficial effects of the above technical scheme are: the alarm clock trolley is used for sending an ultrasonic signal to the advancing direction, whether an obstacle exists in the front is judged according to ultrasonic feedback information, the fact that the alarm clock trolley can detect the obstacle in time is ensured, collision is prevented, meanwhile, when the obstacle exists in the front is detected, the fact that the alarm clock trolley can smoothly avoid the obstacle is ensured through path planning and safe distance calculation, the path with the minimum risk coefficient is found out from M paths constructed in the path planning process and serves as a target path, the path point coordinates near the obstacle are obtained in the target path, whether the distance between the path point and the obstacle can be ensured to safely pass through the alarm clock trolley or not is calculated, the trolley can still safely pass through the alarm clock trolley to a certain degree through deviation, and the alarm clock trolley can automatically follow the path and avoid the obstacle.
The invention provides a method for waking up a user based on an alarm clock dolly, which comprises the following steps that before the alarm clock dolly outputs information to be answered:
the alarm clock trolley and the target user mobile terminal are in communication connection, and a transmission link is constructed;
based on the transmission link, the alarm clock trolley sends a data receiving instruction to the target user mobile terminal, and after the target user mobile terminal receives the instruction, the arithmetic questions to be sent by the target user mobile terminal are converted into a target sequence through a data conversion library in the transmission link, and the target sequence is subjected to error correction coding to obtain a target coding sequence;
the target coding sequence comprises K pieces of arithmetic problem information, and the K pieces of arithmetic problem information in the target coding sequence are converted into corresponding waveform signals through a data conversion library in the transmission link;
based on the waveform signal, a modulation waveform signal is called from a preset database, the waveform signal and the modulation waveform signal are multiplied to obtain target transmission information, and the target transmission information is transmitted to the alarm clock trolley;
the alarm clock trolley converts the target transmission information into primary binary data and stores the primary binary data in an arithmetic database;
after the alarm clock trolley receives an instruction of outputting information to be answered, randomly calling primary binary data corresponding to a target arithmetic question from the arithmetic question bank, and inputting a preset arithmetic conversion model to convert the primary binary data into an arithmetic expression;
wherein, the arithmetic expression is the output information to be answered.
In this embodiment, modulating the waveform signal means modulating the waveform signal to make the waveform signal have a higher frequency, facilitate transmission, improve transmission efficiency,
in this embodiment, the primary binary data refers to a numerical system adopted in a computer system, which is convenient for a system to accurately identify, convert, and calculate data.
The beneficial effects of the above technical scheme are: the method comprises the steps of constructing a transmission link between the alarm clock trolley and a mobile terminal of a target user, converting an arithmetic question into a corresponding sequence and coding the sequence through a data conversion library in the transmission link, finally converting the sequence to obtain a waveform signal, multiplying the waveform signal by a modulation signal waveform for transmission, improving the data transmission efficiency, converting received data through the alarm clock trolley, facilitating system identification, storing the converted data in the arithmetic question library, facilitating random calling during work, converting the converted data into an arithmetic expression and presenting the arithmetic expression to the target user, improving the efficiency of presenting the arithmetic expression to the target user during the work of the alarm clock trolley, and improving the use experience.
The invention provides a method for waking up a user based on an alarm clock trolley, which comprises the following steps of after receiving an answer result of a target user replying information to be answered:
receiving an answer result replied by the target user about the information to be answered based on the alarm clock trolley, and numbering the answer result;
searching a standard answer to the question corresponding to the information to be answered from a preset answer library according to the numbered answer result;
according to a preset static data consistency detection method, carrying out consistency verification on the answer result and the standard answer to the question;
if the answer result is consistent with the standard answer to the question, the operation of solving the question is finished;
otherwise, the alarm clock trolley receives the answer result of the target user replying the information to be answered again until the answer result is consistent with the standard answer to the question.
In this embodiment, the static data consistency detection method refers to that the tested data is not operated, and the consistency of the data is checked only by analyzing or checking the syntax, structure, process, interface, and the like of the source program.
The beneficial effects of the above technical scheme are: receiving the answer result of the target user, numbering the answer result of the target user, searching the standard answer corresponding to the question to be answered from the preset database, verifying the consistency of the target user and the standard answer by a detection method, ensuring the accuracy of the user in the answering process, and mobilizing the brain of the target user to run quickly after getting up so as to achieve the aim of waking.
The invention provides a method for waking up a user based on an alarm clock dolly, which controls whether to close an automatic tracking motion wake-up state of the alarm clock dolly, and comprises the following steps:
triggering the alarm clock trolley to stop awakening operation instructions based on the answer result is consistent with the standard answer to the question;
the alarm clock trolley controls the automatic tracking motion awakening mode to stop working according to the awakening stopping operation instruction;
otherwise, the alarm clock trolley continuously keeps the automatic tracking motion awakening state.
The beneficial effects of the above technical scheme are: the awakening function of the alarm clock trolley is turned off only when the answer is correct, the necessity of thinking the question of the target user is mobilized, and the purpose of enabling the target user to be awake quickly is achieved.
The invention provides a method for waking up a user based on an alarm clock dolly, wherein in the process of transmitting target transmission information to the alarm clock dolly, the method comprises the following steps: acquiring data to be transmitted, and counting the total amount of the data to be transmitted;
dividing the data to be transmitted into G batches based on a preset transmission cycle, a batch upper limit and a data volume upper limit of each batch of data, packaging the data of the G batches to obtain a source data packet, and transmitting the source data packet;
calculating a data loss value of the source data packet in the transmission link according to the following formula:
Figure 699086DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 428007DEST_PATH_IMAGE002
representing a data loss value of the source packet in a transmission link;
Figure 37980DEST_PATH_IMAGE003
representing the packet loss rate of the source packet in a transmission link;
Figure 535958DEST_PATH_IMAGE004
representing the total number of batches of the source packets;
Figure 573184DEST_PATH_IMAGE005
the number of the current batches of the source packets is represented, and the value range is [1,
Figure 540134DEST_PATH_IMAGE004
];
Figure 422639DEST_PATH_IMAGE006
is shown as
Figure 40703DEST_PATH_IMAGE005
The total amount of data contained in the source packets is batched;
Figure 248830DEST_PATH_IMAGE007
representing the transmission bandwidth needed by the source packet in the transmission process;
Figure 952344DEST_PATH_IMAGE008
represents a maximum transmission bandwidth provided by the transmission link;
comparing the calculated data loss value with a preset loss value;
if the loss value is larger than a preset loss value, judging that the data is seriously lost and the transmission fails, repacking the source data packet, and performing guide transmission again;
otherwise, calculating the transmission efficiency of the source packet in the transmission link according to the following formula:
Figure 904119DEST_PATH_IMAGE009
;
wherein the content of the first and second substances,
Figure 376689DEST_PATH_IMAGE010
representing the transmission efficiency of the source data packet in the transmission link, and the value range is [0, 1 ];
Figure 755718DEST_PATH_IMAGE011
the roll-off coefficient of the source packet during transmission in the transmission link is represented, and the value range is [0.2.0.8 ]];
Figure 680948DEST_PATH_IMAGE012
Indicating the period of transmission of the source data packet in the transmission link;
Figure 170835DEST_PATH_IMAGE013
representing the transmission rate of the source data packet in the transmission link;
Figure 514223DEST_PATH_IMAGE014
represents a maximum transmission rate allowed by the transmission link;
Figure 798574DEST_PATH_IMAGE002
representing a data loss value of the source packet in a transmission link;
Figure 476680DEST_PATH_IMAGE015
the total amount of data received by the alarm clock trolley is represented;
Figure 770258DEST_PATH_IMAGE016
representing the total amount of data in the source packet;
calling a reference transmission efficiency and transmission effect grade corresponding table according to the transmission efficiency, and inquiring the transmission effect grade corresponding to the transmission effect according to the corresponding table;
the transmission effect is graded into three levels, including: poor, good and excellent;
and if the transmission effect grade corresponding to the transmission efficiency is poor, calling auxiliary transmission data packet auxiliary source data in the transmission link for transmission, and improving the transmission efficiency.
In this embodiment, the packet loss rate refers to the ratio of the number of lost packets to the number of transmitted packets in the test.
In this embodiment, the transmission bandwidth refers to a data transmission capability for identifying signal transmission, and an amount of data passing through the transmission link per unit time.
In this embodiment, the roll-off coefficient refers to a ratio of a required bandwidth to a symbol transmission rate under the condition of no inter-symbol interference.
The beneficial effects of the above technical scheme are: acquiring data to be transmitted, counting the total amount of the transmitted data, performing batch packaging transmission on the data to be transmitted, calculating a data loss value in the transmission process, and calculating data transmission efficiency according to the data loss value; when calculating the data loss value, the method relates to the packet loss rate of data in the transmission process and the required transmission bandwidth, ensures the necessary conditions of transmission, ensures that the data loss value is more accurate when calculating, relates to the ratio of the data received by the alarm clock trolley to the total data volume when calculating the transmission efficiency, determines the effect of data receiving degree, simultaneously relates to the transmission rate of the data in the transmission link, ensures that the data can be efficiently transmitted in the link, ensures that the normal work of the alarm clock trolley is not influenced by the excessive data loss in the transmission process, compares the transmission efficiency with the corresponding grade of the preset transmission efficiency, and if the transmission efficiency is lower than the preset transmission standard, performs auxiliary transmission through an auxiliary transmission data packet, ensures that the data smoothly reaches the receiving end of the alarm clock trolley, and improves the data transmission effect.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (6)

1. A method for waking up a user based on an alarm clock dolly is characterized by comprising the following steps:
receiving target wake-up time input by a target user based on an alarm clock dolly;
when the target wake-up time is reached, triggering a wake-up function of the alarm clock trolley and controlling the alarm clock trolley to be in an automatic tracking motion wake-up state;
meanwhile, outputting information to be answered based on the alarm clock trolley, and receiving an answer result replied by the target user about the information to be answered to control whether an automatic tracking motion awakening state of the alarm clock trolley is closed;
before the alarm clock dolly outputs the information to be answered, include:
the alarm clock trolley and the target user mobile terminal are in communication connection, and a transmission link is constructed;
based on the transmission link, the alarm clock trolley sends a data receiving instruction to the target user mobile terminal, and after the target user mobile terminal receives the instruction, the arithmetic questions to be sent by the target user mobile terminal are converted into a target sequence through a data conversion library in the transmission link, and the target sequence is subjected to error correction coding to obtain a target coding sequence;
the target coding sequence comprises K pieces of arithmetic problem information, and the K pieces of arithmetic problem information in the target coding sequence are converted into corresponding waveform signals through a data conversion library in the transmission link;
based on the waveform signal, a modulation waveform signal is called from a preset database, the waveform signal and the modulation waveform signal are multiplied to obtain target transmission information, and the target transmission information is transmitted to the alarm clock trolley;
the alarm clock trolley converts the target transmission information into primary binary data and stores the primary binary data in an arithmetic database;
after the alarm clock trolley receives an instruction of outputting information to be answered, randomly calling primary binary data corresponding to a target arithmetic question from the arithmetic question bank, and inputting a preset arithmetic conversion model to convert the primary binary data into an arithmetic expression;
wherein, the arithmetic expression is the output information to be answered;
the process that the target transmission information is transmitted to the alarm clock trolley comprises the following steps: acquiring data to be transmitted, and counting the total amount of the data to be transmitted;
dividing the data to be transmitted into G batches based on a preset transmission cycle, a batch upper limit and a data volume upper limit of each batch of data, packaging the data of the G batches to obtain a source data packet, and transmitting the source data packet;
calculating a data loss value of the source data packet in the transmission link according to the following formula:
Figure DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 803890DEST_PATH_IMAGE002
representing a data loss value of the source packet in a transmission link;
Figure DEST_PATH_IMAGE003
representing the packet loss rate of the source packet in a transmission link;
Figure 87104DEST_PATH_IMAGE004
representing the total number of batches of the source packets;
Figure DEST_PATH_IMAGE005
the number of the current batches of the source packets is represented, and the value range is [1,
Figure 503042DEST_PATH_IMAGE004
];
Figure 504496DEST_PATH_IMAGE006
is shown as
Figure 703396DEST_PATH_IMAGE005
The total amount of data contained in the source packets is batched;
Figure DEST_PATH_IMAGE007
representing the transmission bandwidth needed by the source packet in the transmission process;
Figure 215018DEST_PATH_IMAGE008
represents a maximum transmission bandwidth provided by the transmission link;
comparing the calculated data loss value with a preset loss value;
if the loss value is larger than a preset loss value, judging that the data is seriously lost and the transmission fails, repacking the source data packet, and performing guide transmission again;
otherwise, calculating the transmission efficiency of the source packet in the transmission link according to the following formula:
Figure DEST_PATH_IMAGE009
;
wherein the content of the first and second substances,
Figure 677223DEST_PATH_IMAGE010
representing the transmission efficiency of the source data packet in the transmission link, and the value range is [0, 1 ];
Figure DEST_PATH_IMAGE011
the roll-off coefficient of the source packet during transmission in the transmission link is represented, and the value range is [0.2.0.8 ]];
Figure 25028DEST_PATH_IMAGE012
Indicating the period of transmission of the source data packet in the transmission link;
Figure DEST_PATH_IMAGE013
representing the transmission rate of the source data packet in the transmission link;
Figure 496461DEST_PATH_IMAGE014
represents a maximum transmission rate allowed by the transmission link;
Figure 754267DEST_PATH_IMAGE002
representing a data loss value of the source packet in a transmission link;
Figure DEST_PATH_IMAGE015
the total amount of data received by the alarm clock trolley is represented;
Figure 590636DEST_PATH_IMAGE016
representing the total amount of data in the source packet;
calling a reference transmission efficiency and transmission effect grade corresponding table according to the transmission efficiency, and inquiring the transmission effect grade corresponding to the transmission effect according to the corresponding table;
the transmission effect is graded into three levels, including: poor, good and excellent;
and if the transmission effect grade corresponding to the transmission efficiency is poor, calling auxiliary transmission data packet auxiliary source data in the transmission link for transmission, and improving the transmission efficiency.
2. The method for waking up a user based on a small car with alarm clock as claimed in claim 1, wherein receiving a target wake-up time inputted by a target user comprises:
the method comprises the steps of obtaining sleeping time of a target user, determining current state values of N adjusting factors influencing alarm clock time, determining time adjusting values of corresponding adjusting factors according to the current state values, and obtaining an adjusting weight of each adjusting factor;
calculating an adjustment reference value of the alarm clock timing time based on the adjustment weight value and the time adjustment value of each adjustment factor;
and when the adjusting reference value is not 0, determining the alarm clock trolley target awakening time according to the adjusting reference value.
3. The method for waking up a user based on an alarm clock dolly as claimed in claim 1, wherein the process of triggering the wake-up function of the alarm clock dolly comprises:
when the time difference between the current system time of the alarm clock trolley and the target awakening time input by the target user is detected to reach the preset time length, the awakening function in the alarm clock trolley enters a state to be triggered;
when the alarm clock trolley is in the state to be triggered, detecting a current life scene, and acquiring an awakening mode matched with the current life scene;
and based on the matched wake-up mode, when the current system time of the alarm clock trolley is completely the same as the target wake-up time input by the target user, the matched wake-up mode enters a wake-up state.
4. The method for waking up a user based on an alarm clock dolly of claim 1, wherein when the alarm clock dolly is in a tracking motion wake-up state, the method comprises:
based on the alarm clock trolley, transmitting an ultrasonic signal to a forward road, and detecting feedback information according to the ultrasonic signal to judge whether an obstacle blocks the forward direction of the alarm clock trolley;
if the barrier blocks in the advancing direction, a coordinate system is established based on the road environment image, the current position of the alarm clock trolley is obtained, and the coordinate of the barrier on the advancing road in the coordinate system is obtained;
constructing M movement path curves according to the current position of the alarm clock trolley and the coordinates of the obstacle in a coordinate system, and selecting a target path curve which can avoid the obstacle from the M movement path curves;
simultaneously, selecting F path points near the obstacle in the target path curve;
based on a preset function library, calling a space loss function, and calculating a loss value of the target path curve, wherein the loss value of the target path curve is smaller than a preset threshold value;
meanwhile, based on a preset coordinate adjustment method and the width of the alarm clock trolley, the distance between the point closest to the obstacle in the F path points and the obstacle is obtained;
calculating the distance between the alarm clock trolley and the obstacle on the advancing road according to the width of the alarm clock trolley and the distance between the point closest to the obstacle and the obstacle;
if the distance is smaller than a preset safety distance, adjusting the coordinate values of the F path points according to the preset coordinate adjustment method until the distance is larger than or equal to the preset safety distance to obtain an optimal path curve;
the optimal path curve loss value is also smaller than a preset threshold value;
and controlling the alarm clock trolley to finish automatic obstacle avoidance based on the optimal path curve.
5. The method for waking up a user based on a small alarm clock car as claimed in claim 3, wherein after receiving the answer result replied by the target user about the information to be answered, the method comprises:
receiving an answer result replied by the target user about the information to be answered based on the alarm clock trolley, and numbering the answer result;
searching a standard answer to the question corresponding to the information to be answered from a preset answer library according to the numbered answer result;
according to a preset static data consistency detection method, carrying out consistency verification on the answer result and the standard answer to the question;
if the answer result is consistent with the standard answer to the question, the operation of solving the question is finished;
otherwise, the alarm clock trolley receives the answer result of the target user replying the information to be answered again until the answer result is consistent with the standard answer to the question.
6. The method of claim 5, wherein controlling whether to turn off the auto-tracking motion wake-up state of the alarm clock cart comprises:
triggering the alarm clock trolley to stop awakening operation instructions based on the answer result is consistent with the standard answer to the question;
the alarm clock trolley controls the automatic tracking motion awakening mode to stop working according to the awakening stopping operation instruction;
otherwise, the alarm clock trolley continuously keeps the automatic tracking motion awakening state.
CN202011287107.0A 2020-11-17 2020-11-17 Method for waking up user based on alarm clock trolley Active CN112486011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011287107.0A CN112486011B (en) 2020-11-17 2020-11-17 Method for waking up user based on alarm clock trolley

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011287107.0A CN112486011B (en) 2020-11-17 2020-11-17 Method for waking up user based on alarm clock trolley

Publications (2)

Publication Number Publication Date
CN112486011A CN112486011A (en) 2021-03-12
CN112486011B true CN112486011B (en) 2021-09-14

Family

ID=74931010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011287107.0A Active CN112486011B (en) 2020-11-17 2020-11-17 Method for waking up user based on alarm clock trolley

Country Status (1)

Country Link
CN (1) CN112486011B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007155450A (en) * 2005-12-02 2007-06-21 Cdg Co Ltd Alarm clock
CN201097158Y (en) * 2007-10-23 2008-08-06 陈建铭 Luminescent mobile alarm clock device
CN201616005U (en) * 2009-12-29 2010-10-27 复旦大学附属中学 Alarm clock
CN103645629A (en) * 2013-10-28 2014-03-19 三星电子(中国)研发中心 Alarm clock timing method
CN106597836A (en) * 2016-12-15 2017-04-26 东莞市北扬工业设计有限公司 Movable novel intelligent alarm clock
CN110216670A (en) * 2019-04-30 2019-09-10 武汉理工大学 A kind of industrial robot automatic obstacle-avoiding method and device based on loss field
CN111526244A (en) * 2020-04-02 2020-08-11 维沃移动通信有限公司 Alarm clock processing method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004041329A (en) * 2002-07-09 2004-02-12 Takara Co Ltd Communication toy with timer function
US7751284B2 (en) * 2005-07-06 2010-07-06 Edison Nation, Llc Self-moving alarm clock
US7355928B2 (en) * 2005-08-11 2008-04-08 Massachusetts Institute Of Technology Mobile wakeup device
JP3138950U (en) * 2007-11-09 2008-01-24 陳建銘 Alarm Clock
CN201278095Y (en) * 2008-06-10 2009-07-22 东莞宝隆电子有限公司 New-type alarm clock
CN202306195U (en) * 2011-09-26 2012-07-04 赵延涛 Rolling alarm clock

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007155450A (en) * 2005-12-02 2007-06-21 Cdg Co Ltd Alarm clock
CN201097158Y (en) * 2007-10-23 2008-08-06 陈建铭 Luminescent mobile alarm clock device
CN201616005U (en) * 2009-12-29 2010-10-27 复旦大学附属中学 Alarm clock
CN103645629A (en) * 2013-10-28 2014-03-19 三星电子(中国)研发中心 Alarm clock timing method
CN106597836A (en) * 2016-12-15 2017-04-26 东莞市北扬工业设计有限公司 Movable novel intelligent alarm clock
CN110216670A (en) * 2019-04-30 2019-09-10 武汉理工大学 A kind of industrial robot automatic obstacle-avoiding method and device based on loss field
CN111526244A (en) * 2020-04-02 2020-08-11 维沃移动通信有限公司 Alarm clock processing method and electronic equipment

Also Published As

Publication number Publication date
CN112486011A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN106921700B (en) Method, device and system for safety prejudgment according to characteristic information
US9691255B2 (en) Control device, and control system
CN107864071A (en) A kind of dynamic measuring method, apparatus and system towards active safety
CN109920192A (en) Fire alarm method, system and computer readable storage medium
EP4114044A1 (en) Electronic device positioning method and apparatus, and server, system and storage medium
US20200391766A1 (en) Multi-mode communication method for autonomous transport system of mining vehicle and apparatus thereof
CN104078041A (en) Voice recognition method and system
US20160282445A1 (en) Position information acquisition system, terminal, and method
CN104732465A (en) Method, device and system for monitoring learning state of student
CN104771177A (en) Tumble detection system and method based on machine learning
CN109765552A (en) It is a kind of that detection method and system are fallen down based on radar system and robot
US20230237699A1 (en) Method and system for itelligently controlling children's usage of screen terminal
CN116608917B (en) Gas ultrasonic metering instrument metering anti-interference method and intelligent gas Internet of things system
CN110022529B (en) Method and device for counting number of people in target area based on two sensing modes
Kozlowski et al. Energy efficiency in reinforcement learning for wireless sensor networks
CN112486011B (en) Method for waking up user based on alarm clock trolley
CN110781961B (en) Accurate behavior recognition method based on decision tree classification algorithm
KR20160004851A (en) A Control Station Utilizing User's State Information Provided by a Mobile Device and a Control System Including the Same
CN108376566A (en) Method for predicting occurrence probability of muscle spasm and wearable device
CN108489049A (en) Infrared detection distance method, air conditioner and the computer storage media of air conditioner
Zhu Exploring the role of sports APP in (campus fitness) intelligent solutions using data fusion algorithm and internet of things
Thitinaruemit et al. Design and implementation of decisioning system for wifi access point installation using genetic algorithm
CN113971873A (en) Dangerous chemical substance detection method and device based on wireless sensor network and storage medium
CN104879891A (en) Gas analysis adjustment method, related devices and system
CN113766288B (en) Electric quantity prompting method, device and computer readable storage medium

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