WO2024112075A1 - 하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법 - Google Patents

하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법 Download PDF

Info

Publication number
WO2024112075A1
WO2024112075A1 PCT/KR2023/018805 KR2023018805W WO2024112075A1 WO 2024112075 A1 WO2024112075 A1 WO 2024112075A1 KR 2023018805 W KR2023018805 W KR 2023018805W WO 2024112075 A1 WO2024112075 A1 WO 2024112075A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
data sets
messenger data
messenger
function
Prior art date
Application number
PCT/KR2023/018805
Other languages
English (en)
French (fr)
Inventor
이해욱
정관희
허세경
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020220167731A external-priority patent/KR20240076332A/ko
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of WO2024112075A1 publication Critical patent/WO2024112075A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Definitions

  • One embodiment relates to an electronic device and method for controlling the function of a process corresponding to one or more messenger data sets.
  • portable electronic devices such as smartphones, tablet PCs, wireless earphones, and smart watches. These portable electronic devices can execute one or more processes. For example, such a portable electronic device may execute one or more processes (or functions) by executing one or more programs (e.g., various software). To efficiently execute one or more processes, the electronic device may use inter process communication (IPC) to obtain or process data between one or more processes, and the electronic device may use a remote procedure call ( RPC (remote procedure call) can be used to provide inter-process communication to obtain or process data. The electronic device may use a remote procedure call to perform the function of another process among the one or more processes when executing one of the one or more processes.
  • IPC inter process communication
  • RPC remote procedure call
  • An electronic device may include a display, memory for storing instructions, and a processor.
  • the electronic device executes the function of the target process using the source process within a buffer area of the memory assigned to the target process based on execution of the binder driver. may cause the storage of one or more messenger data sets to do so.
  • the electronic device in a first state in which the amount of the one or more messenger data sets greater than the threshold value is stored in the buffer area, uses the binder driver to perform the functions of the target process. It may cause the user to temporarily refrain from initiating execution.
  • the instructions may cause the electronic device to control the display to display a visual object representing information about the source process.
  • the method executes the function of the target process using a source process in a buffer area of a memory assigned to the target process based on execution of a binder driver. It may include an operation of storing one or more messenger data sets for processing. The method includes an operation of temporarily refraining from starting execution of a function of the target process using the binder driver in a first state in which an amount of the one or more messenger data sets greater than a threshold is stored in the buffer area. It can be included. The method may include controlling a display to display a visual object representing information about the source process.
  • An electronic device may include a display, memory for storing instructions, and a processor.
  • the electronic device executes the function of the target process using a source process within a buffer area of the memory assigned to the target process based on execution of the binder driver. may cause the storage of one or more messenger data sets to do so.
  • the instructions when executed by the processor, cause the electronic device to generate log information indicating a first state of the source process based on storing an amount of the one or more messenger data sets in the buffer area that is greater than or equal to a threshold. can cause When executed by the processor, the instructions may cause the electronic device to remove the one or more messenger data sets stored in the buffer area using the generated log information.
  • a method of an electronic device includes one or more messenger data for executing a function of the target process using a source process in a buffer area of a memory assigned to the target process based on execution of a binder driver.
  • the operation of storing sets may be included.
  • the method may include generating log information indicating a first state of the source process based on storing an amount of the one or more messenger data sets that is greater than or equal to a threshold in the buffer area.
  • the method may include removing the one or more messenger data sets stored in the buffer area using the generated log information.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to one embodiment.
  • FIG 2 shows an example block diagram of an electronic device according to one embodiment.
  • FIG. 3 illustrates an example of one or more programs executed by an electronic device according to an embodiment.
  • FIG. 4 illustrates an example signal flow diagram in which an electronic device identifies a messenger data set using one or more programs, according to an embodiment.
  • FIG. 5 illustrates an example state in which an electronic device displays a visual object indicating the end of at least one program, according to an embodiment.
  • FIG. 6 shows an example flowchart illustrating the operation of an electronic device according to an embodiment.
  • FIG. 7 illustrates an example flowchart illustrating an operation in which an electronic device uses log information, according to an embodiment.
  • module used in this document includes a unit comprised of 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 an integrated part, a minimum unit that performs one or more functions, or a part thereof.
  • a module may be comprised of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to one embodiment.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network).
  • the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, and a 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 may include an antenna module 197.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101.
  • some of these components e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.
  • the processor 120 for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • software e.g., program 140
  • the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132.
  • the commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • the processor 120 includes the main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 e.g., a central processing unit or an application processor
  • an auxiliary processor 123 e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the auxiliary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can.
  • the auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.
  • the auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled.
  • co-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. there is.
  • the auxiliary processor 123 may include a hardware structure specialized for processing artificial intelligence models.
  • Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108).
  • Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited.
  • An artificial intelligence model may include multiple artificial neural network layers.
  • Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above.
  • artificial intelligence models may additionally or alternatively include software structures.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto.
  • Memory 130 may include volatile memory 132 or non-volatile memory 134.
  • the program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142, middleware 144, or application 146.
  • the input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user).
  • the input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101.
  • the sound output module 155 may include, for example, a speaker or a receiver. Speakers can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
  • 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 acquires sound through the input module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).
  • the electronic device 102 e.g., speaker or headphone
  • the sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multi media interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multi media interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 can capture still images and moving images.
  • the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 can manage power supplied to the electronic device 101.
  • the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • Battery 189 may supply power to at least one component of electronic device 101.
  • the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
  • Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication.
  • processor 120 e.g., an application processor
  • the communication module 190 is a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., : LAN (local area network) communication module, or power line communication module) may be included.
  • a wireless communication module 192 e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 e.g., : LAN (local area network) communication module, or power line communication module
  • the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network
  • the wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 to communicate within a communication network such as the first network 198 or the second network 199.
  • subscriber information e.g., International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology).
  • NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported.
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band), for example, to achieve a high data rate.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna.
  • the wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199).
  • the wireless communication module 192 supports 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., 164 dB or less) for realizing URLLC.
  • Peak data rate e.g., 20 Gbps or more
  • loss coverage e.g., 164 dB or less
  • U-plane latency e.g., 164 dB or less
  • the antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is, for example, connected to the plurality of antennas by the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, radio frequency integrated circuit (RFIC) may be additionally formed as part of the antenna module 197.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the
  • peripheral devices e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199.
  • Each of the external electronic devices 102 or 104 may be of the same or different type as the electronic device 101.
  • all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108.
  • the electronic device 101 may perform the function or service instead of executing the function or service on its own.
  • one or more external electronic devices may be requested to perform at least part of the function or service.
  • One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an 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 process the result as is or additionally and provide it as at least part of a response to the request.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology can be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of Things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or server 108 may be included in the second network 199.
  • the electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
  • Electronic devices may be of various types.
  • Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances.
  • Electronic devices according to embodiments of this document are not limited to the above-described devices.
  • first, second, or first or second may be used simply to distinguish one element from another, and may be used to distinguish such elements in other respects, such as importance or order) is not limited.
  • One (e.g. first) component is said to be “coupled” or “connected” to another (e.g. second) component, with or without the terms “functionally” or “communicatively”.
  • any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these.
  • a processor e.g., processor 120
  • the one or more instructions may include code generated by a compiler or code that can be executed by an interpreter.
  • a storage medium that can be read by a device may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves).
  • This term refers to cases where data is stored semi-permanently in the storage medium. There is no distinction between cases where it is temporarily stored.
  • Computer program products are commodities and can be traded between sellers and buyers.
  • the computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online.
  • a machine-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play StoreTM
  • two user devices e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online.
  • at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
  • each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is.
  • one or more of the components or operations described above may be omitted, or one or more other components or operations may be added.
  • multiple components eg, modules or programs
  • the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component of the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.
  • the electronic device 101 of FIG. 2 may be an example of the electronic device 101 of FIG. 1 .
  • the electronic device 101 may include at least one of a processor 120, a memory 130, or a display 250.
  • Processor 120, memory 130, and display 250 may be electrically and/or operatively connected to each other by an electronic component such as a communication bus. operably coupled with each other).
  • an electronic component such as a communication bus. operably coupled with each other).
  • hardware components are operatively connected, meaning that a direct connection or an indirect connection is established wired or wirelessly between the hardware components such that the second hardware component is controlled by the first hardware component among the hardware components. It can mean that something has happened.
  • the embodiment is not limited thereto, and some of the hardware components shown in FIG. 2 (e.g., the processor 120, the memory 130, and at least a portion of the communication circuit (not shown)) It may be included in a single integrated circuit, such as a system on a chip (SoC).
  • SoC system on a chip
  • the type and/or number of hardware components included in the electronic device 101 are not limited to those shown in FIG. 2 .
  • electronic device 101 may include only some of the hardware components shown in FIG. 2 .
  • the processor 120 of the electronic device 101 may include hardware components for processing data based on one or more instructions.
  • Hardware components for processing data may include, for example, an arithmetic and logic unit (ALU), a floating point unit (FPU), a field programmable gate array (FPGA), and/or a central processing unit (CPU).
  • the number of processors 120 may be one or more.
  • the processor 120 may have the structure of a multi-core processor such as dual core, quad core, or hexa core.
  • the processor 120 of FIG. 2 may include the processor 120 of FIG. 1 .
  • the processor 120 may include a main processor (eg, main processor 121 in FIG. 1) and a auxiliary processor (eg, auxiliary processor 123 in FIG. 1).
  • the memory 130 of the electronic device 101 includes hardware components for storing data and/or instructions input to and/or output from the processor 120. can do.
  • Memory 130 may include, for example, volatile memory such as random-access memory (RAM), and/or non-volatile memory such as read-only memory (ROM). You can.
  • the volatile memory may include, for example, at least one of dynamic RAM (DRAM), static RAM (SRAM), cache RAM, and pseudo SRAM (PSRAM).
  • the non-volatile memory includes, for example, at least one of programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, hard disk, compact disk, and embedded multi media card (eMMC).
  • PROM programmable ROM
  • EPROM erasable PROM
  • EEPROM electrically erasable PROM
  • flash memory hard disk, compact disk, and embedded multi media card
  • eMMC embedded multi media card
  • one or more instructions indicating operations and/or operations to be performed on data by the processor 120 may be stored.
  • a set of one or more instructions may be referred to as firmware, operating system, process, routine, sub-routine and/or application.
  • the electronic device 101 and/or the processor 120 executes a set of a plurality of instructions distributed in the form of an operating system, firmware, driver, and/or application. , at least one of the operations of FIGS. 6 and 7 may be performed.
  • the fact that an application is installed on the electronic device 101 means that one or more instructions provided in the form of an application are stored in the memory 130 of the electronic device 101, and the one or more applications are installed in the electronic device 101. This may mean stored in a format executable by the processor 120 (eg, a file with an extension specified by the operating system of the electronic device 101).
  • programs divided into different spaces 210 and 220 may be executed by the processor 120.
  • Programs divided into different blocks may be stored in the memory 130 of the electronic device 101, based on a format executable by the processor 120 of the electronic device 101.
  • the electronic device 101 may start executing instructions included in another process while executing a process divided by different blocks.
  • One or more programs of FIG. 2 may be included within program 140 of FIG. 1 . That is, one or more programs described with reference to FIG. 2 and subsequent drawings include an application (e.g., application 146), a middleware (e.g., middleware 144), an operating system (OS) (e.g., an operating system ( 142)) may include one or more of the following.
  • an application e.g., application 146
  • middleware e.g., middleware 144
  • OS operating system
  • an operating system 142
  • programs installed in the electronic device 101 may be classified into one of the spaces in FIG. 2.
  • the user space 210 may refer to a memory space (or virtual address) allocated to each of one or more processes 211 and 213 stored in the memory 130 of the electronic device 101.
  • a process (or task) may refer to a unit for executing and/or scheduling a program based on the processor 120.
  • the electronic device 101 may refrain from using the memory space allocated to another process that is different from the at least one process while executing (e.g., while executing) at least one process ( refrain) can.
  • the operation of the electronic device 101 to refrain from using the memory space may mean that the electronic device 101 suspends performance of a function using a data set allocated to the memory 130.
  • the electronic device 101 can prevent at least some changes to other processes using one process by distinguishing between one or more processes 211 and 213 included in the user space 210.
  • the electronic device 101 executes the target process 213 (e.g., the second process) by using the memory space allocated to the target process 213 while executing the source process 211 (e.g., the first process).
  • the kernel space 220 can be used.
  • the electronic device 101 may execute one or more programs included in the kernel space 220 by changing the context while executing at least one of the one or more processes stored in the user space 210.
  • a context change occurs when the electronic device 101 changes from a user mode (e.g., a mode for processing data within the user space 210) to a kernel mode (e.g., within the kernel space 220). This may mean processing at least one data set based on switching to a mode for processing data.
  • the electronic device 101 while executing a first process (e.g., source process 211), based on an interrupt request from a second process (e.g., target process 213), 2
  • data e.g., context
  • the data may be stored in a process control block (PCB) of the first process.
  • an operation eg, context change
  • the electronic device 101 may perform the context change based on scheduling assigned to each process.
  • one or more processes 211 and 213 accessible to the user of the electronic device 101 may be stored.
  • each of the one or more processes 211 and 213 may be classified as a program designed to target users of the electronic device 101.
  • each of the one or more processes 211 and 213 may correspond to applications stored in the memory 130.
  • the electronic device 101 may use the one or more processes 211 and 213 to perform a function corresponding to each of the one or more processes.
  • at least one of the source process 211 and/or the target process 213 may include a plurality of processes.
  • the kernel space 220 may refer to a memory space allocated to run the operating system (eg, Android OS) of the electronic device 101.
  • the operating system can be divided into kernel and program.
  • the electronic device 101 may use a kernel to manage data sets for executing an operating system.
  • the electronic device 101 may control one or more services provided by hardware and/or an operating system using a kernel.
  • the binder driver 225 is a memory space (e.g., buffer area) for managing data sets for each of one or more processes stored in the user space 210 to perform the functions of other processes. It may be a program for controlling (e.g., a program including one or more instructions for controlling the memory 130 of FIG. 2).
  • the electronic device 101 may, in response to each of the messenger data sets generated using one or more processes stored in the memory 130 (e.g., volatile memory), store the buffer area 227 of the memory 130. ) can be assigned.
  • the electronic device 101 uses a binder driver 225 to manage data between the one or more processes based on an operating system (e.g., Android OS), and stores data stored in the buffer area 227. Data can be processed.
  • the buffer area 227 may be used to execute the function of another process while the electronic device 101 is executing at least one process.
  • the electronic device 101 may store one or more messenger data sets acquired using the at least one process in the buffer area 227 mapped to the other process.
  • each of the one or more messenger data sets (as described in the embodiment or embodiments throughout this disclosure) is stored in a state in which the electronic device 101 executes at least one process (e.g., at least one (if the process is running), it may contain data for running other processes.
  • Each of the one or more messenger data sets may include information about the at least one process and the other process.
  • the one or more messenger data sets may be used by the electronic device 101 to perform a system call (eg, RPC, remote procedure call).
  • the electronic device 101 stores the one or more messenger data sets (e.g., the amount of one or more messenger data sets) greater than a specified threshold (e.g., threshold or threshold amount) in the buffer area 227 ( e.g., within a first state of an electronic device and/or process), may temporarily refrain from executing said other processes.
  • a specified threshold e.g., threshold or threshold amount
  • one or more messenger data sets created may be binder transactions.
  • the state (e.g., first state) may include a state stored in buffer area 227 where the number (or amount) of one or more messenger data sets 310 generated is greater than or equal to a specified threshold (e.g., threshold). You can.
  • the state may be a quantity of one or more messenger data sets 310 stored in the buffer area 227, or at least a portion of a designated area (e.g., an area storing data according to the function of providing one-way communication) (e.g., a threshold value). It may include the state of occupying (or amount).
  • the condition may include a condition in which one or more messenger data sets 310 occupy more than a threshold (e.g., a percentage amount, e.g., 50%) of the buffer area.
  • a threshold e.g., a percentage amount, e.g., 50%
  • Each of the one or more messenger data sets may include information requesting the electronic device 101 to execute the other process. That is, one or more messenger sets may include information about at least one other process that will be called (or performed) by the running process differently from the running process.
  • the operation of the electronic device 101 to process the messenger data set stored in the buffer area 227 using the binder driver 225 will be described later with reference to FIG. 3 .
  • the display 250 of the electronic device 101 may output visualized (or visual) information to the user.
  • visual information may be output as visual objects.
  • the display 250 may be controlled by the processor 120 and/or a graphic processing unit (GPU) (not shown) to output visualized information to the user.
  • the display 250 may include a flat panel display (FPD) and/or electronic paper.
  • the FPD may include a liquid crystal display (LCD), a plasma display panel (PDP), a digital mirror device (DMD), one or more light emitting diodes (LEDs), and/or micro LED.
  • the LED may include an organic LED (OLED).
  • the display 250 of FIG. 2 may include the display module 160 of FIG. 1 .
  • the electronic device 101 displays a visual object representing information about at least one process stored in the memory 130 on the display 250 while the binder driver 225 is running, It can be displayed.
  • the electronic device 101 may store one or more messenger data sets greater than a specified threshold in the buffer area 227 of the memory 130 using the at least one process.
  • the electronic device 101 may obtain log information corresponding to the at least one process while storing one or more messenger data sets equal to or greater than the specified threshold.
  • the log information may include information indicating that one or more messenger data sets exceeding the specified threshold are stored in the buffer area using the at least one process. The operation of the electronic device 101 to display the visual object using the log information will be described later with reference to FIG. 5 .
  • the electronic device 101 executes one or more processes stored in the memory 130 (e.g., when) using a first process among the one or more processes. Accordingly, the electronic device 101 may acquire a messenger data set for performing the function of the second process, and store the acquired messenger data set in the buffer area of the memory 130 corresponding to the second process. The electronic device 101 may perform the function of the second process using the messenger data set stored in the buffer area 227. Using a first process, the function of the second process corresponding to each of the one or more messenger data sets is performed based on storing one or more messenger data sets in the buffer area 227 corresponding to the second process.
  • the electronic device 101 may perform the operation within a state in which the one or more messenger data sets exceeding a specified threshold are stored (e.g., a first state in which one or more generated messenger data sets exceeding the specified threshold are stored). ), the electronic device 101 may delay performance of the function of the second process corresponding to each of the one or more messenger data sets. ) The electronic device 101 may identify log information about the first process used to obtain the one or more messenger data sets, based on identifying that performance of the function of the second process has been suspended. The electronic device 101 may temporarily refrain from acquiring at least one data set using the first process, based on identifying the log information. By temporarily refraining from acquiring the at least one data set using the first process, a crash between a plurality of processes stored in the electronic device 101 can be prevented.
  • a state in which the one or more messenger data sets exceeding a specified threshold are stored e.g., a first state in which one or more generated messenger data sets exceeding the specified threshold are stored.
  • the electronic device 101 may delay performance of the function of the
  • FIG. 3 an operation for processing acquired data by the electronic device 101 using one or more processes stored within the electronic device 101 will be described later.
  • FIG. 3 illustrates an example of one or more programs executed by an electronic device according to an embodiment.
  • the electronic device 101 of FIG. 3 may include the electronic device 101 of FIGS. 1 and 2 .
  • the electronic device 101 includes at least one program to execute one or more programs stored in the kernel space 220 using one or more processes 211 and 213 stored in the user space 210. Interfaces (e.g. system call interface) can be executed.
  • the binder driver 225 may communicate (e.g., IPC, inter It can be used to control process communication.
  • the electronic device 101 uses the binder driver 225 to perform a system call (e.g., RPC, remote procedure call), thereby using one process to perform the function of another process that is different from the one process. You can.
  • a system call e.g., RPC, remote procedure call
  • the electronic device 101 may use at least one function (or procedure) to perform a system call.
  • the electronic device 101 may use one process stored in the user space 210 to generate one or more messenger data sets (eg, binder transaction) to perform the function of another process.
  • the one or more messenger data sets may include information about the one process and the other process.
  • the one or more messenger data sets may include information indicating functions of the one process and the other process.
  • the one or more messenger data sets may include information about an area (or address) in memory to which the one process and/or the other process is allocated.
  • the electronic device 101 may use (eg, perform) at least one function to store the one or more messenger data sets in the kernel space 220.
  • the at least one function may be a function for providing two-way communication between one process and another process (e.g., synchronous call), and/or a function for providing one-way communication from one process to another process (e.g., , asynchronous call or one-way call).
  • the function for providing two-way communication may be used to share synchronized information between one process and another process.
  • the electronic device 101 may temporarily refrain from performing the function of one process while performing the function of the other process using a function for providing two-way communication.
  • two-way communication e.g., a synchronous call
  • it temporarily performs the function of one process (i.e., a different process) and performs the function of another process.
  • You may refrain (e.g., wait) while a function is being performed.
  • the electronic device 101 may start performing the function of one process that was temporarily suspended based on completion of the function of the other process.
  • the electronic device 101 may use a function for providing one-way communication to perform the function of another process independently of performing the function of the one process. That is, when an electronic device uses or performs one-way communication (e.g., an asynchronous call), it temporarily abstains (e.g., waits to perform) the function of another process (e.g., a different process). I never do that.
  • a large amount or number of one-way calls from the source process may result in these calls occupying the binder buffer. It can lead to consequences. That is, these calls are not processed concurrently in the target process, so the binder buffer area of the target process may fill up. This may affect subsequent binder transactions on the same target (e.g., subsequent transactions may fail or cannot be processed).
  • the electronic device 101 may store one or more messenger data sets generated using at least one process in the kernel space 220 using the binder driver 225 stored in the kernel space 220. It can be stored in the buffer area 227.
  • the electronic device 101 executes the binder driver 225 by changing the context to perform the function of the target process 213 based on the execution of the source process 211. can be started.
  • the electronic device 101 may map the buffer area 227 to each of one or more processes in the kernel space 220 based on execution of the binder driver 225. Based on the execution of the binder driver 225, the electronic device 101 stores one or more messenger data sets for performing the function of the target process 213 in the buffer area 227 mapped to the target process 213. You can save it.
  • the buffer area 227 may be distinguished (divided or arranged within the area) based on at least one function.
  • the buffer area is an area for storing one or more messenger data sets created based on a function (e.g., sync call) for providing two-way communication between a plurality of processes, and/or providing one-way communication. It may be divided into an area for storing one or more messenger data sets created based on a function (e.g., async call).
  • the electronic device 101 uses the binder driver 225 to generate one or more messenger data sets ( 310) can be generated.
  • the one or more messenger data sets 310 may be created based on a function for providing one-way communication.
  • the electronic device 101 may store one or more messenger data sets 310 in the kernel space 220 and in the buffer area 227 allocated to the target process 213.
  • the electronic device 101 may perform the function of the target process 213 corresponding to the one or more messenger data sets 310.
  • one or more messenger data sets 310 (e.g., one or more messenger data sets 310 for performing the function of the target process 213) stored in the buffer area 227 are queue data. Based on this, it can be processed.
  • the electronic device 101 may sequentially perform the function of the target process 213 based on the order in which one or more messenger data sets 310 are stored in the buffer area 227.
  • the electronic device 101 processes the messenger data set 310-1 stored in the buffer area 227 based on execution of the binder driver 225 and then generates the messenger data set 310-2.
  • the electronic device 101 processes the messenger data set 310-2 while processing one or more messenger data sets stored (or allocated) before the messenger data set 310-2. You can put it on hold (e.g., wait for processing).
  • the one or more messenger data sets may include substantially similar information.
  • the electronic device 101 sets a designated state to prevent processing of the messenger data set 310-2 from being suspended (e.g., postponed) while processing the one or more messenger data sets. can do.
  • the electronic device 101 may generate log information 350 corresponding to the source process 211 based on (in response to) the specified state.
  • the specified state stores one or more messenger data sets 310 (e.g., an amount of one or more data sets) greater than a specified threshold (e.g., approximately 50) within the buffer area 227.
  • a specified threshold e.g., approximately 50
  • the specified state is one or more messenger data sets within a portion (e.g., 80%) of the designated area (e.g., an area for storing data based on a function for providing one-way communication) within the buffer area 227.
  • 310 may include a stored state.
  • the designated state may include a state in which one or more messenger data sets 310 occupy more than a threshold (eg, 50%) of the buffer area.
  • a threshold e.g., percentage amount
  • the electronic device 101 based on (in response to) identifying a specified state, converts one or more messenger data sets 310 obtained using the source process 211 into a spam data set.
  • the spam data set may include multiple messenger data sets containing the same information.
  • a spam data set may include multiple messenger data sets 310 containing substantially the same information.
  • the electronic device 101 may obtain information about the source process 211 using the log information 350 based on identifying the designated state.
  • the information about the source process 211 is that the electronic device 101 uses the source process 211 to store one or more messenger data sets 310 that are greater than or equal to a specified threshold in a buffer area corresponding to the target process 213. (227) may include information indicating storage.
  • the electronic device 101 stores one or more messenger data sets 310 (e.g., the amount of one or more messenger data sets) greater than or equal to a threshold value in the buffer area 227 mapped to the target process 213.
  • a state e.g., the first state
  • it may temporarily refrain from initiating execution of the functionality of the target process 213.
  • the electronic device 101 may temporarily refrain from starting execution of the function of the target process 213 using the log information 350. That is, the electronic device may temporarily refrain from starting execution of the function of the target process 213 corresponding to one or more data sets.
  • the electronic device 101 may delete at least one of the one or more messenger data sets 310 based on temporarily refraining from initiating execution of the function of the target process 213. there is.
  • removing at least one of the one or more messenger data sets 310 may include freeing the one or more messenger data sets 310 within the buffer area. Releasing the one or more messenger data sets 310 from the buffer area means that the electronic device 101 can overwrite the area in which the one or more messenger data sets 310 are stored using another data set. It can mean changing status.
  • the electronic device 101 may secure the buffer area 227 allocated to the target process 213 based on removing at least one of the one or more data sets 310.
  • the electronic device 101 may change log information 350 indicating information of the source process based on removing the one or more messenger data sets 310 stored in the buffer area 227. there is. However, it is not limited to this.
  • the electronic device 101 acquires a messenger data set using the source process 211 based on identifying the log information 350 for the source process 211 within the specified state. (310-2) can be removed.
  • the electronic device 101 removes at least one of the one or more messenger data sets 310 (e.g., the messenger data set 310-2) from the designated state within the designated state. It can be identified that it has changed to a different state. That is, by removing one or more messenger data sets (e.g., messenger data set 310-2), the amount of messenger data sets stored in the buffer area 227 mapped to the target process 213 is no longer equal to or greater than the threshold. It may not be big.
  • Quantities of messenger data sets may be identified or determined to be in a state different from the specified state, such as a second state.
  • the electronic device 101 stores the messenger data set (e.g., a further or additional messenger data set) obtained using the source process 211 and the binder driver 225. ) can be used to store it in the kernel space 220.
  • the electronic device may perform a function corresponding to the messenger data set based on execution of the target process.
  • the different states may include a state in which one or more messenger data sets below a threshold are stored in a buffer area mapped to the target process 213. However, it is not limited to this.
  • the electronic device 101 may display at least one visual object 380 including information about the source process 211 on the display using the log information 350.
  • the operation of the electronic device 101 to display the at least one visual object 380 will be described later with reference to FIG. 5 .
  • the electronic device 101 includes a memory area, a user space 210 for identifying interactions between users and processes, and functions based on the operating system of the electronic device 101. It can be divided into kernel space 220 for execution.
  • the electronic device 101 uses the kernel space 220 to exchange messenger data sets between a plurality of processes (e.g., the source process 211 and the target process 213) stored in the user space 210. Available.
  • the electronic device 101 uses the binder driver 225 stored in the kernel space 220 to send the messenger data set to each of a plurality of processes (e.g., a plurality of processes stored in the user area 210). It can be stored in the mapped buffer area 227.
  • the electronic device 101 may identify a state in which performance of the function of the target process 213 using the messenger data set is suspended. Based on identifying the state, the electronic device 101 may temporarily refrain from performing the function of the target process 213 using the messenger data set stored in the buffer area 227. The electronic device 101 may remove the messenger data set from the buffer area 227 based on temporarily refraining from performing the function of the target process 213 using the messenger data set. The electronic device 101 can secure a storageable area within the buffer area 227 by removing the messenger data set from the buffer area 227.
  • the electronic device 101 provides log information 350 containing information about the source process 211 used to obtain the messenger data set, based on the temporary abstinence from performing the function of the target process 213. ) can be obtained.
  • the electronic device 101 may temporarily refrain from creating a messenger data set using the source process 211 using the log information 350 .
  • the electronic device 101 may display a visual object 380 including information about the source process 211 on the display using the log information 350.
  • the electronic device 101 may provide the user with information about the source process 211 requesting to create a spam messenger data set by displaying the visual object 380 . By providing the above information to the user, the electronic device 101 can provide a user experience that allows stable use of the electronic device 101.
  • FIG. 4 illustrates an example signal flow diagram in which an electronic device identifies a messenger data set using one or more programs, according to an embodiment.
  • the electronic device 101 of FIG. 4 may include the electronic device 101 of FIGS. 1 to 3 .
  • one or more processes 211 and 213 may be referenced to one or more processes 211 and 213 of FIG. 2 .
  • the binder driver 225 may be referenced to the binder driver 225 of FIG. 2 .
  • the electronic device 101 may generate a messenger data set 410 to perform the function of the target process 213 based on the execution of the source process 211.
  • the electronic device 101 stores the messenger data set 410 in a buffer area (e.g., buffer area 227 in FIG. 2) corresponding to the target process 213 using the binder driver 225. It can be stored (or allocated) in .
  • the electronic device 101 may check whether a messenger data set greater than a threshold value stored in the buffer area has been identified based on the execution of the binder driver 225. For example, if the electronic device 101 fails to identify a messenger data set greater than the threshold (operation 412 - No), in operation 413, using the target process 213, The function can be executed. In some examples, it is identified whether a messenger data set (e.g., one or more generated messenger data sets to be stored in a buffer area) is greater than or equal to a threshold, as previously defined.
  • a messenger data set e.g., one or more generated messenger data sets to be stored in a buffer area
  • the electronic device 101 when the electronic device 101 identifies a messenger data set greater than the threshold (operation 412 - Yes), in operation 414, the electronic device 101 generates log information (e.g., log information 350 of FIG. 3) for the source process 211. )) can be obtained.
  • the log information may include information about the source process 211 that requested to create a messenger data set exceeding the threshold.
  • the information may include information about the source process 211 requesting to generate a messenger data set where the number or amount of one or more messenger data sets stored in the buffer area is greater than or equal to a threshold. .
  • the electronic device 101 may temporarily refrain from starting the execution of the function of the target process 213 within a state in which a messenger data set exceeding the threshold value has been identified.
  • the electronic device 101 may delete the messenger data set stored in the buffer area based on temporarily refraining from initiating execution of the function. Deleting the messenger data set may include converting the buffer area in which the messenger data set is stored to a state in which it can be overwritten using another data set.
  • the electronic device 101 may obtain the data set 417 for the source process 211 by acquiring log information corresponding to the source process 211 in the above state.
  • data set 417 may include information about a source process 211 that requests (e.g., performs a request) electronic device 101 to generate a spam data set.
  • data set 417 may include at least one function (eg, BR_ONEWAY_SPAM_SUSPECT).
  • the electronic device 101 may generate log information (eg, call stack) about the source process 211 based on acquiring the data set 417.
  • the electronic device 101 may control the display to display information about the application corresponding to the source process 211 to the user using the data set 417 .
  • the electronic device 101 may guide actions regarding the source process 211 by providing information (eg, visual information) about the source process 211 to the user.
  • the electronic device 101 may use log information to identify information about the source process 211 requesting to create a spam data set.
  • the electronic device 101 may temporarily refrain from performing the function of the target process 213 corresponding to the messenger data set 410 created using the source process 211 using log information.
  • the electronic device 101 can prevent malfunction of an application corresponding to the target process 213 stored in the electronic device 101 by temporarily refraining from performing the above function.
  • FIG. 5 illustrates an example state in which an electronic device displays a visual object indicating the end of at least one program, according to an embodiment.
  • the electronic device 101 of FIG. 5 may include the electronic device 101 of FIGS. 1 to 4 .
  • the electronic device 101 uses the source process 211 of FIG. 2 to send one or more messenger data to instruct the performance of the function of the target process 213 of FIG. 2.
  • the electronic device 101 stores one or more messenger data sets in a buffer area (e.g., buffer area 227 of FIG. 2) corresponding to the target process 213 using the binder driver 225 of FIG. 2.
  • the electronic device 101 uses a binder driver (e.g., the binder driver 225 of FIG. 2) in a state (e.g., first state) in which the one or more messenger data sets exceeding a threshold value are stored in the buffer area, It is possible to temporarily refrain from initiating execution of functions of the target process.
  • the electronic device 101 may obtain log information including information about the source process within the above state.
  • the electronic device 101 may remove at least one of one or more messenger data sets stored in the buffer area based on obtaining the log information.
  • the electronic device 101 can reduce the amount of buffer area usage by removing at least one of the one or more messenger data sets.
  • the electronic device 101 may identify a state (eg, a second state different from the first state) in which the one or more messenger data sets less than a threshold are stored by removing at least one. In the above state, the electronic device 101 may load (fetch) a messenger data set different from the one or more messenger data sets into the buffer area using a source process. However, it is not limited to this.
  • the electronic device 101 may control the display 250 to display the visual object 510 using log information.
  • the visual object 510 may include information indicating a source process and/or an application corresponding to the source process.
  • the visual object 510 may represent a pop-up window for providing at least one notification to the user.
  • the visual object 510 may include the visual object 380 of FIG. 3 .
  • the visual object 510 is not limited to this and may include any form or shape of a visual object that provides a visual indication (notification) to the user on the source process.
  • the electronic device 101 may guide the user to take actions on a source process and/or an application corresponding to the source process using the visual object 510 .
  • the electronic device 101 uses the visual object 510 to guide the user to termination of the source process and/or the application (e.g., input to the visual object 510 You can guide the user to perform a shutdown through .
  • the electronic device 101 terminates execution of the source process (e.g., the source process 211 in FIG. 2) in response to an input (e.g., user input) indicating selection of the button 511. can do.
  • terminating execution of the source process may include freeing data for executing the source process from an allocated area within a memory area (e.g., user space 210 in FIG. 2).
  • the electronic device 101 may terminate execution of the source process based on a memory policy (or memory management).
  • the electronic device 101 may terminate execution of the source process. By terminating, the electronic device 101 can prevent a conflict between the source process and the target process by terminating the execution of the source process.
  • the electronic device 101 In response to receiving an input (e.g., a user input) indicating selection of the button 512, the electronic device 101 according to an embodiment sets one or more messenger data sets greater than or equal to a threshold in a buffer area allocated to the target process.
  • the stored state may be maintained (e.g., the first state maintained).
  • the electronic device 101 may temporarily refrain from acquiring a messenger data set to execute the function of the target process using the source process.
  • the electronic device 101 may delete the messenger data set stored in the buffer area using a binder driver. However, it is not limited to this.
  • the electronic device 101 can use log information to identify a source process that generates an excessive spam messenger data set. That is, the electronic device 101 can use the log information to identify a source process that is generating a messenger data set in which the number or amount of the messenger data set is greater than or equal to a threshold value as a spam messenger data set. The electronic device 101 may temporarily refrain from performing the function of the target process indicated by the spam messenger data set generated using the source process. The electronic device 101 may control the display 250 to display a visual object 510 including information about the source process using log information. The electronic device 101 can provide the user with a user experience that allows the user to use the electronic device 101 more stably by using log information about the source process requesting to create a spam data set. That is, electronic device 101 may mitigate and/or reduce failures associated with additional processes other than spam data sets (e.g., binder transactions).
  • additional processes e.g., binder transactions
  • FIG. 6 shows an example flowchart illustrating the operation of an electronic device according to an embodiment. At least some of the operations of FIG. 6 may be performed by the electronic device 101 of FIG. 2 and/or the processor 120 of FIG. 2 . Each of the operations in FIG. 6 may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the electronic device performs a function of the target process using a source process in a buffer area of the memory allocated to the target process based on execution of the binder driver.
  • One or more messenger data sets can be stored.
  • the electronic device manages a memory area corresponding to the kernel space using a binder driver (e.g., binder driver 225 in FIG. 2) stored in the kernel space (e.g., kernel space 220 in FIG. 2). can do.
  • One or more messenger data sets may include information for the electronic device to perform the function of the target process within the execution state of the source process.
  • One or more messenger data sets may be occupied within a portion of the buffer area (e.g., buffer area 227 in FIG. 2) by the binder driver.
  • the electronic device may identify whether one or more messenger data sets exceeding a threshold value are stored in the buffer area. For example, the electronic device may identify one or more messenger data sets generated by the source process as spam data sets based on identifying whether one or more messenger data sets exceeding the threshold are stored. The electronic device may identify the source process as an abnormally running application based on identifying the one or more messenger data sets as spam data sets.
  • the electronic device in a state (e.g., first state) in which one or more messenger data sets exceeding a threshold value are stored in the buffer area (operation 620 - example), uses a binder driver. You can use to temporarily refrain from starting the execution of the function of the target process.
  • the electronic device may process data sets pending within a buffer area allocated to the target process by temporarily refraining from initiating execution of the function of the target process.
  • the electronic device may reduce usage of the buffer area by removing at least one of the one or more messenger data sets within the state.
  • the electronic device can smoothly perform the function of the target process by reducing the usage of the buffer area.
  • the electronic device may control the display to display a visual object (eg, as visual information) indicating information about the source process.
  • the visual object may be referenced to visual object 510 in FIG. 5 .
  • the electronic device may provide the user with a visual object, thereby providing information about the source process requesting to create the spam data set.
  • An electronic device may provide a guide to a source process that causes a conflict between processes within the electronic device by providing a visual object to the user.
  • the electronic device stores one or more messenger data within a state (e.g., second state) (operation 620-No) in which the one or more messenger data sets less than a threshold are stored.
  • a state e.g., second state
  • One or more second messenger data sets that are different from the one or more first messenger data sets may be stored.
  • the electronic device may identify a source process used to generate one or more messenger data sets as a normally running application. However, it is not limited to this.
  • FIG. 7 illustrates an example flowchart illustrating an operation in which an electronic device uses log information, according to an embodiment. At least some of the operations of FIG. 7 may be performed by the electronic device 101 of FIG. 2 and/or the processor 120 of FIG. 2 . Each of the operations in FIG. 7 may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel.
  • the electronic device executes the function of the target process using the source process in the buffer area of the memory allocated to the target process based on execution of the binder driver.
  • One or more messenger data sets can be stored.
  • the operation performed by the electronic device in operation 710 may be at least partially related to the operation performed in operation 610 of FIG. 6 .
  • the electronic device may generate log information indicating the state of the source process based on storing one or more messenger data sets greater than a threshold in the buffer area.
  • the log information may indicate a first state of the source process based on storing one or more IM data sets that are above a threshold in a buffer area.
  • the electronic device may temporarily refrain from performing the function of the target process corresponding to the one or more messenger data sets using log information indicating the state of the source process.
  • the electronic device may use the log information to identify the source process as an abnormally running application.
  • the electronic device can control the display and display a visual object (eg, the visual object 510 of FIG. 5) indicating the source process to the user.
  • a visual object eg, the visual object 510 of FIG. 5
  • the electronic device may guide the user to terminate the source process by displaying a visual object.
  • the electronic device may terminate execution of the source process in response to an input indicating termination of the source process.
  • the electronic device may release one or more messenger data sets corresponding to the source process in the buffer area based on termination of execution of the source process.
  • the electronic device may store another messenger data set generated based on execution of the source process in a buffer area corresponding to the target process.
  • the electronic device may perform an operation based on the different messenger data set stored in the buffer area based on execution of a target process.
  • the electronic device can prevent conflicts between processes stored in the electronic device by terminating execution of the source process.
  • the electronic device may remove one or more messenger data sets stored in the buffer area using the generated log information.
  • the one or more messenger data sets may mean a plurality of data sets containing the same information.
  • the one or more data sets may mean a pending async transaction created based on a function for providing one-way communication that is pending in a buffer area allocated to the target process by the electronic device.
  • the electronic device can prevent unnecessary repetitive operations based on removing the one or more messenger data sets.
  • the electronic device can maintain available space in the buffer area by removing the one or more messenger data.
  • the available space may include space for storing at least one data set.
  • the electronic device can smoothly perform the function of the target process using the available space, thereby providing the user with a user experience based on higher stability.
  • An electronic device may obtain information indicating a process used to generate a plurality of data sets containing the same information.
  • the electronic device can use the information to temporarily refrain from executing the function of another process indicated by the plurality of data sets.
  • a method for the electronic device to temporarily refrain from executing the above function may be required.
  • the electronic device 101 may include a display 250, a memory 130 that stores instructions, and a processor 120.
  • the electronic device executes the source process ( 211) can be used to store one or more messenger data sets 310 for executing the function of the target process.
  • the electronic device in a first state in which the amount of the one or more messenger data sets greater than the threshold value is stored in the buffer area, uses the binder driver to perform the functions of the target process. It may cause the user to temporarily refrain from initiating execution.
  • the instructions may cause the electronic device to control the display to display a visual object 380 (510) representing information about the source process.
  • the instructions when executed by the processor, cause the electronic device to: This may cause removal of at least one of the one or more messenger data sets stored in the area.
  • the instructions when executed by the processor, may cause the electronic device to identify each of the one or more messenger data sets that match the function of the target process as a spam data set.
  • the one or more messenger data sets may be one or more first messenger data sets.
  • the instructions, when executed by the processor, will cause the electronic device to identify a second state that is different from the first state that is the state based on removing the at least one of the one or more first messenger data sets. You can.
  • the instructions, when executed by the processor, may cause the electronic device, within the second state, to store one or more second messenger data sets generated using the source process.
  • the second state may be a state in which the one or more first messenger data sets less than the threshold are stored.
  • the instructions when executed by the processor, may cause the electronic device to terminate the source process, using the visual object, in response to an input indicating termination of the source process.
  • the electronic device when the instructions are executed by the processor, the electronic device, within the state, generates log information 350 indicating that the one or more messenger data sets greater than the threshold are stored using the source process. It can cause it to happen.
  • the instructions when executed by the processor, may cause the electronic device, using the log information, to temporarily refrain from initiating execution of the function of the target process.
  • the instructions when executed by the processor, may cause the electronic device to display the visual object representing an application corresponding to the source process.
  • the instructions when executed by the processor, cause the electronic device, within the state, to generate one or more third messenger data sets different from the one or more messenger data sets using the source process. can do.
  • the instructions may cause the electronic device to remove the third messenger data sets using the binder driver.
  • the method includes memory assigned to the target process 213 based on execution of the binder driver 225.
  • An operation 610 of storing one or more messenger data sets 310 for executing the function of the target process using the source process 211 may be included in the buffer area 227 of 130 .
  • the method includes an operation 630 of temporarily refraining from starting execution of the function of the target process using the binder driver while the one or more messenger data sets exceeding a threshold are stored in the buffer area. can do.
  • the method may include an operation 640 of controlling the display 250 to display a visual object 380 (510) representing information about the source process.
  • the operation of temporarily abstaining from initiating execution of the function of the target process may include selecting one of the one or more messenger data sets stored in the buffer area of the memory assigned to the target process. It may include the action of removing at least one.
  • storing the one or more messenger data sets may include identifying each of the one or more messenger data sets that match the function of the target process.
  • the one or more messenger data sets may be one or more first messenger data sets.
  • the operation of removing the at least one of the one or more messenger data sets creates a second state in which the one or more data sets less than the threshold are stored, which is different from the first state, which is the state based on the removal of the at least one. It may include an identifying operation.
  • the operation may include, within the second state, storing one or more second messenger data sets generated using the source process.
  • the second state may be a state in which the one or more first messenger data sets less than the threshold are stored.
  • the operation of displaying the visual object may include the operation of terminating the source process using the visual object in response to an input indicating termination of the source process.
  • the operation of temporarily refraining from starting execution of the function of the target process may include log information (350) indicating that, within the state, the one or more messenger data sets greater than the threshold are stored using the source process. ) may include an operation that generates.
  • the operation of generating the log information may include the operation of temporarily refraining from starting the execution of the function of the target process using the log information.
  • the operation of displaying the visual object may include the operation of displaying the visual object representing an application corresponding to the source process.
  • the electronic device 101 may include a display 250, a memory 130 that stores instructions, and a processor 120.
  • the electronic device executes the source process ( 211) can be used to store one or more messenger data sets 310 for executing the function of the target process.
  • the electronic device may generate log information 350 indicating the state of the source process based on storing the one or more messenger data sets exceeding a threshold value in the buffer area. there is.
  • the electronic device may use the generated log information to remove the one or more messenger data sets stored in the buffer area.
  • the electronic device may temporarily refrain from starting execution of the function of the target process based on execution of the binder driver using the log information. You can.
  • the electronic device may control the display to display a visual object 380 (510) indicating the status of the source process.
  • the electronic device may terminate the source process in response to an input indicating termination of the source process using the visual object.
  • the electronic device may change log information indicating the state of the source process based on removing the one or more messenger data sets stored in the buffer area. .
  • the electronic device may identify a second state of the source process that is different from the first state, based on the changed log information.
  • the instructions when executed by the processor, cause the electronic device to, within the second state, generate one or more first messenger data sets that are different from the one or more first messenger data sets generated using the source process.
  • the above second messenger data sets can be stored.
  • the instructions When executed by the processor, the instructions may cause the electronic device to obtain input for the visual object while the visual object guiding whether the source process is terminated is displayed.
  • the instructions when executed by the processor, may cause the electronic device to terminate the source process in response to input for the visual object.
  • the binder driver may be a program that runs in kernel space to control inter-process communication (IPC) for calling the function of the target process by the source process.
  • the source process and the target process may be application processes running in a user space that is separate from the kernel space.
  • the buffer area may be an area in memory allocated to the target process by the binder driver for execution of the function of the target process.
  • the method includes the buffer area of the memory assigned to the target process 213 based on execution of the binder driver 225.
  • an operation of storing one or more messenger data sets 310 for executing the function of the target process using the source process 211 may be included.
  • the method may include generating log information 350 indicating a first state of the source process based on storing an amount of the one or more messenger data sets greater than a threshold in the buffer area.
  • the method may include removing the one or more messenger data sets stored in the buffer area using the generated log information.
  • the method may include an operation of temporarily refraining from starting execution of a function of the target process based on execution of the binder driver using the log information.
  • the method may include controlling a display to display a visual object 380 (510) representing the status for the source process.
  • the method may include terminating the source process using the visual object in response to an input indicating termination of the source process.
  • the method may include changing log information indicating the state of the source process based on removing the one or more messenger data sets stored in the buffer area.
  • the method may include identifying a second state of the source process that is different from the first state, based on the changed log information.
  • the method includes storing, within the second state, one or more second messenger data sets that are different from one or more first messenger data sets that are the one or more messenger data sets generated using the source process. can do.
  • the method may include obtaining input for the visual object while the visual object is displayed to guide whether the source process terminates.
  • the method may include terminating the source process in response to input for the visual object.
  • the device described above may be implemented with hardware components, software components, and/or a combination of hardware components and software components.
  • the devices and components described in the embodiments include a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), and a programmable logic unit (PLU).
  • ALU arithmetic logic unit
  • FPGA field programmable gate array
  • PLU programmable logic unit
  • It may be implemented using one or more general-purpose or special-purpose computers, such as a logic unit, microprocessor, or any other device capable of executing and responding to instructions.
  • the processing device may execute an operating system (OS) and one or more software applications running on the operating system. Additionally, a processing device may access, store, manipulate, process, and generate data in response to the execution of software.
  • OS operating system
  • a processing device may access, store, manipulate, process, and generate data in response to the execution of software.
  • a single processing device may be described as being used; however, those skilled in the art will understand that a processing device includes multiple processing elements and/or multiple types of processing elements. It can be seen that it may include.
  • a processing device may include a plurality of processors or one processor and one controller. Additionally, other processing configurations, such as parallel processors, are possible.
  • Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing unit to operate as desired, or may be processed independently or collectively. You can command the device.
  • the software and/or data may be embodied in any type of machine, component, physical device, computer storage medium or device for the purpose of being interpreted by or providing instructions or data to the processing device. there is.
  • Software may be distributed over networked computer systems and stored or executed in a distributed manner.
  • Software and data may be stored on one or more computer-readable recording media.
  • the method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer-readable medium.
  • the medium may continuously store a computer-executable program, or temporarily store it for execution or download.
  • the medium may be a variety of recording or storage means in the form of a single or several pieces of hardware combined. It is not limited to a medium directly connected to a computer system and may be distributed over a network. Examples of media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, And there may be something configured to store program instructions, including ROM, RAM, flash memory, etc. Additionally, examples of other media include recording or storage media managed by app stores that distribute applications, sites or servers that supply or distribute various other software, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

일 실시예에 따른 전자 장치는 디스플레이, 인스트럭션들을 저장하는 메모리, 및 프로세서를 포함할 수 있다. 상기 전자 장치는, 바인더 드라이버의 실행에 기반하여, 타겟 프로세스에 할당된 상기 메모리의 버퍼 영역 내에, 소스 프로세스 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들을 저장할 수 있다. 상기 전자 장치는, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양이 저장된 제1 상태 내에서, 상기 바인더 드라이버를 이용하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가할 수 있다. 상기 전자 장치는, 상기 디스플레이를 제어하여, 상기 소스 프로세스에 대한 정보를 나타내는 시각적 객체를 표시할 수 있다.

Description

하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법
일 실시예는, 하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법에 관한 것이다.
최근 스마트폰, 테블릿 PC, 무선 이어폰, 스마트 시계 등과 같이 다양한 형태의 휴대용 전자 장치의 보급이 확대되고 있다. 이러한 휴대용 전자 장치는 하나 이상의 프로세스들을 실행할 수 있다. 예를 들어, 이러한 휴대용 전자 장치는 하나 이상의 프로그램(예, 다양한 소프트웨어)을 실행함으로써 하나 이상의 프로세스들(또는 기능들)을 실행할 수 있다. 하나 이상의 프로세스들을 효율적으로 실행하기 위해, 전자 장치는 하나 이상의 프로세스들 사이의 데이터를 획득하거나 또는 처리하기 위해 프로세스간 통신(IPC, inter process communication)을 이용할 수 있고, 전자 장치는 원격 프로시저 호출(RPC, remote procedure call)을 이용하여 데이터를 획득하거나 처리하기 위해 프로세스 간 통신을 제공할 수 있다. 전자 장치는 원격 프로시저 호출을 이용하여, 하나 이상의 프로세스들 중 하나의 프로세스를 실행할 때에, 하나 이상의 프로세스들 중 다른 프로세스의 기능을 수행할 수 있다.
일 실시예에 따른 전자 장치는 디스플레이, 인스트럭션들을 저장하는 메모리, 및 프로세서를 포함할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 바인더 드라이버의 실행에 기반하여, 타겟 프로세스에 할당된(assigned to) 상기 메모리의 버퍼 영역 내에, 소스 프로세스 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들을 저장하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양이 저장된 제1 상태 내에서, 상기 바인더 드라이버를 이용하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 디스플레이를 제어하여, 상기 소스 프로세스에 대한 정보를 나타내는 시각적 객체를 표시하도록 야기할 수 있다.
일 실시예에 따른 전자 장치의 방법에 있어서, 상기 방법은, 바인더 드라이버의 실행에 기반하여 타겟 프로세스에 할당된(assigned to) 메모리의 버퍼 영역 내에, 소스 프로세스를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들을 저장하는 동작을 포함할 수 있다. 상기 방법은, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양이 저장된 제1 상태 내에서, 상기 바인더 드라이버를 이용하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하는 동작을 포함할 수 있다. 상기 방법은, 디스플레이를 제어하여, 상기 소스 프로세스에 대한 정보를 나타내는 시각적 객체를 표시하는 동작을 포함할 수 있다.
일 실시예에 따른 전자 장치는, 디스플레이, 인스트럭션들을 저장하는 메모리, 및 프로세서를 포함할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 바인더 드라이버의 실행에 기반하여 타겟 프로세스에 할당된(assigned to) 상기 메모리의 버퍼 영역 내에, 소스 프로세스를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들을 저장하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양을 저장하는 것에 기반하여, 상기 소스 프로세스의 제1 상태를 나타내는 로그 정보를 생성하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 생성된 로그 정보를 이용하여, 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들을 제거하도록 야기할 수 있다.
일 실시예에 따른 전자 장치의 방법은 바인더 드라이버의 실행에 기반하여 타겟 프로세스에 할당된(assigned to) 메모리의 버퍼 영역 내에, 소스 프로세스를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들을 저장하는 동작을 포함할 수 있다. 상기 방법은, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양을 저장하는 것에 기반하여, 상기 소스 프로세스의 제1 상태를 나타내는 로그 정보를 생성하는 동작을 포함할 수 있다. 상기 방법은, 상기 생성된 로그 정보를 이용하여, 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들을 제거하는 동작을 포함할 수 있다.
도 1은, 일 실시예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는, 일 실시예에 따른 전자 장치의 예시적인 블록도를 도시한다.
도 3은, 일 실시예에 따른 전자 장치가 실행하는 하나 이상의 프로그램들의 일 예를 도시한다.
도 4는, 일 실시예에 따른 전자 장치가 하나 이상의 프로그램들을 이용하여 메신저 데이터 세트를 식별하는 예시적인 신호 흐름도를 도시한다.
도 5는, 일 실시예에 따른 전자 장치가 적어도 하나의 프로그램의 종료를 나타내는 시각적 객체를 표시하는 예시적인 상태를 도시한다.
도 6은, 일 실시예에 따른 전자 장치의 동작을 나타내는 예시적인 흐름도를 도시한다.
도 7은, 일 실시예에 따른 전자 장치가 로그 정보를 이용하는 동작을 나타내는 예시적인 흐름도를 도시한다.
이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 설명된다.
본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및/또는 B 중 적어도 하나”, "A, B 또는 C" 또는 "A, B 및/또는 C 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", "첫째" 또는 "둘째" 등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어” 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 모듈은 ASIC(application-specific integrated circuit)으로 구성될 수 있다.
도 1은, 일 실시예에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나 와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multi media interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
일 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 2는, 일 실시예에 따른 전자 장치의 예시적인 블록도를 도시한다. 도 2의 전자 장치(101)는 도 1의 전자 장치(101)의 일 예일 수 있다. 도 2를 참고하면, 일 실시예에 따른, 전자 장치(101)는 프로세서(120), 메모리(130), 또는, 디스플레이(250) 중 적어도 하나를 포함할 수 있다. 프로세서(120), 메모리(130), 및 디스플레이(250)는 통신 버스(a communication bus)와 같은 전자 소자(electronical component)에 의해 서로 전기적으로 및/또는 작동적으로 연결될 수 있다(electronically and/or operably coupled with each other). 이하에서, 하드웨어 컴포넌트들이 작동적으로 연결된 것은, 하드웨어 컴포넌트들 중 제1 하드웨어 컴포넌트에 의해 제2 하드웨어 컴포넌트가 제어되도록, 하드웨어 컴포넌트들 사이의 직접적인 연결, 또는 간접적인 연결이 유선으로, 또는 무선으로 수립된 것을 의미할 수 있다. 상이한 블록들에 기반하여 도시되었으나, 실시예가 이에 제한되는 것은 아니며, 도 2에 도시된 하드웨어 컴포넌트 중 일부분(예, 프로세서(120), 메모리(130) 및 통신 회로(미도시)의 적어도 일부분)이 SoC(system on a chip)와 같은 단일 집적 회로(single integrated circuit)에 포함될 수 있다. 전자 장치(101)에 포함된 하드웨어 컴포넌트의 타입 및/또는 개수는 도 2에 도시된 바에 제한되지 않는다. 예를 들어, 전자 장치(101)는 도 2에 도시된 하드웨어 컴포넌트 중 일부만 포함할 수 있다.
일 실시예에 따른, 전자 장치(101)의 프로세서(120)는 하나 이상의 인스트럭션들에 기반하여 데이터를 처리하기 위한 하드웨어 컴포넌트를 포함할 수 있다. 데이터를 처리하기 위한 하드웨어 컴포넌트는, 예를 들어, ALU(arithmetic and logic unit), FPU(floating point unit), FPGA(field programmable gate array), 및/또는 CPU(central processing unit)를 포함할 수 있다. 프로세서(120)의 개수는 하나 이상일 수 있다. 예를 들어, 프로세서(120)는 듀얼 코어(dual core), 쿼드 코어(quad core) 또는 헥사 코어(hexa core)와 같은 멀티-코어 프로세서의 구조를 가질 수 있다. 도 2의 프로세서(120)는, 도 1의 프로세서(120)를 포함할 수 있다. 예를 들어, 프로세서(120)는 메인 프로세서(예: 도 1의 메인 프로세서(121)) 및 보조 프로세서(예: 도 1의 보조 프로세서(123))을 포함할 수 있다.
일 실시예에 따른, 전자 장치(101)의 메모리(130)는, 프로세서(120)로 입력되거나, 및/또는 프로세서(120)로부터 출력되는 데이터, 및/또는 인스트럭션을 저장하기 위한 하드웨어 컴포넌트를 포함할 수 있다. 메모리(130)는, 예를 들어, RAM(random-access memory)과 같은 휘발성 메모리(volatile memory), 및/또는 ROM(read-only memory)와 같은 비휘발성 메모리(non-volatile memory)를 포함할 수 있다. 상기 휘발성 메모리는, 예를 들어, DRAM(dynamic RAM), SRAM(static RAM), Cache RAM, PSRAM (pseudo SRAM) 중 적어도 하나를 포함할 수 있다. 상기 비휘발성 메모리는, 예를 들어, PROM(programmable ROM), EPROM (erasable PROM), EEPROM (electrically erasable PROM), 플래시 메모리, 하드디스크, 컴팩트 디스크, eMMC(embedded multi media card) 중 적어도 하나를 포함할 수 있다. 도 2의 메모리(130)는, 도 1의 메모리(130)를 포함할 수 있다.
일 실시예에 따른 전자 장치(101)의 메모리(130) 내에서, 프로세서(120)가 데이터에 수행할 연산, 및/또는 동작을 나타내는 하나 이상의 인스트럭션들이 저장될 수 있다. 하나 이상의 인스트럭션들의 집합은, 펌웨어, 운영 체제, 프로세스, 루틴, 서브-루틴 및/또는 어플리케이션으로 참조될 수 있다. 예를 들어, 전자 장치(101), 및/또는 프로세서(120)는, 운영체제, 펌웨어, 드라이버, 및/또는 어플리케이션 형태로 배포된 복수의 인스트럭션의 집합(set of a plurality of instructions)이 실행될 시에, 도 6, 및 도 7의 동작들 중 적어도 하나를 수행할 수 있다. 이하에서, 어플리케이션이 전자 장치(101)에 설치되었다는 것은, 어플리케이션의 형태로 제공된 하나 이상의 인스트럭션들이 전자 장치(101)의 메모리(130) 내에 저장된 것으로써, 상기 하나 이상의 어플리케이션들이 전자 장치(101)의 프로세서(120)에 의해 실행 가능한(executable) 포맷(예, 전자 장치(101)의 운영 체제에 의해 지정된 확장자를 가지는 파일)으로 저장된 것을 의미할 수 있다.
일 실시예에 따른, 메모리(130) 내에, 상이한 공간(210, 220)에 의해 구분된 프로그램들은, 프로세서(120)에 의해 실행될 수 있다. 상이한 블록들에 의해 구분되는 프로그램들은, 전자 장치(101)의 메모리(130) 내에서, 전자 장치(101)의 프로세서(120)에 의해 실행가능한 포맷에 기반하여, 저장될 수 있다. 전자 장치(101)는, 상이한 블록들에 의해 구분되는 일(a) 프로세스를 실행하는 상태 내에서, 다른 프로세스에 포함된 인스트럭션들의 실행을 개시할 수 있다. 도 2의 하나 이상의 프로그램들은, 도 1의 프로그램(140) 내에 포함될 수 있다. 즉, 도 2 및 이후의 도면을 참조하여 설명된 하나 이상의 프로그램은 어플리케이션(예: 어플리케이션(146), 미들웨어(예: 미들웨어(144)), 운영 체제(operating system, OS)(예: 운영 체제(142)) 중 하나 이상을 포함할 수 있다.
도 2를 참고하면, 일 실시예에 따른 전자 장치(101)에 설치된 프로그램들은, 도 2의 공간들 중 어느 한 공간에 분류될 수 있다. 예를 들어, 사용자 공간(210)은, 전자 장치(101)의 메모리(130) 내에 저장된 하나 이상의 프로세스들(211, 213) 각각에 할당된, 메모리 공간(또는, 가상 주소)을 의미할 수 있다. 프로세스(또는 태스크(task))는, 프로세서(120)에 기반하는 프로그램의 실행 및/또는 스케쥴링을 위한 단위를 의미할 수 있다.
예를 들어, 전자 장치(101)는, 적어도 하나의 프로세스를 실행한 상태 내에서(예, 실행하는 동안), 상기 적어도 하나의 프로세스와 상이한 다른 프로세스에 할당된 메모리 공간을 이용하는 것을, 삼가할(refrain) 수 있다. 전자 장치(101)가 상기 메모리 공간을 이용하는 것을 삼가하는 동작은, 전자 장치(101)가 상기 메모리(130)에 할당된 데이터 세트에 의한 기능의 수행을 보류하는 것을 의미할 수 있다.
전자 장치(101)는, 사용자 공간(210) 내에 포함된 하나 이상의 프로세스들(211, 213)을 각각 구분함으로써, 하나의 프로세스를 이용하여, 다른 프로세스를 적어도 일부 변경하는 것을 방지할 수 있다. 전자 장치(101)는 소스 프로세스(211)(예, 제1 프로세스)를 실행한 상태 내에서, 타겟 프로세스(213)에 할당된 메모리 공간을 이용하여 타겟 프로세스(213)(예, 제2 프로세스)의 기능을 수행하기 위해, 커널 공간(220)을 이용할 수 있다. 전자 장치(101)는, 사용자 공간(210) 내에 저장된 하나 이상의 프로세스들을 중 적어도 하나를 실행하는 동안, 컨텍스트 체인지(context change)함으로써, 커널 공간(220) 내에 포함된 하나 이상의 프로그램들을 실행할 수 있다.
예를 들어, 컨텍스트 체인지는, 전자 장치(101)가 사용자 모드(mode)(예, 사용자 공간(210) 내에서 데이터를 처리하기 위한 모드)로부터, 커널 모드(예, 커널 공간(220) 내에서 데이터를 처리하기 위한 모드)로 전환하는 것에 기반하여, 적어도 하나의 데이터 세트를 처리(process)하는 것을 의미할 수 있다. 예를 들어, 전자 장치(101)는, 제1 프로세스(예, 소스 프로세스(211))를 실행하고 있는 상태에서, 제2 프로세스(예, 타겟 프로세스(213))의 인터럽트 요청에 기반하여, 제2 프로세스의 실행을 개시하기 위해, 제1 프로세스에 대한 데이터(예, context)를 저장할 수 있다. 상기 데이터는, 상기 제1 프로세스의 PCB(process control block)에 저장될 수 있다. 상기 데이터를 저장한 상태에서, 제2 프로세스의 실행에 기반한 데이터(context)를 저장하거나 할당하는 동작(예, 컨텍스트 체인지)을 수행할 수 있다. 예를 들어, 전자 장치(101)는, 프로세스들 각각에 할당된 스케줄링에 기반하여, 상기 컨텍스트 체인지를 수행할 수 있다.
일 실시예에 따른 사용자 공간(210) 내에, 전자 장치(101)의 사용자가 접근 가능한 하나 이상의 프로세스들(211, 213)이 저장될 수 있다. 예를 들어, 상기 하나 이상의 프로세스들(211, 213) 각각은, 전자 장치(101)의 사용자를 타겟으로 설계된 프로그램으로 분류될 수 있다. 예를 들어, 하나 이상의 프로세스들(211, 213) 각각은, 메모리(130) 내에 저장된 어플리케이션들에 대응될 수 있다. 전자 장치(101)가 상기 하나 이상의 프로세스들(211, 213)을 이용하여 상기 하나 이상의 프로세스들 각각에 대응하는 기능을 수행할 수 있다. 예를 들어, 소스 프로세스(211), 및/또는 타겟 프로세스(213) 중 적어도 하나는 복수 개의 프로세스를 포함할 수 있다.
예를 들어, 커널 공간(220)은, 전자 장치(101)의 운영 체제(예, 안드로이드 OS)를 실행하기 위해 할당된 메모리 공간을 의미할 수 있다. 운영 체제는, 커널 및 프로그램으로 구분될 수 있다. 전자 장치(101)는 커널을 이용하여, 운영 체제를 실행하기 위한 데이터 세트들을 관리할 수 있다. 전자 장치(101)는, 커널을 이용하여, 하드웨어 및/또는 운영 체제에서 제공하는 하나 이상의 서비스를, 제어할 수 있다. 예를 들어, 바인더 드라이버(225)(binder driver)는, 사용자 공간(210) 내에 저장된 하나 이상의 프로세스들 각각이 다른 프로세스의 기능을 수행하기 위한 데이터 세트들을 관리하기 위한 메모리 공간(예, 버퍼 영역)을 제어하기 위한 프로그램(예, 도 2의 메모리(130)를 제어하기 위한 하나 이상의 인스트럭션들이 포함된 프로그램)일 수 있다.
일 실시예에 따른 전자 장치(101)는, 메모리(130)(예, 휘발성 메모리) 내에 저장된 하나 이상의 프로세스들을 이용하여 생성한 메신저 데이터 세트들 각각에 대응하여, 메모리(130)의 버퍼 영역(227)을 할당할 수 있다. 전자 장치(101)는 운영 체제(예, 안드로이드 OS)에 기반하여, 상기 하나 이상의 프로세스들 사이의 데이터를 관리하기 위한 바인더 드라이버(binder driver)(225)를 이용하여, 버퍼 영역(227) 내에 저장된 데이터를 처리할 수 있다. 버퍼 영역(227)은, 전자 장치(101)가 적어도 하나의 프로세스를 실행하는 동안, 다른 프로세스의 기능을 실행하기 위해, 이용될 수 있다. 전자 장치(101)는, 상기 다른 프로세스에 매핑된 버퍼 영역(227) 내에, 상기 적어도 하나의 프로세스를 이용하여 획득한, 하나 이상의 메신저 데이터 세트들을 저장할 수 있다. 즉, 상기 하나 이상의 메신저 데이터 세트들 각각은(본 개시 전반에 걸쳐 실시예 또는 실시예에서 설명한 바와 같이), 전자 장치(101)가 적어도 하나의 프로세스를 실행한 상태 내에서(예, 적어도 하나의 프로세스가 실행 중인 경우), 다른 프로세스를 실행하기 위한 데이터를 포함할 수 있다. 상기 하나 이상의 메신저 데이터 세트들 각각은, 상기 적어도 하나의 프로세스, 상기 다른 프로세스에 대한 정보를 포함할 수 있다. 상기 하나 이상의 메신저 데이터 세트들은, 전자 장치(101)가 시스템 콜(예: RPC, remote procedure call)을 수행하기 위해 이용될 수 있다.
예를 들어, 전자 장치(101)는, 버퍼 영역(227) 내에, 지정된 임계치(예, 임계값 또는 임계량)이상의 상기 하나 이상의 메신저 데이터 세트들(예 하나 이상의 메신저 데이터 세트들의 양)이 저장된 상태(예, 전자 장치 및/또는 프로세스의 제1 상태) 내에서, 상기 다른 프로세스를 실행하는 것을 일시적으로 삼가할 수 있다.
본 명세서에 기술된 바와 같은 일부 예에서, 생성된 하나 이상의 메신저 데이터 세트는 바인더 트랜잭션일 수 있다. 일부 예에서, 상태(예, 제1 상태)는 생성된 하나 이상의 메신저 데이터 세트(310)의 개수(또는 양)가 지정된 임계치(예, 임계값) 이상인 버퍼 영역(227)에 저장된 상태를 포함할 수 있다. 상태는 버퍼 영역(227)에서 하나 이상의 메신저 데이터 셋(310)의 양이 저장되어 있거나, 지정된 영역(예: 일방향 통신을 제공하는 기능에 따라 데이터를 저장하는 영역)의 적어도 일부(예: 임계값 또는 양)를 차지하는 상태를 포함할 수 있다. 상기 상태는 하나 이상의 메신저 데이터 세트(310)가 버퍼 영역의 임계값(예: 백분율 양, 예, 50%) 이상을 차지하는 상태를 포함할 수 있다. 상기 하나 이상의 메신저 데이터 세트들 각각은, 전자 장치(101)가 상기 다른 프로세스의 실행을 요청하는 정보를 포함할 수 있다. 즉, 하나 이상의 메신저 세트들은 실행 중인 프로세스와는 다르게 실행 중인 프로세스에 의해 호출(또는 수행)될 적어도 하나의 다른 프로세스에 대한 정보를 포함할 수 있다. 전자 장치(101)가 바인더 드라이버(225)를 이용하여, 버퍼 영역(227) 내에 저장된 메신저 데이터 세트를 처리하는 동작은 도 3에서 후술한다.
일 실시예에 따른, 전자 장치(101)의 디스플레이(250)는 사용자에게 시각화 된(또는 시각적) 정보를 출력할 수 있다. 일부 예에서, 시각적 정보는 시각적 객체로 출력될 수 있다. 예를 들어, 디스플레이(250)는, 프로세서(120), 및/또는 GPU(graphic processing unit)(미도시)에 의해 제어되어, 사용자에게 시각화 된 정보(visualized information)를 출력할 수 있다. 디스플레이(250)는 FPD(flat panel display), 및/또는 전자 종이(electronic paper)를 포함할 수 있다. 상기 FPD는 LCD(liquid crystal display), PDP(plasma display panel), 디지털 미러 디바이스(digital mirror device, DMD), 하나 이상의 LED들(light emitting diodes), 및/또는 마이크로 LED를 포함할 수 있다. 상기 LED는 OLED(organic LED)를 포함할 수 있다. 도 2의 디스플레이(250)는, 도 1의 디스플레이 모듈(160)을 포함할 수 있다.
일 실시예에 따른 전자 장치(101)는, 바인더 드라이버(225)가 실행된 상태 내에서, 메모리(130) 내에 저장된 적어도 하나의 프로세스에 대한 정보를 나타내는 시각적 객체를, 디스플레이(250) 상에, 표시할 수 있다. 예를 들어, 전자 장치(101)는, 상기 적어도 하나의 프로세스를 이용하여, 메모리(130)의 버퍼 영역(227) 내에, 지정된 임계치 이상의 하나 이상의 메신저 데이터 세트들을 저장할 수 있다. 전자 장치(101)는, 상기 지정된 임계치 이상의 하나 이상의 메신저 데이터 세트들을 저장한 상태 내에서, 상기 적어도 하나의 프로세스에 대응하는 로그 정보를 획득할 수 있다. 상기 로그 정보는, 상기 적어도 하나의 프로세스를 이용하여, 상기 지정된 임계치 이상의 하나 이상의 메신저 데이터 세트들을 상기 버퍼 영역 내에 저장함을 나타내는 정보를 포함할 수 있다. 전자 장치(101)가 상기 로그 정보를 이용하여, 상기 시각적 객체를 표시하는 동작은 도 5에서 후술한다.
상술한 바와 같이, 일 실시예에 따른 전자 장치(101)는, 메모리(130) 내에 저장된 하나 이상의 프로세스들을 실행한 상태 내에서(예, 때에(when), 하나 이상의 프로세스들 중 제1 프로세스를 이용하여, 제2 프로세스의 기능을 수행하기 위한 메신저 데이터 세트를 획득할 수 있다. 전자 장치(101)는, 상기 획득한 메신저 데이터 세트를, 상기 제2 프로세스에 대응하는 메모리(130)의 버퍼 영역(227) 내에 저장할 수 있다. 전자 장치(101)는, 상기 버퍼 영역(227) 내에 저장된 메신저 데이터 세트를 이용하여, 상기 제2 프로세스의 기능을 수행할 수 있다. 전자 장치(101)는, 상기 제1 프로세스를 이용하여, 상기 제2 프로세스에 대응하는 버퍼 영역(227) 내에, 하나 이상의 메신저 데이터 세트들을 저장하는 것에 기반하여, 상기 하나 이상의 메신저 데이터 세트들 각각에 대응하는 상기 제2 프로세스의 기능을 수행할 수 있다. 예를 들어, 전자 장치(101)는, 지정된 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들을 저장한 상태 내에서(예, 지정된 임계값 이상인 하나 이상의 생성된 메신저 데이터 세트가 저장된 제1 상태), 상기 하나 이상의 메신저 데이터 세트들 각각에 대응하는 상기 제2 프로세스의 기능의 수행을 지연시킬 수 있다. 전자 장치(101)는, 상기 상태 내에서, 제2 프로세스의 기능의 수행을 보류(pend)할 수 있다. 전자 장치(101)는, 제2 프로세스의 기능의 수행을 보류한 것을 식별한 것에 기반하여, 상기 하나 이상의 메신저 데이터 세트들을 획득하기 위해 이용한 제1 프로세스에 대한 로그 정보를 식별할 수 있다. 전자 장치(101)는, 상기 로그 정보를 식별한 것에 기반하여, 상기 제1 프로세스를 이용하여, 적어도 하나의 데이터 세트의 획득을 일시적으로 삼가할 수 있다. 전자 장치(101)는, 상기 제1 프로세스를 이용하여, 상기 적어도 하나의 데이터 세트를 획득하는 것을 일시적으로 삼가함으로써, 전자 장치(101) 내에 저장된 복수의 프로세스들 사이의 충돌(crash)을 방지할 수 있다.
이하, 도 3에서, 전자 장치(101)가 전자 장치(101) 내에 저장된 하나 이상의 프로세스들을 이용하여, 획득한 데이터를 처리하기 위한 동작을 후술한다.
도 3은, 일 실시예에 따른 전자 장치가 실행하는 하나 이상의 프로그램들의 일 예를 도시한다. 도 3의 전자 장치(101)는, 도 1, 및 도 2의 전자 장치(101)를 포함할 수 있다.
일 실시예에 따른 전자 장치(101)는, 사용자 공간(210) 내에 저장된 하나 이상의 프로세스들(211, 213)을 이용하여, 커널 공간(220) 내에 저장된 하나 이상의 프로그램들을 실행하기 위해, 적어도 하나의 인터페이스(예, system call interface)를 실행할 수 있다. 예를 들어, 바인더 드라이버(225)는, 전자 장치(101)가 사용자 공간(210) 내에 저장된 적어도 하나의 프로세스를 실행한 상태 내에서, 다른 프로세스의 기능을 호출하기 위한 통신(예: IPC, inter process communication)을 제어하기 위해, 이용될 수 있다. 전자 장치(101)는 바인더 드라이버(225)를 이용하여, 시스템 콜(예: RPC, remote procedure call)을 수행함으로써, 하나의 프로세스를 이용하여, 상기 하나의 프로세스와 상이한 다른 프로세스의 기능을 수행할 수 있다.
예를 들어, 전자 장치(101)는, 시스템 콜을 수행하기 위해, 적어도 하나의 함수(또는, 프로시저(procedure))를 이용할 수 있다. 전자 장치(101)는, 사용자 공간(210) 내에 저장된 하나의 프로세스를 이용하여, 다른 프로세스의 기능을 수행하기 위한, 하나 이상의 메신저 데이터 세트들(예, binder transaction)을 생성할 수 있다. 상기 하나 이상의 메신저 데이터 세트들은, 상기 하나의 프로세스 및 상기 다른 프로세스에 대한 정보를 포함할 수 있다. 상기 하나 이상의 메신저 데이터 세트들은, 상기 하나의 프로세스 및 상기 다른 프로세스의 기능을 나타내는 정보를 포함할 수 있다. 상기 하나 이상의 메신저 데이터 세트들은, 메모리 내에서, 상기 하나의 프로세스, 및/또는, 상기 다른 프로세스가 할당된 영역(또는, 주소)에 대한 정보를 포함할 수 있다.
예를 들어, 전자 장치(101)는, 상기 하나 이상의 메신저 데이터 세트들을, 커널 공간(220) 내에 저장하기 위해, 적어도 하나의 함수를 이용(예, 수행)할 수 있다. 상기 적어도 하나의 함수는, 하나의 프로세스 및 다른 프로세스 사이의 쌍방향 통신을 제공하기 위한 함수(예, synchronous call), 및/또는, 하나의 프로세스로부터 다른 프로세스로 일 방향 통신을 제공하기 위한 함수(예, asynchronous call 또는 one-way call)를 포함할 수 있다. 예를 들어, 상기 쌍방향 통신을 제공하기 위한 함수는, 하나의 프로세스 및 다른 프로세스 사이의 동기화된 정보를 공유하기 위해 이용될 수 있다.
예를 들어, 전자 장치(101)는, 쌍방향 통신을 제공하기 위한 함수를 이용하여, 상기 다른 프로세스의 기능을 수행하는 동안, 상기 하나의 프로세스의 기능의 수행을 일시적으로 삼가할 수 있다. 즉, 전자 장치는 양방향 통신(예: 동기 호(call))을 사용 또는 수행할 때, 일시적으로 하나의 프로세스(즉, 상이한(different) 프로세스)의 기능을 수행하는 것을, 다른(other) 프로세스의 기능이 수행되는 동안, 삼가(예, 대기)할 수 있다. 전자 장치(101)는, 상기 다른 프로세스의 기능을 수행을 완료한 것에 기반하여, 일시적으로 삼가한 상기 하나의 프로세스의 기능의 수행을 개시할 수 있다. 예를 들어, 전자 장치(101)는 일 방향 통신을 제공하기 위한 함수를 이용하여, 상기 하나의 프로세스의 기능을 수행하는 것과 독립적으로, 다른 프로세스의 기능을 수행할 수 있다. 즉, 전자 장치는 일방향 통신(예: 비동기 호(call))을 사용하거나 수행할 때 다른(other) 프로세스(예: 상이한(different) 프로세스)의 기능을 일시적으로 삼가(예: 수행하기 위한 대기)하지 않는다.
일부 예에서(예, Android OS를 실행할 때 바인더를 통해 원격 함수 호출을 수행할 때), 소스 프로세스(예, 실행 중인 프로세스)로부터의 일방향 호출의 많은 양 또는 수는 이러한 호출이 바인더 버퍼를 점유하는 결과를 초래할 수 있다. 즉, 이러한 호출은 대상 프로세스에서 동시에 처리되지 않으므로 타켓 프로세스의 바인더 버퍼 영역이 채워질 수 있다. 이는 동일한 대상의 후속 바인더 트랜잭션에 영향을 미칠 수 있다(예, 이후의 트랜 잭션은 실패하거나 처리할 수 없음).
일 실시예에 따른 전자 장치(101)는, 적어도 하나의 프로세스를 이용하여 생성한 하나 이상의 메신저 데이터 세트들을, 커널 공간(220) 내에 저장된 바인더 드라이버(225)를 이용하여, 커널 공간(220)의 버퍼 영역(227) 내에, 저장할 수 있다. 예를 들어, 전자 장치(101)는, 소스 프로세스(211)의 실행에 기반하여, 타겟 프로세스(213)의 기능을 수행하기 위해, 컨텍스트 체인지(context change)함으로써, 바인더 드라이버(225)의 실행을 개시할 수 있다. 전자 장치(101)는, 바인더 드라이버(225)의 실행에 기반하여, 커널 공간(220) 내에, 하나 이상의 프로세스들 각각에 버퍼 영역(227)을 매핑할 수 있다. 전자 장치(101)는, 바인더 드라이버(225)의 실행에 기반하여, 타겟 프로세스(213)의 기능을 수행하기 위한 하나 이상의 메신저 데이터 세트들을, 타겟 프로세스(213)에 매핑된 버퍼 영역(227) 내에 저장할 수 있다.
예를 들어, 버퍼 영역(227)은, 적어도 하나의 함수에 기반하여, 구분(distinguished)(영역 내에 구분(divide)되거나 배열(arrange)된)될 수 있다. 예를 들어, 버퍼 영역은, 복수의 프로세스 간 쌍방향 통신을 제공하기 위한 함수(예, sync call)에 기반하여 생성된 하나 이상의 메신저 데이터 세트들을 저장하기 위한 영역, 및/또는, 일 방향 통신을 제공하기 위한 함수(예, async call)에 기반하여 생성된 하나 이상의 메신저 데이터 세트들을 저장하기 위한 영역으로 구분될 수 있다.
일 실시예에 따른 전자 장치(101)는, 소스 프로세스(211)의 실행에 기반하여, 바인더 드라이버(225)를 이용하여, 타겟 프로세스(213)의 기능을 수행하기 위한 하나 이상의 메신저 데이터 세트들(310)을 생성할 수 있다. 상기 하나 이상의 메신저 데이터 세트들(310)은, 일 방향 통신을 제공하기 위한 함수에 기반하여 생성될 수 있다. 전자 장치(101)는, 하나 이상의 메신저 데이터 세트들(310)을, 커널 공간(220) 내에, 타겟 프로세스(213)에 할당된 버퍼 영역(227) 내에, 저장할 수 있다. 예를 들어, 전자 장치(101)는, 상기 하나 이상의 메신저 데이터 세트들(310)에 대응하는 타겟 프로세스(213)의 기능을 수행할 수 있다.
예를 들어, 버퍼 영역(227) 내에 저장된 하나 이상의 메신저 데이터 세트들(310)(예, 타겟 프로세스(213)의 기능을 수행하기 위한 하나 이상의 메신저 데이터 세트(310))은, 큐(queue) 데이터에 기반하여, 처리될 수 있다. 전자 장치(101)는, 하나 이상의 메신저 데이터 세트들(310)이 상기 버퍼 영역(227) 내에 저장된 순서에 기반하여, 순차적으로 상기 타겟 프로세스(213)의 기능을 수행할 수 있다. 예를 들어, 전자 장치(101)는, 바인더 드라이버(225)의 실행에 기반하여, 버퍼 영역(227) 내에 저장된 메신저 데이터 세트(310-1)를 처리한 이후, 메신저 데이터 세트(310-2)를 순차적으로, 처리할 수 있다. 예를 들어, 전자 장치(101)는, 메신저 데이터 세트(310-2) 이전에 저장된(또는, 할당된), 하나 이상의 메신저 데이터 세트들을 처리하는 동안, 메신저 데이터 세트(310-2)에 대한 처리를 보류(예, 처리를 대기)할 수 있다. 예를 들어, 상기 하나 이상의 메신저 데이터 세트들은, 실질적으로 유사한 정보를 포함할 수 있다.
전자 장치(101)는, 상기 하나 이상의 메신저 데이터 세트들을 처리하는 동안, 상기 메신저 데이터 세트(310-2)에 대한 처리를 보류(예, 연기)하는 것을 방지하기 위해, 지정된 상태를 설정(set)할 수 있다. 예를 들어, 전자 장치(101)는, 지정된 상태에 기반하여(응답하여), 소스 프로세스(211)에 대응하는 로그 정보(350)를 생성할 수 있다.
예를 들어, 상기 지정된 상태는, 버퍼 영역(227) 내에, 지정된 임계치(예, 약 50개) 이상의 하나 이상의 메신저 데이터 세트들(310)(예, 하나 이상의 데이터 세트들의 양(amount))을 저장한 상태(예, 제1 상태)를 포함할 수 있다. 상기 지정된 상태는, 버퍼 영역(227) 내에, 지정된 영역(예, 일 방향 통신을 제공하기 위한 함수에 기반한 데이터를 저장하기 위한 영역)의 일부분(예, 80%) 내에, 하나 이상의 메신저 데이터 세트들(310)이 저장된 상태를 포함할 수 있다. 상기 지정된 상태는, 하나 이상의 메신저 데이터 세트들(310)이 버퍼 영역의 임계치(예, 50%) 이상 점유하는 상태를 포함할 수 있다. 일부 예에서, 하나 이상의 메신저 데이터 세트들(310)이 버퍼 영역(227)의 지정된 영역의 임계값(예: 백분율 양) 이상을 차지하는 상태일 수 있다.
일 실시예에 따른, 전자 장치(101)는, 지정된 상태를 식별한 것에 기반하여(응답하여), 소스 프로세스(211)를 이용하여 획득한 하나 이상의 메신저 데이터 세트들(310)을 스팸 데이터 세트로, 식별할 수 있다. 상기 스팸 데이터 세트는, 동일한 정보를 포함한 복수의 메신저 데이터 세트들을 포함할 수 있다. 일부 예에서, 스팸 데이터 세트는 실질적으로 동일한 정보를 포함하는 복수의 메신저 데이터 세트들(310)을 포함할 수 있다. 예를 들어, 전자 장치(101)는, 지정된 상태를 식별한 것에 기반하여, 로그 정보(350)를 이용하여, 소스 프로세스(211)에 대한 정보를 획득할 수 있다. 상기 소스 프로세스(211)에 대한 정보는, 전자 장치(101)가 소스 프로세스(211)를 이용하여, 지정된 임계치 이상인 하나 이상의 메신저 데이터 세트들(310)을, 타겟 프로세스(213)에 대응하는 버퍼 영역(227) 내에 저장함을 나타내는 정보를 포함할 수 있다.
일 실시예에 따른 전자 장치(101)는, 타겟 프로세스(213)에 매핑된 버퍼 영역(227) 내에 임계치 이상의 하나 이상의 메신저 데이터 세트들(310)(예, 하나 이상의 메신저 데이터 세트들의 양)이 저장된 상태(예, 제1 상태) 내에서, 타겟 프로세스(213)의 기능의 실행을 개시하는 것을 일시적으로 삼가할 수 있다. 예를 들어, 전자 장치(101)는, 로그 정보(350)를 이용하여, 상기 타겟 프로세스(213)의 기능의 실행을 개시하는 것을 일시적으로 삼가할 수 있다. 즉, 전자 장치는 하나 이상의 데이터 세트들에 대응하는 타겟 프로세스(213)의 기능의 실행을 개시하는 것을 일시적으로 삼가할 수 있다. 일부 예에서, 전자 장치(101)는 타겟 프로세스(213)의 기능의 실행을 개시하는 것을 일시적으로 삼가하는 것에 기반하여, 하나 이상의 메신저 데이터 세트들(310) 중 적어도 하나를 제거(delete)할 수 있다. 예를 들어, 하나 이상의 메신저 데이터 세트들(310) 중 적어도 하나를 제거하는 것은, 하나 이상의 메신저 데이터 세트들(310)을, 버퍼 영역 내에서, 해제(free)하는 것을 포함할 수 있다. 상기 하나 이상의 메신저 데이터 세트들(310)을 버퍼 영역 내에서 해제하는 것은, 전자 장치(101)가, 상기 하나 이상의 메신저 데이터 세트들(310)이 저장된 영역을 다른 데이터 세트를 이용하여 덮어쓸 수 있는 상태로 변경함을 의미할 수 잇다. 예를 들어, 전자 장치(101)는, 상기 하나 이상의 데이터 세트들(310) 중 적어도 하나를 제거하는 것에 기반하여, 타겟 프로세스(213)에 할당된 버퍼 영역(227)을 확보할 수 있다. 예를 들어, 전자 장치(101)는 상기 버퍼 영역(227) 내에 저장된 상기 하나 이상의 메신저 데이터 세트들(310)을 제거하는 것에 기반하여, 상기 소스 프로세스의 정보를 나타내는 로그 정보(350)를 변경할 수 있다. 다만, 이에 제한되는 것은 아니다.
일 실시예에 따른 전자 장치(101)는, 상기 지정된 상태 내에서, 소스 프로세스(211)에 대한 로그 정보(350)를 식별한 것에 기반하여, 소스 프로세스(211)를 이용하여 획득한 메신저 데이터 세트(310-2)를, 제거할 수 있다. 예를 들어, 전자 장치(101)는, 지정된 상태 내에서, 하나 이상의 메신저 데이터 세트들(310) 중 적어도 하나(예, 메신저 데이터 세트(310-2))를 제거함으로써, 지정된 상태로부터 상기 지정된 상태와 상이한 상태로 변경됨을 식별할 수 있다. 즉, 하나 이상의 메신저 데이터 세트들(예: 메신저 데이터 세트(310-2))를 제거함으로써, 타겟 프로세스(213)에 매핑된 버퍼 영역(227)에 저장된 메신저 데이터 세트의 양은 임계치보다 더 이상 같거나 크지 않을 수 있다. 메신저 데이터 세트들의 양은 지정된 상태와 상이한 상태, 예를 들어 제2 상태에 있는 것으로 식별 또는 결정될 수 있습니다. 전자 장치(101)는, 상기 상이한 상태 내에서, 소스 프로세스(211)를 이용하여 획득한 메신저 데이터 세트(예: 더 많은(further) 또는 추가(additional) 메신저 데이터 세트))를, 바인더 드라이버(225)를 이용하여, 커널 공간(220) 내에 저장할 수 있다. 전자 장치는, 상기 상이한 상태 내에서, 메신저 데이트 세트에 대응하는 기능을, 타겟 프로세스의 실행에 기반하여 수행할 수 있다. 상기 상이한 상태는, 임계치 미만의 하나 이상의 메신저 데이터 세트들이, 타겟 프로세스(213)에 매핑된 버퍼 영역 내에 저장된 상태를 포함할 수 있다. 다만 이에 제한되는 것은 아니다.
일 실시예에 따른 전자 장치(101)는, 로그 정보(350)를 이용하여, 디스플레이 내에, 소스 프로세스(211)에 대한 정보를 포함하는, 적어도 하나의 시각적 객체(380)를 표시할 수 있다. 전자 장치(101)가 상기 적어도 하나의 시각적 객체(380)를 표시하는 동작은, 도 5에서 후술한다.
상술한 바와 같이, 일 실시예에 따른 전자 장치(101)는, 메모리 영역을, 사용자와 프로세스 사이의 상호작용을 식별하기 위한 사용자 공간(210) 및 전자 장치(101)의 운영 체제에 기반한 기능을 수행하기 위한 커널 공간(220)으로 구분할 수 있다. 전자 장치(101)는, 사용자 공간(210) 내에 저장된 복수의 프로세스들(예, 소스 프로세트(211) 및 타켓 프로세스(213)) 사이의 메신저 데이터 세트를 교환하기 위해, 커널 공간(220)을 이용할 수 있다. 전자 장치(101)는, 커널 공간(220) 내에 저장된 바인더 드라이버(225)를 이용하여, 상기 메신저 데이터 세트를, 복수의 프로세스들(예, 사용자 영역(210)에 저장된 복수의 프로세스들) 각각에 매핑된 버퍼 영역(227) 내에 저장할 수 있다. 전자 장치(101)는, 지정된 임계치 이상의 메신저 데이터 세트가 상기 버퍼 영역 내에 저장된 경우, 상기 메신저 데이터 세트를 이용한 타겟 프로세스(213)의 기능의 수행을 보류(pend)하는 상태를 식별할 수 있다. 전자 장치(101)는, 상기 상태를 식별한 것에 기반하여, 상기 버퍼 영역(227) 내에 저장된, 메신저 데이터 세트를 이용한 타겟 프로세스(213)의 기능의 수행을 일시적으로 삼가할 수 있다. 전자 장치(101)는, 상기 메신저 데이터 세트를 이용한 타겟 프로세스(213)의 기능의 수행을 일시적으로 삼가한 것에 기반하여, 상기 메신저 데이터 세트를, 버퍼 영역(227) 내에서 제거할 수 있다. 전자 장치(101)는, 상기 메신저 데이터 세트를 버퍼 영역(227) 내에서 제거함으로써, 버퍼 영역(227) 내에서, 저장 가능한 영역을 확보할 수 있다. 전자 장치(101)는, 상기 타겟 프로세스(213)의 기능의 수행을 일시적으로 삼가한 것에 기반하여, 상기 메신저 데이터 세트를 획득하기 위해 이용한 소스 프로세스(211)에 대한 정보를 포함하는 로그 정보(350)를 획득할 수 있다. 전자 장치(101)는, 로그 정보(350)를 이용하여, 소스 프로세스(211)를 이용하여 메신저 데이터 세트를 생성하는 것을 일시적으로 삼가할 수 있다. 전자 장치(101)는, 로그 정보(350)를 이용하여, 소스 프로세스(211)에 대한 정보를 포함하는 시각적 객체(380)를 디스플레이 내에 표시할 수 있다. 전자 장치(101)는, 시각적 객체(380)를 표시함으로써, 사용자에게, 스팸(spam) 메신저 데이터 세트를 생성하도록 요청하는 소스 프로세스(211)에 대한 정보를 제공할 수 있다. 전자 장치(101)는, 상기 정보를 사용자에게 제공함으로써, 전자 장치(101)를 안정적으로 사용할 수 있는 사용자 경험을 제공할 수 있다.
도 4는, 일 실시예에 따른 전자 장치가 하나 이상의 프로그램들을 이용하여 메신저 데이터 세트를 식별하는 예시적인 신호 흐름도를 도시한다. 도 4의 전자 장치(101)는, 도 1 내지 도 3의 전자 장치(101)를 포함할 수 있다. 도 4를 참고하면, 하나 이상의 프로세스들(211, 213)은, 도 2의 하나 이상의 프로세스들(211, 213)에 참조될 수 있다. 바인더 드라이버(225)는 도 2의 바인더 드라이버(225)에 참조될 수 있다.
도 4를 참고하면, 전자 장치(101)는, 소스 프로세스(211)의 실행에 기반하여, 타겟 프로세스(213)의 기능을 수행하기 위한 메신저 데이터 세트(410)를 생성할 수 있다. 전자 장치(101)는, 동작 411에서, 메신저 데이터 세트(410)를, 바인더 드라이버(225)를 이용하여, 타겟 프로세스(213)에 대응하는 버퍼 영역(예, 도 2의 버퍼 영역(227))에 저장(또는, 할당)할 수 있다.
예를 들어, 전자 장치(101)는, 동작 412에서, 바인더 드라이버(225)의 실행에 기반하여, 버퍼 영역 내에 저장된 임계치 이상의 메신저 데이터 세트를 식별하였는지 여부를 확인할 수 있다. 예를 들어, 전자 장치(101)는, 임계치 이상의 메신저 데이터 세트를 식별하지 못한 경우(동작 412-아니오), 동작 413에서, 타겟 프로세스(213)를 이용하여, 메신저 데이터 세트(410)에 의해 지시되는 기능을 실행할 수 있다. 일부 예에서, 메신저 데이터 세트(예를 들어, 버퍼 영역에 저장될 하나 이상의 생성된 메신저 데이터 세트)가 이전에 정의된 바와 같이 임계치보다 크거나 같은지 여부가 식별된다.
예를 들어, 전자 장치(101)는, 임계치 이상의 메신저 데이터 세트를 식별한 경우(동작 412-예), 동작 414에서, 소스 프로세스(211)에 대한 로그 정보(예, 도 3의 로그 정보(350))를 획득할 수 있다. 상기 로그 정보는, 임계치 이상의 메신저 데이터 세트를 생성하도록 요청한 소스 프로세스(211)에 대한 정보를 포함할 수 있다. 일부 예에서, 상기 정보는 버퍼 영역에 저장된 하나 이상의 메신저 데이터 세트의 수 또는 양이 임계치 이상인 메신저 데이터 세트를 생성하도록 요청하는 소스 프로세스(211)에 대한 정보를 포함할 수 있다. .
예를 들어, 전자 장치(101)는, 동작 415에서, 임계치 이상의 메신저 데이터 세트를 식별한 상태 내에서, 타겟 프로세스(213)의 기능의 실행을 개시하는 것을 일시적으로 삼가할 수 있다. 전자 장치(101)는, 동작 416에서, 상기 기능의 실행을 개시하는 것을 일시적으로 삼가한 것에 기반하여, 상기 버퍼 영역 내에 저장된 메신저 데이터 세트를 삭제(delete)할 수 있다. 상기 메신저 데이터 세트를 삭제한다는 것은, 메신저 데이터 세트가 저장된 버퍼 영역을, 다른 데이터 세트를 이용하여 덮어쓸 수 있는 상태로 변환하는 것을 포함할 수 있다. 전자 장치(101)는, 상기 상태 내에서, 소스 프로세스(211)에 대응하는 로그 정보를 획득함으로써, 소스 프로세스(211)에 대한 데이터 세트(417)를, 획득할 수 있다. 예를 들어, 데이터 세트(417)는, 전자 장치(101)에게 스팸 데이터 세트를 생성하도록 요청하는(예, 요청을 수행하는), 소스 프로세스(211)에 대한 정보를 포함할 수 있다. 예를 들어, 데이터 세트(417)는, 적어도 하나의 함수(예, BR_ONEWAY_SPAM_SUSPECT)를 포함할 수 있다. 전자 장치(101)는, 데이터 세트(417)를 획득한 것에 기반하여, 소스 프로세스(211)에 대한 로그 정보(예, call stack)을 생성할 수 있다. 전자 장치(101)는, 데이터 세트(417)를 이용하여, 사용자에게, 소스 프로세스(211)에 대응하는 어플리케이션에 대한 정보를, 디스플레이를 제어하여, 표시할 수 있다. 전자 장치(101)는 상기 소스 프로세스(211)에 대한 정보(예, 시각적 정보)를 사용자에게 제공함으로써, 소스 프로세스(211)에 대한 조치를 가이드할 수 있다.
상술한 바와 같이 일 실시예에 따른 전자 장치(101)는, 로그 정보를 이용하여, 스팸 데이터 세트를 생성하도록 요청하는 소스 프로세스(211)에 대한 정보를 식별할 수 있다. 전자 장치(101)는, 로그 정보를 이용하여, 상기 소스 프로세스(211)를 이용하여 생성한 메신저 데이터 세트(410)에 대응하는 타겟 프로세스(213)의 기능의 수행을 일시적으로 삼가할 수 있다. 전자 장치(101)는, 상기 기능의 수행을 일시적으로 삼가함으로써, 전자 장치(101) 내에 저장된 타겟 프로세스(213)에 대응하는 어플리케이션의 오동작을 방지할 수 있다.
도 5는, 일 실시예에 따른 전자 장치가 적어도 하나의 프로그램의 종료를 나타내는 시각적 객체를 표시하는 예시적인 상태를 도시한다. 도 5의 전자 장치(101)는, 도 1 내지 도 4의 전자 장치(101)를 포함할 수 있다.
도 5를 참고하면, 일 실시예에 따른 전자 장치(101)는, 도 2의 소스 프로세스(211)를 이용하여, 도 2의 타겟 프로세스(213)의 기능의 수행을 지시하기 위한 하나 이상의 메신저 데이터 세트들을 생성할 수 있다. 전자 장치(101)는, 하나 이상의 메신저 데이터 세트들을 도 2의 바인더 드라이버(225)를 이용하여, 타겟 프로세스(213)에 대응하는 버퍼 영역(예, 도 2의 버퍼 영역(227)) 내에, 저장할 수 있다. 전자 장치(101)는, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들이 저장된 상태(예, 제1 상태) 내에서, 바인더 드라이버(예, 도 2의 바인더 드라이버(225))를 이용하여, 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가할 수 있다. 전자 장치(101)는 상기 상태 내에서, 소스 프로세스에 대한 정보를 포함하는, 로그 정보를 획득할 수 있다.
일 실시예에 따른 전자 장치(101)는, 상기 로그 정보를 획득한 것에 기반하여, 버퍼 영역 내에 저장된 하나 이상의 메신저 데이터 세트들 중 적어도 하나를 제거할 수 있다. 전자 장치(101)는, 상기 하나 이상의 메신저 데이터 세트들 중 적어도 하나를 제거함으로써, 버퍼 영역의 사용량을 줄일 수 있다. 일 예로, 전자 장치(101)는, 적어도 하나를 제거함으로써, 임계치 미만의 상기 하나 이상의 메신저 데이터 세트들이 저장된 상태(예, 제1 상태와 다른 제2 상태)를 식별할 수 있다. 전자 장치(101)는, 상기 상태 내에서, 소스 프로세스를 이용하여, 상기 하나 이상의 메신저 데이터 세트들과 상이한 메신저 데이터 세트를, 상기 버퍼 영역 내에 적재(fetch)할 수 있다. 다만, 이에 제한되는 것은 아니다.
일 실시예에 따른 전자 장치(101)는, 로그 정보를 이용하여, 디스플레이(250)를 제어하여, 시각적 객체(510)를 표시할 수 있다. 예를 들어, 시각적 객체(510)는, 소스 프로세스 및/또는 상기 소스 프로세스에 대응하는 어플리케이션을 나타내는 정보를 포함할 수 있다. 일부 예에서, 시각적 객체(510)는, 사용자에게 적어도 하나의 알림(notification)을 제공하기 위한 팝업 창(pop-up window)을 의미할 수 있다. 예를 들어, 시각적 객체(510)는, 도 3의 시각적 객체(380)를 포함할 수 있다. 다만, 시각적 객체(510)는 이에 제한되지 않으며, 소스 프로세스 상에서 사용자에게 시각적 표시(알림)를 제공하는 시각적 객체의 어떤 형태 또는 형상을 포함할 수 있다.
전자 장치(101)는 시각적 객체(510)를 이용하여, 소스 프로세스, 및/또는 상기 소스 프로세스에 대응하는 어플리케이션에 대한 조치를, 사용자에게 가이드 할 수 있다. 예를 들어, 전자 장치(101)는 시각적 객체(510)를 이용하여, 상기 소스 프로세스, 및/또는 상기 어플리케이션의 종료(termination)를, 사용자에게, 가이드(예, 시각적 객체(510)에 대한 입력을 통해 사용자가 종료를 수행하도록 가이드) 할 수 있다.
일 실시예에 따른 전자 장치(101)는, 버튼(511)을 선택함을 나타내는 입력(예, 사용자 입력)에 응답하여, 소스 프로세스(예, 도 2의 소스 프로세스(211))의 실행을 종료할 수 있다. 예를 들어, 소스 프로세스의 실행을 종료하는 것은, 소스 프로세스를 실행하기 위한 데이터를 메모리 영역(예, 도 2의 사용자 공간(210)) 내에 할당된 영역으로부터 해제(free)하는 것을 포함할 수 있다. 일 예로, 전자 장치(101)는, 메모리 정책(policy)(또는, 메모리 관리(memory management)에 기반하여, 상기 소스 프로세스의 실행을 종료할 수 있다. 전자 장치(101)는, 소스 프로세스의 실행을 종료함으로써, 메모리의 사용량을 줄일 수 있다. 전자 장치(101)는, 소스 프로세스의 실행을 종료함으로써, 소스 프로세스 및 타겟 프로세스 사이의 충돌을 방지할 수 있다.
일 실시예에 따른 전자 장치(101)는, 버튼(512)을 선택함을 나타내는 입력(예, 사용자 입력)을 수신하는 것에 응답하여, 타겟 프로세스에 할당된 버퍼 영역 내에 임계치 이상의 하나 이상의 메신저 데이터 세트들이 저장된 상태를 유지(예, 제1 상태를 유지)할 수 있다. 상기 상태 내에서, 전자 장치(101)는, 소스 프로세스를 이용하여 타겟 프로세스의 기능을 실행하기 위한 메신저 데이터 세트의 획득을 일시적으로 삼가할 수 있다. 일 예로, 전자 장치(101)는 바인더 드라이버를 이용하여, 버퍼 영역 내에 저장된 상기 메신저 데이터 세트를 제거(delete)할 수 있다. 다만 이에 제한되는 것은 아니다.
상술한 바와 같이, 전자 장치(101)는, 로그 정보를 이용하여, 과도한 스팸 메신저 데이터 세트를 생성하는 소스 프로세스를 식별할 수 있다. 즉, 전자 장치(101)는 로그 정보를 이용하여, 메신저 데이터 세트의 개수 또는 양이 임계 값 이상인 메신저 데이터 세트를 생성하고 있는 소스 프로세스를 스팸 메신저 데이터 세트로 식별할 수 있다. 전자 장치(101)는, 상기 소스 프로세스를 이용하여 생성된 스팸 메신저 데이터 세트에 의해 지시되는 타겟 프로세스의 기능의 수행을 일시적으로 삼가할 수 있다. 전자 장치(101)는, 로그 정보를 이용하여, 소스 프로세스에 대한 정보를 포함하는 시각적 객체(510)를 디스플레이(250)를 제어하여, 표시할 수 있다. 전자 장치(101)는, 스팸 데이터 세트를 생성하도록 요청하는 소스 프로세스에 대한 로그 정보를 이용함으로써, 사용자에게, 보다 안정적으로 전자 장치(101)를 사용할 수 있는 사용자 경험을 제공할 수 있다. 즉, 전자 장치(101)는 스팸 데이터 세트 이외의 추가 프로세스(예: 바인더 트랜잭션)와 관련된 실패를 완화 및/또는 감소시킬 수 있다.
도 6은, 일 실시예에 따른 전자 장치의 동작을 나타내는 예시적인 흐름도를 도시한다. 도 6의 동작들 중 적어도 일부는 도 2의 전자 장치(101), 및/또는 도 2의 프로세서(120)에 의해 수행될 수 있다. 도 6의 동작들 각각은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 동작들 각각의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수 있다.
도 6을 참고하면, 일 실시예에 따른 전자 장치는, 동작 610에서, 바인더 드라이버의 실행에 기반하여 타겟 프로세스에 할당된 메모리의 버퍼 영역 내에, 소스 프로세스를 이용하여 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들을 저장할 수 있다. 예를 들어, 전자 장치는 커널 공간(예, 도 2의 커널 공간(220)) 내에 저장된 바인더 드라이버(예, 도 2의 바인더 드라이버(225))를 이용하여, 커널 공간에 대응하는 메모리 영역을 관리할 수 있다. 하나 이상의 메신저 데이터 세트들은, 전자 장치가 소스 프로세스의 실행 상태 내에서, 타겟 프로세스의 기능을 수행하기 위한 정보를 포함할 수 있다. 하나 이상의 메신저 데이터 세트들은, 바인더 드라이버에 의해 버퍼 영역(예, 도 2의 버퍼 영역(227))의 일부분 내에 점유될 수 있다.
도 6을 참고하면, 일 실시예에 따른 전자 장치는, 동작 620에서, 버퍼 영역 내에 임계치 이상의 하나 이상의 메신저 데이터 세트들이 저장되었는 지 여부를 식별할 수 있다. 예를 들어, 전자 장치는 상기 임계치 이상의 하나 이상의 메신저 데이터 세트들이 저장되었는 지 여부를 식별한 것에 기반하여, 소스 프로세스에 의해 생성된 하나 이상의 메신저 데이터 세트들을 스팸 데이터 세트로 식별할 수 있다. 전자 장치는 상기 하나 이상의 메신저 데이터 세트들을 스팸 데이터 세트로 식별한 것에 기반하여, 소스 프로세스를, 비정상적으로 구동되는 어플리케이션으로 식별할 수 있다.
도 6을 참고하면, 일 실시예에 따른 전자 장치는, 동작 630에서, 버퍼 영역 내에 임계치 이상의 하나 이상의 메신저 데이터 세트들이 저장된 상태(예, 제1 상태)(동작 620-예)  내에서, 바인더 드라이버를 이용하여, 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가할 수 있다. 전자 장치는 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가함으로써, 타겟 프로세스에 할당된 버퍼 영역 내에 보류된(pended) 데이터 세트들을 처리할 수 있다. 전자 장치는, 상기 상태 내에서, 상기 하나 이상의 메신저 데이터 세트들 중 적어도 하나를 제거함으로써, 상기 버퍼 영역의 사용량을 감소시킬 수 있다. 전자 장치는 상기 버퍼 영역의 사용량을 감소시킴으로써, 타겟 프로세스의 기능을 원활하게 수행할 수 있다.
도 6을 참고하면, 일 실시예에 따른 전자 장치는 동작 640에서, 디스플레이를 제어하여, 소스 프로세스에 대한 정보를 나타내는 시각적 객체(예, 시각적 정보로써)를 표시할 수 있다. 시각적 객체는 도 5의 시각적 객체(510)에 참조될 수 있다. 전자 장치는 사용자에게 시각적 객체를 제공함으로써, 스팸 데이터 세트를 생성하도록 요청하는 소스 프로세스에 대한 정보를 제공할 수 있다. 전자 장치는 시각적 객체를 사용자에게 제공함으로써, 전자 장치 내에서 프로세스간 충돌을 야기하는 소스 프로세스에 대한 가이드를 제공할 수 있다.
도 6을 참고하면, 일 실시예에 따른 전자 장치는 동작 650에서, 임계치 미만의 상기 하나 이상의 메신저 데이터 세트들이 저장된 상태(예, 제2 상태)(동작 620-아니오) 내에서, 하나 이상의 메신저 데이터 세트들인 하나 이상의 제1 메신저 데이터 세트들과 상이한, 하나 이상의 제2 메신저 데이터 세트들을 저장할 수 있다. 예를 들어, 전자 장치는, 상기 상태 내에서, 하나 이상의 메신저 데이터 세트들을 생성하기 위해 이용하는 소스 프로세스를, 정상적으로 구동되는 어플리케이션으로 식별할 수 있다. 다만, 이에 제한되는 것은 아니다.
도 7은, 일 실시예에 따른 전자 장치가 로그 정보를 이용하는 동작을 나타내는 예시적인 흐름도를 도시한다. 도 7의 동작들 중 적어도 일부는 도 2의 전자 장치(101), 및/또는 도 2의 프로세서(120)에 의해 수행될 수 있다. 도 7의 동작들 각각은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 동작들 각각의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수 있다.
도 7을 참고하면, 동작 710에서, 일 실시예에 따른 전자 장치는, 바인더 드라이버의 실행에 기반하여 타겟 프로세스에 할당된 메모리의 버퍼 영역 내에, 소스 프로세스를 이용하여 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들을 저장할 수 있다. 전자 장치는 동작 710에서, 수행하는 동작은, 도 6의 동작 610에서 수행하는 동작과 적어도 일부 관련될 수 있다.
도 7을 참고하면, 동작 720에서, 일 실시예에 따른 전자 장치는, 버퍼 영역 내에 임계치 이상의 하나 이상의 메신저 데이터 세트들을 저장하는 것에 기반하여, 소스 프로세스의 상태를 나타내는 로그 정보를 생성할 수 있다. 일부 예에서, 로그 정보는 버퍼 영역에 임계값 이상인 하나 이상의 메신저 데이터 세트를 저장하는 것에 기반하여 소스 프로세스의 제1 상태를 나타낼 수 있다. 전자 장치는, 소스 프로세스의 상태를 나타내는 로그 정보를 이용하여, 상기 하나 이상의 메신저 데이터 세트들에 대응하는 타겟 프로세스의 기능의 수행을 일시적으로 삼가할 수 있다. 전자 장치는 상기 로그 정보를 이용하여, 상기 소스 프로세스를 비정상적으로 구동되는 어플리케이션으로 식별할 수 있다. 전자 장치는 상기 로그 정보를 이용하여, 사용자에게, 상기 소스 프로세스를 지시하는 시각적 객체(예, 도 5의 시각적 객체(510))를 디스플레이를 제어하여, 표시할 수 있다. 전자 장치는 시각적 객체를 표시함으로써, 사용자에게, 상기 소스 프로세스의 종료를 가이드할 수 있다. 전자 장치는, 상기 소스 프로세스의 종료를 나타내는 입력에 응답하여, 상기 소스 프로세스의 실행을 종료할 수 있다. 전자 장치는, 상기 소스 프로세스의 실행을 종료한 것에 기반하여, 소스 프로세스에 대응하는, 하나 이상의 메신저 데이터 세트들을 버퍼 영역 내에서 해제할 수 있다. 전자 장치는, 상기 하나 이상의 메신저 데이터 세트들을 해제한 이후, 소스 프로세스의 실행에 기반하여 생성되는 다른 메신저 데이트 세트를, 타겟 프로세스에 대응하는 버퍼 영역 내에 저장할 수 있다. 전자 장치는 상기 버퍼 영역 내에 저장된 상기 다른 메신저 데이트 세트에 기반한 동작을, 타겟 프로세스의 실행에 기반하여, 수행할 수 있다. 전자 장치는 상기 소스 프로세스의 실행을 종료함으로써, 전자 장치 내에 저장된 프로세스들 간의 충돌을 방지할 수 있다.
도 7을 참고하면, 동작 730에서, 일 실시예에 따른 전자 장치는, 생성된 로그 정보를 이용하여, 버퍼 영역 내에 저장된 하나 이상의 메신저 데이터 세트들을 제거할 수 있다. 상기 하나 이상의 메신저 데이터 세트들은 동일한 정보를 포함하는 복수의 데이터 세트를 의미할 수 있다. 상기 하나 이상의 데이터 세트들은, 전자 장치에 의해 타겟 프로세스에 할당된 버퍼 영역 내에 보류된(pended) 일 방향 통신을 제공하기 위한 함수에 기반하여 생성된 pending async transaction을 의미할 수 있다. 전자 장치는 상기 하나 이상의 메신저 데이터 세트들을 제거하는 것에 기반하여, 불필요하게 반복하는 동작의 수행을 방지할 수 있다.
예를 들어, 전자 장치는 상기 하나 이상의 메신저 데이터들을 제거함으로써, 상기 버퍼 영역의 가용 공간을 유지할 수 있다. 상기 가용 공간은, 적어도 하나의 데이터 세트를 저장하기 위한 공간을 포함할 수 있다. 전자 장치는 상기 가용 공간을 이용하여, 타겟 프로세스의 기능을 원활하게 수행함으로써, 사용자에게, 보다 높은 안정성에 기반한 사용자 경험을 제공할 수 있다.
일 실시예에 따른 전자 장치는, 동일한 정보를 포함하는 복수의 데이터 세트를 생성하기 위해 이용되는 하나의 프로세스를 나타내는 정보를 획득할 수 있다. 전자 장치는 상기 정보를 이용하여, 복수의 데이터 세트에 의해 지시되는 다른 프로세스의 기능의 실행을 일시적으로 삼가할 수 있다. 전자 장치가 상기 기능의 실행을 일시적으로 삼가하기 위한 방안이 요구될 수 있다.
상술한 바와 같은, 일 실시예에 따른 전자 장치(101)는 디스플레이(250), 인스트럭션들을 저장하는 메모리(130), 및 프로세서(120)를 포함할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 바인더 드라이버(225)의 실행에 기반하여 타겟 프로세스(213)에 할당된(assigned to) 상기 메모리의 버퍼 영역(227) 내에, 소스 프로세스(211)를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들(310)을 저장하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양이 저장된 제1 상태 내에서, 상기 바인더 드라이버를 이용하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 디스플레이를 제어하여, 상기 소스 프로세스에 대한 정보를 나타내는 시각적 객체(380; 510)를 표시하도록 야기할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 타겟 프로세스의 기능의 상기 실행을 개시하는 것을 일시적으로 삼가하는 것에 기반하여, 상기 타겟 프로세스에 할당된 상기 메모리의 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들 중 적어도 하나를 제거하도록 야기할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 타겟 프로세스의 상기 기능에 매칭되는 상기 하나 이상의 메신저 데이터 세트들 각각을 스팸 데이터 세트로 식별하도록 야기할 수 있다.
예를 들어, 상기 하나 이상의 메신저 데이터 세트들은 하나 이상의 제1 메신저 데이터 세트들일 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 하나 이상의 제1 메신저 데이터 세트들 중 상기 적어도 하나를 제거하는 것에 기반하여 상기 상태인 제1 상태와 상이한 제2 상태를 식별하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 제2 상태 내에서, 상기 소스 프로세스를 이용하여 생성된 하나 이상의 제2 메신저 데이터 세트들을 저장하도록 야기할 수 있다. 상기 제2 상태는, 상기 임계치 미만의 상기 하나 이상의 제1 메신저 데이터 세트들이 저장된 상태일 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 시각적 객체를 이용하여, 상기 소스 프로세스의 종료를 나타내는 입력에 응답하여, 상기 소스 프로세스를 종료하도록 야기할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 상태 내에서, 상기 소스 프로세스를 이용하여 상기 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들이 저장됨을 나타내는 로그 정보(350)를 생성하도록 야기할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 로그 정보를 이용하여, 상기 타겟 프로세스의 상기 기능의 상기 실행을 개시하는 것을 일시적으로 삼가하도록 야기할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 소스 프로세스에 대응하는 어플리케이션을 나타내는 상기 시각적 객체를 표시하도록 야기할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 상태 내에서, 상기 소스 프로세스를 이용하여 상기 하나 이상의 메신저 데이터 세트들과 상이한 하나 이상의 제3 메신저 데이터 세트들을 생성하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 바인더 드라이버를 이용하여, 상기 제3 메신저 데이터 세트들을 제거하도록 야기할 수 있다.
상술한 바와 같은, 일 실시예에 따른 전자 장치(101)에 의해 수행되는 방법에 있어서, 상기 방법은, 바인더 드라이버(225)의 실행에 기반하여 타겟 프로세스(213)에 할당된(assigned to) 메모리(130)의 버퍼 영역(227) 내에, 소스 프로세스(211)를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들(310)을 저장하는 동작(610)을 포함할 수 있다. 상기 방법은, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들이 저장된 상태 내에서, 상기 바인더 드라이버를 이용하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하는 동작(630)을 포함할 수 있다. 상기 방법은, 디스플레이(250)를 제어하여, 상기 소스 프로세스에 대한 정보를 나타내는 시각적 객체(380; 510)를 표시하는 동작(640)을 포함할 수 있다.
예를 들어, 상기 타겟 프로세스의 상기 기능의 상기 실행을 개시하는 것을 일시적으로 삼가하는 동작은, 상기 타겟 프로세스에 할당된(assigned to) 상기 메모리의 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들 중 적어도 하나를 제거하는 동작을 포함할 수 있다.
예를 들어, 상기 하나 이상의 메신저 데이터 세트들을 저장하는 동작은 상기 타겟 프로세스의 상기 기능에 매칭되는 상기 하나 이상의 메신저 데이터 세트들 각각을 식별하는 동작을 포함할 수 있다.
예를 들어, 상기 하나 이상의 메신저 데이터 세트들은 하나 이상의 제1 메신저 데이터 세트들일 수 있다. 상기 하나 이상의 메신저 데이터 세트들 중 상기 적어도 하나를 제거하는 동작은, 상기 적어도 하나를 제거하는 것에 기반하여 상기 상태인 제1 상태와 상이한, 상기 임계치 미만의 상기 하나 이상의 데이터 세트들이 저장된 제2 상태를 식별하는 동작을 포함할 수 있다. 상기 동작은, 상기 제2 상태 내에서, 상기 소스 프로세스를 이용하여 생성된 하나 이상의 제2 메신저 데이터 세트들을 저장하는 동작을 포함할 수 있다. 상기 제2 상태는 상기 임계치 미만의 상기 하나 이상의 제1 메신저 데이터 세트들이 저장된 상태일 수 있다.
예를 들어, 상기 시각적 객체를 표시하는 동작은, 상기 시각적 객체를 이용하여, 상기 소스 프로세스의 종료를 나타내는 입력에 응답하여, 상기 소스 프로세스를 종료하는 동작을 포함할 수 있다.
예를 들어, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하는 동작은, 상기 상태 내에서, 상기 소스 프로세스를 이용하여 상기 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들이 저장됨을 나타내는 로그 정보(350)를 생성하는 동작을 포함할 수 있다.
예를 들어, 상기 로그 정보를 생성하는 동작은, 상기 로그 정보를 이용하여, 상기 타겟 프로세스의 상기 기능의 상기 실행을 개시하는 것을 일시적으로 삼가하는 동작을 포함할 수 있다.
예를 들어, 상기 시각적 객체를 표시하는 동작은, 상기 소스 프로세스에 대응하는 어플리케이션을 나타내는 상기 시각적 객체를 표시하는 동작을 포함할 수 있다.
상술한 바와 같은 일 실시예에 따른 전자 장치(101)는, 디스플레이(250), 인스트럭션들을 저장하는 메모리(130), 및 프로세서(120)를 포함할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 바인더 드라이버(225)의 실행에 기반하여 타겟 프로세스(213)에 할당된(assigned to) 상기 메모리의 버퍼 영역(227) 내에, 소스 프로세스(211)를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들(310)을 저장할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들을 저장하는 것에 기반하여, 상기 소스 프로세스의 상태를 나타내는 로그 정보(350)를 생성할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 생성된 로그 정보를 이용하여, 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들을 제거할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 로그 정보를 이용하여, 상기 바인더 드라이버의 실행에 기반하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 디스플레이를 제어하여, 상기 소스 프로세스에 대한 상기 상태를 나타내는 시각적 객체(380; 510)를 표시할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 시각적 객체를 이용하여, 상기 소스 프로세스의 종료를 나타내는 입력에 응답하여, 상기 소스 프로세스를 종료할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들을 제거하는 것에 기반하여, 상기 소스 프로세스의 상태를 나타내는 로그 정보를 변경할 수 있다.
예를 들어, 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 변경된 로그 정보에 기반하여, 상기 상태인 제1 상태와 상이한 상기 소스 프로세스의 제2 상태를 식별할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 제2 상태 내에서, 상기 소스 프로세스를 이용하여 생성된, 상기 하나 이상의 메신저 데이터 세트들인 하나 이상의 제1 메신저 데이터 세트들과 상이한, 하나 이상의 제2 메신저 데이터 세트들을 저장할 수 있다.
상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 소스 프로세스의 종료 여부를 가이드하는 상기 시각적 객체가 표시되는 동안, 상기 시각적 객체에 대한 입력을 획득하도록 야기할 수 있다. 상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 시각적 객체에 대한 입력에 응답하여, 상기 소스 프로세스를 종료하도록, 야기할 수 있다.
상기 바인더 드라이버는, 상기 소스 프로세스에 의해 상기 타겟 프로세스의 상기 기능을 호출하기 위한 프로세스 간 통신(inter process communication, IPC)을 제어하기 위한 커널 공간 내에서 실행되는 프로그램일 수 있다. 상기 소스 프로세스 및 상기 타겟 프로세스는 상기 커널 공간과 구분되는 사용자 공간에서 실행되는 어플리케이션의 프로세스일 수 있다. 상기 버퍼 영역은, 상기 타겟 프로세스의 상기 기능의 실행을 위해, 상기 바인더 드라이버에 의해 상기 타겟 프로세스에게 할당된 메모리 내의 영역일 수 있다.
상술한 바와 같은 일 실시예에 따른 전자 장치(101)의 방법에 있어서, 상기 방법은, 바인더 드라이버(225)의 실행에 기반하여 타겟 프로세스(213)에 할당된(assigned to) 상기 메모리의 버퍼 영역(227) 내에, 소스 프로세스(211)를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들(310)을 저장하는 동작을 포함할 수 있다. 상기 방법은, 상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양을 저장하는 것에 기반하여, 상기 소스 프로세스의 제1 상태를 나타내는 로그 정보(350)를 생성하는 동작을 포함할 수 있다. 상기 방법은, 상기 생성된 로그 정보를 이용하여, 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들을 제거하는 동작을 포함할 수 있다.
예를 들어, 상기 방법은 상기 로그 정보를 이용하여, 상기 바인더 드라이버의 실행에 기반하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하는 동작을 포함할 수 있다.
예를 들어, 상기 방법은, 디스플레이를 제어하여, 상기 소스 프로세스에 대한 상기 상태를 나타내는 시각적 객체(380; 510)를 표시하는 동작을 포함할 수 있다.
예를 들어, 상기 방법은, 상기 시각적 객체를 이용하여, 상기 소스 프로세스의 종료를 나타내는 입력에 응답하여, 상기 소스 프로세스를 종료하는 동작을 포함할 수 있다.
예를 들어, 상기 방법은, 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들을 제거하는 것에 기반하여, 상기 소스 프로세스의 상태를 나타내는 로그 정보를 변경하는 동작을 포함할 수 있다.
예를 들어, 상기 방법은, 상기 변경된 로그 정보에 기반하여, 상기 상태인 제1 상태와 상이한 상기 소스 프로세스의 제2 상태를 식별하는 동작을 포함할 수 있다. 상기 방법은, 상기 제2 상태 내에서, 상기 소스 프로세스를 이용하여 생성된 상기 하나 이상의 메신저 데이터 세트들인 하나 이상의 제1 메신저 데이터 세트들과 상이한, 하나 이상의 제2 메신저 데이터 세트들을 저장하는 동작을 포함할 수 있다.
예를 들어, 상기 방법은, 상기 소스 프로세스의 종료 여부를 가이드하는 상기 시각적 객체가 표시되는 동안, 상기 시각적 객체에 대한 입력을 획득하는 동작을 포함할 수 있다. 예를 들어, 상기 방법은, 상기 시각적 객체에 대한 입력에 응답하여, 상기 소스 프로세스를 종료하는 동작을 포함할 수 있다.
이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 어플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.
소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.
실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 이때, 매체는 컴퓨터로 실행 가능한 프로그램을 계속 저장하거나, 실행 또는 다운로드를 위해 임시 저장하는 것일 수도 있다. 또한, 매체는 단일 또는 수 개의 하드웨어가 결합된 형태의 다양한 기록수단 또는 저장수단일 수 있는데, 어떤 컴퓨터 시스템에 직접 접속되는 매체에 한정되지 않고, 네트워크 상에 분산 존재하는 것일 수도 있다. 매체의 예시로는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical medium), 및 ROM, RAM, 플래시 메모리 등을 포함하여 프로그램 명령어가 저장되도록 구성된 것이 있을 수 있다. 또한, 다른 매체의 예시로, 어플리케이션을 유통하는 앱 스토어나 기타 다양한 소프트웨어를 공급 내지 유통하는 사이트, 서버 등에서 관리하는 기록매체 내지 저장매체도 들 수 있다.
이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.
그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.

Claims (15)

  1. 전자 장치(101)에 있어서,
    디스플레이(250);
    인스트럭션들을 저장하는 메모리(130); 및
    프로세서(120)를 포함하고,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    바인더 드라이버(225)의 실행에 기반하여 타겟 프로세스(213)에 할당된(assigned to) 상기 메모리의 버퍼 영역(227) 내에, 소스 프로세스(211)를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들(310)을 저장하고;
    상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양이 저장된 제1 상태 내에서, 상기 바인더 드라이버를 이용하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하고; 및
    상기 디스플레이를 제어하여, 상기 소스 프로세스에 대한 정보를 나타내는 시각적 객체(380; 510)를 표시하도록, 야기하는,
    전자 장치.
  2. 제1항에 있어서,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    상기 타겟 프로세스의 기능의 상기 실행을 개시하는 것을 일시적으로 삼가하는 것에 기반하여, 상기 타겟 프로세스에 할당된 상기 메모리의 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들 중 적어도 하나를 제거하도록, 야기하는,
    전자 장치.
  3. 제1항에 있어서,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    상기 타겟 프로세스의 상기 기능에 매칭되는 상기 하나 이상의 메신저 데이터 세트들 각각을 스팸 데이터 세트로 식별하도록, 야기하는,
    전자 장치.
  4. 제2항에 있어서,
    상기 하나 이상의 메신저 데이터 세트들은 하나 이상의 제1 메신저 데이터 세트들이고,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    상기 하나 이상의 제1 메신저 데이트 세트들 중 적어도 하나를 제거하는 것에 기반하여 상기 제1 상태와 상이한 제2 상태를 식별하고,
    상기 소스 프로세스를 이용하여 생성된 하나 이상의 제2 메신저 데이터 세트들을 저장하도록 야기하고, 및
    상기 제2 상태는, 상기 임계치 미만의 상기 하나 이상의 제1 메신저 데이터 세트들이 저장된 상태인,
    전자 장치.
  5. 제1항에 있어서,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    상기 소스 프로세스의 종료 여부를 가이드하는 상기 시각적 객체가 표시되는 동안, 상기 시각적 객체에 대한 입력을 획득하고,
    상기 시각적 객체에 대한 입력에 응답하여, 상기 소스 프로세스를 종료하도록, 야기하는,
    전자 장치.
  6. 제1항에 있어서,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    상기 상태 내에서 상기 소스 프로세스를 이용하여 상기 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들이 저장됨을 나타내는, 로그 정보(350)를 생성하도록, 야기하는,
    전자 장치.
  7. 제6항에 있어서,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    상기 로그 정보를 이용하여, 상기 타겟 프로세스의 상기 기능의 상기 실행을 개시하는 것을 일시적으로 삼가하도록, 야기하는,
    전자 장치.
  8. 제1항에 있어서,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    상기 소스 프로세스에 대응하는 어플리케이션을 나타내는 상기 시각적 객체를 표시하도록, 야기하는,
    전자 장치.
  9. 제1항에 있어서,
    상기 인스트럭션들은 상기 프로세서에 의해 실행될 시, 상기 전자 장치가,
    상기 상태 내에서, 상기 소스 프로세스를 이용하여 상기 하나 이상의 메신저 데이터 세트들과 상이한 하나 이상의 제3 메신저 데이터 세트들을 생성하고, 및
    상기 바인더 드라이버를 이용하여, 상기 제3 메신저 데이터 세트들을 제거하도록, 야기하는,
    전자 장치.
  10. 제1항에 있어서,
    상기 바인더 드라이버는, 상기 소스 프로세스에 의해 상기 타겟 프로세스의 상기 기능을 호출하기 위한 프로세스 간 통신(inter process communication, IPC)을 제어하기 위한 커널 공간 내에서 실행되는 프로그램이고,
    상기 소스 프로세스 및 상기 타겟 프로세스는 상기 커널 공간과 구분되는 사용자 공간에서 실행되는 어플리케이션의 프로세스이고,
    상기 버퍼 영역은, 상기 타겟 프로세스의 상기 기능의 실행을 위해, 상기 바인더 드라이버에 의해 상기 타겟 프로세스에게 할당된 메모리 내의 영역인
    전자 장치.
  11. 전자 장치(101)의 방법에 있어서, 상기 방법은,
    바인더 드라이버(225)의 실행에 기반하여 타겟 프로세스(213)에 할당된(assigned to) 상기 메모리의 버퍼 영역(227) 내에, 소스 프로세스(211)를 이용하여 상기 타겟 프로세스의 기능을 실행하기 위한 하나 이상의 메신저 데이터 세트들(310)을 저장하는 동작;
    상기 버퍼 영역 내에 임계치 이상의 상기 하나 이상의 메신저 데이터 세트들의 양이 저장된 제1 상태 내에서, 상기 바인더 드라이버를 이용하여, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하는 동작; 및
    디스플레이(250)를 제어하여, 상기 소스 프로세스에 대한 정보를 나타내는 시각적 객체(380; 510)를 표시하는 동작을 포함하는,
    방법.
  12. 제11항에 있어서, 상기 타겟 프로세스의 기능의 실행을 개시하는 것을 일시적으로 삼가하는 동작은,
    상기 타겟 프로세스에 할당된 상기 메모리의 상기 버퍼 영역 내에 저장된 상기 하나 이상의 메신저 데이터 세트들 중 적어도 하나를 제거하는 동작을 포함하는,
    방법.
  13. 제11항에 있어서, 상기 하나 이상의 데이터 세트들을 저장하는 동작은,
    상기 타겟 프로세스의 상기 기능에 매칭되는 상기 하나 이상의 메신저 데이터 세트들 각각을 스팸 데이터 세트로 식별하는 동작을 포함하는,
    방법.
  14. 제12항에 있어서,
    상기 하나 이상의 메신저 데이터 세트들은 하나 이상의 제1 메신저 데이터 세트들이고,
    상기 방법은,
    상기 하나 이상의 제1 메신저 데이트 세트들 중 적어도 하나를 제거하는 것에 기반하여 상기 제1 상태와 상이한 제2 상태를 식별하는 동작,
    상기 소스 프로세스를 이용하여 생성된 하나 이상의 제2 메신저 데이터 세트들을 저장하는 동작을 포함하고, 및
    상기 제2 상태는, 상기 임계치 미만의 상기 하나 이상의 제1 메신저 데이터 세트들이 저장된 상태인,
    방법,
  15. 제11항에 있어서,
    상기 소스 프로세스의 종료 여부를 가이드하는 상기 시각적 객체가 표시되는 동안, 상기 시각적 객체에 대한 입력을 획득하는 동작, 및
    상기 시각적 객체에 대한 입력에 응답하여, 상기 소스 프로세스를 종료하는 동작을 포함하는,
    방법.
PCT/KR2023/018805 2022-11-23 2023-11-21 하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법 WO2024112075A1 (ko)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20220158764 2022-11-23
KR10-2022-0158764 2022-11-23
KR10-2022-0167731 2022-12-05
KR1020220167731A KR20240076332A (ko) 2022-11-23 2022-12-05 하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법

Publications (1)

Publication Number Publication Date
WO2024112075A1 true WO2024112075A1 (ko) 2024-05-30

Family

ID=91196218

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/018805 WO2024112075A1 (ko) 2022-11-23 2023-11-21 하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법

Country Status (1)

Country Link
WO (1) WO2024112075A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034947A (ja) * 1999-07-23 2001-02-09 Sony Corp ディスクドライブ装置、調整動作実行タイミングの判別方法
KR20060066097A (ko) * 2003-08-20 2006-06-15 코닌클리케 필립스 일렉트로닉스 엔.브이. 동적 메모리 버퍼
KR20180006258A (ko) * 2016-07-07 2018-01-17 주식회사 케이티 접속점 이름을 변경하는 단말 장치, 디바이스 매니저 어플리케이션 및 서비스 어플리케이션
KR101927721B1 (ko) * 2017-07-14 2019-02-27 한국과학기술원 어플리케이션 수행에 있어서 모바일 기기 간에 기능을 분배하는 방법
KR20220011134A (ko) * 2020-07-09 2022-01-27 상하이 센스타임 인텔리전트 테크놀로지 컴퍼니 리미티드 가시화 방법 및 관련 기기

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001034947A (ja) * 1999-07-23 2001-02-09 Sony Corp ディスクドライブ装置、調整動作実行タイミングの判別方法
KR20060066097A (ko) * 2003-08-20 2006-06-15 코닌클리케 필립스 일렉트로닉스 엔.브이. 동적 메모리 버퍼
KR20180006258A (ko) * 2016-07-07 2018-01-17 주식회사 케이티 접속점 이름을 변경하는 단말 장치, 디바이스 매니저 어플리케이션 및 서비스 어플리케이션
KR101927721B1 (ko) * 2017-07-14 2019-02-27 한국과학기술원 어플리케이션 수행에 있어서 모바일 기기 간에 기능을 분배하는 방법
KR20220011134A (ko) * 2020-07-09 2022-01-27 상하이 센스타임 인텔리전트 테크놀로지 컴퍼니 리미티드 가시화 방법 및 관련 기기

Similar Documents

Publication Publication Date Title
WO2021060836A1 (ko) 어플리케이션 실행 방법 및 장치
WO2022030893A1 (ko) 오디오 공유를 지원하는 전자 장치
WO2022030890A1 (ko) 다중 윈도우 이미지 캡쳐 방법 및 이를 위한 전자 장치
WO2022108192A1 (ko) 전자 장치 및 전자 장치의 멀티윈도우 제어방법
WO2022255652A1 (ko) 어플리케이션 업데이트 방법 및 그 전자 장치
WO2024112075A1 (ko) 하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법
WO2022149771A1 (ko) 전자 장치 및 이를 이용한 메모리 관리 방법
WO2022086272A1 (ko) 사용자 인터페이스를 제공하는 전자 장치 및 그 방법
WO2024076068A1 (ko) 복수의 프로세스들의 릴리즈를 제어하기 위한 전자 장치 및 그 방법
WO2024080659A1 (ko) 외부 전자 장치와 연결된 상태에 기반하여, 시각적 객체를 표시하기 위한 전자 장치, 방법, 및 컴퓨터 판독 가능 저장 매체
WO2023167438A1 (ko) 시스템의 성능 병목 현상을 처리하는 전자 장치 및 그 동작 방법
WO2022196889A1 (ko) 멀티 프로세서를 포함하는 전자 장치 및 그 운용 방법
WO2024085665A1 (ko) 디스플레이의 동기화를 위한 전자 장치 및 방법
WO2024071707A1 (ko) 어플리케이션을 컴파일하기 위해 이용되는 정보를 획득하기 위한 전자 장치 및 그 방법
WO2022154163A1 (ko) 전자 장치 및 전자 장치의 메모리 관리 방법
WO2024014695A1 (ko) 상호작용에 의해 획득된 순서에 기반하여 패키지들을 컴파일하는 전자 장치 및 방법
WO2021049770A1 (ko) 복수의 어플리케이션을 실행하는 전자 장치 및 방법
WO2024085681A1 (ko) 가비지 컬렉션 수행 방법 및 이를 지원하는 전자 장치
WO2024072117A1 (ko) 전자 장치 및 어플리케이션 간의 통신 방법
WO2022086253A1 (ko) 이미지 표시 방법 및 이를 지원하는 웨어러블 전자 장치
WO2024043464A1 (ko) 프로세서에 포함된 각각의 회로들의 주파수들을 조절하기 위한 전자 장치, 방법, 및 컴퓨터 판독 가능 저장 매체
WO2021145693A1 (ko) 이미지 데이터를 처리하는 전자 장치 및 이미지 데이터 처리 방법
WO2024063516A1 (ko) 커스터마이징 소프트웨어 제공 장치 및 방법
WO2024019258A1 (ko) 외부 전자 장치로 송신되는 신호를 제어하는 전자 장치 및 방법
WO2024071861A1 (ko) 업데이트 방법 및 이를 위한 전자 장치

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2023813261

Country of ref document: EP

Effective date: 20231205