Electronic device and method for unlocking using serial universal bus

The system unlocks a locked electronic device through USB connection by using SVID list information, addressing the challenge of data exchange when the device is locked and display is damaged, enabling functional access.

WO2026141859A1PCT designated stage Publication Date: 2026-07-02SAMSUNG ELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SAMSUNG ELECTRONICS CO LTD
Filing Date
2025-09-15
Publication Date
2026-07-02

AI Technical Summary

Technical Problem

Existing electronic devices connected via USB often cannot exchange data when one device is locked, particularly if the display is damaged, making it difficult to unlock and access its functions.

Method used

The system enables unlocking of a locked electronic device through USB connection by requesting and utilizing Standard Vendor Identifier (SVID) list information from a connected device to determine the lock status and facilitate unlocking.

Benefits of technology

Enables data exchange and functional access to a locked electronic device via USB, even when the display is damaged, by leveraging SVID list information to manage lock status and unlock the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025014353_02072026_PF_FP_ABST
    Figure KR2025014353_02072026_PF_FP_ABST
Patent Text Reader

Abstract

According to an embodiment, a first electronic device may comprise: a port for a universal serial bus (USB) connection; a communication circuit for performing USB communication with a second electronic device; at least one processor including a processing circuit; and a memory for storing instructions and including one or more storage media. The instructions, when executed individually or collectively by the at least one processor, may cause the first electronic device to: identify the USB connection with the second electronic device; request identification information of the second electronic device from the second electronic device; obtain the identification information of the second electronic device from the second electronic device; execute an application related to a lock state of the first electronic device on the basis of the identification information; request standard vendor identifier (SVID) list information from the second electronic device; and unlock the first electronic device on the basis of the SVID list information.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device and method for unlocking using a serial universal bus

[0001] The following descriptions relate to an electronic device and method for unlocking using a serial universal bus.

[0002] The Universal Serial Bus (USB) is an input / output protocol for connecting electronic devices. As electronic devices are connected via USB, they can receive power from external electronic devices and / or exchange data with external electronic devices.

[0003] The information described above may be provided as related art for the purpose of aiding understanding of the present disclosure. No claim or determination is made as to whether any of the foregoing may be applied as prior art related to the present disclosure.

[0004] According to one embodiment, the first electronic device may include a port for a universal serial bus (USB) connection, at least one processor including a communication circuit for performing USB communication with a second electronic device based on the USB connection, and a processing circuit, and a memory including one or more storage media for storing instructions. When the above instructions are executed individually or collectively by the at least one processor, they may cause the first electronic device to identify the USB connection with the second electronic device through the port, request identification information regarding the second electronic device from the second electronic device through the USB connection, obtain the identification information regarding the second electronic device from the second electronic device through the USB connection based on the request for the identification information regarding the second electronic device, execute an application regarding the lock status of the first electronic device based on the identification information regarding the second electronic device, request SVID (standard vendor identifier) ​​list information from the second electronic device, obtain the SVID list information from the second electronic device, and unlock the first electronic device based on the SVID list information.

[0005] According to one embodiment, a method performed by a first electronic device may include: identifying a universal serial bus (USB) connection with a second electronic device; requesting identification information regarding the second electronic device from the second electronic device via the USB connection; obtaining identification information regarding the second electronic device from the second electronic device via the USB connection based on the request for identification information regarding the second electronic device; executing an application regarding the lock status of the first electronic device based on the identification information regarding the second electronic device and requesting standard vendor identifier (SVID) list information from the second electronic device; obtaining the SVID list information from the second electronic device; and unlocking the first electronic device based on the SVID list information.

[0006] According to one embodiment, a non-transient computer-readable storage medium can store one or more programs. The above one or more programs may include instructions that, when executed by at least one processor of a first electronic device comprising a port for a USB (universal serial bus) connection and a communication circuit for performing USB communication with a second electronic device based on the USB connection, identify the USB connection with the second electronic device through the port, request identification information regarding the second electronic device from the second electronic device through the USB connection, obtain the identification information regarding the second electronic device from the second electronic device through the USB connection based on the request for the identification information regarding the second electronic device, execute an application regarding the lock status of the first electronic device based on the identification information regarding the second electronic device, request SVID (standard vendor identifier) ​​list information from the second electronic device, obtain the SVID list information from the second electronic device, and cause the first electronic device to unlock the first electronic device based on the SVID list information.

[0007] According to one embodiment, the second electronic device may include a port for a universal serial bus (USB) connection, at least one processor including a communication circuit for performing USB communication with the first electronic device based on the USB connection, and a processing circuit, and a memory including one or more storage media for storing instructions. The above instructions, when executed individually or collectively by the at least one processor, may cause the second electronic device to identify the USB connection with the first electronic device through the port, receive a request for identification information regarding the second electronic device from the first electronic device through the USB connection, execute an application to obtain security information for unlocking the first electronic device based on the request for identification information regarding the second electronic device, use the application to identify an input for the security information, convert the security information obtained according to the input into SVID (standard vendor identifier) ​​list information, and transmit the SVID list information to the first electronic device based on receiving a request for SVID list information from the first electronic device.

[0008] According to one embodiment, a method for a system comprising a first electronic device and a second electronic device that supports a universal serial bus (USB) connection comprises: identifying the USB connection with the second electronic device by the first electronic device; requesting identification information regarding the second electronic device from the second electronic device via the USB connection by the first electronic device; transmitting the identification information regarding the second electronic device to the first electronic device based on the request by the second electronic device and identifying an input for security information to unlock the first electronic device; converting the security information obtained according to the input into a standard vendor identifier (SVID) list information by the second electronic device; requesting SVID list information from the second electronic device based on the identification information regarding the second electronic device by the first electronic device; transmitting the SVID list information to the first electronic device based on the request for the SVID list information by the second electronic device; and, by the first electronic device based on the SVID list information, It may include an operation to unlock the first electronic device.

[0009] All features disclosed herein can be combined with all embodiments disclosed herein in any combination.

[0010] FIG. 1 is a block diagram of an electronic device in a network environment according to one embodiment.

[0011] FIG. 2 illustrates an example of a first electronic device and a second electronic device according to one embodiment.

[0012] FIG. 3 illustrates an example of a simplified block diagram of a first electronic device and a second electronic device according to one embodiment.

[0013] FIG. 4 illustrates an example of a pin layout of a USB port according to one embodiment.

[0014] FIG. 5 illustrates a specific example in which a role for a USB connection is determined according to one embodiment.

[0015] FIG. 6 illustrates an example of BMC (biphase Manchester coding) according to one embodiment.

[0016] FIG. 7 illustrates an example of the operation of a first electronic device and a second electronic device for entering an alternative mode according to one embodiment.

[0017] FIG. 8 illustrates an example of a message containing SVID list information according to one embodiment.

[0018] FIG. 9 illustrates an example of the operation of a first electronic device and a second electronic device according to one embodiment.

[0019] FIG. 10 shows a code for SVID list information according to one embodiment.

[0020] FIG. 11 shows a code for SVID list information according to one embodiment.

[0021] FIG. 12 illustrates an example of the operation of a first electronic device and a second electronic device according to one embodiment.

[0022] Hereinafter, embodiments of the present disclosure are described in detail with reference to the drawings so that those skilled in the art can easily practice them. However, the present disclosure may be embodied in various different forms and is not limited to the embodiments described herein. In relation to the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and brevity.

[0023] FIG. 1 is a block diagram of an electronic device in a network environment according to one embodiment.

[0024] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network) or with at least one of an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through a server (108). According to one embodiment, the 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), subscriber identification module (196), or antenna module (197). In some embodiments, at least one of these components (e.g., connection terminal (178)) may be omitted from the electronic device (101), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (176), camera module (180), or antenna module (197)) may be integrated into a single component (e.g., display module (160)).

[0025] The processor (120) can control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing software (e.g., a program (140)), and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (120) can store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in volatile memory (132), process the commands or data stored in volatile memory (132), and store the resulting data in non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) that can operate independently or together with it (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device (101) includes a main processor (121) and an auxiliary processor (123), the auxiliary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a designated function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as part thereof.

[0026] The auxiliary processor (123) may 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)) on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. According to one embodiment, the auxiliary processor (123) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (180) or communication module (190)). According to one embodiment, the auxiliary processor (123) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or through a separate server (e.g., server (108)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers.An artificial neural network may 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), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, an artificial intelligence model may include a software structure, either additionally or substantially.

[0027] The memory (130) can store various data used by at least one component of the electronic device (101) (e.g., processor (120) or sensor module (176)). The data may include, for example, input data or output data for software (e.g., program (140)) and related commands. The memory (130) may include volatile memory (132) or non-volatile memory (134).

[0028] The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0029] The input module (150) can receive commands or data to be used for a component of the electronic device (101) (e.g., processor (120)) from outside the electronic device (101) (e.g., user). The input module (150) may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0030] The sound output module (155) can output a sound signal to the outside of the electronic device (101). The sound output module (155) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.

[0031] The display module (160) can visually provide information to an external (e.g., user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling said device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of the force generated by said touch.

[0032] The audio module (170) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150) or output sound through the sound output module (155) or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphones) connected directly or wirelessly to the electronic device (101).

[0033] The sensor module (176) can detect the operating state of the electronic device (101) (e.g., power or temperature) or the external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (176) may include, for example, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0034] The interface (177) may support one or more specified protocols that can be used for the electronic device (101) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (102)). According to one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0035] The connection terminal (178) may include a connector through which the electronic device (101) can be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0036] The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module (179) may include, for example, a motor, a piezoelectric element, or an electric stimulation device.

[0037] The camera module (180) can capture still images and video. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0038] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least part of a power management integrated circuit (PMIC).

[0039] The battery (189) can supply power to at least one component of the electronic device (101). According to one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0040] The communication module (190) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may include one or more communication processors that operate independently of the processor (120) (e.g., application processor) and support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (104) through a first network (198) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (199) (e.g., a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (196).

[0041] The wireless communication module (192) can support 5G networks and next-generation communication technologies following 4G networks, for example, new radio access technology. NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and connection of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low-latency communications (URLLC)). The wireless communication module (192) can support a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate, for example. The wireless communication module (192) can support various technologies for securing performance in the high-frequency band, such as beamforming, massive MIMO (multiple-input and multiple-output), full-dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large-scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), external electronic device (e.g., electronic device (104)), or network system (e.g., second network (199)). According to one embodiment, the wireless communication module (192) can support a Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mMTC, or U-plane latency (e.g., downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) for realizing URLLC.

[0042] An antenna module (197) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna comprising a radiator made of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as a first network (198) or a second network (199), may be selected from the plurality of antennas, for example, by a communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (197).

[0043] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving a signal of the specified high frequency band.

[0044] At least some of the above components can be connected to each other via a communication method between peripheral devices (e.g., bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) and exchange signals (e.g., commands or data) with each other.

[0045] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) through a server (108) connected to a second network (199). Each of the external electronic devices (102, or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations performed on the electronic device (101) may be performed on one or more of the external electronic devices (102, 104, or 108). For example, if the electronic device (101) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (101) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (101) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server using machine learning and / or neural networks. According to one embodiment, the external electronic device (104) or the server (108) may be included within the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0046] According to one embodiment, a first electronic device (e.g., electronic device (101)) may be connected to a second electronic device via a universal serial bus (USB). For example, the first electronic device and the second electronic device may perform USB communication based on a USB connection using a USB cable. The first electronic device may exchange data with the second electronic device through the USB connection. According to one embodiment, if the first electronic device is locked, the second electronic device may not be able to exchange data through the USB connection. If the first electronic device cannot be unlocked due to a failure of the first electronic device (e.g., the display of the first electronic device), the user of the first electronic device may unlock the first electronic device through the second electronic device using the USB connection. Technical features for unlocking the first electronic device through the second electronic device will be described below.

[0047] FIG. 2 illustrates an example of a first electronic device and a second electronic device according to one embodiment.

[0048] Referring to FIG. 2, the system (200) may include a first electronic device (210) and a second electronic device (220). For example, the first electronic device (210) may correspond to the electronic device (101) of FIG. 1. For example, the second electronic device (220) may correspond to the electronic device (102) of FIG. 1.

[0049] According to one embodiment, the first electronic device (210) can communicate with the second electronic device (220) via a wired connection. For example, the first electronic device (210) can communicate with the second electronic device (220) based on a USB connection.

[0050] For example, the first electronic device (210) may include a USB port (215) for USB connection. The second electronic device (220) may include a USB port (225) for USB connection. For example, each of the USB port (215) and the USB port (225) may be configured based on a Type C (or Type-C) USB port. However, it is not limited thereto. For example, each of the USB port (215) and the USB port (225) may be configured based on one of a Type A (or Type-A) USB port, a Type B (or Type-B) USB port, and a Type C (or Type-C) USB port.

[0051] For example, the first electronic device (210) and the second electronic device (220) may be connected via a USB cable (230). The USB cable (230) may include a connector (231) and a connector (232). The connector (231) may be connected to the USB port (215) of the first electronic device (210). The connector (232) may be connected to the USB port (225) of the second electronic device (220).

[0052] In the following, for example, a first electronic device (210) and a second electronic device (220) may be connected via a USB connection using a USB cable (230). A USB connection may refer to a physical connection through a USB cable (230). The first electronic device (210) and the second electronic device (220) may perform USB communication based on the USB connection. The first electronic device (210) and the second electronic device (220) may exchange data using USB communication. For example, multiple protocols may be used for USB communication. For example, for USB communication, one of the protocols of the USB 1.1 standard, the USB 2.0 standard, and / or the USB 3.0 standard may be used. In addition to the aforementioned standards, for USB communication, sub-standards of the aforementioned standards and / or standards following the aforementioned standards may be used.

[0053] According to one embodiment, when a USB connection is made, data exchange via USB communication may be performed only when the first electronic device (210) (or the second electronic device (220)) is unlocked according to a security policy. For example, the first electronic device (210) and the second electronic device (220) may not be unlocked when connected via a USB cable (230). For example, if the first electronic device (210) is not unlocked, the second electronic device (220) may be unable to use (or access) the display or USB device of the first electronic device (210). Therefore, if it is difficult to unlock the first electronic device (210) due to damage to the display of the first electronic device (210), the first electronic device (210) may not be unlocked through the second electronic device (220).

[0054] For example, the first electronic device (210) may operate in one of a plurality of operation modes. For example, the plurality of modes may include a general mode, a repair mode, and a guest mode. The general mode may be a mode configured to allow access to all data of the first electronic device (210). The repair mode may be a mode in which the mounting of the memory of the first electronic device (210) is not performed. The guest mode may be a mode in which the mounting of the memory of the first electronic device (210) is performed, but access to the storage space for personal information is restricted.

[0055] According to one embodiment, if the display of the first electronic device (210) is damaged, it is impossible to unlock the first electronic device (210), so the operation mode of the first electronic device (210) may not be set (or changed). In the specification below, technical features for unlocking the first electronic device (210) using the second electronic device (220) will be described.

[0056] FIG. 3 illustrates an example of a simplified block diagram of a first electronic device and a second electronic device according to one embodiment.

[0057] Referring to FIG. 3, for example, the first electronic device (210) (or the second electronic device (220)) may include at least some or all of the components of the electronic device (101) of FIG. 1. For example, the first electronic device (210) (or the second electronic device (220)) may correspond to the electronic device (101) of FIG. 1.

[0058] According to one embodiment, the first electronic device (210) may include at least one of a processor (212), a memory (213), a communication circuit (214), and / or a USB port (215). According to an embodiment, for example, at least some of the processor (212), the memory (213), the communication circuit (214), and / or the USB port (215) may be omitted.

[0059] According to one embodiment, the processor (212) may be operatively coupled with or connected with the memory (213) and / or the communication circuit (214). That the processor (212) is operatively connected with the memory (213) and / or the communication circuit (214) may mean that the processor (212) can control the memory (213) and / or the communication circuit (214). For example, the memory (213) and / or the communication circuit (214) may be controlled by the processor (212).

[0060] According to one embodiment, the processor (212) may include at least a portion of the processor (120) of FIG. 1 or correspond to at least a portion of the processor (120). For example, the processor (212) may include one or more processors including an application processor (AP) and / or a communication processor (CP). For example, the processor (212) may be implemented as a single chip, such as a system on chip (SoC), or as multiple chips. For example, the processor (212) may be implemented as a single integrated circuit or as multiple integrated circuits. For example, the processor (212) may be distributedly arranged within the first electronic device (210).

[0061] According to one embodiment, the memory (213) of the first electronic device (210) may include a circuit and / or a storage medium for storing data and / or instructions that are input and / or output to the processor (212). The memory (213) may include, for example, volatile memory such as random-access memory (RAM) and / or non-volatile memory such as read-only memory (ROM). Non-volatile memory may be referred to as storage. Volatile memory may include, for example, at least one of dynamic RAM (DRAM), static RAM (SRAM), cache RAM, or pseudo SRAM (PSRAM). Non-volatile memory may include, for example, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, hard disk, compact disk, solid state drive (SSD), or embedded multi-media card (eMMC).

[0062] According to one embodiment, the memory (213) may include at least a portion of the memory (130) of FIG. 1 or correspond to at least a portion of the memory (130) of FIG. 1. For example, the memory (213) may be implemented as a single chip or as a plurality of chips. For example, the memory (213) may be implemented as a single integrated circuit or as a plurality of integrated circuits. For example, the memory (213) may be distributedly arranged within the first electronic device (210).

[0063] According to one embodiment, a processor (212) of a first electronic device (210) can execute instructions in a memory (213) within the first electronic device (210) to perform a function and / or operation indicated by said instructions. For example, if the first electronic device (210) includes at least one processor, said at least one processor may be configured to execute said instructions collectively or individually.

[0064] According to one embodiment, the communication circuit (214) of the first electronic device (210) can be used for various radio access technologies (RAT). For example, the communication circuit (214) can be used to perform direct (e.g., wired) communication with an external electronic device (e.g., the second electronic device (220)). However, it is not limited thereto. The communication circuit (214) may also be used to support wireless communication (e.g., Bluetooth communication, wireless local area network (WLAN) communication, or ultra-wideband (UWB) communication).

[0065] For example, the communication circuit (214) may be connected to the USB port (215). The communication circuit (214) may be used to process a signal transmitted from the second electronic device (220) through the USB port (215). For example, the communication circuit (214) may be referred to as a power delivery integrated circuit (PDIC). For example, the USB port (215) may be configured based on a Type C (or Type-C) USB port. Specific examples of the USB port (215) will be described later in FIG. 4.

[0066] According to one embodiment, the second electronic device (220) may correspond to the first electronic device (210). For example, the processor (222) of the second electronic device (220) may correspond to the processor (212) of the first electronic device (210). The memory (223) of the second electronic device (220) may correspond to the memory (213) of the first electronic device (210). The communication circuit (224) of the second electronic device (220) may correspond to the communication circuit (214) of the first electronic device (210). The USB port (225) of the second electronic device (220) may correspond to the USB port (215) of the first electronic device (210). For example, the second electronic device (220) may further include a display (226). For example, the display (226) can be used to input security information for unlocking the first electronic device (210).

[0067] According to one embodiment, a first electronic device (210) and a second electronic device (220) may be connected via a USB cable (230). A USB connection via the USB cable (230) may provide an electrical path for data communication between the first electronic device (210) and the second electronic device (220). For example, the first electronic device (210) and the second electronic device (220) may perform a process for performing USB communication via the USB connection. For example, a process for performing USB communication may include a vendor defined message (VDM) process (or VDM communication).

[0068] FIG. 4 illustrates an example of a pin layout of a USB port according to one embodiment.

[0069] Referring to FIG. 4, the USB port (300) may be an example of the USB port (215) and / or USB port (225) of FIG. 3. For example, the USB port (300) may be formed based on the Type C (or type-C) standard. The USB port (300) may include a plurality of pins. The USB port (300) may have a structure based on a USB Type C standard receptacle. Based on the structure of the USB Type C standard receptacle, a first part (e.g., side A) and a second part (e.g., side B) are formed within the USB port (300), and 12 pins may be arranged on each of the first part and the second part.

[0070] For example, 12 pins placed on the first part (e.g., side A) of the USB port (300) may include GND (A1), TX1+ (A2), TX1- (A3), VBUS (A4), CC1 (A5), D+ (A6), D- (A7), SBU1 (A8), VBUS (A9), RX2- (A10), RX2+ (A11), and GND (A12). 12 pins placed on the second part (e.g., side B) of the USB port (300) may include GND (B1), TX2+ (B2), TX2- (B3), VBUS (B4), CC2 (B5), D+ (B6), D- (B7), SBU2 (B8), VBUS (B9), RX1- (B10), RX1+ (B11), and GND (B12). The names of the pins described above may correspond to the names included in the specifications related to the USB Type C standard receptacle.

[0071] In one embodiment, TX1+(A2), TX1-(A3), TX2-(B3), and TX2+(B2) may be used for data transmission. In one embodiment, RX2-(A10), RX2+(A11), RX1+(B11), and RX1-(B10) may be used for data reception.

[0072] For example, D+(A6), D-(A7), D+(B6), and D-(B7) can be used for transmitting and / or receiving data. For example, the pins of D+(A6), D-(A7), D+(B6), and D-(B7) can be used to transmit and / or receive data according to the USB 2.0 standard protocol.

[0073] For example, the pins D+(A6), D-(A7), D+(B6), D-(B7), TX1+(A2), TX1-(A3), RX1-(B10), and RX1+(B11) can be used to transmit and / or receive data according to the USB 3.0 standard protocol. For example, the pins D+(A6), D-(A7), D+(B6), and D-(B7) can be used for an initial connection (e.g., a handshake process) for the USB 3.0 standard protocol. For example, the pins TX1+(A2), TX1-(A3), RX1-(B10), and RX1+(B11) can be used for high-speed communication according to the USB 3.0 standard protocol.

[0074] For example, the pins of D+(A6), D-(A7), D+(B6), D-(B7), TX1+(A2), TX1-(A3), RX1-(B10), RX1+(B11), TX2+(B2), TX2-(B3), RX2-(A10), and RX2+(A11) can be used to transmit and / or receive data according to the USB 3.1 standard protocol. For example, the pins of D+(A6), D-(A7), D+(B6), and D-(B7) can be used for an initial connection (e.g., a handshake process) for the USB 3.1 standard protocol. For example, the pins of TX1+(A2), TX1-(A3), RX1-(B10), RX1+(B11), TX2+(B2), TX2-(B3), RX2-(A10), and RX2+(A11) can be used for dual-channel high-speed communication according to the USB 3.1 standard protocol.

[0075] In one embodiment, VBUS (A4), VBUS (A9), VBUS (B4), and VBUS (B9) may be used for power supply. In one embodiment, CC1 (A5) and CC2 (B5) may be used for channel configuration. In one embodiment, SBU1 (A8) and SBU2 (B8) may be used for side band use. In one embodiment, GND (A1), GND (A12), GND (B1), and GND (B12) may be used for grounding.

[0076] In one embodiment, CC1 (A5) and CC2 (B5) may be used to detect insertion (or contact), disconnection (or release of contact) of a USB Type C standard connector (e.g., plug), and to identify a role for USB connection.

[0077] For example, the roles for a USB connection may include a source and a sink depending on the flow of power. As an example, a device acting as a source can supply power. A device acting as a sink can receive power.

[0078] For example, the roles for a USB connection may include a DFP (downstream facing port) and an UFP (upstream facing port), depending on the data flow. As an example, a device performing the DFP role can perform USB host functions. A device performing the UFP role can perform USB client functions.

[0079] In FIG. 5, a specific example will be described in which the role for the USB connection is determined according to the USB connection between the first electronic device (210) and the second electronic device (220).

[0080] FIG. 5 illustrates a specific example in which a role for a USB connection is determined according to one embodiment.

[0081] Referring to FIG. 5, the first electronic device (210) and the second electronic device (220) can be connected via a USB cable (230). Depending on the USB connection, an electrical path can be formed between the first electronic device (210) and the second electronic device (220) through the Vbus, CC1 (or CC2), and GND pins.

[0082] For example, the roles of the first electronic device (210) and the second electronic device (220) may be determined according to the USB connection between the first electronic device (210) and the second electronic device (220). The roles of the first electronic device (210) and the second electronic device (220) may be determined randomly. For example, the first electronic device (210) may perform the role of DFP and the second electronic device (220) may perform the role of UFP. For example, the first electronic device (210) may perform the role of source and the second electronic device (220) may perform the role of sink.

[0083] According to one embodiment, the switch circuit (511) of the first electronic device (210) and the switch circuit (521) of the second electronic device (220) can each be toggled by a PDIC (power delivery integrated circuit) (or CCIC (configuration channel integrated circuit)). For example, if the first electronic device (210) identifies a pull-down resistor (e.g., resistor (522)) in the electrical path of CC1, the first electronic device (210) can act as a source (or UFP). If the second electronic device (220) identifies a pull-up resistor (e.g., resistor (512)) in the electrical path of CC1, the first electronic device (210) can act as a source (or UFP).

[0084] In FIG. 5, an example in which a pull-down resistor or a pull-up resistor is identified in the electrical path of CC1 is described, but is not limited thereto. The roles of the first electronic device (210) and the second electronic device (220) may be determined according to the pull-down resistor or a pull-up resistor identified in the electrical path of CC2.

[0085] According to one embodiment, the roles of the first electronic device (210) and the second electronic device (220) may be changed. For example, the first electronic device (210) may perform the roles of source and DFP. The second electronic device (220) may perform the roles of sink and UFP.

[0086] FIG. 6 illustrates an example of BMC (biphase Manchester coding) according to one embodiment.

[0087] Referring to FIG. 6, the first electronic device (210) and the second electronic device (220) can perform a connection process for USB communication to perform USB communication. For example, after the roles of the first electronic device (210) and the second electronic device (220) are determined, the first electronic device (210) and the second electronic device (220) can perform a connection process for USB communication.

[0088] For example, the connection process for USB communication can be performed via CC pins (e.g., CC1, and / or CC2) (or VBUS). For example, the connection process for USB communication can be performed based on the BMC (biphase Manchester coding) signaling scheme. For example, messages (or commands) transmitted and / or received in the connection process for USB communication can be encoded based on BMC. Messages transmitted and / or received in the connection process for USB communication can be referred to as PD (power delivery) messages.

[0089] For example, in BMC, a transition can occur for each bit of data (e.g., UI (unit interval)). When a '1' is transmitted, a second transition may occur in the middle of the UI. When a '0' is transmitted, no transition may occur in the middle of the UI. BMC can effectively achieve DC balance. For example, a '1' maintains DC balance, and two consecutive '0's can also maintain DC balance.

[0090] FIG. 7 illustrates an example of the operation of a first electronic device and a second electronic device for entering an alternative mode according to one embodiment.

[0091] Referring to FIG. 7, the first electronic device (210) and the second electronic device (220) can be connected via a USB cable (230). The first electronic device (210) can perform the role of a DFP (or source). The second electronic device (220) can perform the role of a UFP (or sink).

[0092] According to one embodiment, the first electronic device (210) and the second electronic device (220) may perform a process for entering an alternate mode. The process for entering an alternate mode may include operations 701 to 712. To perform the process for entering an alternate mode, the first electronic device (210) and the second electronic device (220) may perform operation 701.

[0093] In operation 701, the first electronic device (210) and the second electronic device (220) can perform a power negotiation process based on a USB connection (or USB connector connection). For example, the first electronic device (210) can transmit a source capability message to the second electronic device (220) indicating the power functions of the first electronic device (210). The second electronic device (220) can evaluate the power functions of the first electronic device (210) and transmit a request message to select one power level. The first electronic device (210) can transmit an acceptance message for the request message to the second electronic device (220).

[0094] In operation 702, the first electronic device (210) may request identification information regarding the second electronic device (220) from the second electronic device (220). The first electronic device (210) may request identification information regarding the second electronic device (220) by transmitting an identification information search message (e.g., discover identity message (or command)) to the second electronic device (220). The second electronic device (220) may receive a request for identification information regarding the second electronic device (220) from the first electronic device (210).

[0095] In operation 703, the second electronic device (220) may transmit identification information regarding the second electronic device (220) to the first electronic device (210). For example, the identification information may include at least one of VID (vendor identifier) ​​information, PID (product identifier) ​​information, and / or BCD (binary coded decimal) information. The first electronic device (210) may receive identification information regarding the second electronic device (220) from the second electronic device (220).

[0096] In operation 704, the first electronic device (210) may request standard vendor identifier (SVID) list information from the second electronic device (220). For example, the SVID may indicate an alternate mode supported by the second electronic device (220). For example, one SVID may indicate one alternate mode. For example, the first electronic device (210) may request SVID list information from the second electronic device (220) by sending a discover SVID message (or command) to the second electronic device (220). The second electronic device (220) may receive a request for SVID list information from the first electronic device (210).

[0097] In operation 705, the second electronic device (220) can transmit SVID list information to the first electronic device (210). The second electronic device (220) can transmit SVID list information to the first electronic device (210) in response to a request for SVID list information. For example, the second electronic device (220) can transmit SVID list information to the first electronic device (210) via an Ack (acknowledgement) message for a discover SVID message (or command). The first electronic device (210) can receive SVID list information from the second electronic device (220).

[0098] In operation 706, the first electronic device (210) can determine an alternative mode. For example, the first electronic device (210) can identify at least one SVID based on SVID list information received from the second electronic device (220). At least one SVID may indicate at least one alternative mode supported by the second electronic device (220). The first electronic device (210) can determine one of the at least one alternative mode.

[0099] In operation 707, the first electronic device (210) may send a request for confirmation regarding the availability of a determined alternate mode to the second electronic device (220). The second electronic device (220) may receive a request for confirmation regarding the availability of a determined alternate mode from the first electronic device (210). For example, the first electronic device (210) may request confirmation regarding the availability of a determined alternate mode by sending a discover mode message (or command) to the second electronic device (220). As an example, the discover mode message (or command) may include an SVID corresponding to the determined alternate mode.

[0100] In operation 708, the second electronic device (220) may transmit an acknowledgment regarding the availability of a determined alternate mode to the first electronic device (210). The first electronic device (210) may receive an acknowledgment regarding the availability of a determined alternate mode from the second electronic device (220). For example, the second electronic device (220) may transmit an acknowledgment regarding the availability of a determined alternate mode to the first electronic device (210) by transmitting an SVID corresponding to the determined alternate mode to the first electronic device (210). According to an embodiment, the second electronic device (220) may transmit a NACK message to the first electronic device (210) if the determined alternate mode is not available.

[0101] In operation 709, the first electronic device (210) may request the second electronic device (220) to enter a determined alternate mode. The second electronic device (220) may receive a request for entry into the determined alternate mode. For example, the first electronic device (210) may transmit an SVID corresponding to the determined alternate mode to the second electronic device (220). For example, the first electronic device (210) may request the second electronic device (220) to enter the determined alternate mode by transmitting an enter mode message (or command) containing an SVID corresponding to the determined alternate mode to the second electronic device (220).

[0102] In operation 710, the second electronic device (220) may transmit a response to the request to enter the determined alternative mode to the first electronic device (210). For example, the second electronic device (220) may transmit a response to the request to enter the determined alternative mode to the first electronic device (210) by transmitting an SVID corresponding to the determined alternative mode to the first electronic device (210). According to an embodiment, if the second electronic device (220) cannot enter the determined alternative mode, it may transmit a NACK message to the first electronic device (210).

[0103] In operation 711, the first electronic device (210) may operate in a determined alternative mode based on a response to a request to enter a determined alternative mode.

[0104] In operation 712, the second electronic device (220) may operate in a determined alternative mode based on transmitting a response to a request to enter a determined alternative mode.

[0105] FIG. 8 illustrates an example of a message containing SVID list information according to one embodiment.

[0106] Referring to FIG. 8, SVID list information can be transmitted in response to a discover SVID message (or command). For example, SVID list information can be transmitted via a message in response to a discover SVID message (or command).

[0107] For example, SVID list information may be transmitted via at least one message (or frame) in response to a discover SVID message (or command). For example, SVID list information may be transmitted via message (801) and message (802). SVID list information may include at least one SVID. One SVID may be constructed based on 16 bits.

[0108] According to one embodiment, a message (or frame) containing SVID list information may include up to 12 SVIDs. For example, the message may include a header, a VDM header, and at least one VDO (vendor data object). One VDO may be configured based on 32 bits. Thus, one VDO may include two SVIDs.

[0109] For example, message (801) may include 6 VDOs. Each of the 6 VDOs may include 2 SVIDs. 12 SVIDs may be transmitted through message (801). For example, message (802) may be transmitted after message (801) has been transmitted. Message (802) may include 1 VDO. The SVID included in message (802) may be set to a value (e.g., "0x0000") indicating the end of the SVID list information.

[0110] In FIG. 8, an example is illustrated in which 12 SVIDs are transmitted via message (801) and message (802), but is not limited thereto. The number of SVIDs included in the SVID list information can be set in various ways. For example, if the second electronic device (220) supports one alternate mode, a message containing only VDO 1 can be transmitted to the first electronic device (210). Among the two SVIDs included in VDO 1, SVID 0 can be set to a value corresponding to the alternate mode supported by the second electronic device (220). SVID 1 can be set to a value indicating the end of the SVID list information (e.g., "0x0000").

[0111] FIG. 9 illustrates an example of the operation of a first electronic device and a second electronic device according to one embodiment.

[0112] Referring to FIG. 9, the first electronic device (210) may be a device that cannot receive input through a display. For example, the first electronic device (210) may not include a display. For example, the display of the first electronic device (210) may be in a state where damage (or malfunction) occurs. For example, if the first electronic device (210) is locked, data exchange via a USB connection may not be performed. For example, the first electronic device (210) may not be controlled via another input device (e.g., a display, a mouse, or a keyboard) connected via USB. However, the first electronic device (210) and the second electronic device (220) may transmit and receive messages through an electrical path between CC terminals during the USB connection.

[0113] The first electronic device (210) and the second electronic device (220) can be connected via a USB cable (230). The first electronic device (210) can perform the DFP role (or source role). The second electronic device (220) can perform the UFP role (or sink role). According to an embodiment, if the first electronic device (210) is set to perform the UFP role, the first electronic device (210) can be changed to perform the DFP role through a data role swap function.

[0114] Although not illustrated, the first electronic device (210) and the second electronic device (220) may perform a power negotiation process before operation 901 is performed. The power negotiation process may correspond to operation 701 of FIG. 7.

[0115] In operation 901, the first electronic device (210) can identify a USB connection with the second electronic device (220). Through the USB connection with the second electronic device (220), the first electronic device (210) can request identification information regarding the second electronic device (220) from the second electronic device (220). Operation 901 may correspond to operation 702 of FIG. 7.

[0116] In operation 902, the second electronic device (220) may transmit identification information regarding the second electronic device (220) to the first electronic device (210). For example, the identification information may include at least one of VID (vendor identifier) ​​information, PID (product identifier) ​​information, and / or BCD (binary coded decimal) information. The first electronic device (210) may receive identification information regarding the second electronic device (220) from the second electronic device (220).

[0117] According to one embodiment, the second electronic device (220) may set identification information regarding the second electronic device (220) (e.g., VID (vendor identifier) ​​information, PID (product identifier) ​​information, and / or BCD (binary coded decimal) information) to one of a first reference information (e.g., a first value) and a second reference information (e.g., a second value).

[0118] For example, the second electronic device (220) may set identification information regarding the second electronic device (220) as first reference information (e.g., first value) to perform a process for unlocking the first electronic device (210). The second electronic device (220) may transmit the identification information set as the first reference information (e.g., first value) to the first electronic device (210) to perform a process for unlocking the first electronic device (210).

[0119] For example, the second electronic device (220) may set identification information regarding the second electronic device (220) as second reference information (e.g., second value) to perform a process for an alternate mode regarding a USB connection. The second electronic device (220) may transmit the identification information set as second reference information (e.g., second value) to the first electronic device (210) to perform a process for an alternate mode regarding a USB connection.

[0120] According to one embodiment, identification information regarding the second electronic device (220) may indicate an operating mode of the first electronic device (210) that is set after the first electronic device (210) is unlocked. For example, the operating mode of the first electronic device (210) may include a normal mode, a repair mode, and a guest mode. For example, the second electronic device (220) may set identification information (e.g., PID) to a first value (e.g., '0x687A') so that the first electronic device (210) operates in normal mode after the first electronic device (210) is unlocked. For example, the second electronic device (220) may set identification information (e.g., PID) to a second value (e.g., '0x687B') so that the first electronic device (210) operates in repair mode after the first electronic device (210) is unlocked. For example, the second electronic device (220) can set identification information (e.g., PID) to a third value (e.g., '0x687C') so that the first electronic device (210) operates in guest mode after the first electronic device (210) is unlocked.

[0121] In operation 903, the first electronic device (210) may execute an application regarding a lock state based on receiving identification information regarding the second electronic device (220) from the second electronic device (220). For example, the first electronic device (210) may execute an application regarding a lock state based on identifying that the identification information corresponds to first reference information (e.g., a first value). According to an embodiment, the first electronic device (210) may perform a process for an alternative mode regarding a USB connection based on identifying that the identification information corresponds to second reference information (e.g., a second value). The process for an alternative mode regarding a USB connection may correspond to operations 704 through 712 of FIG. 7.

[0122] In operation 904, the second electronic device (220) may execute an application regarding a lock state. According to an embodiment, an application executed on the first electronic device (210) may be distinguished from an application executed on the second electronic device (220).

[0123] According to one embodiment, the second electronic device (220) may execute an application regarding a lock state based on transmitting identification information to the first electronic device (210). The second electronic device (220) may execute an application regarding a lock state to obtain security information for unlocking the first electronic device (210) from a user (e.g., a user of the first electronic device (210).

[0124] According to one embodiment, the second electronic device (220) can identify input for security information through an application regarding a lock state. For example, the security information may include at least one of a security pattern, a password, and / or a PIN (personal identification number). For example, the second electronic device (220) can identify input for selecting a type of security information through an application regarding a lock state. Based on the identified input, the second electronic device (220) can display (or provide) a screen for inputting security information through a display (226). The second electronic device (220) can identify input for security information through the display (226).

[0125] In operation 905, the second electronic device (220) can convert security information into SVID list information and store the SVID list information in memory (223).

[0126] For example, the security information may include at least one character. The second electronic device (220) can convert the security information into SVID list information including at least one SVID by changing the ASCII (American standard code for information interchange) value for at least one character of the security information into a hexadecimal value. For example, 'A' may be converted to '0x40'. For example, 'B' may be converted to '0x41'.

[0127] For example, security information may include a security pattern. The second electronic device (220) can identify at least one character corresponding to at least one point constituting the security pattern. The second electronic device (220) can convert the security information into SVID list information containing at least one SVID by converting the ASCII (American standard code for information interchange) value for at least one character into a hexadecimal value. For example, if the security pattern is configured based on 3x3 points, a character may be assigned to each of the 3x3 points. For example, '1' may be assigned to the point located at (1,1). The point located at (1,1) may be converted to '0x31'. For example, '5' may be assigned to the point located at (2,2). The point located at (2,2) may be converted to '0x35'. For example, '9' may be assigned to the point located at (3,3). The point located at (3,3) can be converted to '0x39'.

[0128] According to one embodiment, the second electronic device (220) can convert each of at least one character of security information into an SVID. The second electronic device (220) can convert the security information into SVID list information including at least one SVID.

[0129] According to one embodiment, security information can be converted into an encrypted password. The second electronic device (220) can convert the encrypted password into SVID list information.

[0130] In FIG. 9, operations 904 and 905 are described as being performed after operation 902 is performed, but are not limited thereto. For example, operations 904 and 905 may be performed before operation 901, or based on the reception of a request for identification information according to operation 901. For example, operations 904 and 905 may be performed based on the first electronic device (210) and the second electronic device (220) being physically connected via a USB cable (230).

[0131] In operation 906, the first electronic device (210) may request SVID list information from the second electronic device (220). The first electronic device (210) may request SVID list information from the second electronic device (220) to unlock the first electronic device (210). For example, the first electronic device (210) may request SVID list information from the second electronic device (220) by transmitting a discover SVID message (or command) to the second electronic device (220). Operation 906 may correspond to operation 704 of FIG. 7.

[0132] In operation 907, the second electronic device (220) can transmit SVID list information stored in memory (223) to the first electronic device (210). For example, the SVID list information can be transmitted to the first electronic device (210) as described in FIG. 8. For example, the first electronic device (210) can obtain the SVID list information using a communication circuit (214) (or a PDIC (power delivery integrated circuit)). The first electronic device (210) can use the SVID list information to provide the SVID list information to an application for unlocking in order to unlock the first electronic device (210).

[0133] In operation 908, the first electronic device (210) can unlock the first electronic device (210) using SVID list information. For example, the first electronic device (210) can identify multiple SVIDs based on the SVID list information. The first electronic device (210) can identify security information based on the multiple SVIDs. For example, each of the multiple SVIDs can indicate a single character. The first electronic device (210) can obtain security information by performing a conversion on each of the multiple SVIDs configured based on hexadecimal numbers. The first electronic device (210) can unlock the first electronic device (210) using the security information.

[0134] For example, the first electronic device (210) can obtain an encrypted password using security information. The first electronic device (210) can perform a decryption process through an application for unlocking based on the encrypted password. The first electronic device (210) can unlock the first electronic device (210) using the decrypted password.

[0135] For example, the first electronic device (210) can identify whether the first electronic device (210) is unlocked through security information converted via SVID list information. Although not illustrated, the first electronic device (210) may send a message to the second electronic device (220) indicating one of a success, failure, and rejection state depending on whether the first electronic device (210) is unlocked. Based on the received message, the second electronic device (220) may provide information indicating one of the success, failure, and rejection states through a display (226).

[0136] For example, the first electronic device (210) can disable the unlocking function when the number of unlocking failures exceeds a reference number, and control the second electronic device (220) so that input for security information is received again through the second electronic device (220) after the reference time has elapsed.

[0137] According to one embodiment, the first electronic device (210) may discard (or delete) security information (or SVID list information) after the first electronic device (210) is unlocked. The second electronic device (220) may discard (or delete) SVID list information based on transmitting SVID list information to the first electronic device (210). According to one embodiment, the second electronic device (220) may discard (or delete) security information (or SVID list information) after a reference time (e.g., 10 minutes) has elapsed following the identification of input for security information.

[0138] FIG. 10 shows a code for SVID list information according to one embodiment.

[0139] FIG. 11 shows a code for SVID list information according to one embodiment.

[0140] Referring to FIG. 10, code (1010) may represent the header of a message containing SVID list information (e.g., message (801) of FIG. 8). Code (1020) may represent the VDM header of a message containing SVID list information. Code (1030) may represent SVID list information within a message containing SVID list information. For example, within code (1030), at least one SVID for unlocking the first electronic device (210) may be identified.

[0141] Referring to FIG. 11, the screen (1100) may display information about a signal transmitted and received through a USB connection (e.g., an electrical path through a CC pin) between the first electronic device (210) and the second electronic device (220).

[0142] For example, a signal (1101) transmitted from the second electronic device (220) to the first electronic device (210) through an electrical path via a CC pin can be identified. The signal (1101) may include SVID list information (1110). DATA 0 identified according to the signal (1101) may correspond to VDO 0 of FIG. 8. DATA 1 identified according to the signal (1101) may correspond to VDO 1 of FIG. 8.

[0143] FIG. 12 illustrates an example of the operation of a first electronic device and a second electronic device according to one embodiment.

[0144] Referring to FIG. 12, the display of the first electronic device (210) may not operate normally. In state (1270), the first electronic device (210) may operate in a locked state. Due to the malfunction of the display of the first electronic device (210), the user of the first electronic device (210) may not be able to unlock the first electronic device (210). According to an embodiment, the first electronic device (210) may include a display that does not support touch input, or may not include a display. For example, the first electronic device (210) may include a watch, a ring, and / or a head-mounted device (HMD). Since the first electronic device (210) does not include an input device for touch input, the first electronic device (210) may not be able to unlock.

[0145] According to one embodiment, the first electronic device (210) and the second electronic device (220) may be connected via a USB cable (230). The first electronic device (210) may perform the DFP role (or source role). The second electronic device (220) may perform the UFP role (or sink role).

[0146] According to one embodiment, the first electronic device (210) may request identification information regarding the second electronic device (220) from the second electronic device (220). The second electronic device (220) may transmit identification information regarding the second electronic device (220) to the first electronic device (210). For example, the second electronic device (220) may display a screen (1210) through a display (226) based on transmitting identification information regarding the second electronic device (220) to the first electronic device (210). For example, the screen (1210) may be displayed based on the execution of a specified application. For example, the screen (1210) may be executed based on identifying the connection of a USB cable (230). For example, the screen (1210) may be displayed in response to receiving a request for identification information.

[0147] For example, a screen (1210) may be displayed to receive input for selecting an operating mode of the first electronic device (210), which is set after the first electronic device (210) is unlocked. The screen (1210) may include an object (1211) for setting the operating mode of the first electronic device (210) to a normal mode after the first electronic device (210) is unlocked. The screen (1210) may include an object (1212) for setting the operating mode of the first electronic device (210) to a repair mode after the first electronic device (210) is unlocked. The screen (1210) may include an object (1213) for setting the operating mode of the first electronic device (210) to a guest mode after the first electronic device (210) is unlocked. For example, the normal mode may be a mode set to allow access to all data of the first electronic device (210). Repair mode may be a mode in which the memory of the first electronic device (210) is not mounted. Guest mode may be a mode in which the memory of the first electronic device (210) is mounted, but access to the storage space for personal information is restricted.

[0148] According to one embodiment, the second electronic device (220) may display a screen (1220) through a display (226) based on input for one of an object (1211), an object (1212), and an object (1213) (e.g., object (1212)). The screen (1220) may be displayed to receive input for selecting a method to unlock the first electronic device (210). For example, the screen (1220) may include an object (1221) for unlocking the first electronic device (210) via a password. The screen (1220) may include an object (1222) for unlocking the first electronic device (210) via a PIN (personal identification number). The screen (1220) may include an object (1223) for unlocking the first electronic device (210) via a security pattern.

[0149] For example, the second electronic device (220) can display a screen (1230) based on input for an object (1221). The second electronic device (220) can use the screen (1230) to obtain security information (e.g., a password) for unlocking the first electronic device (210).

[0150] For example, the second electronic device (220) may display a screen (1240) based on input for an object (1222). The second electronic device (220) may use the screen (1240) to obtain security information (e.g., PIN) for unlocking the first electronic device (210).

[0151] For example, the second electronic device (220) can display a screen (1250) based on input for an object (1223). The second electronic device (220) can use the screen (1250) to obtain security information (e.g., a security pattern) for unlocking the first electronic device (210).

[0152] According to one embodiment, the second electronic device (220) can convert the acquired security information into SVID list information. The second electronic device (220) can transmit the SVID list information to the first electronic device (210). The first electronic device (210) can acquire security information based on the SVID list information.

[0153] In state (1280), the first electronic device (210) can unlock the first electronic device (210) based on security information. The first electronic device (210) can be unlocked based on security information. For example, when an input selecting an object (1212) within the screen (1210) of the second electronic device (220) is received, the first electronic device (210) can operate in repair mode after being unlocked.

[0154] The first electronic device (210) may transmit a message to the second electronic device (220) indicating that the first electronic device (210) has been unlocked. The second electronic device (220) may identify that the first electronic device (210) has been unlocked based on receiving the message. The second electronic device (220) may display a screen (1260) indicating that the first electronic device (210) has been unlocked through a display (226).

[0155] As the first electronic device (210) is unlocked, the second electronic device (220) can exchange data with the first electronic device (210) via USB communication. The second electronic device (220) can control the first electronic device (210) via USB communication. For example, the second electronic device (220) can provide a screen output from the first electronic device (210) through the display (226) of the second electronic device (220). Thus, the first electronic device (210) can be operated through the second electronic device (220).

[0156] According to an embodiment, the first electronic device (210) may transmit a message indicating a failure to unlock to the second electronic device (220) if the first electronic device (210) is not unlocked based on acquired security information. The second electronic device (220) may identify that the unlocking of the first electronic device (210) has failed based on receiving the message. The second electronic device (220) may display a screen (not shown) indicating that the unlocking of the first electronic device (210) has failed through a display (226).

[0157] According to an embodiment, the first electronic device (210) may be configured so that it cannot be unlocked via an external device. The first electronic device (210) may send a message to the second electronic device (220) indicating that unlocking has been refused. The second electronic device (220) may identify that unlocking of the first electronic device (210) has been refused based on receiving the message. The second electronic device (220) may display a screen (not shown) through a display (226) indicating that unlocking of the first electronic device (210) has been refused.

[0158] In the embodiments described above, an example has been described in which security information for unlocking the first electronic device (210) is obtained through the second electronic device (220), but this is not limited thereto. For example, when the first electronic device (210) is authenticated according to a user login to an application for unlocking, the second electronic device (220) may provide a screen (e.g., screen (1230), screen (1240), or screen (1250)) for obtaining security information. When the first electronic device (210) is authenticated according to a user login to an application for unlocking, the second electronic device (220) (or server) may transmit a signal via wireless communication that causes the first electronic device (210) to execute an application for unlocking.

[0159] According to one embodiment, the first electronic device may include a port for a universal serial bus (USB) connection, at least one processor including a communication circuit for performing USB communication with a second electronic device based on the USB connection, and a processing circuit, and a memory including one or more storage media for storing instructions. When the above instructions are executed individually or collectively by the at least one processor, they may cause the first electronic device to identify the USB connection with the second electronic device through the port, request identification information regarding the second electronic device from the second electronic device through the USB connection, obtain the identification information regarding the second electronic device from the second electronic device through the USB connection based on the request for the identification information regarding the second electronic device, execute an application regarding the lock status of the first electronic device based on the identification information regarding the second electronic device, request SVID (standard vendor identifier) ​​list information from the second electronic device, obtain the SVID list information from the second electronic device, and unlock the first electronic device based on the SVID list information.

[0160] For example, the identification information regarding the second electronic device may include at least one of VID (vendor identifier) ​​information, PID (product identifier) ​​information, and / or BCD (binary coded decimal) information.

[0161] For example, the above instructions may cause the first electronic device to request the identification information regarding the second electronic device from the second electronic device based on transmitting an identification information search message to the second electronic device, when executed individually or collectively by the at least one processor.

[0162] For example, when the above instructions are executed individually or collectively by the at least one processor, they may cause the first electronic device to execute the application regarding the lock state of the first electronic device based on the identification information regarding the second electronic device corresponding to the first value and to request the SVID list information from the second electronic device.

[0163] For example, when the above instructions are executed individually or collectively by the at least one processor, they may cause the first electronic device to perform a process for an alternate mode regarding the second electronic device and the USB connection, based on the identification information regarding the second electronic device corresponding to a second value distinguished from the first value.

[0164] For example, when the above instructions are executed individually or collectively by the at least one processor, they may identify security information for unlocking the first electronic device based on the SVID list information and cause the first electronic device to unlock the first electronic device using the security information.

[0165] For example, when the above instructions are executed individually or collectively by the at least one processor, the first electronic device may be configured to identify a plurality of SVIDs included in the SVID list information and to identify the security information based on the plurality of SVIDs. Each of the plurality of SVIDs may indicate a single character.

[0166] For example, when the above instructions are executed individually or collectively by the at least one processor, the first electronic device may be caused to obtain an encrypted password using the security information, perform a decryption process through the application based on the encrypted password, and unlock the first electronic device using the decrypted password.

[0167] For example, when the above instructions are executed individually or collectively by the at least one processor, they may cause the first electronic device to discard the security information after the lock of the first electronic device is unlocked.

[0168] For example, when the above instructions are executed individually or collectively by the at least one processor, they may cause the first electronic device to determine the operating mode of the first electronic device, which is set after the lock of the first electronic device is unlocked, based on the identification information regarding the second electronic device.

[0169] According to one embodiment, a method performed by a first electronic device may include: identifying a universal serial bus (USB) connection with a second electronic device; requesting identification information regarding the second electronic device from the second electronic device via the USB connection; obtaining identification information regarding the second electronic device from the second electronic device via the USB connection based on the request for identification information regarding the second electronic device; executing an application regarding the lock status of the first electronic device based on the identification information regarding the second electronic device and requesting standard vendor identifier (SVID) list information from the second electronic device; obtaining the SVID list information from the second electronic device; and unlocking the first electronic device based on the SVID list information.

[0170] For example, the identification information regarding the second electronic device may include at least one of VID (vendor identifier) ​​information, PID (product identifier) ​​information, and / or BCD (binary coded decimal) information.

[0171] For example, the above method may include an operation of requesting the identification information regarding the second electronic device from the second electronic device based on transmitting an identification information search message to the second electronic device.

[0172] For example, the above method may include the operation of executing the application regarding the lock state of the first electronic device based on the identification information regarding the second electronic device corresponding to the first value, and requesting the SVID list information from the second electronic device.

[0173] For example, the above method may include an operation to perform a process for an alternate mode regarding the second electronic device and the USB connection based on the identification information regarding the second electronic device corresponding to a second value distinguished from the first value.

[0174] For example, the above method may include an operation of identifying security information for unlocking the first electronic device based on the SVID list information, and an operation of unlocking the first electronic device using the security information.

[0175] For example, the above method may include an operation of identifying a plurality of SVIDs included in the SVID list information, and an operation of identifying the security information based on the plurality of SVIDs. Each of the plurality of SVIDs may indicate a single character.

[0176] For example, the above method may include the operation of obtaining an encrypted password using the security information, the operation of performing a decryption process through the application based on the encrypted password, and the operation of unlocking the first electronic device using the decrypted password.

[0177] According to one embodiment, the second electronic device may include a port for a universal serial bus (USB) connection, at least one processor including a communication circuit for performing USB communication with the first electronic device based on the USB connection, and a processing circuit, and a memory including one or more storage media for storing instructions. The above instructions, when executed individually or collectively by the at least one processor, may cause the second electronic device to identify the USB connection with the first electronic device through the port, receive a request for identification information regarding the second electronic device from the first electronic device through the USB connection, execute an application to obtain security information for unlocking the first electronic device based on the request for identification information regarding the second electronic device, use the application to identify an input for the security information, convert the security information obtained according to the input into SVID (standard vendor identifier) ​​list information, and transmit the SVID list information to the first electronic device based on receiving a request for SVID list information from the first electronic device.

[0178] According to one embodiment, a method for a system comprising a first electronic device and a second electronic device that supports a universal serial bus (USB) connection comprises: identifying the USB connection with the second electronic device by the first electronic device; requesting identification information regarding the second electronic device from the second electronic device via the USB connection by the first electronic device; transmitting the identification information regarding the second electronic device to the first electronic device based on the request by the second electronic device and identifying an input for security information to unlock the first electronic device; converting the security information obtained according to the input into a standard vendor identifier (SVID) list information by the second electronic device; requesting SVID list information from the second electronic device based on the identification information regarding the second electronic device by the first electronic device; transmitting the SVID list information to the first electronic device based on the request for the SVID list information by the second electronic device; and, by the first electronic device based on the SVID list information, It may include an operation to unlock the first electronic device.

[0179] According to one embodiment, a non-transient computer-readable storage medium can store one or more programs. The above one or more programs may include instructions that, when executed by at least one processor of a first electronic device comprising a port for a USB (universal serial bus) connection and a communication circuit for performing USB communication with a second electronic device based on the USB connection, identify the USB connection with the second electronic device through the port, request identification information regarding the second electronic device from the second electronic device through the USB connection, obtain the identification information regarding the second electronic device from the second electronic device through the USB connection based on the request for the identification information regarding the second electronic device, execute an application regarding the lock status of the first electronic device based on the identification information regarding the second electronic device, request SVID (standard vendor identifier) ​​list information from the second electronic device, obtain the SVID list information from the second electronic device, and cause the first electronic device to unlock the first electronic device based on the SVID list information.

[0180] The electronic device according to the embodiments disclosed in this document may be of various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a consumer electronics device. The electronic device according to the embodiments of this document is not limited to the aforementioned devices.

[0181] The embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of said items unless the relevant context clearly indicates otherwise. In this document, each of 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 of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish a component from another component and do not limit the components in any other aspect (e.g., importance or order). Where any component (e.g., the first) is referred to as "coupled" or "connected" to another component (e.g., the second), with or without the terms "functionally" or "communicationally," it means that said component may be connected to said other component directly (e.g., via a wire), wirelessly, or through a third component.

[0182] In one embodiment of this document, the term “module” used may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be a component formed integrally, or a minimum unit of said component or a part thereof that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0183] One embodiment of the present document may be implemented as software (e.g., program (140)) comprising one or more instructions stored in a storage medium (e.g., internal memory (136) or external memory (138)) readable by a machine (e.g., electronic device (101)). For example, a processor (e.g., processor (120)) of the machine (e.g., electronic device (101)) may call at least one of the one or more instructions stored in the storage medium and execute it. This enables the machine to be operated to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The storage medium readable by the machine may be provided in the form of a non-transitory storage medium. Here, 'non-temporary' simply means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily.

[0184] According to one embodiment, the method according to the embodiments disclosed herein may be provided by being included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., CD-ROM (compact disc read-only memory)), or distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

[0185] According to one embodiment, each component (e.g., module or program) of the components described above may include a singular or multiple entities, and some of the multiple entities may be separated and placed in other components. According to one embodiment, one or more of the components or operations among the aforementioned components may be omitted, or one or more other components or operations may be added. Generally or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the multiple components in the same or similar manner as those performed by the corresponding component among the multiple components prior to integration. According to one embodiment, operations performed by the module, program, or other components may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

Claims

1. In the first electronic device, Port for USB (universal serial bus) connection; A communication circuit for performing USB communication with a second electronic device based on the above USB connection; At least one processor including a processing circuit; and Memory that stores instructions and includes one or more storage media, When the above instructions are executed individually or collectively by the at least one processor, Identify the USB connection with the second electronic device through the above port, and Requesting identification information regarding the second electronic device from the second electronic device via the USB connection, and Based on the request for the identification information regarding the second electronic device, the identification information regarding the second electronic device is obtained from the second electronic device via the USB connection, and Based on the identification information regarding the second electronic device: Execute an application regarding the lock status of the first electronic device, and Request SVID (standard vendor identifier) ​​list information from the second electronic device, and The above SVID list information is obtained from the above second electronic device, and Based on the above SVID list information, causing the first electronic device to unlock, First electronic device.

2. In claim 1, the identification information regarding the second electronic device is, including at least one of VID (vendor identifier) ​​information, PID (product identifier) ​​information, or BCD (binary coded decimal) information, First electronic device.

3. In claim 1, when the instructions are executed individually or collectively by the at least one processor, Causing the first electronic device to request the identification information regarding the second electronic device from the second electronic device based on transmitting an identification information search message to the second electronic device, First electronic device.

4. In claim 3, when the instructions are executed individually or collectively by the at least one processor, Based on the identification information regarding the second electronic device corresponding to the first value: Execute the application regarding the lock state of the first electronic device, and Causing the first electronic device to request the above SVID list information from the second electronic device, First electronic device.

5. In claim 4, when the instructions are executed individually or collectively by the at least one processor, Based on the identification information regarding the second electronic device corresponding to a second value distinguished from the first value, the first electronic device causing the second electronic device to perform a process for an alternate mode regarding the USB connection, the second electronic device, First electronic device.

6. In paragraph 4, when the instructions are executed individually or collectively by the at least one processor, Based on the above SVID list information, security information for unlocking the first electronic device is identified, and Using the above security information, causing the first electronic device to unlock the first electronic device, First electronic device.

7. In claim 6, when the instructions are executed individually or collectively by the at least one processor, Identifying multiple SVIDs included in the above SVID list information, and Based on the plurality of SVIDs above, the first electronic device is caused to identify the security information, and Each of the above plurality of SVIDs is, indicating a single character First electronic device.

8. In either of claims 6 and 7, when the instructions are executed individually or collectively by at least one processor, Using the above security information, obtain an encrypted password, and Based on the above encrypted password, a decryption process is performed through the above application, and Causing the first electronic device to unlock the first electronic device using a decrypted password, First electronic device.

9. In claim 6, when the instructions are executed individually or collectively by the at least one processor, After the first electronic device is unlocked, causing the first electronic device to discard the security information, First electronic device.

10. In any one of claims 1 to 9, when the instructions are executed individually or collectively by the at least one processor, Based on the identification information regarding the second electronic device, causing the first electronic device to determine the operating mode of the first electronic device, which is set after the lock of the first electronic device is unlocked. First electronic device.

11. In a method performed by the first electronic device, An operation to identify a USB (universal serial bus) connection with a second electronic device; An operation of requesting identification information regarding the second electronic device from the second electronic device via the USB connection; An operation of obtaining the identification information regarding the second electronic device from the second electronic device via the USB connection, based on the request for the identification information regarding the second electronic device; Based on the identification information regarding the second electronic device: Execute an application regarding the lock status of the first electronic device, and An operation of requesting SVID (standard vendor identifier) ​​list information from the second electronic device; The operation of obtaining the above SVID list information from the second electronic device; and Based on the above SVID list information, the operation of unlocking the first electronic device, method.

12. In claim 11, the identification information regarding the second electronic device is, including at least one of VID (vendor identifier) ​​information, PID (product identifier) ​​information, or BCD (binary coded decimal) information, method.

13. In claim 11, the above method is, An operation of requesting the identification information regarding the second electronic device from the second electronic device based on transmitting an identification information search message to the second electronic device; and Based on the identification information regarding the second electronic device corresponding to the first value: Execute the application regarding the lock state of the first electronic device, and The operation of requesting the above SVID list information from the second electronic device, method.

14. A method for a system comprising a first electronic device and a second electronic device that support a USB (universal serial bus) connection, An operation of identifying the USB connection with the second electronic device by the first electronic device; An operation of requesting identification information regarding the second electronic device from the second electronic device via the USB connection by the first electronic device; The operation of transmitting the identification information regarding the second electronic device to the first electronic device based on the request by the second electronic device, and identifying the input for security information to unlock the first electronic device; The operation of converting the security information obtained according to the input by the second electronic device into SVID (standard vendor identifier) ​​list information; An operation of requesting SVID list information from the second electronic device based on the identification information regarding the second electronic device by the first electronic device; The operation of transmitting the SVID list information to the first electronic device based on a request for the SVID list information by the second electronic device; and The operation of unlocking the first electronic device based on the SVID list information by the first electronic device, method.

15. A non-transient computer-readable storage medium for storing one or more programs, wherein the one or more programs, when executed by at least one processor of a first electronic device comprising a port for a universal serial bus (USB) connection and a communication circuit for performing USB communication with a second electronic device based on the USB connection, Identify the USB connection with the second electronic device through the above port, and Requesting identification information regarding the second electronic device from the second electronic device via the USB connection, and Based on the request for the identification information regarding the second electronic device, the identification information regarding the second electronic device is obtained from the second electronic device via the USB connection, and Based on the identification information regarding the second electronic device: Execute an application regarding the lock status of the first electronic device, and Request SVID (standard vendor identifier) ​​list information from the second electronic device, and The above SVID list information is obtained from the above second electronic device, and Based on the above SVID list information, including instructions that cause the first electronic device to unlock the first electronic device, Non-transient computer-readable storage media.