Electronic device, measurement assembly control method and apparatus, and storage medium

By arranging movable detection components and driving components in electronic equipment, and using acceleration parameters to control the movement of the detection components, the problem of inaccurate detection results due to inertia is solved and detection accuracy is improved.

WO2024183681A1PCT designated stage expired Publication Date: 2024-09-12VIVO MOBILE COMM CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/079842
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-08
Filing Date
2024-03-04
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Due to the fixed installation of the detection components in electronic equipment, the detection results are inaccurate when the user wears and moves them, and cannot effectively solve the problem of deviation in detection results caused by inertia.

Method used

By arranging a movable detection component and a driving component in the electronic device, the acceleration parameters of the electronic device are obtained when the light-emitting component emits light, and a control signal is generated to drive the detection component to move, so that the detection component accurately receives light and avoids relative distortion caused by inertia. slip.

Benefits of technology

It improves the accuracy of detection results and ensures the accuracy of detection components during wearing, especially for detection functions such as heart rate and blood oxygen concentration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079842_12092024_PF_FP_ABST
    Figure CN2024079842_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of intelligent devices, and discloses an electronic device, a measurement assembly control method and apparatus, and a storage medium. The electronic device comprises: a main body; a measurement assembly, which is movably arranged in the main body and comprises a measurement member and a light-emitting member; and a driving assembly, which is provided in the main body, wherein when the light-emitting member emits first light and the electronic device moves, the driving assembly drives the measurement assembly, such that the measurement member receives the first light.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device, detection component control method, device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310223043.5 filed in China on March 8, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the technical field of intelligent devices, and specifically relates to an electronic device, a detection component control method, a device and a storage medium. Background Art

[0004] As electronic devices become more versatile, their popularity is increasing. Take watches, for example. In addition to conventional time display functions, they also integrate a variety of additional functions for the wearer to use, such as heart rate monitoring and blood oxygen detection.

[0005] In related technologies, electronic devices can detect relevant parameters through internally integrated detection components, such as using an integrated heart rate detection component to detect the wearer's heart rate. Typically, these detection components are fixedly mounted inside the electronic device's housing. Due to the inertia of the electronic device when the user moves while wearing it, this often leads to deviations in the detection results, necessitating structural improvements.

[0006] Summary of the Invention

[0007] The purpose of the embodiments of the present application is to provide an electronic device, a detection component control method, an apparatus and a storage medium, which can drive the internal detection component to move, so as to solve the problem of inaccurate detection results caused by the fixed installation of the detection component in the related art, and can improve the accuracy of the detection results.

[0008] In a first aspect, an embodiment of the present application provides an electronic device, comprising: a main body; a detection component, which is movably arranged in the main body, and the detection component includes a detection part and a light-emitting part; a driving component, which is arranged in the main body; when the light-emitting part emits a first light and the electronic device moves, the driving component drives the detection component so that the detection part receives the first light.

[0009] In second aspect, an embodiment of the present application provides a detection component control method, which is applied to an electronic device, wherein the electronic device includes a main body, a detection component and a driving component, the detection component includes a detection part and a light-emitting part, and the detection component control method includes: when the light-emitting part emits a first light and the electronic device moves, obtaining an acceleration parameter of the electronic device; generating a control signal based on the acceleration parameter to control the driving component to drive the detection component so that the detection part receives the first light.

[0010] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the second aspect are implemented.

[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the second aspect are implemented.

[0012] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the second aspect.

[0013] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the second aspect.

[0014] In the seventh aspect, an embodiment of the present application provides a detection component control device, which is applied to an electronic device, wherein the electronic device includes a main body, a detection component and a driving component, the detection component includes a detection part and a light-emitting part, and the detection component control device includes: a parameter acquisition module, which is used to obtain the acceleration parameter of the electronic device when the light-emitting part emits a first light and the electronic device moves; a signal control module, which is used to generate a control signal based on the acceleration parameter to control the driving component to drive the detection component so that the detection part receives the first light.

[0015] In an embodiment of the present application, an electronic device is provided in which a detection component is movably disposed in the main body of the electronic device. The detection component includes a detection member and a light-emitting member. When the light-emitting member emits a first light and the electronic device moves, the drive component drives the detection component so that the detection member receives the first light. This structural arrangement avoids the problem of inaccurate detection results for the wearer caused by the detection component being fixedly installed inside the electronic device when the electronic device is displaced relative to the wearing position due to inertia. This structure can improve the accuracy of the detection results by controlling the movement of the detection component. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] FIG1 is a first schematic diagram of a detection component for performing heart rate detection according to an embodiment of the present application;

[0017] FIG2 is a second schematic diagram of a detection component performing heart rate detection according to an embodiment of the present application;

[0018] FIG3 is a schematic diagram of an electronic device provided in an embodiment of the present application;

[0019] FIG4 is a schematic diagram of another electronic device provided in an embodiment of the present application;

[0020] FIG5 is a schematic diagram of another electronic device provided in an embodiment of the present application;

[0021] FIG6 is a schematic diagram of the positional relationship between a detection component and a main body when stationary, provided by an embodiment of the present application;

[0022] FIG7 is a schematic diagram of the positional relationship between the detection component and the main body during movement provided by an embodiment of the present application;

[0023] FIG8 is a flow chart of a detection component control method provided in an embodiment of the present application;

[0024] FIG9 is a schematic diagram of a module of a detection component control device provided in an embodiment of the present application;

[0025] FIG10 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0026] FIG11 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0028] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0029] The component moving device provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0030] In this solution, the electronic device can be a smart wearable device such as a watch, smart bracelet, or smart glasses. The electronic device includes a main body, within which a detection component is integrated to perform corresponding functional detection, such as heart rate detection and blood oxygen concentration detection. The following explanation uses the electronic device as a watch and the detection component as a heart rate detection component as an example.

[0031] Figure 1 is a first schematic diagram of a detection component for heart rate detection provided by an embodiment of the present application. As shown in Figure 1, a detection component 002 is provided inside a main body 001 of an electronic device. Optionally, the detection component is movably provided on the bottom side of the main body 001. The bottom of the main body 001 contacts the skin, and there are corresponding blood vessels under the skin. The detection component 002 includes a detection element and a light-emitting element, wherein the light-emitting element is an LED module and the detection element is a PD module. During the heart rate detection process, light is emitted to the blood vessels through the LED module. The reflected light is reflected by the blood vessels and received by the PD module. The amount of light received by the PD module changes to detect the heart rate.

[0032] Figure 2 is a second schematic diagram of a detection component for heart rate detection provided by an embodiment of the present application. When the user's arm moves due to sweating on the arm or the watch not fitting well while the watch is being worn, the watch may slip relative to the arm due to inertia, as shown in Figure 2. At this time, the light emitted by the LED module at the first moment may not be properly received by the PD module due to the relative slip at the second moment, that is, the detection results of the detection component may be inaccurate during arm movement.

[0033] In one embodiment, in order to compensate for the relative slippage that occurs during heart rate detection during exercise as shown in Figure 2 above, a driving component arranged inside the main body of the electronic device is used. When the light-emitting component emits light and the electronic device moves, the detection component is driven to move so that the detection component accurately receives the light emitted by the light-emitting component.

[0034] In one embodiment, as shown in FIG3 , FIG3 is a schematic diagram of an electronic device provided in an embodiment of the present application, the electronic device includes a main body 01, and a detection component 02 disposed inside the main body, the detection component 02 includes a light-emitting component 021 and a detection component 022, and a drive component includes a drive component 031 (the example in FIG3 includes two drive components as an example, and also includes a drive component 033 on the opposite side) and a ball 032, and the ball 032 is disposed in a slide groove 011 provided inside the shell of the electronic device body. The position of the ball 032 in the slide groove 011 is exemplarily recorded as the first position at this time, and the ball 032 is connected to the detection component 02. In the case where the light-emitting element 021 emits a first light and the electronic device moves, the driving element 031 drives the detection component 02, and the detection component 02 moves along the sliding groove to the second position (e.g., moves rightward to the second position) under the action of the ball 032; when the detection component 02 meets the conditions, the ball 032 drives the detection component 02 to move along the sliding groove to the first position; optionally, the first position can be the position of the ball 032 in the sliding groove 011 corresponding to the initial position of the detection component 02, and the second position is the position of the ball 032 in the sliding groove 011 after the detection component 02 is driven by the driving element. In the first position, the distance between the ball 032 and the detection component 02 is greater than the distance between the ball 032 and the detection component 02 in the second position.

[0035] In one embodiment, the surface of the sliding groove facing the ball is a curved surface (such as a funnel-shaped curved surface), the elastic member is embedded in the detection component, and the elastic member is connected to the ball. Particularly, when the light-emitting component emits a first light and the electronic device moves, the driving member drives the detection component, and the detection component moves to the second position along the curved surface of the sliding groove under the action of the ball. At this time, the elastic member is in a deformed state. When the detection component meets the conditions, the ball drives the detection component to move to the first position along the sliding groove. At this time, the elastic member is in its original state. In this way, automatic resetting of the detection component can be achieved. Particularly, the above-mentioned detection component meeting the conditions can be that the electronic device is in a non-moving state, and / or the light-emitting component does not emit light.

[0036] In one embodiment, as shown in FIG4 , FIG4 is a schematic diagram of another electronic device provided by an embodiment of the present application, the electronic device includes a main body 01, and a detection assembly 02 arranged on the bottom side of the main body 01. The driving component included in the driving assembly is composed of a magnetic coil 0312 and a permanent magnet 0313, wherein the permanent magnet 0313 is arranged on the outside of the detection assembly 02, the elastic member 041 is embedded in the detection assembly 02, and the magnetic coil 0312 is arranged inside the main body 01, opposite to the permanent magnet 0313. Wherein, the elastic member 041 can be a telescopic spring or elastic rubber, etc., and the telescopic spring is embedded in the detection assembly, and the upper and lower ends are respectively connected to the ball. As shown in FIG4 , taking the elastic member as an example of a telescopic spring, the telescopic spring 041 and the balls 0421 and 0422 respectively arranged at the upper and lower ends are connected. Accordingly, the position inside the main body 01 connected to the telescopic spring 041 is provided with a curved sliding groove 043, so that when the driving force is applied to the detection assembly 02, the cooperation of the telescopic spring and the ball causes the detection assembly to produce a corresponding displacement.

[0037] Among them, the control module integrated in the electronic device can control the current of the wire in the magnetic coil by sending a coil control signal, thereby changing the magnetic field around the magnetic coil and generating a driving force on the permanent magnet. Among them, the difference in the flow direction and current magnitude of the current will generate magnetic forces of different magnitudes and directions on the corresponding permanent magnets, and the permanent magnet 0313 in the example of Figure 4 is set outside the detection component 02. After the permanent magnet 0313 is subjected to force, it can drive the detection component 02 to move accordingly. Compared with the setting method in which the detection component is fixedly set inside the main body, the driving of the driving component can realize the movement control of the detection component, generate relative displacement relative to the main body, so that the detection component in the detection component can accurately receive the light emitted by the light-emitting component, avoiding the problem of inaccurate detection results for the wearer caused by the displacement of the detection component when the electronic device is fixedly installed inside the electronic device due to inertia. This structure can improve the accuracy of the detection results by controlling the movement of the detection component.

[0038] Optionally, the number of permanent magnets and magnetic coils included in the driving member includes four, wherein each permanent magnet is respectively arranged on one side of the detection component. For example, as shown in FIG5 , FIG5 is a schematic diagram of another electronic device provided in an embodiment of the present application, four permanent magnets are arranged on the outside of the detection component 02, which are respectively arranged on one side of the detection component 02, as shown in the figure, respectively, permanent magnet 03131, permanent magnet 03132, permanent magnet 03133 and permanent magnet 03134, and four magnetic coils are arranged inside the main body 01 at positions opposite to permanent magnet 03131, permanent magnet 03132, permanent magnet 03133 and permanent magnet 03134, respectively, which are magnetic coil 03121, magnetic coil 03122, magnetic lines of force Coil 03123 and magnetic coil 03124, correspondingly, the control module integrated in the electronic device is electrically connected to the magnetic coil 03121, magnetic coil 03122, magnetic coil 03123 and magnetic coil 03124 respectively, and after calculating the movement parameters (including movement direction and movement speed) of the detection component 02, the driving force of the permanent magnet when the detection component 02 moves according to the movement parameters is converted to obtain the magnitude and direction of the driving force, and then the current that should be applied to the magnetic coil is converted to generate a corresponding coil control signal to control the magnitude and direction of the current in the magnetic coil.

[0039] In one embodiment, as shown in FIG5 , the number of elastic members includes four, including elastic member 041, elastic member 042, elastic member 043 and elastic member 044. Each elastic member is embedded in a corner of the detection component 02, and the sliding groove is funnel-shaped. This setting method enables the detection component to slide flexibly in different directions.

[0040] Figure 6 is a schematic diagram of the positional relationship between the detection component and the main body when stationary provided by an embodiment of the present application. Exemplarily, when it is detected that the arm has an acceleration in the direction indicated by the arrow, the corresponding control detection component moves in the same direction. The schematic diagram of the positional relationship between the detection component and the main body after the movement is shown in Figure 7. Figure 7 is a schematic diagram of the positional relationship between the detection component and the main body during the movement provided by an embodiment of the present application. As shown in Figure 7, the main body 01 still remains in the position when it is stationary due to inertia. At this time, the detection component 02 moves to the right relative to the main body 01 to produce a relative displacement. In this way, the detection component is adjusted in displacement during the movement, so that its relative position with the main body changes without being affected by inertia, so as to achieve accurate availability of the detection function of the detection component.

[0041] FIG8 is a flow chart of a detection component control method provided in an embodiment of the present application, which is applied to an electronic device. The electronic device includes a main body, a detection component, and a driving component. The detection component includes a detection element and a light-emitting element. As shown in FIG8 , the method includes:

[0042] Step S101: When a light emitting element emits a first light and the electronic device moves, an acceleration parameter of the electronic device is obtained.

[0043] The acceleration parameters include acceleration direction and acceleration magnitude. In one embodiment, a sensor for detecting acceleration is integrated within the electronic device, such as obtaining the acceleration value of the electronic device through an integrated acceleration sensor, and obtaining the acceleration direction of the electronic device through an integrated gyroscope sensor. When the arm wearing the electronic device moves, the electronic device will move accordingly. However, due to inertia, if the electronic device is not worn tightly or there is sweating, the movement of the electronic device relative to the arm will lag. However, at this time, the sensor integrated in the electronic device can collect the acceleration parameters of the electronic device.

[0044] In one embodiment, when the light-emitting element emits a first light and the electronic device is in motion, acceleration parameters of the electronic device are acquired. The motion of the electronic device includes non-uniform motion and a non-stationary state. The emission of the first light by the light-emitting element indicates that the detection component is activating a detection function. To ensure detection accuracy, the acceleration parameters of the electronic device are acquired for subsequent use in driving the detection component to move based on the acceleration parameters.

[0045] Step S102: Generate a control signal based on the acceleration parameter to control the driving component to drive the detection component so that the detection component receives the first light.

[0046] In one embodiment, after obtaining the acceleration parameter, the acceleration direction of the electronic device and the magnitude of the acceleration in that direction are determined. A physical formula is then used to calculate the magnitude and direction of the force required to control the detection component to perform the same movement, thereby enabling the detection component to be moved with the aid of a drive component. The drive component can be a set magnetic coil and an associated permanent magnet. The conductor current of the magnetic coil when the corresponding force magnitude is calculated using the set magnetic coil and the associated permanent magnet is generated. A corresponding coil control signal is generated to apply corresponding control to the magnetic coil, thereby driving the detection component to move with the same acceleration parameter so that the detection element receives the first light.

[0047] As shown in Figures 5 and 6, by controlling the relative displacement between the detection component and the main body, although the main body slips due to inertia and the arm, the detection component and the arm can be controlled to move synchronously, thereby maintaining the accuracy of the detection signal of the detection component and avoiding the detection signal offset shown in Figures 1 and 2.

[0048] In one embodiment, when the detection component is driven to move with an acceleration parameter, it is exemplarily moved from the first position to the second position to ensure that the detection component and the detected object do not slip. Accordingly, it also includes: when the electronic device is stationary, the driving component drives the detection component to move from the second position to the first position, so that the detection component receives the first light emitted by the light-emitting component. Optionally, when it is detected that the electronic device is stationary or in uniform motion, the control signal is stopped from being generated so that the detection component is driven to the initial relative position, i.e., the first position, by the connected driving component. Exemplarily, as shown in FIG4 , when the electromagnet does not exert a force on the detection component, the deformation force of the elastic member provided cooperates with the ball and the sliding groove to restore the detection component to its original position, thereby realizing the automatic return of the detection component.

[0049] In one embodiment, the detection component can be a component for detecting heart rate, and the detection component control method further includes performing heart rate detection based on the first light emitted by the light-emitting component and the first light received by the detection component. Since the detection component will not cause relative displacement with the arm due to inertia, the accuracy of heart rate detection is guaranteed.

[0050] It should be noted that the above detection component control method can be a separate program specially set up to be deployed in the scene where the movement of the component needs to be controlled, or it can be integrated into the detection component control software itself.

[0051] The detection component control method provided in the embodiment of the present application can be executed by a detection component control device. In the embodiment of the present application, the detection component control device provided in the embodiment of the present application is described by taking the detection component control method performed by the detection component control device as an example.

[0052] Specifically, the detection component control device provided in the embodiment of the present application is shown in FIG9 , which is a module schematic diagram of a detection component control device provided in the embodiment of the present application, including:

[0053] A parameter acquisition module 101 is configured to acquire an acceleration parameter of the electronic device when the light emitting element emits a first light and the electronic device moves;

[0054] The signal control module 102 is configured to generate a control signal based on the acceleration parameter to control the driving component to drive the detecting component so that the detecting component receives the first light.

[0055] In one embodiment, the signal control module 102 is specifically configured to:

[0056] Generate a control signal to control the driving component to drive the detection component to move from a first position to a second position; wherein, when the electronic device is stationary, the driving component drives the detection component to move from the second position to the first position so that the detection component receives the first light.

[0057] In one embodiment, the device further includes a heart rate detection module for performing heart rate detection based on the first light emitted by the light emitting element and the first light received by the detection element.

[0058] It can be seen from the above scheme that the above-mentioned detection component control device can control the movement of the detection component, avoiding the displacement of the electronic device due to inertia and the problem of inaccurate detection results caused by the displacement of the detection component fixedly installed inside the electronic device, which can improve the accuracy of the detection results.

[0059] The detection component control device in the embodiment of the present application can be a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a wearable device, such as a watch, a smart bracelet, etc.

[0060] The detection component control device in the embodiment of the present application can be a device having an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0061] The detection component control device provided in the embodiment of the present application can implement each process implemented in the above embodiment. To avoid repetition, it will not be described here.

[0062] Optionally, an embodiment of the present application further provides an electronic device, as shown in FIG10 , which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 200 includes a processor 201, a memory 202, and a program or instruction stored in the memory 202 and executable on the processor 201. When executed by the processor 201, the program or instruction implements the various processes of the above-described detection component control method embodiment and can achieve the same technical effects. To avoid repetition, the details will not be repeated here.

[0063] Figure 11 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. As shown in the figure, in addition to the aforementioned detection component and drive component, the electronic device 300 also includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, and a processor 310.

[0064] Those skilled in the art will appreciate that the electronic device 300 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 310 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG10 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0065] Optionally, the processor 310 is used to obtain an acceleration parameter of the electronic device when the light-emitting component emits a first light and the electronic device moves; and generate a control signal based on the acceleration parameter to control the driving component to drive the detection component so that the detection component receives the first light, thereby avoiding the problem of inaccurate detection results caused by displacement of the electronic device due to inertia and the detection component being fixedly installed inside the electronic device, thereby improving the accuracy of the detection results.

[0066] Optionally, the processor 310 is specifically used to: control the driving component to drive the detection component to move from the first position to the second position; it is also used to, when the electronic device is stationary, drive the detection component to move from the second position to the first position so that the detection component receives the first light, thereby realizing automatic return of the detection component.

[0067] It should be understood that in an embodiment of the present application, the input unit 304 may include a graphics processing unit (GPU) 3041 and a microphone 3042, and the graphics processor 3041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 306 may include a display panel 3061, and the display panel 3061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 307 includes a touch panel 3071 and at least one of other input devices 3072. The touch panel 3071 is also called a touch screen. The touch panel 3071 may include two parts: a touch detection device and a touch controller. Other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0068] The memory 309 can be used to store software programs and various data. The memory 309 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 309 may include a volatile memory or a non-volatile memory, or the memory 309 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 309 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0069] Processor 310 may include one or more processing units. Optionally, processor 310 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 310.

[0070] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned detection component control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0071] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.

[0072] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned detection component control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0073] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0074] The embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the various processes of the above-mentioned detection component control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0075] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0076] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0077] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. An electronic device, comprising: main body; A detection component, which is movably disposed in the main body and includes a detection member and a light-emitting member; A drive assembly, wherein the drive assembly is disposed in the main body; When the light emitting element emits a first light and the electronic device moves, the driving component drives the detecting component so that the detecting element receives the first light.

2. The electronic device according to claim 1, wherein: The driving assembly includes a driving member and a ball, a sliding groove is provided inside the shell of the main body, the ball is arranged at a first position in the sliding groove, and the ball is connected to the detection assembly; Wherein, when the light emitting element emits a first light and the electronic device moves, the driving element drives the detection component, and the detection component moves to a second position along the sliding groove under the action of the ball; When the detection component meets the conditions, the ball drives the detection component to move along the sliding groove to the first position; Wherein, the distance between the ball and the detection component when the ball is in the first position is greater than the distance between the ball and the detection component when the ball is in the second position.

3. The electronic device according to claim 2, wherein: The driving assembly further comprises an elastic member, the surface of the sliding groove facing the ball is a curved surface, the elastic member is embedded in the detection assembly, and the elastic member is connected to the ball; Wherein, when the light emitting member emits the first light and the electronic device moves, the driving member drives the detection component, and the detection component moves to the second position along the curved surface of the sliding groove under the action of the ball, and the elastic member is in a deformed state; When the detection component meets the conditions, the ball drives the detection component to move along the sliding groove to the first position, and the elastic member is in the original state.

4. A detection component control method, applied to an electronic device, the electronic device comprising a main body, a detection component and a driving component, the detection component comprising a detection element and a light-emitting element, the detection component control method comprising: When the light emitting element emits a first light and the electronic device moves, acquiring an acceleration parameter of the electronic device; A control signal is generated based on the acceleration parameter to control the driving component to drive the detecting component so that the detecting element receives the first light.

5. The detection component control method according to claim 4, wherein: The controlling the driving component to drive the detecting component comprises: Controlling the driving component to drive the detection component to move from the first position to the second position; The detection component control method also includes: When the electronic device is stationary, the driving component drives the detection component to move from the second position to the first position, so that the detection component receives the first light.

6. The detection component control method according to claim 4 or 5, wherein: Also includes: Heart rate detection is performed based on the first light emitted by the light emitting element and the first light received by the detection element.

7. A detection component control device, applied to an electronic device, the electronic device comprising a main body, a detection component and a driving component, the detection component comprising a detection element and a light-emitting element, the detection component control device comprising: a parameter acquisition module, used for acquiring acceleration parameters of the electronic device when the light emitting element emits a first light and the electronic device moves; A signal control module is used to generate a control signal based on the acceleration parameter to control the driving component to drive the detection component so that the detection component receives the first light.

8. The detection component control device according to claim 7, wherein: The signal control module is specifically used for: Generate a control signal to control the driving component to drive the detection component to move from the first position to the second position; When the electronic device is stationary, the driving component drives the detection component to move from the second position to the first position, so that the detection component receives the first light.

9. The detection component control device according to claim 7 or 8, wherein: Also includes: The heart rate detection module is used to detect the heart rate based on the first light emitted by the light emitting element and the first light received by the detection element.

10. An electronic device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the detection component control method according to any one of claims 4 to 6 are implemented.

11. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the detection component control method according to any one of claims 4 to 6.

12. An electronic device, comprising: the electronic device being configured to execute the steps of the detection component control method according to any one of claims 4 to 6.

13. A chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the detection component control method according to any one of claims 4 to 6.

14. A computer program product, wherein the computer program product is stored in a non-volatile storage medium, and wherein the computer program product is executed by at least one processor to implement the steps of the detection component control method according to any one of claims 4 to 6.

Citation Information

Patent Citations

  • Physiological signal detecting device and system

    CN104254275A

  • An electronicdevice for measuring physiological information and a method thereof

    CN109803575A

  • System and method for providing user feedback of blood pressure sensor placement and contact quality

    CN110381817A

  • Pulse signal detection method and device and intelligent bracelet

    CN112120684A

  • Electronic equipment, detection component control method and device and storage medium

    CN116172536A