Key structure parameter determination method and device, electronic equipment and storage medium

CN122839477APending Publication Date: 2026-09-29GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510374629.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2026-09-29

AI Technical Summary

Technical Problem

按键结构的触发距离是影响其可靠性的关键因素之一,过长的按键结构的触发距离会降低按键结构的响应速度,而过短的触发距离又会导致按键结构过于灵敏而误触发,都会降低按键结构的可靠性

Benefits of technology

[0046]本申请提供的一种按键结构的参数确定方法、装置、电子设备及存储介质,获取按键结构包括的各个部件对应的当前设计尺寸,根据各个部件对应的当前设计尺寸以及各个部件对应的尺寸误差范围,随机生成多组模拟结构参数,根据多组模拟结构参数,确定每组模拟结构参数分别对应的目标模拟参数,根据多组模拟结构参数分别对应的目标模拟参数,统计得到模拟期望值,并在模拟期望值与目标期望值不匹配的情况下,通过调整至少部分的部件对应的当前设计尺寸,直至模拟期望值与目标期望值匹配。在本申请实施例中,依据按键结构各个部件对应的当前设计尺寸,以及各个部件对应的尺寸误差范围,随机生成多组模拟结构参数,实现按键结构的模拟生产,并根据多组模拟结构参数分别对应的目标模拟参数确定模拟期望值,该目标模拟参数包括模拟按键行程和/或模拟安装间距,模拟按键行程和/或模拟安装间距可以表征按键结构的触发距离,在模拟期望值与目标期望值不匹配的情况下,说明按键结构的触发距离不符合预期,则对按键结构的至少部分的部件对应的当前设计尺寸进行调整,直至模拟期望值与目标期望值匹配,因此,在按键结构的设计过程中,可对按键结构的生产进行模拟,并调整按键结构的设计尺寸,使得按键结构的触发距离符合预期,从而提高了按键结构的可靠性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122839477A_ABST
    Figure CN122839477A_ABST
Patent Text Reader

Abstract

The application discloses a parameter determination method and device of a key structure, electronic equipment and a storage medium. The method comprises the following steps: obtaining current design sizes of each component included in the key structure; generating a plurality of groups of simulation structure parameters according to the current design sizes of each component and the size error ranges of each component; determining target simulation parameters corresponding to each group of simulation structure parameters according to the target simulation parameters corresponding to each group of simulation structure parameters; obtaining a simulation expectation value by statistics according to the target simulation parameters corresponding to each group of simulation structure parameters; and adjusting the current design sizes of at least part of the components until the simulation expectation value matches a target expectation value, if the simulation expectation value does not match the target expectation value. The production of the key structure can be simulated through the application, and the design size of the key structure is adjusted, so that the trigger distance of the key structure meets the expectation, thereby improving the reliability of the key structure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of product management technology, specifically to a method, apparatus, electronic device, and storage medium for determining the parameters of a button structure. Background Technology

[0002] Button structures are widely used in modern electronic devices such as mobile phones, remote controls, computer keyboards, and car navigation systems. They are crucial components for facilitating user interaction with these devices. Therefore, ensuring sufficient reliability of the button structure can improve the performance of electronic devices and user satisfaction. The trigger distance of the button structure is a key factor affecting its reliability. An excessively long trigger distance reduces the button's response speed, while an excessively short trigger distance can lead to oversensitivity and false triggers, both of which reduce reliability. The design dimensions of the button structure directly affect its trigger distance. Therefore, adjusting the design dimensions of the button structure to improve its reliability has become a pressing technical problem to be solved. Summary of the Invention

[0003] This application discloses a method, apparatus, electronic device, and storage medium for determining the parameters of a button structure, which can accurately adjust the design dimensions of the button structure components, thereby improving the reliability of the button structure.

[0004] A first aspect of this application discloses a method for determining parameters of a button structure, wherein the button structure includes one or more components; the method includes:

[0005] Obtain the current design dimensions of each component included in the button structure;

[0006] Based on the current design dimensions of each component and the size error range of each component, multiple sets of simulated structural parameters are randomly generated. Each set of simulated structural parameters includes the simulated design dimensions of each component.

[0007] Based on the multiple sets of simulated structural parameters, the target simulated parameters corresponding to each set of simulated structural parameters are determined. The target simulated parameters include simulated key travel and / or simulated installation spacing.

[0008] Based on the target simulation parameters corresponding to the multiple sets of simulated structural parameters, the expected simulation value is obtained statistically.

[0009] If the simulated expected value does not match the target expected value, then adjust the current design dimensions of at least some of the components until the simulated expected value matches the target expected value.

[0010] In some possible embodiments, the step of statistically obtaining the simulation expectation value based on the target simulation parameters corresponding to the multiple sets of simulation structure parameters includes:

[0011] By fitting a normal distribution to the target simulation parameters corresponding to the multiple sets of simulated structural parameters, a first function expression is obtained;

[0012] Calculate the mathematical expectation of the first function expression to obtain the simulated expected value.

[0013] In some possible embodiments, adjusting at least a portion of the current design dimensions of the component includes:

[0014] Obtain the difference between the simulated expected value and the target expected value;

[0015] Based on the difference, the current design dimensions of at least some of the components are adjusted to obtain new current design dimensions for each component.

[0016] In some possible embodiments, the method further includes:

[0017] Obtain the actual structural parameters corresponding to the multiple sets of button structures, wherein the actual structural parameters include the actual dimensions of each component;

[0018] Based on the multiple sets of actual structural parameters, determine the target parameters corresponding to each set of actual structural parameters;

[0019] Based on the target parameters corresponding to the multiple sets of actual structural parameters, the expected target value is statistically obtained.

[0020] In some possible embodiments, the target parameter includes the actual key travel, and the target expected value includes a first target expected value corresponding to the actual key travel;

[0021] The step of statistically obtaining the target expected value based on the target parameters corresponding to the multiple sets of actual structural parameters includes:

[0022] Statistical analysis was performed on the actual key travel corresponding to the multiple sets of actual structural parameters to determine the frequency of occurrence of each actual key travel.

[0023] The occurrence frequency corresponding to each actual key travel is fitted with a normal distribution to obtain the second function expression;

[0024] The first target expected value is determined based on the second function expression;

[0025] And / or,

[0026] The target parameters include the actual installation spacing, and the target expected value includes a second target expected value corresponding to the actual installation spacing; the step of statistically obtaining the target expected value based on the target parameters corresponding to the multiple sets of actual structural parameters includes:

[0027] Statistical analysis was performed on the actual installation spacings corresponding to the multiple sets of actual structural parameters to determine the frequency of occurrence of each actual installation spacing.

[0028] The occurrence frequency corresponding to each actual installation spacing is fitted with a normal distribution to obtain the third function expression;

[0029] The second target expected value is determined based on the third function expression.

[0030] In some possible embodiments, the button structure is disposed on a terminal device, the terminal device including a housing, the housing having a through hole;

[0031] The button structure includes a press button, a press rod, and a switch assembly. The switch assembly is disposed within the housing and includes a bracket and a micro switch disposed on the bracket. The micro switch is disposed corresponding to the through hole. The press rod passes through the through hole, and the first end of the press rod is located inside the housing to correspond to the micro switch. The press button is disposed at the second end of the press rod and has a gap between it and the side surface of the housing with the through hole.

[0032] The maximum distance between the side surface of the press button near the housing and the side surface of the housing with the through hole is the button travel; the maximum distance between the first end of the press rod and the micro switch is the mounting spacing.

[0033] In some possible embodiments, the bracket includes a main body and two connecting portions connected to both sides of the main body, the micro switch is disposed on the main body, and the connecting portions extend along the axial direction of the through hole and are connected to the housing;

[0034] The adjustment of at least a portion of the current design dimensions of the components includes:

[0035] Adjust the lateral length of the connecting portion, wherein the lateral length of the connecting portion is the extension length along the axial direction of the through hole;

[0036] And / or,

[0037] Adjust the length of the pressing rod, wherein the length of the pressing rod is the length of the rod body along the axial direction of the through hole.

[0038] A second aspect of this application discloses a parameter determination device for a button structure, wherein the button structure includes one or more components; the device includes:

[0039] The acquisition module is used to acquire the current design dimensions of each component included in the button structure;

[0040] The generation module is used to randomly generate multiple sets of simulated structural parameters based on the current design dimensions of each component and the size error range of each component. Each set of simulated structural parameters includes the simulated design dimensions of each component.

[0041] The calculation module is used to determine the target simulation parameters corresponding to each set of simulated structural parameters based on the multiple sets of simulated structural parameters. The target simulation parameters include simulated key travel and / or simulated installation spacing.

[0042] The calculation module is also used to statistically obtain the simulation expectation value based on the target simulation parameters corresponding to the multiple sets of simulation structure parameters;

[0043] An adjustment module is used to adjust the current design dimensions of at least a portion of the components if the simulated expected value does not match the target expected value, until the simulated expected value matches the target expected value.

[0044] A third aspect of this application discloses an electronic device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor implements the parameter determination method for the button structure as described in any of the above embodiments.

[0045] A fourth aspect of this application discloses a computer-readable storage medium storing a computer program thereon, which, when executed by a processor in an electronic device, causes the electronic device to implement the parameter determination method for the button structure as described in any of the preceding embodiments.

[0046] This application provides a method, apparatus, electronic device, and storage medium for determining parameters of a button structure. The method involves obtaining the current design dimensions of each component within the button structure, randomly generating multiple sets of simulated structural parameters based on the current design dimensions and dimensional error ranges of each component, determining target simulated parameters for each set of simulated structural parameters, statistically obtaining simulated expected values ​​based on the target simulated parameters corresponding to the multiple sets of simulated structural parameters, and adjusting the current design dimensions of at least some components until the simulated expected values ​​match the target expected values ​​when the simulated expected values ​​do not match the target expected values. In this embodiment, multiple sets of simulated structural parameters are randomly generated based on the current design dimensions of each component of the button structure and the dimensional error range of each component. This enables simulated production of the button structure. Simulated expected values ​​are determined based on the target simulated parameters corresponding to each set of simulated structural parameters. These target simulated parameters include simulated button travel and / or simulated installation spacing. The simulated button travel and / or simulated installation spacing characterize the trigger distance of the button structure. If the simulated expected value does not match the target expected value, it indicates that the trigger distance of the button structure does not meet expectations. In this case, the current design dimensions of at least some components of the button structure are adjusted until the simulated expected value matches the target expected value. Therefore, during the design process of the button structure, the production of the button structure can be simulated, and the design dimensions of the button structure can be adjusted to ensure that the trigger distance of the button structure meets expectations, thereby improving the reliability of the button structure. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1A This application scenario diagram illustrates a method for determining the parameters of a button structure provided in an embodiment of this application.

[0049] Figure 1B This is a partially enlarged structural diagram of the F region of the button structure provided in an embodiment of this application;

[0050] Figure 2 A flowchart illustrating a method for determining the parameters of a button structure provided in this application embodiment;

[0051] Figure 3 This is a schematic diagram of the button structure provided in the embodiments of this application, which is disposed on a terminal device.

[0052] Figure 4A schematic diagram illustrating the determination of simulated key travel provided in an embodiment of this application;

[0053] Figure 5 A schematic diagram illustrating the determination of simulated installation intervals provided in an embodiment of this application;

[0054] Figure 6 A flowchart for determining the target expected value provided in the embodiments of this application;

[0055] Figure 7A A flowchart for determining the first target expected value corresponding to the actual key travel provided in this application embodiment;

[0056] Figure 7B A flowchart for determining the second target expected value corresponding to the actual installation interval provided in this application embodiment;

[0057] Figure 8 A flowchart for determining the simulated expected value provided in the embodiments of this application;

[0058] Figure 9 A flowchart illustrating the adjustment of the current design dimensions of at least some of the components provided in this application embodiment;

[0059] Figure 10 A structural block diagram of a parameter determination device for a button structure provided in an embodiment of this application;

[0060] Figure 11 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0061] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0062] It should be noted that the terms "comprising" and "having," and any variations thereof, in the embodiments and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.

[0063] Furthermore, "at least one" refers to one or more, while "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0064] The method for determining the parameters of the button structure provided in this application embodiment can be applied to electronic devices, including but not limited to personal computers, tablet computers, laptop computers, mobile phones, etc.

[0065] For example, Figure 1A This is a schematic diagram of a button structure provided in an embodiment of this application. Figure 1B This is a partially enlarged structural diagram of the F region of the button structure provided in an embodiment of this application. (See attached diagram.) Figure 1A and Figure 1B As shown, the button structure 100 is installed on the terminal device, which may include, but is not limited to, various electronic products with button structure 100 such as mobile phones, computers, wearable devices and remote controls.

[0066] The terminal device includes a housing 200, and a button structure 100 includes a press button 110, a press rod 120, and a switch assembly 130. The housing 200 of the terminal device has a through hole 201. The switch assembly 130 is disposed inside the housing 200. The switch assembly 130 includes a bracket 132 and a micro switch 131 disposed on the bracket 132. The micro switch 131 is disposed corresponding to the through hole 201. The press rod 120 passes through the through hole 201 and the first end of the press rod 120 is located inside the housing 200 to correspond to the micro switch 131. The press button 110 is disposed at the second end of the press rod 120 and has a gap between it and the side surface of the housing 200 where the through hole 201 is located.

[0067] The bracket 132 includes a main body 1321 and two connecting parts 1322 connected to both sides of the main body 1321. The micro switch 131 is disposed on the main body 1321. The connecting parts 1322 extend along the axial direction X of the through hole 201 and are connected to the housing 200.

[0068] The maximum distance between the side surface of the press button 110 near the housing 200 and the side surface of the housing 200 with the through hole 201 is the button travel L1; the maximum distance between the first end of the press rod 120 and the micro switch 131 is the installation spacing L2.

[0069] It should be noted that the button structure 100 may also include more or fewer parts. For example, the switch assembly 130 may also include adhesive 135, reinforcing sheet 134, flexible circuit board 133 (Flexible Printed Circuit, abbreviated as FPC) and pad 136, etc.

[0070] In some embodiments, the pressing rod 120 may include three parts: a pressing rod head 121, a pressing rod body 122, and a pressing rod tail 123. The pressing rod head 121 may include the head of the pressing rod 120 that is engaged with a gasket 136 inside the terminal device housing 200. The pressing rod tail 123 may include the portion of the pressing rod 120 that overlaps with the pressing key 110. The pressing rod body 122 may include the remaining portion of the pressing rod 120 excluding the pressing rod head 121 and the pressing rod tail 123. The length of the pressing rod 120 may refer to the length of the pressing rod body 122 along the axial direction of the through hole.

[0071] In some embodiments, a protrusion 202 is provided on the outer surface of the housing 200 corresponding to the periphery of the through hole 201, and a recess 111 is provided on the pressing key 110 corresponding to the protrusion 202. Optionally, the pressing rod 120 can be cylindrical, the protrusion 202 can be a cylindrical protrusion, and the recess 111 can be a cylindrical groove. The inner diameter of the protrusion 202 is the same as or close to the diameter of the pressing rod 120, the diameter of the recess 111 is not less than the outer diameter of the protrusion 202, and the recess depth of the recess 111 is not less than the protrusion height of the protrusion 202 along the axial direction X of the through hole 201. It should be noted that the pressing rod 120 can also be other shapes, such as a polygonal rod or an irregular rod, and the size and shape of the protrusion 202 and the recess 111 can be adapted to the size and shape of the pressing rod 120.

[0072] Optionally, the side surface of the press button 110 facing the housing 200 may include a first surface 112 and a second surface 113 corresponding to the recess 111, and the outer surface of the housing 200 includes a third surface 203 and a fourth surface 204 corresponding to the protrusion 202. The button travel L1 may be the maximum distance between the first surface 112 and the third surface 203 of the housing 200.

[0073] The design dimensions of each component in the button structure 100 may include the length of each component in the axial direction X along the through hole 201. The length may refer to the maximum distance between the two ends of the component in the axial direction X along the through hole 201.

[0074] The reliability of the button structure 100 refers to its ability to maintain stable button function during prolonged use. The reliability of the button structure 100 may include one or more of the following: trigger difficulty, sensitivity, response speed, or accuracy. The larger the specific values ​​corresponding to the button travel L1 and / or mounting interval L2, the lower the reliability of the button structure 100; conversely, the smaller the specific values ​​corresponding to the button travel L1 and / or mounting interval L2, the lower the reliability of the button structure 100. In other words, both excessively large and excessively small values ​​corresponding to the button travel L1 and / or mounting interval L2 will lead to a decrease in the reliability of the button structure 100. Therefore, by ensuring that the design dimensions of each component of the button structure 100 meet expectations to achieve appropriate button travel L1 and / or mounting interval L2, the reliability of the button structure 100 can be improved.

[0075] Since the actual manufactured key structure 100 typically undergoes rigorous quality control and inspection processes to ensure high reliability, suitable key travel L1 and / or mounting interval L2 can be determined from a large number of actually manufactured key structures 100. This information can then guide adjustments to the design dimensions of each component of the key structure 100. Therefore, by obtaining the actual key travel and / or actual mounting interval of a key structure with high reliability in actual production, and adjusting the design dimensions of one or more components in the key structure 100, the simulated key travel and / or simulated mounting interval of the key structure produced based on the various design dimensions of the key structure 100 and the corresponding component manufacturing tolerances can be made the same as or close to the actual key travel and / or actual mounting interval, thereby improving the reliability of the key structure 100.

[0076] like Figure 2 As shown, in one embodiment, a method for determining the parameters of a button structure is provided, which can be applied to the above-described electronic device; the button structure includes one or more components, and the method may include the following steps:

[0077] Step 202: Obtain the current design dimensions of each component included in the button structure.

[0078] The design dimensions of each component in the button structure can characterize the size and shape of each component. For example, the design dimensions of each component may include, but are not limited to, the length of each component in the axial direction of the through hole in the terminal device housing, and its width or height in the direction perpendicular to that axial direction. Furthermore, the design dimensions of each component in the button structure obtained by the electronic device may be dimensional parameters that affect the button travel and mounting spacing of the button structure.

[0079] In some embodiments, when a component includes multiple sub-components, the design dimensions of the component may also include the design dimensions of each sub-component. For example, when a pressing rod includes a pressing rod head, a pressing rod body, and a pressing rod tail, the design dimensions of the pressing rod may include the design dimensions of the pressing rod, the pressing rod head, the pressing rod body, and the pressing rod tail, respectively.

[0080] Furthermore, since some components of the button structure may be connected by embedded or snap-fit ​​methods, a portion of the component in the axial direction of the through hole may overlap with the corresponding connecting component. Therefore, the current design dimensions may also include the overlap dimensions between multiple components, which can refer to the maximum distance between the two ends of the overlapping portion of the components.

[0081] Electronic devices can obtain the initial design dimensions of each component in the button structure. These initial design dimensions refer to the design dimensions of each component during its initial design. Production simulations can be performed based on the initial design dimensions of each component, and the design dimensions of each component can be continuously adjusted until the performance of the button structure meets expectations, thereby determining the final target design dimensions of each component in the button structure.

[0082] The current design dimensions of each component in the button structure can be the design dimensions at any stage during the process of determining the target design dimensions of each component in the button structure. For example, before adjusting the initial design dimensions of each component in the button structure, the current design dimensions of each component in the button structure can be the initial design dimensions of each component. After adjusting the initial design dimensions of each component in the button structure, the current design dimensions of each component in the button structure can be the adjusted design dimensions of each component.

[0083] In some embodiments, the design dimensions corresponding to each component may include the lateral length of each component, which may refer to the maximum distance between the two ends of the component in the axial direction of the through-hole in the terminal device housing. The design dimensions corresponding to each component may also include the overlap length between multiple components, which may refer to the maximum distance between the two ends of the overlapping portion of the components in the axial direction of the through-hole.

[0084] Electronic devices can obtain the lateral length of each component in the button structure and / or the overlap length between multiple components.

[0085] Figure 3 This is a schematic diagram of another button structure provided in an embodiment of this application. Figure 3As shown, the design dimensions of each component in the button structure include the lateral length L3 of the pressing rod, the lateral length L4 of the housing, the lateral length L5 of the pressing rod head, the lateral length L6 of the pad, the lateral length L7 of the connecting part, the lateral length L8 of the micro switch, the lateral length L9 of the three components of adhesive, reinforcing sheet and FPC, the first overlap length C1 of the housing and bracket, the second overlap length C2 of the pressing button and pressing rod, and the overlap length between other components.

[0086] Table 1 shows the lateral lengths of some components acquired by the electronic device. As shown in Table 1, the electronic device can acquire the lateral lengths of the push rod, housing, push rod head, pad, FPC, reinforcing sheet, adhesive, and micro switch. Table 2 shows the overlap lengths between some components acquired by the electronic device. As shown in Table 2, the electronic device can acquire the overlap length between the housing and push rod, the overlap length between the housing and the bracket, and the overlap length between the push button and the push rod.

[0087] Table 1

[0088] part Lateral length (mm) part Horizontal length (mm) Press lever 5.180 FPC 0.110 case 2.570 Enhanced film 0.040 Press the lever head 0.390 adhesive 0.050 gasket 0.200 micro switch 0.400

[0089] Table 2

[0090]

[0091] Step 204: Based on the current design dimensions of each component and the dimensional error range of each component, randomly generate multiple sets of simulated structural parameters.

[0092] The dimensional error range includes the dimensional accuracy deviation of each component's design dimensions. Dimensional accuracy deviation refers to the difference between the component's design dimensions and its actual dimensions during production. The combination of each component's design dimensions and its corresponding dimensional accuracy deviation forms the acceptable design dimension range for that component. Dimensional accuracy deviation can include an upper and lower limit. The upper limit can be determined based on the sensitivity of the button structure, while the lower limit can be determined based on the reliability of the button structure. Limiting the dimensional error range based on the button structure's sensitivity and reliability allows button structures designed based on analog structural parameters to achieve their corresponding functions while also possessing high trigger stability and durability, thus providing users with a superior user experience.

[0093] If the design dimensions of each component are within the acceptable design dimension range, the button structure can be considered to meet the acceptable quality standards when installed on the terminal device.

[0094] Electronic devices can form a qualified design size range for button structures based on the design dimensions and dimensional accuracy deviations of each component. Based on random generation technology, multiple sets of simulated structural parameters can be randomly generated within this qualified design size range. Each set of simulated structural parameters can include the simulated design dimensions of each component.

[0095] In some embodiments, multiple sets of simulated structural parameters can be randomly generated based on the Monte Carlo method. The Monte Carlo method is a numerical calculation method based on random sampling. The electronic device can use the Monte Carlo method to randomly generate a value for each component within the qualified design size range corresponding to each component, based on a normal distribution probability. This value is then used as the simulated design size corresponding to that component. The electronic device can combine the simulated design sizes corresponding to each component to form a set of simulated structural parameters, and generate multiple sets of simulated structural parameters by repeating the above random generation process, ensuring that the simulated design size of the same component in each set of simulated structural parameters conforms to a normal distribution.

[0096] In some embodiments, where the design dimensions of each component may include the lateral length of each component, the dimensional error range may also include the dimensional accuracy deviation of each component in the axial direction of the through hole. The lateral length of each component and the corresponding dimensional accuracy deviation can be combined to form a qualified design dimension range for the corresponding component.

[0097] Table 3

[0098]

[0099] Table 3 shows the dimensional accuracy deviations of some components in the axial direction of the through-hole, obtained by the electronic device. As shown in Table 3, the electronic device can obtain the dimensional accuracy deviations of the push rod, housing, push rod head, gasket, FPC, reinforcing sheet, adhesive, and micro switch. Based on the lateral lengths of each component in Table 1 and the dimensional accuracy deviations of the corresponding components in Table 3, the electronic device can randomly generate multiple sets of simulated structural parameters.

[0100] Step 206: Based on multiple sets of simulated structural parameters, determine the target simulation parameters corresponding to each set of simulated structural parameters.

[0101] Target simulation parameters may include simulated button travel and / or simulated mounting spacing. Button travel may be the maximum distance between the side surface of the button closest to the housing and the side surface of the housing with the through hole. For example, simulated button travel can be determined by the simulated design dimensions of the press lever, press lever head, gasket, and housing, respectively, as well as the overlap dimension between the button and the press lever.

[0102] The installation spacing can be the maximum distance between the first end of the push rod and the micro switch. For example, the simulated installation spacing can be determined by the simulated design dimensions of the bracket connection part, push rod head, gasket, micro switch unit, FPC, reinforcing sheet and adhesive, as well as the overlap dimension between the bracket and the housing.

[0103] The electronic device can determine the simulated key travel corresponding to each set of simulated structural parameters based on the simulated design dimensions of at least some of the components in multiple sets of simulated structural parameters and the overlap dimension between the key and the push rod, and / or determine the simulated installation spacing corresponding to each set of simulated structural parameters based on the simulated design dimensions of at least some of the components in multiple sets of simulated structural parameters and the overlap dimension between the bracket and the housing.

[0104] In some embodiments, where the design dimensions of each component may include the lateral length of each component and the overlap length between multiple components, the electronic device may determine the simulated key travel corresponding to each set of simulated structural parameters based on the simulated lateral length of at least some of the components in the multiple sets of simulated structural parameters and the overlap length between the key and the lever, and / or determine the simulated mounting spacing corresponding to each set of simulated structural parameters based on the simulated lateral length of at least some of the components in the multiple sets of simulated structural parameters and the overlap length between the bracket and the housing.

[0105] Figure 4 This is a schematic diagram illustrating the determination of simulated key travel provided in an embodiment of this application. Figure 4 As shown, the electronic device can calculate the simulated key travel T1 based on the simulated lateral lengths of the pressing lever 120, pressing lever head 121, pad 136, and housing 200, respectively, and the overlap length between the pressing key 110 and the pressing lever 120.

[0106] T1=L4-(L3+L5+L6+C2) Formula (1);

[0107] Wherein, T1 is the simulated key travel, L3 is the simulated lateral length of the housing 200, L4 is the simulated lateral length of the pressing rod 120, L5 is the simulated lateral length of the pressing rod head 121, L6 is the simulated lateral length of the pad 136, and C2 is the overlap length between the pressing key 110 and the pressing rod 120.

[0108] Figure 5 This is a schematic diagram illustrating the determination of simulated installation intervals provided in an embodiment of this application. Figure 5As shown, the electronic device can determine the simulated installation interval T2 based on the simulated lateral lengths corresponding to the bracket connection part 1322, pressing rod head 121, gasket 136, micro switch 131, FPC 133, reinforcing plate 134, and adhesive 135, and the difference between the overlap length C1 between the bracket 132 and the housing 200.

[0109] T2=L7-(L5+L6+C1)-(L8+L9) Formula (2);

[0110] Wherein, T2 is the simulated installation interval, L7 is the simulated lateral length of the connecting part 1322 of the bracket, L5 is the simulated lateral length of the pressing rod head 121, L6 is the simulated lateral length of the gasket 136, C1 is the overlap length between the bracket 132 and the housing 200, L8 is the simulated lateral length of the micro switch 131, and L9 is the simulated lateral length of the three components: FPC 133, reinforcing plate 134, and adhesive 135.

[0111] Step 208: Based on the target simulation parameters corresponding to the multiple sets of simulation structural parameters, the expected simulation values ​​are statistically obtained.

[0112] The simulated expected value can be used to reflect the overall level of the target simulated parameters. The simulated expected value may include the expected value corresponding to the simulated key travel and / or the expected value corresponding to the simulated installation interval.

[0113] Electronic devices can perform statistical analysis on the simulated key travel corresponding to multiple sets of simulated structural parameters to determine the expected value of the simulated key travel, and / or perform statistical analysis on the simulated installation interval corresponding to multiple sets of simulated structural parameters to determine the expected value of the simulated installation interval.

[0114] Statistical analysis of the target simulation parameters can be performed by taking the average, weighted average, variance, or probability density function.

[0115] For example, the electronic device can determine the probability density function corresponding to the simulated key travel based on the values ​​of the simulated key travel corresponding to multiple sets of simulated structural parameters and the probability of each value occurring, and use the mathematical expectation of the probability density function corresponding to the simulated key travel as the expected value corresponding to the simulated key travel; and / or, the electronic device can determine the probability density function corresponding to the simulated installation spacing based on the values ​​of the simulated installation spacing corresponding to multiple sets of simulated structural parameters and the probability of each value occurring, and use the mathematical expectation of the probability density function corresponding to the simulated installation spacing as the expected value corresponding to the simulated installation spacing.

[0116] Step 210: Determine whether the simulated expected value matches the target expected value. If they do not match, proceed to step 212. If they match, proceed to step 214.

[0117] The target expected value can be determined based on the actual key travel and / or actual installation spacing corresponding to a large number of actual manufactured key structures. The target expected value can reflect the overall situation of the actual key travel and / or actual installation spacing of the actual manufactured key structures, and meet the performance requirements of the key structures. That is, the key structures corresponding to the target expected value usually have high reliability.

[0118] Electronic devices can determine whether the simulated expected value matches the target expected value. If the simulated expected value does not match the target expected value, it indicates that the design dimensions of most of the key structures corresponding to the simulated expected value are unreasonable, and the reliability of the key structures still has room for improvement. If the simulated expected value matches the target expected value, it indicates that the design dimensions of most of the key structures corresponding to the simulated expected value meet the expectations and can satisfy the performance requirements of the key structures. The current design dimensions of each component corresponding to the simulated expected value can be applied to the actual production process.

[0119] Furthermore, the electronic device can determine whether the simulated expected value is equal to the target expected value to ascertain whether the design dimensions of each component of the button structure meet expectations. A mismatch between the simulated and target expected values ​​includes situations where the simulated expected value is greater than or less than the target expected value.

[0120] Understandably, variations in the button travel and / or installation interval corresponding to the button structure can significantly impact its reliability. Therefore, if the simulated expected value is greater than the target expected value, it increases the difficulty of triggering the microswitch, thereby reducing the response speed of the button structure and consequently affecting its reliability. Conversely, if the simulated expected value is less than the target expected value, it will cause the button structure to be overly sensitive, also affecting its reliability.

[0121] Optionally, the target expected value may include a first target expected value corresponding to the actual key travel and a second target expected value corresponding to the actual installation spacing. A mismatch between the simulated expected value and the target expected value may include the expected value corresponding to the simulated key travel not being equal to the first target expected value corresponding to the actual key travel, and / or the expected value corresponding to the simulated installation spacing not being equal to the second target expected value corresponding to the actual installation spacing.

[0122] Step 212: Adjust the current design dimensions of at least some of the components to obtain the new current design dimensions of each component of the button structure, and then execute step 204.

[0123] If the simulated expected value does not match the target expected value, the electronic device can adjust the current design dimensions of at least some of the components to obtain new current design dimensions for each component of the button structure, and then re-execute steps 204 to 208 to determine the simulated expected value corresponding to the new current design dimensions until the simulated expected value matches the target expected value.

[0124] Optionally, the current design dimensions of one or more components of the button structure, such as the pad, push rod, push rod head, bracket connection, micro switch, FPC, reinforcing sheet, and adhesive, can be adjusted until the simulated expected value matches the target expected value.

[0125] In some embodiments, where the design dimensions of each component may include the lateral length of each component, the electronic device may adjust the lateral length of one or more components such as the pad, push rod, push rod head, bracket connection portion, micro switch, FPC, reinforcing sheet, and adhesive of the button structure until the simulated expected value matches the target expected value.

[0126] Step 214: Output the current design dimensions of each component included in the button structure.

[0127] When the simulated expected value matches the target expected value, the reliability of the button structure corresponding to the simulated expected value reaches or approaches the reliability of the button structure corresponding to the target expected value. Therefore, the current design dimensions of each component of the button structure are no longer adjusted, and the current design dimensions of each component of the button structure can be used in the actual production process.

[0128] When the simulated expected value matches the target expected value, the electronic device can output the current design dimensions of each component in the button structure without adjusting the design dimensions of each component.

[0129] Furthermore, if the design dimensions of each component can include the lateral length of each component, the electronic device can output the lateral length of each component included in the button structure when the simulated expected value matches the target expected value.

[0130] In this embodiment of the application, during the design process of the button structure, the production of the button structure is simulated and the design dimensions of the button structure are adjusted so that the trigger distance of the button structure meets the expectations, thereby improving the reliability of the button structure.

[0131] In some embodiments, the electronic device can determine the target expected value based on the actual structural parameters corresponding to the actual manufactured button structures. Figure 6 A flowchart for determining the target expected value provided in an embodiment of this application. For example... Figure 6As shown, the method may further include the following steps:

[0132] Step 602: Obtain the actual structural parameters corresponding to the multiple sets of button structures.

[0133] Actual structural parameters may include the actual dimensions of each component of the button structure as specified at the factory.

[0134] Electronic devices can obtain the actual dimensions of each component corresponding to multiple sets of factory-made button structures.

[0135] Understandably, in actual production, terminal devices and button structures typically undergo rigorous quality control and inspection processes to ensure high reliability. Therefore, the button structures leaving the factory can be considered to have high reliability. Furthermore, the target parameters corresponding to multiple actually produced button structures usually conform to a normal distribution. Thus, in the process of determining the parameters of the button structure, successful design experience accumulated in the practice of button structure production can be obtained by analyzing the actual structural parameters corresponding to multiple sets of button structures, and then applied to the adjustment of the current design dimensions of each component.

[0136] Furthermore, in some embodiments, the actual dimensions of each component may include the actual lateral length of each component and the overlap length between multiple components.

[0137] Electronic devices can obtain the actual lateral length of each component corresponding to multiple sets of factory-made button structures, as well as the overlap length between multiple components.

[0138] Optionally, when the button structure is the same, the terminal device corresponding to the actual structural parameters can be of the same or similar type as the terminal device corresponding to the simulated structural parameters. For example, during the process of adjusting the design size of the button structure of a smart bracelet, the structural parameters of the button structure and terminal device housing and other components in wearable devices with the same button structure, such as smart bracelets, smartwatches, smart headphones and smart glasses, can be obtained, thereby realizing the transfer and application of successful button structure size design experience between different types of terminal devices.

[0139] Step 604: Based on multiple sets of actual structural parameters, determine the target parameters corresponding to each set of actual structural parameters.

[0140] Electronic devices can determine the target parameters corresponding to each set of actual structural parameters based on the actual dimensions of each component in multiple sets of actual structural parameters.

[0141] The target parameters may include the actual key travel and / or actual installation spacing corresponding to each set of actual structural parameters. The electronic device may determine the actual key travel corresponding to each set of actual structural parameters based on Equation (1) and the actual dimensions of each component in the multiple sets of actual structural parameters, and / or determine the actual installation spacing corresponding to each set of actual structural parameters based on Equation (2) and the actual dimensions of each component in the multiple sets of actual structural parameters.

[0142] In some embodiments, where the actual dimensions of each component include the actual lateral length of each component and the overlap length between multiple components, the electronic device may determine the actual key travel corresponding to each set of actual structural parameters based on Equation (1), according to the actual lateral length of each set of components and the overlap length between multiple components, and / or determine the actual installation spacing corresponding to each set of actual structural parameters based on Equation (2), according to the actual lateral length of each set of components and the overlap length between multiple components.

[0143] Step 606: Based on the target parameters corresponding to the multiple sets of actual structural parameters, the expected target value is statistically obtained.

[0144] The target parameters may include the actual key travel and / or actual installation spacing corresponding to each set of actual structural parameters.

[0145] Understandably, since there is a clear correlation between the target parameters and the reliability of the button structure, by statistically analyzing the target parameters corresponding to multiple sets of actual structural parameters, the obtained target expected value can quantify the successful design experience of the button structure in the actual production process. Therefore, the button structure can be adjusted based on the successful design experience to improve the reliability of the button structure and meet the performance requirements of the button structure.

[0146] Electronic devices can obtain the target expected value corresponding to the actual key travel based on the actual key travel corresponding to multiple sets of actual structural parameters, and / or obtain the target expected value corresponding to the actual installation spacing based on the actual installation spacing corresponding to multiple sets of actual structural parameters.

[0147] In some embodiments, the target expected value may include a first target expected value corresponding to the actual key travel and a second target expected value corresponding to the actual installation spacing. The electronic device may obtain the first target expected value by statistically analyzing the actual key travel corresponding to multiple sets of actual structural parameters, and obtain the second target expected value by statistically analyzing the actual installation spacing corresponding to multiple sets of actual structural parameters.

[0148] Figure 7A This is a flowchart illustrating the determination of a first target expected value corresponding to the actual key travel, provided in an embodiment of this application. (For example...) Figure 7AAs shown, the steps involve statistically obtaining the target expected value based on the target parameters corresponding to multiple sets of actual structural parameters, and may include the following steps 701 to 706:

[0149] Step 701: Perform statistical analysis on the actual key travel corresponding to multiple sets of actual structural parameters to determine the frequency of occurrence of each actual key travel.

[0150] Electronic devices can perform statistical analysis on the actual key travel corresponding to multiple sets of actual structural parameters, determine the value of each unique actual key travel, and the number of times each unique actual key travel value appears among all values, i.e., the frequency, thereby determining the occurrence frequency corresponding to each actual key travel.

[0151] Step 702: Fit the occurrence frequency corresponding to each actual key travel to a normal distribution to obtain the second function expression.

[0152] Normal distribution fitting can refer to the process of matching the values ​​of multiple actual key travels and their corresponding frequencies with a normal distribution model. The second function expression can include the probability density function or cumulative distribution function corresponding to the normal distribution model.

[0153] Electronic devices can fit a normal distribution to the values ​​of each actual key travel and the corresponding frequency of occurrence, and obtain the probability density function corresponding to the normal distribution.

[0154] For example, an electronic device can acquire multiple sets of actual structural parameters corresponding to actual key travel distances. By performing statistical analysis on multiple actual key travel distances, the value of each actual key travel distance and its corresponding frequency of occurrence can be determined, and the probability density function corresponding to the normal distribution model can be determined.

[0155]

[0156] Where x is the actual key travel value, μ is the expected value of the probability density function, σ is the standard deviation of the probability density function, and f(x) is the frequency of occurrence corresponding to the actual key travel value. The steps for fitting the values ​​of each actual key travel and their corresponding frequencies based on equation (3) are similar to those in the prior art and will not be repeated here.

[0157] Step 703: Determine the first target expected value based on the second function expression.

[0158] Electronic devices can determine the first target expected value corresponding to the actual key travel by calculating the mathematical expectation of the probability density function corresponding to the normal distribution.

[0159] For example, after determining the probability density function corresponding to the normal distribution model, the mathematical expectation of the normal distribution can be determined according to the probability density function, i.e., equation (3):

[0160]

[0161] Where E(x) is the first target expected value, x is the actual key travel value, and f(x) is the frequency of occurrence corresponding to the actual key travel value.

[0162] Figure 7B A flowchart illustrating the determination of the second target desired value corresponding to the actual installation spacing, provided for embodiments of this application. (See attached flowchart.) Figure 7B As shown, the steps involve statistically calculating the target expected value based on the target parameters corresponding to multiple sets of actual structural parameters, and may include the following steps:

[0163] Step 704: Perform statistical analysis on the actual installation spacing corresponding to multiple sets of actual structural parameters to determine the frequency of occurrence of each actual installation spacing.

[0164] Step 705: Fit the occurrence frequency corresponding to each actual installation spacing to a normal distribution to obtain the third function expression.

[0165] Step 706: Determine the second target expected value based on the third function expression.

[0166] The method for determining the second target expected value corresponding to the actual installation spacing is similar to the method for determining the first target expected value corresponding to the actual key travel described in steps 701 to 703 above, and will not be repeated here.

[0167] By fitting the actual key travel to a normal distribution to determine the first target expected value, and / or fitting the actual installation spacing to a normal distribution to determine the second target expected value, not only can the reliability of the key structure be quantified more accurately, but electronic devices can also adjust the current design dimensions of each component based on more accurate and scientific dimensional adjustment criteria.

[0168] In this embodiment, by determining the target expected value based on multiple sets of actual structural parameters corresponding to the actual manufactured button structure, more accurate data support can be provided for adjusting the current design size of each subsequent component. This allows the design size of subsequent components to better draw on the effective experience accumulated in the practice of actual manufactured button structures, thereby effectively improving the reliability of the button structure.

[0169] After determining the target expected value, the electronic device can determine the simulated expected value based on the target simulated parameters corresponding to multiple sets of simulated structural parameters, thereby matching the simulated expected value with the target expected value. Figure 8 A flowchart for determining the simulated expected value provided in an embodiment of this application. For example... Figure 8As shown, in one embodiment, the step of statistically obtaining the expected simulation value based on the target simulation parameters corresponding to multiple sets of simulation structure parameters may include the following steps:

[0170] Step 802: Fit the target simulation parameters corresponding to the multiple sets of simulated structural parameters to a normal distribution to obtain the first function expression.

[0171] The second function expression may include the probability density function or cumulative distribution function corresponding to the normal distribution model of the target simulation parameters.

[0172] The electronic device can perform statistical analysis on the target simulation parameters corresponding to multiple sets of simulated structural parameters, determine the value of each target simulation parameter and its corresponding frequency of occurrence, and fit the value of each target simulation parameter and its corresponding frequency of occurrence to a normal distribution to obtain the first function expression.

[0173] The target simulation parameters include simulated key travel and / or simulated mounting spacing. The electronic device can perform normal distribution fitting on the simulated key travel corresponding to multiple sets of simulated structural parameters to obtain a first functional expression corresponding to the simulated key travel, and / or perform normal distribution fitting on the simulated mounting spacing corresponding to multiple sets of simulated structural parameters to obtain a first functional expression corresponding to the simulated mounting spacing.

[0174] The method for determining the first function expression corresponding to the target simulation parameters described above is similar to the method for determining the second function expression corresponding to the actual key travel described in step 702 above, and will not be repeated here.

[0175] Optionally, before fitting the target simulation parameters corresponding to the multiple sets of simulated structural parameters to a normal distribution, the electronic device may first perform a normality test on the target simulation parameters corresponding to the multiple sets of simulated structural parameters to ensure that the values ​​of each target simulation parameter and their corresponding frequencies conform to a normal distribution. Normality test methods may include, but are not limited to, quantile plotting, frequency histograms, or frequency number histograms.

[0176] Alternatively, after fitting the target simulation parameters corresponding to multiple sets of simulated structural parameters to a normal distribution, the electronic device can perform a goodness-of-fit test on the target simulation parameters corresponding to each set of simulated structural parameters to determine whether the values ​​and corresponding frequencies of each target simulation parameter conform to a normal distribution. Goodness-of-fit test methods may include, but are not limited to, the KS test, the CVM test, or D'Agostino's K-squared test.

[0177] If the target simulation parameters corresponding to multiple sets of simulated structural parameters do not conform to a normal distribution, multiple sets of simulated structural parameters are randomly generated again until they conform to a normal distribution. It is understood that if multiple sets of simulated structural parameters are randomly generated according to a normal distribution in step 204, then no further normality test or goodness-of-fit test is performed.

[0178] Step 804: Calculate the mathematical expectation of the first function expression to obtain the simulated expected value.

[0179] When the target simulation parameters corresponding to multiple sets of simulated structural parameters conform to a normal distribution, the first function expression may include the probability density function or cumulative distribution function corresponding to the normal distribution model.

[0180] Electronic devices can determine the simulated expected value by calculating the mathematical expectation of the probability density function corresponding to the normal distribution.

[0181] The method of determining the simulated expected value based on the first function expression is similar to the method of determining the first target expected value based on the second function expression described in step 703 above, and will not be repeated here.

[0182] In some embodiments, the simulated expected value may include the expected value corresponding to the simulated key travel and / or the expected value corresponding to the simulated installation interval. The electronic device can determine the expected value corresponding to the simulated key travel by calculating the mathematical expectation of the probability density function corresponding to the normal distribution of the simulated key travel, and / or determine the expected value corresponding to the simulated installation interval by calculating the mathematical expectation of the probability density function corresponding to the normal distribution of the simulated installation interval.

[0183] In this embodiment of the application, by fitting the target simulation parameters corresponding to multiple sets of simulated structural parameters according to a normal distribution, a first function expression is obtained, and the simulation expectation value is determined according to the mathematical expectation of the first function expression. This makes the structural parameters generated by simulation more consistent with the distribution characteristics of actual manufactured products, and thus makes the determined simulation expectation value closer to the expected results of key travel and / or installation interval in the actual production environment, which is beneficial to improving the reliability of the key structure.

[0184] After determining the simulated expected values, it is necessary to adjust the current design dimensions of at least some components based on the matching between the simulated expected values ​​and the target expected values ​​in order to improve the reliability of the button structure. Figure 9 A flowchart illustrating the adjustment of at least some of the components corresponding to the current design dimensions, provided for embodiments of this application. (e.g.) Figure 9 As shown, in one embodiment, adjusting the current design dimensions of at least some of the components may include the following steps:

[0185] Step 901: Obtain the difference between the simulated expected value and the target expected value.

[0186] The difference between the simulated expected value and the target expected value can be positive or negative. A positive difference indicates that the simulated expected value is greater than the target expected value, meaning the trigger distance of the button structure is larger and the response speed is slower. A negative difference indicates that the simulated expected value is less than the target expected value, meaning the trigger distance of the button structure is smaller, the button structure is more sensitive, and it is easier to trigger.

[0187] Electronic devices can calculate the difference between the simulated expected value and the target expected value after obtaining the simulated expected value.

[0188] In some embodiments, the simulated expected value includes the expected value corresponding to the simulated key travel and / or the expected value corresponding to the simulated installation interval, and the target expected value includes the first target expected value corresponding to the actual key travel and / or the second target expected value corresponding to the actual installation spacing.

[0189] The electronic device can obtain the difference between the expected value corresponding to the simulated key travel and the first target expected value corresponding to the actual key travel, and / or the difference between the expected value corresponding to the simulated installation interval and the second target expected value corresponding to the actual installation spacing.

[0190] Step 903: Based on the difference, adjust the current design dimensions of at least some of the components to obtain the new current design dimensions for each component.

[0191] The electronic device can determine the new current design dimensions of each component based on the difference between the simulated expected value and the target expected value and the current design dimensions of at least some of the components.

[0192] When the difference between the simulated expected value and the target expected value is negative, the electronic device can determine the new design dimensions corresponding to each component based on the sum of the absolute value corresponding to the difference between the simulated expected value and the target expected value and the design dimensions corresponding to at least some of the components.

[0193] When the difference between the simulated expected value and the target expected value is positive, the electronic device can determine the new design dimensions corresponding to each component based on the difference between the absolute value of the difference between the simulated expected value and the target expected value for the design dimensions corresponding to at least some of the components.

[0194] In some embodiments, the design dimensions corresponding to each component may include the lateral length of each component. The electronic device may determine the new lateral length corresponding to each component based on the difference between the simulated expected value and the target expected value and the lateral length corresponding to at least a portion of the components.

[0195] Understandably, at the structural design level, adjusting the current design dimensions of any one or more components in the button structure and terminal device can match the simulated expected values ​​with the target expected values. However, from a practical production perspective, adjusting the design dimensions of various components of the terminal device or key components such as microswitches in the button structure can easily cause production problems in component processing and assembly, thus affecting the reliability of the button structure and the cost control of the terminal device. Adjusting the overlap dimensions between components not only affects the connection strength and stability between components and changes the stress distribution, thus affecting the reliability of the button structure, but may also lead to changes in the production process, reducing production efficiency. Therefore, it is necessary to select components that are easy to adjust in engineering and whose adjustment has a minimal impact on the button structure.

[0196] In some embodiments, adjusting the current design dimensions corresponding to at least a portion of the components includes: adjusting the lateral length of the connecting portion, wherein the lateral length of the connecting portion is the extension length along the axial direction of the through hole; and / or adjusting the rod length of the pressing rod, wherein the rod length of the pressing rod is the rod body length of the pressing rod along the axial direction of the through hole.

[0197] The electronic device can match the simulated desired value with the target desired value by adjusting the lateral length of the connecting part and / or the length of the pressing rod. The length of the pressing rod can refer to the length of the pressing rod along the axial direction of the through hole.

[0198] Understandably, among the various components of the button structure, the connection between the pressing rod and the bracket, due to their structural characteristics and the ease of manufacturing processes, is not only the easiest component to adjust in the button structure from an engineering perspective, but also has a relatively small impact on the button structure and terminal equipment after adjustment.

[0199] Therefore, during the adjustment of the current design dimensions corresponding to at least some of the components, the simulated expected value can be matched with the target expected value by adjusting the lateral length of the connecting part of the bracket and / or the rod length of the pressing rod.

[0200] In some embodiments, the simulated expected value includes the expected value corresponding to the simulated key travel and / or the expected value corresponding to the simulated installation interval, and the target expected value includes a first target expected value corresponding to the actual key travel and / or a second target expected value corresponding to the actual installation spacing. The electronic device may adjust the length of the pressing lever to match the expected value corresponding to the simulated key travel with the first target expected value corresponding to the actual key travel, and / or adjust the lateral length of the connecting portion of the bracket to match the expected value corresponding to the simulated installation interval with the second target expected value corresponding to the actual installation spacing.

[0201] It should be noted that since only the length of the pressing rod has been changed, and the overlap dimensions between the pressing rod and some components such as the pressing rod and the pressing key, the pressing rod and the bracket, the pressing rod and the pad, and the pressing rod and the housing have not been changed, the design dimensions of the first end of the pressing rod inside the terminal device housing will not be affected. What has been changed is the design dimensions of the second end of the pressing rod outside the terminal device housing.

[0202] For simulated key travel, when the difference between the expected value corresponding to the simulated key travel and the first target expected value corresponding to the actual key travel is negative, the electronic device can increase the length of the pressing rod according to the absolute value of the difference to form a new simulated key travel; when the difference is positive, the electronic device can decrease the length of the pressing rod according to the absolute value of the difference to form a new simulated key travel.

[0203] For the simulated installation interval, when the expected value corresponding to the simulated installation interval and the second target expected value corresponding to the actual installation interval are negative, the electronic device can form a new simulated installation interval by increasing the simulated lateral length of the connecting part of the bracket according to the absolute value of the difference; when the difference is positive, the electronic device can form a new simulated installation interval by decreasing the simulated lateral length of the connecting part of the bracket according to the absolute value of the difference.

[0204] After determining the new simulated key travel and / or the new simulated installation interval, the electronic device re-executes steps 208 to 210 until the expected value corresponding to the simulated key travel matches the first target expected value corresponding to the actual key travel, and / or the expected value corresponding to the simulated installation interval matches the second target expected value corresponding to the actual installation spacing.

[0205] It is understandable that during the design phase of the button structure, which is also the product development phase of the terminal device, optimizing and adjusting the design dimensions of each component of the button structure can enable the prediction and control of the button structure's reliability in the early stages of design. This not only ensures that the design objectives of the button structure are achieved, such as making the button structure thinner and lighter, and that the design dimensions of each component of the button structure meet expectations, but also guarantees the reliability of the button structure, thus empowering the product design corresponding to the button structure.

[0206] By adjusting the lateral length of the connection between the push rod and / or the bracket, not only can the simulated expected value be matched with the target expected value, but the negative impact of the structural relationship on the reliability of the button structure and terminal device can also be minimized, as well as the production cost of the button structure and terminal device based on the adjusted design dimensions of each component.

[0207] In this embodiment, the current design dimensions of at least some components are adjusted based on the difference between the obtained simulated expected value and the target expected value, thereby obtaining new current design dimensions for each component. This allows the electronic device to accurately adjust the current design dimensions of at least some components based on the target expected value of the button structure, thereby optimizing the overall design of the button structure and the terminal device and ensuring that the button structure has sufficient reliability in practical applications.

[0208] The parameter determination method for the button structure provided in the above embodiments Figure 10 This is a structural block diagram of a parameter determination device for a button structure provided in an embodiment of this application. Figure 10 As shown, in one embodiment, a parameter determination device 1000 for a button structure is provided. The parameter determination device 1000 for the button structure includes an acquisition module 1001, a generation module 1002, a calculation module 1003, and an adjustment module 1004.

[0209] in,

[0210] The acquisition module 1001 is used to acquire the current design dimensions of each component included in the button structure.

[0211] The generation module 1002 is used to randomly generate multiple sets of simulated structural parameters based on the current design dimensions of each component and the dimensional error range of each component. Each set of simulated structural parameters includes the simulated design dimensions of each component.

[0212] The calculation module 1003 is used to determine the target simulation parameters corresponding to each set of simulation structural parameters based on multiple sets of simulation structural parameters. The target simulation parameters include the simulated key travel and / or the simulated installation spacing.

[0213] The calculation module 1003 is also used to statistically obtain the expected simulation value based on the target simulation parameters corresponding to multiple sets of simulation structural parameters.

[0214] The adjustment module 1004 is used to adjust the current design dimensions of at least some of the components if the simulated expected value does not match the target expected value, until the simulated expected value matches the target expected value.

[0215] In some embodiments, the parameter determination device 1000 for the button structure further includes a fitting module.

[0216] The fitting module is used to fit the target simulation parameters corresponding to multiple sets of simulated structural parameters according to a normal distribution to obtain the first function expression.

[0217] The calculation module 1003 is also used to calculate the mathematical expectation of the first function expression to obtain the simulated expected value.

[0218] In some embodiments, the calculation module 1003 is further configured to obtain the difference between the simulated expected value and the target expected value; and adjust the current design dimensions corresponding to at least some of the components according to the difference to obtain new current design dimensions corresponding to each component.

[0219] In some embodiments, the acquisition module 1001 is further configured to acquire the actual structural parameters corresponding to the multiple sets of button structures, the actual structural parameters including the actual dimensions of each component.

[0220] The calculation module 1003 is also used to determine the target parameters corresponding to each set of actual structural parameters based on multiple sets of actual structural parameters.

[0221] The calculation module 1003 is also used to statistically obtain the target expected value based on the target parameters corresponding to multiple sets of actual structural parameters.

[0222] In some embodiments, the calculation module 1003 is further configured to perform statistical analysis on the actual key travel corresponding to multiple sets of actual structural parameters, and determine the occurrence frequency corresponding to each actual key travel.

[0223] The fitting module is also used to fit the occurrence frequency corresponding to each actual key travel to a normal distribution to obtain the second function expression.

[0224] The calculation module 1003 is also used to determine the first target expected value based on the second function expression.

[0225] The calculation module 1003 is also used to perform statistical analysis on the actual installation spacing corresponding to multiple sets of actual structural parameters, and to determine the frequency of occurrence of each actual installation spacing.

[0226] The fitting module is also used to fit the occurrence frequency corresponding to each actual installation spacing to a normal distribution to obtain the third function expression.

[0227] The calculation module 1003 is also used to determine the second target expected value based on the third function expression.

[0228] In some embodiments, the adjustment module 1004 is further configured to adjust the lateral length of the connecting portion, wherein the lateral length of the connecting portion is the extension length along the axial direction of the through hole.

[0229] The adjustment module 1004 is also used to adjust the length of the pressing rod, wherein the length of the pressing rod is the length of the pressing rod body along the axial direction of the through hole.

[0230] Figure 11 This is a structural block diagram of an electronic device provided in an embodiment of this application. Figure 11As shown, the electronic device 1100 may include a memory 1102 and a processor 1101. The memory 1102 stores a computer program. When the computer program is executed by the processor 1101, the electronic device 1100 implements the parameter determination method of the button structure as described in the above embodiments.

[0231] Processor 1101 may include one or more processing cores. Processor 1101 connects to various parts within the electronic device using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory, and by calling data stored in memory. Optionally, processor 1101 may be implemented using at least one hardware form of digital signal processing, field-programmable gate array, or programmable logic array. Processor 1101 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 1101 and may be implemented separately using a communication chip.

[0232] The memory 1102 may include random access memory (RAM) or read-only memory (ROM). The memory can be used to store instructions, programs, code, code sets, or instruction sets. The memory may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the various method embodiments described above, etc. The data storage area may also store data created during the use of the electronic device.

[0233] This application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor implements the parameter determination method for the key structure as described in the above embodiments.

[0234] This application discloses a computer program product, which includes a computer program. When the computer program is executed by a processor, it enables the processor to implement the parameter determination method for the key structure as described in the above embodiments.

[0235] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, ROM, etc.

[0236] The above description is merely a specific example of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for determining the parameters of a button structure, characterized in that, The button structure includes one or more components; the method includes: Obtain the current design dimensions of each component included in the button structure; Based on the current design dimensions of each component and the size error range of each component, multiple sets of simulated structural parameters are randomly generated. Each set of simulated structural parameters includes the simulated design dimensions of each component. Based on the multiple sets of simulated structural parameters, the target simulated parameters corresponding to each set of simulated structural parameters are determined. The target simulated parameters include simulated key travel and / or simulated installation spacing. Based on the target simulation parameters corresponding to the multiple sets of simulated structural parameters, the expected simulation value is obtained statistically. If the simulated expected value does not match the target expected value, then adjust the current design dimensions of at least some of the components until the simulated expected value matches the target expected value.

2. The method according to claim 1, characterized in that, The step of statistically obtaining the simulation expectation value based on the target simulation parameters corresponding to the multiple sets of simulation structure parameters includes: By fitting a normal distribution to the target simulation parameters corresponding to the multiple sets of simulated structural parameters, a first function expression is obtained; Calculate the mathematical expectation of the first function expression to obtain the simulated expected value.

3. The method according to claim 1, characterized in that, The adjustment of at least a portion of the current design dimensions of the components includes: Obtain the difference between the simulated expected value and the target expected value; Based on the difference, the current design dimensions of at least some of the components are adjusted to obtain new current design dimensions for each component.

4. The method according to claim 1, characterized in that, The method further includes: Obtain the actual structural parameters corresponding to the multiple sets of button structures, wherein the actual structural parameters include the actual dimensions of each component; Based on the multiple sets of actual structural parameters, determine the target parameters corresponding to each set of actual structural parameters; Based on the target parameters corresponding to the multiple sets of actual structural parameters, the expected target value is statistically obtained.

5. The method according to claim 4, characterized in that, The target parameter includes the actual key travel, and the target expected value includes the first target expected value corresponding to the actual key travel. The step of statistically obtaining the target expected value based on the target parameters corresponding to the multiple sets of actual structural parameters includes: Statistical analysis was performed on the actual key travel corresponding to the multiple sets of actual structural parameters to determine the frequency of occurrence of each actual key travel. The occurrence frequency corresponding to each actual key travel is fitted with a normal distribution to obtain the second function expression; The first target expected value is determined based on the second function expression; And / or, The target parameters include the actual installation spacing, and the target expected value includes a second target expected value corresponding to the actual installation spacing; the step of statistically obtaining the target expected value based on the target parameters corresponding to the multiple sets of actual structural parameters includes: Statistical analysis was performed on the actual installation spacings corresponding to the multiple sets of actual structural parameters to determine the frequency of occurrence of each actual installation spacing. The occurrence frequency corresponding to each actual installation spacing is fitted with a normal distribution to obtain the third function expression; The second target expected value is determined based on the third function expression.

6. The method according to any one of claims 1 to 5, characterized in that, The button structure is disposed on the terminal device, the terminal device includes a housing, and the housing is provided with a through hole; The button structure includes a press button, a press rod, and a switch assembly. The switch assembly is disposed within the housing and includes a bracket and a micro switch disposed on the bracket. The micro switch is disposed corresponding to the through hole. The press rod passes through the through hole, and the first end of the press rod is located inside the housing to correspond to the micro switch. The press button is disposed at the second end of the press rod and has a gap between it and the side surface of the housing with the through hole. The maximum distance between the side surface of the press button near the housing and the side surface of the housing with the through hole is the button travel; the maximum distance between the first end of the press rod and the micro switch is the mounting spacing.

7. The method according to claim 6, characterized in that, The bracket includes a main body and two connecting parts connected to both sides of the main body. The micro switch is disposed in the main body. The connecting parts extend along the axial direction of the through hole and are connected to the housing. The adjustment of at least a portion of the current design dimensions of the components includes: Adjust the lateral length of the connecting portion, wherein the lateral length of the connecting portion is the extension length along the axial direction of the through hole; And / or, Adjust the length of the pressing rod, wherein the length of the pressing rod is the length of the rod body along the axial direction of the through hole.

8. A parameter determining device for a button structure, characterized in that, The button structure includes one or more components; the device includes: The acquisition module is used to acquire the current design dimensions of each component included in the button structure; The generation module is used to randomly generate multiple sets of simulated structural parameters based on the current design dimensions of each component and the size error range of each component. Each set of simulated structural parameters includes the simulated design dimensions of each component. The calculation module is used to determine the target simulation parameters corresponding to each set of simulated structural parameters based on the multiple sets of simulated structural parameters. The target simulation parameters include simulated key travel and / or simulated installation spacing. The calculation module is also used to statistically obtain the simulation expectation value based on the target simulation parameters corresponding to the multiple sets of simulation structure parameters; An adjustment module is used to adjust the current design dimensions of at least a portion of the components if the simulated expected value does not match the target expected value, until the simulated expected value matches the target expected value.

9. An electronic device, characterized in that, The device includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, causes the processor to implement the parameter determination method for the button structure as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the processor implements the parameter determination method for the key structure as described in any one of claims 1-7.