Trailer state observation method, device, equipment, medium and program product

By controlling the rotation of the camera in the towing trailer, collecting and displaying images around the trailer or trailer hook, the problem that users in the prior art cannot monitor the status of the trailer in real time is solved, and driving safety is improved.

CN120166299APending Publication Date: 2025-06-17GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510260470.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

In existing tow trailers, the tow truck's camera cannot observe the status of the trailer, which causes users to be unable to monitor the trailer in real time during driving, which may lead to safety issues such as collisions.

Method used

By controlling the target camera to rotate, adjust its angle to observe the environment around the trailer or trailer hook, collect the corresponding image, and upload the image to the electronic device for display for users to view.

Benefits of technology

It realizes that when the vehicle is driving, users can view the status of the trailer in real time to avoid safety issues such as collisions, and improve driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120166299A_ABST
    Figure CN120166299A_ABST
Patent Text Reader

Abstract

The invention relates to a trailer state observation method, device and equipment, a medium and a program product. The trailer state observation method comprises the steps that a target camera is controlled to rotate in response to the situation that a preset condition is met, so that the target camera rotates to a target position, a target image is collected, the target camera is an all-round camera, and the target image is an image containing the surrounding environment of a trailer or a trailer hook; the target image uploaded by the target camera is received and displayed, so that a user can check the trailer state, the image containing the surrounding environment of the trailer or the trailer hook can be obtained by adjusting the angle of the target camera, the image is displayed, and therefore the user can check the trailer state in the vehicle driving process, and the user experience is improved. Therefore, collision and the like are avoided, and the driving safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of vehicles, and in particular, to a method, device, equipment, medium, and program product for observing the state of a trailer. Background Art

[0002] Trailer towing is an important transportation tool, which has the advantages of simple structure, low cost, and convenient use. It is mainly used in industries such as industry, agriculture, construction, transportation, and public utilities. With the development of society, the application of trailer towing is becoming more and more widespread. For example, users' demands for trailer towing for travel, play, etc. are also increasing.

[0003] However, since the cameras arranged in the towing vehicle of the current trailer towing are all calibrated based on the vehicle itself, during driving, users cannot observe the state of the trailer, which may cause safety problems such as collisions. Summary of the Invention

[0004] To solve the above technical problems, the present disclosure provides a method, device, equipment, medium, and program product for observing the state of a trailer.

[0005] In a first aspect of an embodiment of the present disclosure, a method for observing the state of a trailer is provided, including:

[0006] In response to meeting a preset condition, controlling a target camera to rotate so that the target camera rotates to a target position and acquires a target image, where the target camera is a surround-view camera and the target image is an image including the environment around the trailer or the trailer hitch;

[0007] Receiving the target image uploaded by the target camera and displaying it for the user to view the state of the trailer.

[0008] In a second aspect of an embodiment of the present disclosure, a device for observing the state of a trailer is provided, including:

[0009] A camera control module, configured to control a target camera to rotate in response to meeting a preset condition so that the target camera rotates to a target position and acquires a target image, where the target camera is a surround-view camera and the target image is an image including the environment around the trailer or the trailer hitch;

[0010] An image display module, configured to receive the target image uploaded by the target camera and display it for the user to view the state of the trailer.

[0011] In a third aspect of an embodiment of the present disclosure, an electronic device is provided, including:

[0012] A processor;

[0013] A memory for storing executable instructions;

[0014] Among them, the processor is configured to read executable instructions from the memory and execute the executable instructions to implement the trailer state observation method provided in the first aspect above.

[0015] A fourth aspect of the embodiments of the present disclosure provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the trailer state observation method provided in the first aspect above.

[0016] A fifth aspect of the embodiments of the present disclosure provides a computer program product, which includes a computer program or instruction that, when executed by a processor, implements the trailer state observation method as described in the first aspect above.

[0017] The technical solutions provided by the embodiments of the present disclosure have the following advantages compared with the prior art:

[0018] The trailer state observation method, device, equipment, medium and program product provided by the embodiments of the present disclosure can control a target camera to rotate in response to meeting a preset condition, so that the target camera rotates to a target position and captures a target image. The target camera is a surround-view camera, and the target image is an image including the environment around the trailer or the trailer hitch; receive the target image uploaded by the target camera and display the target image after receiving it for the user to view the trailer state. Thus, by adjusting the angle of the target camera, an image including the environment around the trailer or the trailer hitch is obtained and displayed, so that the user can view the state of the trailer during the vehicle driving process, thereby avoiding collisions and the like and improving driving safety. Description of the Drawings

[0019] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.

[0020] To more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0021] Figure 1 is a flowchart of a trailer state observation method provided by an embodiment of the present disclosure;

[0022] Figure 2 is a flowchart of a camera control method provided by an embodiment of the present disclosure;

[0023] Figure 3It is a flowchart of another camera control method provided by an embodiment of the present disclosure;

[0024] Figure 4 It is a schematic structural diagram of a trailer state observation device provided by an embodiment of the present disclosure;

[0025] Figure 5 It is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. Detailed implementation manners

[0026] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments may be combined with each other.

[0027] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all of the embodiments.

[0028] It should be understood that the steps recorded in the method embodiments of the present disclosure may be executed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.

[0029] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0030] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise clearly specified in the context, it should be understood as "one or more".

[0031] Under normal circumstances, the cameras arranged in the towing vehicle of a towed trailer are calibrated based on the vehicle itself. However, during driving, users may not be able to observe the status of the trailer, which may cause safety problems such as collisions. To address this issue, embodiments of the present disclosure provide a method for observing the trailer status, which will be introduced below in conjunction with specific embodiments.

[0032] Figure 1 FIG. is a flowchart of a method for observing the trailer status provided by an embodiment of the present disclosure. This method can be executed by a trailer status observation device, which can be implemented in software and / or hardware and can be configured in an electronic device, such as a server or a terminal. Specifically, the terminal includes a vehicle head unit, a computer, a tablet computer, etc.

[0033] As Figure 1 shown, the method for observing the trailer status provided in this embodiment includes the following steps.

[0034] S110. In response to meeting a preset condition, control a target camera to rotate so that the target camera rotates to a target position and capture a target image. The target camera is a surround-view camera, and the target image is an image including the environment around the trailer or the trailer hitch.

[0035] In embodiments of the present disclosure, the preset condition includes at least one of a user's selection operation for the trailer perspective, a user's selection operation for the trailer hitch perspective, reaching a first preset time interval, and reaching a preset driving distance.

[0036] The target camera can be a surround-view camera, specifically including side-view cameras and a rear-view camera. Among them, the side-view cameras are respectively installed on the left and right rearview mirrors of the towing vehicle; the rear-view camera is installed at the rear of the towing vehicle and in the middle position left and right, such as on the trunk or spare tire, etc., and is specifically set according to different vehicle models.

[0037] The target position can be understood as the best position to observe the trailer status.

[0038] The target image can be an image including a part of the trailer (such as the lower part of the trailer) and the road around the trailer, an image including the trailer hitch, a part of the trailer adjacent to the trailer hitch, and the road around the trailer hitch, etc.

[0039] Specifically, in response to meeting the preset condition, the electronic device controls the target camera corresponding to the preset condition to rotate, rotates the target camera to the best position to observe the trailer status, and then controls the target camera to capture an image. After the target camera captures the image, it uploads the image to the electronic device.

[0040] S120. Receive the target image uploaded by the target camera and display it for the user to view the trailer status.

[0041] In the embodiment of the present disclosure, the electronic device receives the target image uploaded by the target camera and displays the target image through a display device such as a vehicle control display screen, etc., for the user such as the driver to understand the environment around the trailer through the target image and determine the trailer status.

[0042] Among them, the electronic device can display the target images collected by the target camera within a preset time period in the form of images.

[0043] In the embodiment of the present disclosure, in response to meeting the preset conditions, the target camera can be controlled to rotate so that the target camera rotates to the target position and captures the target image. The target camera is a surround-view camera, and the target image is an image including the environment around the trailer or the trailer hitch; receive the target image uploaded by the target camera, and display the target image after receiving the target image for the user to view the trailer status. Thus, by adjusting the angle of the target camera, an image including the environment around the trailer or the trailer hitch is obtained and displayed, so that the user can view the status of the trailer during vehicle driving, thereby avoiding collisions, etc., and improving driving safety.

[0044] Based on the above embodiment of the present disclosure, by utilizing the electrically adjustable feature of the surround-view camera, the user can independently select the viewing angle of the trailer, and the camera can automatically adjust to the target position and output the image, facilitating the user to observe the trailer status from different perspectives.

[0045] In some embodiments of the present disclosure, when the preset condition is the user's selection operation of the trailer viewing angle, the target camera is a side-view camera. Specifically, as Figure 2 shown, when the preset condition is the user's selection operation of the trailer viewing angle, controlling the target camera to rotate so that the target camera rotates to the target position may specifically include the following steps:

[0046] S210. Determine the first angle for observing the trailer status.

[0047] In the embodiment of the present disclosure, the first angle can be understood as the best angle for observing the trailer status.

[0048] Furthermore, determining the first angle for observing the trailer status may specifically include: obtaining the trailer type corresponding to the trailer and the target parameters corresponding to the trailer; based on the target parameters and the correspondence between the trailer parameters and the trailer status observation angle, determining the first angle.

[0049] In the embodiments of the present disclosure, the trailer types may include conventional trailers, cars, trucks, boats, temporary vacation homes, horse carriages, etc.

[0050] The target parameters mainly include the length and width of the trailer.

[0051] The correspondence between the trailer parameters and the observation angle of the trailer state is the pre-set correspondence between different trailer parameters and the optimal angle for the camera to observe the trailer state.

[0052] Specifically, the electronic device may obtain the trailer type and the corresponding target parameters of the trailer from the preset database based on the identification information of the vehicle to be observed. After obtaining the target parameters, it obtains the correspondence between the trailer parameters and the observation angle of the trailer state from the preset database, determines the optimal observation angle of the trailer corresponding to the target parameters based on this correspondence, and determines this angle as the first angle.

[0053] S220. Control the side-view camera to rotate based on the first angle so that the side-view camera rotates to the target position, where the trailer body image in the target image corresponding to the target position occupies a first preset ratio of the width of the target image, or the trailer body image occupies a second preset ratio of the length of the target image.

[0054] In the embodiments of the present disclosure, the first preset ratio and the second preset ratio vary according to the vehicle's shape, the camera arrangement position, height, etc.

[0055] Specifically, after the electronic device obtains the first angle, it controls the side-view camera to rotate based on the first angle so that the side-view camera rotates to the position corresponding to the first angle, that is, the target position, and controls the side-view camera to collect the target image at the target position. Depending on the vehicle driving state, the target image collected at the target position corresponding to the first angle is different.

[0056] In some examples, when the vehicle is in a straight driving state, the trailer body image in the target image collected at the target position occupies one-third of the width of the target image.

[0057] In other examples, when the vehicle is in a turning driving state, the trailer body image in the target image collected at the target position occupies one-sixth of the length of the target image.

[0058] In the embodiments of the present disclosure, when responding to the user's selection operation of the trailer view angle, it is possible to control the side-view camera to rotate to the optimal angle for observing the trailer according to the type of the trailer and parameters such as the length and width of the trailer, obtain the target image corresponding to the target position at the angle, and display the target image, enabling the user to observe the trailer state in a timely and accurate manner, improving the flexibility of observing the trailer state and driving safety.

[0059] In some other embodiments of the present disclosure, when the preset condition is the user's selection operation on the trailer hitch perspective, the target camera is a rear-view camera. As Figure 3 shown, when the preset condition is the user's selection operation on the trailer hitch perspective, control the target camera to rotate so that the target camera rotates to the target position and collect a target image. Specifically, it may include the following steps:

[0060] S310. Determine the type of the trailer ball on the trailer hitch.

[0061] In the embodiments of the present disclosure, the types of trailer balls include two types: the position of the trailer ball is fixed and the position of the trailer ball is not fixed. When the trailer hitch is a factory-supplied trailer hitch, such as an electric trailer hitch, the relative position of the trailer ball is fixed, that is, the position of the trailer ball is fixed; if the manufacturer only provides a square opening of the trailer hitch, the user can install different styles of trailer hitches at will. At this time, the relative position of the trailer ball is not fixed, that is, the position of the trailer ball is not fixed.

[0062] Specifically, the electronic device can obtain the information of the trailer ball from the preset database based on the identification information of the trailer, and then determine the type of the trailer ball on the trailer hitch. When the relative position of the trailer ball is not fixed, execute steps S320 - S330; when the relative position of the trailer ball is fixed, execute steps S340 - S370.

[0063] S320. When the position of the trailer ball on the trailer hitch is not fixed, control the rear-view camera to rotate and collect a trailer image, and perform recognition on the trailer image to obtain a recognition result.

[0064] Specifically, when the electronic device determines that the type of the trailer ball is that the position of the trailer ball is not fixed, control the rear-view camera to rotate, and during the rotation, control the rear-view camera to collect an image to obtain a trailer image, perform recognition on the trailer image, determine whether the trailer image contains a trailer ball, and when the trailer ball is included, the position of the trailer ball in the trailer image, so as to obtain a recognition result. Among them, the recognition of the trailer image can be any existing method for recognizing target objects in an image, such as extracting features from the trailer image through a machine learning model for recognition, etc., which is not limited herein.

[0065] S330. When the recognition result is that the trailer image contains the trailer ball on the trailer hitch, and the trailer ball is centered horizontally in the trailer image and the distance from the lower edge accounts for a third preset ratio of the total width of the image, determine the position corresponding to when the trailer image is collected as the target position, and determine the trailer image as the target image.

[0066] In the embodiments of the present disclosure, the third preset ratio may be different according to different vehicle shapes, camera arrangement positions, heights, etc. Exemplarily, the third preset ratio may be one-fifth.

[0067] Further, when the trailer ball is not included in the recognition result and / or the position of the trailer ball in the trailer image does not meet the preset requirements, the rear-view camera continues to rotate and capture the trailer image until the trailer ball is included in the recognition result and the position of the trailer ball in the trailer image meets the preset requirements.

[0068] S340. When the position of the trailer ball of the trailer hitch is fixed, obtain the first position of the trailer ball on the trailer and the second position of the rear-view camera.

[0069] Specifically, when the electronic device determines that the type of the trailer ball is that the position of the trailer ball is fixed, it obtains the first position of the trailer ball on the trailer and the second position of the rear-view camera from the preset database based on the identification information of the trailer and the identification information of the rear-view camera.

[0070] S350. Determine the relative position relationship between the trailer ball and the rear-view camera based on the first position and the second position.

[0071] In the embodiments of the present disclosure, the relative position relationship may include the horizontal distance and the vertical height difference between the trailer ball and the rear-view camera. Specifically, the method for determining the relative position relationship between the trailer ball and the rear-view camera is similar to the existing method for determining the relative position relationship between two objects, and will not be elaborated here.

[0072] S360. Calculate a second angle for observing the trailer state based on the relative position relationship and the parameters of the rear-view camera.

[0073] In the embodiments of the present disclosure, the second angle can be understood as the best angle for observing the trailer state through the trailer hitch. The target image corresponding to the position where the rear-view camera is at the second angle includes the trailer ball, and the trailer ball is centered horizontally in the target image and the distance from the lower edge accounts for a third preset ratio of the total width of the image.

[0074] Specifically, after the electronic device determines the relative position relationship between the trailer ball and the rear-view camera, it performs angle calculation based on the parameters of the rear-view camera such as the focal length and the field of view angle and the relative position relationship, and then obtains the second angle.

[0075] S370. Control the rear-view camera to rotate based on the second angle so that the rear-view camera rotates to the target position and captures the target image.

[0076] Specifically, after the electronic device obtains the second angle, it controls the rear-view camera to rotate based on the second angle so that the rear-view camera rotates to the target position and captures the target image.

[0077] In an embodiment of the present disclosure, when responding to a user's selection operation of the trailer hitch perspective, different methods can be selected to determine the optimal angle for observing the trailer according to the type of trailer ball on the trailer hitch for target image acquisition, so that the acquired target image can accurately reflect the state of the trailer and the environment around the trailer hitch, enabling the user to further understand the state of the trailer and further improving driving safety.

[0078] In some other embodiments of the present disclosure, when the preset condition is reaching a first preset time interval or reaching a preset driving distance, the target camera can be a side view camera and / or a rear view camera. The electronic device can control the target camera to rotate to determine the target angle for observing the trailer state and store the target angle; when responding to the user's selection operation of the trailer perspective and / or the user's selection operation of the trailer hitch perspective, the target angle is obtained, and based on the target angle, the corresponding target camera is controlled to rotate, and the output image is obtained for display.

[0079] In an embodiment of the present disclosure, after receiving the target image uploaded by the target camera and displaying it for the user to view the trailer state, the trailer state observation method may further include: in response to the user's selection operation of the tractor perspective or reaching a second preset time interval, controlling the target camera to rotate to the initial position.

[0080] In an embodiment of the present disclosure, after observing the trailer state, the target camera can be restored to the initial position by controlling the rotation of the target camera, so as to flexibly use the target camera to observe the state of the tractor.

[0081] Figure 4 It is a schematic structural diagram of a trailer state observation device provided by an embodiment of the present disclosure.

[0082] In an embodiment of the present disclosure, the trailer state observation device can be set in the electronic device and is understood as some functional modules in the above-mentioned electronic device. Specifically, the electronic device can be a server or a terminal, where the terminal specifically includes a car machine, a computer, a tablet computer, etc., which are not limited herein.

[0083] As Figure 4 shown, the trailer state observation device 400 can include a camera control module 410 and an image display module 420.

[0084] The camera control module 410 can be configured to control the target camera to rotate in response to meeting a preset condition, so that the target camera rotates to a target position and acquires a target image. The target camera is a panoramic camera, and the target image is an image including the trailer or the environment around the trailer hitch.

[0085] The image display module 420 can be used to receive the target image uploaded by the target camera and display it for the user to view the trailer status.

[0086] In the embodiments of the present disclosure, it is possible to control the target camera to rotate in response to meeting a preset condition, so that the target camera rotates to a target position and captures a target image. The target camera is a surround-view camera, and the target image is an image including the environment around the trailer or the trailer hitch; receive the target image uploaded by the target camera, and display the target image after receiving it for the user to view the trailer status. Thus, by adjusting the angle of the target camera, an image including the environment around the trailer or the trailer hitch is obtained and displayed, so that the user can view the status of the trailer during vehicle driving, thereby avoiding collisions and the like and improving driving safety.

[0087] In some embodiments of the present disclosure, the preset condition includes at least one of a user's selection operation for the trailer perspective, a user's selection operation for the trailer hitch perspective, reaching a first preset time interval, and reaching a preset driving distance. When the preset condition is a user's selection operation for the trailer perspective, the target camera is a side-view camera.

[0088] The camera control module 410 can specifically be used to determine a first angle for observing the trailer status when the preset condition is a user's selection operation for the trailer perspective;

[0089] Based on the first angle, control the side-view camera to rotate so that the side-view camera rotates to the target position, and the target image corresponding to the target position has a first preset ratio of the trailer body image to the width of the target image, or a second preset ratio of the trailer body image to the length of the target image.

[0090] In some embodiments of the present disclosure, the camera control module 410 can also specifically be used to obtain the trailer type corresponding to the trailer and the target parameters corresponding to the trailer;

[0091] Based on the target parameters and the correspondence between the trailer parameters and the trailer status observation angle, determine the first angle.

[0092] In some embodiments of the present disclosure, when the preset condition is a user's selection operation for the trailer hitch perspective, the target camera is a rear-view camera.

[0093] The camera control module 410 can also specifically be used to control the rear-view camera to rotate and capture a trailer image, and perform identification on the trailer image to obtain an identification result when the preset condition is a user's selection operation for the trailer hitch perspective and the position of the trailer ball of the trailer hitch is not fixed;

[0094] When the recognition result is that the trailer image contains a trailer ball on the trailer hitch, and the trailer ball is centered horizontally in the trailer image and the distance from the lower edge accounts for the third preset ratio of the total width of the image, the position corresponding to the acquisition of the trailer image is determined as the target position, and the trailer image is determined as the target image.

[0095] In some embodiments of the present disclosure, the camera control module 410 may further be specifically configured to, when the position of the trailer ball of the trailer hitch is fixed, obtain the first position of the trailer ball on the trailer and the second position of the rear-view camera;

[0096] Determine the relative position relationship between the trailer ball and the rear-view camera based on the first position and the second position;

[0097] Calculate a second angle for observing the trailer state based on the relative position relationship and the parameters of the rear-view camera;

[0098] Control the rear-view camera to rotate based on the second angle so that the rear-view camera rotates to the target position and acquires the target image.

[0099] In some embodiments of the present disclosure, the trailer state observation device 400 may further include a position restoration module.

[0100] The position restoration module may be configured to, after receiving the target image uploaded by the target camera and displaying it for the user to view the trailer state, in response to the user's selection operation for the tractor perspective or reaching the second preset time interval, control the target camera to rotate to the initial position.

[0101] It should be noted that Figure 4 The shown trailer state observation device 400 may execute each step in the above method embodiments and achieve each process and effect in the above method embodiments, which will not be elaborated here.

[0102] In the embodiments of the present disclosure, the trailer state observation method may also be performed by adding multiple cameras for observing the trailer to observe the trailer state.

[0103] Figure 5 It is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

[0104] In the embodiments of the present disclosure, Figure 5 The shown electronic device may be a server or a terminal. Among them, the terminal specifically includes a vehicle machine, a computer, a tablet computer, etc., which are not limited here.

[0105] As Figure 5 shown, the electronic device may include a processor 510 and a memory 520 storing computer program instructions.

[0106] Specifically, the above-mentioned processor 510 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured as one or more integrated circuits for implementing the embodiments of the present disclosure.

[0107] The memory 520 may include a mass memory for information or instructions. By way of example and not limitation, the memory 520 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 520 may include removable or non-removable (or fixed) media. Where appropriate, the memory 520 may be internal or external to the integrated gateway device. In a particular embodiment, the memory 520 is a non-volatile solid-state memory. In a particular embodiment, the memory 520 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0108] The processor 510 reads and executes the computer program instructions stored in the memory 520 to perform the steps of the trailer state observation method provided by the embodiments of the present disclosure.

[0109] In one example, the electronic device may further include a transceiver 530 and a bus 540. Among them, as Figure 5 shown, the processor 510, the memory 520, and the transceiver 530 are connected through the bus 540 and complete communication with each other.

[0110] The bus 540 includes hardware, software, or both. By way of example and not limitation, the bus can include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side BUS (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable bus or a combination of two or more of these. Where appropriate, the bus 540 can include one or more buses.

[0111] Embodiments of the present disclosure also provide a computer-readable storage medium that can store a computer program. When the computer program is executed by a processor, the processor is caused to implement the trailer status observation method provided by the embodiments of the present disclosure.

[0112] The above storage medium can include, for example, a memory 520 storing computer program instructions, and the above instructions can be executed by a processor 510 of an electronic device to complete the trailer status observation method provided by the embodiments of the present disclosure. Optionally, the storage medium can be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium can be a ROM, a Random Access Memory (RAM), a Compact Disc ROM (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0113] The embodiments of the present disclosure also provide a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, the trailer state observation method provided by the embodiments of the present disclosure is implemented, and each process and effect in the above embodiments of the present disclosure can be achieved. Details are not described herein again.

[0114] The above are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for observing trailer status, characterized in that: include: In response to satisfying a preset condition, controlling a target camera to rotate so that the target camera rotates to a target position and captures a target image, wherein the target camera is a surround view camera, and the target image is an image including the surrounding environment of the trailer or the trailer hook; The target image uploaded by the target camera is received and displayed so that the user can check the trailer status.

2. The method according to claim 1, characterized in that The preset condition includes at least one of a user's selection operation of a trailer viewing angle, a user's selection operation of a trailer hook viewing angle, reaching a first preset time interval, and reaching a preset driving distance; When the preset condition is a user's selection operation of the trailer viewing angle, the target camera is a side view camera; The controlling the target camera to rotate so that the target camera rotates to the target position includes: determining a first angle for observing a trailer status; The side view camera is controlled to rotate based on the first angle so that the side view camera rotates to the target position, and the trailer body image in the target image corresponding to the target position occupies a first preset proportion of the target image width, or the trailer body image occupies a second preset proportion of the target image length.

3. The method according to claim 2, characterized in that The determining of a first angle for observing the trailer state comprises: Obtaining a trailer type corresponding to the trailer and target parameters corresponding to the trailer; The first angle is determined based on the target parameter and a correspondence between the trailer parameter and the trailer state observation angle.

4. The method according to claim 1, characterized in that When the preset condition is a user's selection operation of a trailer hook viewing angle, the target camera is a rear-view camera; When the position of the trailer ball of the trailer hook is not fixed, the target camera is controlled to rotate so that the target camera rotates to the target position and collects the target image, including: Controlling the rear-view camera to rotate and collect a trailer image, identifying the trailer image, and obtaining a recognition result; When the recognition result is that the trailer image contains the trailer ball on the trailer hook, and the trailer ball is located in the center of the trailer image and the distance from the lower edge accounts for a third preset proportion of the total width of the image, the position corresponding to the time when the trailer image is collected is determined as the target position, and the trailer image is determined as the target image.

5. The method according to claim 4, characterized in that When the trailer ball of the trailer hook is fixed, the target camera is controlled to rotate so that the target camera rotates to the target position and collects the target image, including: Acquire a first position of the tow ball on the trailer and a second position of the rear view camera; determining a relative positional relationship between the tow ball and the rear view camera based on the first position and the second position; Calculating a second angle for observing the trailer state based on the relative position relationship and the parameters of the rearview camera; The rear view camera is controlled to rotate based on the second angle, so that the rear view camera rotates to the target position and captures the target image.

6. The method according to claim 1, characterized in that After receiving the target image uploaded by the target camera and displaying it for the user to view the trailer status, the method further includes: In response to the user's selection operation of the tractor viewing angle or reaching a second preset time interval, the target camera is controlled to rotate to an initial position.

7. A method and device for observing trailer status, characterized in that: include: A camera control module, configured to control a target camera to rotate in response to a preset condition being met, so that the target camera rotates to a target position and captures a target image, wherein the target camera is a surround view camera, and the target image is an image containing the surroundings of the trailer or the trailer hook; The image display module is used to receive the target image uploaded by the target camera and display it so that the user can check the trailer status.

8. An electronic device, characterized in that: include: processor; A memory for storing executable instructions; Wherein, the processor is used to read the executable instructions from the memory and execute the executable instructions to implement the trailer status observation method described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the trailer status observation method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program or instructions, characterized in that: When the computer program or instruction is executed by a processor, the trailer status observation method according to any one of claims 1 to 6 is implemented.