WO2019045255A1 - 어플리케이션 시작 방법 및 이를 구현하는 전자 장치 - Google Patents

어플리케이션 시작 방법 및 이를 구현하는 전자 장치 Download PDF

Info

Publication number
WO2019045255A1
WO2019045255A1 PCT/KR2018/007748 KR2018007748W WO2019045255A1 WO 2019045255 A1 WO2019045255 A1 WO 2019045255A1 KR 2018007748 W KR2018007748 W KR 2018007748W WO 2019045255 A1 WO2019045255 A1 WO 2019045255A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
processor
display
electronic device
application
Prior art date
Application number
PCT/KR2018/007748
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
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US16/642,726 priority Critical patent/US20200201518A1/en
Publication of WO2019045255A1 publication Critical patent/WO2019045255A1/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
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • Various embodiments of the present invention are directed to a method and apparatus for quickly launching an application.
  • the electronic device may include a touch sensitive display and may display an icon corresponding to the application through the display. In response to the user's touch gesture on the icon, the electronic device may provide the functionality or service of the application.
  • the electronic device can provide a display associated with the application through the display.
  • the operation for providing such a screen may be started, for example, in response to a release (i.e., touch up) of a touch on the icon (in other words, touch down). That is, the operation is started at the touch-up time.
  • Various embodiments of the present invention may allow the operation to be initiated at a touchdown time to quickly respond to user input.
  • various embodiments of the present invention can provide an efficient memory management method and apparatus for quick start of an application.
  • An electronic device includes a touch sensitive display; A processor electrically coupled to the display; And a memory electrically coupled to the processor, wherein the memory, when executed, causes the processor to: display an icon on the display, receive a touchdown event for the icon via the display, In response to the touch up event, to configure a screen to be displayed on the display, to receive a touch up event for the icon via the display, and to display the configured screen in response to the touch up event .
  • a method of operating an electronic device in accordance with various embodiments of the present invention includes: displaying an icon on a touch sensitive display; Receiving a touchdown event for the icon via the touch sensitive display; Executing, in response to the touchdown event, a first process of an application corresponding to the icon; Receiving a touch up event for the icon via the display; And adding an activity of the application to the first process in response to the touchup event.
  • an electronic device can quickly respond to user input and start an application.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, in accordance with various embodiments.
  • FIG. 2 is a block diagram of a program according to various embodiments.
  • FIG. 3 is a diagram for explaining operations of a program according to various embodiments.
  • FIG. 4 is a diagram for explaining operations of a program according to various embodiments.
  • FIG. 5 is a flow chart illustrating operations of the processor according to various embodiments.
  • FIG. 6 is a flow chart illustrating operations of a processor according to various embodiments.
  • FIG. 7 is a flow diagram illustrating operations of the process management module according to various embodiments.
  • FIG. 8 is a flow diagram illustrating operations of the process management module according to various embodiments.
  • 9A to 9E are views for explaining an operation of managing a memory in an electronic device according to various embodiments.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, in accordance with various embodiments.
  • an electronic device 101 in a network environment 100 communicates with an electronic device 102 via a first network 198 (e.g., near-field wireless communication) or a second network 199 (E. G., Remote wireless communication).
  • a first network 198 e.g., near-field wireless communication
  • a second network 199 E. G., Remote wireless communication
  • ≪ / RTI &gt the electronic device 101 is capable of communicating with the electronic device 104 through the server 108.
  • the electronic device 101 includes a processor 120, a memory 130, an input device 150, an audio output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identity module 196, and an antenna module 197 ).
  • at least one (e.g., display 160 or camera module 180) of these components may be omitted from the electronic device 101, or other components may be added.
  • some components such as, for example, a sensor module 176 (e.g., a fingerprint sensor, an iris sensor, or an illuminance sensor) embedded in a display device 160 Can be integrated.
  • Processor 120 may be configured to operate at least one other component (e.g., hardware or software component) of electronic device 101 connected to processor 120 by driving software, e.g., And can perform various data processing and arithmetic operations.
  • Processor 120 loads and processes commands or data received from other components (e.g., sensor module 176 or communication module 190) into volatile memory 132 and processes the resulting data into nonvolatile memory 134.
  • the processor 120 may operate in conjunction with a main processor 121 (e.g., a central processing unit or an application processor) and, independently, or additionally or alternatively, Or a co-processor 123 (e.g., a graphics processing unit, an image signal processor, a sensor hub processor, or a communications processor) specific to the designated function.
  • a main processor 121 e.g., a central processing unit or an application processor
  • a co-processor 123 e.g., a graphics processing unit, an image signal processor, a sensor hub processor, or a communications processor
  • the coprocessor 123 may be operated separately from or embedded in the main processor 121.
  • the coprocessor 123 may be used in place of the main processor 121, for example, while the main processor 121 is in an inactive (e.g., sleep) state, At least one component (e.g., display 160, sensor module 176, or communications module 176) of the components of electronic device 101 (e.g., 190) associated with the function or states.
  • the coprocessor 123 e.g., an image signal processor or communications processor
  • the coprocessor 123 is implemented as a component of some other functionally related component (e.g., camera module 180 or communication module 190) .
  • Memory 130 may store various data used by at least one component (e.g., processor 120 or sensor module 176) of electronic device 101, e.g., software (e.g., program 140) ), And input data or output data for the associated command.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134.
  • the program 140 may be software stored in the memory 130 and may include, for example, an operating system 142, a middleware 144,
  • the input device 150 is an apparatus for receiving a command or data to be used for a component (e.g., processor 120) of the electronic device 101 from the outside (e.g., a user) of the electronic device 101,
  • a component e.g., processor 120
  • a microphone, a mouse, or a keyboard may be included.
  • the sound output device 155 is a device for outputting a sound signal to the outside of the electronic device 101.
  • the sound output device 155 may be a speaker for general use such as a multimedia reproduction or a sound reproduction, .
  • the receiver may be formed integrally or separately with the speaker.
  • Display device 160 may be an apparatus for visually providing information to a user of electronic device 101 and may include, for example, a display, a hologram device, or a projector and control circuitry for controlling the projector. According to one embodiment, the display device 160 may include a touch sensor or a pressure sensor capable of measuring the intensity of the pressure on the touch.
  • the audio module 170 is capable of bi-directionally converting sound and electrical signals. According to one embodiment, the audio module 170 may acquire sound through the input device 150, or may be connected to the audio output device 155, or to an external electronic device (e.g., Electronic device 102 (e.g., a speaker or headphone)).
  • an external electronic device e.g., Electronic device 102 (e.g., a speaker or headphone)
  • the sensor module 176 may generate an electrical signal or data value corresponding to an internal operating state (e.g., power or temperature) of the electronic device 101, or an external environmental condition.
  • the sensor module 176 may be a gesture sensor, a gyro sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared sensor, Or an illuminance sensor.
  • the interface 177 may support a designated protocol that may be wired or wirelessly connected to an external electronic device (e.g., the electronic device 102).
  • the interface 177 may include a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital interface
  • audio interface an audio interface
  • the connection terminal 178 may be a connector such as an HDMI connector, a USB connector, an SD card connector, or an audio connector that can physically connect the electronic device 101 and an external electronic device (e.g., the electronic device 102) (E.g., a headphone connector).
  • an HDMI connector such as an HDMI connector, a USB connector, an SD card connector, or an audio connector that can physically connect the electronic device 101 and an external electronic device (e.g., the electronic device 102) (E.g., a headphone connector).
  • the haptic module 179 may convert electrical signals into mechanical stimuli (e.g., vibrations or movements) or electrical stimuli that the user may perceive through tactile or kinesthetic sensations.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 can capture a still image and a moving image.
  • the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
  • the power management module 188 is a module for managing the power supplied to the electronic device 101, and may be configured as at least a part of, for example, a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 is an apparatus for supplying power to at least one component of the electronic device 101 and may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
  • the communication module 190 is responsible for establishing a wired or wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108) Lt; / RTI > Communication module 190 may include one or more communication processors that support wired communication or wireless communication, operating independently of processor 120 (e.g., an application processor).
  • the communication module 190 may include 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., a local area network (LAN) communication module, or a power line communication module), and the corresponding communication module may be used to communicate with a first network 198 (e.g., Bluetooth, WiFi direct, Communication network) or a second network 199 (e.g., a telecommunications network such as a cellular network, the Internet, or a computer network (e.g., a LAN or WAN)).
  • 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., a local area network (LAN) communication module, or a power line communication module
  • the wireless communication module 192 may use the user information stored in the subscriber identification module 196 to identify and authenticate the electronic device 101 within the communication network.
  • the antenna module 197 may include one or more antennas for externally transmitting or receiving signals or power.
  • the communication module 190 e.g., the wireless communication module 192 may transmit signals to or receive signals from an external electronic device via an antenna suitable for the communication method.
  • Some of the components are connected to each other via a communication method (e.g., bus, general purpose input / output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI) (Such as commands or data) can be exchanged between each other.
  • a communication method e.g., bus, general purpose input / output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI) (Such as commands or data) can be exchanged between each other.
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199.
  • Each of the electronic devices 102 and 104 may be the same or a different kind of device as the electronic device 101.
  • all or a portion of the operations performed in the electronic device 101 may be performed in another or a plurality of external electronic devices.
  • the electronic device 101 in the event that the electronic device 101 has to perform some function or service automatically or upon request, the electronic device 101 may be capable of executing the function or service itself, And may request the external electronic device to perform at least some functions associated therewith.
  • the external electronic device receiving the request can execute the requested function or additional function and transmit the result to the electronic device 101.
  • the electronic device 101 can directly or additionally process the received result to provide the requested function or service.
  • cloud computing, distributed computing, or client-server computing technology may be used.
  • FIG. 2 is a block diagram 200 of a program 140 in accordance with various embodiments.
  • the program 140 includes an operating system 142, a middleware 144, or an application 146 executable on the operating system 142 for controlling one or more resources of the electronic device 101.
  • the operating system 142 may include, for example, Android TM , iOS TM , Windows TM , Symbian TM , Tizen TM , or Bada TM .
  • At least some of the programs 140 may be preloaded into the electronic device 101 at the time of manufacture or may be stored in an external electronic device such as the electronic device 102 or 104, 108).
  • the operating system 142 may control (e.g., allocate or recover) system resources (e.g., processes, memory, or power) of the electronic device 101.
  • the operating system 142 may additionally or alternatively include other hardware devices of the electronic device 101 such as an input device 150, an audio output device 155, a display device 160, an audio module 170, A sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identification module 196, And one or more driver programs for driving the antenna module 197.
  • the middleware 144 may provide various functions to the application 146 so that the application 146 may use the functions or information provided by the one or more resources of the electronic device 101.
  • the middleware 144 includes an application manager 201, a window manager 203, a multimedia manager 205, a resource manager 207, a power manager 209, a database manager 211, a package manager 213, a connectivity manager 215, a notification manager 217, a location manager 219, a graphic manager 221, a security manager 223, a call manager 225, or a voice recognition manager 227 can do.
  • the application manager 201 can manage the life cycle of the application 146, for example.
  • the window manager 203 can manage, for example, GUI resources used in the screen.
  • the multimedia manager 205 can recognize a format required for reproducing media files and perform encoding or decoding of a media file using a codec suitable for the format.
  • the resource manager 207 can manage, for example, the source code of the application 146 or the space of the memory.
  • the power manager 209 manages the capacity, the temperature, or the power supply of the battery, for example, and can determine or provide the power information necessary for the operation of the electronic device 101 by using the information among them. According to one embodiment, the power manager 209 may interface with a basic input / output system (BIOS).
  • BIOS basic input / output system
  • the database manager 211 may create, retrieve, or modify the database to be used in the application 146, for example.
  • the package manager 213 can manage installation or update of an application distributed in the form of a package file, for example.
  • the connectivity manager 215 can manage, for example, a wireless or wired connection between the electronic device 101 and an external electronic device.
  • the notification manager 217 may provide a function for notifying a user of, for example, a generated event (e.g., a call, a message, or an alarm).
  • the location manager 219 can manage the location information of the electronic device 101, for example.
  • the graphic manager 221 may manage, for example, a graphical effect to be provided to the user or a user interface associated therewith.
  • the security manager 223 may provide, for example, system security or user authentication.
  • the telephony manager 225 may, for example, manage the voice or video call functions of the electronic device 101.
  • the voice recognition manager 227 transmits the voice data of the user to the server 108 and transmits a command corresponding to the function to be performed in the electronic device 101 or a corresponding voice
  • the converted character data can be received based on the data.
  • the middleware 244 may dynamically delete some existing components or add new ones.
  • at least some of the middleware 144 may be included as part of the operating system 142, or may be implemented in software separate from the operating system 142.
  • the application 146 includes a home 251, a dialer 253, an SMS / MMS 255, an instant message 257, a browser 259, a camera 261, an alarm 263, Contact 265, voice recognition 267, email 269, calendar 271, media player 273, album 275, watch 277, health 279 (e.g., Measurement), or environmental information 281 (e.g., pressure, humidity, or temperature information) applications.
  • the application 146 may further include an information exchange application (not shown) capable of supporting the exchange of information between the electronic device 101 and an external electronic device.
  • the information exchange application may include, for example, a notification relay application for communicating information (e.g., a call, a message, or an alarm) designated as an external electronic device, or a device management application for managing an external electronic device have.
  • the notification relay application transmits notification information corresponding to an event (e.g., mail reception) generated in another application (e.g., an email application 269) of the electronic device 101 to an external electronic device , Or receive notification information from an external electronic device and provide it to the user of the electronic device 101.
  • the device management application may be used to power a power source (e.g., turn-on or turn-off) of an external electronic device that communicates with the electronic device 101 or some of its components (e.g., the display device 160 or the camera module 180) Off) or a function (e.g., brightness, resolution, or focus of the display device 160 or the camera module 180).
  • the device management application may additionally or alternatively support the installation, deletion, or update of an application running on an external electronic device.
  • the electronic device can be various types of devices.
  • the electronic device can include, for example, at least one of a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device e.g., a smart phone
  • a computer device e.g., a laptop, a desktop, a smart phone
  • portable multimedia device e.g., a portable multimedia device
  • portable medical device e.g., a portable medical device
  • camera e.g., a camera
  • a wearable device e.g., a portable medical device
  • first component is "(functionally or communicatively) connected” or “connected” to another (second) component, May be connected directly to the component, or may be connected through another component (e.g., a third component).
  • module includes units comprised of hardware, software, or firmware and may be used interchangeably with terms such as, for example, logic, logic blocks, components, or circuits.
  • a module may be an integrally constructed component or a minimum unit or part thereof that performs one or more functions.
  • the module may be configured as an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • the various embodiments of the present document may include instructions stored on a machine-readable storage medium (e.g., internal memory 136 or external memory 138) (e.g., (E. G., Program 140) that includes instructions (e. G. Instructions).
  • the device may include an electronic device (e.g., electronic device 101) in accordance with the disclosed embodiments as an apparatus capable of calling stored instructions from the storage medium and operating according to the called instructions.
  • the instruction When the instruction is executed by a processor (e.g., processor 120), the processor may perform the function corresponding to the instruction, either directly or using other components under the control of the processor.
  • the instructions may include code generated or executed by the compiler or interpreter.
  • a device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-temporary' means that the storage medium does not include a signal and is tangible, but does not distinguish whether data is stored semi-permanently or temporarily on the storage medium.
  • the method according to various embodiments disclosed herein may be provided in a computer program product.
  • a computer program product can be traded between a seller and a buyer as a product.
  • a computer program product may be distributed in the form of a machine readable storage medium (eg, compact disc read only memory (CD-ROM)) or distributed online through an application store (eg PlayStore TM ).
  • an application store eg PlayStore TM
  • at least a portion of the computer program product may be temporarily stored, or temporarily created, on a storage medium such as a manufacturer's server, a server of an application store, or a memory of a relay server.
  • Each of the components may be comprised of a single entity or a plurality of entities, and some of the subcomponents described above may be omitted, or other subcomponents May be further included in various embodiments.
  • some components e.g., modules or programs
  • program 300 is a diagram for explaining operations of the program 300 according to various embodiments.
  • program e.g., program 140 of FIG. 1
  • a volatile memory e.g., volatile memory 132 of FIG. 1
  • the operations of program 300 may be understood to be performed by the processor.
  • the program 300 may include an application 310, a launcher 320, a process management module 330, and an input module 340.
  • the application 310 which is executed by the process management module 330, may be, for example, one of the configurations of the application 146 disclosed in FIG.
  • the launcher 320 may be an application that controls the operation of the process management module 330 in response to events received from the input module 340.
  • the process management module 330 may include, for example, at least one of the window manager 203 or the application manager 201 of FIG.
  • the process management module 330 may also be, for example, a configuration included in the middleware 144 of FIG. 2 and may control the execution of a process corresponding to information received from the launcher 320.
  • the input module 340 may be, for example, a component included in the middleware 144 of FIG. 2 and may pass user input to the launcher 320.
  • the input module 340 may be, for example, a configuration at least partially included in the operating system 142 of FIG.
  • the input module 340 may be aware of the occurrence of a touchdown event via a touch sensitive display (e.g., a display device with touch circuitry (160 of FIG. 1)). For example, a plurality of icons may be displayed on the screen of the display. The icon may correspond to a particular application, e.g., application 310.
  • the touchdown event may mean that any one of the icons is touched by a conductive object (e.g., a finger or a pen).
  • the input module 340 may transmit the touchdown event to the launcher 320 (A).
  • the launcher 320 may obtain information (e.g., application name) about the touched icon from another configuration (e.g., package manager 213) when a touchdown event is received.
  • the launcher 320 may transmit (B) the first intent (e.g., including a value indicating the 'touchdown' and the application name) to the process management module 330 based on the acquired information.
  • the transmission (B) scheme may be a broadcast scheme.
  • An intent may be referred to as a signal, data, or message that is exchanged between modules.
  • the process management module 330 may configure the template in response to receiving the first intent from the launcher 320.
  • the process management module 330 may invoke and execute a process or activity for template configuration from a storage medium (e.g., non-volatile memory 134).
  • the template may be a screen (e.g., a window frame or graphical effect) that is displayed on the display prior to the screen of the application 310.
  • the input module 340 may be aware of the occurrence of a touchup event through the display.
  • the touch-up event may mean, for example, canceling the touched state.
  • the input module 340 may transmit (C) the touch up event to the launcher 320.
  • the launcher 320 may obtain information (e.g., an application name) about the untouched icon from the package manager (e.g., package manager 213) when a touchup event is received.
  • the launcher 320 may transmit (D) a second intent (e.g., including a value indicating 'touch up' and an application name) to the process management module 330 based on the obtained information.
  • a second intent e.g., including a value indicating 'touch up' and an application name
  • the process management module 330 may display the configured template in response to receipt of the second intent from the launcher 320 on the display.
  • the process management module 330 may invoke and execute a process or activity for displaying a template from a storage medium (e.g., non-volatile memory 134).
  • the process management module 330 may manage the activity of the launcher 320. For example, the process management module 330 may suspend the activity of the launcher 320. For example, pausing may mean that the state of the launcher 320 is switched from foreground to background.
  • the process management module 330 may perform operations to control (E) launch of the application 310.
  • the operation of controlling (E) the start of the application 310 may include an operation of controlling the display of the screen of the application 310.
  • the process management module 330 may control the start of the application 310 when the status of the launcher 320 changes in the background in the foreground.
  • the template when the icon is touched, the template is configured (e.g., the template configuration starts at the touchdown time), and if the touch is released, the configured template may be displayed and then the screen of the application may be displayed.
  • FIG. 4 is a diagram for explaining operations of the program 400 according to various embodiments. 4), the program 400 (e.g., program 140 of FIG. 1) may be loaded into a volatile memory (e.g., volatile memory 132 of FIG. 1) The operations of the program 400 may be understood to be performed by the processor.
  • the program 400 e.g., program 140 of FIG. 1
  • a volatile memory e.g., volatile memory 132 of FIG. 1
  • the operations of the program 400 may be understood to be performed by the processor.
  • the program 400 may include an application 410, a launcher 420, a process management module 430, and an input module 440.
  • the components of program 400 may perform the same operations as those performed by components of the same name in program 300 of FIG.
  • input module 440 may be aware of the occurrence of a touchdown event via a touch sensitive display (e.g., a display device with touch circuitry (160 of FIG. 1)).
  • the touchdown event may mean that any one of the icons is touched by a conductive object (e.g., a finger or a pen).
  • the input module 440 may transmit (F) the touchdown event to the launcher 420.
  • the launcher 420 may obtain information (e.g., application name) about the touched icon from another configuration (e.g., package manager 213) when a touchdown event is received.
  • the launcher 420 may send (G) the first intent (e.g., including the value indicating the 'touchdown' and the application name) to the process management module 430 based on the obtained information.
  • the process management module 430 may execute an empty process of the application 410 in response to receiving the first intent from the launcher 420.
  • a process can be a foreground process, a visible process, a service process, a background process (background process), or the like, depending on whether the component is held and the state of the component process and an empty process.
  • a foreground process may be a process having a component that is active to interact with a user.
  • a visible process may be a process that does not interact with a user but has a component that is visible through the screen.
  • a service process may be a process that does not interact with a user or is displayed on the screen but has components that are services (e.g., playing audio, downloading data).
  • the background process may be a process having a component whose execution is suspended.
  • a bean process can be defined as a process that does not have any active components (eg activity, service, receiver, provider) unlike other kinds of processes.
  • the bean process may be set to the least significant, which, when out of memory, is first deleted from memory before another process.
  • the process management module 430 may perform operations to manage the lifecycle of an empty process. For example, an empty process may be terminated (or deleted from volatile memory) if a predetermined event (e.g., a touchup event) does not occur within a given time period (e.g., one second) after the bean process is executed . If the number of empty processes exceeds a predetermined value (for example, two), the empty process loaded into memory may be terminated among the empty processes.
  • a predetermined event e.g., a touchup event
  • the input module 440 may be aware of the occurrence of a touchup event through the display.
  • the input module 440 may transmit (H) the touchup event to the launcher 320.
  • the launcher 420 can obtain information (e.g., an application name) about the untouched icon from the package manager (e.g., package manager 213) when a touchup event is received.
  • the launcher 420 may transmit (I) a second intent (e.g., including a value indicating 'touch up' and an application name) to the process management module 430 based on the obtained information.
  • the process management module 430 may add a component (e.g., an activity for implementing a graphical user interface (GUI)) to the bean process in response to receiving the second intent from the launcher 420 have.
  • a component e.g., an activity for implementing a graphical user interface (GUI)
  • the process management module 430 may manage the activity of the launcher 420. For example, the process management module 430 may suspend the activity of the launcher 420.
  • the process management module 430 may perform operations to control (J) the start of the application 410.
  • the act of controlling (J) the start of the application 410 may include controlling the execution of the components added to the bean process.
  • the process management module 430 may control the start of the application 410 if the status of the launcher 420 changes in the foreground in the background.
  • the process management module 430 may manage the state of the process as the application 410 starts. For example, when the application 310 is started, the state of the bean process can be changed. For example, a flag value indicating the state of a process in the application information may be changed from a value indicating an empty state to a value indicating a foreground state.
  • the process management module 430 may configure the template and execute an empty process in response to receiving the first intent.
  • the process management module 430 may display the template and add the components to the bean process in response to receiving the second intent.
  • FIG. 5 is a flow chart illustrating operations of the processor according to various embodiments.
  • the processor may receive a touchdown event via a display device (e.g., 160 of FIG. 1).
  • a touchdown event may refer to a state in which an icon displayed on a screen is touched by a conductive object.
  • the processor may configure the template in response to a touchdown event.
  • the processor may receive a touchup event via the display device.
  • the touch-up event may indicate the release of the touched state.
  • the processor may display a configured template through a display device in response to a touchup event.
  • the processor may start an application corresponding to the touched icon.
  • the processor can display a screen of an application through a display device instead of a template.
  • FIG. 6 is a flow chart illustrating operations of a processor according to various embodiments of the present invention.
  • the processor may receive a touchdown event via a display device (e.g., 160 of FIG. 1).
  • a touchdown event may refer to a state in which an icon displayed on a screen is touched by a conductive object.
  • the processor may, in response to a touchdown event, execute an empty process of the application corresponding to the touched icon.
  • the processor may receive a touchup event via the display device.
  • the touch-up event may indicate the release of the touched state.
  • the processor may add activities to the bean process in response to a touch up event.
  • the activity may include instructions configured to display a graphical user interface (GUI) of an application for interacting with a user.
  • GUI graphical user interface
  • the processor may start an application corresponding to the touched icon.
  • the processor may execute the added activity.
  • FIG. 7 is a flowchart illustrating operations of the process management module according to various embodiments.
  • a process management module may obtain a broadcasted intent.
  • the intent may include an application name and a value that is broadcast by a launcher (e.g., 320 in FIG. 3 or 420 in FIG. 4), for example, indicating a touchdown or touchup.
  • the process management module may obtain the application name from the intent.
  • the process management module may obtain application information corresponding to the obtained name from another component (e.g., package manager 209 of FIG. 2).
  • the process management module may set a value of a flag included in the application information based on the intent. If the intent includes a value indicating a touchdown, the value of the flag may be set to a value that signifies an empty process. If the intent includes a value indicating touch up, the flag may be set to a value that signifies the process holding the active component (e.g., foreground process).
  • the process management module may determine whether the flag value is a value that represents an empty process.
  • the process management module may determine whether application information (e.g., name) is present in the empty process list.
  • the process management module may execute an empty process of the application.
  • the process management module may write (append) the application information (e.g., name) to the empty process list.
  • the process management module may set a timer for managing the life cycle of the empty process to '0' and count the time.
  • operation 709 may be performed.
  • the presence of the application information in the empty process list means that user input (e.g., touchdown, long press, scrolling) is generated for the corresponding icon, and the empty process is executed, It may mean that the user input to the icon has been made again.
  • the process management module determines whether application information (e.g., name) is present in the empty process list .
  • the process management module terminates the time count, deletes the corresponding application information from the empty process list, For example, an operation of displaying an application screen).
  • the process management module may execute a default process (e.g., a template configuration and display and a process for starting an application).
  • Figure 8 is a flow diagram illustrating operations of a process management module for managing a process, according to various embodiments.
  • a process management module may determine whether the process of the executed application is an empty process.
  • the bean process may be performed by the occurrence of a touchdown event.
  • the process management module may determine whether the elapsed time since execution of the bean process has exceeded a given value (e.g., 1 second).
  • the process management module may terminate the bean process at operation 803.
  • the process management module determines whether the number of applications included in the empty process list (e.g., applications executed by the empty process) (For example, two).
  • the process management module deletes the information of the first application recorded in the empty process list in operation 805, That is, you can terminate the empty process that was loaded first in memory. Also, at operation 806, the process management module may add the information of the executed application to the empty process list.
  • the process management module may skip operation 805 and perform operation 806.
  • 9A to 9E are views for explaining an operation of managing a memory in an electronic device according to various embodiments.
  • the processor 120 when the icon 901 is touched up, processes an empty process 902 with no components in a normal process with components For example: foreground process).
  • the flag value of the application information can be changed from a value indicating an empty process to a value indicating a foreground process.
  • the home screen is composed of, for example, a plurality of pages, each page includes an icon, and one page can be displayed on the display.
  • the page switching can be done, for example, by the user's scrolling on the display.
  • page 903 may be the first page arranged. Therefore, even if a scroll 904 in the right direction is generated for the page 903, the page change is not performed and the touchdown event may occur because the icons 905, 906, and 907 are recognized as being continuously touched Accordingly, processor 120 in accordance with various embodiments may be configured to process beacon processes 905, 906, 907 corresponding to touched icons 905, 906, 907 in response to scrolling 904, as shown in Figure 9b (b) 905a, 906a, and 907a can be sequentially loaded into the memory. According to some embodiments, a plurality of icons are sequentially long pressed, so that corresponding bean processes may be sequentially loaded into memory.
  • the memory (e.g., volatile memory 134) according to various embodiments may be managed with an least recently used (LRU) algorithm for efficient use of the limited memory space.
  • LRU least recently used
  • the LRU algorithm includes an operation to manage termination of a process
  • a process with the lowest priority in terms of usability may be deleted first from the memory.
  • the process first loaded into the memory is first deleted from the memory
  • the bean process may be set lower than the other normal processes, so that the bean process can be preferentially deleted before other general processes. If the number of processes exceeds a predetermined value (for example, two), the first of the empty processes It may be deleted.
  • a predetermined value for example, two
  • the page 910 may be the first page arranged. Therefore, even if scrolls 911, 912, and 913 in the right direction are generated for the page 910, the page is not switched and one icon 915 is recognized as being touched multiple times, Lt; / RTI > Accordingly, the processor 120 according to various embodiments may load into the memory an empty process 915a corresponding to the icon 915 at the first touch, as shown in Figure 9c (b). The processor may also reset the counted time to, for example, '0 seconds' to determine whether to terminate the bean process 915a each time a touch on the icon 915 is generated. The processor 120 may terminate the bean process 915a if a certain period of time (e.g., one second) has elapsed after the touch.
  • a certain period of time e.g., one second
  • one icon may be long pressed several times in succession, and the corresponding bean process may then be loaded into memory at the first long press occurrence.
  • the processor counts time while the periodic long press is generated as described above, and can terminate the bean process when a predetermined time (e.g., 1 second) has elapsed after the occurrence of the first long press.
  • an empty process (hereinafter, referred to as a 'UserEmpty process') generated by a user input is an empty process created by another application (hereinafter referred to as an'EvEmpty process' ).
  • a 'UserEmpty process' an empty process created by another application (hereinafter referred to as an'EvEmpty process' ).
  • the flag value of the UserEmpty process and the AppEmpty process may be different.
  • the UserEmpty process 932a may be loaded into memory .
  • the processor 120 may change the UserEmpty process 932a to the AppEmpty process when receiving a message requesting execution of the same bean process from another application. Further, when such a change is made, the time count for determining whether to terminate the empty process can be terminated. That is, the AppEmpty process can be managed independently of the management of the UserEmpty process, for example, as in the management of a normal process.
  • An electronic device includes a touch sensitive display; A processor electrically coupled to the display; And a memory electrically coupled to the processor, wherein the memory, when executed, causes the processor to: display an icon on the display, receive a touchdown event for the icon via the display, In response to the touch up event, to configure a screen to be displayed on the display, to receive a touch up event for the icon via the display, and to display the configured screen in response to the touch up event .
  • the instructions may be for the processor to: display a screen of the application corresponding to the icon, following the configured screen.
  • the instructions may be for the processor to: load a first process of an application corresponding to the icon into the memory in response to the touchdown event.
  • the instructions may be for causing the processor to: delete the first process from the memory if it fails to receive the touchup event for a given time.
  • the instructions may be to cause the processor to: load a second process of the application into the memory if the touch-up event is received within the given time.
  • the second process may be an activity added to the first process.
  • the activity may include displaying an image of the application.
  • the instructions cause the processor to: change a state of the first process from a first state to a second state in response to the touchup event, and if the number of processes set to the first state exceeds a predetermined value , And to delete the process loaded into the memory first among the processes set in the first state.
  • the instructions may be for the processor to: change the state of the first process from the first state to the second state in response to the touchup event.
  • the process set to the second state may have a higher priority than the process set to the first state.
  • the instructions may be for the processor to: delete a process that is loaded into the memory based on the priority.
  • the instructions cause the processor to: count the time in response to the touchdown event and, if the counted time exceeds a predetermined value before receiving the touchup event, To delete the corresponding process from the memory and to recount the time when the same event as the touchdown event is received prior to the reception of the touchup event.
  • the instructions cause the processor to: count the time in response to the touchdown event and, if the counted time exceeds a predetermined value before receiving the touchup event, If the event generated by the execution of another application is related to the process before the reception of the touch up event and before the counted time exceeds the predetermined value, Lt; / RTI >
  • a method of operating an electronic device includes: displaying an icon on a touch sensitive display; Receiving a touchdown event for the icon via the touch sensitive display; Executing, in response to the touchdown event, a first process of an application corresponding to the icon; Receiving a touch up event for the icon via the display; And adding an activity of the application to the first process in response to the touchup event.
  • the method may further include terminating the first process if the touchup event is not received for a given time.
  • the activity may include displaying the screen of the application on the display.

Abstract

본 발명의 다양한 실시예에 따른 전자 장치는 터치 감응 디스플레이; 상기 디스플레이에 전기적으로 연결된 프로세서; 및 상기 프로세서에 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행될 때, 상기 프로세서가: 상기 디스플레이에 아이콘을 표시하고, 상기 디스플레이를 통해 상기 아이콘에 대한 터치 다운 이벤트를 수신하고, 상기 터치 다운 이벤트에 반응하여, 상기 디스플레이에 표시할 화면을 구성하고, 상기 디스플레이를 통해 상기 아이콘에 대한 터치 업 이벤트를 수신하고, 상기 터치 업 이벤트에 반응하여, 상기 구성된 화면을 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장할 수 있다. 그 외에도, 다양한 실시예들이 가능하다.

Description

어플리케이션 시작 방법 및 이를 구현하는 전자 장치
본 발명의 다양한 실시예는 어플리케이션을 신속하게 시작하기 위한 방법 및 장치에 관한 것이다.
전자 장치는 터치 감응 디스플레이를 구비할 수 있으며, 디스플레이를 통해 어플리케이션에 대응하는 아이콘을 표시할 수 있다. 아이콘에 대한 사용자의 터치 제스처에 반응하여, 전자 장치는 어플리케이션의 기능이나 서비스를 제공할 수 있다.
전자 장치는 어플리케이션과 관련된 화면을 디스플레이를 통해 제공할 수 있다. 이러한 화면 제공을 위한 동작은 예컨대, 아이콘에 대한 터치(바꾸어 말해, 터치 다운(touch down))의 해제(release)(바꾸어 말해, 터치 업(touch up))에 반응하여, 시작될 수 있다. 즉, 터치 업 시점에 상기 동작이 시작된다.
본 발명의 다양한 실시예는 터치 다운 시점에 상기 동작이 시작되도록 하여 사용자 입력에 신속하게 반응할 수 있다. 또한, 본 발명의 다양한 실시예는 어플리케이션의 빠른 시작을 위한 효율적인 메모리 관리 방법 및 장치를 제공할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치는 터치 감응 디스플레이; 상기 디스플레이에 전기적으로 연결된 프로세서; 및 상기 프로세서에 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행될 때, 상기 프로세서가: 상기 디스플레이에 아이콘을 표시하고, 상기 디스플레이를 통해 상기 아이콘에 대한 터치 다운 이벤트를 수신하고, 상기 터치 다운 이벤트에 반응하여, 상기 디스플레이에 표시할 화면을 구성하고, 상기 디스플레이를 통해 상기 아이콘에 대한 터치 업 이벤트를 수신하고, 상기 터치 업 이벤트에 반응하여, 상기 구성된 화면을 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장할 수 있다.
본 발명의 다양한 실시예에 따른 전자 장치를 동작하는 방법은 터치 감응 디스플레이에 아이콘을 표시하는 동작; 상기 터치 감응 디스플레이를 통해 상기 아이콘에 대한 터치 다운 이벤트를 수신하는 동작; 상기 터치 다운 이벤트에 반응하여, 상기 아이콘에 대응하는 어플리케이션의 제 1 프로세스를 실행하는 동작; 상기 디스플레이를 통해 상기 아이콘에 대한 터치 업 이벤트를 수신하는 동작; 및 상기 터치 업 이벤트에 반응하여, 상기 제 1 프로세스에 상기 어플리케이션의 액티비티(activity)를 추가하는 동작을 포함할 수 있다.
본 발명의 다양한 실시예에 따르면, 전자 장치는 사용자 입력에 신속하게 반응하여 어플리케이션을 시작할 수 있다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다.
도 2는 다양한 실시예에 따른 프로그램의 블록도이다.
도 3은 다양한 실시예에 따른 프로그램의 동작들을 설명하기 위한 도면이다.
도 4는 다양한 실시예에 따른 프로그램의 동작들을 설명하기 위한 도면이다.
도 5는 다양한 실시예에 따른 프로세서의 동작들을 설명하기 위한 흐름도이다.
도 6은 다양한 실시예에 따른 프로세서의 동작들을 설명하기 위한 흐름도이다.
도 7은 다양한 실시예에 따른, 프로세스 관리 모듈의 동작들을 설명하기 위한 흐름도이다.
도 8은 다양한 실시예에 따른 프로세스 관리 모듈의 동작들을 설명하기 위한 흐름도이다.
도 9a 내지 도 9e는 다양한 실시예에 따른 전자 장치에서 메모리를 관리하는 동작을 설명하기 위한 도면이다.
도 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), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 및 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 예를 들면, 표시 장치(160)(예: 디스플레이)에 임베디드된 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)의 경우와 같이, 일부의 구성요소들이 통합되어 구현될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 구동하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 및 연산을 수행할 수 있다. 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하여 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 운영되고, 추가적으로 또는 대체적으로, 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화된 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 여기서, 보조 프로세서(123)는 메인 프로세서(121)와 별개로 또는 임베디드되어 운영될 수 있다.
이런 경우, 보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 수행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부 구성 요소로서 구현될 수 있다. 메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 저장할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 저장되는 소프트웨어로서, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신하기 위한 장치로서, 예를 들면, 마이크, 마우스, 또는 키보드를 포함할 수 있다.
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력하기 위한 장치로서, 예를 들면, 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용되는 스피커와 전화 수신 전용으로 사용되는 리시버를 포함할 수 있다. 일실시예에 따르면, 리시버는 스피커와 일체 또는 별도로 형성될 수 있다.
표시 장치(160)는 전자 장치(101)의 사용자에게 정보를 시각적으로 제공하기 위한 장치로서, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치 회로(touch circuitry) 또는 터치에 대한 압력의 세기를 측정할 수 있는 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 유선 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)(예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 내부의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 외부 전자 장치(예: 전자 장치(102))와 유선 또는 무선으로 연결할 수 있는 지정된 프로토콜을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는 HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102))를 물리적으로 연결시킬 수 있는 커넥터, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈, 이미지 센서, 이미지 시그널 프로세서, 또는 플래시를 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리하기 위한 모듈로서, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구성될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급하기 위한 장치로서, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 유선 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되는, 유선 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함하고, 그 중 해당하는 통신 모듈을 이용하여 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 상술한 여러 종류의 통신 모듈(190)은 하나의 칩으로 구현되거나 또는 각각 별도의 칩으로 구현될 수 있다.
일실시예에 따르면, 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 사용자 정보를 이용하여 통신 네트워크 내에서 전자 장치(101)를 구별 및 인증할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부로 송신하거나 외부로부터 수신하기 위한 하나 이상의 안테나들을 포함할 수 있다. 일시예에 따르면, 통신 모듈(190)(예: 무선 통신 모듈(192))은 통신 방식에 적합한 안테나를 통하여 신호를 외부 전자 장치로 송신하거나, 외부 전자 장치로부터 수신할 수 있다.
상기 구성요소들 중 일부 구성요소들은 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input/output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되어 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 외부 전자 장치에서 실행될 수 있다. 일실시예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 외부 전자 장치에게 요청할 수 있다. 상기 요청을 수신한 외부 전자 장치는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
도 2은 다양한 실시예에 따른 프로그램(140)의 블록도(200)이다. 일실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들 웨어(144), 또는 상기 운영 체제(142) 상에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자의 사용 환경에서 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.
운영 체제(142)는 전자 장치(101)의 시스템 리소스 (예: 프로세스, 메모리, 또는 전원)를 제어(예: 할당 또는 회수)할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.
미들 웨어(144)는 어플리케이션(146)이 전자 장치(101)의 하나 이상의 리소스들이 제공하는 기능 또는 정보를 사용할 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들 웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다. 어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱을 이용하여 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 전력 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 바이오스(BIOS: basic input/output system)와 연동할 수 있다.
데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에서 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 또는 유선 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 발생된 이벤트(예: 통화, 메시지, 또는 알람)를 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)의 음성 통화 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 해당 음성 데이터에 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command) 또는 해당 음성 데이터에 기반하여 변환된 문자 데이터를 수신할 수 있다. 일 실시예에 따르면, 미들 웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들 웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 별도의 소프트웨어로 구현될 수 있다.
어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하기 위한 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달하거나, 또는 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다. 장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 표시 장치(160) 또는 카메라 모듈(180))의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 표시 장치(160) 또는 카메라 모듈(180)의 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치 중 적어도 하나를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및/또는 B 중 적어도 하나", "A, B 또는 C" 또는 "A, B 및/또는 C 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", "첫째" 또는 "둘째" 등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 모듈은 ASIC(application-specific integrated circuit)으로 구성될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 컴퓨터)로 읽을 수 있는 저장 매체(machine-readable storage media)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 명령어(또는, 인스트럭션(instruction))를 포함하는 소프트웨어(예: 프로그램(140))로 구현될 수 있다. 기기는, 저장 매체로부터 저장된 명령어를 호출하고, 호출된 명령어에 따라 동작이 가능한 장치로서, 개시된 실시예들에 따른 전자 장치(예: 전자 장치(101))를 포함할 수 있다. 상기 명령이 프로세서(예: 프로세서(120))에 의해 실행될 경우, 프로세서가 직접, 또는 상기 프로세서의 제어 하에 다른 구성요소들을 이용하여 상기 명령에 해당하는 기능을 수행할 수 있다. 명령은 컴파일러 또는 인터프리터에 의해 생성 또는 실행되는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 신호(signal)를 포함하지 않으며 실재(tangible)한다는 것을 의미할 뿐 데이터가 저장매체에 반영구적 또는 임시적으로 저장됨을 구분하지 않는다.
일시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 온라인으로 배포될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따른 구성 요소(예: 모듈 또는 프로그램) 각각은 단수 또는 복수의 개체로 구성될 수 있으며, 전술한 해당 서브 구성 요소들 중 일부 서브 구성 요소가 생략되거나, 또는 다른 서브 구성 요소가 다양한 실시예에 더 포함될 수 있다. 대체적으로 또는 추가적으로, 일부 구성 요소들(예: 모듈 또는 프로그램)은 하나의 개체로 통합되어, 통합되기 이전의 각각의 해당 구성 요소에 의해 수행되는 기능을 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따른, 모듈, 프로그램 또는 다른 구성 요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.
도 3은 다양한 실시예에 따른 프로그램(300)의 동작들을 설명하기 위한 도면이다. 도 3을 참조하면, 프로그램(300)(예: 도 1의 프로그램(140))은, 휘발성 메모리(예: 도 1의 휘발성 메모리(132))로 로드되어 프로세서(예: 도 1의 프로세서(120)에 의해 실행되는 것일 수 있다. 따라서, 프로그램(300)의 동작들은 프로세서가 수행하는 것으로 이해될 수 있다.
다양한 실시예에 따르면, 프로그램(300)은 어플리케이션(310), 런처(320), 프로세스 관리 모듈(330), 및 입력 모듈(340)을 포함할 수 있다. 어플리케이션(310)은 프로세스 관리 모듈(330)에 의해 실행되는 것으로서, 예컨대, 도 2에 개시된 어플리케이션(146)의 구성들 중 하나일 수 있다. 런처(320)는 입력 모듈(340)로부터 수신된 이벤트에 반응하여 프로세스 관리 모듈(330)의 동작을 제어하는 어플리케이션일 수 있다. 프로세스 관리 모듈(330)은 예컨대, 도 2의 윈도우 매니저(203) 또는 어플리케이션 매니저(201) 중 적어도 하나를 포함할 수 있다. 또한, 프로세스 관리 모듈(330)은 예컨대, 도 2의 미들웨어(144)에 포함되는 구성일 수 있고, 런처(320)로부터 수신된 정보에 대응하는 프로세스의 실행을 제어할 수 있다. 입력 모듈(340)은 예컨대, 도 2의 미들웨어(144)에 포함되는 구성일 수 있고, 사용자 입력을 런처(320)로 전달할 수 있다. 입력 모듈(340)은 예컨대, 적어도 일부가 도 2의 운영 체제(142)에 포함된 구성일 수 있다.
다양한 실시예에 따르면, 입력 모듈(340)은 터치 감응(touch sensitive) 디스플레이(예: 터치 회로를 갖는 표시 장치(도 1의 160))을 통해 터치 다운 이벤트의 발생을 인지할 수 있다. 예컨대, 상기 디스플레이의 화면을 통해 복수의 아이콘들이 표시될 수 있다. 아이콘은 특정 어플리케이션, 예컨대, 어플리케이션(310)에 대응될 수 있다. 터치 다운 이벤트는 어느 하나의 아이콘이 전도성 물체(예: 손가락, 펜)에 의해 터치된 상태를 의미할 수 있다. 입력 모듈(340)은 터치 다운 이벤트를 런처(320)로 전송(A)할 수 있다. 런처(320)는, 터치 다운 이벤트가 수신되면, 상기 터치된 아이콘에 관한 정보(예: 어플리케이션 이름)를 다른 구성(예: 패키지 매니저(213))으로부터 획득할 수 있다. 런처(320)는 획득된 정보에 기반하여 제 1 인텐트(intent)(예: '터치 다운'을 나타내는 값과 어플리케이션 이름을 포함)를 프로세스 관리 모듈(330)로 전송(B)할 수 있다. 일 실시예에 따르면, 전송(B) 방식은 브로드캐스트(broadcast) 방식일 수 있다. 인텐트는 모듈들 간에 송수신되는 것으로 신호(signal), 데이터 또는 메시지로 바꾸어 지칭될 수도 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(330)은 런처(320)로부터 제 1 인텐트의 수신에 반응하여 탬플릿을 구성할 수 있다. 예컨대, 프로세스 관리 모듈(330)은 탬플릿 구성을 위한 프로세스(process) 또는 액티비티(activity)를 저장 매체(예: 비휘발성 메모리(134))로부터 호출하여 실행할 수 있다. 일 실시예에 따르면, 탬플릿은 어플리케이션(310)의 화면에 앞서 디스플레이에 표시되는 화면(예: 윈도우 프레임 또는 그래픽 효과)일 수 있다.
다양한 실시예에 따르면, 입력 모듈(340)은 디스플레이를 통해 터치 업 이벤트의 발생을 인지할 수 있다. 터치 업 이벤트는 예컨대, 상기 터치된 상태의 해제를 의미할 수 있다. 입력 모듈(340)은 터치 업 이벤트를 런처(320)로 전송(C)할 수 있다. 런처(320)는, 터치 업 이벤트가 수신되면, 패키지 매니저(예: 패키지 매니저(213))로부터 상기 터치 해제된 아이콘에 관한 정보(예: 어플리케이션 이름)를 획득할 수 있다. 런처(320)는 획득된 정보에 기반하여 제 2 인텐트(예: '터치 업'을 나타내는 값과 어플리케이션 이름을 포함)를 프로세스 관리 모듈(330)로 전송(D)할 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(330)은 런처(320)로부터 제 2 인텐트의 수신에 반응하여 상기 구성된 탬플릿을 디스플레이에 표시할 수 있다. 예컨대, 프로세스 관리 모듈(330)은 탬플릿 표시를 위한 프로세스 또는 액티비티를 저장 매체(예: 비휘발성 메모리(134))로부터 호출하여 실행할 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(330)은 런처(320)의 액티비티(activitiy)를 관리할 수 있다. 예를 들어, 프로세스 관리 모듈(330)은 런처(320)의 액티비티(activity)를 일시 정지시킬 수 있다. 예컨대, 일시 정지는 런처(320)의 상태가 포그라운드(foreground)에서 백그라운드(background)로 전환됨을 의미할 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(330)은 어플리케이션(310)의 시작(launch)을 제어(E)하는 동작을 수행할 수 있다. 예컨대, 어플리케이션(310)의 시작을 제어(E)하는 동작은 어플리케이션(310)의 화면의 표시를 제어하는 동작을 포함할 수 있다. 일 실시예에 따르면, 프로세스 관리 모듈(330)은, 런처(320)의 상태가 포그라운드에서 백그라운드로 변경되면, 어플리케이션(310)의 시작을 제어할 수 있다.
다양한 실시예에 따르면, 아이콘이 터치되면 탬플릿이 구성되고(예: 터치 다운 시점에 탬플릿 구성이 시작되고) 상기 터치 해제되면 상기 구성된 탬플릿이 표시되고 이어서 해당 어플리케이션의 화면이 표시될 수 있다.
도 4는 다양한 실시예에 따른 프로그램(400)의 동작들을 설명하기 위한 도면이다. 도 4를 참조하면, 프로그램(400)(예: 도 1의 프로그램(140))은, 휘발성 메모리(예: 도 1의 휘발성 메모리(132))로 로드되어 프로세서(예: 도 1의 프로세서(120)에 의해 실행되는 것일 수 있다. 따라서, 프로그램(400)의 동작들은 프로세서가 수행하는 것으로 이해될 수 있다.
다양한 실시예에 따르면, 프로그램(400)은 어플리케이션(410), 런처(420), 프로세스 관리 모듈(430), 및 입력 모듈(440)을 포함할 수 있다. 일 실시예에 따르면, 프로그램(400)의 구성 요소들은 도 3의 프로그램(300)의 동일한 명칭의 구성 요소들이 수행하는 동작과 동일한 동작을 수행할 수 있다.
다양한 실시예에 따르면, 입력 모듈(440)은 터치 감응 디스플레이(예: 터치 회로를 갖는 표시 장치(도 1의 160))을 통해 터치 다운 이벤트의 발생을 인지할 수 있다. 터치 다운 이벤트는 어느 하나의 아이콘이 전도성 물체(예: 손가락, 펜)에 의해 터치된 상태를 의미할 수 있다. 입력 모듈(440)은 터치 다운 이벤트를 런처(420)로 전송(F)할 수 있다. 런처(420)는, 터치 다운 이벤트가 수신되면, 상기 터치된 아이콘에 관한 정보(예: 어플리케이션 이름)를 다른 구성(예: 패키지 매니저(213))으로부터 획득할 수 있다. 런처(420)는 획득된 정보에 기반하여 제 1 인텐트(intent)(예: '터치 다운'을 나타내는 값과 어플리케이션 이름을 포함)을 프로세스 관리 모듈(430)로 전송(G)할 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(430)은 런처(420)로부터 제 1 인텐트의 수신에 반응하여 어플리케이션(410)의 빈 프로세스(empty process)를 실행할 수 있다. 예를 들어, 프로세스는, 컨포넌트(component)의 보유 여부 및 보유하고 있는 컨포넌트의 상태에 따라, 포그라운드 프로세스(foreground process), 가시적 프로세스(visible process), 서비스 프로세스(service process), 백그라운드 프로세스(background process) 및 빈 프로세스로 구분될 수 있다. 예컨대, 포그라운드 프로세스는 사용자와 상호 작용하기 위해 활성화 상태인 컨포넌트를 갖고 있는 프로세스일 수 있다. 가시적 프로세스는 사용자와 상호 작용하고 있지는 않지만 화면을 통해 보여지는 컨포넌트를 갖는 프로세스일 수 있다. 서비스 프로세스는 사용자와 상호 작용하지도 화면을 통해 보여지지도 않지만 서비스(예: 오디오 재생, 데이터 다운로드)중인 컨포넌트를 갖는 프로세스일 수 있다. 백그라운드 프로세스는 실행이 중지된 상태의 컨포넌트를 갖는 프로세스일 수 있다. 빈 프로세스는 다른 종류의 프로세스들과 달리 어떠한 활성화된 컨포넌트들(components)(예: activity, service, receiver, provider)도 가지고 있지 않은 프로세스로 정의될 수 있다. 일 실시예에서, 빈 프로세스는, 메모리 부족 시, 다른 프로세스보다 가장 먼저 메모리에서 삭제되는, 가장 덜 중요한 것으로 설정될 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(430)은 빈 프로세스(empty process)의 생명 주기(lifecycle)를 관리하는 동작을 수행할 수 있다. 예를 들어, 빈 프로세스가 실행된 후, 주어진 시간(예: 1초) 내, 정해진 이벤트(예: 터치 업 이벤트)가 발생되지 않으면, 빈 프로세스는 종료(또는, 휘발성 메모리에서 삭제)될 수 있다. 빈 프로세스의 개수가 기 정해진 값(예: 2개)을 초과할 경우, 빈 프로세스들 중에서 맨 처음 메모리로 로드된 빈 프로세스가 종료될 수 있다.
다양한 실시예에 따르면, 입력 모듈(440)은 디스플레이를 통해 터치 업 이벤트의 발생을 인지할 수 있다. 입력 모듈(440)은 터치 업 이벤트를 런처(320)로 전송(H)할 수 있다. 런처(420)는, 터치 업 이벤트가 수신되면, 패키지 매니저(예: 패키지 매니저(213))로부터 상기 터치 해제된 아이콘에 관한 정보(예: 어플리케이션 이름)를 획득할 수 있다. 런처(420)는 획득된 정보에 기반하여 제 2 인텐트(예: '터치 업'을 나타내는 값과 어플리케이션 이름을 포함)를 프로세스 관리 모듈(430)로 전송(I)할 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(430)은 런처(420)로부터 제 2 인텐트의 수신에 반응하여 빈 프로세스에 컨포넌트(예: GUI(graphic user interface)를 구현하기 위한 액티비티)를 추가할 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(430)은 런처(420)의 액티비티(activitiy)를 관리할 수 있다. 예를 들어, 프로세스 관리 모듈(430)은 런처(420)의 액티비티(activity)를 일시 정지시킬 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(430)은 어플리케이션(410)의 시작을 제어(J)하는 동작을 수행할 수 있다. 예컨대, 상기 어플리케이션(410)의 시작을 제어(J)하는 동작은 상기 빈 프로세스에 추가된 컨포넌트의 실행을 제어하는 동작을 포함할 수 있다. 일 실시예에 따르면, 프로세스 관리 모듈(430)은, 런처(420)의 상태가 포워그라운드에서 백그라운드로 변경되면, 어플리케이션(410)의 시작을 제어할 수 있다.
다양한 실시예에 따르면, 프로세스 관리 모듈(430)은, 어플리케이션(410)이 시작함에 따라, 프로세스의 상태를 관리할 수 있다. 예컨대, 어플리케이션(310)이 시작될 경우, 빈 프로세스의 상태가 변경될 수 있다. 예를 들어, 해당 어플리케이션 정보에서 프로세스의 상태를 나타내는 플래그(flag) 값이 빈(empty)을 나타내는 값에서 포그라운드를 나타내는 값으로 변경될 수 있다.
다양한 실시예에 따르면, 도시하지 않았으나, 프로세스 관리 모듈(430)은, 제 1 인텐트의 수신에 반응하여, 탬플릿을 구성하고 빈 프로세스를 실행할 수 있다. 또한, 프로세스 관리 모듈(430)은, 제 2 인텐트의 수신에 반응하여, 탬플릿을 표시하고 빈 프로세스에 컨포넌트를 추가할 수 있다.
도 5는 다양한 실시예에 따른 프로세서의 동작들을 설명하기 위한 흐름도이다.
도 5를 참조하면, 다양한 실시예에 따른 아래의 동작들은 전자 장치(101), 프로세서(120) 및 프로그램(도 1의 140, 도 3의 300, 도 4의 400) 중 어느 하나를 통해서 실행될 수 있다.
일 실시예에 따르면, 동작 510에서 프로세서는 표시 장치(예: 도 1의 160)을 통해 터치 다운 이벤트를 수신할 수 있다. 예를 들어, 터치 다운 이벤트는 화면을 통해 표시된 아이콘이 전도성 물체에 의해 터치된 상태를 의미할 수 있다.
일 실시예에 따르면, 동작 520에서 프로세서는 터치 다운 이벤트에 반응하여, 탬플릿을 구성할 수 있다.
일 실시예에 따르면, 동작 530에서 프로세서는 표시 장치를 통해 터치 업 이벤트를 수신할 수 있다. 예를 들어, 터치 업 이벤트는 상기 터치된 상태의 해제를 의미할 수 있다.
일 실시예에 따르면, 동작 540에서 프로세서는 터치 업 이벤트에 반응하여, 구성된 탬플릿을 표시 장치를 통해 표시할 수 있다.
일 실시예에 따르면, 동작 550에서 프로세서는 상기 터치된 아이콘에 대응하는 어플리케이션을 시작할 수 있다. 예를 들어, 프로세서는 어플리케이션의 화면을, 탬플릿 대신에, 표시 장치를 통해 표시할 수 있다.
도 6은 본 발명의 다양한 실시예에 따른 프로세서의 동작들을 설명하기 위한 흐름도이다.
도 6을 참조하면, 다양한 실시예에 따른 아래의 동작들은 전자 장치(101), 프로세서(120) 및 프로그램(도 1의 140, 도 3의 300, 도 4의 400) 중 어느 하나를 통해서 실행될 수 있다.
일 실시예에 따르면, 동작 610에서 프로세서는 표시 장치(예: 도 1의 160)을 통해 터치 다운 이벤트를 수신할 수 있다. 예를 들어, 터치 다운 이벤트는 화면을 통해 표시된 아이콘이 전도성 물체에 의해 터치된 상태를 의미할 수 있다.
일 실시예에 따르면, 동작 620에서 프로세서는 터치 다운 이벤트에 반응하여, 터치된 아이콘에 대응하는 어플리케이션의 빈 프로세스를 실행할 수 있다.
일 실시예에 따르면, 동작 630에서 프로세서는 표시 장치를 통해 터치 업 이벤트를 수신할 수 있다. 예를 들어, 터치 업 이벤트는 상기 터치된 상태의 해제를 의미할 수 있다.
일 실시예에 따르면, 동작 640에서 프로세서는 터치 업 이벤트에 반응하여, 빈 프로세스에 액티비티를 추가할 수 있다. 예컨데, 액티비티는 사용자와 상호 작용하기 위한 어플리케이션의 GUI(graphic user interface)를 표시하도록 설정된 명령어들을 포함할 수 있다.
일 실시예에 따르면, 동작 650에서 프로세서는 상기 터치된 아이콘에 대응하는 어플리케이션을 시작할 수 있다. 예컨대, 프로세서는 상기 추가된 액티비티를 실행할 수 있다.
도 7은 다양한 실시예에 따른 프로세스 관리 모듈의 동작들을 설명하기 위한 흐름도이다.
도 7을 참조하면, 다양한 실시예에 따른 아래의 동작들은 전자 장치(101), 프로세서(120) 및 프로그램(도 1의 140, 도 3의 300, 도 4의 400) 중 어느 하나를 통해서 실행될 수 있다.
일 실시예에 따르면, 동작 701에서 프로세스 관리 모듈(예: 도 3의 330 또는 도 4의 430)은 브로드캐스트(broadcast)된 인텐트를 획득할 수 있다. 일 실시예에 따르면, 인텐트는 런처(예: 도 3의 320 또는 도 4의 420)에 의해 브로드캐스트된 것으로 예컨대, 터치 다운 또는 터치 업을 나타내는 값과 어플리케이션 이름을 포함할 수 있다.
일 실시예에 따르면, 동작 702에서 프로세스 관리 모듈은 인텐트에서 어플리케이션 이름을 획득할 수 있다.
일 실시예에 따르면, 동작 703에서 프로세스 관리 모듈은 획득된 이름에 대응하는 어플리케이션 정보를 다른 구성 요소(예: 도 2의 패키지 매니저(209))로부터 획득할 수 있다.
일 실시예에 따르면, 동작 704에서 프로세스 관리 모듈은 인텐트에 기초하여 어플리케이션 정보에 포함된 플래그(flag)의 값을 설정할 수 있다. 인텐트가 터치 다운을 나타내는 값을 포함하는 경우 플래그의 값은 빈 프로세스를 의미하는 값으로 설정될 수 있다. 인텐트가 터치 업을 나타내는 값을 포함하는 경우 플래그는 활성화 상태의 컨포넌트를 보유한 프로세스(예: 포그라운드 프로세스)를 의미하는 값으로 설정될 수 있다.
일 실시예에 따르면, 동작 705에서 프로세스 관리 모듈은 플래그 값이 빈 프로세스를 의미하는 값인지 여부를 판단할 수 있다.
일 실시예에 따르면, 동작 705에서의 판단 결과 플래그 값이 빈 프로세스를 의미하는 경우, 동작 706에서 프로세스 관리 모듈은 어플리케이션 정보(예: 이름)가 빈 프로세스 목록에 존재하는지 여부를 판단할 수 있다.
일 실시예에 따르면, 동작 706에서의 판단 결과 빈 프로세스 목록에 존재하지 않은 경우, 동작 707에서 프로세스 관리 모듈은 어플리케이션의 빈 프로세스를 실행할 수 있다. 동작 708에서 프로세스 관리 모듈은 어플리케이션 정보(예: 이름)를 빈 프로세스 목록에 기록(추가)할 수 있다. 동작 709에서 프로세스 관리 모듈은 빈 프로세스의 생명 주기를 관리하기 위한 타이머를 '0'으로 설정하고 시간을 카운트할 수 있다.
일 실시예에 따르면, 동작 706에서의 판단 결과 빈 프로세스 목록에 존재하는 경우, 상기의 동작 709를 수행할 수 있다. 여기서, 빈 프로세스 목록에 어플리케이션 정보가 존재한다는 것은, 해당 아이콘에 대한 사용자 입력(예: 터치 다운, 롱 프레스, 스크롤)이 발생되고, 이에 따라 빈 프로세스가 실행되고 그 후 종료되지 않은 상태에서, 해당 아이콘에 대한 사용자 입력이 재차 이루어졌다는 것을 의미할 수 있다.
일 실시예에 따르면, 동작 705에서의 판단 결과 플래그 값이 빈 프로세스가 아닌 다른 프로세스를 나타내는 경우, 동작 710에서 프로세스 관리 모듈은 어플리케이션 정보(예: 이름)가 빈 프로세스 목록에 존재하는지 여부를 판단할 수 있다.
일 실시예에 따르면, 동작 710에서 어플리케이션 정보가 빈 프로세스 목록에 존재하는 것으로 판단된 경우, 동작 711에서 프로세스 관리 모듈은 시간 카운트를 종료하고 빈 프로세스 목록에서 해당 어플리케이션 정보를 삭제하고, 어플리케이션의 컨포넌트(예컨대, 어플리케이션 화면을 표시하는 동작)를 실행할 수 있다.
일 실시예에 따르면, 동작 710에서 어플리케이션 정보가 빈 프로세스 목록에 존재하지 않은 것으로 판단된 경우, 상기 획득된 인텐트가 사용자 입력(예: 터치 업)에 의해 발생된 것이 아닌, 다른 어플리케이션의 동작에 의해 발생된 것일 수 있다. 동작 712에서 프로세스 관리 모듈은 디폴트(default) 프로세스(예: 탬플릿 구성 및 표시 그리고 어플리케이션의 시작을 위한 프로세스)를 실행할 수 있다.
도 8은 다양한 실시예에 따른, 프로세스의 관리를 위한 프로세스 관리 모듈의 동작들을 설명하기 위한 흐름도이다.
도 8을 참조하면, 다양한 실시예에 따른 아래의 동작들은 전자 장치(101), 프로세서(120) 및 프로그램(도 1의 140, 도 3의 300, 도 4의 400) 중 어느 하나를 통해서 실행될 수 있다.
일 실시예에 따르면, 동작 801에서 프로세스 관리 모듈(예: 도 3의 330 또는 도 4의 430)은 실행된 어플리케이션의 프로세스가 빈 프로세스인지 여부를 판단할 수 있다. 일 실시예에서, 빈 프로세스는 터치 다운 이벤트의 발생에 의해 실행된 것일 수 있다.
일 실시예에 따르면, 빈 프로세스인 경우, 동작 802에서 프로세스 관리 모듈은 빈 프로세스의 실행 후 경과 시간이 주어진 값(예: 1초)을 초과하였는지 여부를 판단할 수 있다.
일 실시예에 따르면, 주어진 값(예: 1초)을 초과한 경우, 동작 803에서 프로세스 관리 모듈은 빈 프로세스를 종료시킬 수 있다.
일 실시예에 따르면, 주어진 값(예: 1초)을 초과하지 않은 경우 동작 804에서 프로세스 관리 모듈은 빈 프로세스 목록에 포함된 어플리케이션(예: 빈 프로세스에 의해 실행된 어플리케이션)의 개수가 기 정해진 값(예: 2개)을 초과하는지 여부를 판단할 수 있다.
일 실시예에 따르면, 동작 804에서의 판단 결과, 기 정해진 값을 초과한 경우, 동작 805에서 프로세스 관리 모듈은 빈 프로세스 목록에 맨 처음 기록된 어플리케이션의 정보를 삭제하고, 삭제된 어플리케이션 정보에 대응하는 즉, 메모리에 가장 먼저 로드된 빈 프로세스를 종료시킬 수 있다. 또한, 동작 806에서 프로세스 관리 모듈은 빈 프로세스 목록에 상기 실행된 어플리케이션의 정보를 추가할 수 있다.
일 실시예에 따르면, 동작 804에서의 판단 결과, 기 정해진 값을 초과하지 않는 경우, 프로세스 관리 모듈은 동작 805를 생략하고 동작 806을 수행할 수 있다.
도 9a 내지 도 9e는 다양한 실시예에 따른 전자 장치에서 메모리를 관리하는 동작을 설명하기 위한 도면이다.
도 9a_(a)를 참조하면, 다양한 실시예에 따른 전자 장치(101)의 디스플레이에 표시된 아이콘(901)이 터치(터치 다운)되면, 프로세서(120)는 아이콘(901)에 대응하는 어플리케이션의 빈 프로세스(902)를 호출하여 휘발성 메모리(132)로 로드할 수 있다.
도 9a_(b)를 참조하면, 아이콘(901)이 터치 해제(터치 업)되면, 다양한 실시예에 따른 프로세서(120)는 컨포넌트가 없는 빈 프로세스(902)를 컨포넌트를 갖는 일반(normal) 프로세스(예: 포그라운드 프로세스)로 변경할 수 있다. 예컨대, 해당 어플리케이션 정보의 플래그 값을 빈 프로세스를 의미하는 값에서 포그라운드 프로세스를 의미하는 값으로 변경할 수 있다.
홈 화면은 예컨대, 다수의 페이지로 구성되고, 각각의 페이지에 아이콘이 포함되며, 하나의 페이지가 디스플레이에 표시될 수 있다. 페이지 전환은 예컨대, 디스플레이에 대한 사용자의 스크롤에 의해 이루어질 수 있다.
도 9b_(a)를 참조하면, 페이지(903)는 첫 번째로 배열된 페이지일 수 있다. 때문에, 페이지(903)에 대한 오른쪽 방향의 스크롤(904)이 발생되더라도 페이지 전환은 이루어지지 않고, 아이콘들(905, 906, 907)이 연속적으로 터치된 것으로 인식됨으로써 터치 다운 이벤트가 발생할 수 있다 이에 따라, 다양한 실시예에 따른 프로세서(120)는, 도 9b_(b)에 도시된 바와 같이, 스크롤(904)에 반응하여, 터치된 아이콘들(905, 906, 907)에 대응하는 빈 프로세스들(905a, 906a, 907a)을 순차적으로 메모리에 로드할 수 있다. 어떠한 실시예에 따르면, 다수의 아이콘들이 순차적으로 롱 프레스됨으로써, 대응하는 빈 프로세스들이 순차적으로 메모리에 로드될 수도 있다.
다양한 실시예에 따른 메모리(예: 휘발성 메모리(134)는, 한정된 메모리 공간의 효율적인 사용을 위해, LRU(least recently used) 알고리즘으로 관리될 수 있다. LRU 알고리즘은 프로세스의 종료를 관리하는 동작을 포함할 수 있다. 이러한 관리 동작에 따라, 프로세스들 중 사용 가능성 면에서 우선 순위가 가장 낮은 프로세스가 가장 먼저 메모리에서 삭제될 수 있다. 일례로, 메모리로 가장 먼저 로드된 프로세스가 가장 먼저 메모리에서 삭제될 수 있다. 다른 예로, 우선 순위에 있어서 빈 프로세스가 다른 일반 프로세스(normal process)보다 낮게 책정될 수 있다. 이에 따라, 빈 프로세스가 다른 일반 프로세스에 앞서 우선적으로 삭제될 수 있다. 또 다른 예로, 빈 프로세스의 개수가 기 정해진 값(예: 2개)을 초과한 경우, 빈 프로세스들 중 가장 먼저 로드된 프로세스가 삭제될 수 있다.
도 9c_(a)를 참조하면, 페이지(910)는 첫 번째로 배열된 페이지일 수 있다. 때문에, 페이지(910)에 대한 오른쪽 방향의 스크롤들(911, 912, 913)이 연속해서 발생되더라도 페이지 전환은 이루어지지 않고, 하나의 아이콘(915)이 여러 번 터치된 것으로 인식됨으로써 터치 다운 이벤트가 발생할 수 있다. 이에 따라, 다양한 실시예에 따른 프로세서(120)는 도 9c_(b)에 도시된 바와 같이, 첫 번째 터치 시, 아이콘(915)에 대응하는 빈 프로세스(915a)를 메모리로 로드할 수 있다. 또한, 프로세서는, 아이콘(915)에 대한 터치가 발생될 때마다, 빈 프로세스(915a)의 종료 여부를 결정하기 위해 카운트된 시간을 예컨대, '0초'로 리셋(reset)할 수 있다. 프로세서(120)는, 터치 후 일정 시간(예: 1초)이 경과될 경우, 빈 프로세스(915a)를 종료할 수 있다.
어떠한 실시예에 따르면, 하나의 아이콘이 연속해서 여러 번 롱 프레스될 수 있고, 이에 따라 대응하는 빈 프로세스가, 첫 번째 롱 프레스 발생 시, 메모리로 로드될 수 있다. 프로세서는, 상기와 같이 주기적인 롱 프레스가 발생되는 동안, 시간을 카운트하고, 첫 번째 롱 프레스 발생 후 일정 시간(예: 1초)이 경과되면, 빈 프로세스를 종료할 수 있다.
도 9d를 참조하면, 터치된 아이콘(920)에 대응하는 프로세스(920a)가 이미 메모리에 로드되어 있고 이것이 일반 프로세스인 경우, 빈 프로세스의 생성은 생략될 수 있다.
도 9e를 참조하면, 사용자 입력에 의해 생성된 빈 프로세스(이하, 설명의 편의상, 'UserEmpty 프로세스'라 칭함)는 다른 어플리케이션에 의해 생성된 빈 프로세스(이하, 설명의 편의상, 'AppEmpty 프로세스'이라 칭함)와 구별될 수 있다. 예를 들어, UserEmpty 프로세스의 플래그 값과 AppEmpty 프로세스이 다를 수 있다.
도 9e_(a)를 참조하면, 예컨대, 스크롤(931)에 의해 디스플레이에 표시된 아이콘(932)이 터치 다운된 것으로 프로세서(120)에 의해 인식되면, UserEmpty 프로세스(932a)가 메모리로 로드될 수 있다. 다양한 실시예에 따른 프로세서(120)는, 다른 어플리케이션으로부터 동일한 빈 프로세스의 실행을 요청하는 메시지를 수신할 경우, UserEmpty 프로세스(932a)를 AppEmpty 프로세스로 변경할 수 있다. 또한, 이와 같은 변경이 이루어지면, 빈 프로세스의 종료 여부를 결정하기 위한 시간 카운트는 종료될 수 있다. 즉, AppEmpty 프로세스는, UserEmpty 프로세스의 관리와 무관하게, 예컨대, 일반 프로세스(normal process)의 관리와 동일하게, 관리될 수 있다.
다양한 실시예에 따른 전자 장치는, 터치 감응 디스플레이; 상기 디스플레이에 전기적으로 연결된 프로세서; 및 상기 프로세서에 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행될 때, 상기 프로세서가: 상기 디스플레이에 아이콘을 표시하고, 상기 디스플레이를 통해 상기 아이콘에 대한 터치 다운 이벤트를 수신하고, 상기 터치 다운 이벤트에 반응하여, 상기 디스플레이에 표시할 화면을 구성하고, 상기 디스플레이를 통해 상기 아이콘에 대한 터치 업 이벤트를 수신하고, 상기 터치 업 이벤트에 반응하여, 상기 구성된 화면을 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장할 수 있다.
상기 인스트럭션들은 상기 프로세서가: 상기 구성된 화면에 이어서, 상기 아이콘에 대응하는 어플리케이션의 화면을 표시하도록 하는 것일 수 있다.
상기 인스트럭션들은 상기 프로세서가: 상기 터치 다운 이벤트에 반응하여, 상기 아이콘에 대응하는 어플리케이션의 제 1 프로세스를 상기 메모리로 로드하도록 하는 것일 수 있다.
상기 인스트럭션들은 상기 프로세서가: 주어진 시간 동안, 상기 터치 업 이벤트를 수신하지 못한 경우, 상기 제 1 프로세스를 상기 메모리에서 삭제하도록 하는 것일 수 있다.
상기 인스트럭션들은 상기 프로세서가: 상기 주어진 시간 내 상기 터치 업 이벤트를 수신한 경우, 상기 어플리케이션의 제 2 프로세스를 상기 메모리로 로드하도록 하는 것일 수 있다.
상기 제 2 프로세스는 상기 제 1 프로세스에 액티비티(activity)가 추가된 것일 수 있다.
상기 액티비티는 상기 어플리케이션의 화면을 표시하는 동작을 포함할 수 있다.
상기 인스트럭션들은 상기 프로세서가: 상기 터치 업 이벤트에 반응하여, 상기 제 1 프로세스의 상태를 제 1 상태에서 제 2 상태로 변경하고, 상기 제 1 상태로 설정된 프로세스의 개수가 기 정해진 값을 초과할 경우, 상기 제 1 상태로 설정된 프로세스들 중 가장 먼저 상기 메모리로 로드된 프로세스를 삭제하도록 하는 것일 수 있다.
상기 인스트럭션들은 상기 프로세서가: 상기 터치 업 이벤트에 반응하여, 상기 제 1 프로세스의 상태를 제 1 상태에서 제 2 상태로 변경하도록 하는 것일 수 있다. 상기 제 2 상태로 설정된 프로세스는 상기 제 1 상태로 설정된 프로세스보다 우선 순위가 높은 것일 수 있다.
상기 인스트럭션들은 상기 프로세서가: 상기 우선 순위에 기초하여, 상기 메모리로 로드되어 있는 프로세스를 삭제하도록 하는 것일 수 있다.
상기 인스트럭션들은 상기 프로세서가: 상기 터치 다운 이벤트에 반응하여, 시간을 카운트하고, 상기 터치 업 이벤트의 수신 전에, 상기 카운트된 시간이 기 정해진 값을 초과할 경우, 상기 메모리로 로드된, 상기 아이콘에 대응하는 프로세스를 상기 메모리에서 삭제하고, 상기 터치 업 이벤트의 수신 전에, 상기 터치 다운 이벤트와 동일한 이벤트가 수신될 경우, 시간을 다시 카운트하도록 하는 것일 수 있다.
상기 인스트럭션들은 상기 프로세서가: 상기 터치 다운 이벤트에 반응하여, 시간을 카운트하고, 상기 터치 업 이벤트의 수신 전에, 상기 카운트된 시간이 기 정해진 값을 초과할 경우, 상기 메모리로 로드된, 상기 아이콘에 대응하는 프로세스를 상기 메모리에서 삭제하고, 상기 터치 업 이벤트의 수신 전 그리고 상기 카운트된 시간이 기 정해진 값을 초과하기 전에, 다른 어플리케이션의 실행에 의해, 발생된 이벤트가 상기 프로세스와 관련된 것이면, 상기 카운트를 종료하도록 하는 것일 수 있다.
다양한 실시예에 따른 전자 장치를 동작하는 방법은 터치 감응 디스플레이에 아이콘을 표시하는 동작; 상기 터치 감응 디스플레이를 통해 상기 아이콘에 대한 터치 다운 이벤트를 수신하는 동작; 상기 터치 다운 이벤트에 반응하여, 상기 아이콘에 대응하는 어플리케이션의 제 1 프로세스를 실행하는 동작; 상기 디스플레이를 통해 상기 아이콘에 대한 터치 업 이벤트를 수신하는 동작; 및 상기 터치 업 이벤트에 반응하여, 상기 제 1 프로세스에 상기 어플리케이션의 액티비티(activity)를 추가하는 동작을 포함할 수 있다.
상기 방법은 주어진 시간 동안, 상기 터치 업 이벤트를 수신하지 못한 경우, 상기 제 1 프로세스를 종료하는 동작을 더 포함할 수 있다.
상기 액티비티는 상기 어플리케이션의 화면을 상기 디스플레이에 표시하는 동작을 포함할 수 있다.
본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 실시예에 따른 기술 내용을 쉽게 설명하고 본 발명의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 개시된 실시예들 이외에도 본 발명의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 발명의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다.

Claims (15)

  1. 전자 장치에 있어서,
    터치 감응 디스플레이;
    상기 디스플레이에 전기적으로 연결된 프로세서; 및
    상기 프로세서에 전기적으로 연결된 메모리를 포함하고,
    상기 메모리는, 실행될 때, 상기 프로세서가:
    상기 디스플레이에 아이콘을 표시하고,
    상기 디스플레이를 통해 상기 아이콘에 대한 터치 다운 이벤트를 수신하고,
    상기 터치 다운 이벤트에 반응하여, 상기 디스플레이에 표시할 화면을 구성하고,
    상기 디스플레이를 통해 상기 아이콘에 대한 터치 업 이벤트를 수신하고,
    상기 터치 업 이벤트에 반응하여, 상기 구성된 화면을 상기 디스플레이에 표시하도록 하는 인스트럭션들을 저장하는 전자 장치.
  2. 제 1 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    상기 구성된 화면에 이어서, 상기 아이콘에 대응하는 어플리케이션의 화면을 표시하도록 하는 전자 장치.
  3. 제 1 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    상기 터치 다운 이벤트에 반응하여, 상기 아이콘에 대응하는 어플리케이션의 제 1 프로세스를 상기 메모리로 로드하도록 하는 전자 장치.
  4. 제 3 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    주어진 시간 동안, 상기 터치 업 이벤트를 수신하지 못한 경우, 상기 제 1 프로세스를 상기 메모리에서 삭제하도록 하는 전자 장치.
  5. 제 3 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    상기 주어진 시간 내 상기 터치 업 이벤트를 수신한 경우, 상기 어플리케이션의 제 2 프로세스를 상기 메모리로 로드하도록 하는 전자 장치.
  6. 제 5 항에 있어서, 상기 제 2 프로세스는 상기 제 1 프로세스에 액티비티(activity)가 추가된 것인,
    전자 장치.
  7. 제 6 항에 있어서, 상기 액티비티는 상기 어플리케이션의 화면을 표시하는 동작을 포함하는 것인,
    전자 장치.
  8. 제 3 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    상기 터치 업 이벤트에 반응하여, 상기 제 1 프로세스의 상태를 제 1 상태에서 제 2 상태로 변경하도록 하는 것이고,
    상기 제 1 상태로 설정된 프로세스의 개수가 기 정해진 값을 초과할 경우, 상기 제 1 상태로 설정된 프로세스들 중 가장 먼저 상기 메모리로 로드된 프로세스를 삭제하도록 하는 전자 장치.
  9. 제 3 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    상기 터치 업 이벤트에 반응하여, 상기 제 1 프로세스의 상태를 제 1 상태에서 제 2 상태로 변경하도록 하는 것이고,
    상기 제 2 상태로 설정된 프로세스는 상기 제 1 상태로 설정된 프로세스보다 우선 순위가 높은 것인,
    전자 장치.
  10. 제 9 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    상기 우선 순위에 기초하여, 상기 메모리로 로드되어 있는 프로세스를 삭제하도록 하는 전자 장치.
  11. 제 1 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    상기 터치 다운 이벤트에 반응하여, 시간을 카운트하고,
    상기 터치 업 이벤트의 수신 전에, 상기 카운트된 시간이 기 정해진 값을 초과할 경우, 상기 메모리로 로드된, 상기 아이콘에 대응하는 프로세스를 상기 메모리에서 삭제하고,
    상기 터치 업 이벤트의 수신 전에, 상기 터치 다운 이벤트와 동일한 이벤트가 수신될 경우, 시간을 다시 카운트하도록 하는 전자 장치.
  12. 제 1 항에 있어서, 상기 인스트럭션들은 상기 프로세서가:
    상기 터치 다운 이벤트에 반응하여, 시간을 카운트하고,
    상기 터치 업 이벤트의 수신 전에, 상기 카운트된 시간이 기 정해진 값을 초과할 경우, 상기 메모리로 로드된, 상기 아이콘에 대응하는 프로세스를 상기 메모리에서 삭제하고,
    상기 터치 업 이벤트의 수신 전 그리고 상기 카운트된 시간이 기 정해진 값을 초과하기 전에, 다른 어플리케이션의 실행에 의해, 발생된 이벤트가 상기 프로세스와 관련된 것이면, 상기 카운트를 종료하도록 하는 전자 장치.
  13. 전자 장치를 동작하는 방법에 있어서,
    터치 감응 디스플레이에 아이콘을 표시하는 동작;
    상기 터치 감응 디스플레이를 통해 상기 아이콘에 대한 터치 다운 이벤트를 수신하는 동작;
    상기 터치 다운 이벤트에 반응하여, 상기 아이콘에 대응하는 어플리케이션의 제 1 프로세스를 실행하는 동작;
    상기 디스플레이를 통해 상기 아이콘에 대한 터치 업 이벤트를 수신하는 동작; 및
    상기 터치 업 이벤트에 반응하여, 상기 제 1 프로세스에 상기 어플리케이션의 액티비티(activity)를 추가하는 동작을 포함하는 방법.
  14. 제 13 항에 있어서,
    주어진 시간 동안, 상기 터치 업 이벤트를 수신하지 못한 경우, 상기 제 1 프로세스를 종료하는 동작을 더 포함하는 방법.
  15. 제 13 항에 있어서, 상기 액티비티는,
    상기 어플리케이션의 화면을 상기 디스플레이에 표시하는 동작을 포함하는 방법.
PCT/KR2018/007748 2017-09-01 2018-07-09 어플리케이션 시작 방법 및 이를 구현하는 전자 장치 WO2019045255A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/642,726 US20200201518A1 (en) 2017-09-01 2018-07-09 Method for starting application and electronic device for implementing same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170111839A KR20190025328A (ko) 2017-09-01 2017-09-01 어플리케이션 시작 방법 및 이를 구현하는 전자 장치
KR10-2017-0111839 2017-09-01

Publications (1)

Publication Number Publication Date
WO2019045255A1 true WO2019045255A1 (ko) 2019-03-07

Family

ID=65527708

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2018/007748 WO2019045255A1 (ko) 2017-09-01 2018-07-09 어플리케이션 시작 방법 및 이를 구현하는 전자 장치

Country Status (3)

Country Link
US (1) US20200201518A1 (ko)
KR (1) KR20190025328A (ko)
WO (1) WO2019045255A1 (ko)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10698533B2 (en) 2017-09-11 2020-06-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for responding to touch operation and electronic device
EP3640783B1 (en) * 2017-09-11 2023-12-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Touch operation response method and device
WO2019047234A1 (zh) 2017-09-11 2019-03-14 广东欧珀移动通信有限公司 触摸操作响应方法及装置
WO2019047226A1 (zh) 2017-09-11 2019-03-14 广东欧珀移动通信有限公司 触摸操作响应方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130032924A (ko) * 2011-09-24 2013-04-03 주식회사 인프라웨어테크놀러지 스마트 단말을 이용한 안드로이드 플랫폼 기반의 애플리케이션 실행 단말 제어방법 및 이를 위한 컴퓨터로 판독가능한 기록매체
KR20140002283A (ko) * 2012-06-28 2014-01-08 주식회사 아하정보통신 전자칠판의 바탕화면 클릭 실행 시스템 및 실행 방법
KR20150051771A (ko) * 2013-11-05 2015-05-13 엘지전자 주식회사 이동 단말기 및 이의 제어방법
WO2017026570A1 (ko) * 2015-08-11 2017-02-16 엘지전자 주식회사 이동단말기 및 그 제어방법
KR20170095635A (ko) * 2016-02-15 2017-08-23 삼성전자주식회사 전자 장치 및 그 어플리케이션 전환 및 정렬 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130032924A (ko) * 2011-09-24 2013-04-03 주식회사 인프라웨어테크놀러지 스마트 단말을 이용한 안드로이드 플랫폼 기반의 애플리케이션 실행 단말 제어방법 및 이를 위한 컴퓨터로 판독가능한 기록매체
KR20140002283A (ko) * 2012-06-28 2014-01-08 주식회사 아하정보통신 전자칠판의 바탕화면 클릭 실행 시스템 및 실행 방법
KR20150051771A (ko) * 2013-11-05 2015-05-13 엘지전자 주식회사 이동 단말기 및 이의 제어방법
WO2017026570A1 (ko) * 2015-08-11 2017-02-16 엘지전자 주식회사 이동단말기 및 그 제어방법
KR20170095635A (ko) * 2016-02-15 2017-08-23 삼성전자주식회사 전자 장치 및 그 어플리케이션 전환 및 정렬 방법

Also Published As

Publication number Publication date
KR20190025328A (ko) 2019-03-11
US20200201518A1 (en) 2020-06-25

Similar Documents

Publication Publication Date Title
WO2017213358A1 (en) Electronic device and method for activating applications therefor
WO2019088793A1 (ko) 전자 장치 및 이를 이용한 화면 공유 방법
WO2020085636A1 (en) Electronic device for displaying list of executable applications on split screen and operating method thereof
WO2016163739A1 (en) Apparatus and method for setting camera
WO2015030529A1 (ko) 곡면 바닥을 가지는 전자 장치 및 그 동작 방법
WO2019045255A1 (ko) 어플리케이션 시작 방법 및 이를 구현하는 전자 장치
WO2018021678A1 (en) Electronic device and method for operating the same
WO2019083271A1 (ko) 어플리케이션 프로그램을 제어하는 전자 장치 및 그 제어 방법
WO2016163674A1 (ko) 서버, 전자 장치 및 전자 장치의 정보 제공 방법
WO2017191889A1 (ko) 전자 장치 및 그 제어 방법
WO2021060836A1 (ko) 어플리케이션 실행 방법 및 장치
EP3391634A1 (en) Electronic device and method for controlling application and component
WO2015005744A1 (ko) 디나이얼 발생시 대응 메뉴얼을 제안하는 전자 장치 및 방법
WO2015034246A1 (en) Electronic device and method of processing user input by electronic device
WO2019083137A1 (ko) 알림을 제어하기 위한 방법 및 그 전자 장치
WO2021162323A1 (ko) 전자 장치 및 상기 전자 장치를 이용한 콘텐츠 운용 방법
WO2019039706A1 (ko) 전자 장치 및 그의 데이터 운용 방법
WO2021006574A1 (en) Method and apparatus for managing application
WO2015093754A1 (ko) 전자 장치에서 연결 정보를 공유하는 방법 및 장치
WO2019160323A1 (ko) 어플리케이션과 관련된 데이터를 관리하기 위한 방법 및 그 전자 장치
WO2019164204A1 (ko) 전자 장치 및 그의 동작 방법
WO2019172659A1 (ko) 부팅을 수행하는 전자 장치와 이의 동작 방법
WO2016068557A1 (en) Method and apparatus for notifying of content change
WO2018169323A1 (ko) 전자 장치 및 그의 제어 방법
WO2019083283A1 (en) ELECTRONIC IMAGE DISPLAY DEVICE AND ITS CONTROL METHOD

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18851558

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18851558

Country of ref document: EP

Kind code of ref document: A1