Electronic device and control method of electronic device

By using a cam mechanism and a drive device in an electronic device to adjust the direction of the speaker, the problems of inflexible voice playback and noise pollution are solved, directional sound source propagation is achieved, and the user experience is improved.

CN115379350BActive Publication Date: 2025-09-19VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211008593.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-22
Publication Date
2025-09-19
Estimated Expiration
2042-08-22

AI Technical Summary

Technical Problem

In the existing technology, electronic devices cannot achieve private listening when playing voice, and wearing headphones will cause ear damage, while the external speaker mode will cause noise pollution to surrounding people, affecting the user experience.

Method used

A cam mechanism is used to connect to the speaker, and the cam mechanism is driven to rotate by a driving device to change the direction of the speaker to accurately control the propagation direction of the sound source and achieve directional propagation.

Benefits of technology

The flexibility of voice playback of electronic devices is improved, the discomfort caused by the use of headphones and the noise pollution to others are avoided, and the user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115379350B_ABST
    Figure CN115379350B_ABST
Patent Text Reader

Abstract

The present application discloses an electronic device and a control method for the electronic device, wherein the electronic device includes: a speaker, the speaker being rotationally connected to the electronic device; a cam mechanism, the cam mechanism being in contact with the speaker; a driving device, the driving device being dynamically connected to the cam mechanism, the connection point being the center of a base circle of the cam mechanism, the driving device driving the cam mechanism to rotate around the center of the base circle to drive the speaker to rotate. The present application sets a cam mechanism in contact with the speaker, and uses the driving device to drive the cam mechanism to rotate to drive the speaker to rotate, thereby changing the orientation of the outer surface of the speaker to accurately control the propagation direction of the sound source, thereby improving the flexibility of the voice playback of the electronic device. The structure is simple, the space occupied is small, and it is easy to implement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic technology, and specifically relates to an electronic device and a control method of the electronic device. Background Art

[0002] Electronic devices are widely used in people's daily lives and work. When users use electronic devices for entertainment, they often listen to voices by wearing headphones or using an external speaker. In the process of implementing this application, the applicant discovered that there are at least the following problems in the existing technology: if you want to listen privately, you need to wear headphones, but wearing headphones for a long time will cause certain damage to the user's ears; but if you use the external speaker mode, on the one hand, you cannot listen privately, and on the other hand, it will cause noise pollution to people around you, thereby affecting the user's experience. Summary of the Invention

[0003] The purpose of the embodiments of the present application is to provide an electronic device and a control method for the electronic device, which at least solves one of the problems of poor flexibility in voice playback of the electronic device.

[0004] In order to solve the above technical problems, this application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides an electronic device, including:

[0006] a speaker, the speaker being rotatably connected to the electronic device;

[0007] a cam mechanism, the cam mechanism being in contact with the speaker;

[0008] A driving device is dynamically connected to the cam mechanism, the connection point being the base circle center of the cam mechanism, and the driving device drives the cam mechanism to rotate around the base circle center to drive the speaker to rotate.

[0009] In a second aspect, an embodiment of the present application provides a method for controlling an electronic device, which is applied to the electronic device according to the first aspect. The method includes:

[0010] Get the location information of the target object;

[0011] Based on the position information, the speaker is controlled to rotate.

[0012] In a third aspect, an embodiment of the present application provides a control device for an electronic device, which is applied to the electronic device as described in the first aspect. The device includes:

[0013] A first processing module is used to obtain the location information of the target object;

[0014] The second processing module is configured to control the rotation of the speaker based on the position information.

[0015] 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 method described in the second aspect is implemented.

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

[0017] 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.

[0018] In an embodiment of the present application, a cam mechanism is provided in contact with the speaker, and a driving device is used to drive the cam mechanism to rotate to drive the speaker to rotate, thereby changing the orientation of the outer surface of the speaker to accurately control the propagation direction of the sound source and improve the flexibility of voice playback of the electronic device. The structure is simple, occupies a small space and is easy to implement.

[0019] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is one of the structural diagrams of the electronic device provided in the embodiment of the present application;

[0021] Figure 2 This is the second structural diagram of the electronic device provided in the embodiment of the present application;

[0022] Figure 3 This is the third structural diagram of the electronic device provided in the embodiment of the present application;

[0023] Figure 4 This is the fourth structural diagram of the electronic device provided in the embodiment of the present application;

[0024] Figure 5 This is the fifth structural diagram of the electronic device provided in the embodiment of the present application;

[0025] Figure 6 This is the sixth structural diagram of the electronic device provided in the embodiment of the present application;

[0026] Figure 7 This is the seventh structural diagram of the electronic device provided in the embodiment of the present application;

[0027] Figure 8This is the eighth structural diagram of the electronic device provided in the embodiment of the present application;

[0028] Figure 9 This is one of the flow charts of the control method of the electronic device provided in the embodiment of the present application;

[0029] Figure 10 This is a second flow chart of the control method of the electronic device provided in an embodiment of the present application;

[0030] Figure 11 Schematic diagram of the structure of the control device of the electronic device provided in the embodiment of the present application.

[0031] Reference numerals:

[0032] Speaker 110; Cam mechanism 120; Driving device 130;

[0033] Main board 140 ; ​​bearing 150 ; power cord 160 ; frame 170 ; opening 190 . DETAILED DESCRIPTION

[0034] The embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0035] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0036] In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "inside", "outside", "clockwise", "counterclockwise", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application.

[0037] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; and internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

[0038] The following combination Figures 1-10 An electronic device according to an embodiment of the present application is described.

[0039] It should be noted that the electronic device of the present application can be a mobile electronic device, such as a mobile phone, tablet computer, watch or smart wearable device, etc.; it can also be a non-mobile electronic device, such as a PC, etc.

[0040] like Figure 1 As shown, the electronic device according to some embodiments of the present application includes: a speaker 110, a cam mechanism 120 and a driving device 130.

[0041] In this embodiment, the speaker 110 may be a directional speaker for directionally propagating a sound source, such as propagating the sound in a narrowband sound beam along a specified direction.

[0042] The speaker 110 can control the propagation direction of the sound source and the coverage range of the sound waves.

[0043] The speaker 110 is rotatably connected to the electronic device.

[0044] Specifically, the speaker 110 may be rotatably connected to the frame 170 of the electronic device.

[0045] The speaker 110 may be a sheet-like structure with a sound outlet provided on its outer surface. The outer surface faces the outside of the electronic device, and the inner surface faces the inside of the electronic device.

[0046] Specifically, the inner surface of the speaker 110 is rotatably connected to the electronic device.

[0047] The cam mechanism 120 cooperates with the driving device 130 to drive the speaker 110 to rotate.

[0048] like Figure 4-Figure 6 As shown, the cam mechanism 120 may be a disc-shaped cam, wherein Figure 4 For the front view, Figure 5 This is a schematic diagram of the back side. Figure 6 It is a side view.

[0049] like Figure 1 and Figure 2As shown, in some embodiments, the cam profile of the cam mechanism 120 contacts the speaker 110 . During the rolling process of the cam mechanism 120 , the cam profile and the inner surface of the speaker 110 move relative to each other, thereby driving the speaker 110 to deflect.

[0050] The driving device 130 is connected to the cam mechanism 120 in a power-connected manner and is used to drive the cam mechanism 120 to rotate.

[0051] For example, the driving device 130 may be a motor or an electrical machine, etc., which is not limited in this application.

[0052] like Figure 5 As shown, the connection point between the driving device 130 and the cam mechanism 120 is the center of the base circle of the cam mechanism 120 .

[0053] One cam mechanism 120 corresponds to one driving device 130 .

[0054] In the present application, the number of the cam mechanism 120 may be one or more.

[0055] During actual implementation, the driving device 130 drives the cam mechanism 120 to rotate around the center of the base circle with the center of the base circle as the rotation center point, so that the cam mechanism 120 drives the speaker 110 to move relative to it.

[0056] It can be understood that during the rotation of the cam mechanism 120, the position of the center of the base circle remains unchanged, and during the rotation of the cam mechanism 120, the distance between the point where the cam profile contacts the speaker 110 and the center of the base circle changes with the rotation of the cam mechanism 120, realizing a movement from short to long (or from long to short), so as to drive the speaker 110 in contact with the cam profile to realize a follower movement from low to high (or from high to low), thereby changing the orientation of the outer surface of the speaker 110.

[0057] During the research and development process, the inventor discovered that there is a technology in the related art that adjusts the direction of the speaker based on a connecting rod mechanism, but the connecting rod mechanism can only adjust the direction of the speaker within a certain range, and the scope of application is small; in addition, the connecting rod mechanism requires a large space and is limited by the volume of electronic equipment. Therefore, this technology cannot be applied to electronic equipment.

[0058] In the present application, by using a cam mechanism 120 to adjust the orientation of the speaker 110, directional adjustment within a wider range can be achieved with higher control accuracy; in addition, the structure provided in the present application involves fewer components and occupies less volume, and can be flexibly arranged in electronic devices (especially smaller mobile electronic devices), with universality and flexibility.

[0059] According to the electronic device of the embodiment of the present application, a cam mechanism 120 is provided in contact with the speaker 110, and a driving device 130 is used to drive the cam mechanism 120 to rotate to drive the speaker 110 to deflect, thereby changing the orientation of the outer surface of the speaker 110 to accurately control the propagation direction of the sound source, thereby improving the flexibility of the voice playback of the electronic device. The structure is simple, occupies a small space and is easy to implement.

[0060] like Figure 4 As shown, according to some embodiments of the present application, the profile of the cam mechanism 120 includes a straight line segment and a curved line segment.

[0061] In this embodiment, the cam mechanism 120 is a disc cam, wherein one end of a straight segment is connected to one end of a curved segment, and the other end of the straight segment is connected to the other end of the curved segment.

[0062] The curved segment is used to contact the speaker 110 .

[0063] It should be noted that the number of curve segments can be one, or two or more.

[0064] In some embodiments, the number of curved segments is one, one end of the straight line segment is connected to one end of the curved segment, the other end of the straight line segment is connected to the other end of the curved segment, and the distance from a point on the curved segment to the center of the base circle of the cam mechanism 120 gradually decreases from one end to the other end of the curved segment.

[0065] In other embodiments, the curve segment includes a first sub-curve segment and a second sub-curve segment, wherein the distance from a point on the first sub-curve segment to the center of the base circle of the cam mechanism 120 gradually decreases from one end to the other end of the first sub-curve segment, and the second sub-curve segment is an arc with the center of the base circle as the center, and one end of the second sub-curve segment is connected to the end of the first sub-curve segment where the point closest to the center of the base circle is located.

[0066] like Figure 2 As shown, at this time, the cam mechanism 120 is in the initial position, and the cam mechanism 120 begins to rotate around the center of the base circle. For example, when rotating counterclockwise around the center of the base circle, the contact position between the cam mechanism 120 and the speaker 110 gradually moves from the point on the second sub-curve segment with the shortest distance from the center of the base circle (i.e., the point corresponding to the initial position) to the point on the second sub-curve segment with the longest distance from the center of the base circle, as shown in FIG. Figure 1 As shown, it eventually reaches the position of the point on the second sub-curve segment that is the longest distance from the center of the base circle (not shown in the figure), thereby driving the speaker 110 to move from the low position to the middle position and finally to the highest position.

[0067] According to the electronic device of the embodiment of the present application, by setting the distances between the points on the curved segments in the profile of the cam mechanism 120 and the center of the base circle to unequal distances, adjustment of any height within a certain range can be achieved, thereby enabling the speaker 110 to be deflected at any angle within a certain range, with high adjustment accuracy and strong flexibility.

[0068] Continue to refer Figure 1 or Figure 2 According to some embodiments of the present application, the speaker 110 is provided with a stepped surface.

[0069] In this embodiment, a side of the stepped surface of the speaker 110 that faces away from the outer surface of the speaker 110 contacts the cam profile of the cam mechanism 120 .

[0070] During actual implementation, the cam mechanism 120 rotates around the center of the base circle, and the height of the point where the cam profile contacts the step surface changes accordingly, thereby driving the speaker 110 to move accordingly, so that the outer surface of the speaker 110 can achieve deflection at different angles.

[0071] According to the electronic device of an embodiment of the present application, a step surface is set on the speaker 110, and the cam profile is in contact with the step surface so that the cam profile rolls along the step surface, thereby limiting the area in which the cam profile moves relative to the speaker 110 to improve the accuracy of control.

[0072] According to some embodiments of the present application, there are at least two cam mechanisms 120 .

[0073] In this embodiment, the speaker 110 is rotatably connected to the electronic device via a ball joint structure, such as being connected to the frame 170 of the electronic device via the ball joint structure.

[0074] The ball joint structure is used to fix the speaker 110 so that it does not separate from the electronic device, and is used to ensure that the speaker 110 can be rotated or flipped in any direction.

[0075] Specifically, the inner surface of the speaker 110 is connected to the electronic device via a ball joint structure.

[0076] The included angle between the axes of at least two cam mechanisms 120 is α, and 0°<α<180°.

[0077] For example, the angle between the axes of the two cam mechanisms 120 may be 90° or 60°, etc., which is not limited in this application.

[0078] In some embodiments, the speaker 110 may be a rectangular parallelepiped structure; then at least two cam mechanisms 120 may be respectively disposed at adjacent sides of the speaker 110 , and the movement of the at least two cam mechanisms 120 may drive the speaker 110 to deflect in different planes.

[0079] For example, by controlling the rotation of the cam mechanism 120 disposed in front of the speaker 110, the speaker 110 can be driven to flip forward and backward; by controlling the rotation of the cam mechanism 120 disposed on the right side of the speaker 110, the speaker 110 can be driven to flip left and right. Driven by the two cam mechanisms 120, the speaker 110 can be driven to flip forward and backward and left and right at the same time, thereby driving the speaker 110 to deflect in different planes.

[0080] According to the electronic device of the embodiment of the present application, by providing at least two cam mechanisms 120 and limiting the angle between the axes of the at least two cam mechanisms 120 to between 0-180°, the speaker 110 can be simultaneously flipped forward and backward and left and right, achieving multi-sided flipping, thereby enabling it to face the desired direction more accurately, significantly improving the precision and accuracy of control.

[0081] like Figure 3 As shown, according to some embodiments of the present application, there may be four cam mechanisms 120 .

[0082] In this embodiment, four cam mechanisms 120 are respectively disposed around the speaker 110 , and the four cam mechanisms 120 are symmetrically arranged at equal distances.

[0083] For example, the speaker 110 can be a rectangular structure, and the four cam mechanisms 120 are respectively arranged near the four sides of the speaker 110. The cam mechanisms 120 arranged near the front and rear sides drive the speaker 110 to deflect forward and backward, and the cam mechanisms 120 arranged near the left and right sides drive the speaker 110 to deflect left and right.

[0084] For another example, the speaker 110 may be a pancake-shaped structure, and the four cam mechanisms 120 may be equidistantly disposed on the circumference of the speaker 110 .

[0085] According to the electronic device of the embodiment of the present application, by symmetrically disposing four cam mechanisms 120 around the speaker 110 , it helps to improve the driving stability, thereby achieving stable deflection of the speaker 110 .

[0086] like Figure 8 As shown, according to some embodiments of the present application, the electronic device may further include: a positioning device and a mainboard 140 .

[0087] In this embodiment, the positioning device is used to determine the user's location.

[0088] Furthermore, the user location may include a face location.

[0089] The positioning device may include: a positioning device based on sound, a positioning device based on image recognition, a positioning device based on Bluetooth or other positioning devices.

[0090] For example, when the positioning device is a sound-based positioning device, the positioning device may include a microphone for collecting user sound waves and then determining the user's position based on information such as the propagation direction or attenuation degree of the user's sound waves.

[0091] For another example, in the case where the positioning device is a positioning device based on image recognition, the positioning device may include an image sensor, and identify the user's position by identifying the user (or face, etc.) through the image sensor.

[0092] For another example, when the positioning device is a Bluetooth-based positioning device, the user can be allowed to wear Bluetooth-related accessories (such as Bluetooth glasses) and the user's location can be determined through Bluetooth positioning and other technologies.

[0093] In actual use, you can freely choose the best positioning method based on the actual scenario, and this application does not limit it.

[0094] The main board 140 may be a printed circuit board (PCB).

[0095] The mainboard 140 is electrically connected to the positioning device and the driving device 130 respectively, and is used to receive the user position sent by the positioning device, generate a control instruction for controlling the rotation of the driving device 130 based on the user position, and send the control instruction to the driving device 130.

[0096] The control instruction is used to control the driving device 130 to rotate so as to drive the cam mechanism 120 to drive the outer surface of the speaker 110 to move toward a direction corresponding to the user's position.

[0097] In actual implementation, the user's location (e.g., face location) can be identified through location recognition technologies such as the direction of user voice propagation and attenuation, or location recognition technologies such as Bluetooth technology, or location recognition technologies such as cameras.

[0098] Through the identified user position, the program built into the mainboard 140 determines the optimal deflection angle (i.e., target direction) of the speaker 110 based on the identified user position, and controls the driving device 130 to adjust the deflection angle of the speaker 110 to achieve directional sound conduction to the user position area.

[0099] In other embodiments, the mainboard 140 can also adjust the control instructions in real time based on changes in the user's position, so that the speaker 110 changes its direction accordingly based on changes in the user's position, thereby providing a directional sound conduction function that realizes position tracking based on changes in the user's position.

[0100] The following combination Figure 10 , the control logic of the electronic device of this application is specifically described.

[0101] like Figure 10 As shown, during normal operation of the electronic device, the positioning device in the electronic device determines the user's position information (such as the face position) and sends the position information to the main board 140;

[0102] The mainboard 140 determines a target orientation of the speaker 110 based on the position information, and generates a control instruction for adjusting the orientation of the speaker based on the target orientation;

[0103] The driving device 130 drives the cam mechanism 120 to rotate based on the received control instruction, so as to drive the speaker 110 to deflect toward the target direction.

[0104] Continue to refer Figure 10 In some embodiments, when the user's position changes, the mainboard 140 recognizes the change in the user's position, updates the position information, and adjusts the control instructions accordingly based on the updated position information to adjust the rotation of the driving device 130 and then adjust the deflection direction of the speaker 110, so that the speaker 110 can track the change in the user's position and change accordingly.

[0105] According to the electronic device of the embodiment of the present application, the deflection angle of the speaker 110 is determined by the original positioning device in the electronic device and the main board 140, and the driving device 130 drives the cam mechanism 120 to rotate based on the deflection angle to adjust the deflection angle of the speaker 110, so that the sound is directionally transmitted to the direction corresponding to the user's position, which not only avoids the discomfort caused by the use of headphones, but also ensures the privacy of the sound, avoids sound pollution to others, improves the user experience, and has a lower design cost.

[0106] like Figure 7 As shown, according to some embodiments of the present application, the electronic device may further include a bearing 150 .

[0107] In this embodiment, the driving device 130 is fixedly connected to the electronic device via a bearing 150 . The bearing 150 is used to fix the driving device 130 , thereby fixing the cam mechanism 120 .

[0108] Continue to refer Figure 8 According to some embodiments of the present application, a power cord 160 is provided inside the bearing 150 , and the driving device 130 is electrically connected to the mainboard 140 through the power cord 160 .

[0109] During actual implementation, the control signal generated by the mainboard 140 is transmitted to the driving device 130 through the power line 160 , so that the driving device 130 drives the cam mechanism 120 to rotate based on the control signal.

[0110] Of course, in other embodiments, the driving device 130 and the mainboard 140 may be connected via wireless communication to reduce the number of wires and save space.

[0111] Continue to refer Figure 8 According to some embodiments of the present application, the electronic device may further include a frame 170 .

[0112] In this embodiment, an opening 190 is provided on the side of the frame 170 , and the cross-sectional area of ​​the opening 190 should not be less than the cross-sectional area of ​​the speaker 110 .

[0113] The speaker 110 is placed in the opening 190 , and the periphery of the speaker 110 is not connected to the edge of the opening 190 , so as to ensure that the speaker 110 can deflect freely in the opening 190 .

[0114] Continue to refer Figure 7 According to some embodiments of the present application, there are at least two speakers 110.

[0115] In this embodiment, at least two openings 190 are provided on the side of the frame 170 , and at least two speakers 110 are respectively disposed in the at least two openings 190 , and the at least two speakers 110 are disposed on the same side of the electronic device.

[0116] According to the electronic device of the embodiment of the present application, by providing at least two speakers 110, a dual-channel effect can be provided to improve the authenticity of the sound, which helps to improve the user experience.

[0117] The following combination Figure 9-10 , describes a control method of an electronic device according to an embodiment of the present application.

[0118] like Figure 9 As shown, the control method of the electronic device includes: step 910 and step 920.

[0119] Step 910: Obtain the location information of the target object;

[0120] In this step, the target object is an object to which directional sound transmission is required.

[0121] The location information is used to represent the location of the target object relative to the electronic device.

[0122] The location information may include: three-dimensional coordinate data, direction information of the target object relative to the electronic device, or relative location information of the target object relative to the electronic device, etc.

[0123] During actual execution, the location information of the target object may be obtained through a positioning device provided in the electronic device.

[0124] In some embodiments, step 910 may include:

[0125] Identify the facial information of the target object in the target area;

[0126] Determine location information based on facial information.

[0127] In this embodiment, the target area may be any area that can be covered by the sound waves of the speaker 110 .

[0128] During the actual execution process, facial information of the target object can be collected through an image sensor, and the facial information can include position data of the three-dimensional space corresponding to the face.

[0129] The position data in the three-dimensional space is determined as the position information of the target object.

[0130] According to the control method of the electronic device in the embodiment of the present application, the position information is determined based on the facial information of the target object, which can further narrow the positioning range and improve the positioning accuracy, so that the subsequent speaker 110 can accurately face the face direction of the target object rather than other directions, thereby further improving the effect of directional sound transmission.

[0131] Of course, in other embodiments, the location information may be determined in other ways.

[0132] For example, the sound waves of the target object are collected by a microphone, and then the position information of the target object is determined based on information such as the propagation direction or attenuation degree of the sound waves of the target object.

[0133] For example, the target object can be made to wear Bluetooth-related accessories (such as Bluetooth glasses) and the location information of the target object can be determined through Bluetooth positioning and other technologies; this application is not limited to this.

[0134] Step 920: Control the speaker 110 to rotate based on the position information.

[0135] In this step, after the position information of the target object is determined, the speaker 110 can be controlled to rotate toward the direction where the target object is located based on the position information to achieve directional sound transmission.

[0136] In some embodiments, step 920 may include:

[0137] Determine the target direction based on the position information;

[0138] The driving device 130 drives the cam mechanism 120 to rotate based on the target direction to drive the speaker 110 to rotate toward the target direction.

[0139] In this embodiment, the target orientation is the direction that the speaker 110 is intended to face.

[0140] For example, Figure 10 As shown, during normal operation of the electronic device, the positioning device in the electronic device determines the user's position information (such as the face position) and sends the position information to the main board 140;

[0141] The mainboard 140 determines a target orientation of the speaker 110 based on the position information, and generates a control instruction for adjusting the orientation of the speaker based on the target orientation;

[0142] The driving device 130 drives the cam mechanism 120 to rotate based on the received control instruction, so as to drive the speaker 110 to deflect toward the target direction.

[0143] Continue to refer Figure 10 In some embodiments, when the user's position changes, the mainboard 140 recognizes the change in the user's position, updates the position information, and adjusts the control instructions accordingly based on the updated position information to adjust the rotation of the driving device 130 and then adjust the deflection direction of the speaker 110, so that the speaker 110 can track the change in the user's position and change accordingly.

[0144] According to the control method of the electronic device in the embodiment of the present application, the rotation of the speaker 110 is controlled by the position information of the target object, so that the sound can be directionally transmitted to the direction corresponding to the user's position, which not only avoids the discomfort caused by the use of headphones, but also ensures the privacy of the sound, avoids sound pollution to others, and improves the user experience.

[0145] Continue to refer Figure 10 In some embodiments, before step 910, the method may include:

[0146] receiving a first input;

[0147] In response to the first input, a directional sound scene is entered.

[0148] In this embodiment, the first input is used to trigger and turn on the directional sound function.

[0149] The first input can be in at least one of the following ways:

[0150] First, the first input may be a touch operation, including but not limited to a click operation, a slide operation, and a press operation.

[0151] In this embodiment, receiving the first input from the user may be receiving a touch operation of the user on the display area of ​​the display screen of the electronic device.

[0152] In order to reduce the user error rate, the effective area of ​​the first input can be limited to a specific area. For example, the first input can be achieved by touching the target control when the target control is displayed on the current interface; or the first input can be set to a continuous multiple tapping operation on the display area within a target time interval.

[0153] Secondly, the first input may be a physical key input.

[0154] In this embodiment, a corresponding physical button is provided on the terminal body, and receiving the user's first input can be receiving the first input of the user pressing the corresponding physical button; the first input can also be a combination operation of pressing multiple physical buttons at the same time.

[0155] Third, the first input may be voice input.

[0156] In this embodiment, the terminal may trigger the determination of the user's location upon receiving a voice message such as "turn on the directional sound function".

[0157] Of course, in other embodiments, the first input may also be in other forms, including but not limited to somatosensory gesture input, etc., which can be determined according to actual needs and is not limited in this embodiment of the present application.

[0158] According to the control method of the electronic device in the embodiment of the present application, the directional sound function is triggered and turned on by the first input, so that the user can flexibly choose whether to turn on the directional sound function based on actual needs during actual use, which has high flexibility and convenience in use.

[0159] The electronic device control method provided in the embodiment of the present application can be executed by a control device of the electronic device. In the embodiment of the present application, the electronic device control method is executed by a control device of the electronic device as an example to illustrate the electronic device control device provided in the embodiment of the present application.

[0160] An embodiment of the present application also provides a control device for an electronic device.

[0161] like Figure 11 As shown, the control device of the electronic device includes: a first processing module 1110 and a second processing module 1120.

[0162] A first processing module 1110 is used to obtain location information of a target object;

[0163] The second processing module 1120 is configured to control the speaker 110 to rotate based on the position information.

[0164] According to the control device of the electronic device provided in the embodiment of the present application, the rotation of the speaker 110 is controlled by the position information of the target object, so that the sound can be directionally transmitted to the direction corresponding to the user's position, which not only avoids the discomfort caused by the use of headphones, but also ensures the privacy of the sound, avoids sound pollution to others, and improves the user experience.

[0165] In some embodiments, the second processing module 1120 may also be configured to:

[0166] Determine the target direction based on the position information;

[0167] The driving device 130 drives the cam mechanism 120 to rotate based on the target direction to drive the speaker 110 to rotate toward the target direction.

[0168] In some embodiments, the first processing module 1110 may also be configured to:

[0169] Identify the facial information of the target object in the target area;

[0170] Determine location information based on facial information.

[0171] In some embodiments, the apparatus may further comprise:

[0172] A first receiving module, configured to receive a first input before obtaining the location information of the target object;

[0173] The third processing module is configured to enter a directional sound scene in response to the first input.

[0174] The control device of the electronic device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0175] The control device of the electronic device in the embodiment of the present application may be a device having an operating system. The operating system may 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.

[0176] The control device of the electronic device provided in the embodiment of the present application can achieve Figures 9 and 10 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0177] 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 control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0178] 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), a random access memory (RAM), a magnetic disk, or an optical disk.

[0179] 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 control method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0180] 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.

[0181] 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.

[0182] 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.

[0183] 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.

[0184] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0185] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.

Claims

1. An electronic device, characterized in that: include: a speaker, the speaker being rotatably connected to the electronic device via a ball joint structure; the ball joint structure being used to secure the speaker so that it does not separate from the electronic device, and the ball joint structure being used to ensure that the speaker can be rotated or flipped in any direction; a cam mechanism, the cam mechanism being in contact with the speaker; the profile of the cam mechanism including a straight segment and a curved segment, wherein the distance from a point on the curved segment to the center of a base circle of the cam mechanism gradually decreases from one end to the other end of the curved segment; the curved segment including a first sub-curve segment and a second sub-curve segment, wherein the distance from a point on the first sub-curve segment to the center of the base circle of the cam mechanism gradually decreases from one end to the other end of the first sub-curve segment; and the second sub-curve segment is an arc with the center of the base circle as its center. A driving device is dynamically connected to the cam mechanism, the connection point being the base circle center of the cam mechanism, and the driving device drives the cam mechanism to rotate around the base circle center to drive the speaker to rotate.

2. The electronic device according to claim 1, wherein A cam profile of the cam mechanism contacts the speaker. A profile of the cam mechanism includes a straight line segment and a curved line segment. The curved line segment contacts the speaker.

3. The electronic device according to claim 1, wherein The speaker is provided with a step surface, and the step surface contacts the cam profile of the cam mechanism.

4. The electronic device according to claim 1, wherein: The loudspeaker is rotatably connected to the electronic device via a ball joint structure. There are at least two cam mechanisms, and the angle between the axes of the at least two cam mechanisms is α, where 0°<α<180°.

5. The electronic device according to claim 4, characterized in that There are four cam mechanisms, and the four cam mechanisms are symmetrically arranged at equal distances around the speaker.

6. The electronic device according to any one of claims 1 to 5, characterized in that: Also includes: A positioning device, wherein the positioning device is used to determine the user's location; A mainboard is electrically connected to the positioning device and the driving device respectively, and is used to control the driving device to drive the cam mechanism to rotate based on the user position, so as to drive the speaker to rotate in the direction corresponding to the user position.

7. A method for controlling an electronic device, applied to the electronic device according to any one of claims 1 to 6, characterized in that: include: Get the location information of the target object; determining a target orientation based on the position information; The driving device drives the cam mechanism to rotate based on the target direction to drive the speaker to rotate toward the target direction.

8. The method for controlling an electronic device according to claim 7, wherein: The obtaining of the location information of the target object includes: Identify facial information of the target object in the target area; The location information is determined based on the facial information.

9. The method for controlling an electronic device according to any one of claims 7 to 8, wherein: Before obtaining the location information of the target object, the method includes: receiving a first input; In response to the first input, a directional sound scene is entered.

Citation Information

Patent Citations

  • Vehicle seat headrest equipped with audio speaker units

    CN111319530A

  • Electronic equipment, control method and control device thereof and readable storage medium

    CN113572878A