A magnetic attraction control method, device, conference tablet, and storage medium
By incorporating magnetic components on the conference tablet, the magnetic attraction force can be detected and dynamically adjusted in real time, thus solving the problem of uneven module insertion and removal force and improving user experience and smoothness of insertion and removal.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG UNIVIEW TECH CO LTD
- Filing Date
- 2023-03-03
- Publication Date
- 2026-06-30
AI Technical Summary
In existing technologies, the insertion and removal forces of modules on conference tablets are uneven due to the relationship between the magnetic attraction force of permanent magnets and distance, resulting in a poor user experience when inserting and removing modules.
Magnetic components are installed on the conference tablet. By detecting the distance between the module and the tablet in real time, the magnetic attraction force is dynamically adjusted to meet the preset functional relationship. By controlling the magnitude of the magnetic attraction force, the module can be smoothly inserted and removed.
The module insertion and removal experience has been improved to meet user needs, ensure that the module is stably mounted on the tablet frame, reduce computational complexity, and improve the efficiency of magnetic force adjustment.
Smart Images

Figure CN116841344B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of magnetic attraction control technology, and in particular to a magnetic attraction control method, device, conference tablet and storage medium. Background Technology
[0002] External modules on the top of the conference tablet, such as camera or microphone modules, are typically secured to the screen frame via a USB or Type-C interface using the magnetic force of a permanent magnet. Permanent magnets are located at corresponding positions on the top of the conference tablet and the bottom of the module, serving as guides and magnets to hold the module in place. However, due to the characteristics of permanent magnets, the closer the module is to the conference tablet, the stronger the magnetic force becomes (see the graph showing the relationship between magnetic force and distance). Figure 1 This results in a poor user experience when inserting the module. The insertion and extraction force is relatively small at the beginning and increases as you get closer, leading to an uneven insertion and extraction force. Summary of the Invention
[0003] This invention provides a magnetic attraction control method, device, conference tablet, and storage medium. By setting a magnetic component on the conference tablet, the magnetic attraction between the module and the magnetic component can be dynamically adjusted according to the distance between the module and the conference tablet, so that the module can be inserted and removed smoothly, improving the user's insertion and removal experience.
[0004] According to one aspect of the present invention, a magnetic attraction control method is provided, applied to a conference tablet, wherein at least one magnetic element is provided in a preset position area of the conference tablet, the method comprising:
[0005] During the process of inserting the target module into or removing it from the conference tablet, the current distance between the target module and the conference tablet is detected in real time.
[0006] Based on a preset functional relationship between the target magnetic attraction force and the target distance, and the current distance, the current magnetic attraction force corresponding to the current distance is determined; wherein, the target magnetic attraction force is the magnetic attraction force between the target module and the magnetic component, and the target distance is the distance between the target module and the magnetic component;
[0007] The magnetic attraction force between the target module and the magnetic component is controlled to be the current magnetic attraction force.
[0008] According to another aspect of the present invention, a magnetic attraction control device is provided, disposed on a conference tablet, wherein at least one magnetic element is provided in a preset position area of the conference tablet, the device comprising:
[0009] The current distance detection module is used to detect the current distance between the target module and the conference tablet in real time during the process of inserting the target module into the conference tablet or removing it from the conference tablet;
[0010] The current magnetic attraction force determination module is used to determine the current magnetic attraction force corresponding to the current distance based on a preset functional relationship between the target magnetic attraction force and the target distance and the current distance; wherein, the target magnetic attraction force is the magnetic attraction force between the target module and the magnetic component, and the target distance is the distance between the target module and the magnetic component;
[0011] The magnetic attraction force control module is used to control the magnetic attraction force between the target module and the magnetic component to the current magnetic attraction force.
[0012] According to another aspect of the present invention, a conference tablet is provided, wherein at least one magnetic element is disposed in a predetermined position area of the conference tablet, the conference tablet comprising:
[0013] At least one processor; and
[0014] A memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the magnetic attraction control method according to any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the magnetic attraction control method according to any embodiment of the present invention.
[0017] The technical solution of this invention involves real-time detection of the current distance between the target module and the conference tablet during the insertion or removal of the target module. Based on a preset functional relationship between the target magnetic force and the target distance, and the current distance, a current magnetic force corresponding to the current distance is determined. Here, the target magnetic force is the magnetic force between the target module and the magnetic component, and the target distance is the distance between the target module and the magnetic component. The magnetic force between the target module and the magnetic component is controlled to be the current magnetic force. This technical solution, by setting a magnetic component on the conference tablet, can dynamically adjust the magnetic force between the module and the magnetic component according to the distance between the module and the conference tablet, ensuring smooth module insertion and removal, improving the user's insertion and removal experience, and better meeting user needs.
[0018] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, 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 the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a graph showing the relationship between the magnetic attraction force of a permanent magnet and the distance, provided by existing technology.
[0021] Figure 2 This is a flowchart of a magnetic attraction control method according to Embodiment 1 of the present invention;
[0022] Figure 3 This is a schematic diagram of the position of a magnetic component according to Embodiment 1 of the present invention;
[0023] Figure 4A This is a schematic diagram of the first preset functional relationship provided in Embodiment 1 of the present invention;
[0024] Figure 4B This is a schematic diagram of the second preset function relationship provided in Embodiment 1 of the present invention;
[0025] Figure 4C This is a schematic diagram of the third preset function relationship provided in Embodiment 1 of the present invention;
[0026] Figure 4D This is a schematic diagram of the fourth preset function relationship provided in Embodiment 1 of the present invention;
[0027] Figure 4E This is a schematic diagram of the fifth preset function relationship provided in Embodiment 1 of the present invention;
[0028] Figure 5 This is a flowchart of a magnetic attraction control method according to Embodiment 2 of the present invention;
[0029] Figure 6 This is a schematic diagram of a magnetic attraction control device according to Embodiment 3 of the present invention;
[0030] Figure 7 This is a schematic diagram of the structure of a conference tablet that implements a magnetic attraction control method according to an embodiment of the present invention. Detailed Implementation
[0031] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first," "second," "target," etc., used in the specification, claims, and accompanying drawings of this invention 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 embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0033] Example 1
[0034] Figure 2 This is a flowchart of a magnetic attraction control method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where the magnetic attraction between a conference tablet and a pluggable module is dynamically adjusted. The method is applied to a conference tablet, wherein at least one magnetic element is provided in a preset position area of the conference tablet. The method can be executed by a magnetic attraction control device, which can be implemented in hardware and / or software. This magnetic attraction control device can be configured in a conference tablet with data processing capabilities. Figure 2 As shown, the method includes:
[0035] S110 detects the current distance between the target module and the conference tablet in real time during the process of inserting or removing the target module into the conference tablet.
[0036] The target module refers to the module that needs to be fixed to the upper part of the conference tablet. Optionally, the target module includes a camera module and a microphone module. The conference tablet is a product designed for modern digital conference room applications. It uses a high-definition LCD screen as the display and operation platform and integrates multiple functions such as electronic whiteboard, wireless projection, remote conferencing, and high-definition display. At least one magnetic component (e.g., an electromagnet) is provided in a preset location area of the conference tablet. In this embodiment, the distribution location and number of magnetic components are not specifically limited and can be set according to actual needs. Specifically, taking an electromagnet as an example, the strength of the electromagnet's magnetic force is affected by various factors, including the Gauss value of the iron core, voltage, current, and the number of coil turns. The greater the current intensity, the greater the required wire thickness, i.e., the stronger the magnetic force. A magnetic force generated in the opposite direction of the current will also be reversed. The current distance can refer to the distance between the target module and the conference tablet at the current moment.
[0037] It should be noted that the distance between the target module and the conference tablet usually changes in real time during the process of inserting or removing the target module, therefore, real-time distance detection is necessary. For example, distance detection can be performed using a distance sensor or camera mounted on the top of the conference tablet.
[0038] Figure 3 This is a schematic diagram illustrating the position of a magnetic component according to Embodiment 1 of the present invention. Figure 3 As shown, A and B represent two permanent magnets distributed at the bottom of the target module, C and D represent two electromagnets (magnetic components) distributed at the top (upper frame) of the conference tablet, and the positions of C and D correspond to the positions of A and B respectively. E represents a distance sensor distributed at the top (upper frame) of the conference tablet, which can be used to detect the current distance between the target module and the conference tablet in real time.
[0039] S120, determine the current magnetic attraction force corresponding to the current distance based on the preset functional relationship between the target magnetic attraction force and the target distance and the current distance; wherein, the target magnetic attraction force is the magnetic attraction force between the target module and the magnetic component, and the target distance is the distance between the target module and the magnetic component.
[0040] The preset functional relationship can refer to a pre-defined functional relationship between the target magnetic attraction force and the target distance, such as a linear function or a non-linear function (such as an exponential function). The preset functional relationship can be in the form of a piecewise function, and different piecewise functions can be continuous or discontinuous (i.e., the endpoint values of different piecewise functions can be the same or abruptly different). The current magnetic attraction force can refer to the magnetic attraction force between the target module and the magnetic component at the current moment.
[0041] It can be understood that when the preset functional relationship between the target magnetic attraction and the target distance and the current distance are known, by substituting the current distance into the preset functional relationship for solution, the current magnetic attraction corresponding to the current distance can be quickly and accurately determined. Since the current distance changes in real time during the process of inserting or拔出 the target module from the conference tablet, the current magnetic attraction corresponding to different current distances can be obtained according to the preset functional relationship to achieve dynamic adjustment of the magnetic attraction between the target module and the magnetic part, thereby improving the insertion and removal experience of the target module. It should be noted that when the current distance between the target module and the conference tablet is less than the preset reference distance, the current magnetic attraction can be maintained at a reasonable level so that the target module can be stably on the upper frame of the conference tablet. The preset reference distance can be set according to actual needs, and this embodiment does not limit it.
[0042] In this embodiment, optionally, the preset functional relationship between the target magnetic attraction and the target distance includes any one of the following five types:
[0043] The first type:
[0044] The second type:
[0045] The third type:
[0046] The fourth type:
[0047] The fifth type: F = M;
[0048] Among them, F represents the target magnetic attraction, L represents the target distance, M is a preset constant, M>0, N is a preset constant, N>0, and a, b, c, d, e, p, q, k are constants respectively.
[0049] Exemplarily, when p = 0, the schematic diagram of the first preset functional relationship can be seen in Figure 4A . As Figure 4A shown, in the first preset functional relationship, when the target distance satisfies 0 < L ≤ N, the target magnetic attraction remains constant at M; when the target distance satisfies L > N, the target magnetic attraction satisfies an exponential function relationship (the exponent is less than 1). When q = 0, the schematic diagram of the second preset functional relationship can be seen in Figure 4B . As Figure 4B shown, in the second preset functional relationship, when the target distance satisfies 0 < L ≤ N, the target magnetic attraction remains constant at M; when the target distance satisfies L > N, the target magnetic attraction satisfies an exponential function relationship (the exponent is greater than 1).
[0050] Exemplarily, when k = M - cN, the schematic diagram of the third preset functional relationship can be seen in Figure 4C . As Figure 4C shown, in the third preset function relationship, when the target distance satisfies 0 < L ≤ N, the target magnetic attraction remains constant at M; when the target distance satisfies L > N, the target magnetic attraction satisfies a linear function relationship. A schematic diagram of the fourth preset function relationship can be seen in Figure 4D . As Figure 4D shown, in the fourth preset function relationship, when the target distance satisfies 0 < L ≤ N and L > N respectively, the target magnetic attraction satisfies different linear function relationships. Among them, when L = 0, F = M, and when L = N, F = 0. A schematic diagram of the fifth preset function relationship can be seen in Figure 4E . As Figure 4E shown, in the fifth preset function relationship, regardless of the target distance, the target magnetic attraction always remains constant at M.
[0051] Through such a setting in this solution, by the preset function relationship between the set target magnetic attraction and the target distance, when the current distance between the target module and the conference tablet is less than the preset reference distance N, the target magnetic attraction is set to the constant M, enabling the target module to be stably on the upper frame of the conference tablet and better meeting the user's needs.
[0052] S130, control the magnetic attraction between the target module and the magnetic part to be the current magnetic attraction.
[0053] In this embodiment, after determining the current magnetic attraction corresponding to the current distance, the magnetic attraction between the target module and the magnetic part can be controlled to be the current magnetic attraction. It should be noted that there is no limitation on the control method of the magnetic attraction in this embodiment, and it can be flexibly set according to actual needs. Exemplarily, taking the magnetic part as an electromagnet, since the magnetic force of the electromagnet is affected by multiple factors such as the Gauss value of the iron core, voltage, current, and the number of turns of the coil, the magnetic attraction between the target module and the magnetic part can be controlled to be the current magnetic attraction by adjusting the value of any one or more influencing factors.
[0054] In the technical solution of the embodiment of the present invention, during the process of inserting or pulling out the target module from the conference tablet, the current distance between the target module and the conference tablet is detected in real time; according to the preset function relationship between the target magnetic attraction and the target distance and the current distance, the current magnetic attraction corresponding to the current distance is determined; where the target magnetic attraction is the magnetic attraction between the target module and the magnetic part, and the target distance is the distance between the target module and the magnetic part; control the magnetic attraction between the target module and the magnetic part to be the current magnetic attraction. This technical solution sets a magnetic part on the conference tablet, which can dynamically adjust the magnetic attraction between the module and the magnetic part according to the distance between the module and the conference tablet, making the module insertion and extraction smooth, improving the user's insertion and extraction experience, and better meeting the user's needs.
[0055] In this embodiment, optionally, determining the current magnetic attraction force corresponding to the current distance based on a preset functional relationship between the target magnetic attraction force and the target distance and the current distance includes: determining the target current corresponding to the current distance based on a preset mapping relationship between the input magnetic component current and the target distance and the current distance; wherein the mapping relationship enables the target magnetic attraction force and the target distance to satisfy a preset functional relationship; determining the current magnetic attraction force corresponding to the current distance based on the target current; controlling the magnetic attraction force between the target module and the magnetic component to be the current magnetic attraction force includes: controlling the current of the input magnetic component to be the target current, so as to control the magnetic attraction force between the target module and the magnetic component to be the current magnetic attraction force.
[0056] The target current can refer to the current corresponding to the current distance, determined based on a pre-set mapping relationship between the input magnetic component current and the target distance, and the current distance itself. This mapping relationship ensures that the target magnetic attraction force and the target distance satisfy a pre-defined functional relationship. For example, the mapping relationship can be expressed as I = f(L), where I represents the input magnetic component current and L represents the target distance.
[0057] In this embodiment, the magnetic attraction between the target module and the magnetic component can be controlled by controlling the input magnetic component current. Specifically, the current distance is first substituted into a pre-set mapping relationship between the input magnetic component current and the target distance to obtain the target current corresponding to the current distance. Since the mapping relationship ensures that the target magnetic attraction and the target distance satisfy a preset functional relationship, the current magnetic attraction corresponding to the current distance can be determined based on the target current. Then, the current of the input magnetic component is controlled to be the target current, and the magnetic attraction between the target module and the magnetic component is controlled to be the current magnetic attraction.
[0058] It should be noted that since the current distance between the target module and the conference tablet changes in real time during insertion or removal, the target current at different current distances can be obtained based on the mapping relationship. This allows for the determination of the current magnetic attraction force based on the target current at different current distances, enabling dynamic adjustment of the magnetic attraction force between the target module and the magnetic components. This improves the insertion and removal experience of the target module. When the current distance between the target module and the conference tablet is less than a preset reference distance, maintaining the current magnetic attraction force at a reasonable and stable level ensures that the target module remains stable on the conference tablet frame. The target current at this point can be defined as the stable current.
[0059] This solution, through this setting, can quickly and accurately determine the target current corresponding to the current distance based on the mapping relationship between the input magnetic component current and the target distance, as well as the current distance. This allows for dynamic adjustment of the magnetic attraction force between the target module and the magnetic component based on the target current at different current distances, ensuring smooth insertion and removal of the target module and thus improving the insertion and removal experience.
[0060] In this embodiment, optionally, before determining the target current corresponding to the current distance based on the preset mapping relationship between the input magnetic component current and the target distance and the current distance, the method further includes: determining a preset functional relationship between the target magnetic attraction force and the target distance; determining a target functional relationship between the target magnetic attraction force, the input magnetic component current, and the target distance; and determining the mapping relationship between the input magnetic component current and the target distance based on the target functional relationship and the preset functional relationship.
[0061] The target functional relationship can refer to the functional relationship between the target magnetic attraction force, the input magnetic current, and the target distance. For example, taking an electromagnet as the magnetic component, based on the characteristics of an electromagnet, the target magnetic attraction force can be expressed as F = 4B²S × 10, where F represents the target magnetic attraction force, B represents the magnetic flux density, and S represents the cross-sectional area of the iron core. Since the magnetic flux density can be expressed as B = kI₀ / L, where k is a constant coefficient, I₀ represents the input electromagnet current, and L represents the target distance, the target magnetic attraction force can be further expressed as F = 4 × 2S × 10 × kI₀ / L. The formula F = 4 × 2S × 10 × kI₀ / L reflects the functional relationship between the target magnetic attraction force, the input electromagnet current, and the target distance; therefore, this formula can be defined as the target functional relationship between the target magnetic attraction force, the input electromagnet current, and the target distance.
[0062] In this embodiment, a preset functional relationship between the target magnetic attraction force and the target distance is first determined, as detailed in [reference needed]. Figures 4A-4E The system uses five preset function relationships. Then, based on the characteristics of the magnetic component, it determines the target function relationship between the target magnetic attraction force, the input magnetic component current, and the target distance. Furthermore, it determines the mapping relationship between the input magnetic component current and the target distance based on the target function relationship and the preset function relationships. For example, using... Figure 4A Taking the preset function relationship as an example, and taking F=4×2S×10×kI0 / L as the objective function relationship, the following mapping relationship can be obtained:
[0063]
[0064] This solution, through such a setting, can quickly determine the mapping relationship between the input magnetic component current and the target distance based on the objective function relationship and the preset function relationship, so that the target current corresponding to the current distance can be determined later based on the mapping relationship and the current distance.
[0065] In this embodiment, optionally, the method further includes: comparing the current distance with the previous distance; when the current distance is less than the previous distance, controlling the direction of the current input to the magnetic component to be a first direction; wherein the first direction makes the magnetic attraction between the target module and the magnetic component attractive; when the current distance is greater than the previous distance, controlling the direction of the current input to the magnetic component to be a second direction; wherein the second direction makes the magnetic attraction between the target module and the magnetic component repulsive.
[0066] Here, "previous distance" refers to the distance between the target module and the conference tablet detected at the previous detection time before the current time; that is, the distance between the target module and the conference tablet at the previous distance detection point before the current distance. "First direction" can refer to the direction of the current that makes the magnetic attraction between the target module and the magnetic component attractive. "Second direction" can refer to the direction of the current that makes the magnetic attraction between the target module and the magnetic component repulsive. It should be noted that inserting the target module into the conference tablet mainly relies on the attractive force of the magnetic component, while removing the target module from the conference tablet mainly relies on the repulsive force of the magnetic component. Specifically, the magnetic attraction or repulsive force can be controlled by adjusting the direction of the current input to the magnetic component.
[0067] In this embodiment, the current distance obtained through real-time detection is first compared with the previous distance. Then, the direction of the current input to the magnetic component is controlled based on the comparison result. By controlling the current direction, the magnetic attraction force can be controlled to be either attractive or repulsive. Specifically, when the current distance is less than the previous distance, it indicates that the target module is being inserted into the conference tablet. In this case, the direction of the current input to the magnetic component needs to be controlled in the first direction, so that the magnetic attraction force between the target module and the magnetic component is attractive. When the current distance is greater than the previous distance, it indicates that the target module is being pulled out of the conference tablet. In this case, the direction of the current input to the magnetic component needs to be controlled in the second direction, so that the magnetic attraction force between the target module and the magnetic component is repulsive. The preset functional relationship between the repulsive and attractive forces can be kept consistent, making it convenient for users to remove the target module and thus improving the user experience.
[0068] This solution, through such a setting, can determine whether the target module is being inserted into or removed from the conference tablet based on the comparison between the current distance and the previous distance. It can also adaptively adjust the current direction for different insertion and removal situations to adjust the magnetic attraction direction, making the module insertion and removal smooth and further improving the user's insertion and removal experience.
[0069] Example 2
[0070] Figure 5 This is a flowchart of a magnetic attraction control method provided in Embodiment 2 of the present invention. This embodiment is an optimization based on the above embodiment.
[0071] like Figure 5 As shown, the method in this embodiment specifically includes the following steps:
[0072] S210, during the process of inserting the target module into or removing it from the conference tablet, detects the current distance between the target module and the conference tablet in real time.
[0073] S220: Determine if the current distance is less than the preset distance threshold. If yes, execute S230-S240; otherwise, execute S250.
[0074] The preset distance threshold can refer to a pre-set distance reference value, which can be set according to actual application requirements. It should be noted that in the preset functional relationship between the target magnetic force and the target distance, if the target magnetic force and the target distance are positively correlated, then the larger the target distance, the larger the corresponding target magnetic force. However, this preset functional relationship only applies to target distances within a certain range. When the target distance is large (exceeding the applicable distance range), this preset functional relationship cannot be applied to actual module insertion and removal situations. Therefore, before determining the current magnetic force corresponding to the current distance based on the preset functional relationship between the target magnetic force and the target distance and the current distance, it is necessary to first determine whether the current distance meets the applicable distance range, i.e., whether the current distance is less than the preset distance threshold. If the current distance is less than the preset distance threshold, it means that the current distance meets the applicable range. At this time, the current magnetic attraction force corresponding to the current distance can be determined according to the preset functional relationship between the target magnetic attraction force and the target distance and the current distance, and the magnetic attraction force between the target module and the magnetic component can be controlled to be the current magnetic attraction force. If the current distance is greater than or equal to the preset distance threshold, it means that the current distance does not meet the applicable range. At this time, the current of the input magnetic component can be directly controlled to be 0, thereby reducing the calculation complexity and improving the magnetic attraction force adjustment efficiency.
[0075] S230, based on the preset functional relationship between the target magnetic attraction force and the target distance and the current distance, determine the current magnetic attraction force corresponding to the current distance; wherein, the target magnetic attraction force is the magnetic attraction force between the target module and the magnetic component, and the target distance is the distance between the target module and the magnetic component.
[0076] S240, control the magnetic attraction force between the target module and the magnetic component to the current magnetic attraction force.
[0077] The specific implementation methods of S230-S240 can be found in the detailed description of S120-S130, and will not be repeated here.
[0078] S250 controls the current of the input magnetic component to be 0.
[0079] The technical solution of this invention, before determining the current magnetic attraction force corresponding to the current distance based on the preset functional relationship between the target magnetic attraction force and the target distance and the current distance, determines whether the current distance is less than a preset distance threshold; when the current distance is less than the preset distance threshold, the current magnetic attraction force corresponding to the current distance is determined based on the preset functional relationship between the target magnetic attraction force and the target distance and the current distance; the magnetic attraction force between the target module and the magnetic component is controlled to be the current magnetic attraction force; when the current distance is greater than or equal to the preset distance threshold, the current input to the magnetic component is controlled to be 0. This technical solution, by setting a magnetic component on the conference tablet, can dynamically adjust the magnetic attraction force between the module and the magnetic component according to the distance between the module and the conference tablet, making module insertion and removal smooth and improving the user's insertion and removal experience. It also reduces computational complexity and improves the efficiency of magnetic attraction force adjustment to better meet user needs.
[0080] Example 3
[0081] Figure 6 This is a schematic diagram of a magnetic attraction control device provided in Embodiment 3 of the present invention. The device is configured on a conference tablet, wherein at least one magnetic element is provided in a preset position area of the conference tablet. The device can execute the magnetic attraction control method provided in any embodiment of the present invention, and possesses the corresponding functional modules and beneficial effects of the method. For example... Figure 6 As shown, the device includes:
[0082] The current distance detection module 310 is used to detect the current distance between the target module and the conference tablet in real time during the process of inserting the target module into the conference tablet or removing it from the conference tablet;
[0083] The current magnetic attraction force determination module 320 is used to determine the current magnetic attraction force corresponding to the current distance based on a preset functional relationship between the target magnetic attraction force and the target distance and the current distance; wherein, the target magnetic attraction force is the magnetic attraction force between the target module and the magnetic component, and the target distance is the distance between the target module and the magnetic component;
[0084] The magnetic attraction force control module 330 is used to control the magnetic attraction force between the target module and the magnetic component to the current magnetic attraction force.
[0085] Optionally, the current magnetic attraction force determination module 320 is used for:
[0086] Based on a pre-defined mapping relationship between the input magnetic component current and the target distance, and the current distance, a target current corresponding to the current distance is determined; wherein, the mapping relationship enables the target magnetic attraction force and the target distance to satisfy a preset functional relationship;
[0087] Determine the current magnetic attraction force corresponding to the current distance based on the target current;
[0088] The magnetic attraction control module 330 is used for:
[0089] The current input to the magnetic component is controlled as the target current, so as to control the magnetic attraction force between the target module and the magnetic component as the current magnetic attraction force.
[0090] Optionally, the current magnetic attraction force determination module 320 is further configured to:
[0091] Before determining the target current corresponding to the current distance based on the preset mapping relationship between the input magnetic component current and the target distance and the current distance, a preset functional relationship between the target magnetic attraction force and the target distance is determined;
[0092] Determine the target functional relationship between the target magnetic attraction force, the input magnetic component current, and the target distance;
[0093] Based on the target function relationship and the preset function relationship, the mapping relationship between the input magnetic component current and the target distance is determined.
[0094] Optionally, the preset functional relationship between the target magnetic attraction force and the target distance includes any one of the following five types:
[0095] The first type:
[0096] The second type:
[0097] The third type:
[0098] The fourth type:
[0099] Fifth type: F = M;
[0100] Where F represents the target magnetic attraction force, L represents the target distance, M is a preset constant (M>0), N is a preset constant (N>0), and a, b, c, d, e, p, q, and k are constants.
[0101] Optionally, the device further includes:
[0102] The current distance determination module is used to determine whether the current distance is less than a preset distance threshold before determining the current magnetic attraction force corresponding to the current distance based on the preset functional relationship between the target magnetic attraction force and the target distance and the current distance.
[0103] The current magnetic attraction force determination module 320 is also used for:
[0104] When the current distance is less than the preset distance threshold, the current magnetic attraction force corresponding to the current distance is determined according to the preset functional relationship between the target magnetic attraction force and the target distance and the current distance.
[0105] Optionally, the current magnetic attraction force determination module 320 is further configured to:
[0106] When the current distance is greater than or equal to the preset distance threshold, the current input to the magnetic component is controlled to be 0.
[0107] Optionally, the device further includes:
[0108] A distance comparison module is used to compare the current distance with the previous distance.
[0109] A first direction control module is used to control the direction of the current input to the magnetic component to a first direction when the current distance is less than the previous distance; wherein, the first direction makes the magnetic attraction between the target module and the magnetic component an attractive force;
[0110] The second direction control module is used to control the direction of the current input to the magnetic component to be a second direction when the current distance is greater than the previous distance; wherein the second direction makes the magnetic attraction force between the target module and the magnetic component a repulsive force.
[0111] Optionally, the target module includes a camera module and a microphone module.
[0112] The magnetic attraction control device provided in this embodiment of the invention can execute a magnetic attraction control method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.
[0113] Example 4
[0114] Figure 7 A schematic diagram of a conference tablet 10, which can be used to implement embodiments of the present invention, is shown. The conference tablet is intended to represent various forms of digital computers, such as laptops, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The conference tablet can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0115] like Figure 7As shown, the conference tablet 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the conference tablet 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0116] Multiple components in the conference tablet 10 are connected to the I / O interface 15, including: input units 16, such as a keyboard and mouse; output units 17, such as various types of displays and speakers; storage units 18, such as disks and optical discs; and communication units 19, such as network interface cards, modems, and wireless transceivers. The communication unit 19 allows the conference tablet 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0117] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the magnetic force control method.
[0118] In some embodiments, the magnetic force control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on the conference tablet 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the magnetic force control method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the magnetic force control method by any other suitable means (e.g., by means of firmware).
[0119] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0120] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0121] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0122] To provide user interaction, the systems and techniques described herein can be implemented on a conference tablet having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the conference tablet. Other types of devices can also be used to provide user interaction; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including voice input, speech input, or tactile input).
[0123] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0124] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0125] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0126] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A magnetic attraction force control method, characterized in that, Applied to a conference tablet, wherein at least one magnetic element is provided in a preset position area of the conference tablet, including: During the process of inserting the target module into or removing it from the conference tablet, the current distance between the target module and the conference tablet is detected in real time. Based on a preset functional relationship between the target magnetic attraction force and the target distance, and the current distance, the current magnetic attraction force corresponding to the current distance is determined; wherein, the target magnetic attraction force is the magnetic attraction force between the target module and the magnetic component, and the target distance is the distance between the target module and the magnetic component; The magnetic attraction force between the target module and the magnetic component is controlled to the current magnetic attraction force. The preset function relationship refers to the pre-defined function relationship between the target magnetic attraction force and the target distance. The current distance changes in real time, and the current magnetic attraction force corresponding to different current distances is obtained according to the preset function relationship. The method further includes: Compare the current distance with the previous distance; When the current distance is less than the previous distance, it indicates that the target module is being inserted into the conference tablet, and the direction of the current input to the magnetic component is a first direction; wherein, the first direction makes the magnetic attraction between the target module and the magnetic component an attraction force; When the current distance is greater than the previous distance, it indicates that the target module is being pulled out of the conference tablet, and the direction of the current input to the magnetic component is controlled to be a second direction; wherein, the second direction makes the magnetic attraction between the target module and the magnetic component a repulsive force.
2. The method according to claim 1, characterized in that, Based on a preset functional relationship between the target magnetic attraction force and the target distance, and the current distance, determine the current magnetic attraction force corresponding to the current distance, including: Based on a pre-defined mapping relationship between the input magnetic component current and the target distance, and the current distance, a target current corresponding to the current distance is determined; wherein, the mapping relationship enables the target magnetic attraction force and the target distance to satisfy a preset functional relationship; Determine the current magnetic attraction force corresponding to the current distance based on the target current; Controlling the magnetic attraction force between the target module and the magnetic component to the current magnetic attraction force includes: The current input to the magnetic component is controlled as the target current, so as to control the magnetic attraction force between the target module and the magnetic component as the current magnetic attraction force.
3. The method according to claim 2, characterized in that, Before determining the target current corresponding to the current distance based on the pre-set mapping relationship between the input magnetic component current and the target distance and the current distance, the process further includes: Determine a preset functional relationship between the target magnetic attraction force and the target distance; Determine the target functional relationship between the target magnetic attraction force, the input magnetic component current, and the target distance; Based on the target function relationship and the preset function relationship, the mapping relationship between the input magnetic component current and the target distance is determined.
4. The method according to claim 1, characterized in that, The preset functional relationship between the target magnetic attraction force and the target distance includes any one of the following five types: The first type: ; The second type: ; The third type: ; The fourth type: ; The fifth type: ; Where F represents the magnetic attraction force to the target, and L represents the distance to the target. For a pre-defined constant, , For a pre-defined constant, , They are constants.
5. The method according to claim 1, characterized in that, Before determining the current magnetic attraction force corresponding to the current distance based on the preset functional relationship between the target magnetic attraction force and the target distance and the current distance, the method further includes: Determine whether the current distance is less than a preset distance threshold; Based on a preset functional relationship between the target magnetic attraction force and the target distance, and the current distance, determine the current magnetic attraction force corresponding to the current distance, including: When the current distance is less than the preset distance threshold, the current magnetic attraction force corresponding to the current distance is determined according to the preset functional relationship between the target magnetic attraction force and the target distance and the current distance.
6. The method according to claim 5, characterized in that, Also includes: When the current distance is greater than or equal to the preset distance threshold, the current input to the magnetic component is controlled to be 0.
7. A magnetic attraction force control device, characterized in that, Configured on a conference tablet, wherein at least one magnetic element is provided in a preset position area of the conference tablet, including: The current distance detection module is used to detect the current distance between the target module and the conference tablet in real time during the process of inserting the target module into the conference tablet or removing it from the conference tablet; The current magnetic attraction force determination module is used to determine the current magnetic attraction force corresponding to the current distance based on a preset functional relationship between the target magnetic attraction force and the target distance and the current distance; wherein, the target magnetic attraction force is the magnetic attraction force between the target module and the magnetic component, and the target distance is the distance between the target module and the magnetic component; A magnetic attraction force control module is used to control the magnetic attraction force between the target module and the magnetic component to the current magnetic attraction force. The preset function relationship refers to the pre-defined function relationship between the target magnetic attraction force and the target distance. The current distance changes in real time, and the current magnetic attraction force corresponding to different current distances is obtained according to the preset function relationship. The device further includes: A distance comparison module is used to compare the current distance with the previous distance. The first direction control module is used to control the direction of the current input to the magnetic component to be the first direction when the current distance is less than the previous distance, indicating that the target module is being inserted into the conference tablet; wherein, the first direction makes the magnetic attraction between the target module and the magnetic component attractive. The second direction control module is used to control the direction of the current input to the magnetic component to be the second direction when the current distance is greater than the previous distance, indicating that the target module is being pulled out of the conference tablet; wherein, the second direction makes the magnetic attraction between the target module and the magnetic component a repulsive force.
8. A conference flat panel, characterized in that, The conference tablet has at least one magnetic element in a preset position area, and the conference tablet includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the magnetic attraction control method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the magnetic attraction control method according to any one of claims 1-6.