Electronic device and method of providing user interface of electronic device
By delaying vibration output and changing sound patterns, the synchronization of vibration and sound in electronic devices is achieved, solving the problem of coordinated interaction in the user interface and improving user experience and information transmission efficiency.
Patent Information
- Application Number
- CN202280054263.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-08-09
- Filing Date
- 2022-08-05
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-08-05
AI Technical Summary
Different types of user interfaces (such as vibration and sound) are difficult to coordinate in electronic devices, resulting in unnatural information delivery and reduced user interest and immersion.
By detecting vibration and sound output events, delaying vibration output and changing the sound output mode to a fast mode, and utilizing the synchronous output of the tactile and sound modules, coordinated interaction between vibration and sound is achieved.
It achieves a natural and highly immersive user experience, improves the usability of operation and the intuitiveness of information delivery, and reflects the mechanical status changes of electronic devices in real time.
Smart Images

Figure CN117795940B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to electronic devices and methods for providing user interfaces for electronic devices. Background Technology
[0002] Electronic devices (e.g., smartphones, mobile terminals, laptops, tablets, or wearable devices) can have a variety of functions such as voice communication, short-range wireless communication, mobile communication, imaging, content playback, and navigation.
[0003] In addition, flexible electronic devices (e.g., smartphones) with displays that are variable in physical form or size are already widely used. Sliding or foldable electronic devices can employ displays that can be expanded or shrunk to meet both the need for a large screen and portability. For example, when the electronic device is in a slid-in or folded state, the display can be shrunk to maintain portability. When the electronic device is in a slid-out or unfolded state, the display can be expanded to provide a wide screen.
[0004] As electronic devices offer improved performance, increased availability, and diverse functions or structures, the importance of the user interface is growing. Summary of the Invention
[0005] Technical issues
[0006] When electronic devices use different types of interfaces (e.g., vibration and sound), it can be difficult to achieve coordinated interaction between them.
[0007] For example, different hardware is used to output vibrations and sounds, and different software logic is used to process, respond to, or output different types of data (vibration data and sound data), so synchronization can be difficult. If synchronization fails, vibrations and sounds may be output separately without coordination.
[0008] If synchronization fails, the electronic device may be unable to deliver useful information to the user in an efficient manner and at precise timing.
[0009] Furthermore, incongruous and unnatural user interfaces can diminish a user's interest, immersion, or attention because they are irrelevant to the user's feelings or actions in the real world or the actual state of the electronic device.
[0010] Various embodiments of this disclosure can enable coordinated interaction between different types of user interfaces, thereby delivering a natural, highly immersive and enjoyable experience, or improving the usability of manipulation.
[0011] Various embodiments of this disclosure can improve synchronization performance between different types of user interfaces, thereby delivering useful information to users in a focused and intuitive manner.
[0012] Various embodiments of this disclosure can reflect changes in the mechanical state of a flexible electronic device or a corresponding electronic device in real time in the actions of a user using the flexible electronic device or a corresponding electronic device, thereby conveying a vivid, realistic and pleasant experience to the user.
[0013] Technical solution
[0014] An electronic device according to various embodiments may include: a memory; a display; a haptic module including haptic circuitry; a sound module including audio circuitry; and at least one processor. The at least one processor may be operatively connected to the memory, display, haptic module, and sound module. The memory may store instructions that, when executed, cause the at least one processor to: detect events of vibration and sound output; delay the vibration output; while the vibration output is delayed, change the sound output mode from a first mode to a second mode for rapid output; use the sound module to output sound in the second mode; and output the delayed vibration via the haptic module to synchronize the sound and delayed vibration outputs.
[0015] A method for providing a user interface for an electronic device according to various embodiments may include: detecting events of vibration and sound output; delaying the output of vibration; changing the sound output mode from a first mode to a second mode for rapid output while the output of vibration is delayed; using a sound module to output sound in the second mode; and outputting the delayed vibration to synchronize the output of sound and the delayed vibration.
[0016] Beneficial effects
[0017] According to various embodiments, coordinated interaction between different types of user interfaces can be achieved, thereby delivering a natural, highly immersive and enjoyable experience, or improving the usability of manipulation.
[0018] According to various embodiments, the synchronization performance between different types of user interfaces can be improved, thereby delivering useful information to users in a focused and intuitive manner.
[0019] According to various embodiments, changes in the mechanical state of a flexible electronic device or a corresponding electronic device can be reflected in the actions of the user using the flexible electronic device or the corresponding electronic device in real time, so that a vivid, realistic and pleasant experience is delivered to the user.
[0020] Various other beneficial effects may be provided, whether explicitly or implicitly identified by this disclosure. Attached Figure Description
[0021] Figure 1 This is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments.
[0022] Figure 2 This is a block diagram illustrating an electronic device according to an embodiment.
[0023] Figure 3 This is a block diagram illustrating the hierarchical structure of an electronic device according to an embodiment.
[0024] Figure 4 This is a flowchart illustrating a method for providing a user interface for an electronic device according to an embodiment.
[0025] Figure 5 This is a flowchart illustrating a method for providing a user interface for an electronic device according to another embodiment.
[0026] Figure 6 This is a timing diagram showing the output results of vibration and sound in an electronic device according to an embodiment.
[0027] Figure 7 It is a timing diagram showing the output results of vibration, sound and visual elements in an electronic device according to an embodiment.
[0028] Figure 8 This is a flowchart illustrating the operation of switching sound output modes in an electronic device according to an embodiment.
[0029] Figure 9 This is a flowchart illustrating the operation of opening a sound output path in an electronic device according to an embodiment.
[0030] Figure 10 This is a flowchart illustrating the operation of delaying vibration in an electronic device according to an embodiment.
[0031] Figure 11a , Figure 11b , Figure 11c , Figure 11d and Figure 11e This is a diagram illustrating a method for providing a user interface for an electronic device according to an embodiment.
[0032] Figure 12a and Figure 12b This is a diagram illustrating a method for providing a user interface for an electronic device according to another embodiment.
[0033] Figure 13a , Figure 13b and Figure 13c This is a diagram illustrating a method for providing a user interface for an electronic device according to another embodiment.
[0034] Regarding the description of the accompanying drawings, the same or similar reference numerals may be used for the same or similar parts. Detailed Implementation
[0035] Various embodiments will be described below with reference to the accompanying drawings.
[0036] Figure 1 This is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments. (Refer to...) Figure 1 In network environment 100, electronic device 101 can communicate with electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or with at least one of electronic device 104 or server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, electronic device 101 can communicate with electronic device 104 via server 108. According to an embodiment, electronic device 101 may include a processor 120, memory 130, input module 150, sound output module 155, display module 160, audio module 170, sensor module 176, interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, user identification module (SIM) 196, or antenna module 197. In some embodiments, at least one of the above components (e.g., connection terminal 178) may be omitted from electronic device 101, or one or more other components may be added to electronic device 101. In some embodiments, some of the components described above (e.g., sensor module 176, camera module 180, or antenna module 197) may be implemented as a single component (e.g., display module 160).
[0037] Processor 120 may run software (e.g., program 140) to control at least one other component (e.g., hardware or software component) coupled to electronic device 101, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, processor 120 may store commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132, process the commands or data stored in volatile memory 132, and store the result data in non-volatile memory 134. According to embodiments, processor 120 may include a main processor 121 (e.g., central processing unit (CPU) or application processor (AP)) or an auxiliary processor 123 (e.g., graphics processing unit (GPU), neural processing unit (NPU), image signal processor (ISP), sensor central processor, or communication processor (CP)) that is operationally independent of or combined with the main processor 121. For example, when electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 can be adapted to consume less power than the main processor 121, or adapted to be dedicated to a specific function. The auxiliary processor 123 can be implemented separately from the main processor 121, or as part of the main processor 121.
[0038] When the main processor 121 is inactive (e.g., in sleep) state, the auxiliary processor 123 (rather than the main processor 121) can control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190), or when the main processor 121 is active (e.g., running an application), the auxiliary processor 123 can work with the main processor 121 to control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190). According to embodiments, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) can be implemented as part of another component (e.g., camera module 180 or communication module 190) functionally associated with the auxiliary processor 123. According to embodiments, the auxiliary processor 123 (e.g., a neural processing unit) can include hardware architectures dedicated to artificial intelligence model processing. Artificial intelligence models can be generated through machine learning. For example, such learning can be performed via electronic device 101 where the artificial intelligence model is executed or via a separate server (e.g., server 108). The learning algorithm can include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model can include multiple layers of artificial neural networks. The artificial neural network can be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), or a deep Q-network, or a combination of two or more thereof, but is not limited thereto. Additionally or optionally, the artificial intelligence model can include software structures in addition to hardware structures.
[0039] Memory 130 may store various data used by at least one component of electronic device 101 (e.g., processor 120 or sensor module 176). The various data may include, for example, software (e.g., program 140) and input or output data for commands associated with it. Memory 130 may include volatile memory 132 or non-volatile memory 134.
[0040] The program 140 can be stored as software in the memory 130, and the program 140 may include, for example, an operating system (OS) 142, middleware 144, or application 146.
[0041] Input module 150 can receive commands or data from outside electronic device 101 (e.g., a user) that will be used by another component of electronic device 101 (e.g., processor 120). Input module 150 may include, for example, a microphone, mouse, keyboard, keys (e.g., buttons), or digital pen (e.g., stylus).
[0042] The audio output module 155 can output audio signals to the outside of the electronic device 101. The audio output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records. The receiver can be used to receive incoming calls. According to embodiments, the receiver can be implemented separately from the speaker, or as part of the speaker.
[0043] Display module 160 can visually provide information to the outside of electronic device 101 (e.g., to a user). Display module 160 may include, for example, a display, a holographic device, or a projector, and control circuitry for controlling a respective one of the display, holographic device, and projector. According to an embodiment, display module 160 may include a touch sensor adapted to detect touch or a pressure sensor adapted to measure the intensity of the force caused by touch.
[0044] The audio module 170 can convert sound into electrical signals and vice versa. According to an embodiment, the audio module 170 can obtain sound via the input module 150, or output sound via the sound output module 155 or via headphones of an external electronic device (e.g., electronic device 102) that is directly (e.g., wired) coupled to the electronic device 101 or wirelessly coupled to it.
[0045] Sensor module 176 can detect the operating state of electronic device 101 (e.g., power or temperature) or the environmental state outside electronic device 101 (e.g., user state), and then generate an electrical signal or data value corresponding to the detected state. According to embodiments, sensor module 176 may include, for example, a gesture sensor, gyroscope sensor, atmospheric pressure sensor, magnetic sensor, accelerometer, grip sensor, proximity sensor, color sensor, infrared (IR) sensor, biometric sensor, temperature sensor, humidity sensor, or illuminance sensor.
[0046] Interface 177 may support one or more specific protocols used to couple (e.g., wired) or wirelessly to electronic device 101 with external electronic device (e.g., electronic device 102). According to embodiments, interface 177 may include, for example, a High Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB) interface, a Secure Digital Card (SD) interface, or an audio interface.
[0047] Connection end 178 may include a connector, through which electronic device 101 can be physically connected to an external electronic device (e.g., electronic device 102). According to embodiments, connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0048] The haptic module 179 can convert electrical signals into mechanical stimuli (e.g., vibration or motion) or electrical stimuli that can be recognized by a user through his touch or kinesthesia. According to embodiments, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0049] Camera module 180 can capture still or moving images. According to an embodiment, camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0050] The power management module 188 can manage the power supply to the electronic device 101. According to an embodiment, the power management module 188 can be implemented as at least part of, for example, a power management integrated circuit (PMIC).
[0051] Battery 189 can power at least one component of electronic device 101. According to embodiments, battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable rechargeable battery, or a fuel cell.
[0052] Communication module 190 can support the establishment of a direct (e.g., wired) or wireless communication channel between electronic device 101 and external electronic devices (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. Communication module 190 may include one or more communication processors capable of operating independently of processor 120 (e.g., application processor (AP)) and support direct (e.g., wired) or wireless communication. According to embodiments, communication module 190 may include wireless communication module 192 (e.g., cellular communication module, short-range wireless communication module, or Global Navigation Satellite System (GNSS) communication module) or wired communication module 194 (e.g., local area network (LAN) communication module or power line communication (PLC) module). A corresponding one of these communication modules can communicate via a first network 198 (e.g., a short-range communication network, such as Bluetooth). TM The wireless communication module 192 can communicate with external electronic devices via a Wi-Fi Direct or Infrared Data Association (IrDA) network or a second network 199 (e.g., a long-range communication network, such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip) or as multiple components (e.g., multiple chips) that are separate from each other. The wireless communication module 192 can identify and verify the electronic device 101 in the communication network (such as a first network 198 or a second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
[0053] Wireless communication module 192 can support 5G networks following 4G networks and next-generation communication technologies (such as new radio (NR) access technologies). NR access technologies can support enhanced mobile broadband (eMBB), massive machine-type communication (mMTC), or ultra-reliable low-latency communication (URLLC). Wireless communication module 192 can support high-frequency bands (e.g., millimeter-wave bands) to achieve, for example, high data transmission rates. Wireless communication module 192 can support various technologies used to ensure performance in high-frequency bands, such as, for example, beamforming, massive MIMO, full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. Wireless communication module 192 can support various requirements specified in electronic device 101, external electronic devices (e.g., electronic device 104), or network systems (e.g., second network 199). According to an embodiment, the wireless communication module 192 may support peak data rates (e.g., 20 Gbps or greater) for implementing eMBB, lost coverage (e.g., 164 dB or less) for implementing mMTC, or U-plane latency (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less round trip) for implementing URLLC.
[0054] Antenna module 197 can transmit or receive signals or power to or from the outside of electronic device 101 (e.g., external electronic device). According to an embodiment, antenna module 197 may include an antenna comprising a radiating element formed of a conductive material or conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, antenna module 197 may include multiple antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as a first network 198 or a second network 199) can be selected from the multiple antennas by, for example, communication module 190 (e.g., wireless communication module 192). Signals or power can then be transmitted or received between communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component besides the radiating element (e.g., a radio frequency integrated circuit (RFIC)) may be additionally incorporated into antenna module 197.
[0055] According to various embodiments, antenna module 197 can form a millimeter-wave antenna module. According to embodiments, the millimeter-wave antenna module may include a printed circuit board, an RFIC, and multiple antennas (e.g., an array antenna), wherein the RFIC is disposed on or adjacent to a first surface (e.g., a bottom surface) of the printed circuit board and is capable of supporting a specified high-frequency band (e.g., a millimeter-wave band), and the multiple antennas are disposed on or adjacent to a second surface (e.g., a top or side surface) of the printed circuit board and are capable of transmitting or receiving signals in the specified high-frequency band.
[0056] At least some of the aforementioned components can be coupled to each other via an inter-peripheral communication scheme (e.g., bus, general purpose input / output (GPIO), serial peripheral interface (SPI), or mobile industrial processor interface (MIPI)) and can communicatively transmit signals (e.g., commands or data) between them.
[0057] According to an embodiment, commands or data can be sent or received between electronic device 101 and external electronic device 104 via server 108 coupled to the second network 199. Each of electronic device 102 or electronic device 104 can be a device of the same type as electronic device 101, or a device of a different type. According to an embodiment, all or some operations that will run on electronic device 101 can be run on one or more of external electronic devices 102, external electronic devices 104, or server 108. For example, if electronic device 101 is required to automatically perform a function or service or is required to perform a function or service in response to a request from a user or another device, electronic device 101 may request the one or more external electronic devices to perform at least a portion of the function or service instead of running the function or service, or electronic device 101 may request the one or more external electronic devices to perform at least a portion of the function or service in addition to running the function or service. The one or more external electronic devices receiving the request may perform at least a portion of the requested function or service, or perform additional functions or services related to the request, and transmit the result of the execution to electronic device 101. Electronic device 101 may provide the result as at least a partial response to the request, with or without further processing of the result. For this purpose, technologies such as cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing may be used. Electronic device 101 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, external electronic device 104 may include an Internet of Things (IoT) device. Server 108 may be an intelligent server using machine learning and / or neural networks. According to embodiments, external electronic device 104 or server 108 may be included in a second network 199. Electronic device 101 may be applied to intelligent services based on 5G communication technology or IoT-related technologies (e.g., smart homes, smart cities, smart cars, or healthcare).
[0058] The electronic device according to various embodiments can be one of a variety of types of electronic devices. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. According to embodiments of this disclosure, the electronic device is not limited to those described above.
[0059] It should be understood that the various embodiments of this disclosure and the terminology used therein are not intended to limit the technical features set forth herein to the specific embodiments, but rather to include various changes, equivalents, or substitutions to the respective embodiments. Similar reference numerals may be used to refer to similar or related elements in the description of the drawings. It will be understood that the singular form of a noun corresponding to an item may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least one of A, B, or C” may include any one or all possible combinations of the items enumerated together with the corresponding phrase among the plurality of phrases. As used herein, terms such as “first” and “second” or “first” and “second” may be used to simply distinguish one component from another and do not limit the components in other respects (e.g., importance or order). It will be understood that, whether or not the terms “operably” or “communically” are used, if an element (e.g., a first element) is referred to as “coupled to another element (e.g., a second element),” “coupled to another element (e.g., a second element),” “connected to another element (e.g., a second element),” or “connected to another element (e.g., a second element)”, it means that the element can be directly (e.g., wiredly) coupled to the other element, wirelessly connected to the other element, or coupled to the other element via a third element.
[0060] As used in connection with various embodiments of this disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "part," or "circuit"). A module may be a single integrated component adapted to perform one or more functions, or the smallest unit or part of such a single integrated component. For example, according to embodiments, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0061] The various embodiments set forth herein can be implemented as software (e.g., program 140) comprising one or more instructions readable by a machine (e.g., electronic device 101) stored in a storage medium (e.g., internal memory 136 or external memory 138). For example, under the control of a processor (e.g., processor 120) of the machine (e.g., electronic device 101), the processor can invoke and execute at least one of the one or more instructions stored in the storage medium, with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the invoked at least one instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. Machine-readable storage media may be provided in the form of non-transitory storage media. The term "non-transitory" means only that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but this term does not distinguish between data being stored semi-permanently in the storage medium and data being temporarily stored in the storage medium.
[0062] According to embodiments, methods according to various embodiments of this disclosure may be included and provided in a computer program product. The computer program product can be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)) or via an app store (e.g., the Play Store). TM The computer program product may be distributed online (e.g., downloaded or uploaded), or may be distributed directly between two user devices (e.g., smartphones) (e.g., downloaded or uploaded). If it is distributed online, at least a portion of the computer program product may be temporarily generated, or at least a portion of the computer program product may be temporarily stored in a machine-readable storage medium (such as the memory of a manufacturer's server, an app store's server, or a forwarding server).
[0063] According to various embodiments, each of the above-described components (e.g., a module or program) may include a single entity or multiple entities, and some of the multiple entities may be separately disposed in different components. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Optionally or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform the one or more functions of each of the multiple components in the same or similar manner as the corresponding component of the multiple components performed one or more functions before integration. According to various embodiments, the operations performed by a module, program, or other component may be performed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be run in a different order or omitted, or one or more other operations may be added.
[0064] Figure 2 This is a block diagram illustrating an electronic device according to an embodiment.
[0065] In an embodiment, the electronic device 200 may include Figure 1 At least a portion of the electronic device 101 shown in the figure.
[0066] Reference Figure 2 The electronic device 200 may include a processor (e.g., including processing circuitry) 210, a memory 220, a display 230, a tactile module (e.g., including tactile circuitry) 240, and a sound module (e.g., including audio circuitry) 250. For example, Figure 2 The processor 210, memory 220, display 230, and haptic module 240 can respectively correspond to Figure 1 The processor 120, memory 130, display module 160 and haptic module 179. Figure 2 The sound module 250 may include Figure 1 At least a portion of the audio module 170 and the sound output module 155.
[0067] Apart from Figure 2 In addition to the components shown, the electronic device 200 may also include additional components. Figure 2 At least one of the components shown may be omitted.
[0068] The processor 210, memory 220, display 230, haptic module 240 and sound module 250 included in the electronic device 200 can be electrically connected to each other and / or operatively connected to each other to exchange signals (e.g., commands or data).
[0069] In an embodiment, processor 210 may include at least one processor. For example, processor 210 may include an application processor (AP) (e.g., Figure 1 At least one of the main processor 121 and the communication processor (CP) (e.g., auxiliary processor 123).
[0070] Processor 210 can run and / or control various functions supported by electronic device 200. Processor 210 can control at least some of memory 220, display 230, haptic module 240, and sound module 250. It can execute specified functions (or logic) by control.
[0071] The processor 210 can run applications by executing code written in a programming language stored in the memory 220 of the electronic device 200, and can control various types of hardware.
[0072] In this embodiment, the operation of the processor 210 can be performed as instructions stored in memory 220 are executed. The processor 210 can execute instructions stored in memory 220 to perform specified functions (or logic).
[0073] In this embodiment, each of the display 230, the haptic module 240, and / or the sound module 250 may be an output module for providing a specified type of user interface (UI). Different types of user interfaces can be output through the display 230, the haptic module 240, and / or the sound module 250.
[0074] In this embodiment, sound, which serves as the auditory user interface, can be output (or reproduced) via the sound module 250. Vibrations corresponding to the tactile user interface can be output (or reproduced) via the tactile module 240.
[0075] In one embodiment, a hybrid user interface can be output through a combination of the sound module 250 and the haptic module 240.
[0076] In some embodiments, visual elements serving as a visual user interface can be additionally output (e.g., displayed) via the display 230. Visual elements may include at least one of graphical elements (e.g., animations) displayed via the display 230 and dimming elements expressed by the illumination of the display 230. For example, graphical elements may include all kinds of elements capable of being output (or displayed) via the display 230, such as animations, icons, menus, message windows, images, or screens. Dimming elements may be elements that can be expressed through dimming control of the illumination of the display 230. For example, dimming elements may be elements that implement any one of screen activation, screen brightness increase, and screen flickering of the display 230.
[0077] In some embodiments, the hybrid user interface can be output through a combination of display 230, sound module 250 and haptic module 240.
[0078] In an embodiment, processor 210 can synchronize output timing by eliminating output discrepancies between different types of user interfaces (e.g., between vibration and sound, or between vibration, sound, and visual elements).
[0079] For example, processor 210 can synchronize the output of two types of user interfaces, such as vibration and sound. As another example, processor 210 can synchronize the output of three types of user interfaces, such as vibration, sound, and visual elements.
[0080] In an embodiment, processor 210 can detect events for outputting vibration and sound. Processor 210 can delay the output of vibration. For example, processor 210 can delay the vibration output timing (or vibration start timing) by a specified offset (e.g., 70 ms to 80 ms), such that the vibration begins at the sound output timing (or sound start timing).
[0081] The processor 210 can change the sound output mode from the first mode to a second mode for fast output when the vibration output is delayed.
[0082] For example, as the sound output mode is changed to the second mode, the sound output path can be opened, allowing the sound module 250 to be activated. Similarly, as the sound output mode is changed to the second mode, the sound output path can be changed from the first path used for non-fast output to the second path used for fast output.
[0083] Depending on the embodiment, the timing of changing the sound output mode from the first mode to the second mode can be different. For example, the timing can be different depending on the operating scenario of the electronic device 200.
[0084] For example, processor 210 may change the audio output mode to a second mode for fast output in response to an event (or immediately after the event occurs). In this case, the timing of the change to the second high-speed mode may correspond to the timing of the event occurrence (e.g., within a predetermined offset {e.g., ±30 ms}). As the audio output mode is changed to the second mode in response to the event, the audio output path may be changed from a first path for non-fast output to a second path for fast output.
[0085] For example, processor 210 can change the audio output mode to a second mode for fast output in response to a pre-event of the event. In this case, the timing of the change to the second high-speed mode can correspond to the timing of the occurrence of the pre-event (e.g., within a predetermined offset {e.g., ±30ms}), and the timing of the audio output can correspond to the timing of the event occurrence (e.g., within a predetermined offset {e.g., ±30ms}). As the audio output mode is changed to the second mode in response to the pre-event, the audio output path can be opened, and audio module 250 can be activated first, and then audio can be transmitted through the activated audio module 250 in response to the event.
[0086] When the sound output path is opened and / or the sound module 250, which is a hardware component for sound output, is activated in advance, the synchronization performance can be improved by reducing the time required for sound output by a predetermined value (e.g., 100ms) or more.
[0087] In this embodiment, the sound output progress state of the electronic device 200 can be sequentially switched from a standby state to a ready state, an idle state, and a playback state according to the progress of the sound output. In this case, as the sound output progress state is switched to the idle state immediately before playing sound, a signal requesting the output of delayed vibration can be sent from the sound output path to the vibration output path.
[0088] The sound output path can continue the sound output process after the signal is sent. The vibration output path can delay the vibration and output the delayed vibration in response to the signal. Therefore, the synchronization performance between vibration and sound can be improved.
[0089] In an embodiment, when the audio output mode is a first mode, which is a non-fast output mode, a first buffer (a buffer for non-fast output) can be used. When the audio output mode is a second mode, a second buffer (a buffer for fast output) can be used for fast output. The second buffer can have a smaller size or lower latency than the first buffer.
[0090] In this embodiment, the processor 210 can use the sound module 250 to output sound in the second mode, and can output delayed vibration through the haptic module 240, so that the output of sound and the output of delayed vibration can be synchronized.
[0091] In some embodiments, the electronic device 200 can detect events for outputting vibration, sound, and visual elements. In this case, the electronic device 200 can additionally perform operations to synchronize the output of the visual elements with the output of the vibration and sound. For example, the electronic device 200 can shift the timing of the output of the visual elements (e.g., animation). Additionally, the electronic device 200 can delay the output of vibration and can open at least a portion of the sound output path while the output of vibration is delayed, or can change the sound output mode from a non-fast output mode (e.g., a first mode) to a fast output mode (e.g., a second mode). The electronic device 200 can output sound through the sound module 250 using at least one of the opened sound output path and the fast output mode, output delayed vibration through the haptic module 240, and output visual elements through the display 230 corresponding to the shifted output timing, such that the output of delayed vibration and the output of visual elements can be synchronized.
[0092] According to an embodiment, the electronic device 200 can achieve coordinated interaction through synchronization in various situations where physical feedback is required (e.g., vibration as tactile feedback, sound as auditory feedback, and / or at least some combination of visual elements as visual feedback).
[0093] Figure 3 This is a block diagram illustrating the hierarchical structure of an electronic device according to an embodiment.
[0094] Reference Figure 3 The electronic device 200 may include a hardware layer 310, a kernel layer 320, an abstraction layer 330 (hardware abstraction layer, HAL), a framework layer 340, and an application layer 350.
[0095] In an embodiment, hardware layer 310 may include a speaker 251, a motor 241, and a display 230. Each component of hardware layer 310 may be implemented as physically separate hardware. For example, speaker 251 may be included in... Figure 2 The sound module 250 is included. The motor 241 can be included. Figure 2 The haptic module 240 is included. The display 230 can correspond to... Figure 2 The monitor is 230.
[0096] Each component of the kernel layer 320, abstraction layer 330, framework layer 340, and / or application layer 350 can be implemented as firmware and / or software to be stored in the memory 220 of the electronic device 200. For example, the processor 210 of the electronic device 200 can execute instructions stored in the memory 220 to operate each component. Alternatively, each component can operate as instructions stored in the memory 220 are executed.
[0097] Components of kernel layer 320, abstraction layer 330, framework layer 340 and / or application layer 350 can control at least one of the components of hardware layer 310 (e.g., at least one of speaker 251, motor 241 and display 230), or can perform specified functions (or logic) through the corresponding components.
[0098] The kernel layer 320 may include an audio driver 321, a vibration driver 323, and a display driver 325.
[0099] HAL 330 may include audio HAL 331, vibration HAL 333 and display HAL 335.
[0100] The frame layer 340 may include an audio service 341, an audio manager 342, a vibration service 343, a system vibrator 344, a graphics frame 345, and a graphics surface 346.
[0101] Interaction module 300 can be configured between HAL 330 and frame layer 340. For example, the instructions constituting interaction module 300 can be stored in memory 220 and executed by processor 210. Interaction module 300 can be used for synchronization between different types of user interfaces (e.g., vibration, sound, and graphics). Interaction module 300 can communicate with HAL 330 and frame layer 340 for synchronized operation. For example, a portion of interaction module 300 can be implemented in HAL 330 to communicate with audio HAL 331, vibration HAL 333, and display HAL 335 within HAL 330. Another portion of interaction module 300 can be implemented in frame layer 340 to communicate with audio service 341, vibration service 343, and graphics frame 345 within frame layer 340.
[0102] Application layer 350 may include one or more applications or one or more application components. For example, application layer 350 may include application 351 having a power UI module 352 and a keyboard module 353, and application 355 having a time picker module 356 and a scrolling UI module 357.
[0103] Reference numeral 365 may indicate the flow of raw data (e.g., commands, signals, and / or data). The raw data may be asynchronous. For example, the raw data may not have passed through the interaction module 300. For instance, when the outputs of vibration, sound, and graphics are not synchronized, the synchronization operation between the outputs of audio service 341, vibration service 343, and / or graphics frame 345 may be omitted. In this case, the first data output from audio service 341, the second data output from vibration service 343, and the third data output from graphics frame 345 can be processed separately. The first, second, and third data can be sent to audio HAL 331, vibration HAL 333, and display HAL 335 respectively without a synchronization process.
[0104] Reference numeral 361 may indicate the flow of synchronization data (e.g., commands, signals, and / or data). For example, synchronization data may be transmitted via interaction module 300. For instance, when the outputs of vibration, sound, and graphics are synchronized, synchronization operations can be performed between the outputs of audio service 341, vibration service 343, and / or graphics frame 345. In this case, first data output from audio service 341, second data output from vibration service 343, and third data output from graphics frame 345 can undergo interaction. The first, second, and third data can be synchronized and sent to audio HAL 331, vibration HAL 333, and display HAL 335 at substantially the same timing.
[0105] Therefore, it is possible to synchronize the timing of sound output through speaker 251, the timing of vibration output through motor 241, and / or the timing of visual element output through display 230.
[0106] Figure 4 This is a flowchart illustrating a method for providing a user interface for an electronic device according to an embodiment. Figure 4 The embodiments may correspond to methods for synchronizing vibration and sound.
[0107] Reference Figure 4 The method for providing a user interface for an electronic device according to embodiments may include operations 410, 420, 430, and 440. This method may be provided by an electronic device (e.g., Figure 1 Electronic device 101 Figure 2 Electronic devices 200 or Figure 2 The processor 210) executes the operation. For convenience, it is assumed that each operation of this method is performed by... Figure 2 The electronic device 200 performs the operation. However, this disclosure is not limited thereto. In various embodiments, at least one of the operations shown may be omitted, the order of some operations may be changed, or other operations may be added.
[0108] In operation 410, electronic device 300 can detect events.
[0109] In this embodiment, an event can be an event that requires a different type of user interface. An event can be an event that requires real-time physical feedback (haptic and auditory feedback). An event can be an event for outputting vibration and sound.
[0110] For example, an event could be a user input event. A user input event can be an event that occurs based on a user's physical manipulation. For example, a user input event could be a gesture interaction event. Figure 11d scroll events, Figure 11e Touch events Figure 12a and Figure 12b Touch events Figure 13a Handwritten events, Figure 13b Hinge events, Figure 13a and Figure 13b Folding or unfolding events, Figure 13c Any of the following: swipe event, control event, keyboard event, and toggle (on, off) event.
[0111] For example, an event can be a clue event. A queue event can be a signaling event used for information transmission. For instance, a queue event can be a state transition event (e.g., Figure 11a Events such as charger connection events, notification warnings, errors, failures, and successes (e.g., charger connection events), notification warnings, errors, failures, and successes. Figure 11b Authentication error events), notification events, bootstrapping events (e.g., authentication error events), notification events, bootstrapping events). Figure 11c Any one of the following: a guiding event, an emotional event (e.g., a celebration), an alarm event, or an incoming call event.
[0112] In an embodiment, the electronic device 200 can adjust the output timing of vibration and sound to synchronize sound and vibration with different output durations. The electronic device 200 can adjust one or more of two factors, such as sound output timing and vibration output timing.
[0113] Operations 420 and 430 can be used to synchronize the output of vibration and sound.
[0114] In electronic device 200, the time required to output sound (e.g., 200 ms to 300 ms) can be longer than the time required to output vibration (e.g., 50 ms). Compared to the sound output process, the vibration output process can be completed in a shorter time (e.g., 50 ms). Therefore, electronic device 200 can synchronize the output of vibration and sound by delaying the vibration and outputting vibration in response to the timing of the sound output.
[0115] In operation 420, the electronic device 200 can delay the output of the vibration. The timing of the output vibration can be shifted due to the delay. For example, the electronic device 200 can apply a specified offset (e.g., 70 ms to 80 ms) to delay (or shift) the vibration output timing (or vibration start timing) by the offset, thereby controlling the vibration to be output together with the sound output timing (or sound start timing). Therefore, the vibration output timing can be delayed, making it possible to improve the synchronization performance between the vibration and the sound.
[0116] In operation 430, the electronic device 200 can change the sound output mode from a first mode for non-rapid output to a second mode for rapid output when the vibration output is delayed. Therefore, the sound output timing can be advanced, thereby improving the synchronization performance between vibration and sound.
[0117] In the first mode, sound can be transmitted through a non-fast output path (e.g., Figure 8 The first path (810) is output. The non-fast output path can be the default path specified for audio output. The non-fast output path can include hardware components used for audio output (e.g., Figure 2 250 sound modules and Figure 3 (Speaker 251).
[0118] In the second mode, the audio output path can be opened in advance before the event occurs, or it can be changed from a non-fast output path to a fast output path (e.g., Figure 8 The second path (820).
[0119] For example, as the sound output mode is changed to the second mode, the electronic device 200 can open the sound output path to activate the sound module 250. The timing of opening the sound output path can correspond to a timing prior to the occurrence of an event (e.g., an earlier event).
[0120] For example, as the sound output mode is changed to the second mode, the electronic device 200 can change the sound output path from the first path used for non-fast output (e.g., Figure 8 The first path (810) in the code is changed to a second path for faster output (e.g., Figure 8 The second path (820) can be a path obtained by skipping at least a portion of the first path or shortening the first path. Alternatively, for the purpose of fast output, the second path may include components different from the first path (e.g., Figure 8 The second buffer (825).
[0121] In this embodiment, the method of synchronizing vibration and sound by opening the sound output path to activate the sound module 250 will be described in more detail below.
[0122] The sound output process on the electronic device 200 may include multiple steps. As the sound output process progresses step by step, the sound output progress state of the electronic device 200 can be switched sequentially. As the sound output process progresses step by step, sound data can be generated from the beginning of the sound output path (e.g., Figure 3 Application 351 or 355) are sequentially sent to their end (e.g., Figure 2 250 sound modules or Figure 3 (Speaker 251). For example, the sound output state of the electronic device 200 can be sequentially switched to four states: standby state, ready state, idle state, and playback state.
[0123] Standby state can be a state in which the hardware components that provide sound data (or sound stream) and are used for sound output (e.g., sound module 250 and speaker 251) are disabled.
[0124] The ready state can be a state in which the hardware components that provide sound data and are used for sound output are disabled, but arbitrary operation begins in the electronic device 200 (e.g., an event occurs or the power-saving mode is released).
[0125] The idle state can be a state in which the hardware components that provide sound data and are used for sound output are activated.
[0126] The playback state can be a state in which the hardware components providing sound data and for sound output are activated, and the electronic device 200 is working (e.g., a state in which sound is being reproduced).
[0127] As described above, when the sound output process of the electronic device 200 is executed in a stepwise manner, a considerable amount of time may be spent before the hardware components for sound output (e.g., sound module 250 and speaker 251) are activated. Therefore, the time required for sound output (e.g., 200ms to 300ms) can be relatively long compared to the time required for vibration output (e.g., 50ms). The sound output timing can be relatively delayed compared to the vibration output timing.
[0128] The electronic device 200 can activate the hardware components for sound output (e.g., sound module 250 and speaker 251) earlier than the sound output timing, so that sound can be output immediately without the activation process of the hardware components when necessary.
[0129] In operation 440, the electronic device 200 can use the sound module 250 to output sound in the second mode, and can output delayed vibration through the tactile module 240, so that the output of sound and the output of delayed vibration can be synchronized.
[0130] As the sound output mode of the electronic device 200 is changed from a first mode for non-fast output to a second mode for fast output, the sound output path can be opened or the sound output path can be changed from the first path for non-fast output (e.g., the path used for fast output). Figure 8 The first path 810 is changed (e.g., skipped or shortened) to a second path for faster output (e.g., Figure 8 (Second path 820). For example, when the sound output path is opened, the time required for sound output can be reduced by approximately 100 ms, allowing vibration and sound to be synchronized. As another example, when the sound output path is changed (e.g., skipped or shortened), the time required for sound output can be reduced by approximately 90 ms, allowing vibration and sound to be synchronized.
[0131] In an embodiment, electronic device 200 may change the sound output mode to a second mode for rapid output in response to a corresponding event (or immediately after the event). As the sound output mode is changed to the second mode, a sound output path can be opened to activate sound module 250, and sound can be output through the activated sound module 250. For example, electronic device 200 may perform the operation of opening the sound output path and outputting sound through the opened sound output path in response to a timing event.
[0132] In another embodiment, electronic device 200 may change its sound output mode to a second mode for rapid output in response to an earlier event. As the sound output mode is changed to the second mode in response to the earlier event, the sound output path can be opened and the sound module 250 can be activated. Thereafter, electronic device 200 can output sound through the sound module 250 activated in response to the event. For example, electronic device 200 may open the sound output path in response to a first timing of the earlier event, and then output sound through the opened sound output path in response to a second timing of the event.
[0133] In this embodiment, the sound output progress state in the electronic device 200 can be sequentially switched from a standby state to a ready state, an idle state, and a playback state. As the sound output progress state is switched to the idle state, a signal requesting delayed output vibration can be sent from the sound output path to the vibration output path.
[0134] The sound output path can send a signal requesting delayed vibration to the vibration output path, and can immediately switch to playback mode to output sound. The vibration output path can output delayed vibration when it receives the signal.
[0135] In this way, the electronic device 200 can perform at least a portion of a sound output process that takes a relatively long time (e.g., until an idle state), and then can perform a vibration output process that takes a relatively short time, thereby achieving synchronization between vibration and sound.
[0136] In an embodiment, when the sound output mode is a first mode for non-fast output, a first buffer (e.g., Figure 8 The first buffer 815). When the sound output mode is the second mode for fast output, the second buffer can be used (e.g., Figure 8 The second buffer (825) can have a smaller size or delay compared to the first buffer.
[0137] Figure 5 This is a flowchart illustrating a method for providing a user interface for an electronic device according to another embodiment. Figure 5 This can correspond to methods used for synchronization between vibration, sound, and visual elements.
[0138] Reference Figure 5 The method for providing a user interface for an electronic device according to embodiments may include operations 510, 520, and 530. This method may be provided by an electronic device (e.g., Figure 1 Electronic device 101 Figure 2 Electronic devices 200 or Figure 2 The processor 210) executes the operation. For convenience, it is assumed that each operation of this method is performed by... Figure 2 The electronic device 200 performs the operation, but this disclosure is not limited thereto. In various embodiments, at least one of the operations shown may be omitted, the order of some operations may be changed, or other operations may be added.
[0139] Figure 5 Some of the operations can correspond to Figure 4 The operation. For example, operation 510 can correspond to... Figure 4 Operation 410. Operation 521 may correspond to operation 420. Operation 522 and / or operation 523 may correspond to operation 430. Operation 530 may correspond to operation 440.
[0140] In operation 510, the electronic device 200 can detect events. For example, the event can be an event that outputs vibration, sound, and visual elements.
[0141] Operation 520 can be used to synchronize the output of vibration, sound, and visual elements. Operation 520 may include at least one of operations 521, 522, 523, and 524.
[0142] The electronic device 200 can perform at least one of operations 521, 522, 523 and 524 to synchronize the output of vibration, sound and visual elements.
[0143] In operation 521, electronic device 200 can delay the vibration output. The timing of the vibration output can be shifted due to the delay.
[0144] Operations 522 and 523 can be used to change the sound output mode from a first mode for non-fast output to a second mode for fast output. For example, as the sound output mode is changed to the second mode, a sound output path can be opened. As another example, as the sound output mode is changed to the second mode, the sound output path can be changed from a first path for non-fast output to a second path for fast output. The second path can be a path obtained by skipping at least a portion of the first path or shortening the first path. Alternatively, the second path can include components different from the first path.
[0145] As the sound output mode is changed from the first mode to the second mode, the sound output timing can be advanced, making synchronization with the vibration output timing and / or the output timing of visual elements possible.
[0146] In operation 522, electronic device 200 can open a sound output path for rapid sound output to activate hardware components for sound output (e.g., Figure 2 250 sound modules or Figure 3 (Speaker 251).
[0147] In operation 523, the electronic device 200 can be configured to change the sound output path from a first path for non-fast output to a second path for fast output for the purpose of fast sound output. For example, the second path may be a path obtained by skipping at least a portion of the first path or shortening the first path. As another example, the second path may include components different from the first path.
[0148] In operation 524, electronic device 200 can time-shift the output of the visual element in order to synchronize it with vibration and sound.
[0149] In this embodiment, visual elements may include one or more of graphical elements (e.g., animations) and dimming elements. For example, graphical elements may include all kinds of elements that can be output (or displayed) via display 230, such as animations, icons, menus, message windows, images, and screens. Dimming elements may be elements that can be expressed through dimming control of the display 230. For example, dimming elements may be elements that implement any one of screen activation, screen brightness increase, and screen flickering of display 230.
[0150] For example, electronic device 200 can shift (e.g., delay or advance) the output timing of visual elements to correspond to vibration output timing and / or sound output timing.
[0151] In this embodiment, the timing of the visual element's output can correspond to the timing of generating a trigger signal for outputting the visual element. The electronic device 200 can generate the trigger signal for outputting the visual element based on vibration output timing and / or sound output timing. For example, the visual element (e.g., an animation) can be displayed via the display 230 in response to the trigger signal.
[0152] In this embodiment, the electronic device 200 can adjust the brightness (or screen brightness) by controlling the dimming of the display 230 when displaying visual elements through the display 230. For example, in response to a trigger signal, the display of visual elements through the display 230 and the adjustment of the brightness of the display 230 can be performed simultaneously.
[0153] In an embodiment, the electronic device 200 may delay the output of vibration in operation 521, and may perform at least one of operations 522, 523 and 524 to synchronize the timing of sound output and visual element output with the timing of vibration output when the output of vibration is delayed.
[0154] In operation 530, the electronic device 200 can output sound using the sound module 250 in a second mode for rapid output, output delayed vibrations using the tactile module 240, and output visual elements via the display 230 to correspond to the shifted output timing, so that the output of sound, delayed vibrations and visual elements can be synchronized.
[0155] Figure 6 This is a timing diagram showing the output results of vibration and sound in an electronic device according to an embodiment.
[0156] Reference numeral 610 is a timing diagram showing the output results of vibration and sound in the electronic device according to the comparative example. Reference numeral 611 indicates the output waveform of vibration. Reference numeral 612 indicates the output waveform of sound.
[0157] In the timing diagram of 610, TA1 is the first timing for the event to occur. TA2 is the second timing for the start of vibration. TA3 or TA3' is the third timing for the start of sound.
[0158] According to the comparative example, since the vibration start timing TA2 and the sound start timing TA3 or TA3' are different, a deviation may occur between the two timings, thus allowing asynchronous output of vibration and sound. The time required for sound output (e.g., 200ms to 300ms) can correspond to the time interval from the first timing TA1, which serves as the event occurrence timing, to the third timing TA3 or TA3', which serves as the sound start timing. The time required for vibration output (e.g., 50ms) can correspond to the time interval from the first timing TA1, which serves as the event occurrence timing, to the second timing TA2, which serves as the vibration start timing. The time required for outputting vibration can be shorter than the time required for outputting sound.
[0159] There may also be a discrepancy (e.g., 100ms) between the sound output timing TA3 and TA3'. For example, when the electronic device is in a first state where it is not playing music, the sound output timing can be TA3. When the electronic device is in a second state where it is playing music, the sound output timing can be TA3', which may be earlier than in the first state.
[0160] The sound output state of the electronic device can be divided into a standby state 621, a ready state 622, an idle state 623, and a playback state 624. As shown, when an event occurs, the vibration output and the sound output can be controlled sequentially. In this case, the segment in the ready state 622 and the idle state 623 before the sound output can be extended, so that an output deviation may occur between vibration and sound.
[0161] According to the comparative example, when an event occurs, vibration and sound can be output separately, or they can be controlled independently without interaction. Because the time required for vibration output (e.g., 50 ms) is shorter than the predetermined time required for sound output (e.g., 200 to 300 ms), large output deviations may occur. Deviations may occur between vibration output timing TA2 and sound output timing TA3 or TA3'.
[0162] As shown, when an event occurs at the first timing TA1, vibration can be output at the second timing TA2 (e.g., within TA1+50ms), and then sound can begin at the third timing TA3 or TA3'. There may be a certain deviation between the vibration end timing and the sound start timing TA3, or the vibration and sound can be output asynchronously.
[0163] Reference numeral 650 is a timing diagram illustrating the output results of vibration and sound in the electronic device 200 according to an embodiment. Reference numeral 661 indicates the output waveform of vibration. Reference numeral 662 indicates the output waveform of sound.
[0164] In the timing diagram indicated by reference numeral 650, TB1 is the first timing mechanism for the occurrence of the event. TB2 is the second timing mechanism for the vibration output (or vibration start timing). TB3 is the third timing mechanism for the sound output (or sound start timing).
[0165] When an event occurs at the first timing TB1, vibration can be output from the second timing TB2, which is delayed by a specified offset (e.g., 70 ms to 80 ms) from the second timing TA2 (reference numeral 610). Sound can be output simultaneously with the vibration. The output of sound can begin at a third timing TB3 synchronized with the second timing TB2. The third timing TB3 can be at substantially the same timing as the second timing TB2 (e.g., within TB2 ± 30 ms).
[0166] According to an embodiment, when an event occurs, vibration and sound can be controlled to interact with each other. The electronic device 200 can be controlled such that there is no significant deviation between the vibration output timing TB2 and the sound output timing TB3.
[0167] The sound output status of the electronic device 200 can be divided into standby state 671, ready state 672, idle state 673 and playback state 674.
[0168] For example, standby state 671 could be a state prior to an event occurring. Ready state 672 and idle state 673 could be states where sound output is retained. Idle state 673 could exist for a predetermined time (e.g., 10ms), or it could be essentially nonexistent. Playback state 674 could be a state where sound is output.
[0169] For example, standby state 671 can be a state in which the hardware components providing sound data (or sound stream) and for sound output (e.g., sound module 250 and speaker 251) are disabled. Ready state 672 can be a state in which the hardware components providing sound data and for sound output are disabled, but arbitrary operation begins in electronic device 200 (e.g., an event occurs or power-saving mode is released). Idle state 673 can be a state in which the hardware components providing sound data and for sound output are activated. Playback state 674 can be a state in which the hardware components providing sound data and for sound output are activated, and electronic device 200 is operating (e.g., playing sound).
[0170] According to an embodiment, when an event occurs, the output of vibration and sound can be controlled in parallel. The segments corresponding to the ready state 672 and / or the idle state 673 can be shortened to resolve the output deviation between vibration and sound.
[0171] According to an embodiment, the electronic device 200 can synchronize the vibration output by allocating a delay time (e.g., 70ms to 80ms) to the vibration output timing. For example, the vibration output timing can be shifted (delayed) from the second timing TA2 of reference numeral 610 to the second timing TB2 of reference numeral 650.
[0172] Alternatively, the electronic device 200 can advance the sound output timing TB3 to reduce the time required for sound output. For example, the sound output timing can be shifted (advanced) from the third timing TA3 or TA3' of reference numeral 610 to the third timing TB3 of reference numeral 650.
[0173] According to an embodiment, when an event occurs at the first timing TB1, sound can be output at a timing offset earlier than specified. For example, sound output can begin at the third timing TB3 (reference numeral 650) by advancing the corresponding timing by a specified offset (e.g., 90ms to 100ms) from the third timing TA3 or TA3' (reference numeral 610). For example, the electronic device 200 can open the sound output path (e.g., Figure 4 Operation 430 or Figure 5 Operation 522) can advance the audio output timing TB3, or the audio output path can be changed from the first path used for non-fast audio output to the second path used for fast audio output (e.g., Figure 4 Operation 430 or Figure 5 Operation 523). For example, by opening the sound output path. Figure 5 Operation 522 can shorten the audio output timing by approximately 100ms, or by changing the audio output path. Figure 5 Operation 523 allows the audio output timing to be shortened by approximately 90 ms. For example, the second path for fast output can be obtained by skipping at least a portion of the first path for non-fast output or by shortening the first path. Alternatively, the second path can include components different from the first path.
[0174] Therefore, when an event occurs, vibrations and sounds from different types of interfaces can be synchronized.
[0175] Figure 7 It is a timing diagram showing the output results of vibration, sound and visual elements in an electronic device according to an embodiment.
[0176] Reference numeral 710 is a timing diagram showing the output results of vibration, sound, and visual elements in the electronic device according to the comparative example. Reference numeral 711 indicates the output waveform of vibration. Reference numeral 712 indicates the output waveform of sound. Reference numeral 713 indicates the output waveform of the visual element signal.
[0177] In the timing diagram indicated by reference numeral 710, TA1 is the first timing for the event to occur. TA2 is the second timing as the vibration output timing (or vibration start timing). TA3 or TA3' is the third timing as the sound output timing (or sound start timing). TA4 is the output timing for the visual element.
[0178] According to the comparative example, since the vibration output timing TA2, the sound output timing TA3 or TA3' and the visual element output timing TA4 are different from each other, there may be deviations between the corresponding timings, so the vibration, sound and visual elements may be output asynchronously.
[0179] Compared to vibration, electronic devices may require a longer time to process and / or output sound data. The time required for sound output (e.g., 200 ms to 300 ms) can be longer than the time required for vibration output (e.g., 50 ms). In the timing diagram of 710, the time required for sound output (e.g., 200 ms to 300 ms) can correspond to the time interval from the first timing TA1 to the third timing TA3 or TA3'.
[0180] Depending on the operating state of the electronic device (e.g., music playback or non-playback), there may also be a deviation between the sound output timing TA3 and TA3'.
[0181] When an event occurs, the electronic device can sequentially control the output of sound and visual elements. The electronic device can output visual elements at a fourth timing TA4, which has a predetermined deviation from the third timing TA3, which is the timing for sound output.
[0182] According to the comparative example, as shown, there may be large deviations between vibration output timing TA2, sound output timing TA3, and visual element output timing TA4.
[0183] As shown, when an event occurs at the first timing TA1, vibration can begin at the second timing TA2 (within TA1 + 50ms), and then sound can begin at the third timing TA3 or TA3'. Additionally, visual elements can be output at the fourth timing TA4 (within TA3 + 100ms) after the sound begins. Discrepancies may exist between the vibration output timing TA2, the sound output timing TA3 or TA3', and the visual element output timing TA4.
[0184] Reference numeral 750 is a timing diagram illustrating the output results of vibration, sound, and visual elements in the electronic device 200 according to an embodiment. Reference numeral 761 indicates the output waveform of vibration. Reference numeral 762 indicates the output waveform of sound. Reference numeral 763 indicates the output waveform of the visual element (or visual signal).
[0185] The audio output state of electronic device 200 can be divided into standby state 771, ready state 772, idle state 773, and playback state 774. For example, Figure 7 The standby state 771, ready state 772, idle state 773, and playback state 774 can respectively correspond to Figure 6 The standby state 671, ready state 672, idle state 673, and playback state 674.
[0186] According to an embodiment, when an event occurs at the first timing TB1, the vibration can be delayed by a specified offset (e.g., 70 ms to 80 ms) from the second timing TA2 (reference numeral 710), and can be output starting from the second timing TB2. Sound and visual elements can be output simultaneously with the vibration. Synchronously with the second timing TB2, the sound output can begin at the third timing TB3, and the visual element output can begin at the fourth timing TB4. The third timing TB3 and the fourth timing TB4 can be substantially the same as the second timing TB2 (e.g., within TB2 ± 30 ms).
[0187] The time required to output vibration can correspond to the time interval from the first timing TB1 to the second timing TB2. The time required to output sound can correspond to the time interval from the first timing TB1 to the third timing TB3. The time required to output visual elements can correspond to the time interval from the first timing TB1 to the fourth timing TB4.
[0188] The electronic device 200 can control the time required for outputting vibration, sound and visual elements TB1 to TB2, TB1 to TB3 and TB1 to TB4 to be substantially the same.
[0189] According to an embodiment, when an event occurs, the outputs of vibration, sound, and visual elements can be controlled in parallel. The segments of the electronic device 200 in the ready state 772 and / or idle state 773 can be shortened to resolve output discrepancies among the vibration, sound, and visual elements.
[0190] According to an embodiment, the electronic device 200 can delay the vibration output timing by allocating a delay time (e.g., 70ms to 80ms) to the vibration output. For example, the electronic device 200 can shift (e.g., delay) the vibration output timing TB2 from the second timing TA2 of reference numeral 710 to the second timing TB2 of reference numeral 750, so that the vibration output timing TB2 can be synchronized with the sound output timing TB3 and the visual element output timing TB4.
[0191] Additionally, the electronic device 200 can advance the sound output timing TB3 to correspond to the vibration output timing TB2. The electronic device 200 can open the sound output path to advance the sound output timing TB3, or it can change the sound output path from a first path for non-rapid sound output to a second path for rapid sound output. For example, the electronic device 200 can shift (e.g., advance) the sound output timing TB3 from the third timing TA3 (reference numeral 710) to the third timing TB3 (reference numeral 750), thus allowing the sound output timing TB3 to be synchronized with the vibration output timing TB2 and the visual element output timing TB4.
[0192] Additionally, the electronic device 200 can shift the output timing TB4 of the visual element to correspond to the sound output timing TB3. The sound output timing TB3 and the visual element output timing TB4 can be substantially the same or can be within a certain offset (e.g., ±30 ms). For example, the visual element output timing TB4 can correspond to the timing for generating the trigger signal for outputting the visual element. The electronic device 200 can shift (e.g., advance) the timing for generating the trigger signal for outputting the visual element from the fourth timing TA4 at 710 to the fourth timing TB4 at 750.
[0193] Therefore, as shown, the discrepancies between vibration output timing, sound output timing, and visual element output timing can be improved. Synchronization between different types of interfaces (vibration, sound, and visual elements) can be achieved when an event occurs.
[0194] Synchronization of vibration, sound, and visual elements, which are different types of interfaces in an electronic device, is not limited to the vibration output timing, sound output timing, and visual element output timing shown. According to another embodiment, when the vibration output timing occurs later than the sound output timing, the sound output timing can be offset (e.g., delayed) to match the vibration output timing. For example, when the vibration output timing is delayed due to the preparation operation of the haptic module 240, a segment in the idle state 773 can be added to achieve synchronization of the vibration output timing and the sound output timing. In an embodiment, the preparation operation of the haptic module 240 may include causing the vibration output timing to be delayed. Figure 3 The signal processing delay of at least a portion of the system vibrator 344 or vibration service 343 to the interaction module 300.
[0195] Figure 8 This is a flowchart illustrating the switching operation of a sound output mode in an electronic device according to an embodiment. For example, Figure 8 The operation can correspond to Figure 4 Operation 430 or Figure 5 Operation 523.
[0196] In an embodiment, the electronic device 200 may use one of the first path 810 and the second path 820 to output sound.
[0197] The first path 810 can be a non-fast output path. The second path 820 can be a fast output path for sound. For example, the second path 820 can be achieved by skipping at least a portion of the first path 810 (e.g., Figure 8 The audio flinger 802) or the path obtained by shortening a non-fast output path. As another example, the second path 820 may include components different from the first path 810 for fast output of sound (e.g., Figure 8 (The second buffer 825 serves as a buffer for fast output).
[0198] The electronic device 200 can reduce the time required for sound output by changing the first path 810 to the second path 820, so as to synchronize the sound with vibration and / or visual elements.
[0199] exist Figure 8 In the example, the first path 810 may include a media decoder 801, an audio thrower 802, an audio HAL 803, and an audio object 804. For example, the audio object 804 may correspond to a hardware element for sound output (e.g., Figure 2 250 sound modules or Figure 3 The speaker 251). The media decoder 801, audio thrower 802, and audio HAL 803 are software and / or firmware components, and can process sound and output processed sound via audio object 804. The first path 810 may include a first buffer 815. The first buffer 815 may be a non-fast output buffer.
[0200] The second path 820 may be a path obtained by skipping at least a portion of the first path 810 (e.g., audio thrower 802) or by shortening the first path 810.
[0201] The second path 820 may include a second buffer 825. The second buffer 825 may be a buffer for fast output.
[0202] In the case of the first path 810, the logic for the resampler 811 and effector 812 can run at the audio thrower 802 stage, and running this logic may take time. Additionally, the size of the first buffer 815 storing the audio data in the first path 810 (e.g., 3840 frames {48kHz × 20ms × 4}) can be larger than the size of the second buffer 825 used in the second path 820 (e.g., 384 frames {48kHz × 4ms × 2}). For this reason, in the case of a non-fast output using the first path 810, processing and / or outputting the audio data may take a longer time compared to the fast output using the second path 820.
[0203] When the sound output path is changed from the first path 810 to the second path 820, the logic runtime of the resampler 811 and the effector 812 can be shortened, / or the logic runtime based on the buffer size.
[0204] The audio thrower 802 may include a resampler 811 and an effector 812. The audio HAL 803 may correspond to... Figure 2 The audio HAL 331. Audio object 804 can correspond to Figure 2 250 sound modules or Figure 3 Speaker 251.
[0205] In an embodiment, the audio object 804 may include a first buffer 815 and a second buffer 825. The size and / or latency of the second buffer 825 may be smaller than the size and / or latency of the first buffer 815. For example, the size and / or latency of the first buffer 815 may be two times or more, and ten times or less, compared to the size and / or latency of the second buffer 825. When the size of the second buffer 825 is less than twice the size of the first buffer 815, the time reduction effect can be reduced. When the size of the second buffer 825 exceeds ten times the size of the first buffer 815, resource consumption may be excessive.
[0206] exist Figure 8 In the example, the size of the first buffer 815 can be 3840 frames (48kHz × 20ms × 4). When the first buffer 815 is empty, one unit (20ms × 1) must be filled to allow the corresponding output to be performed. In this case, the delay of the first buffer 815 in the first path 810 for non-fast output can be 20ms. The size of the second buffer 825 can be 384 frames (48kHz × 4ms × 2). When the second buffer 825 is empty, one or two units (4ms × 2) must be filled to allow the corresponding output to be performed. In this case, the delay of the second buffer 825 in the second path 820 for fast output can be 4ms or 8ms.
[0207] During non-fast output, sound can be output via a first path 810. For example, the first path could be a path including an audio thrower 802. The audio thrower 802 can be used for resampling sound data and / or for effects processing. Sound data can be sent from a media decoder 801 to a resampler 811. The resampler 811 can resample sound data at a first frequency (e.g., 44.1 kHz) sent from the media decoder 801 to a second frequency (e.g., 48 kHz), and can send the resampled sound data to an effector 812. The effector 812 can perform effects processing (e.g., sound effects or sound enhancement) on the received sound data, and can store the processed sound data in a first buffer 815. For example, when the first buffer 815 is empty, sound data can be output when one cell of the first buffer 815 is filled. Therefore, sound output may take 20 ms or longer.
[0208] During fast output, sound can be output via the second path 820. For example, the fast sound output path could be a path that skips the audio thrower 802. Sound data can be sent directly from the media decoder 801 to the second buffer 825 without going through the audio thrower 802. For example, when the second buffer 825 is empty, sound data can be output when one or both cells of the second buffer 825 are filled. Therefore, sound output may take 4ms or 8ms or longer.
[0209] When using the second path 820, the time required for sound output can be shortened compared to the first path 810, thus allowing the sound output timing to be advanced.
[0210] For example, when the audio output path is changed from a first path 810 for non-fast output to a second path 820 for fast output, the time required for audio output can be reduced by a certain value (e.g., 90ms) or more.
[0211] In an embodiment, the electronic device 200 may change the sound output mode from a first mode to a second mode in response to an event. For example, the second mode may be used to change the sound output path from a first path for non-fast output to a second path for fast output. As the sound output mode is changed to the second mode, the sound output path may be changed from a first path 810 for non-fast output to a second path 820 for fast output.
[0212] Figure 9 This is a flowchart illustrating the operation of opening a sound output path in an electronic device according to an embodiment. For example, Figure 8 The operation can correspond to Figure 4 Operation 430 or Figure 5Operation 522.
[0213] In an embodiment, electronic device 200 (or the audio output path of electronic device 200) may include application 806, audio service 807, media decoder 801, audio thrower 802 and audio HAL 803, audio driver 808 and audio object 804.
[0214] For example, application 806 can be included Figure 3 In application layer 350. Application 806 can correspond to Figure 3 Applications 351 and 355. Audio service 807 can correspond to... Figure 3 The audio service 341. Media decoder 801 and audio thrower 802 can be included. Figure 3 In the interactive module 300, the audio HAL 803, audio driver 808, and audio object 804 can respectively correspond to... Figure 3 The audio HAL 331, audio driver 321, and speaker 251.
[0215] Electronic device 200 can perform operations 901 and 905.
[0216] Operation 901 can be a preliminary operation for playing sound. For example, electronic device 200 can be in a state before playing sound (e.g., Figure 6 Operation 901 is performed in the ready state 672 and / or the idle state 673.
[0217] Operation 905 can be a sound playback operation. For example, electronic device 200 can be in a playback state (e.g., Figure 6 Operation 905 is performed under playback status 674).
[0218] When the initial sound playback operation 901 is performed in advance, the sound playback operation 905 can be performed immediately. Therefore, the time for the initial sound playback operation 901 (e.g., 100ms) may be unnecessary, and the time required for sound output can be shortened, thereby improving the synchronization performance between sound and other interfaces (vibration and / or visual elements).
[0219] Operation 901 may include operations 910 and 930. Operation 910 may be an operation to open a sound output path for sound output. Operation 930 may be an operation to activate an audio object 804, which is a hardware component for sound output. As operation 930 is executed, the audio object 804 can be switched from an inactive state to an active state.
[0220] According to the embodiment, by executing operations 910 and 930 in parallel, the two corresponding operations can be completed within a predetermined time (e.g., within 50ms).
[0221] Reference Figure 9 In operation 911, application 806 can send a command (setFastAudioOpenMode) to audio service 807 to change the sound output mode from a first mode for non-fast output to a second mode for fast output. This command (setFastAudioOpenMode) can be an open command for the sound output path.
[0222] In operation 912, audio service 807 can send playback commands to media decoder 801.
[0223] In operation 913, the media decoder 801 can send a dispatch command to the audio thrower 802.
[0224] It can execute operation 910 in response to dispatch commands.
[0225] Operation 910 may include operations 914 to 923.
[0226] In operation 914, audio thrower 802 can send a write command to audio HAL 803. In operation 915, audio HAL 803 can send a path open command (pcm_open) to audio driver 808. In operation 916, audio driver 808 can send a load command (load_dsp) to audio object 804. In operation 920, audio object 804 can, in response to the load command (load_dsp), configure the buffer to be used as a fast output buffer (e.g., ...). Figure 8 The second buffer 825 can then send a return response to the audio driver 808. In operations 921 and 922, the audio driver 808 can perform a loading operation of the firmware function (or feature) necessary for loading the sound output based on the return response, and then send a return response to the audio HAL 803. In operation 923, the audio HAL 803 can send a return response to the audio thrower 802.
[0227] Electronic device 200 can perform operation 930.
[0228] Operation 930 may include operations 931 to 945.
[0229] In operation 931, the audio thrower 802 can send a device output initialization command (init_output_device) to the audio HAL 803. In operation 932, the audio HAL 803 can send an output initialization command (init_device) to the audio object 804. In operation 941, the audio object 804 can send a return response to the audio HAL 803 after transitioning from an inactive state to an active state. In operation 942, the audio HAL 803 can perform a dispatch operation, and in operation 943, the audio HAL 803 can send a codec configuration command (config_codec) to the audio driver 808. In operation 944, the audio driver 808 can send a return response to the audio HAL 803. In operation 945, the audio HAL 803 can send a return response to the audio thrower 802.
[0230] When the event occurs, the electronic device 200 can perform operation 905. Operation 905 can be a sound playback operation.
[0231] In operations 951 and 952, playback commands can be sequentially sent from application 806 to audio service 807 and media decoder 801. In operation 953, media decoder 801 can send a dispatch command to audio thrower 802. In operation 954, audio thrower 802 can send an output write command (out_write) to audio HAL 803 to read sound data stored in the buffer. In operation 955, audio HAL 803 can send a write command (pcm_write) to audio driver 808. In operation 956, audio driver 808 can send an output command to audio object 804. Audio object 804 can output (or play) sound in response to the output command.
[0232] For example, for synchronization, electronic device 200 can perform the preliminary sound playback operation 901 in the early event steps before the event occurs, thereby reducing the time required for the corresponding operation when the event occurs (e.g., 100ms). Electronic device 200 can perform the operation of opening the sound output path 910 and / or activating the audio object 804 930 in the segment before the sound output time. By opening the sound output path (which is a necessary process for playing sound) and / or performing the hardware activation logic in advance, the corresponding operations can be omitted when the sound is actually played.
[0233] Figure 10 This is a flowchart illustrating vibration delay operation in an electronic device according to an embodiment. For example, Figure 10 The operation can correspond to Figure 4 Operation 420 or Figure 5Operation 521.
[0234] exist Figure 10 In the example, this can be achieved through the application of electronic device 200 (e.g., Figure 3 The application of 355 (351) is used to perform operation 1010. Operation 1020 can be performed via the sound output path. For example, the sound output path can correspond to including... Figure 3 The paths to at least some of the following: audio manager 342, audio service 341, interaction module 300, audio HAL 331, audio driver 321, and speaker 251. Figure 8 The second path 820. Operation 1030 can be performed via the vibration output path. For example, the vibration output path could include... Figure 3 At least some of the following: system vibrator 344, vibration service 343, interaction module 300, vibration HAL 333, vibration driver 323, and... Figure 3 The path of motor 241.
[0235] The first timer TB1 can be the timer for the event to occur.
[0236] In operation 1011, the electronic device 200 can identify whether an event has occurred through the application. For example, the event could be an event for outputting vibration and sound. For example, the event could be one of an event based on user input (e.g., a touch event, gesture event, or scrolling event), an event based on a change in the state of the electronic device 200 (e.g., a charger connection event), or a cue event (e.g., an error event or a notification event). In operation 1011, when the application of the electronic device 200 detects an event, operation 1013 can be executed. In an embodiment, when the application of the electronic device 200 does not detect an event in operation 1011, operation 1011 can be repeated or the process can wait for an event to occur.
[0237] In operation 1013, the application of electronic device 200 can send playback commands to the sound output path.
[0238] Operation 1020 may include operations 1021, 1023, 1025 and 1027.
[0239] In operation 1021, the sound output path of electronic device 200 can execute a sound output process in response to a playback command from an application. For example, depending on the progress of the sound output process, the sound output progress state can be sequentially switched to standby state, ready state, idle state, and playback state.
[0240] In operation 1023, electronic device 200 can identify whether the sound output progress state has been switched to an idle state via the sound output path (e.g., Figure 6Idle state 673 or Figure 7 Idle state 773).
[0241] For example, the idle state is the state that immediately precedes the playback state, and can correspond to the initial sound output operation therein (e.g., Figure 9 The state after operation 901 {Preliminary sound playback operation} is completed. For example, in the idle state, sound data (e.g., stored in...) can be provided. Figure 8 In the second buffer 825), and can activate hardware components for sound output (e.g., sound module 250 or speaker 251).
[0242] When the sound output progress state is switched to the idle state, in operation 1025, the sound output path can send a callback to the vibration output path to indicate that the initial sound output operation has been completed.
[0243] In one embodiment, operation 1027 can be performed when switching to an idle state. In another embodiment, when the sound output progress state is not switched to an idle state, the electronic device 200 can repeatedly perform operation 1023 or wait to transition to an idle state. For example, the electronic device 200 can identify the sound output progress state (check stream state) and can determine whether the sound output progress state has been switched to an idle state. For example, when the sound output progress state is switched to an idle state, a callback can be sent from the sound output path (e.g., audio manager 342) responsible for sound output (or playback) to the vibration output path (e.g., vibration service 343) responsible for vibration output. When the sound output progress state is switched to an idle state in response to the callback, the vibration output path (e.g., vibration service 343) can synchronize the sound output timing with the vibration output timing by playing vibrations.
[0244] In operation 1027, the sound output path can play (or output) the sound corresponding to the event.
[0245] In operation 1031, as a callback is sent from the sound output path, the vibration output path of the electronic device 200 can play (or output) a vibration corresponding to the event.
[0246] The second timing mechanism TB2 corresponds to the sound output timing. The third timing mechanism TB3 corresponds to the vibration output timing.
[0247] The electronic device 200 can control the second timing TB2 and the third timing TB3 to be substantially the same timing (e.g., with a specified offset {e.g., within ±30 ms}) by sending a callback from the sound output path to the vibration output path according to the progress of the sound output. For this reason, the synchronization performance between sound and vibration can be improved.
[0248] Figure 11a , Figure 11b , Figure 11c , Figure 11d and Figure 11e This is a diagram illustrating a method for providing a user interface for an electronic device according to an embodiment.
[0249] Figure 11a , Figure 11b , Figure 11c , Figure 11d and Figure 11e This can correspond to a method of providing a user interface for a smartphone-type electronic device. Figures 11a to 11e The events shown can correspond to user input events or clue events.
[0250] Figure 11a A method for providing a user interface based on the occurrence of a cue event (e.g., a charger connection event) is shown.
[0251] The electronic device 200 according to the embodiment may be a smartphone-type electronic device 201.
[0252] exist Figure 11a In this configuration, as the charger cable 1112 is connected to the charging port 1110, the smartphone-type electronic device 201 can detect the occurrence of a charger connection event. The charger connection event can be an event that outputs vibration, sound, or visual elements. The charger connection event can be a wireless connection method or, as shown, a wired connection method.
[0253] When a charger connection event occurs, the electronic device 201 can synchronize and output the vibration 1116, sound 1115 and visual element 1117 that indicate the occurrence of the charger connection event.
[0254] The electronic device 201 can change the sound output mode from a first mode to a second mode for fast output in response to a charger connection event.
[0255] For example, electronic device 201 can activate the sound module by opening the sound output path at the first timing when the charger connection event occurs (e.g., Figure 2 250 sound modules or Figure 3 The speaker 251 can then output sound 1115 through the activated sound module. The electronic device 201 can output vibration 1116 and visual element 1117 in response to the sound output timing.
[0256] Figure 11b A method for providing a user interface based on clue events (e.g., authentication error events) is shown.
[0257] exist Figure 11b In the case of a smartphone-type electronic device 201, a lock screen 1120 may be displayed. The lock screen 1120 may include a biometric authentication window 1121.
[0258] When a user performs an authentication action (e.g., fingerprint input), a window 1126 indicating authentication failure can be displayed on the lock screen 1120.
[0259] Electronic device 201 can provide a smart user interface so that the user does not feel inconvenienced by the situation. In response to an authentication error event, electronic device 201 can output vibrations (e.g., vibration patterns output simultaneously with sound effect patterns), sounds (e.g., interesting sound effect patterns), and visual elements (e.g., animations customized for sound effect patterns or windows 1126 on lock screen 1120) that indicate authentication failure in response to the authentication error event, and can output them as a whole to achieve coordinated interaction.
[0260] Figure 11c A method for providing a user interface based on clue events (e.g., guide events) is shown.
[0261] exist Figure 11c In this context, the smartphone-type electronic device 201 can display a lock screen 1130. The lock screen 1130 may include a biometric authentication window 1131 (e.g., a fingerprint authentication menu and a facial authentication menu).
[0262] When a user performs an authentication action (e.g., fingerprint input), a window 1136 indicating authentication failure and triggering another authentication method (e.g., facial authentication) can be displayed on the lock screen 1130.
[0263] When authentication fails, electronic device 201 can provide a user interface that intelligently and accurately delivers a message via window 1136 on lock screen 1130, allowing the user to take an appropriate attitude without inconveniencing the situation. Electronic device 201 can achieve coordinated interaction by outputting synchronized vibration, sound, and visual elements (e.g., window 1136 on lock screen 1130).
[0264] Figure 11d A method for providing a user interface based on user input events (e.g., scroll events) is shown.
[0265] The electronic device 200 according to the embodiment may be a smartphone-type electronic device 201 or a smartwatch-type electronic device 202.
[0266] exist Figure 11dIn this device, the smartphone-type electronic device 201 can display a first screen 1140. The first screen 1140 may include a time selector area 1141. The electronic device 201 can detect the occurrence of a scrolling event based on the user's scrolling input to the time selector area 1141.
[0267] Alternatively, the smartwatch-type electronic device 202 may display a second screen 1145, including a time selector area 1146.
[0268] The occurrence of a scrolling event can be detected based on the user's scrolling input to time selector areas 1141 or 1146. Scrolling events can be used to output vibration, sound, and visual elements.
[0269] For example, electronic devices 201 and 202 may pre-open the sound output path for the purpose of quickly outputting sound before the scrolling event occurs. Electronic devices 201 and 202 may pre-open the sound output path in response to an event preceding the scrolling event. For example, the preceding event may be an event for displaying screens 1140 and 1145 (e.g., an alarm application running screen) including time selector areas 1141 and 1146 (e.g., an alarm application running screen).
[0270] By opening the audio output path in advance before the scrolling event occurs, changes in the user's scrolling input (e.g., at least some of scrolling direction, scrolling speed, scrolling distance, and / or scrolling pressure) can be reflected in the output audio in real time.
[0271] Additionally, realistic physical properties (acceleration, friction, sound, or dynamic haptic feedback) can be expressed through synchronization between vibration, sound, and visual elements during the user's scrolling action, or interesting emotional experiences can be delivered.
[0272] Figure 11e A method for providing a user interface based on user input events (e.g., touch events) is shown.
[0273] exist Figure 11e In the middle, the smart phone type electronic device 201 can display a screen 1150 including a refresh menu 1151.
[0274] When there is user input (e.g., touch or tap) to refresh menu 1151, electronic device 201 can respond to the user input to perform loading preparation, and then provide a clear user interface guiding the completion of loading preparation. Electronic device 201 can achieve coordinated interaction through synchronized vibration, sound and visual elements output as a whole.
[0275] Figure 12a and Figure 12bThis is a diagram illustrating a method for providing a user interface for an electronic device according to another embodiment. Figure 12a and Figure 12b This could correspond to a method of providing a user interface for a foldable electronic device. Figure 12a and Figure 12b The events shown can correspond to user input events.
[0276] The electronic device 200 according to the embodiment may be a foldable electronic device 205.
[0277] exist Figure 12a In the middle, the foldable electronic device 205 can display a main screen 1210 including icons and / or widgets.
[0278] The foldable electronic device 205 can detect user input 1211 (e.g., tap and long press) for icons or user input 1215 (e.g., tap and long press) for widgets.
[0279] The foldable electronic device 205 can respond to user inputs 1211 and 1215 by outputting synchronized vibration, sound, and visual elements in real time, so as to achieve the effect that the icon or widget appears to be actually (physically) separated from the main screen 1210. Therefore, a clear and realistic emotional experience can be delivered to the user.
[0280] exist Figure 12b In the middle, the foldable electronic device 205 can display a main screen 1220 including a split view.
[0281] The foldable electronic device 205 can detect user input 1221 and 1225 (e.g., dragging) for the split view.
[0282] The foldable electronic device 205 can respond to user inputs 1221 and 1225 by outputting synchronized vibration, sound and visual elements in real time to achieve the effect that it appears as if the split view is actually moving on the main screen 1220.
[0283] Figure 13a , Figure 13b and Figure 13c This is a diagram illustrating a method for providing a user interface for an electronic device according to another embodiment. Figure 13a , Figure 13b and Figure 13c This may correspond to a method of providing a user interface for a flexible smart phone-type electronic device with a variable shape factor (e.g., a foldable electronic device 206 or 207 or a sliding electronic device 208). Figure 13a , Figure 13b and Figure 13cThe events shown can be user input events. For example, an event can be an event for changing the mechanical state (or usage state) of the foldable electronics 206 or 207 or the sliding electronics 208.
[0284] The electronic device 200 according to the embodiment may be a foldable electronic device 206 or 207 or a sliding electronic device 208.
[0285] exist Figure 13a In this context, the foldable electronic device 206 can change its mechanical state according to the user's folding operation. For example, as the folding angle changes, the foldable electronic device 206 can have any of the following states: folded, partially unfolded, and unfolded.
[0286] The foldable electronic device 206 may include a flexible display 1310. The flexible display 1310 may include a first region 1311 and a second region 1312.
[0287] The foldable electronic device 206 can be used in situations where it is necessary to provide different types of user interfaces in response to the interaction of the stylus 1320.
[0288] When users are like Figure 13a When the foldable electronic device 206 shown is in its partially unfolded state and a handwriting operation is performed using a stylus 1320, user input events (e.g., writing events) can be detected.
[0289] The foldable electronic device 206 can display visual elements 1325 corresponding to user input events (e.g., writing events) via a flexible display 1310. The foldable electronic device 206 can output synchronized vibrations, sounds, and visual elements 1325 in real time in response to user input events.
[0290] For example, the foldable electronic device 206 can open the sound output path in advance for the purpose of quickly outputting sound before a writing event occurs. The foldable electronic device 206 can open the sound output path in advance in response to an early event of the writing event (or in response to the first timing of the early event).
[0291] For example, the stylus 1320 may include a push-pull button for turning on and off. For example, when the push-pull button is pressed to enter the push state, the stylus 1320 can be turned on. When the push-pull button is pressed again to enter the pull state, the stylus 1320 can be turned off.
[0292] For example, the preliminary event could be an event that turns on the stylus 1320. When the user switches the stylus 1320 from a closed state to an on state, this could be an intention to use the writing function. Therefore, the foldable electronic device 206 can preemptively open the sound output path in response to the stylus 1320's turn-on event (or in response to a first timing of the turn-on event) to enable the hardware components for sound output (e.g., Figure 3 The speaker 251 is switched to the activated state. Therefore, the time required for sound output can be shortened, enabling rapid sound output. Subsequently, the foldable electronics 206 can synchronize and output vibration, sound, and visual elements according to the user's writing input in response to a writing event (or in response to a second timing of the writing event). Since the sound output path is opened in advance before the actual writing event occurs, changes in the user's handwriting input (e.g., gestures) can be reflected in the output vibration, sound, and visual elements in real time, enabling realistic expression.
[0293] Figure 13b This may correspond to a method of providing a user interface for a foldable electronic device 207 capable of multiple folds (or Z-folds). The foldable electronic device 207 may include a flexible display 1340. The flexible display 1340 may include a first region 1341, a second region 1342, and a third region 1343.
[0294] exist Figure 13b In this device, the foldable electronic device 207 can change its mechanical state according to the user's folding operation. For example, as the folding angle changes, the foldable electronic device 207 can have any of the following states: fully folded, partially unfolded, and fully unfolded.
[0295] In the folded state according to the outward folding operation, the first region 1341 and the second region 1342 of the flexible display 1340 can be folded to face opposite directions. In the folded state according to the inward folding operation, the second region 1342 and the third region 1343 of the flexible display 1340 can be folded to face each other.
[0296] The mechanical state of the foldable electronic device 207 can be changed to correspond to the folding states of the first folding unit 1331 and the second folding unit 1332. For example, the mechanical state of the foldable electronic device 207 can be the folding state relative to the first folding unit 1331 and the second folding unit 1332 as the center, that is, the fully folded state with the narrowest width. As another example, the mechanical state of the foldable electronic device 207 can be as follows: Figure 13bThe diagram shows a partial folded state based on the intermediate folded state of the first folding unit 1331 and the second folding unit 1332. Alternatively, the mechanical state of the foldable electronic device 207 can be an unfolded state where the first folding unit 1331 and the second folding unit 1332 are unfolded, i.e., a fully unfolded state with the widest possible width.
[0297] The foldable electronic device 207 can provide different types of user interfaces in response to user actions that change the mechanical state of the foldable electronic device 207.
[0298] The foldable electronics 207 can detect a first event that changes the mechanical state (e.g., a hinge event for folding and / or unfolding) and can output synchronized vibration, sound and visual elements in real time in response to the first event.
[0299] For example, the foldable electronic device 207 can open the sound output path in response to a first event (e.g., a hinge event), and can adjust the vibration output timing and / or the visual element output timing to correspond to the sound output timing. Therefore, the outputs of vibration, sound, and / or visual elements can be synchronized.
[0300] For example, the foldable electronic device 207 can open the sound output path in response to a second event, which is an earlier event than a first event (e.g., a hinge event), and can output synchronized vibration, sound, and / or visual elements in response to a second command. For example, the earlier event than the first event (e.g., the second event) could be a gripping event where the user holds both sides of the foldable electronic device 207. For example, the user's action of holding both sides of the foldable electronic device 207 could be an intention to fold and / or unfold the foldable electronic device 207. Therefore, the foldable electronic device 207 can open the sound output path in advance in response to the gripping event (or in response to a first timing of the gripping event) to switch the hardware element (e.g., speaker 251) for sound output to an active state. Therefore, the time required for sound output can be shortened, thereby enabling rapid sound output. Thereafter, the foldable electronic device 207 can synchronize and output vibration, sound, and / or visual elements according to the user's folding and / or unfolding actions in response to the hinge event (or in response to a second timing of the hinge event). Because the sound output path is opened in advance before the hinge event actually occurs, changes in the user's folding and / or unfolding actions in response to the hinge event can be reflected in the output vibration, sound, and / or visual elements in real time, making realistic expression possible.
[0301] Figure 13c This can correspond to a method of providing a user interface for a sliding electronic device 208.
[0302] exist Figure 13cIn this drawing, the slidable electronic device 208 can change its mechanical state according to the user's sliding action. Reference numeral 1350 indicates the basic state (or retracted state or slid-in state) of the slidable electronic device 208. Reference numeral 1360 indicates the extended state (or slid-out state) of the slidable electronic device 208.
[0303] The slidable electronic device 208 may include a flexible display 1370. The flexible display 1370 may include a first region 1371 and a second region 1372. The first region 1371 may always be exposed to the outside of the slidable electronic device 208. The second region 1372 may be a region extending from the first region 1371, which is at least partially retractable into the slidable electronic device 208 by a sliding-in operation and at least partially withdrawable to the outside of the slidable electronic device 208 by a sliding-out operation.
[0304] The sliding electronic device 208 can output synchronized vibration, sound and visual elements in real time according to the user's sliding action to achieve coordinated interaction.
[0305] Electronic devices according to various embodiments (e.g., Figure 2 The electronic device 200 may include: a memory (e.g., Figure 2 The memory 220); the display (e.g., Figure 2 The display 230); haptic module (e.g., Figure 2 The tactile module 240 includes tactile circuitry and a sound module (e.g., Figure 2 A sound module 250), the sound module including audio circuitry; and at least one processor (e.g., Figure 2 The processor 210. The at least one processor may be operatively connected to a memory, a display, a haptic module, and a sound module. The memory may store instructions that, when executed, cause the at least one processor to: detect events of vibration and sound output; delay the vibration output; while the vibration output is delayed, change the sound output mode from a first mode to a second mode for rapid output; use the sound module to output sound in the second mode; and output the delayed vibration via the haptic module to synchronize the sound and delayed vibration outputs.
[0306] According to various embodiments, as the sound output mode is changed to the second mode, the sound output path can be opened to activate the sound module.
[0307] According to various embodiments, as the sound output mode is changed to the second mode, the sound output path can be changed from a first path for non-fast output to a second path for fast output.
[0308] According to various embodiments, the memory may store instructions that, when executed, cause at least one processor to synchronize sound, delayed vibration, and the output of visual elements by timing shifting the output of visual elements when outputting visual elements through a display.
[0309] According to various embodiments, the sound output mode can be changed to a second mode in response to an event.
[0310] According to various embodiments, as the sound output mode is changed to the second mode, the sound output path can be changed from a first path for non-fast output to a second path for fast output.
[0311] According to various embodiments, the sound output mode can be changed to a second mode in response to an earlier event of the event.
[0312] According to various embodiments, as the sound output mode is changed to a second mode in response to a prior event, the sound output path can be opened to activate the sound module. Sound can then be output through the activated sound module in response to the event.
[0313] According to various embodiments, the sound output progress state can be sequentially switched from a standby state to a ready state, an idle state, and a playback state. As the sound output progress state is switched to the idle state, a signal requesting delayed output vibration can be sent from the sound output path to the vibration output path.
[0314] According to various embodiments, a first buffer can be used when the sound output mode is a first mode, and a second buffer can be used for fast output when the sound output mode is a second mode. The second buffer can have a smaller size or lower latency compared to the first buffer.
[0315] A method for providing a user interface for an electronic device according to various embodiments of the present disclosure may include: detecting events of vibration and sound output; delaying the output of vibration; changing the sound output mode from a first mode to a second mode for rapid output while the output of vibration is delayed; using a sound module to output sound in the second mode; and outputting the delayed vibration to synchronize the output of sound and the delayed vibration.
[0316] According to various embodiments, as the sound output mode is changed to the second mode, the sound output path can be opened to activate the sound module.
[0317] According to various embodiments, as the sound output mode is changed to the second mode, the sound output path can be changed from a first path for non-fast output to a second path for fast output.
[0318] According to various embodiments, the method may further include: outputting a visual element. The method may include: synchronizing the sound, delayed vibration, and the output of the visual element by timing-shifting the output of the visual element.
[0319] According to various embodiments, the sound output mode can be changed to a second mode in response to an event.
[0320] According to various embodiments, as the sound output mode is changed to the second mode, the sound output path can be changed from a first path for non-fast output to a second path for fast output.
[0321] According to various embodiments, the sound output mode can be changed to a second mode in response to an earlier event of the event.
[0322] According to various embodiments, as the sound output mode is changed to a second mode in response to a prior event, the sound output path can be opened to activate the sound module. Sound can then be output through the activated sound module in response to the event.
[0323] According to various embodiments, the sound output progress state can be sequentially switched from a standby state to a ready state, an idle state, and a playback state. As the sound output progress state is switched to the idle state, a signal requesting delayed output vibration can be sent from the sound output path to the vibration output path.
[0324] According to various embodiments, a first buffer can be used when the sound output mode is a first mode, and a second buffer can be used for fast output when the sound output mode is a second mode. The second buffer can have a smaller size or lower latency compared to the first buffer.
[0325] While this disclosure has been shown and described with reference to various exemplary embodiments, it will be understood that these exemplary embodiments are intended to be illustrative and not restrictive. Those skilled in the art will further understand that various changes in form and detail may be made without departing from the true spirit and full scope of this disclosure, including the appended claims and their equivalents. It will also be understood that any one or more embodiments described herein may be used in conjunction with any other one or more embodiments described herein.
Claims
1. An electronic device, the electronic device comprising: Memory; monitor; A tactile module, comprising tactile circuitry; A sound module, the sound module including audio circuitry; as well as At least one processor, configured to be operatively connected to the memory, the display, the haptic module, and the sound module. The memory stores instructions that, when executed, cause the at least one processor to: Events that detect vibration and sound output; This delays the output of the vibration; When the output of the vibration is delayed, the sound output mode is changed from the first mode to the second mode; and In the second mode, the sound module is used to output the sound, and the haptic module outputs a delayed vibration to synchronize the output of the sound and the delayed vibration. Specifically, as the sound output mode is changed to the second mode, the sound output path is changed from a first path used for non-fast output to a second path used for fast output. The first path is the default path specified for sound output, and The second path is a path obtained by skipping at least a portion of the first path or shortening the first path, or the second path includes components different from the first path.
2. The electronic device according to claim 1, wherein, As the sound output mode is changed to the second mode, the sound output path is opened to activate the sound module.
3. The electronic device according to claim 1, wherein, When the instruction is executed, it causes the at least one processor to: When outputting visual elements through the display, the sound, the delayed vibration, and the output of the visual elements are synchronized by shifting the output of the visual elements at regular intervals.
4. The electronic device according to claim 1, wherein, The sound output mode is changed to the second mode in response to the event.
5. The electronic device according to claim 1, wherein, The sound output mode is changed to the second mode in response to an earlier event of the event, and in, As the sound output mode is changed to the second mode in response to the preceding event, the sound output path is opened to activate the sound module, and The sound response to the event is output through the activated sound module.
6. The electronic device according to claim 1, wherein, The audio output status is sequentially switched from standby to ready, idle, and playback states, and... As the sound output progress state is switched to the idle state, a signal requesting the output of the delayed vibration is sent from the sound output path to the vibration output path.
7. The electronic device according to claim 1, wherein, The first buffer is used when the sound output mode is the first mode, and the second buffer is used when the sound output mode is the second mode for fast output, and the second buffer has a smaller size or delay than the first buffer.
8. A method for providing a user interface for an electronic device, the method comprising: Events that detect vibration and sound output; This delays the output of the vibration; When the output of the vibration is delayed, the sound output mode is changed from the first mode to the second mode; as well as In the second mode, the sound and the delayed vibration are output to synchronize the output of the sound and the delayed vibration. Specifically, as the sound output mode is changed to the second mode, the sound output path is changed from a first path used for non-fast output to a second path used for fast output. The first path is the default path specified for sound output, and The second path is a path obtained by skipping at least a portion of the first path or shortening the first path, or the second path includes components different from the first path.
9. The method according to claim 8, wherein, As the sound output mode is changed to the second mode, the sound output path is opened to activate the sound module.
10. The method according to claim 8, further comprising: Output visual elements, The sound, the delayed vibration, and the output of the visual element are synchronized by periodically shifting the output of the visual element.
11. The method of claim 8, wherein, The sound output mode is changed to the second mode in response to the event.
12. The method according to claim 8, wherein, The sound output mode is changed to the second mode in response to an earlier event of the event, and in, As the sound output mode changes to the second mode in response to the preceding event, the sound output path is opened to activate the sound module, and The sound response to the event is output through the activated sound module.
13. The method of claim 8, wherein, The audio output status is sequentially switched from standby to ready, idle, and playback states, and... As the sound output progress state is switched to the idle state, a signal requesting the output of the delayed vibration is sent from the sound output path to the vibration output path.
Citation Information
Patent Citations
Electronic apparatus
CN1955903A
Method and apparatus for providing feedback according to user input patten
KR1020110076283A
