Table plate control method, electronic equipment, vehicle and storage medium
By configuring a grating on the edge of the table plate, we can detect whether there are objects on the desktop, which solves the problem that the folding table can easily cause objects to fall when placing objects on the desktop, and achieves the effect of improving safety.
Patent Information
- Application Number
- CN202510133887.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-06
- Publication Date
- 2025-05-09
AI Technical Summary
When placing objects on the desktop, folding the folding table can easily cause the items to fall, damage the items, and affect safety.
By configuring the grating at the edge of the table, the transmitter and receiver emit and receive detection light along the tabletop of the tabletop to detect whether there are objects on the tabletop. If the receiver does not receive reflected light, the table plate is allowed to fold; if the receiver receives reflected light, the table plate is prohibited from folding.
It effectively avoids falling items caused by folding the table, protects items, improves safety, and is low in cost. It can detect lightweight objects and small-volume objects, and has high detection accuracy.
Smart Images

Figure CN119953295A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic control, and in particular to a table control method, electronic equipment, vehicle and storage medium. Background Art
[0002] A folding table is a table that can change its shape through a specific connecting device, allowing the table top to be folded or unfolded for use. The design of this table can facilitate storage and save space.
[0003] However, when there are objects on the table, folding the folding table may easily cause the objects to fall, damage the objects, and even affect safety. Summary of the invention
[0004] In view of the above, the embodiments of the present application provide a table top control method, an electronic device, a vehicle and a storage medium, which can solve the problem of objects falling when objects are placed on the table and the folding table is folded.
[0005] In a first aspect, an embodiment of the present application provides a table top control method, wherein a grating is disposed at an edge of the table top, and the grating includes a receiver and a transmitter, including: In response to a table top folding request, controlling the emitter to emit a detection light along the table top of the table top; If the receiver does not receive the reflected light of the detection light, the table top is controlled to be folded; If the receiver receives the reflected light, the table top is prohibited from being folded.
[0006] When a request to fold the table top is received, the embodiment of the present application emits a detection light along the table top of the table top to detect whether there is an object on the table top. If the receiver does not receive the reflected light of the detection light, it means that there is no object on the table top, and the table top is controlled to fold. If the receiver receives the reflected light, it means that there is an object on the table top, and the folding of the table top is prohibited, thereby preventing the object on the table top from falling due to the folding of the table top, avoiding damage to objects, and improving safety.
[0007] In some embodiments, a table top is disposed on a vehicle, and controlling the emitter to emit detection light along a table top of the table top includes: Obtaining the current power of the vehicle; Determining a control parameter of the transmitter based on the current power; The smaller the current power is, the lower the power consumption of the transmitter when using the control parameters is; The emitter is controlled to emit detection light along the tabletop of the tabletop based on the control parameters.
[0008] In some embodiments, determining the control parameter of the transmitter based on the current power includes: If the current power level is less than a preset threshold, determining a key detection area of the table top; A control parameter of the transmitter is determined based on the critical detection area.
[0009] In some embodiments, determining the key detection area of the table top includes: Determine each historical placement area of the object on the table board based on each reflected light beam collected in the historical time period and the pre-stored thermal map; Wherein, the heat map is used to indicate the mapping relationship between the light intensity of the reflected light and the placement area of the object; The key detection area is determined based on the occurrence frequency of each historical placement area.
[0010] In some embodiments, determining the control parameters of the transmitter based on the key detection area control includes: Determining a target emission power based on the key detection area, wherein the target emission power is an emission light rate when the detection light covers the key detection area; Using the target transmit power as the control parameter; The step of controlling the emitter to emit detection light along the tabletop of the table board based on the control parameter comprises: The transmitter is controlled to transmit detection light along the tabletop of the tabletop according to the target transmission power.
[0011] In some embodiments, the transmitter includes a plurality of light emitting segments, and the detection light emitted by each of the light emitting segments covers a different table top area. The control parameters of the transmitter are determined based on the key detection area, including: Determining a target emitting segment among the plurality of light emitting segments, wherein the detection light emitted by the target emitting segment covers the key detection area; using the target transmission segment as the control parameter; The step of controlling the emitter to emit detection light along the tabletop of the table board based on the control parameter comprises: The target emitting section is controlled to emit detection light along the tabletop of the table top.
[0012] In some embodiments, the grating is arranged along the entire side of the table top, or the grating is arranged at the corner of the side; wherein the side is the side where the table top is mechanically connected to the mounting base.
[0013] In a second aspect, an embodiment of the present application further provides an electronic device, comprising a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the table board control method described in the first aspect.
[0014] In a third aspect, an embodiment of the present application further provides a vehicle, the vehicle comprising: A table top and the electronic device described in the first aspect; Wherein, a grating is arranged at the edge of the table top, and the grating is communicatively connected with the electronic device.
[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the table board control method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic structural diagram of a grating configuration provided in one embodiment of the present application.
[0017] Figure 2 A schematic structural diagram of a grating configuration provided in another embodiment of the present application.
[0018] Figure 3 A schematic diagram of the implementation environment of the table control method provided in one embodiment of the present application.
[0019] Figure 4 A flowchart of the steps of a table top control method provided in one embodiment of the present application.
[0020] Figure 5 A flowchart of sub-steps of step 401 provided for an embodiment of the present application.
[0021] Figure 6 A schematic diagram of grating detection on a table top without an object placed thereon provided in one embodiment of the present application.
[0022] Figure 7 A schematic diagram of grating detection of an object placed on a table provided in one embodiment of the present application.
[0023] Figure 8 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the implementation methods of the present application and the features in the implementation methods can be combined with each other without conflict.
[0025] In the following description, many specific details are set forth to facilitate a full understanding of the present application. The described implementations are only part of the implementations of the present application, rather than all the implementations.
[0026] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0027] It should be further noted that, in this article, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0028] In this application, "at least one" means one or more, and "more" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0029] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0030] Folding tables can be easily stored and save space, so they have been widely used in various usage scenarios. For example, with the diversification of car interior functions, more and more cars are equipped with small tables (such as electric tables) for passengers to work or eat in the car.
[0031] However, when the small table is automatically folded, items placed on the table may fall off and be damaged, affecting safety.
[0032] Therefore, in some embodiments, a pressure pad may be integrated on the desktop of the small table, and the pressure pad detects whether an object is placed on the desktop through pressure, thereby determining whether to fold the small table. However, the integration of the pressure pad requires a dedicated sensor and control circuit, which increases the manufacturing cost.
[0033] In other embodiments, the electronic device can determine whether an object is placed by controlling the motor torque of the table top. However, it is often difficult to accurately detect lightweight objects or small items by using the motor torque to determine whether an object is placed, resulting in misjudgment.
[0034] In view of the above, embodiments of the present application provide a table control method, an electronic device, a vehicle, and a storage medium.
[0035] The table top control method of the embodiment of the present application is used to control the table top. A grating is configured at the edge of the table top. The grating may include a transmitter and a receiver, and the transmitter and the receiver are located on the same side.
[0036] When the electronic device receives a request to fold the table top, the transmitter of the grating can emit a detection light along the table top of the table top to detect whether there is an object on the table top. When the receiver of the grating does not receive the reflected light of the detection light, it means that there is no object on the table top. To reflect the detection light, that is, there is no object on the table top, the electronic device can control the folding of the table top. When the receiver receives the reflected light, it means that there is an object on the table top. To reflect the detection light, the electronic device can prohibit the folding of the table top, thereby avoiding the falling of objects on the table top caused by the folding of the table top, avoiding damage to objects, and improving safety.
[0037] In addition, the embodiment of the present application uses a grating to detect whether there is an object on the desktop, which is low-cost and can detect lightweight objects and small objects with high detection accuracy.
[0038] The above-mentioned table control method can be applied to one or more electronic devices. The electronic device is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to processors, microprogrammed control units (MCU), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), digital signal processors (DSP), embedded devices, etc. The electronic device can be a car computer, a controller, etc., but is not limited to this.
[0039] The electronic device is in communication connection with a grating, and the grating may be a single-sided grating, for example, a receiver and a transmitter of the grating are both mounted on the same circuit board. The light barrier can be arranged at the edge of the table top. For example, the table top is mechanically connected to the mounting base, and the light barrier and the mounting base can be located on the same side of the table top.
[0040] The mounting base may be a seat, a bed, etc., and this embodiment of the present application is not limited to this.
[0041] In the embodiment of the present application, the grating and the mounting base are arranged on the same side, that is, the grating is close to the connection between the mounting base and the table top, and away from the side where the user uses the table top, thereby improving the user experience of using the table top.
[0042] For further reference, Figure 1 As shown, the grating 11 can be arranged along the entire side of the table top. This embodiment is conducive to making the detection light of the grating 11 cover the table top, thereby improving the accuracy of object detection.
[0043] In other embodiments, reference Figure 2 As shown, the grating 11 can be arranged at the corners of the side. In this embodiment, the grating 11 is arranged at the two corners where the table top is folded, so that most of the desktop area can be covered, and the manufacturing cost can be reduced while ensuring the basic detection function.
[0044] refer to Figure 3 As shown, the grating can be connected to the electronic device (such as the vehicle computer) for communication, and the electronic device can also be connected to the table folding controller, the folding switch, etc. for communication.
[0045] The folding switch can be a control button of the table top, or a virtual switch provided by a smart device such as a mobile phone. The user can operate the folding switch, such as pressing the button, and the folding switch will generate a table top folding request and transmit the table top folding request to the electronic device.
[0046] After receiving the table top folding request, the electronic device can control the grating transmitter to emit detection light along the table top of the table top, and send a table top folding instruction to the table top folding controller when the grating receiver does not receive the reflected light of the detection light; when the receiver receives the reflected light, send a table top folding prohibition instruction to the table top folding controller, or do not send the table top folding instruction.
[0047] The table top folding controller can control the table top folding mechanism (such as a motor) in response to the corresponding instructions received to drive the table top to fold automatically, or prohibit the table top from folding.
[0048] Figure 4This is a flowchart of the steps of an embodiment of the table top folding method of the present application. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0049] See also Figure 1 As shown, the table top folding control method may include the following steps.
[0050] Step 401, in response to a table top folding request, controlling the emitter to emit a detection light along the table top of the table top.
[0051] The detection light may be laser light or infrared light, but is not limited thereto.
[0052] In some embodiments, step 401 may include: the electronic device obtains control parameters of the transmitter, and controls the transmitter to emit detection light along the table top of the table top based on the control parameters.
[0053] The control parameters may include a transmission power of the transmitter, and the transmission power may be determined based on a detection range. For example, the detection range may be the entire desktop or a partial area of the desktop.
[0054] This embodiment can dynamically adjust the emission power to control the detection range of the grating. By adjusting the emission power, the detection light can selectively cover a part of the table top or the entire table top to meet different detection requirements. For example, when the table top is large, a higher power is emitted to cover a larger range.
[0055] The control parameters may also include: a light emitting segment in the transmitter for emitting detection light, wherein the transmitter includes a plurality of light emitting segments, and the detection light emitted by each of the light emitting segments covers a corresponding table top area.
[0056] For example, the transmitter of a light beam is virtually equivalent to 10 light emitting segments, and each light emitting segment can be controlled individually, that is, whether each light emitting segment is enabled and its corresponding emission power can be controlled individually.
[0057] In this embodiment, by controlling the light emitting section, it is also possible to choose to cover a partial area of the table top or the entire table top to meet different detection requirements.
[0058] In some embodiments, the table top is configured in a vehicle, and the electronic device can determine control parameters according to the current power of the vehicle, thereby controlling the emitter of the grating.
[0059] Specifically, refer to Figure 5 As shown, step 401 can be implemented in the following manner: Step 4011, obtaining the current power level of the vehicle.
[0060] Step 4012, determining control parameters of the transmitter based on the current power level.
[0061] The smaller the current power is, the lower the power consumption of the transmitter is when using the control parameters.
[0062] In some embodiments, if the current power level is greater than a preset threshold, the light emitting segments used to emit detection light in the control parameters can be all light emitting segments of the transmitter, and the emission power in the control parameters can be the maximum emission power of the transmitter, which can enable the detection light to cover the opposite side of the table top.
[0063] The grating mode when the power is greater than the preset threshold can be called high power consumption mode. In this mode, the detection light can cover the entire small table as much as possible to ensure object detection in every corner of the table, thereby ensuring the accuracy of desktop object detection.
[0064] The preset threshold value can be set according to actual application requirements. For example, the preset threshold value can be set to 20% of the vehicle's full charge, but is not limited thereto.
[0065] In some embodiments, if the current power level is less than a preset threshold, the electronic device can determine a key detection area of the table top; and determine control parameters of the transmitter based on the key detection area.
[0066] The grating mode when the power is less than the preset threshold can be called low power mode. In this mode, the detection light can cover the key detection area, thereby ensuring that objects can be detected in the key detection area, and it can also reduce energy consumption and avoid excessive consumption of vehicle power.
[0067] The key detection area is the desktop area where users frequently place items. The key detection area can be preset, for example, set to the center of the desktop, and the key detection area can also be obtained based on user usage habits.
[0068] For example, the step of determining the key detection area may include: the electronic device determines the historical placement areas of the object on the table top based on the reflected light rays collected in the historical time period and the pre-stored heat map; wherein the heat map is used to indicate the mapping relationship between the light intensity of the reflected light and the placement area of the object, and then, based on the frequency of occurrence of the historical placement areas, the key detection area is determined, for example, the historical placement area with the highest frequency of occurrence is used as the key detection area.
[0069] The above historical time period refers to a period of time before the table folding request is issued. For example, the historical time period can be set to one month before the table folding request is issued. For another example, the historical time period is the time required for the most recent preset number of desktop item detections. Assuming the preset number is 100 times, the historical time period is the time required for the most recent 100 desktop detections.
[0070] Among them, the method of obtaining the thermal map may include: calibrating the light intensity of the reflected light received by the small table range and the grating receiver, for example, calibrating the light intensity of the reflected light received by the grating receiving end when objects are placed in various areas of the small table (especially the edge areas).
[0071] This embodiment can form a thermal map related to the position of an object and the light intensity within the range of the small table by calibrating a large amount of data.
[0072] In some embodiments, the way in which the electronic device determines the control parameters of the transmitter based on the key detection area may include: the electronic device may determine the target emission power based on the key detection area, wherein the target emission power is the light emission rate when the detection light covers the key detection area; and the target emission power is used as the control parameter.
[0073] In other embodiments, the way in which the electronic device determines the control parameters of the transmitter based on the key detection area may include: the electronic device may determine a target emission segment among the several light emission segments, wherein the light emitted by the target emission segment covers the key detection area; and use the target emission segment as the control parameter.
[0074] For example, the electronic device recognizes that the user habitually places objects in the desktop area corresponding to the 3rd to 8th light emission segments, and the desktop area is the key detection area, and the 3rd to 8th light emission segments are the target emission segments. Step 4013, based on the control parameters, control the emitter to emit detection light along the table top of the table top.
[0075] In some embodiments, in the low power consumption mode, the electronic device may control the transmitter to transmit the detection light along the table top of the table top according to the target transmission power.
[0076] In some other embodiments, in the low power consumption mode, the electronic device may further control the target emission segment to emit detection light along the desktop of the table board. For example, assuming that the target emission segment is the 3rd to 8th light emission segments, the electronic device may control the 3rd to 8th light emission segments to emit detection light and control the 1st, 2nd, 9th and 10th light emission segments to be turned off.
[0077] In other embodiments, in the low power consumption mode, the electronic device may also control the target emission section to emit detection light along the table top of the table top according to the target emission power.
[0078] Step 402, detecting whether the receiver receives the reflected light of the detection light.
[0079] refer to Figure 6 As shown, when there is no object on the desktop, the receiver will not receive the transmitted light. Therefore, if the receiver does not receive the reflected light of the detection light, step 403 is executed.
[0080] refer to Figure 7 As shown, when an object is placed on the desktop, the detection light will be reflected back to the grating by the object, and the grating receiving end will detect the reflected light. Therefore, if the receiver receives the reflected light of the detection light, the electronic device will determine that there is an object placed on the desktop, and the electronic device can execute step 404.
[0081] Step 403, controlling the table top to fold.
[0082] For example, if the receiver does not receive the reflected light of the detection light, it means that there is no object placed on the desktop. The electronic device can send a table top folding instruction to the table top folding controller to control the folding of the table top.
[0083] If the receiver receives the reflected light, it means that there may be an object placed on the desktop, and step 404 is executed.
[0084] Step 404, prohibiting the table top from folding.
[0085] For example, the electronic device may send a table top folding prohibition instruction to the table top folding controller, or may not send a table top folding instruction.
[0086] When the table top folding controller receives an instruction to prohibit the table top folding, or does not receive an instruction to fold the table top, it may not control the table top folding mechanism to fold the table top.
[0087] In some embodiments, the electronic device may also issue a safety reminder in the form of voice or text to remind the user that there are objects placed on the table and that folding the table is not recommended.
[0088] When a table top control method of an embodiment of the present application receives a table top folding request, a detection light is emitted along the table top of the table top to detect whether there is an object on the table top. If the receiver does not receive the reflected light of the detection light, it means that there is no object on the table top, and the table top is controlled to fold. If the receiver receives the reflected light, it means that there is an object on the table top, and the table top is prohibited from folding, thereby preventing the object on the table top from falling due to the folding of the table top, avoiding damage to objects, and improving safety.
[0089] The embodiment of the present application can adaptively adjust the control parameters of the grating when the vehicle battery is low, that is, determine the control parameters of the transmitter based on the key detection area, so that the detection light can cover the key detection area, ensuring that objects can be detected in the key detection area, thereby reducing energy consumption. In addition, the key area can be determined based on the user's habit of placing items, that is, when the battery is low, the embodiment of the present application can give priority to detecting the user's habitual placement area, which is conducive to ensuring the detection accuracy of objects.
[0090] Furthermore, the embodiments of the present application can determine the target emission power and / or the target emission segment based on the key detection area, thereby facilitating the emission light to cover the key detection area.
[0091] Figure 8 This is a schematic diagram of an embodiment of an electronic device of the present application.
[0092] The electronic device 100 includes a memory 20, a processor 30, and a computer program 40 stored in the memory 20 and executable on the processor 30. When the processor 30 executes the computer program 40, the steps in the above-mentioned table control method embodiment are implemented, for example Figure 4 Steps 401 to 404 are shown.
[0093] Exemplarily, the computer program 40 may also be divided into one or more modules / units, which are stored in the memory 20 and executed by the processor 30. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 40 in the electronic device 100.
[0094] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 100 and does not constitute a limitation of the electronic device 100. The electronic device 100 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 100 may also include input and output devices, network access devices, buses, etc.
[0095] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, a single-chip microcomputer, or the processor 30 may also be any conventional processor, etc.
[0096] The memory 20 can be used to store the computer program 40 and / or the module / unit. The processor 30 realizes various functions of the electronic device 100 by running or executing the computer program and / or the module / unit stored in the memory 20 and calling the data stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0097] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0098] The embodiment of the present application further provides a vehicle, which may include a table and an electronic device 100. The grating is communicatively connected with the electronic device 100, and the electronic device 100 may be a vehicle computer or the like.
[0099] The light barrier can be placed on the edge of the table top. Figure 1 The grating can be arranged along the entire side of the table top, which is the side where the table top is mechanically connected to the mounting base. Figure 2 As shown, the grating can also be arranged at the corner of the side.
[0100] In some embodiments, again referring to Figure 3 As shown, the vehicle may also include a table folding controller, a table folding mechanism, a folding switch, and the like.
[0101] The user can operate the folding switch, such as pressing a button, and the folding switch will generate a table top folding request and transmit the table top folding request to the electronic device 100.
[0102] After receiving the table top folding request, the electronic device 100 can control the transmitter of the grating to emit a detection light along the table top of the table top, and send a table top folding instruction to the table top folding controller when the receiver of the grating does not receive the reflected light of the detection light; when the receiver receives the reflected light, send a prohibition table top folding instruction to the table top folding controller, or do not send the table top folding instruction.
[0103] The table top folding controller can control the table top folding mechanism (such as a motor) in response to the corresponding instructions received to drive the table top to fold automatically, or prohibit the table top from folding.
[0104] The vehicle may be a pure electric vehicle, an extended-range electric vehicle, a hybrid electric vehicle, a fuel cell electric vehicle, etc., but is not limited thereto.
[0105] In the several embodiments provided in this application, it should be understood that the disclosed electronic device and method can be implemented in other ways. For example, the electronic device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation.
[0106] In addition, each functional unit in each embodiment of the present application may be integrated into the same processing unit, each unit may exist physically separately, or two or more units may be integrated into the same unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0107] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or electronic devices stated in the electronic device claim can also be implemented by the same unit or electronic device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.
Claims
1. A table control method, characterized in that: The edge of the table top is provided with a grating, and the grating includes a receiver and a transmitter, including: In response to a table top folding request, controlling the emitter to emit a detection light along the table top of the table top; If the receiver does not receive the reflected light of the detection light, the table top is controlled to be folded; If the receiver receives the reflected light, the table top is prohibited from being folded.
2. The table control method according to claim 1, characterized in that: The table top is disposed on the vehicle, and the step of controlling the emitter to emit detection light along the table top of the table top includes: Obtaining the current power of the vehicle; Determining a control parameter of the transmitter based on the current power; The smaller the current power is, the lower the power consumption of the transmitter when using the control parameters is; The emitter is controlled to emit detection light along the tabletop of the tabletop based on the control parameters.
3. The table control method according to claim 2, characterized in that: The determining the control parameter of the transmitter based on the current power includes: If the current power level is less than a preset threshold, determining a key detection area of the table top; A control parameter of the transmitter is determined based on the critical detection area.
4. The table control method according to claim 3, characterized in that: The step of determining the key detection area of the table top includes: Determine each historical placement area of the object on the table board based on each reflected light beam collected in the historical time period and the pre-stored thermal map; Wherein, the heat map is used to indicate the mapping relationship between the light intensity of the reflected light and the placement area of the object; The key detection area is determined based on the occurrence frequency of each historical placement area.
5. The table control method according to claim 3, characterized in that: The controlling and determining the control parameters of the transmitter based on the key detection area includes: Determining a target emission power based on the key detection area, wherein the target emission power is an emission light rate when the detection light covers the key detection area; Using the target transmit power as the control parameter; The step of controlling the emitter to emit detection light along the tabletop of the table board based on the control parameter comprises: The transmitter is controlled to transmit detection light along the tabletop of the tabletop according to the target transmission power.
6. The table control method according to claim 3, characterized in that: The transmitter includes a plurality of light emitting segments, and the detection light emitted by each of the light emitting segments covers a corresponding table top area. The control parameters of the transmitter are determined based on the key detection area, including: Determining a target emitting segment among the plurality of light emitting segments, wherein the detection light emitted by the target emitting segment covers the key detection area; using the target transmission segment as the control parameter; The step of controlling the emitter to emit detection light along the tabletop of the table board based on the control parameter comprises: The target emitting section is controlled to emit detection light along the tabletop of the table top.
7. The table board control method according to any one of claims 1 to 6, characterized in that: The grating is arranged along the entire side of the table top, or the grating is arranged at the corner of the side; wherein the side is the side where the table top is mechanically connected to the mounting base.
8. An electronic device, comprising a processor and a memory, characterized in that: The memory is used to store instructions, and the processor is used to call the instructions in the memory so that the electronic device executes the table top control method as described in any one of claims 1 to claim 7.
9. A vehicle, characterized in that: The vehicle comprises: a table and the electronic device as claimed in claim 8; Wherein, a grating is arranged at the edge of the table top, and the grating is communicatively connected with the electronic device.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the table board control method according to any one of claims 1 to 7.