Method, device and storage medium for controlling a luggage case
By receiving user commands, the system controls the rotation of the suitcase wheels and the activation of the warning devices, solving the problem of carrying luggage and improving the utilization rate of the suitcase.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- WUHU AUTOMOBILE ADVANCED TECHNOLOGY INSTITUTE
- Filing Date
- 2026-05-06
- Publication Date
- 2026-06-09
Smart Images

Figure CN122163036A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle control technology, and in particular to a control method, device and storage medium for a suitcase. Background Technology
[0002] As living standards improve, the frequency of holiday travel is gradually increasing. During holiday trips, suitcases, being frequently used items, can be inconvenient to carry due to their weight. Furthermore, in daily driving, using the car's trunk solely for storage reduces its utilization rate. Therefore, how to address the inconvenience caused by carrying suitcases while simultaneously increasing their usability is a problem that needs to be solved. Summary of the Invention
[0003] This application provides a method, apparatus, and storage medium for controlling a suitcase, which can improve the utilization of suitcases while solving the inconvenience caused to users. The technical solution is as follows: On one hand, embodiments of this application provide a method for controlling a suitcase, the method comprising: In response to receiving a luggage movement alert, obtain the target movement location of the luggage; The number of rotations to be determined by the wheel size of the suitcase and the target moving position, wherein the wheel includes a drive wheel and a swivel wheel; The initial orientation of the drive wheel is finely adjusted based on the target moving position; Control the drive wheel to start rotating in the first direction with the initial orientation, and control the buzzer and light alarm on the suitcase to start working; In response to the number of revolutions performed by the drive wheel reaching the number of revolutions the wheel needs to rotate, a first interval distance between the suitcase and the target moving position is obtained; In response to the first interval distance being lower than a first distance threshold, the drive wheels are locked and the warning sign on the suitcase is deployed.
[0004] On the other hand, a suitcase is provided, the suitcase including wheels, a buzzer, a light alarm, a warning sign, an infrared transmitter, a first infrared receiver, a second infrared receiver, and a suitcase control device, the suitcase control device being used to execute any of the above-described suitcase control methods.
[0005] On the other hand, a non-transitory computer-readable storage medium is also provided, characterized in that the computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement any of the above-described suitcase control methods.
[0006] On the other hand, a computer program product is also provided, the computer program product including computer instructions, which, when executed by a processor, implement the steps of any of the above-described luggage control methods.
[0007] The technical solution provided in this application brings at least the following beneficial effects: This application, upon receiving a luggage movement warning command from a user, obtains the target movement distance of the luggage and determines the number of wheel rotations required based on the luggage's wheel size. It then fine-tunes the initial orientation of the drive wheels according to the target movement position and controls the drive wheels to rotate in a first direction from the initial orientation, while simultaneously activating the buzzer and light alarm on the luggage. The number of rotations performed by the drive wheels is counted; if the number of rotations reaches the required number of wheel rotations, a first distance between the luggage and the target movement position is obtained. If the first distance is lower than a first distance threshold, the drive wheels are locked and the warning sign on the luggage unfolds. This expands the function of the luggage as a moving warning sign and enhances its utilization scenarios. Attached Figure Description
[0008] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0009] Figure 1 This is a schematic diagram of an implementation environment provided in an embodiment of this application; Figure 2 This is a flowchart of a luggage control method provided in an embodiment of this application; Figure 3 This is a structural schematic diagram of a suitcase provided in an embodiment of this application. Detailed Implementation
[0010] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0011] This application provides a method for controlling a suitcase, referencing... Figure 1The diagram illustrates the implementation environment of the method provided in this application embodiment. This implementation environment may include: a trunk control device 11, a center console display screen 12, an in-vehicle voice device 13, a TBOX (Telematics Box) 14, an angle detector 15, an infrared transmitter 16, a first infrared receiver 17, a second infrared receiver 18, a drive wheel motor 19, a buzzer 20, a light alarm 21, and a motor 22 corresponding to a warning sign.
[0012] Optionally, the display screen 12 on the center console and the in-vehicle voice device 13 are used to receive control commands issued by the user and information confirming the default warning function for opening the trunk, and send them to the TBOX 14, which in turn sends them to the trunk control device 11; the display screen 12 on the center console is also used to receive warning points in the in-vehicle map confirmed by the user and the target moving distance and direction of the trunk entered by the user, and send them to the TBOX 14, which in turn sends them to the trunk control device 11; the display screen 12 on the center console is also used to receive instructions from the trunk control device 11 prompting the user to remove the trunk.
[0013] For example, the angle detector 15 is used to monitor whether the suitcase is traveling in a straight line, and to provide a prompt through the input panel on the suitcase when the suitcase is not traveling in a straight line; the infrared transmitter 16 is installed on the central axis of the suitcase, and is used to receive instructions from the suitcase control device 11 to emit infrared rays, emit infrared rays in the direction of the signal source, and send the time of infrared emitting to the suitcase control device 11.
[0014] Optionally, the first infrared receiver 17 and the second infrared receiver 18 are symmetrically distributed on both sides of the central axis of the suitcase; the first infrared receiver 17 is used to receive the first reflected signal and the first reflected signal in the direction of the signal source location, and sends the phase of the received reflected signal and the time point of receiving the reflected signal to the suitcase control device 11; the second infrared receiver 18 is used to receive the second reflected signal and the second reflected signal in the direction of the signal source location, and sends the phase of the received reflected signal and the time point of receiving the reflected signal to the suitcase control device 11.
[0015] In one possible implementation, the motor 19 of the drive wheel is used to receive instructions from the luggage control device 11 to fine-tune the initial orientation of the drive wheel, control the drive wheel to start rotating in a first direction with the initial orientation, control the drive wheel to gradually decelerate until it stops, control the brake pads to press against the brake surface of the drive wheel, control the drive wheel to start rotating in a second direction in the opposite direction of the initial orientation, and adjust the drive wheel of the luggage to the direction of the user's movement and control the luggage to move at the speed of the user's movement.
[0016] For example, the motor 22 corresponding to the warning sign is used to receive instructions from the trunk control device 11, and controls the opening and closing of the warning sign by controlling the opening and closing of the corresponding rotating shaft; the buzzer 20 and the light alarm 21 are used to receive instructions from the trunk control device 11 to enter or exit the alarm state, and in the alarm state, the buzzer 20 emits an alarm sound and the light alarm 21 emits a bright flashing light. The trunk control device 11, the center console display screen 12, the vehicle voice device 13, the TBOX 14, the angle detector 15, the infrared transmitter 16, the first infrared receiver 17, the second infrared receiver 18, the drive wheel motor 19, the buzzer 20, the light alarm 21, and the motor 22 corresponding to the warning sign establish a communication connection through a wired or wireless network.
[0017] Based on the above Figure 1 The implementation environment shown in this application provides a method for controlling a suitcase. Figure 2 As shown, taking the application of this method to a luggage control device as an example, the method includes steps 201-206.
[0018] In step 201, in response to receiving a luggage movement warning command, the luggage control device obtains the target movement position of the luggage.
[0019] Optionally, the user can issue control commands to the trunk control device, including but not limited to trunk movement warning commands, trunk retraction commands, and trunk follow commands. For example, the methods by which the user issues control commands to the trunk control device include, but are not limited to: the user manually selecting a control command on the center console display screen or issuing a voice control command to the in-vehicle voice device; the center console display screen or the in-vehicle voice device then sends the control command to the TBOX, which in turn sends it to the trunk control device.
[0020] In one possible implementation, in response to receiving a trunk movement warning command, the trunk control device acquires the target movement position of the trunk, including: one of the following: in response to receiving information that the user confirms the default warning function of opening the trunk, setting a preset distance behind the vehicle in the lane where the target vehicle is located as the target movement position; and in response to receiving information that the user confirms the selection of a point in the vehicle map as a warning point, setting the warning point as the target movement position; and in response to receiving the target movement distance and target movement direction of the trunk input by the user, setting a position along the target movement direction and a distance from the vehicle's target movement distance as the target movement position.
[0021] For example, after issuing a trunk movement warning command, the user can confirm the activation of the default trunk warning function via the center console display or the in-vehicle voice device; confirm the selection of a point on the in-vehicle map as the warning point via the center console display; or set the target trunk movement position by inputting the target movement distance and direction via the center console display. In one possible implementation, the center console display or the in-vehicle voice device sends the information confirming the activation of the default trunk warning function to the TBOX, which then sends it to the trunk control device.
[0022] In one possible implementation, the suitcase includes an input panel, through which the user can directly issue control commands, confirm the activation of the suitcase's default warning function, or input the target movement distance and direction. Exemplarily, the suitcase also includes a battery, a counterweight, and an angle detector. The battery powers the motors of the suitcase's drive wheels, the motor corresponding to the warning sign, the buzzer, and the light alarm. The counterweight increases the suitcase's balance, preventing it from tipping over during movement or unfolding. The angle detector monitors whether the suitcase is traveling in a straight line and provides a prompt via the input panel if the suitcase is not traveling in a straight line.
[0023] Optionally, after receiving a luggage compartment movement warning command, the luggage compartment control device obtains the target movement position of the luggage compartment, including: if it receives information that the user confirms the activation of the default warning function of the luggage compartment, setting a preset distance behind the vehicle in the lane where the target vehicle is located as the target movement position; if it receives information that the user confirms the selection of a point in the vehicle map as a warning point, setting the warning point as the target movement position; if it receives the target movement distance and target movement direction of the luggage compartment input by the user, setting the position along the target movement direction and the target movement distance from the vehicle as the target movement position.
[0024] For example, the preset distance can be set based on experience. When the default warning function confirms that the user has opened the trunk is received, the lane where the target vehicle is located is determined according to the in-vehicle map, and then the preset distance behind the vehicle in the lane where the target vehicle is located is set as the target moving position.
[0025] In one possible implementation, the in-vehicle map is generated and updated in real time based on the in-vehicle navigation system; if the system receives information that the user has confirmed the default warning function to open the trunk, but there is an obstacle at a preset distance behind the vehicle in the lane where the target vehicle is located, or if the system receives the user's input of the target movement distance and direction of the trunk, but there is an obstacle at the position of the target movement direction from the target movement distance of the vehicle, the system prompts the user to adjust the target movement position of the trunk through the large screen on the center console.
[0026] In step 202, the luggage control device determines the number of rotations of the wheels based on the size of the luggage wheels and the target moving position. The wheels include drive wheels and swivel wheels.
[0027] Optionally, after determining the target moving position of the suitcase, the suitcase control device determines the number of rotations of the wheels based on the wheel size and the target moving position of the suitcase. The wheels include drive wheels and swivel wheels, and each drive wheel contains a motor and a brake pad.
[0028] In one possible implementation, taking the wheel size of the suitcase as the wheel radius as an example, the suitcase control device determines the number of wheel rotations to be performed based on the wheel size of the suitcase and the target moving position. This includes: the suitcase control device calculates the wheel circumference of the suitcase based on the wheel radius, then calculates the distance between the vehicle and the target moving position divided by the wheel circumference of the suitcase as a first calculation result, rounds the first calculation result to the nearest integer, and uses the second calculation result as the number of wheel rotations to be performed.
[0029] In step 203, the luggage control device fine-tunes the initial orientation of the drive wheels based on the target movement position.
[0030] For example, after determining the target moving position of the luggage compartment, fine-tuning the initial orientation of the drive wheels based on the target moving position includes: controlling an infrared transmitter on the luggage compartment to emit infrared rays; calculating the phase difference between the phase of a first reflected signal received by a first infrared receiver on the luggage compartment and the phase of a second reflected signal received by a second infrared receiver on the luggage compartment; calculating a first angle between a line connecting a preset point on the vehicle's centerline and the center point of the luggage compartment, and the line connecting the preset point and the target moving position, based on the phase difference; and fine-tuning the initial orientation of the drive wheels until the first angle is less than the angle threshold in response to the first angle being greater than the angle threshold.
[0031] In one possible implementation, an infrared transmitter is installed on the central axis of the trunk, and a first infrared receiver and a second infrared receiver are symmetrically distributed on both sides of the central axis of the trunk. Taking a preset point on the central axis of the vehicle as the point at the rear of the central axis of the vehicle as an example, the trunk control device controls the infrared transmitter on the trunk to emit infrared rays.
[0032] Optionally, after the first infrared receiver receives the first reflected signal and the second infrared receiver receives the second reflected signal, the trunk control device calculates the phase difference between the phase of the first reflected signal and the phase of the second reflected signal, and then calculates the second included angle between the line connecting the preset point on the vehicle's centerline and the center point of the trunk, and the vehicle's centerline, based on the phase difference, including:
[0033] The second included angle; This is the phase difference value; λ is the infrared wavelength; D is the distance between the first infrared receiver and the second infrared receiver.
[0034] For example, after calculating the second included angle, a third included angle is calculated between the line connecting the preset point on the vehicle's centerline and the target moving position and the vehicle's centerline, based on the target moving position. After calculating the second and third included angles, the difference between the second and third included angles is calculated, and the difference between the second and third included angles is used as the first included angle.
[0035] In one possible implementation, after calculating the first included angle, the first included angle is compared with an included angle threshold. If the first included angle is greater than the included angle threshold, the luggage compartment control device fine-tunes the initial orientation of the drive wheel until the first included angle is less than the included angle threshold. This includes: the luggage compartment control device fine-tunes the initial orientation of the drive wheel via the drive wheel motor, and continuously monitors the size of the first included angle during the fine-tuning process. When the first included angle is less than the included angle threshold, the adjustment of the drive wheel orientation is stopped. The included angle threshold can be set empirically.
[0036] In step 204, the luggage control device controls the drive wheel to start rotating in the first direction with the initial orientation, and controls the buzzer and light alarm on the luggage to start working.
[0037] Optionally, after adjusting the initial orientation of the drive wheels, the trunk control device controls the drive wheels to rotate in a first direction, with the drive wheels rotating in the initial orientation. The first direction is the direction in which the trunk moves away from the vehicle. The trunk's speed is a preset speed, which can be set empirically. For example, while the drive wheels begin rotating in the first direction, the trunk control device also activates a buzzer and a light alarm on the trunk, including: the buzzer emitting an alarm sound and the light alarm flashing a bright light.
[0038] In step 205, in response to the number of revolutions performed by the drive wheel reaching the number of revolutions the wheel needs to rotate, the luggage control device obtains the first interval distance between the luggage and the target moving position.
[0039] For example, during the process of the luggage's drive wheel starting to rotate in a first direction with an initial orientation, the number of revolutions performed by the drive wheel is monitored at second preset time intervals, and the number of revolutions performed by the drive wheel is compared with the number of rotations the wheel needs to complete. The second preset time interval can be set based on experience.
[0040] In one possible implementation, if the number of revolutions performed by the drive wheel reaches the number of revolutions the wheel needs to rotate, the luggage compartment control device obtains the first interval distance between the luggage compartment and the target moving position; if the number of revolutions performed by the drive wheel does not reach the number of revolutions the wheel needs to rotate, the infrared transmitter on the luggage compartment is controlled to emit infrared light; the current first included angle is calculated in the same way, and if the current first included angle is greater than the included angle threshold, the current orientation of the drive wheel is fine-tuned until the first included angle is less than the included angle threshold.
[0041] Optionally, the luggage compartment control device obtains a first distance between the luggage compartment and the target moving position, including: calculating an average duration based on the duration from the infrared transmitter on the luggage compartment currently emitting infrared light to the first infrared receiver receiving the first reflected signal, and the duration from the infrared transmitter on the luggage compartment currently emitting infrared light to the second infrared receiver on the luggage compartment receiving the second reflected signal; calculating a second distance between the luggage compartment and the vehicle based on the average duration; determining the current position of the luggage compartment based on the second distance, the direction of the first reflected signal, and the direction of the second reflected signal; and calculating the first distance based on the current position of the luggage compartment and the target moving position.
[0042] In step 206, in response to the first interval distance being lower than the first distance threshold, the luggage control device controls the drive wheels to lock and the luggage warning sign to unfold.
[0043] For example, after calculating the current first interval distance, the first interval distance is compared with a first distance threshold. If the first interval distance is lower than the first distance threshold, the luggage control device controls the drive wheel to lock and the luggage warning sign to unfold. This includes: the luggage control device controls the drive wheel to gradually decelerate until it stops through the motor of the drive wheel, and then controls the brake pads to press against the brake surface of the drive wheel through the motor of the drive wheel to lock the drive wheel; the luggage control device then controls the corresponding shaft of the warning sign to unfold through the motor corresponding to the warning sign.
[0044] In one possible implementation, the warning sign can be folded and stored on the vehicle body within the trunk, serving as a platform for the storage compartment. The warning sign includes clips and straps for securing the storage compartment or other items. Optionally, upon receiving a trunk movement warning command, the trunk control device needs to detect whether a storage compartment or other item is on the warning sign; if a storage compartment is present, the user is prompted to remove it via the center console display screen. For example, the presence of a storage compartment on the warning sign can be detected using a pressure sensor built into the sign.
[0045] Optionally, after the warning sign in the trunk is deployed, in response to receiving a trunk retraction command, the warning sign is retracted and the drive wheels begin to rotate in a second direction in the opposite direction to the initial orientation, the second direction being the opposite of the first direction; a second distance between the trunk and the vehicle is obtained; in response to the second distance being lower than a second distance threshold, the buzzer and light alarm are stopped and the drive wheels are locked, the second distance threshold being greater than the first distance threshold.
[0046] For example, if a luggage retraction command is received, the luggage control device controls the shaft corresponding to the warning sign to retract via the motor corresponding to the warning sign; and controls the drive wheel to start rotating in the second direction in the opposite direction of the initial orientation via the motor of the drive wheel, wherein the second direction is the opposite direction of the first direction.
[0047] In one possible implementation, as the drive wheels begin to rotate in the second direction in the opposite direction to their initial orientation, a second distance between the trunk and the vehicle is calculated based on the current average duration. This second distance is compared to a second distance threshold. If the second distance is lower than the second distance threshold, the trunk control device stops the buzzer and lights on the trunk, and uses a motor to control the brake pads to press against the brake surfaces of the drive wheels, thus locking the drive wheels. Optionally, the second distance threshold is set empirically, and must be greater than a first distance threshold; the trunk's travel speed is a preset speed.
[0048] For example, in response to receiving a suitcase follow instruction, the user's location is obtained at first preset intervals; the user's direction of movement and speed of movement are determined based on the user's location obtained in adjacent intervals; and the suitcase is controlled to move along the direction of movement and at the speed of movement.
[0049] Optionally, if a luggage follow instruction is received, the luggage control device receives the location of the signal source sent by the user every third preset time interval, and determines the user's direction and speed of movement based on the signal source locations obtained in adjacent intervals. Then, it adjusts the luggage's drive wheels to the user's direction of movement via the drive wheel motor and controls the luggage to move at the user's speed. In one possible implementation, the orientation and speed of the luggage's drive wheels are adjusted in real time to follow the user's direction and speed of movement. For example, the third preset time interval can be set empirically.
[0050] In one possible implementation, after controlling the suitcase to move along the direction of movement and at the speed of movement, the infrared transmitter on the suitcase is controlled to emit infrared rays; the obstacle detection result of the suitcase is obtained based on the reception results of the first infrared receiver and the second infrared receiver on the suitcase, and the obstacle detection result is used to indicate whether there is an obstacle within a preset range around the suitcase; in response to obtaining the detection result that there is an obstacle within the preset range around the suitcase, the buzzer is controlled to start working; the location of the obstacle is determined based on the reception results of the first infrared receiver and the second infrared receiver; the orientation of the drive wheels is adjusted based on the location of the obstacle.
[0051] Optionally, during the movement of the luggage following the user, the luggage control device controls the infrared transmitter on the luggage to emit infrared rays, and obtains the obstacle detection results of the luggage based on the reception results of the first infrared receiver and the second infrared receiver on the luggage, including: calculating whether there are obstacles within a preset range around the luggage based on the duration of the first infrared receiver receiving the first reflected signal and the duration of the second infrared receiver receiving the second reflected signal.
[0052] For example, if the detection result of an obstacle within a preset range around the suitcase is obtained, the suitcase control device controls the buzzer on the suitcase to sound an alarm; the location of the obstacle is determined according to the direction of the first reflected signal received by the first infrared receiver and the direction of the second reflected signal received by the second infrared receiver, and the orientation of the drive wheels is adjusted according to the location of the obstacle, so that the suitcase avoids the obstacle and continues to follow the user.
[0053] In one possible implementation, as the luggage moves with the user, a third distance between the luggage and the user is obtained; in response to the third distance being greater than a third distance threshold, the drive wheels are locked, and a buzzer and a light alarm are activated, wherein the third distance threshold is greater than a first distance threshold.
[0054] Optionally, the luggage control device controls the infrared transmitter on the luggage to emit infrared rays in the direction of the signal source. Based on the time from when the infrared transmitter on the luggage emits infrared rays in the direction of the signal source to when the first infrared receiver receives the first reflected signal in the direction of the signal source, and the time from when the second infrared receiver receives the second reflected signal in the direction of the signal source, a second average duration is calculated. Based on the second average duration, a third distance between the luggage and the user's signal source is calculated.
[0055] For example, after calculating the third interval threshold, the third interval distance is compared with the third distance threshold. If the third interval distance is greater than the third distance threshold, the brake pads are pressed against the brake surface of the drive wheel by the motor, thereby locking the drive wheel; and the buzzer on the luggage compartment is controlled to sound an alarm and the light alarm to flash a bright light. In one possible implementation, the third distance threshold can be set empirically, and it needs to be greater than the first distance threshold.
[0056] This embodiment of the application, upon receiving a luggage movement warning command from a user, obtains the target movement distance of the luggage and determines the number of wheel rotations required based on the luggage's wheel size. It then fine-tunes the initial orientation of the drive wheels according to the target movement position and controls the drive wheels to rotate in a first direction from the initial orientation, while simultaneously activating the buzzer and light alarm on the luggage. The number of rotations performed by the drive wheels is counted; if the number of rotations reaches the required number of wheel rotations, a first distance between the luggage and the target movement position is obtained. If the first distance is lower than a first distance threshold, the drive wheels are locked and the warning sign on the luggage unfolds. This expands the function of the luggage as a movement warning sign and enhances its utilization scenarios.
[0057] This application provides a suitcase, which is used to... Figure 3 For example, the suitcase includes wheels 301, a buzzer 302, a light alarm 303, a warning sign 304, an infrared transmitter (not shown in the figure), a first infrared receiver (not shown in the figure), a second infrared receiver (not shown in the figure), a battery (not shown in the figure), a counterweight 305, an angle detector 306, a pivot 307, a vehicle body 308, and a suitcase control device (not shown in the figure). The suitcase control device includes a processor and a memory, used to execute any of the above-mentioned suitcase control methods.
[0058] After receiving a user's warning command about luggage movement, the system obtains the target movement distance of the luggage and determines the number of wheel rotations required based on the luggage's wheel size. It then fine-tunes the initial orientation of the drive wheels according to the target movement position and controls the drive wheels to rotate in the first direction from the initial orientation, while simultaneously activating the buzzer and lights on the luggage. The system counts the number of rotations performed by the drive wheels. If the number of rotations reaches the required number of wheel rotations, it obtains the first distance between the luggage and the target movement position. If the first distance is lower than a first distance threshold, it locks the drive wheels and deploys the warning sign on the luggage. This expands the luggage's function as a moving warning sign and enhances its usability.
[0059] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0060] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one computer program that is loaded and executed by a processor of a computer device to enable the computer to implement any of the above-described methods for controlling a suitcase.
[0061] In one possible implementation, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0062] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the above-described methods for controlling a suitcase.
[0063] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application are authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the target moving position of the suitcase, the wheel size of the suitcase, the initial orientation of the drive wheels, the number of revolutions performed by the drive wheels, the number of wheel rotations to be completed, and the first interval distance involved in this application were all obtained with full authorization.
[0064] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0065] It should be noted that the terms "first," "second," etc. (if applicable) in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0066] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A method for controlling a suitcase, characterized in that, The method includes: In response to receiving a luggage movement alert, obtain the target movement location of the luggage; The number of rotations to be determined by the wheel size of the suitcase and the target moving position, wherein the wheel includes a drive wheel and a swivel wheel; The initial orientation of the drive wheel is finely adjusted based on the target moving position; Control the drive wheel to start rotating in the first direction with the initial orientation, and control the buzzer and light alarm on the suitcase to start working; In response to the number of revolutions performed by the drive wheel reaching the number of revolutions the wheel needs to rotate, a first interval distance between the suitcase and the target moving position is obtained; In response to the first interval distance being lower than a first distance threshold, the drive wheels are locked and the warning sign on the suitcase is deployed.
2. The method according to claim 1, characterized in that, The acquisition of the target movement location of the suitcase includes one of the following: In response to receiving information that the user confirms the opening of the default warning function of the trunk, the target moving position is set at a preset distance behind the vehicle in the lane where the target vehicle is located; and In response to receiving information that the user confirms the selection of a point in the vehicle map as a warning point, the warning point is set as the target moving location; and In response to receiving the target moving distance and target moving direction of the suitcase input by the user, the position at the target moving distance from the vehicle along the target moving direction is set as the target moving position.
3. The method according to claim 1, characterized in that, The step of fine-tuning the initial orientation of the drive wheel based on the target moving position includes: Control the infrared transmitter on the suitcase to emit infrared rays; Calculate the phase difference between the phase of the first reflected signal received by the first infrared receiver on the suitcase and the phase of the second reflected signal received by the second infrared receiver on the suitcase; Based on the phase difference value, calculate the first included angle between the line connecting the preset point on the vehicle's centerline and the center point of the trunk, and the line connecting the preset point and the target moving position; In response to the first included angle being greater than the included angle threshold, the initial orientation of the drive wheel is finely adjusted until the first included angle is less than the included angle threshold.
4. The method according to claim 1, characterized in that, After the warning sign on the controlled suitcase unfolds, the method further includes: In response to receiving a luggage retraction command, the warning sign is retracted and the drive wheel begins to rotate in a second direction in the opposite direction to the initial orientation, the second direction being the opposite direction to the first direction; Obtain the second distance between the suitcase and the vehicle; In response to the second interval distance being lower than the second distance threshold, the buzzer and the light alarm are controlled to stop working and the drive wheel is locked, wherein the second distance threshold is greater than the first distance threshold.
5. The method according to claim 1, characterized in that, After receiving the user's control command, the method further includes: In response to receiving a luggage follow instruction, the user's location is obtained at first preset intervals; The direction and speed of the user's movement are determined based on the user's location obtained from adjacent counts. Control the suitcase to move along the direction of movement and at the speed of movement.
6. The method according to claim 5, characterized in that, After controlling the suitcase along the direction of movement and at the speed of movement, the method further includes: Control the infrared transmitter on the suitcase to emit infrared rays; Obstacle detection results of the suitcase are obtained based on the reception results of the first infrared receiver and the second infrared receiver on the suitcase. The obstacle detection results are used to indicate whether there are obstacles within a preset range around the suitcase. In response to the detection result that an obstacle exists within the preset range around the suitcase, the buzzer is controlled to start working; The location of the obstacle is determined based on the reception results of the first infrared receiver and the second infrared receiver; Adjust the orientation of the drive wheels based on the location of the obstacle.
7. The method according to claim 6, characterized in that, After controlling the suitcase to move at the preset speed in the direction the user is moving, the method further includes: Obtain the third distance between the suitcase and the user; In response to the third interval distance being greater than the third distance threshold, the drive wheels are locked, the buzzer and the light alarm are activated, and the third distance threshold is greater than the first distance threshold.
8. A suitcase, the suitcase comprising wheels, a buzzer, a light alarm, a warning sign, an infrared transmitter, a first infrared receiver, a second infrared receiver, a battery, a counterweight, an angle detector, a pivot, a vehicle body, and a suitcase control device, characterized in that, The luggage control device is used to perform the luggage control method according to any one of claims 1-7.
9. A computer program product comprising computer instructions that, when executed by a processor, implement the steps of the luggage control method as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the luggage control method as described in any one of claims 1 to 7.