WO2023149647A1 - 전자 장치 및 이의 동작 방법 - Google Patents

전자 장치 및 이의 동작 방법 Download PDF

Info

Publication number
WO2023149647A1
WO2023149647A1 PCT/KR2022/020087 KR2022020087W WO2023149647A1 WO 2023149647 A1 WO2023149647 A1 WO 2023149647A1 KR 2022020087 W KR2022020087 W KR 2022020087W WO 2023149647 A1 WO2023149647 A1 WO 2023149647A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
error
solution
application
processor
Prior art date
Application number
PCT/KR2022/020087
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 AU2022439126A priority Critical patent/AU2022439126A1/en
Priority to US18/143,381 priority patent/US20230305919A1/en
Publication of WO2023149647A1 publication Critical patent/WO2023149647A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/451Execution arrangements for user interfaces
    • G06F9/453Help systems

Definitions

  • An embodiment relates to an electronic device (eg, a smart phone) and one or more applications stored in the electronic device.
  • an electronic device eg, a smart phone
  • applications stored in the electronic device.
  • An electronic device may store one or more applications that may be used by a user.
  • a crash may occur due to an error in an application being used by a user, and the application being used may be forcibly terminated.
  • One implementation may provide an electronic device capable of providing a solution to a user by analyzing the cause of an error (or cause of a crash) of an application.
  • One implementation may provide an electronic device capable of minimizing (or reducing) user inconvenience by providing the user with the cause and history of the application error when an application crash occurs.
  • One embodiment may provide an electronic device capable of guiding a user to update an application when it is not possible to solve an application error.
  • an electronic device includes a display; processor; and a memory operably coupled to the processor and storing one or more instructions executed by the processor.
  • the processor obtains error information based on an error occurring in the first application executed by the processor, and determines the type and cause of the error based on the obtained error information;
  • the reference data set may include one or more error types, one or more error causes, and one or more error resolution methods.
  • an electronic device may include a display, a processor, and a memory operatively connected to the processor and storing a reference data set and one or more applications.
  • the reference data set may include a plurality of error types, a plurality of error causes, and a plurality of error resolution methods.
  • Memory may store instructions executed by the processor. When the instructions are executed, the processor obtains error information based on an error occurring in the executed first application, determines whether the first application is a third party application based on the obtained error information, and determines whether the first application is a third party application.
  • the error type and the cause of the error are identified from the obtained error information, and the error is detected from the reference data set using the identified type and cause.
  • Acquiring a solution to solve verifying the suitability of the obtained solution based on the status information of the electronic device, and for guiding the obtained solution when the obtained solution is verified to be suitable. It may include a processor displaying a pop-up window on the display.
  • a method of an electronic device includes obtaining error information based on an error occurring in a first application being executed, determining the type of error and the cause of the error from the obtained error information, Obtaining a solution to solve the error from a reference data set using the identified type and the identified cause, verifying the suitability of the obtained solution based on state information of the electronic device; and providing guidance on the obtained solution method to the user through a display based on the obtained solution method verified to be suitable.
  • the reference data set may include one or more error types, one or more error causes, and one or more error resolution methods.
  • an electronic device includes a display; processor; and a memory operatively coupled with the processor.
  • the memory may store one or more instructions.
  • the processor obtains error information based on an error occurring in a first application executed by the processor, and a first time instance and a second time when the error occurs in the first application.
  • Analyzing state information of the electronic device for a time interval between instances (where the first time instance is a time instance earlier than the second time instance), and based on the analyzed state information of the electronic device Determine a state of the electronic device, determine an exception type or error cause from the obtained error information, and determine at least one of (i) the determined error type or (ii) the determined error cause and the determined state of the electronic device. Based on this, one or more solutions corresponding to the error may be obtained from the database.
  • FIG. 1 illustrates a block diagram of an electronic device in a network environment, according to one embodiment.
  • FIG. 2 is a block diagram illustrating a program, according to one implementation.
  • FIG. 3 is a block diagram for describing an example of an electronic device according to an exemplary embodiment.
  • FIG. 4 is a diagram for explaining an example of a framework and a system application of an operating system of an electronic device according to an exemplary embodiment.
  • FIG. 5 is a diagram for explaining another example in which an electronic device obtains an error solving method from a DB, according to one embodiment.
  • FIG. 6 is a diagram for explaining another example in which an electronic device obtains an error solving method from a DB, according to one embodiment.
  • FIG. 7 is a flowchart illustrating an example of providing a solution when an application of an electronic device crashes, according to an exemplary embodiment.
  • FIG 8, 9, and 10 are views for explaining examples of pop-up windows of an electronic device according to one embodiment.
  • 11 and 12 are diagrams for explaining examples of changing the order of solution methods obtained by an electronic device, according to an embodiment.
  • FIG. 13 is a flowchart illustrating an example of a method of operating an electronic device according to an exemplary embodiment.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to one embodiment.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or through a second network 199. It may communicate with at least one of the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • the server 108 e.g, a long-distance wireless communication network
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, 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 the antenna module 197 may be included.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added.
  • some of these components eg, sensor module 176, camera module 180, or antenna module 197) are integrated into one component (eg, display module 160). It can be.
  • the processor 120 for example, executes software (eg, the program 140) to cause at least one other component (eg, hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, the processor 120 transfers instructions or data received from other components (eg, sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 transfers instructions or data received from other components (eg, sensor module 176 or communication module 190) to volatile memory 132. , processing commands or data stored in the volatile memory 132 , and storing resultant data in the non-volatile memory 134 .
  • the processor 120 may include a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) that may operate independently of or together with the main processor 121).
  • NPU neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
  • the main processor 121 and the auxiliary processor 123 may use less power than the main processor 121 or be set to be specialized for a designated function.
  • the secondary processor 123 may be implemented separately from or as part of the main processor 121 .
  • the secondary processor 123 may, for example, take the place of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, running an application). ) state, together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, an image signal processor or a communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware 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 .
  • the data may include, for example, input data or output data for software (eg, program 140) and commands related thereto.
  • the 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 an application 146 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120) of the electronic device 101 from the outside of the electronic device 101 (eg, a user).
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a 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.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • a receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 may 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 may convert sound into an electrical signal or vice versa. 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 connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device connected directly or wirelessly to the electronic device 101 (eg: Sound may be output through the electronic device 102 (eg, a speaker or a headphone).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 may include, 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 bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia 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 may 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 stimuli (eg, vibration or motion) or electrical stimuli that a user may 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 may capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). Establishment and communication through the established communication channel may be supported.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, 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 (eg, : a local area network (LAN) communication module or a power line communication module).
  • a wireless communication module 192 eg, 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 eg, : a local area network (LAN) communication module or a power line communication module.
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • a telecommunications network such as a computer network (eg, a LAN or a WAN).
  • These various types of communication modules may be integrated as one component (eg, a single chip) or implemented as a plurality of separate components (eg, multiple chips).
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • 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) to achieve a high data rate, for example.
  • the wireless communication module 192 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 192 may support various requirements defined for the electronic device 101, an external electronic device (eg, the electronic device 104), or a network system (eg, the second network 199).
  • the wireless communication module 192 is a peak data rate for eMBB realization (eg, 20 Gbps or more), a loss coverage for mMTC realization (eg, 164 dB or less), or a U-plane latency for URLLC realization (eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) may be supported.
  • eMBB peak data rate for eMBB realization
  • a loss coverage for mMTC realization eg, 164 dB or less
  • U-plane latency for URLLC realization eg, Example: downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less
  • the antenna module 197 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator formed 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 selected from the plurality of antennas by the communication module 190, for example. can be chosen A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC) may be additionally formed as a part of the antenna module 197 in addition to the radiator.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a 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 the same as or different from the electronic device 101 .
  • all or part of operations executed in the electronic device 101 may be executed in one or more external electronic devices among the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 instead of executing the function or service by itself.
  • one or more external electronic devices may be requested to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 101 .
  • the electronic device 101 may provide the result as at least part of a response to the request as it is or additionally processed.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may 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. According to one embodiment, 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 (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • the program 140 includes an operating system 142, middleware 144, or an application 146 executable on the operating system 142 for controlling one or more resources of the electronic device 101. can do.
  • 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 are, for example, preloaded in the electronic device 101 at the time of manufacture, or when used by a user, an external electronic device (eg, the electronic device 102 or 104), or a server ( 108)) can be downloaded or updated.
  • the operating system 142 may control management (eg, allocation or reclamation) of one or more system resources (eg, process, memory, or power) of the electronic device 101 .
  • Operating system 142 may additionally or alternatively include other hardware devices of electronic device 101 , such as input module 150 , sound output module 155 , display module 160 , audio module 170 . , sensor module 176, interface 177, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196, or It may include 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 function or information provided from one or more resources of the electronic device 101 may be used by the application 146 .
  • the middleware 144 includes, for example, the application manager 201, the window manager 203, the multimedia manager 205, the resource manager 207, the power manager 209, the database manager 211, and the package manager 213. ), connectivity manager 215, notification manager 217, location manager 219, graphics manager 221, security manager 223, call manager 225, or voice recognition manager 227. can
  • the application manager 201 may manage the life cycle of the application 146 , for example.
  • the window manager 203 may manage one or more GUI resources used in a screen, for example.
  • the multimedia manager 205 identifies, for example, one or more formats necessary for reproducing media files, and encodes or decodes a corresponding media file among the media files using a codec suitable for the selected format. can be done
  • the resource manager 207 may manage a source code of the application 146 or a memory space of the memory 130 .
  • the power manager 209 may manage, for example, the capacity, temperature, or power of the battery 189, and determine or provide related information necessary for the operation of the electronic device 101 by using corresponding information among them. . In one embodiment, the power manager 209 may interoperate with a basic input/output system (BIOS) of the electronic device 101 .
  • BIOS basic input/output system
  • the database manager 211 may create, search, or change a database to be used by the application 146, for example.
  • the package manager 213 may manage installation or update of applications distributed in the form of package files, for example.
  • the connectivity manager 215 may manage, for example, a wireless connection or a direct connection between the electronic device 101 and an external electronic device.
  • the notification manager 217 may provide a function for notifying a user of occurrence of a designated event (eg, an incoming call, message, or alarm), for example.
  • the location manager 219 may manage location information of the electronic device 101, for example.
  • the graphic manager 221 may manage, for example, one or more graphic effects to be provided to a user or a user interface related thereto.
  • Security manager 223 may provide system security or user authentication, for example.
  • the telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101 .
  • the voice recognition manager 227 transmits, for example, the user's voice data to the server 108, and at least partially based on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, text data converted at least partially based on the voice data may be received from the server 108 .
  • the middleware 144 may dynamically delete some existing components or add new components.
  • at least part of the middleware 144 may be included as part of the operating system 142 or may be implemented as separate software different from the operating system 142 .
  • the application 146 includes, for example, a home 251, a dialer 253, an SMS/MMS 255, an instant message (IM) 257, a browser 259, a camera 261, and an alarm 263. , Contacts (265), Voice Recognition (267), Email (269), Calendar (271), Media Player (273), Albums (275), Watch (277), Health (279) (e.g. exercise or blood sugar) measurement of biometric information) or environmental information 281 (eg, measurement of atmospheric pressure, humidity, or temperature information). In one embodiment, the application 146 may further include an information exchange application capable of supporting information exchange between the electronic device 101 and an external electronic device.
  • the information exchange application may include, for example, a notification relay application configured to transmit designated information (eg, a call, message, or alarm) to an external electronic device, or a device management application configured to manage an external electronic device.
  • the notification relay application for example, transmits notification information corresponding to a designated event (eg, mail reception) generated in another application (eg, the email application 269) of the electronic device 101 to an external electronic device.
  • the notification relay application may receive notification information from an external electronic device and provide the notification information to the user of the electronic device 101 .
  • the device management application is, for example, a power source (eg, turn-on or turn-off) of an external electronic device that communicates with the electronic device 101 or some component thereof (eg, a display module or a camera module of the external electronic device). ) or functions (eg brightness, resolution, or focus).
  • the device management application may additionally or alternatively support installation, deletion, or update of an application operating in an external electronic device.
  • Electronic devices may be devices of various types.
  • the electronic device may include, for example, a portable communication device (eg, 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 eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish that component from other corresponding components, and may refer to that component in other respects (eg, importance or order) is not limited.
  • a (eg, first) component is said to be “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), 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, for example, logic, logical blocks, parts, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 136 or external memory 138
  • a machine eg, electronic device 101 of FIG. 1
  • It may be implemented as software (eg, program 140) comprising one or more instructions.
  • a processor eg, the processor 120
  • a device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided by being included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-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 (eg downloaded or uploaded) online, directly between smart phones.
  • a device-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 (eg downloaded or uploaded) online, directly between smart phones.
  • at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
  • each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is.
  • one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of 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 a corresponding component of the plurality of components prior to the integration. .
  • the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
  • FIG. 3 is a block diagram for describing an example of an electronic device according to an exemplary embodiment.
  • the electronic device 300 of FIG. 3 (eg, the electronic device 101 of FIG. 1 ) includes a memory 310 (eg, the memory 130 of FIG. 1 ), a processor 320 (eg, the electronic device 101 of FIG. 1 ). 1 processor 120), and a display 330 (eg, display module 160 of FIG. 1).
  • memory 310 may store one or more applications.
  • the memory 310 may store one or more third party applications and may store one or more system applications.
  • the system application may indicate an application loaded into the electronic device 300 by a manufacturer of the electronic device 300 .
  • the system application may include, for example, a device care application for management or care of the electronic device 300, but is not limited thereto.
  • the processor 320 may obtain error information when an error occurs in the running first application.
  • a crash of the first application may occur due to an error, and the running (or currently in use) first application may be force closed (FC).
  • FC force closed
  • the processor 320 may obtain error information through a framework of an operating system (eg, the operating system 142 of FIG. 2 ). there is.
  • the error information may include, for example, a process of the first application, identification (ID) of the process of the first application, information of the first application, and crash information.
  • the information on the first application may include, for example, an ID of the first application (eg, a package name of the first application) and version information of the first application, but is not limited thereto.
  • Crash information may include, for example, the type of error (eg, exception) and the cause of the error, but is not limited thereto.
  • the exception may represent, for example, an error that may occur due to a user's wrong operation or an error that may occur in logic implemented by a developer. Table 1 below shows an example of crash information.
  • the processor 320 may determine the type (eg, exception type) and cause of the error occurring in the first application from the obtained error information. In one embodiment, the processor 320 can determine which type of exception has occurred in crash information and can determine the cause of the error. As an example, the processor 320 sends the line "11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: Caused by: java.lang.reflect” including "java.lang” in the crash information of Table 1 above. In “.InvocationTargetException”, "InvocationTargetException” described after "java.lang” can be extracted or parsed. The processor 320 can determine that an "InvocationTargetException” has occurred from the crash information in Table 1 above.
  • the processor 320 may obtain a process of the first application and an ID of the process of the first application from information on the first application or crash information.
  • the processor 320 generates line "11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: Process: com.???.katana, PID: 14073 including "Process” of the crash information of Table 1 above.
  • “Process: com.???.katana” and “PID: 14073” can be extracted or parsed.
  • the extracted “Process: com.???.katana” may indicate a process of the first application
  • the extracted “PID: 14073” may indicate an ID of a process of the first application.
  • the processor 320 analyzes the error information and determines that the error of the first application has occurred because the first application cannot find a webview.
  • the processor 320 may obtain a solution method for solving the error occurring in the first application from the reference data set using the type and cause of the identified error.
  • the reference data set may include, for example, one or more error types (eg, one or more exception types), one or more error causes, and one or more solutions.
  • One or more workarounds may include, but are not limited to, one or more of, for example, granting permissions (e.g., allowing read/write access to files, allowing Internet access), cleaning cache, freeing up memory storage space, rebooting, and connecting to the Internet. It doesn't work.
  • One or more error causes (or one or more error types) may be mapped to one or more solutions.
  • the processor 320 checks whether an exception type (error type) (eg, InvocationTargetException) extracted from (eg, crash information in Table 1 above) (eg, crash information in Table 1 above) is present in the reference data set, or can decide When the extracted exception type is present in the reference data set, the processor 320 checks whether the source of the error corresponding to the extracted cause (eg, "Package not found: com.***.android.webview") exists in the reference data set. Or you can decide. When the cause of the error corresponding to the extracted cause is present in the reference data set, the processor 320 may obtain a solution mapped to the extracted cause from the reference data set.
  • error type eg, InvocationTargetException
  • the processor 320 checks whether the source of the error corresponding to the extracted cause (eg, "Package not found: com.***.android.webview") exists in the reference data set. Or you can decide.
  • the processor 320 may obtain a solution mapped to the extracted cause from the reference data
  • the reference data set may be stored in the memory 310 or a server.
  • the reference data set may be recorded in a database (DB) of a system application (eg, a device care application) of the electronic device 300 .
  • the reference data set may be recorded in the DB of the server.
  • the cause of the error may not be recorded in the crash information.
  • some crash information may not have a line containing "Caused by".
  • the processor 320 may identify an error type (eg, exception type) from crash information, and obtain one or more solutions from a reference data set using the identified error type.
  • the processor 320 may verify the suitability of the obtained solution. In one embodiment, the processor 320 may verify the suitability of the obtained solution based on state information of the electronic device 300 (eg, a memory state of the electronic device 300 and a communication connection state). For example, the processor 320 may obtain a solution indicating securing of storage space of the memory 310 from the reference data set. When the storage capacity of the memory 310 is sufficient, the processor 320 may determine that the solution indicating securing the storage space of the memory 310 is not suitable. When the storage capacity of the memory 310 is full, the processor 320 may determine that a solution indicating securing the storage space of the memory 310 is suitable.
  • state information of the electronic device 300 eg, a memory state of the electronic device 300 and a communication connection state.
  • the processor 320 may obtain a solution indicating securing of storage space of the memory 310 from the reference data set. When the storage capacity of the memory 310 is sufficient, the processor 320 may determine that the solution indicating securing the
  • the processor 320 may provide a guide for the obtained solution method to the user through the display 330 when it is verified that the obtained solution method is suitable. In one implementation, the processor 320 may display a pop-up window for guidance on the obtained solution method on the display 330 .
  • the processor 320 may obtain a plurality of solution methods for solving the error of the first application from the reference data set.
  • the obtained solution methods may have a given order, and the processor 320 selects a top-ranking solution (solution of the highest position in the given order) among the obtained solution methods. method) can be selected.
  • the processor 320 may verify the suitability of the top-order solution method, and when the top-order solution method is verified to be suitable, the processor 320 may provide guidance on the top-order solution method to the user through the display 330. .
  • the error of the first application may not be resolved even if the highest order resolution method is performed.
  • the processor 320 may verify the suitability of the second-highest-order solution (the solution at the next-highest position in the given order), and if the second-highest position solution is verified to be suitable, then the next-highest-order solution A guide to the information may be provided to the user through the display 330 .
  • the processor 320 may change the given order of the obtained solution methods, and the order change will be described later with reference to FIGS. 11 and 12 .
  • the processor 320 may provide a list of the obtained solution methods to the user through the display 330. there is. In one embodiment, the processor 320 may summarize each obtained solution method, and display a list of each summarized solution method on the display 330 to provide the user with the list. The processor 320 may perform a solution method selected by the user from solution methods provided to the user (or solution methods displayed on the display 330 ).
  • the processor 320 may identify, verify, or determine the use state of the electronic device 300 . For example, the processor 320 determines whether the operating system of the electronic device 300 is updated to the latest version, data in the user's other electronic device is backed up (or synchronized) with the electronic device 300, or It may be identified or confirmed or determined that the device 300 is new.
  • the processor 320 may use a first recommendation algorithm (eg, collaborative filtering) to provide the user with an error solving method suitable for the identified use state.
  • the processor 320 may provide the user with one or more solution methods for solving the error in the first application by applying the first recommendation algorithm to the identified use state.
  • the processor 320 records, in the memory 310 (or server), which error occurred in each of the plurality of applications and which solution was provided to solve the error occurring in each of the plurality of applications. can do.
  • a solution providing history may be recorded in the memory 310 (or server).
  • the processor 320 may use a solution providing history and a second recommendation algorithm (eg, content-based filtering) to provide a suitable error solving method to the user. .
  • the processor 320 may provide the user with one or more solutions for solving the error of the first application by applying the second recommendation algorithm to the solution provision history.
  • the error of the first application may not be resolved even if the obtained solution method (or the obtained solution methods) is performed.
  • the processor 320 may obtain a response indicating that there is no detected type of error, even though the processor 320 inquires whether the identified error type is in the reference data set.
  • the processor 320 may determine whether an updated version of the first application is available in the application market when the error of the first application is not resolved or when a response indicating that there is no detected type of error is obtained.
  • the processor 320 may provide a guide on the update of the first application or a guide on the updated version of the first application to the user through the display 330 .
  • the processor 320 may display on the display 330 a pop-up window for a guide on updating the first application or a guide on an updated version of the first application.
  • the processor 320 may provide information about an error of the first application to the user through the display 330 when an updated version of the first application is not found in the application market, and if there is a user input for the provided information, the processor 320 may A screen including an error occurrence history of the first application and a button for deleting the first application may be displayed on the display 330 .
  • FIG. 4 is a diagram for explaining an example of a framework and a system application of an operating system of an electronic device according to an exemplary embodiment.
  • the framework 410 of the operating system and the system application 420 may operate on the processor 400 (eg, the processor 320 of FIG. 3). there is.
  • the framework 410 includes an ActivityManagerService (AMS) 411 (eg, the application manager 201 of FIG. 2), an AppErrors 412, a diagnosis unit 413, and a DB manager 414 (eg, the application manager 201). :
  • AMS ActivityManagerService
  • AppErrors 412 e.g., the application manager 201 of FIG. 2
  • diagnosis unit 413 e.g., the diagnosis unit 413
  • DB manager 414 eg, the application manager 201.
  • the database manager 211 of FIG. 2 may be included.
  • the system application 420 includes an intelligent application fault diagnosis (IAFD) service component 421 operating in the background, a pop-up providing unit 422 for providing a pop-up window, and external elements of the system application 420 ( Example: It may include a DB provider 423 for providing a connection between the framework 410) and the first DB 424, and the first DB 424.
  • IAFD intelligent application fault diagnosis
  • the reference data set described with reference to FIG. 3 may be recorded in the first DB 424 .
  • Version information of one or more applications may be recorded in the first DB 424 .
  • the processor 400 may query the first DB 424 in the system application 420 through the framework 410 to see if there is a solution for solving the error of the first application.
  • the processor 400 may obtain one or more solution methods for solving the error of the first application from the first DB 424 .
  • the processor 400 may obtain or collect error information through the AMS 411 of the framework 410 when the first application crashes and the first application is forcibly terminated.
  • the processor 400 may operate the diagnosis unit 413 through AppErrors 412.
  • the diagnosis unit 413 may correspond to an instance, and the processor 400 may create an instance corresponding to the diagnosis unit 413 through AppErrors 412 .
  • the processor 400 may determine the type of exception that has occurred and the cause of the error from crash information (eg, crash information in Table 1 above) in the error information through the diagnosis unit 413 .
  • crash information eg, crash information in Table 1 above
  • the processor 400 may perform some operations of the system application 420 in the background through the IAFD service component 421 .
  • Some of the operations performed in the background may include, for example, an operation of accessing the first DB 424 and an operation of obtaining a solution from the first DB 424, which will be described later, but are not limited thereto.
  • the processor 400 accesses the first DB 424 through the DB manager 414 in the framework 410 and the DB provider 423 in the system application 420, and identifies the exception type and It may be inquired whether the first DB 424 has a solution for the cause of the error.
  • the processor 400 when the first DB 424 has a solution for the identified exception type and the cause of the error, provides a solution method from the first DB 424 through the DB provider 423 and the DB manager 414. can be obtained.
  • the processor 400 may verify the suitability of the obtained solution method through the diagnosis unit 413, and if the obtained solution method is verified to be suitable, a pop-up window for guidance of the obtained solution method is displayed. It can be displayed on the display 330 through the pop-up provider 422 of the system application 420 .
  • the first DB 424 may record the number of times of provision of the obtained solution method.
  • the processor 400 may update the number of times of provision recorded in the first DB 424 .
  • 10 times of provision of solution A may be recorded in the first DB 424 .
  • the processor 400 may update the number of times solution A is provided from 10 times to 11 times.
  • the processor 400 may record in the first DB 424 that the obtained solution method is provided in the current version of the first application. For example, if the version of the first application in which the error occurred is 1.10, the processor 400 may provide solution A to the user. The processor 400 may record in the first DB 424 that solution A was provided in version 1.10 of the first application.
  • the processor 400 may obtain solution methods from the first DB 424 and provide a list of the obtained solution methods to the user through the display 330 . In one implementation, the processor 400 may summarize each obtained solution method, and display a list of each summarized solution method on the display 330 to provide the user with the list. The processor 400 may perform a solution method selected by the user from solution methods provided to the user (or solution methods displayed on the display 330 ).
  • the processor 400 may obtain a response indicating that there is no inquiry result from the first DB 424 . For example, if the identified exception type is not present in the first DB 424, the processor 400 may obtain a response indicating that there is no search result from the first DB 424.
  • the processor 400 may check or determine whether an updated version of the first application exists in the application market. When an updated version of the first application exists in the application market, the processor 400 may display on the display 330 a pop-up window for guiding an update of the first application or an updated version of the first application. When an updated version of the first application is not found in the application market, the processor 400 may display information about an error of the first application on the display 330 and provide the information to the user.
  • the processor 400 may display on the display 330 a screen including an error occurrence history of the first application and a button for deleting the first application when there is a user input for the provided information.
  • the processor 400 is configured to perform the electronic device 300 during a time period between a second time point (time instance) and the first time instance when the error of the first application occurs.
  • status information can be analyzed.
  • the first time instance (time instance) may indicate a time point earlier than a second time instance (time instance) when an error of the first application occurs.
  • State information of the electronic device 300 may include, for example, a load state of the electronic device 300, a heating state of the electronic device 300, and an electromagnetic field between the electronic device 300 and a base station (not shown). ) states, but is not limited thereto.
  • the processor 400 may use the diagnosis unit 413 to determine the second point in time when the error of the first application occurs ( State information of the electronic device 300 during the time interval between the time instance and the first time instance may be analyzed. For example, since a number of applications may be running in the electronic device 300, the processor 400 may be in a high load state, and a temporary error may occur in the first application due to the high load state of the processor 400. . As another example, the performance of the processor 400 may be temporarily degraded due to heat generation (or high temperature) of the electronic device 300, and an error in the first application may occur due to the temporary deterioration in performance of the processor 400.
  • the electric field state between the electronic device 300 and the base station may become a weak electromagnetic field state.
  • the electric field state between the electronic device 300 and the base station may become a weak electric field state. Due to the weak electric field state, a communication error of the electronic device 300 and/or an input/output error of the processor 400 may occur, and an error of the first application may occur.
  • the processor 400 analyzes state information of the electronic device 300 during a time interval between a second time instance and a first time instance in which an error in the first application occurs, thereby analyzing the electronic device 300.
  • a state of the electronic device 300 such as one or more of a load state, a heating state, and an electric field state of the device 300, may be checked or determined.
  • the processor 400 operates the electronic device 300 when the electronic device 300 is in a high load state, when the temperature of the electronic device 300 is high, and/or when the electronic device 300 is in a weak electric field state. can be analyzed or judged to be in an abnormal state.
  • the processor 400 may identify or determine the exception type and cause of the error from crash information through the diagnosis unit 413, and identify the exception type, the identified cause of the error, and the state of the electronic device 300.
  • One or more solution methods for resolving the error occurring in the first application or one or more solution methods corresponding to the error occurring in the first application may be obtained by using the analysis result of the information.
  • the processor 400 may obtain from the first DB 424 one or more solution methods for the identified exception type and the identified cause of the error.
  • the processor 400 uses a method for resolving (or mitigating) the abnormal state of the electronic device 300 (eg, stopping the execution of some applications when several applications are running, and using the electronic device 300 to lower the temperature). pause) can be created.
  • one or more methods for resolving (or alleviating) the abnormal state of the electronic device 300 may be recorded in the first DB 424 .
  • the processor 400 may obtain one or more methods for solving (or alleviating) the abnormal state from the first DB 424 .
  • the first DB 424 may be updated through an update of the system application 420 .
  • FIG. 5 is a diagram for explaining another example in which an electronic device obtains a solution method from a DB, according to an exemplary embodiment.
  • the processor 510 (eg, the processor 320 of FIG. 3 ) in the electronic device 500 of FIG. 5 (eg, the electronic device 300 of FIG. 3 ) crashes the first application and
  • error information may be obtained through the framework 511 (eg, the framework 410 of FIG. 4 ).
  • the processor 510 may determine the exception type and the cause of the error from error information obtained through the framework 511 .
  • the processor 510 may not use a system application (eg, the system application 420 of FIG. 4 ) to obtain a solution for the detected exception type and the cause of the error.
  • the reference data set described with reference to FIG. 3 may be stored in the memory 520 (eg, the memory 310 of FIG. 3 ).
  • a reference data set may be recorded in the first DB 521 shown in FIG. 5 .
  • the processor 510 may inquire whether the first DB 521 has a solution for the detected exception type and the cause of the error.
  • the processor 510 may obtain one or more solutions from the first DB 521 when the first DB 521 contains solutions for the detected exception type and cause of the error.
  • the processor 510 may verify the suitability of the obtained solution.
  • the processor 510 may display a pop-up window for guidance of the obtained solution method on the display 330 through the framework 511 .
  • the first DB 521 may record the number of times of provision of the obtained solution method.
  • the processor 510 may update the number of times of provision recorded in the first DB 521 .
  • the number of provision of solution A 8 times may be recorded in the first DB 521 .
  • the processor 510 may update the number of times solution A is provided from 8 times to 9 times.
  • the processor 510 may record in the first DB 521 that the obtained solution method is provided in the current version of the first application. For example, if the version of the first application in which the error occurred is 2.10, the processor 510 may provide solution A to the user. The processor 510 may record in the first DB 521 that solution A was provided in version 2.10 of the first application.
  • the processor 510 may obtain solution methods from the first DB 521 and provide a list of the obtained solution methods to the user through the display 330 . In one implementation, the processor 510 may summarize each obtained solution method, and display a list of each summarized solution method on the display 330 to provide the user with the list. The processor 510 may perform a solution method selected by the user from solution methods provided to the user (or solution methods displayed on the display 330 ).
  • the processor 510 may receive a response indicating no inquiry result from the first DB 521 .
  • the processor 510 may check or determine whether an updated version of the first application exists in the application market.
  • the processor 510 may display a pop-up window for guiding an update of the first application on the display 330 .
  • the processor 510 may display information about an error of the first application on the display 330 and provide the information to the user.
  • the processor 510 may display on the display 330 a screen including an error occurrence history of the first application and a soft button for deleting the first application.
  • the processor 510 provides state information of the electronic device 500 for a time between the first application error occurrence time and the first time point (eg, the load state of the electronic device 500, the electronic device 500 At least one of a heating state of ) and an electric field state between the electronic device 500 and the base station) may be analyzed.
  • a time between the first application error occurrence time and the first time point eg, the load state of the electronic device 500, the electronic device 500 At least one of a heating state of
  • an electric field state between the electronic device 500 and the base station may be analyzed.
  • Embodiments of analyzing the state information of the electronic device 500 may be applied to the embodiments of analyzing the state information of the electronic device 300 described with reference to FIG. 4 , so detailed descriptions thereof are omitted.
  • the processor 510 may determine the exception type and the cause of the error from crash information, and use the identified exception type, the identified cause of the error, and the analysis result of the state information of the electronic device 500 to determine the first One or more workarounds may be obtained for resolving errors encountered in the application.
  • a solution method is obtained using the analysis result of state information of the electronic device 500 are applicable to the embodiments in which the solution method is obtained using the analysis result of the state information of the electronic device 300 described with reference to FIG. 4 Therefore, a detailed description is omitted.
  • the first DB 521 may be updated through firmware update (or operating system update).
  • FIG. 6 is a diagram for explaining another example of obtaining a solution method from a DB by an electronic device according to an embodiment.
  • the reference data set described with reference to FIG. 3 may be stored in the server 620.
  • a reference data set may be recorded in the first DB 621 of the server 620 of FIG. 6 .
  • the processor 611 (eg, the processor 320 of FIG. 3) in the electronic device 610 (eg, the electronic device 300 of FIG. 3) crashes the first application and causes the first application to crash.
  • error information may be obtained through the framework 611-1 (eg, the framework 410 of FIG. 4).
  • the processor 611 may determine the exception type and the cause of the error from error information obtained through the framework 611-1.
  • the processor 611 transmits information of the first application (eg, package name and version information of the first application), the identified exception type, and the identified cause of the error to a communication module of the electronic device 610 (eg, It can be transmitted to the server 620 through the communication module 190 of FIG. 1 .
  • the server 620 may check or determine whether the first DB 621 in the server 620 has a solution for the type of exception and the cause of the error occurring in the first application.
  • the server 620 may transmit one or more solutions to the electronic device 610 when one or more solutions exist in the first DB 621 in the server 620 for the type of exception and the cause of the error occurring in the first application. there is.
  • the processor 611 may verify the suitability of the received solution, and display a pop-up window for guidance of the received solution on the display 330 if the received solution is verified to be suitable.
  • the first DB 621 may record the number of times of provision of the obtained solution method.
  • the processor 611 may update the number of times of provision recorded in the first DB 621 .
  • the number of times of provision of solution A may be recorded in the first DB 621 5 times.
  • the processor 611 may access the first DB 621 through the server 620 and update the number of times solution A is provided from 5 times to 6 times.
  • the processor 611 may record in the first DB 621 that the obtained solution method is provided in the current version of the first application. For example, if the version of the first application in which the error occurred is 2.10, the processor 611 may provide solution A to the user. The processor 611 may access the first DB 621 through the server 620 and may record in the first DB 621 that solution A was provided in version 2.10 of the first application.
  • the processor 611 may receive solutions from the server 620 and may provide a list of received solutions to the user through the display 330 . In one implementation, the processor 611 may summarize each solution received, and display a list of the summarized solutions on the display 330 to provide to the user. The processor 611 may perform a solution method selected by the user from solution methods provided to the user (or solution methods displayed on the display 330 ).
  • the processor 611 may receive a response indicating no inquiry result from the server 620 .
  • the processor 611 may check or determine whether an updated version of the first application exists in the application market.
  • the processor 611 may display a pop-up window for guiding an update of the first application on the display 330 .
  • the processor 611 may display information about an error of the first application on the display 330 and provide the information to the user.
  • the processor 611 may display on the display 330 a screen including an error occurrence history of the first application and a soft button for deleting the first application.
  • the processor 611 provides state information of the electronic device 610 for a time between the first application error occurrence time and the first time point (eg, the load state of the electronic device 610, the electronic device 610 At least one of a heating state of ) and an electric field state between the electronic device 610 and the base station) may be analyzed.
  • a time between the first application error occurrence time and the first time point eg, the load state of the electronic device 610, the electronic device 610 At least one of a heating state of
  • an electric field state between the electronic device 610 and the base station may be analyzed.
  • Embodiments of analyzing the state information of the electronic device 610 may be applied to the embodiments of analyzing the state information of the electronic device 300 described with reference to FIG. 4 , so detailed descriptions thereof are omitted.
  • the processor 611 may determine the exception type and the cause of the error from crash information, and use the identified exception type, the identified cause of the error, and the analysis result of the state information of the electronic device 610 to determine the first One or more workarounds may be obtained for resolving errors encountered in the application.
  • Embodiments in which a solution method is obtained using the analysis result of the state information of the electronic device 610 are applicable to the embodiments in which the solution method is obtained using the analysis result of the state information of the electronic device 300 described with reference to FIG. 4 Therefore, a detailed description is omitted.
  • FIG. 7 is a flowchart illustrating an example of providing a solution when an application of an electronic device crashes, according to an embodiment.
  • the electronic device may obtain error information when a crash occurs in the first application.
  • the obtained error information may include, for example, a process of the first application, an ID of the process of the first application, information of the first application, and crash information.
  • the electronic device 300 may check or determine whether the first application is a third party application. In one embodiment, the electronic device 300 may check or determine whether the first application is a third party application by using error information (eg, information on the first application).
  • error information eg, information on the first application.
  • the electronic device 300 may guide the user to stop execution of the first application in operation 705 .
  • operation 703 may be omitted.
  • the electronic device 300 selects target items (eg, exception type, error cause, and information of the first application) from crash information in the error information in operation 707. at least one) can be parsed.
  • target items eg, exception type, error cause, and information of the first application
  • the electronic device 300 In operation 709, the electronic device 300 generates a first DB (eg, the first DB 424 of FIG. 4 ) based on the parsing result (eg, at least one of an exception type, a cause of an error, and information on the first application). , the first DB 521 of FIG. 5 or the first DB 621 of FIG. 6 may be inquired. In one implementation, the electronic device 300 may inquire whether a solution corresponding to the parsed target item exists in the first DB.
  • a first DB eg, the first DB 424 of FIG. 4
  • the parsing result eg, at least one of an exception type, a cause of an error, and information on the first application.
  • the first DB 521 of FIG. 5 or the first DB 621 of FIG. 6 may be inquired.
  • the electronic device 300 may inquire whether a solution corresponding to the parsed target item exists in the first DB.
  • the electronic device 300 may check or determine whether there is information (or obtained information) returned from the first DB (eg, a solution for solving the error of the first application). For example, when the parsed exception type does not exist in the first DB, the electronic device 300 may receive information indicating that there is no search result from the first DB. In this case, the electronic device 300 can confirm that there is no information returned from the first DB.
  • information or obtained information returned from the first DB
  • the electronic device 300 may check or determine whether an updated version of the first application exists in the application market in operation 721 .
  • the electronic device 300 may provide an update guide for the first application to the user in operation 723 .
  • the electronic device 300 may provide information about an error of the first application to the user in operation 725 .
  • the electronic device 300 may display a screen including an error occurrence history of the first application and a button for deleting the first application on a display (eg, the display 330 of FIG. 3 ).
  • the electronic device 300 may acquire a plurality of solution methods for resolving an error occurring in the first application (or the current version of the first application) from the first DB.
  • the electronic device 300 obtains a plurality of solution methods from the first DB and confirms that there is information returned from the first DB (operation 711-yes), in operation 713, a solution to be provided from among the obtained solution methods.
  • the electronic device 300 may acquire solution method #1 and solution method #2 for resolving the error of the first application from the first DB.
  • solution #1 and solution #2 it may be determined that solution #1 is provided before solution #2.
  • solution #1 and solution #2 the priority of solution #1 may be higher than that of solution #2.
  • the electronic device 300 may select solution #1, which is the highest order among solution methods #1 and solution #2. In one implementation, the order of solution methods may be changed, which will be described later with reference to FIGS. 11 and 12 .
  • the electronic device 300 may determine whether the selected solution method has been performed. For example, in the first DB, the electronic device 300 may not record a history of providing solution #1 to the user to solve the error of the first application. The electronic device 300 may determine that the selected solution #1 has not been performed by referring to the first DB (operation 715 - No).
  • the electronic device 300 may determine whether the selected solution #1 is appropriate in operation 717 .
  • the electronic device 300 may determine whether the selected solution #1 is suitable by considering state information (eg, memory state, communication connection state) of the electronic device 300 .
  • state information eg, memory state, communication connection state
  • the electronic device 300 may select solution #2 and determine whether the selected solution #2 is appropriate in operation 713 .
  • the electronic device 300 may provide the selected solution #1 to the user in operation 719 .
  • the electronic device 300 may update the number of times the selected solution #1 is provided in the first DB, and the selected solution #1 is provided in the current version of the first application. can be recorded in the first DB.
  • the electronic device 300 may perform operations 701, 703, 707, 709, and 713 again.
  • the electronic device 300 may re-acquire solution #1 and solution #2 from the first DB in operation 709 .
  • the electronic device 300 may select solution #1, which is the highest order among solution methods #1 and solution #2.
  • the electronic device 300 may determine whether the selected solution method #1 has been performed.
  • a history of providing solution #1 to the user by the electronic device 300 to solve the error of the first application may be recorded. can be judged to be
  • the electronic device 300 may determine whether the selected solution #1 is the last one in operation 727 . Since solution #2 remains, the electronic device 300 may determine that the selected solution #1 is not the last one (operation 727 - No), and may select solution #2, which is the second highest order, in operation 713.
  • the electronic device 300 may determine whether the selected solution method #2 has been performed. Since the first DB may not record the history of the electronic device 300 providing solution #2 to the user to solve the error of the first application, the electronic device 300 performs the selected solution #2. It may be determined that it is not (Act 715-No).
  • the electronic device 300 may determine whether the selected solution #2 is appropriate.
  • the electronic device 300 may determine whether the selected solution #2 is appropriate by considering state information (eg, memory state, communication connection state) of the electronic device 300 .
  • the electronic device 300 may provide the selected solution #2 to the user in operation 719 .
  • the electronic device 300 may update the number of times the selected solution #2 is provided in the first DB and the selected solution #2 is provided in the current version of the first application can be recorded in the first DB.
  • the first application may crash again.
  • the electronic device 300 may perform operations 701, 703, 707, 709, and 713 again.
  • the electronic device 300 may perform operation 709 to obtain solution #1 and solution #2 from the first DB again.
  • the electronic device 300 may select solution #1, which is the highest order among solution method #1 and solution method #2, and in operation 715, it may be determined whether the selected solution method #1 has been performed. Since the selected solution #1 has been performed (operation 715 - No), the electronic device 300 may determine whether the selected solution #1 is the last one in operation 727 .
  • the electronic device 300 may determine that the selected solution #1 is not the last one because the selected solution #1 is in the highest order (operation 727-No), and in operation 713, the solution #2 that is the next highest order. can choose In operation 715, the electronic device 300 may determine whether the selected solution method #2 has been performed. Since the selected solution #2 has been performed (operation 715 - Yes), the electronic device 300 may determine whether the selected solution #2 is the last one in operation 727 . Since the selected solution #2 may be the last one (operation 727-yes), the electronic device 300 may perform operation 721. The electronic device 300 may perform operation 723 when there is an updated version of the first application in the application market (operation 721 - Yes), and when there is no updated version of the first application in the application market (operation 721 - no). ), operation 725 may be performed.
  • FIG 8 to 10 are views for explaining examples of pop-up windows of an electronic device, according to an embodiment.
  • the electronic device may obtain error information when an error occurs in the first application.
  • the electronic device 300 may extract a first exception type (eg, FileNotFoundException) from error information.
  • the electronic device 300 provides information about a first exception type to a first DB (eg, the first DB 424 of FIG. 4 , the first DB 521 of FIG. 5 , or the first DB 621 of FIG. 6 ). It is possible to inquire whether there is a solution, and to obtain a clear cache solution from the first DB.
  • the electronic device 300 may provide a solution for cleaning the cache to the user. For example, as in the example shown in FIG. 8 (box “(a)”), the electronic device 300 displays a pop-up window 810 for guiding a cache cleanup solution (eg, the display of FIG. 3 ( 330. When there is a user input (eg, a touch input) to the clear cache button 811 of the pop-up window 810, the electronic device 300 displays FIG. 8 (box "( As in the example shown in “b)”), a visual feedback indicating that the cache is being cleaned may be displayed on the display 330. When the cache cleaning is completed, the electronic device 300 may display a visual feedback in FIG. 8 (box “(c)”). ), an open app button 812 may be displayed on the display 330. When there is a user input for the open app button 812, the electronic device 300 receives a first application. can run
  • the electronic device 300 may provide the user with an update guide for the crashed first application. For example, when there is no information returned from the first DB or when an error in the first application is not resolved, the electronic device 300 may determine whether an updated version of the first application exists in the application market. When an updated version of the first application exists in the application market, the electronic device 300 may display a pop-up window 910 for an update guide of the first application on the display 330 as in the example shown in FIG. 9 .
  • the pop-up window 910 shown in FIG. 9 includes an update button 911, a cancel button 912, and information 913 on an error occurring in the first application. can do.
  • the electronic device 300 may update the first application when there is a user input to the update button 911 .
  • the electronic device 300 may display on the display 330 a pop-up window 920 for re-informing the update of the first application when there is a user input to the cancel button 912 .
  • the electronic device 300 displays a pop-up window 1010 that provides information 1011 on the error of the first application, as in the example shown in FIG. 10, when an updated version of the first application is not found in the application market. ) may be displayed on the display 330.
  • the electronic device 300 may make the pop-up window 1010 disappear from the display 330 when there is a user input to the got it button 1012 of the pop-up window 1010 .
  • the error occurrence history eg, crash history ( A screen 1020 including 1021
  • a button 1022 for deleting the first application may be displayed on the display 330 .
  • the error occurrence history (eg, the crash history 1021) may include, for example, an exception type and an error occurrence time.
  • the screen 1020 may further include a clear cache button 1023. This is just an example, and the clear cache button 1023 may be omitted from the screen 1020 .
  • 11 and 12 are diagrams for explaining examples of changing the order of solution methods obtained by an electronic device, according to an embodiment.
  • the electronic device when an error occurs in the first application, the first DB (eg, the first DB 424 of FIG. 4 or the first DB 424 of FIG. 5).
  • a plurality of solution methods for solving errors may be obtained from the DB 521 or the first DB 621 of FIG. 6 .
  • the electronic device 300 may obtain solution A, solution B, and solution C.
  • a given order of solution A, solution B, and solution C may be, for example, A ⁇ B ⁇ C.
  • solution A may be the highest order
  • solution B may be the next highest order
  • solution C may be the last order.
  • the electronic device 300 may determine a difference in the number of times of providing between solutions in successive order among the obtained solution methods. For example, in the example shown in FIG. 11 , the number of times solution A is provided may be 10 times, and the number of times solution B is provided may be 10 times. The difference between the number of servings of solution B can be determined to be zero. The number of servings of solution B is 10 times, and the number of servings of solution C is 5 times. Accordingly, the electronic device 300 may determine a difference of 5 between the number of times solution B is provided and the number of times solution C is provided.
  • the electronic device 300 determines that, among the differences, when a difference between the number of times of providing solutions in the order of second order and the number of times of providing solutions in order lower than the second order is equal to or greater than a predetermined level, the solution method in order of second order is determined. You can change the given order to be the highest order solution in the changed order. For example, in the example shown in FIG. 11 , the electronic device 300 sets a difference of 5 between the number of times of providing solution B in the order of the second highest order and the number of times of providing solution C in the order of lower order than the second highest order to a certain level (eg, 5). This can be an anomaly, so we can change the given sequence A ⁇ B ⁇ C to B ⁇ A ⁇ C so that solution B is the highest order.
  • a certain level eg, 5
  • the electronic device 300 may calculate the difference in the number of times provided between the solutions in successive order among the obtained solutions, and if the calculated differences are equal to each other, the lowest order in the given order You can change the given order so that the solution is the highest order solution in the changed order. For example, in the example shown in FIG. 12 , the electronic device 300 may calculate a difference of 2 between the number of times of providing solution A and solution B in successive order, and solution method B and solution method B in successive order. The difference 2 between the number of servings of each C can be calculated. The electronic device 300 may have the same calculated difference, so that the solution C of the lowest order in the given order A ⁇ B ⁇ C is the highest order, so that the given order A ⁇ B ⁇ C is C ⁇ A ⁇ B can be changed
  • the electronic device 300 may change the given order of the acquired solution methods by applying a sorting algorithm to the number of times of provision of each of the obtained solution methods.
  • the sorting algorithm may include, but is not limited to, ascending and/or descending order, for example.
  • the electronic device 300 may change the given order A ⁇ B ⁇ C to C ⁇ B ⁇ A by arranging the number of times of providing solutions A to C in ascending order.
  • the electronic device 300 may select a resolution method of the highest order in the changed order.
  • the electronic device 300 may select solution B because solution B may be the highest order in the changed order B ⁇ A ⁇ C.
  • the electronic device 300 may select solution C because solution C may be the highest order in the changed order C ⁇ A ⁇ B.
  • the electronic device 300 may verify suitability of the selected solution method, and when the selected solution method is verified to be appropriate, the selected solution method may be provided to the user.
  • the solution of the second higher order in the changed order eg, solution A in the changed order of FIG. 11 and solution A in the case of the changed order of FIG. 12 )
  • the suitability of the second-order solution method can be verified, and if the second-order solution method is suitable, the second-order solution method can be provided to the user.
  • the electronic device 300 may initialize the number of times of providing each of the solution methods. .
  • the electronic device 300 may initialize the number of times of provision of solutions A to C to zero.
  • the electronic device 300 may obtain solutions A through C from the first DB when the same error as that occurring in the first application occurs in another application.
  • the given order of solution A to solution C may be A ⁇ B ⁇ C, so that the electronic device 300 can verify the suitability of solution A first and, if solution A is suitable, provide solution A to the user. can be provided first.
  • the electronic device 300 may check that the number of times of providing solution C was the minimum by referring to the history of the number of times solutions A to C were provided.
  • the electronic device 300 may change the given sequence A ⁇ B ⁇ C of solutions A to C to C ⁇ A ⁇ B or C ⁇ B ⁇ A, and may first verify the suitability of solution C, , if solution C is suitable, solution C can be provided to the user first.
  • the electronic device 300 may determine that an exception type “FileNotFoundException” has occurred from error information, and may determine the cause of the error as a failure to load a file.
  • the electronic device 300 may obtain solutions A to C from the first DB through the identified exception type and cause of the error.
  • solution B may be cache cleaning
  • solution C may be memory data area cleaning.
  • the given order of solutions A to C could be, for example, A ⁇ B ⁇ C, changing the given order of solutions A to C.
  • the electronic device 300 may fix the solution method C as the last order since the generated exception type is "FileNotFoundException". Since important data may be stored in a data area of a memory (eg, the memory 310 of FIG. 3 ), the electronic device 300 maintains the order of solution C even if the order of solution A and solution B are changed. may not change.
  • FIG. 13 is a flowchart for explaining an example of a method of operating an electronic device according to an embodiment.
  • the operating method illustrated in FIG. 13 may be performed by an electronic device (eg, the electronic device 300 of FIG. 3 ).
  • the electronic device 300 may obtain error information when an error occurs in the running first application.
  • the electronic device 300 may determine the type and cause of the error occurring in the first application from the obtained error information.
  • the electronic device 300 may obtain a solution for solving the error occurring in the first application from the reference data set using the identified type and cause.
  • the electronic device 300 may verify the suitability of the obtained solution based on state information of the electronic device 300.
  • the electronic device 300 may provide a guide for the obtained solution method to the user through a display (eg, the display 330 of FIG. 3 ).
  • FIGS. 1 to 12 may be applied to the embodiments described with reference to FIG. 13 and thus detailed descriptions thereof are omitted.
  • an electronic device (eg, the electronic device 300 of FIG. 3 ) includes a memory (eg, the memory 310 of FIG. 3 ) storing one or more applications, a display (eg, the display 330 of FIG. 3 ) ), and obtaining error information when an error occurs in the running first application, identifying the type and cause of the error from the obtained error information, and using the identified type and cause to obtain the error information from the reference data set. Acquiring a solution for solving the error that has occurred, verifying the suitability of the obtained solution based on the status information of the electronic device, and if the obtained solution is verified to be suitable, for the obtained solution It may include a processor (eg, the processor 320 of FIG. 3 ) that provides guidance to the user through the display.
  • a processor eg, the processor 320 of FIG. 3
  • the reference data set may include one or more error types, one or more error causes, and one or more error resolution methods.
  • the processor determines whether there is an updated version of the first application, and if there is an updated version, the processor displays a guide for updating the first application. It can be provided to the user through.
  • the processor provides information on the generated error (eg, information 1011 of FIG. 10) to the user through the display when there is no updated version, and when there is a user input for the provided information, the generated error
  • a screen eg, screen 1020 of FIG. 10 ) including a history of and a button for deleting the first application may be displayed on the display.
  • the processor determines whether there is an updated version of the first application, and if there is an updated version, guidance for updating the first application may be provided to the user through the display.
  • the processor obtains a plurality of solution methods for solving the generated error from the reference data set using the identified type and cause, the highest order solution in the given order of the obtained solution methods A method may be selected, the suitability of the selected solution method may be verified, and when the selected solution method is verified to be appropriate, guidance on the selected solution method may be provided to the user through the display.
  • the processor acquires a plurality of solutions for solving the error from the reference data set using the identified type and cause, the obtained solution based on the number of times each of the obtained solutions is provided Change (or arrange) a given order of methods, select a top-order solution in the changed order, verify the suitability of the selected solution, and if the selected solution is verified to be suitable, Guidance on the selected solution method may be provided to the user through the display.
  • the processor calculates a difference in the number of times provided between solutions in successive order among the obtained solution methods, and if the calculated differences are equal to each other, the lowest order solution in the given order (e.g., FIG.
  • the order given above can be changed so that solution method C) of 12 becomes the highest order solution in the changed order.
  • the processor determines the resolution of the next higher order among the calculated differences.
  • the given order may be changed so that the method (eg, solution B in FIG. 11 ) becomes the top-order solution in the changed order.
  • the processor may initialize the number of times of providing each of the obtained solutions when the given order is changed.
  • the processor When a plurality of solution methods for solving the generated error are obtained from the reference data set using the identified type and cause, the processor provides a list of the obtained solution methods to the user through the display, , It is possible to perform a solution with the user's choice.
  • the reference data set may be stored in at least one of the memory and a server (eg, the server 620 of FIG. 6).
  • the processor checks or determines whether the first application is a third party application based on the obtained error information, and if the first application is the third party application, determining the type and cause, the solution method An operation of obtaining , an operation of verifying the suitability, and an operation of providing the guidance to the user may be performed.
  • the processor displays a pop-up window for the guidance on the display through a framework of an operating system (eg, the framework 410 of FIG. 4 ) or a second application (eg, the system application 420 of FIG. 4 ). can be displayed
  • a framework of an operating system eg, the framework 410 of FIG. 4
  • a second application eg, the system application 420 of FIG. 4
  • an electronic device (eg, the electronic device 300 of FIG. 3 ) stores a reference data set including one or more error types, one or more error causes, and one or more error solving methods, and stores one or more application data sets.
  • a memory eg, memory 310 of FIG. 3
  • a display eg, display 330 of FIG. 3
  • error information is acquired, and the obtained error Based on the information, it is checked or determined whether the first application is a third party application, and if the first application is a third party application, the type and cause of the error generated are identified from the obtained error information, and the identified error is determined.
  • a processor eg, the processor 320 of FIG. 3 displaying a pop-up window for guidance on the obtained solution may be included on the display.
  • the processor determines whether an updated version of the first application exists, and if there is an updated version, a pop-up for guiding an update of the first application exists.
  • a window can be displayed on the display.
  • the processor selects a top-order solution from a given order of the obtained solution methods; , The suitability of the selected solution method is verified, and if the selected solution method is verified to be suitable, a pop-up window for guidance on the selected solution method may be displayed on the display.
  • the processor acquires a plurality of solutions for solving the error from the reference data set using the identified type and cause, the obtained solution based on the number of times each of the obtained solutions is provided Change (or arrange) a given order of methods, select a top-order solution in the changed order, verify the suitability of the selected solution, and if the selected solution is verified to be suitable, the selected solution A pop-up window for guidance may be displayed on the display.
  • the processor may display the pop-up window on the display through a framework of an operating system or a second application.
  • a method of operating an electronic device includes obtaining error information when an error occurs in a first application being executed, and calculating the error information obtained from the obtained error information.
  • An operation of identifying the type and cause, an operation of obtaining a solution to solve the error from a reference data set using the identified type and cause, and the obtained solution based on the state information of the electronic device It may include an operation of verifying suitability, and an operation of providing guidance on the obtained solution method to a user through a display when it is verified that the obtained solution method is suitable.
  • the operating method of the electronic device includes an operation of determining whether an updated version of the first application exists when the generated error is not solved even by the obtained solution method, and if there is an updated version, the first application
  • the method may further include providing an application update guide to the user through the display.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Biomedical Technology (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

프로세서를 포함한 전자 장치가 개시된다. 프로세서는 프로세서에 의해 실행되는 제1 어플리케이션에 발생한 오류를 기초로 오류 정보를 획득하고, 획득된 오류 정보를 기초로 오류의 타입과 오류의 원인을 파악하며, 오류의 타입 및 오류의 원인을 이용하여 참조 데이터 셋으로부터 오류를 해결하기 위한 해결 방법을 획득하고, 전자 장치의 상태 정보를 기초로 획득된 해결 방법의 적합성을 검증하고, 적합한 것으로 검증된 획득된 해결 방법을 기초로 디스플레이를 통해 획득된 해결 방법에 대한 안내를 사용자에게 제공한다.

Description

전자 장치 및 이의 동작 방법
일 실시 예는 전자 장치(예: 스마트폰) 및 전자 장치에 저장된 하나 이상의 어플리케이션에 관한 것이다.
전자 장치는 사용자에 의해 사용될 수 있는 하나 이상의 어플리케이션을 저장할 수 있다.
사용자가 사용 중인 어플리케이션의 오류에 의해 크래시(crash)가 발생할 수 있고, 사용 중인 어플리케이션이 강제 종료될 수 있다.
사용 중인 어플리케이션이 강제 종료되는 경우 기존의 전자 장치는 사용자에게 해결 방법, 오류에 대한 정보, 오류 이력을 제공하지 않아, 사용자에게 불편함을 줄 수 있다.
일 실시는 어플리케이션의 오류 원인(또는 크래시 원인)을 분석하여 사용자에게 해결 방법을 제공할 수 있는 전자 장치를 제공할 수 있다.
일 실시는 어플리케이션의 크래시가 발생했을 때 어플리케이션의 오류 원인과 이력을 사용자에게 제공하여 사용자의 불편함을 최소화(또는 감소) 해줄 수 있는 전자 장치를 제공할 수 있다.
일 실시는 어플리케이션의 오류 해결이 가능하지 않은 경우 사용자에게 어플리케이션의 업데이트를 안내할 수 있는 전자 장치를 제공할 수 있다.
본 문서에서 이루고자 하는 기술적 과제는 위에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
개시의 일 측면에 따르면, 전자 장치는 디스플레이; 프로세서; 및 상기 프로세서와 작동적으로 연결되고 상기 프로세서에 의해 실행되는 하나 이상의 명령어들을 저장하는 메모리를 포함할 수 있다. 상기 명령어들이 실행될 때 상기 프로세서는 상기 프로세서에 의해 실행되는 제1 어플리케이션에 발생한 오류를 기초로 오류 정보를 획득하고, 상기 획득된 오류 정보를 기초로 상기 오류의 타입과 상기 오류의 원인을 파악하며, 상기 오류의 상기 파악된 타입 및 상기 오류의 파악된 원인을 이용하여 참조 데이터 셋으로부터 상기 오류를 해결하기 위한 해결 방법을 획득하고, 상기 전자 장치의 상태 정보를 기초로 상기 획득된 해결 방법의 적합성을 검증하고, 상기 적합한 것으로 검증된 획득된 해결 방법을 기초로 상기 디스플레이를 통해 상기 획득된 해결 방법에 대한 안내를 사용자에게 제공할 수 있다. 상기 참조 데이터 셋은 하나 이상의 오류 타입, 하나 이상의 오류 발생 원인, 및 하나 이상의 오류 해결 방법을 포함할 수 있다.
개시의 다른 측면에 따르면, 전자 장치는 디스플레이, 프로세서, 및 상기 프로세서와 작동적으로 연결되고, 참조 데이터 셋과 하나 이상의 어플리케이션을 저장하는 메모리를 포함할 수 있다. 참조 데이터 셋은 복수의 오류 타입들, 복수의 오류 발생 원인들, 및 복수의 오류 해결 방법들을 포함할 수 있다. 메모리는 상기 프로세서에 의해 실행되는 명령어들을 저장할 수 있다. 상기 명령어들이 실행될 때 상기 프로세서는 실행되는 제1 어플리케이션에 발생한 오류를 기초로 오류 정보를 획득하고, 상기 획득된 오류 정보를 기초로 상기 제1 어플리케이션이 서드 파티 어플리케이션인지 여부를 결정하며, 상기 제1 어플리케이션이 서드 파티 어플리케이션으로 결정된 것에 기초하여, 상기 획득된 오류 정보에서 상기 오류의 타입과 상기 오류의 원인을 파악하고, 상기 파악된 타입 및 상기 파악된 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 오류를 해결하기 위한 해결 방법을 획득하고, 상기 전자 장치의 상태 정보를 기초로 상기 획득된 해결 방법의 적합성을 검증하고, 상기 획득된 해결 방법이 적합한 것으로 검증된 경우 상기 획득된 해결 방법에 대한 안내를 위한 팝업 창을 상기 디스플레이에 표시하는 프로세서를 포함할 수 있다.
개시의 다른 측면에 따르면, 전자 장치의 방법은 실행되는 제1 어플리케이션에 발생한 오류를 기초로 오류 정보를 획득하는 동작, 상기 획득된 오류 정보에서 상기 오류의 타입과 상기 오류의 원인을 파악하는 동작, 상기 파악된 타입 및 상기 파악된 원인을 이용하여 참조 데이터 셋으로부터 상기 오류를 해결하기 위한 해결 방법을 획득하는 동작, 상기 전자 장치의 상태 정보를 기초로 상기 획득된 해결 방법의 적합성을 검증하는 동작, 및 적합한 것으로 검증된 상기 획득된 해결 방법에 기초하여 상기 획득된 해결 방법에 대한 안내를 디스플레이를 통해 사용자에게 제공하는 동작을 포함할 수 있다. 상기 참조 데이터 셋은 하나 이상의 오류 타입, 하나 이상의 오류 발생 원인, 및 하나 이상의 오류 해결 방법을 포함할 수 있다.
개시의 다른 측면에 따르면, 전자 장치는 디스플레이; 프로세서; 및 상기 프로세서와 작동적으로 연결되는 메모리를 포함할 수 있다. 메모리는 하나 이상의 명령어들을 저장할 수 있다. 상기 명령어들이 상기 프로세서에 의해 실행될 때 상기 프로세서는 상기 프로세서에 의해 실행되는 제1 어플리케이션에 발생한 오류를 기초로 오류 정보를 획득하고, 제1 시간 인스턴스와 상기 제1 어플리케이션에 상기 오류가 발생한 제2 시간 인스턴스 사이의 시간 구간에 대해 상기 전자 장치의 상태 정보를 분석하며(여기서, 상기 제1 시간 인스턴스는 상기 제2 시간 인스턴스보다 빠른 시간 인스턴스임), 상기 전자 장치의 상기 분석된 상태 정보를 기초로 상기 전자 장치의 상태를 결정하고, 상기 획득된 오류 정보로부터 예외 타입 또는 오류 원인을 결정하고, (i) 상기 결정된 오류 타입 또는 (ii) 상기 결정된 오류 원인 중 적어도 하나와 상기 전자 장치의 상기 결정된 상태에 기초하여, 상기 오류에 대응되는 하나 이상의 해결 방법들을 데이터베이스로부터 획득할 수 있다.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.
도 1은 일 실시에 따른, 네트워크 환경 내의 전자 장치의 블록도를 도시한다.
도 2는 일 실시에 따른, 프로그램을 예시하는 블록도이다.
도 3은 일 실시에 따른, 전자 장치의 일 예시를 설명하기 위한 블록도이다.
도 4는 일 실시에 따른, 전자 장치의 운영 체제의 프레임워크와 시스템 어플리케이션의 일 예시를 설명하기 위한 도면이다.
도 5는 일 실시에 따른, 전자 장치가 DB로부터 오류 해결 방법을 획득하는 다른 예시를 설명하기 위한 도면이다.
도 6은 일 실시에 따른, 전자 장치가 DB로부터 오류 해결 방법을 획득하는 또 다른 예시를 설명하기 위한 도면이다.
도 7은 일 실시에 따른, 전자 장치의 어플리케이션의 크래시가 발생한 경우 해결 방법을 제공하는 일 예시를 설명하기 위한 흐름도이다.
도 8, 도 9, 및 도 10은 일 실시에 따른, 전자 장치의 팝업 창의 예시들을 설명하기 위한 도면이다.
도 11 및 도 12는 일 실시에 따른, 전자 장치가 획득한 해결 방법들의 순서 변경의 예시들을 설명하기 위한 도면이다.
도 13은 일 실시에 따른, 전자 장치의 동작 방법의 일 예시를 설명하기 위한 흐름도이다.
이하, 실시 예들을 첨부된 도면들을 참조하여 상세하게 설명한다. 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조 부호를 부여하고, 이에 대한 중복되는 설명은 생략하기로 한다.
도 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 multimedia 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 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)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다.
어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일 실시에 있어서, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)와 연동할 수 있다.
데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다.
시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(144)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(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)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 외부 전자장치의 디스플레이 모듈 또는 카메라 모듈)의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "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)(예: 도 1의 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 3은 일 실시에 따른, 전자 장치의 일 예시를 설명하기 위한 블록도이다.
일 실시에 있어서, 도 3의 전자 장치(300)(예: 도 1의 전자 장치(101))는 메모리(310)(예: 도 1의 메모리(130)), 프로세서(320)(예: 도 1의 프로세서(120)), 및 디스플레이(330)(예: 도 1의 디스플레이 모듈(160))를 포함할 수 있다.
일 실시에 있어서, 메모리(310)는 하나 이상의 어플리케이션을 저장할 수 있다. 일례로, 메모리(310)는 하나 이상의 서드 파티(third party) 어플리케이션을 저장할 수 있고, 하나 이상의 시스템 어플리케이션을 저장할 수 있다. 시스템 어플리케이션은 전자 장치(300)의 제조사에 의해 전자 장치(300)에 탑재된 어플리케이션을 나타낼 수 있다. 시스템 어플리케이션은, 예를 들어, 전자 장치(300)의 관리 또는 케어를 위한 디바이스 케어 어플리케이션을 포함할 수 있으나 이에 제한되지 않는다.
일 실시에 있어서, 프로세서(320)는 실행 중인 제1 어플리케이션에 오류가 발생한 경우 오류 정보를 획득할 수 있다. 일 실시에 있어서, 오류로 인해 제1 어플리케이션의 크래시가 발생하여 실행 중인(또는 사용 중인) 제1 어플리케이션이 강제 종료(FC: force close)될 수 있다. 프로세서(320)는 제1 어플리케이션의 크래시가 발생하여 제1 어플리케이션이 강제 종료된 경우, 운영 체제(예: 도 2의 운영 체제(142))의 프레임워크(framework)를 통해 오류 정보를 획득할 수 있다. 오류 정보는, 예를 들어, 제1 어플리케이션의 프로세스(process), 제1 어플리케이션의 process의 ID(identification), 제1 어플리케이션의 정보, 및 크래시 정보를 포함할 수 있다. 제1 어플리케이션의 정보는, 예를 들어, 제1 어플리케이션의 ID(예: 제1 어플리케이션의 패키지 이름), 제1 어플리케이션의 버전 정보를 포함할 수 있으나 이에 제한되지 않는다. 크래시 정보는, 예를 들어, 발생한 오류(예: 예외(exception))의 타입과 오류의 원인을 포함할 수 있으나, 이에 제한되지 않는다. exception은, 예를 들어, 사용자의 잘못된 조작에 의해 발생할 수 있는 오류 또는 개발자에 의해 구현된 로직에서 발생할 수 있는 오류를 나타낼 수 있다. 아래 표 1은 크래시 정보의 일례를 보여준다.
11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: FATAL EXCEPTION: main
11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: Process: com.???.katana, PID: 14073
11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: android.util.AndroidRuntimeException: java.lang.reflect.InvocationTargetException
.............................................
11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
.............................................
11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: Caused by: java.lang.RuntimeException: Package not found: com.***.android.webview
.............................................
11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: ... 27 more
일 실시에 있어서, 프로세서(320)는 획득된 오류 정보에서 제1 어플리케이션에 발생한 오류의 타입(예: exception 타입)과 원인을 파악할 수 있다. 일 실시에 있어서, 프로세서(320)는 크래시 정보에서 어떤 타입의 exception이 발생하였는지를 파악할 수 있고, 오류의 발생 원인을 파악할 수 있다. 일례로, 프로세서(320)는 위 표 1의 크래시 정보의 "java.lang"를 포함하는 줄(line) "11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException"에서 "java.lang" 이후에 기재된 "InvocationTargetException"를 추출 또는 파싱할 수 있다. 프로세서(320)는 위 표 1의 크래시 정보로부터 "InvocationTargetException"이 발생하였음을 파악할 수 있다. 프로세서(320)는 위 표 1의 크래시 정보의 "Caused by"를 포함하는 line "11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: Caused by: java.lang.RuntimeException: Package not found: com.***.android.webview"에서 "Caused by" 이후에 기재된 "Package not found: com.***.android.webview"를 추출 또는 파싱할 수 있다.
일 실시에 있어서, 프로세서(320)는 제1 어플리케이션의 정보 또는 크래시 정보로부터 제1 어플리케이션의 process와 제1 어플리케이션의 process의 ID를 획득할 수 있다. 일례로, 프로세서(320)는 위 표 1의 크래시 정보의 "Process"를 포함하는 line "11-22 23:36:40.280 10360 14073 14073 E AndroidRuntime: Process: com.???.katana, PID: 14073"에서 "Process: com.???.katana"와 "PID: 14073"를 추출 또는 파싱할 수 있다. 추출된 "Process: com.???.katana"는 제1 어플리케이션의 process를 나타낼 수 있고, 추출된 "PID: 14073"는 제1 어플리케이션의 process의 ID를 나타낼 수 있다.
일 실시에 있어서, 프로세서(320)는 오류 정보를 분석하여 제1 어플리케이션의 오류가 제1 어플리케이션이 웹뷰(webview)를 찾을 수 없어 발생한 것으로 파악할 수 있다.
일 실시에 있어서, 프로세서(320)는 파악된 오류의 타입 및 원인을 이용하여 참조 데이터 셋으로부터 제1 어플리케이션에 발생한 오류를 해결하기 위한 해결 방법을 획득할 수 있다. 참조 데이터 셋은, 예를 들어, 하나 이상의 오류 타입(예: 하나 이상의 exception 타입), 하나 이상의 오류 발생 원인, 및 하나 이상의 해결 방법을 포함할 수 있다. 하나 이상의 해결 방법은, 예를 들어, 권한 허용(예: 파일 읽기 쓰기 권한 허용, 인터넷 사용 권한 허용), 캐시 정리, 메모리 저장 공간 확보, 재부팅, 및 인터넷 연결 중 하니 이상을 포함할 수 있으나 이에 제한되지 않는다. 하나 이상의 오류 발생 원인(또는 하나 이상의 오류 타입)은 하나 이상의 해결 방법과 맵핑되어 있을 수 있다. 일 실시에 있어서, 프로세서(320)는 크래시 정보(예: 위 표 1의 크래시 정보)로부터 추출(또는 파싱)한 exception 타입(오류 타입)(예: InvocationTargetException)이 참조 데이터 셋에 있는지 여부를 확인 또는 결정할 수 있다. 프로세서(320)는 추출한 exception 타입이 참조 데이터 셋에 있는 경우, 추출한 원인(예: "Package not found: com.***.android.webview")에 해당하는 오류 발생 원인이 참조 데이터 셋에 있는지 여부를 확인 또는 결정할 수 있다. 프로세서(320)는 추출한 원인에 해당하는 오류 발생 원인이 참조 데이터 셋에 있는 경우, 추출한 원인과 맵핑되어 있는 해결 방법을 참조 데이터 셋으로부터 획득할 수 있다.
일 실시에 있어서, 참조 데이터 셋은 메모리(310) 또는 서버에 저장되어 있을 수 있다. 일 실시에 있어서, 참조 데이터 셋은 전자 장치(300)의 시스템 어플리케이션(예: 디바이스 케어 어플리케이션)의 데이터베이스(DB: database)에 기록되어 있을 수 있다. 다른 실시 예에 있어서, 참조 데이터 셋은 서버의 DB에 기록되어 있을 수 있다.
일 실시에 있어서, 크래시 정보에는 오류의 발생 원인이 기록되어 있지 않을 수 있다. 일례로, 어떤 크래시 정보에는 "Caused by"를 포함하는 line이 없을 수 있다. 프로세서(320)는 크래시 정보에서 오류 타입(예: exception type)을 파악할 수 있고, 파악된 오류 타입을 이용하여 참조 데이터 셋으로부터 하나 이상의 해결 방법을 획득할 수 있다.
일 실시에 있어서, 프로세서(320)는 획득된 해결 방법의 적합성을 검증할 수 있다. 일 실시에 있어서, 프로세서(320)는 획득된 해결 방법의 적합성을 전자 장치(300)의 상태 정보(예: 전자 장치(300)의 메모리 상태, 통신 연결 상태)를 기초로 검증할 수 있다. 일례로, 프로세서(320)는 참조 데이터 셋으로부터 메모리(310)의 저장 공간의 확보를 나타내는 해결 방법을 획득할 수 있다. 프로세서(320)는 메모리(310)의 저장 용량에 여유가 있는 상태이면, 메모리(310)의 저장 공간의 확보를 나타내는 해결 방법은 적합하지 않은 것으로 결정할 수 있다. 프로세서(320)는 메모리(310)의 저장 용량에 여유가 없는 상태이면, 메모리(310)의 저장 공간의 확보를 나타내는 해결 방법은 적합한 것으로 결정할 수 있다.
일 실시에 있어서, 프로세서(320)는 획득된 해결 방법이 적합한 것으로 검증된 경우, 획득된 해결 방법에 대한 안내를 디스플레이(330)를 통해 사용자에게 제공할 수 있다. 일 실시에 있어서, 프로세서(320)는 획득된 해결 방법에 대한 안내를 위한 팝업 창을 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 프로세서(320)는 참조 데이터 셋으로부터 제1 어플리케이션의 오류를 해결하기 위한 복수의 해결 방법들을 획득할 수 있다. 획득된 해결 방법들은 주어진 순서(given order)를 가질 수 있고, 프로세서(320)는 획득된 해결 방법들 중 최상위 순서의 해결 방법(top-ranking solution)(주어진 순서에서 최상위 위치(highest position)의 해결 방법)을 선택할 수 있다. 프로세서(320)는 최상위 순서의 해결 방법의 적합성을 검증할 수 있고, 최상위 순서의 해결 방법이 적합한 것으로 검증된 경우 최상위 순서의 해결 방법에 대한 안내를 디스플레이(330)를 통해 사용자에게 제공할 수 있다. 최상위 순서의 해결 방법이 수행되어도 제1 어플리케이션의 오류가 해결되지 않을 수 있다. 프로세서(320)는 차상위 순서의 해결 방법(주어진 순서에서 차상위 위치(next-highest position)의 해결 방법)의 적합성을 검증할 수 있고 차상위 순서의 해결 방법이 적합한 것으로 검증된 경우 차상위 순서의 해결 방법에 대한 안내를 디스플레이(330)를 통해 사용자에게 제공할 수 있다. 다른 실시 예에 있어서, 프로세서(320)는 획득된 해결 방법들의 주어진 순서를 변경할 수 있는데, 순서 변경에 대해선 도 11 내지 도 12를 통해 후술한다.
일 실시에 있어서, 프로세서(320)는 참조 데이터 셋으로부터 제1 어플리케이션의 오류를 해결하기 위한 복수의 해결 방법들을 획득한 경우, 획득된 해결 방법들의 리스트를 디스플레이(330)를 통해 사용자에게 제공할 수 있다. 일 실시에 있어서, 프로세서(320)는 획득된 각 해결 방법을 요약할 수 있고, 요약된 각 해결 방법의 리스트를 디스플레이(330)에 표시하여 사용자에게 제공할 수 있다. 프로세서(320)는 사용자에게 제공된 해결 방법들(또는 디스플레이(330)에 표시된 해결 방법들) 중 사용자 선택이 있는 해결 방법을 수행할 수 있다.
일 실시에 있어서, 프로세서(320)는 전자 장치(300)의 사용 상태를 파악 또는 확인 또는 결정할 수 있다. 일례로, 프로세서(320)는 전자 장치(300)의 운영 체제가 최신 버전으로 업데이트된 상태인지, 사용자의 다른 전자 장치 내의 데이터가 전자 장치(300)로 백업(또는 동기화)된 상태인지, 또는 전자 장치(300)가 신제품인지를 파악 또는 확인 또는 결정할 수 있다. 프로세서(320)는 제1 어플리케이션에 오류가 발생한 경우, 파악한 사용 상태에 적합한 오류 해결 방법을 사용자에게 제공할 수 있도록 제1 추천 알고리즘(예: 협업 필터링 (collaborative filtering))을 이용할 수 있다. 일례로, 프로세서(320)는 제1 어플리케이션에 오류가 발생한 경우, 파악한 사용 상태에 제1 추천 알고리즘을 적용하여 제1 어플리케이션의 오류를 해결하기 위한 하나 이상의 해결 방법을 사용자에게 제공할 수 있다.
일 실시에 있어서, 프로세서(320)는 복수의 어플리케이션들 각각마다 어떤 오류가 발생하였는지 및 복수의 어플리케이션들 각각에 발생한 오류를 해결하기 위해 어떤 해결 방법을 제공하였는지를 메모리(310)(또는 서버)에 기록할 수 있다. 달리 표현하면, 메모리(310)(또는 서버)에 해결 방법 제공 이력이 기록되어 있을 수 있다. 프로세서(320)는 제1 어플리케이션에 오류가 발생한 경우, 사용자에게 적합한 오류 해결 방법을 제공할 수 있도록 해결 방법 제공 이력과 제2 추천 알고리즘(예: 컨텐츠 기반(content-based) 필터링)을 이용할 수 있다. 일례로, 프로세서(320)는 해결 방법 제공 이력에 제2 추천 알고리즘을 적용하여 제1 어플리케이션의 오류를 해결하기 위한 하나 이상의 해결 방법을 사용자에게 제공할 수 있다.
일 실시에 있어서, 획득된 해결 방법(또는 획득된 복수의 해결 방법들)이 수행되어도 제1 어플리케이션의 오류가 해결되지 않을 수 있다. 또는, 프로세서(320)는 파악된 오류의 타입이 참조 데이터 셋에 있는지 조회하였으나 파악된 오류의 타입이 없음을 나타내는 응답을 획득할 수 있다. 프로세서(320)는 제1 어플리케이션의 오류가 해결되지 않은 경우 또는 파악된 오류의 타입이 없음을 나타내는 응답을 획득한 경우, 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 있는지 여부를 판단할 수 있다. 프로세서(320)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 있는 경우 제1 어플리케이션의 업데이트에 대한 안내 또는 제1 어플리케이션의 업데이트 버전에 대한 안내를 디스플레이(330)를 통해 사용자에게 제공할 수 있다. 프로세서(320)는 제1 어플리케이션의 업데이트에 대한 안내 또는 제1 어플리케이션의 업데이트 버전에 대한 안내를 위한 팝업 창을 디스플레이(330)에 표시할 수 있다. 프로세서(320)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 없는 경우, 제1 어플리케이션의 오류에 대한 정보를 디스플레이(330)를 통해 사용자에게 제공할 수 있고, 제공된 정보에 대한 사용자 입력이 있는 경우 제1 어플리케이션의 오류 발생 이력과 제1 어플리케이션의 삭제를 위한 버튼을 포함하는 화면을 디스플레이(330)에 표시할 수 있다.
도 4는 일 실시에 따른, 전자 장치의 운영 체제의 프레임워크와 시스템 어플리케이션의 일 예시를 설명하기 위한 도면이다.
일 실시에 있어서, 프로세서(400)(예: 도 3의 프로세서(320))에서 운영 체제의 프레임워크(410)와 시스템 어플리케이션(420)(예: 도 2의 어플리케이션(146))이 동작할 수 있다.
일 실시에 있어서, 프레임워크(410)는 AMS(ActivityManagerService)(411)(예: 도 2의 어플리케이션 매니저(201)), AppErrors(412), 진단부(413), 및 DB 매니저(414)(예: 도 2의 데이터베이스 매니저(211))를 포함할 수 있다.
일 실시에 있어서, 시스템 어플리케이션(420)은 백그라운드에 동작하는 IAFD(intelligent application fault diagnosis) 서비스 컴포넌트(421), 팝업 창을 제공하기 위한 팝업 제공부(422), 시스템 어플리케이션(420)의 외부 요소(예: 프레임워크(410))와 제1 DB(424) 사이의 연결을 제공하기 위한 DB 제공자(provider)(423), 및 제1 DB(424)를 포함할 수 있다.
일 실시에 있어서, 도 3을 통해 설명한 참조 데이터 셋은 제1 DB(424)에 기록되어 있을 수 있다. 제1 DB(424)에는 하나 이상의 어플리케이션의 버전 정보가 기록되어 있을 수 있다.
일 실시에 있어서, 프로세서(400)는 프레임워크(410)를 통해 시스템 어플리케이션(420) 내의 제1 DB(424)에 제1 어플리케이션의 오류를 해결하기 위한 해결 방법이 있는지 조회할 수 있다. 프로세서(400)는 제1 DB(424)로부터 제1 어플리케이션의 오류를 해결하기 위한 하나 이상의 해결 방법을 획득할 수 있다.
일 실시에 있어서, 프로세서(400)는 제1 어플리케이션의 크래시가 발생하여 제1 어플리케이션이 강제 종료된 경우 프레임워크(410)의 AMS(411)를 통해 오류 정보를 획득 또는 수집할 수 있다.
일 실시에 있어서, 프로세서(400)는 AppErrors(412)를 통해 진단부(413)를 동작시킬 수 있다. 일례로, 진단부(413)는 인스턴스에 해당할 수 있고, 프로세서(400)는 AppErrors(412)를 통해 진단부(413)에 해당하는 인스턴스를 생성할 수 있다.
일 실시에 있어서, 프로세서(400)는 진단부(413)를 통해 오류 정보 내의 크래시 정보(예: 위 표 1의 크래시 정보)로부터, 발생한 exception 타입과 오류의 원인을 파악할 수 있다.
일 실시에 있어서, 프로세서(400)는 IAFD 서비스 컴포넌트(421)를 통해 시스템 어플리케이션(420)의 일부 동작을 백그라운드(background)에서 수행할 수 있다. 백그라운드에서 수행되는 일부 동작은, 예를 들어, 후술할 제1 DB(424) 접근 동작, 제1 DB(424)로부터 해결 방법을 획득하는 동작을 포함할 수 있으나 이에 제한되지 않는다.
일 실시에 있어서, 프로세서(400)는 프레임워크(410) 내의 DB 매니저(414)와 시스템 어플리케이션(420) 내의 DB 제공자(423)를 통해 제1 DB(424)에 접근하여, 파악된 exception 타입과 오류의 원인에 대한 해결 방법이 제1 DB(424)에 있는지 조회할 수 있다. 프로세서(400)는 파악된 exception 타입과 오류의 원인에 대한 해결 방법이 제1 DB(424)에 있는 경우, DB 제공자(423)와 DB 매니저(414)를 통해 제1 DB(424)로부터 해결 방법을 획득할 수 있다.
일 실시에 있어서, 프로세서(400)는 획득된 해결 방법의 적합성을 진단부(413)를 통해 검증할 수 있고, 획득된 해결 방법이 적합한 것으로 검증된 경우 획득된 해결 방법의 안내를 위한 팝업 창을 시스템 어플리케이션(420)의 팝업 제공부(422)를 통해 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 제1 DB(424)에는 획득된 해결 방법의 제공 횟수가 기록되어 있을 수 있다. 프로세서(400)는 획득된 해결 방법을 사용자에게 제공한 경우, 제1 DB(424)에 기록되어 있는 제공 횟수를 업데이트할 수 있다. 일례로, 제1 DB(424)에 해결 방법 A의 제공 횟수 10회가 기록되어 있을 수 있다. 프로세서(400)는 해결 방법 A를 사용자에게 제공한 경우 해결 방법 A의 제공 횟수를 10회에서 11회로 업데이트할 수 있다.
일 실시에 있어서, 프로세서(400)는 획득된 해결 방법을 사용자에게 제공한 경우, 획득된 해결 방법을 제1 어플리케이션의 현재 버전에서 제공한 것을 제1 DB(424)에 기록할 수 있다. 일례로, 오류가 발생한 제1 어플리케이션의 버전이 1.10이고, 프로세서(400)는 해결 방법 A를 사용자에게 제공할 수 있다. 프로세서(400)는 제1 어플리케이션의 버전 1.10에서 해결 방법 A를 제공한 것을 제1 DB(424)에 기록할 수 있다.
일 실시에 있어서, 프로세서(400)는 제1 DB(424)로부터 해결 방법들을 획득할 수 있고, 획득된 해결 방법들의 리스트를 디스플레이(330)를 통해 사용자에게 제공할 수 있다. 일 실시에 있어서, 프로세서(400)는 획득된 각 해결 방법을 요약할 수 있고, 요약된 각 해결 방법의 리스트를 디스플레이(330)에 표시하여 사용자에게 제공할 수 있다. 프로세서(400)는 사용자에게 제공된 해결 방법들(또는 디스플레이(330)에 표시된 해결 방법들) 중 사용자 선택이 있는 해결 방법을 수행할 수 있다.
일 실시에 있어서, 프로세서(400)는 제1 DB(424)로부터 조회 결과가 없음을 나타내는 응답을 획득할 수 있다. 일례로, 프로세서(400)는 파악한 exception 타입이 제1 DB(424)에 없는 경우 제1 DB(424)로부터 조회 결과가 없음을 나타내는 응답을 획득할 수 있다. 프로세서(400)는 어플리케이션 마켓에 제1 어플리케이션의 업데이트 버전이 있는지 여부를 확인 또는 결정할 수 있다. 프로세서(400)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 있는 경우 제1 어플리케이션의 업데이트를 안내 또는 제1 어플리케이션의 업데이트 버전의 안내를 위한 팝업 창을 디스플레이(330)에 표시할 수 있다. 프로세서(400)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 없는 경우 제1 어플리케이션의 오류에 대한 정보를 디스플레이(330)에 표시하여 사용자에게 제공할 수 있다. 프로세서(400)는 제공된 정보에 대한 사용자 입력이 있는 경우, 제1 어플리케이션의 오류 발생 이력과 제1 어플리케이션의 삭제를 위한 버튼을 포함하는 화면을 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 프로세서(400)는 제1 어플리케이션의 오류가 발생한 제2 시점(시간 인스턴스(time instance))과 제1 시점(time instance) 사이의 시간 구간(time period) 동안의 전자 장치(300)의 상태 정보를 분석할 수 있다. 제1 시점(time instance)은 제1 어플리케이션의 오류가 발생한 제2 시점(time instance)보다 빠른 시점(time instance)을 나타낼 수 있다. 전자 장치(300)의 상태 정보는, 예를 들어, 전자 장치(300)의 부하 상태, 전자 장치(300)의 발열 상태, 및 전자 장치(300)와 기지국(미도시) 사이의 전계(electromagnetic field) 상태 중 하나 이상을 포함할 수 있으나 이에 제한되지 않는다. 제1 어플리케이션의 오류가 외부 요인(또는 전자 장치(300)의 상태)에 의해 발생할 가능성이 존재할 수 있어, 프로세서(400)는 진단부(413)를 통해 제1 어플리케이션의 오류가 발생한 제2 시점(time instance)과 제1 시점(time instance) 사이의 시간 구간 동안의 전자 장치(300)의 상태 정보를 분석할 수 있다. 일례로, 전자 장치(300)에 다수의 어플리케이션들이 실행 중일 수 있어 프로세서(400)는 높은 부하 상태에 있을 수 있고, 프로세서(400)의 높은 부하 상태로 인해 제1 어플리케이션에 일시적인 오류가 발생할 수 있다. 다른 일례로, 전자 장치(300)의 발열(또는 높은 온도)로 인해 프로세서(400)의 성능이 일시적으로 저하될 수 있고, 프로세서(400)의 성능의 일시적인 저하에 의해 제1 어플리케이션의 오류가 발생할 수 있다. 또 다른 일례로, 전자 장치(300)와 기지국 사이의 전계 상태가 약전계(weak electromagnetic field) 상태로 될 수 있다. 전자 장치(300)가 예를 들어 교량 구간 또는 터널 구간에 진입하는 경우, 전자 장치(300)와 기지국 사이의 전계 상태는 약전계 상태가 될 수 있다. 약전계 상태에 의해 전자 장치(300)의 통신 오류 및/또는 프로세서(400)의 입출력 오류가 발생할 수 있고, 제1 어플리케이션의 오류가 발생할 수 있다.
일 실시에 있어서, 프로세서(400)는 제1 어플리케이션의 오류가 발생한 제2 시점(time instance)과 제1 시점(time instance) 사이의 시간 구간 동안의 전자 장치(300)의 상태 정보를 분석함으로써 전자 장치(300)의 부하 상태, 발열 상태, 및 전계 상태 중 하나 이상과 같은 전자 장치(300)의 상태를 체크 또는 결정할 수 있다. 프로세서(400)는 전자 장치(300)가 높은 부하 상태에 있는 경우, 전자 장치(300)의 온도가 높은 경우, 및/또는 전자 장치(300)가 약전계 상태에 있는 경우, 전자 장치(300)가 비정상 상태에 있는 것으로 분석 또는 판단할 수 있다.
일 실시에 있어서, 프로세서(400)는 진단부(413)를 통해 크래시 정보로부터 exception 타입과 오류의 원인을 파악 또는 결정할 수 있고, 파악한 exception 타입, 파악한 오류의 원인, 및 전자 장치(300)의 상태 정보의 분석 결과를 이용하여 제1 어플리케이션에 발생한 오류를 해결하기 위한 하나 이상의 해결 방법 또는 제1 어플리케이션에 발생한 오류에 대응되는 하나 이상의 해결 방법을 획득할 수 있다. 일례로, 프로세서(400)는 파악한 exception 타입 및 파악한 오류의 원인에 대한 하나 이상의 해결 방법을 제1 DB(424)로부터 획득할 수 있다. 프로세서(400)는 전자 장치(300)의 비정상 상태를 해소(또는 완화)하기 위한 방법(예: 여러 어플리케이션들이 실행 중인 경우 일부 어플리케이션의 실행을 중단, 온도를 낮추기 위해 전자 장치(300)의 사용을 잠시 중단)을 생성할 수 있다. 어떤 실시 예에 있어서, 제1 DB(424)에 전자 장치(300)의 비정상 상태를 해소(또는 완화)하기 위한 하나 이상의 방법이 기록되어 있을 수 있다. 프로세서(400)는 전자 장치(300)가 비정상 상태에 있는 경우, 제1 DB(424)로부터 비정상 상태를 해소(또는 완화)하기 위한 하나 이상의 방법을 획득할 수 있다.
일 실시에 있어서, 시스템 어플리케이션(420)의 업데이트를 통해 제1 DB(424)가 업데이트될 수 있다.
도 5는 일 실시에 따른, 전자 장치가 DB로부터 해결 방법을 획득하는 다른 예시를 설명하기 위한 도면이다.
일 실시에 있어서, 도 5의 전자 장치(500)(예: 도 3의 전자 장치(300)) 내의 프로세서(510)(예: 도 3의 프로세서(320))는 제1 어플리케이션의 크래시가 발생하여 제1 어플리케이션이 강제 종료된 경우, 프레임워크(511)(예: 도 4의 프레임워크(410))를 통해 오류 정보를 획득할 수 있다. 프로세서(510)는 프레임워크(511)를 통해 획득된 오류 정보로부터 exception 타입과 오류의 원인을 파악할 수 있다. 도 5에 도시된 예에서, 프로세서(510)는 파악한 exception 타입과 오류의 원인에 대한 해결 방법을 획득하기 위해 시스템 어플리케이션(예: 도 4의 시스템 어플리케이션(420))을 이용하지 않을 수 있다.
일 실시에 있어서, 메모리(520)(예: 도 3의 메모리(310))에 도 3을 통해 설명한 참조 데이터 셋이 저장되어 있을 수 있다. 도 5에 도시된 제1 DB(521)에 참조 데이터 셋이 기록되어 있을 수 있다.
일 실시에 있어서, 프로세서(510)는 파악한 exception 타입과 오류의 원인에 대한 해결 방법이 제1 DB(521)에 있는지 조회할 수 있다. 프로세서(510)는 파악한 exception 타입과 오류의 원인에 대한 해결 방법이 제1 DB(521)에 있는 경우, 제1 DB(521)로부터 하나 이상의 해결 방법을 획득할 수 있다.
일 실시에 있어서, 프로세서(510)는 획득된 해결 방법의 적합성을 검증할 수 있다. 프로세서(510)는 획득된 해결 방법이 적합한 것으로 검증된 경우 획득한 해결 방법의 안내를 위한 팝업 창을 프레임워크(511)를 통해 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 제1 DB(521)에는 획득된 해결 방법의 제공 횟수가 기록되어 있을 수 있다. 프로세서(510)는 획득된 해결 방법을 사용자에게 제공한 경우, 제1 DB(521)에 기록되어 있는 제공 횟수를 업데이트할 수 있다. 일례로, 제1 DB(521)에 해결 방법 A의 제공 횟수 8회가 기록되어 있을 수 있다. 프로세서(510)는 해결 방법 A를 사용자에게 제공한 경우 해결 방법 A의 제공 횟수를 8회에서 9회로 업데이트할 수 있다.
일 실시에 있어서, 프로세서(510)는 획득된 해결 방법을 사용자에게 제공한 경우, 획득된 해결 방법을 제1 어플리케이션의 현재 버전에서 제공한 것을 제1 DB(521)에 기록할 수 있다. 일례로, 오류가 발생한 제1 어플리케이션의 버전이 2.10이고, 프로세서(510)는 해결 방법 A를 사용자에게 제공할 수 있다. 프로세서(510)는 제1 어플리케이션의 버전 2.10에서 해결 방법 A를 제공한 것을 제1 DB(521)에 기록할 수 있다.
일 실시에 있어서, 프로세서(510)는 제1 DB(521)로부터 해결 방법들을 획득할 수 있고, 획득된 해결 방법들의 리스트를 디스플레이(330)를 통해 사용자에게 제공할 수 있다. 일 실시에 있어서, 프로세서(510)는 획득된 각 해결 방법을 요약할 수 있고, 요약된 각 해결 방법의 리스트를 디스플레이(330)에 표시하여 사용자에게 제공할 수 있다. 프로세서(510)는 사용자에게 제공된 해결 방법들(또는 디스플레이(330)에 표시된 해결 방법들) 중 사용자 선택이 있는 해결 방법을 수행할 수 있다.
일 실시에 있어서, 프로세서(510)는 제1 DB(521)로부터 조회 결과 없음을 나타내는 응답을 수신할 수 있다. 프로세서(510)는 조회 결과 없음을 나타내는 응답을 수신하는 경우, 어플리케이션 마켓에 제1 어플리케이션의 업데이트 버전이 있는지 여부를 확인 또는 결정할 수 있다. 프로세서(510)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 있는 경우 제1 어플리케이션의 업데이트를 안내하기 위한 팝업 창을 디스플레이(330)에 표시할 수 있다. 프로세서(510)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 없는 경우 제1 어플리케이션의 오류에 대한 정보를 디스플레이(330)에 표시하여 사용자에게 제공할 수 있다. 프로세서(510)는 제공된 정보에 대한 사용자 입력이 있는 경우, 제1 어플리케이션의 오류 발생 이력과 제1 어플리케이션의 삭제를 위한 소프트 버튼을 포함하는 화면을 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 프로세서(510)는 제1 어플리케이션의 오류 발생 시점과 제1 시점 사이의 시간 동안의 전자 장치(500)의 상태 정보(예: 전자 장치(500)의 부하 상태, 전자 장치(500)의 발열 상태, 및 전자 장치(500)와 기지국 사이의 전계 상태 중 하나 이상)를 분석할 수 있다. 전자 장치(500)의 상태 정보의 분석에 대한 실시 예들은 도 4를 통해 설명한 전자 장치(300)의 상태 정보의 분석에 대한 실시 예들이 적용될 수 있어, 상세한 설명을 생략한다.
일 실시에 있어서, 프로세서(510)는 크래시 정보로부터 exception 타입과 오류의 원인을 파악할 수 있고, 파악한 exception 타입, 파악한 오류의 원인, 및 전자 장치(500)의 상태 정보의 분석 결과를 이용하여 제1 어플리케이션에 발생한 오류를 해결하기 위한 하나 이상의 해결 방법을 획득할 수 있다. 전자 장치(500)의 상태 정보의 분석 결과를 이용하여 해결 방법을 획득하는 실시 예들은 도 4를 통해 설명한 전자 장치(300)의 상태 정보의 분석 결과를 이용하여 해결 방법을 획득한 실시 예들이 적용될 수 있어, 상세한 설명을 생략한다.
일 실시에 있어서, 펌웨어 업데이트(또는 운영 체제 업데이트)를 통해 제1 DB(521)가 업데이트될 수 있다.
도 6은 일 실시 예에 따른, 전자 장치가 DB로부터 해결 방법을 획득하는 또 다른 예시를 설명하기 위한 도면이다.
일 실시에 있어서, 도 3을 통해 설명한 참조 데이터 셋은 서버(620)에 저장될 수 있다. 도 6의 서버(620)의 제1 DB(621)에 참조 데이터 셋이 기록되어 있을 수 있다.
일 실시에 있어서, 전자 장치(610)(예: 도 3의 전자 장치(300)) 내의 프로세서(611)(예: 도 3의 프로세서(320))는 제1 어플리케이션의 크래시가 발생하여 제1 어플리케이션이 강제 종료된 경우, 프레임워크(611-1)(예: 도 4의 프레임워크(410))를 통해 오류 정보를 획득할 수 있다. 프로세서(611)는 프레임워크(611-1)를 통해 획득된 오류 정보로부터 exception 타입과 오류의 원인을 파악할 수 있다.
일 실시에 있어서, 프로세서(611)는 제1 어플리케이션의 정보(예: 제1 어플리케이션의 패키지 이름과 버전 정보), 파악한 exception 타입, 및 파악한 오류의 원인을 전자 장치(610)의 통신 모듈(예: 도 1의 통신 모듈(190))을 통해 서버(620)에 전송할 수 있다. 서버(620)는 제1 어플리케이션에 발생한 exception 타입과 오류의 원인에 대한 해결 방법이 서버(620) 내의 제1 DB(621)에 있는지 확인 또는 결정할 수 있다. 서버(620)는 제1 어플리케이션에 발생한 exception 타입과 오류의 원인에 대한 하나 이상의 해결 방법이 서버(620) 내의 제1 DB(621)에 있는 경우 하나 이상의 해결 방법을 전자 장치(610)로 전송할 수 있다.
일 실시에 있어서, 프로세서(611)는 수신된 해결 방법의 적합성을 검증할 수 있고, 수신된 해결 방법이 적합한 것으로 검증되는 경우 수신된 해결 방법의 안내를 위한 팝업 창을 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 제1 DB(621)에는 획득된 해결 방법의 제공 횟수가 기록되어 있을 수 있다. 프로세서(611)는 획득된 해결 방법을 사용자에게 제공한 경우, 제1 DB(621)에 기록되어 있는 제공 횟수를 업데이트할 수 있다. 일례로, 제1 DB(621)에 해결 방법 A의 제공 횟수 5회가 기록되어 있을 수 있다. 프로세서(611)는 해결 방법 A를 사용자에게 제공한 경우, 서버(620)를 통해 제1 DB(621)에 접근할 수 있고, 해결 방법 A의 제공 횟수를 5회에서 6회로 업데이트할 수 있다.
일 실시에 있어서, 프로세서(611)는 획득된 해결 방법을 사용자에게 제공한 경우, 획득된 해결 방법을 제1 어플리케이션의 현재 버전에서 제공한 것을 제1 DB(621)에 기록할 수 있다. 일례로, 오류가 발생한 제1 어플리케이션의 버전이 2.10이고, 프로세서(611)는 해결 방법 A를 사용자에게 제공할 수 있다. 프로세서(611)는 서버(620)를 통해 제1 DB(621)에 접근할 수 있고, 제1 어플리케이션의 버전 2.10에서 해결 방법 A를 제공한 것을 제1 DB(621)에 기록할 수 있다.
일 실시에 있어서, 프로세서(611)는 서버(620)로부터 해결 방법들을 수신할 수 있고, 수신된 해결 방법들의 리스트를 디스플레이(330)를 통해 사용자에게 제공할 수 있다. 일 실시에 있어서, 프로세서(611)는 수신된 각 해결 방법을 요약할 수 있고, 요약된 각 해결 방법의 리스트를 디스플레이(330)에 표시하여 사용자에게 제공할 수 있다. 프로세서(611)는 사용자에게 제공된 해결 방법들(또는 디스플레이(330)에 표시된 해결 방법들) 중 사용자 선택이 있는 해결 방법을 수행할 수 있다.
일 실시에 있어서, 프로세서(611)는 서버(620)로부터 조회 결과 없음을 나타내는 응답을 수신할 수 있다. 프로세서(611)는 조회 결과 없음을 나타내는 응답을 수신하는 경우, 어플리케이션 마켓에 제1 어플리케이션의 업데이트 버전이 있는지 여부를 확인 또는 결정할 수 있다. 프로세서(611)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 있는 경우 제1 어플리케이션의 업데이트를 안내하기 위한 팝업 창을 디스플레이(330)에 표시할 수 있다. 프로세서(611)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 없는 경우 제1 어플리케이션의 오류에 대한 정보를 디스플레이(330)에 표시하여 사용자에게 제공할 수 있다. 프로세서(611)는 제공된 정보에 대한 사용자 입력이 있는 경우, 제1 어플리케이션의 오류 발생 이력과 제1 어플리케이션의 삭제를 위한 소프트 버튼을 포함하는 화면을 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 프로세서(611)는 제1 어플리케이션의 오류 발생 시점과 제1 시점 사이의 시간 동안의 전자 장치(610)의 상태 정보(예: 전자 장치(610)의 부하 상태, 전자 장치(610)의 발열 상태, 및 전자 장치(610)와 기지국 사이의 전계 상태 중 하나 이상)를 분석할 수 있다. 전자 장치(610)의 상태 정보의 분석에 대한 실시 예들은 도 4를 통해 설명한 전자 장치(300)의 상태 정보의 분석에 대한 실시 예들이 적용될 수 있어, 상세한 설명을 생략한다.
일 실시에 있어서, 프로세서(611)는 크래시 정보로부터 exception 타입과 오류의 원인을 파악할 수 있고, 파악한 exception 타입, 파악한 오류의 원인, 및 전자 장치(610)의 상태 정보의 분석 결과를 이용하여 제1 어플리케이션에 발생한 오류를 해결하기 위한 하나 이상의 해결 방법을 획득할 수 있다. 전자 장치(610)의 상태 정보의 분석 결과를 이용하여 해결 방법을 획득하는 실시 예들은 도 4를 통해 설명한 전자 장치(300)의 상태 정보의 분석 결과를 이용하여 해결 방법을 획득한 실시 예들이 적용될 수 있어, 상세한 설명을 생략한다.
도 7은 일 실시 예에 따른, 전자 장치의 어플리케이션의 크래시가 발생한 경우 해결 방법을 제공하는 일 예시를 설명하기 위한 흐름도이다.
동작 701에서, 전자 장치(예: 도 3의 전자 장치(300))는 제1 어플리케이션에 크래시가 발생한 경우, 오류 정보를 획득할 수 있다. 획득된 오류 정보는, 예를 들어, 제1 어플리케이션의 process, 제1 어플리케이션의 process의 ID, 제1 어플리케이션의 정보, 및 크래시 정보를 포함할 수 있다.
동작 703에서, 전자 장치(300)는 제1 어플리케이션이 서드 파티 어플리케이션인지 여부를 확인 또는 결정할 수 있다. 일 실시에 있어서, 전자 장치(300)는 오류 정보(예: 제1 어플리케이션의 정보)를 이용하여 제1 어플리케이션이 서드 파티 어플리케이션인지 여부를 확인 또는 결정할 수 있다.
전자 장치(300)는 제1 어플리케이션이 서드 파티 어플리케이션이 아닌 경우(동작 703-아니오), 동작 705에서 제1 어플리케이션의 실행 중단을 사용자에게 안내할 수 있다. 어떤 실시 예에 있어서, 동작 703은 생략될 수 있다.
전자 장치(300)는 제1 어플리케이션이 서드 파티 어플리케이션인 경우(동작 703-예), 동작 707에서 오류 정보 내의 크래시 정보에서 타겟 항목(예: exception 타입, 오류의 원인, 및 제1 어플리케이션의 정보 중 적어도 하나)을 파싱할 수 있다.
동작 709에서, 전자 장치(300)는 파싱 결과(예: exception 타입, 오류의 원인, 및 제1 어플리케이션의 정보 중 적어도 하나)를 기초로 제1 DB(예: 도 4의 제1 DB(424), 도 5의 제1 DB(521), 또는 도 6의 제1 DB(621))를 조회할 수 있다. 일 실시에 있어서, 전자 장치(300)는 파싱한 타겟 항목에 해당하는 해결 방법이 제1 DB에 있는지 조회할 수 있다.
동작 711에서, 전자 장치(300)는 제1 DB로부터 반환받은 정보(또는 획득한 정보)(예: 제1 어플리케이션의 오류를 해결하기 위한 해결 방법)가 있는지 여부를 확인 또는 결정할 수 있다. 일례로, 전자 장치(300)는 파싱한 exception 타입이 제1 DB에 없는 경우 제1 DB로부터 조회 결과 없음을 나타내는 정보를 수신할 수 있다. 이 경우, 전자 장치(300)는 제1 DB로부터 반환받은 정보가 없는 것으로 확인할 수 있다.
전자 장치(300)는 제1 DB로부터 반환받은 정보가 없는 경우(동작 711-아니오), 동작 721에서 어플리케이션 마켓에 제1 어플리케이션의 업데이트 버전이 있는지 여부를 확인 또는 결정할 수 있다.
전자 장치(300)는 어플리케이션 마켓에 제1 어플리케이션의 업데이트 버전이 있는 경우(동작 721-예), 동작 723에서 제1 어플리케이션의 업데이트 안내를 사용자에게 제공할 수 있다.
전자 장치(300)는 어플리케이션 마켓에 제1 어플리케이션의 업데이트 버전이 없는 경우(동작 721-아니오), 동작 725에서 제1 어플리케이션의 오류에 대한 정보를 사용자에게 제공할 수 있다. 전자 장치(300)는 제1 어플리케이션의 오류 발생 이력과 제1 어플리케이션의 삭제를 위한 버튼을 포함하는 화면을 디스플레이(예: 도 3의 디스플레이(330))에 표시할 수 있다.
전자 장치(300)는 제1 DB로부터 제1 어플리케이션(또는 제1 어플리케이션의 현재 버전)에서 발생한 오류를 해결하기 위한 복수의 해결 방법들을 획득할 수 있다. 전자 장치(300)는 제1 DB로부터 복수의 해결 방법들을 획득하여 제1 DB로부터 반환받은 정보가 있는 것으로 확인한 경우(동작 711-예), 동작 713에서, 획득된 해결 방법들 중 제공될 해결 방법을 선택할 수 있다. 일례로, 전자 장치(300)는 제1 DB로부터 제1 어플리케이션의 오류를 해결하기 위한 해결 방법 #1과 해결 방법 #2를 획득할 수 있다. 해결 방법 #1과 해결 방법 #2 중에서 해결 방법 #1이 해결 방법 #2보다 먼저 제공되는 것으로 정해져 있을 수 있다. 해결 방법 #1과 해결 방법 #2 중에서 해결 방법 #1의 우선 순위가 해결 방법 #2의 우선 순위보다 높을 수 있다. 전자 장치(300)는 해결 방법 #1과 해결 방법 #2 중에서 최상위 순서인 해결 방법 #1을 선택할 수 있다. 일 실시에 있어서, 해결 방법들의 순서는 변경될 수 있는데 이는 도 11 내지 도 12를 통해 후술한다.
동작 715에서, 전자 장치(300)는 선택된 해결 방법이 수행되었는지 여부를 판단할 수 있다. 일례로, 제1 DB에는 전자 장치(300)는 제1 어플리케이션의 오류를 해결하기 위해 해결 방법 #1을 사용자에게 제공한 이력이 기록되어 있지 않을 수 있다. 전자 장치(300)는 제1 DB를 참조하여, 선택된 해결 방법 #1은 수행되지 않은 것으로 판단할 수 있다(동작 715-아니오).
전자 장치(300)는 선택된 해결 방법 #1이 수행되지 않은 경우(동작 715-아니오), 동작 717에서, 선택된 해결 방법 #1이 적합한지 여부를 판단할 수 있다. 전자 장치(300)는 전자 장치(300)의 상태 정보(예: 메모리 상태, 통신 연결 상태)를 고려하여, 선택된 해결 방법 #1이 적합한지 여부를 판단할 수 있다. 전자 장치(300)는 선택된 해결 방법 #1이 적합하지 않은 경우(동작 717-아니오), 동작 713에서, 해결 방법 #2를 선택할 수 있고 선택된 해결 방법 #2가 적합한지 여부를 판단할 수 있다.
전자 장치(300)는 선택된 해결 방법 #1이 적합한 경우(동작 717-예), 동작 719에서, 선택된 해결 방법 #1을 사용자에게 제공할 수 있다. 전자 장치(300)는 선택된 해결 방법 #1을 사용자에게 제공한 경우, 선택된 해결 방법 #1의 제공 횟수를 제1 DB에서 업데이트할 수 있고 선택된 해결 방법 #1을 제1 어플리케이션의 현재 버전에서 제공하였음을 제1 DB에 기록할 수 있다.
선택된 해결 방법 #1이 수행되어도 제1 어플리케이션의 크래시가 재발생할 수 있다. 제1 어플리케이션의 크래시가 재발생한 경우, 전자 장치(300)는 동작 701, 동작 703, 동작 707, 동작 709, 및 동작 713을 다시 수행할 수 있다. 전자 장치(300)는 제1 어플리케이션의 크래시가 재발생한 경우, 동작 709에서 해결 방법 #1 및 해결 방법 #2를 제1 DB로부터 다시 획득할 수 있다. 동작 713에서, 전자 장치(300)는 해결 방법 #1 및 해결 방법 #2 중 최상위 순서인 해결 방법 #1을 선택할 수 있다.
동작 715에서, 전자 장치(300)는 선택된 해결 방법 #1이 수행되었는지 여부를 판단할 수 있다. 제1 DB에는 전자 장치(300)가 제1 어플리케이션의 오류를 해결하기 위해 해결 방법 #1을 사용자에게 제공한 이력이 기록되어 있을 수 있어, 전자 장치(300)는 선택된 해결 방법 #1이 수행된 것으로 판단할 수 있다. 전자 장치(300)는 선택된 해결 방법 #1이 수행된 경우(동작 715-예), 동작 727에서, 선택된 해결 방법 #1이 마지막인지 여부를 판단할 수 있다. 전자 장치(300)는 해결 방법 #2가 남아있으므로 선택된 해결 방법 #1이 마지막이 아닌 것으로 판단할 수 있고(동작 727-아니오), 동작 713에서, 차순위 순서인 해결 방법 #2를 선택할 수 있다.
동작 715에서, 전자 장치(300)는 선택된 해결 방법 #2가 수행되었는지 여부를 판단할 수 있다. 제1 DB에는 전자 장치(300)가 제1 어플리케이션의 오류를 해결하기 위해 해결 방법 #2를 사용자에게 제공한 이력이 기록되어 있지 않을 수 있어, 전자 장치(300)는 선택된 해결 방법 #2는 수행되지 않은 것으로 판단할 수 있다(동작 715-아니오).
전자 장치(300)는 선택된 해결 방법 #2가 수행되지 않은 경우(동작 715-아니오), 선택된 해결 방법 #2가 적합한지 여부를 판단할 수 있다. 전자 장치(300)는 전자 장치(300)의 상태 정보(예: 메모리 상태, 통신 연결 상태)를 고려하여, 선택된 해결 방법 #2가 적합한지 여부를 판단할 수 있다.
전자 장치(300)는 선택된 해결 방법 #2가 적합한 경우(동작 717-예), 동작 719에서, 선택된 해결 방법 #2를 사용자에게 제공할 수 있다. 전자 장치(300)는 선택된 해결 방법 #2를 사용자에게 제공한 경우, 선택된 해결 방법 #2의 제공 횟수를 제1 DB에서 업데이트할 수 있고 선택된 해결 방법 #2를 제1 어플리케이션의 현재 버전에서 제공하였음을 제1 DB에 기록할 수 있다.
선택된 해결 방법 #2이 수행되어도 제1 어플리케이션의 크래시가 또 다시 발생할 수 있다. 제1 어플리케이션의 크래시가 또 다시 발생한 경우, 전자 장치(300)는 동작 701, 동작 703, 동작 707, 동작 709, 및 동작 713을 다시 수행할 수 있다. 전자 장치(300)는 제1 어플리케이션의 크래시가 재발생한 경우, 동작 709를 수행하여 해결 방법 #1 및 해결 방법 #2를 제1 DB로부터 다시 획득할 수 있다. 전자 장치(300)는 동작 713에서 해결 방법 #1 및 해결 방법 #2 중 최상위 순서인 해결 방법 #1을 선택할 수 있고, 동작 715에서, 선택된 해결 방법 #1이 수행되었는지 판단할 수 있다. 전자 장치(300)는 선택된 해결 방법 #1이 수행되었으므로(동작 715-아니오), 동작 727에서, 선택된 해결 방법 #1이 마지막인지 여부를 판단할 수 있다. 전자 장치(300)는 선택된 해결 방법 #1이 최상위 순서일 수 있어, 선택된 해결 방법 #1은 마지막이 아닌 것으로 판단할 수 있고(동작 727-아니오), 동작 713에서, 차순위 순서인 해결 방법 #2를 선택할 수 있다. 동작 715에서, 전자 장치(300)는 선택된 해결 방법 #2이 수행되었는지 여부를 판단할 수 있다. 전자 장치(300)는 선택된 해결 방법 #2이 수행되었으므로(동작 715-예), 동작 727에서, 선택된 해결 방법 #2이 마지막인지 여부를 판단할 수 있다. 선택된 해결 방법 #2는 마지막일 수 있어(동작 727-예), 전자 장치(300)는 동작 721을 수행할 수 있다. 전자 장치(300)는 어플리케이션 마켓에 제1 어플리케이션의 업데이트 버전이 있는 경우(동작 721-예), 동작 723을 수행할 수 있고, 어플리케이션 마켓에 제1 어플리케이션의 업데이트 버전이 없는 경우(동작 721-아니오), 동작 725를 수행할 수 있다.
도 1 내지 도 6을 통해 설명한 실시 예들은 도 7을 통해 설명한 실시 예들에 적용될 수 있어, 상세한 설명을 생략한다.
도 8 내지 도 10은 일 실시 예에 따른, 전자 장치의 팝업 창의 예시들을 설명하기 위한 도면이다.
도 8 내지 도 10에서, "%s"는 오류가 발생한 제1 어플리케이션의 이름을 나타낼 수 있다.
일 실시에 있어서, 도 8에 도시된 예에서, 전자 장치(예: 도 3의 전자 장치(300))는 제1 어플리케이션의 오류가 발생한 경우 오류 정보를 획득할 수 있다. 전자 장치(300)는 오류 정보로부터 제1 exception type(예: FileNotFoundException)을 추출할 수 있다. 전자 장치(300)는 제1 DB(예: 도 4의 제1 DB(424), 도 5의 제1 DB(521), 또는 도 6의 제1 DB(621))에 제1 exception type에 대한 해결 방법이 있는지 조회할 수 있고, 제1 DB로부터 캐시 정리(clear cache)의 해결 방법을 획득할 수 있다.
일 실시에 있어서, 전자 장치(300)는 캐시 정리의 해결 방법을 사용자에게 제공할 수 있다. 일례로, 도 8(박스 "(a)")에 도시된 예와 같이, 전자 장치(300)는 캐시 정리의 해결 방법을 안내하기 위한 팝업 창(810)을 디스플레이(예: 도 3의 디스플레이(330)에 표시할 수 있다. 전자 장치(300)는 팝업 창(810)의 캐시 정리(clear cache) 버튼(811)에 대한 사용자 입력(예: 터치 입력)이 있는 경우, 도 8(박스 "(b)")에 도시된 예와 같이 캐시를 정리 중임을 나타내는 시각적 피드백을 디스플레이(330)에 표시할 수 있다. 전자 장치(300)는 캐시 정리가 완료된 경우, 도 8(박스 "(c)")에 도시된 예와 같이, open 앱(app) 버튼(812)을 디스플레이(330)에 표시할 수 있다. 전자 장치(300)는 open app 버튼(812)에 대한 사용자 입력이 있는 경우 제1 어플리케이션을 실행할 수 있다.
일 실시에 있어서, 도 9에 도시된 예에서, 전자 장치(300)는 크래시가 발생한 제1 어플리케이션의 업데이트 안내를 사용자에게 제공할 수 있다. 일례로, 전자 장치(300)는 제1 DB로부터 반환받은 정보가 없는 경우 또는 제1 어플리케이션의 오류가 해결되지 않은 경우, 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 있는지 여부를 판단할 수 있다. 전자 장치(300)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 있는 경우 도 9에 도시된 예와 같이 제1 어플리케이션의 업데이트 안내를 위한 팝업 창(910)을 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 도 9에 도시된 팝업 창(910)은 지금 업데이트(update) 버튼(911), 취소(cancel) 버튼(912), 및 제1 어플리케이션에 발생한 오류에 대한 정보(913)를 포함할 수 있다. 전자 장치(300)는 update 버튼(911)에 대한 사용자 입력이 있는 경우 제1 어플리케이션을 업데이트할 수 있다. 전자 장치(300)는 취소(cancel) 버튼(912)에 대한 사용자 입력이 있는 경우 제1 어플리케이션의 업데이트 재안내를 위한 팝업 창(920)을 디스플레이(330)에 표시할 수 있다.
일 실시에 있어서, 전자 장치(300)는 제1 어플리케이션의 업데이트 버전이 어플리케이션 마켓에 없는 경우, 도 10에 도시된 예와 같이 제1 어플리케이션의 오류에 대한 정보(1011)를 제공하는 팝업 창(1010)을 디스플레이(330)에 표시할 수 있다. 전자 장치(300)는 팝업 창(1010)의 got it 버튼(1012)에 대한 사용자 입력이 있는 경우, 팝업 창(1010)을 디스플레이(330)에서 사라지도록 할 수 있다. 전자 장치(300)는 제1 어플리케이션의 오류에 대한 정보(1011)에 사용자 입력이 있는 경우, 도 10의 (b)에 도시된 예와 같이, 제1 어플리케이션의 오류 발생 이력(예: 크래시 이력(1021))과 제1 어플리케이션의 삭제를 위한 버튼(1022)을 포함하는 화면(1020)을 디스플레이(330)에 표시할 수 있다. 오류 발생 이력(예: 크래시 이력(1021))은, 예를 들어, 발생한 exception 타입과 오류 발생 시간을 포함할 수 있다. 도 10에 도시된 예에서, 화면(1020)은 clear cache 버튼(1023)을 더 포함할 수 있다. 이는 예시적인 사항일 뿐, clear cache 버튼(1023)은 화면(1020)에서 생략될 수 있다.
도 11 내지 도 12는 일 실시 예에 따른, 전자 장치가 획득한 해결 방법들의 순서 변경의 예시들을 설명하기 위한 도면이다.
일 실시에 있어서, 전자 장치(예: 도 3의 전자 장치(300))는 제1 어플리케이션에 오류가 발생한 경우, 제1 DB(예: 도 4의 제1 DB(424), 도 5의 제1 DB(521), 또는 도 6의 제1 DB(621))로부터 오류를 해결하기 위한 복수의 해결 방법들을 획득할 수 있다. 일례로, 도 11에 도시된 예에서, 전자 장치(300)는 해결 방법 A, 해결 방법 B, 및 해결 방법 C를 획득할 수 있다. 해결 방법 A, 해결 방법 B, 및 해결 방법 C의 주어진 순서는, 예를 들어, A→B→C일 수 있다. 해결 방법 A, 해결 방법 B, 및 해결 방법 C 중에서 해결 방법 A는 최상위 순서일 수 있고 해결 방법 B는 차상위 순서일 수 있으며 해결 방법 C는 마지막 순서일 수 있다.
일 실시에 있어서, 전자 장치(300)는 획득된 해결 방법들 중에서, 연속되는 순서의 해결 방법들 사이의 제공 횟수의 차이를 결정할 수 있다. 일례로, 도 11에 도시된 예에서, 해결 방법 A의 제공 횟수는 10회일 수 있고, 해결 방법 B의 제공 횟수는 10회일 수 있으며, 따라서, 전자 장치(300)는 해결 방법 A의 제공 횟수와 해결 방법 B의 제공 횟수 사이의 차이를 0으로 결정할 수 있다. 해결 방법 B의 제공 횟수는 10회이고, 해결 방법 C의 제공 횟수는 5회이다. 따라서, 전자 장치(300)는 해결 방법 B의 제공 횟수와 해결 방법 C의 제공 횟수 사이의 차이 5를 결정할 수 있다.
일 실시에 있어서, 전자 장치(300)는 각 차이 중에서, 차상위 순서의 해결 방법의 제공 횟수와 차상위 순서보다 낮은 순서의 해결 방법의 제공 횟수 사이의 차이가 일정 수준 이상인 경우, 차상위 순서의 해결 방법이 변경된 순서에서 최상위 순서의 해결 방법이 되도록 주어진 순서를 변경할 수 있다. 일례로, 도 11에 도시된 예에서, 전자 장치(300)는 차상위 순서의 해결 방법 B의 제공 횟수와 차상위 순서보다 낮은 순서의 해결 방법 C의 제공 횟수의 차이 5는 일정 수준(예: 5) 이상일 수 있어, 해결 방법 B가 최상위 순서가 되도록 주어진 순서 A→B→C를 B→A→C로 변경할 수 있다.
일 실시에 있어서, 전자 장치(300)는 획득된 해결 방법들 중에서 연속되는 순서의 해결 방법들 사이의 제공 횟수의 차이를 계산할 수 있고, 계산된 각 차이가 서로 동일한 경우 주어진 순서에서의 최하위 순서의 해결 방법이 변경된 순서에서 최상위 순서의 해결 방법이 되도록 주어진 순서를 변경할 수 있다. 일례로, 도 12에 도시된 예에서, 전자 장치(300)는 연속되는 순서의 해결 방법 A와 해결 방법 B 각각의 제공 횟수의 차이 2를 계산할 수 있고, 연속되는 순서의 해결 방법 B와 해결 방법 C 각각의 제공 횟수의 차이 2를 계산할 수 있다. 전자 장치(300)는 계산된 각 차이가 동일할 수 있어, 주어진 순서 A→B→C에서의 최하위 순서의 해결 방법 C가 최상위 순서가 되도록 주어진 순서 A→B→C를 C→A→B로 변경할 수 있다.
일 실시에 있어서, 전자 장치(300)는 획득된 해결 방법들 각각의 제공 횟수에 정렬 알고리즘을 적용하여, 획득된 해결 방법들의 주어진 순서를 변경할 수 있다. 정렬 알고리즘은, 예를 들어, 오름 차순 및/또는 내림 차순을 포함할 수 있으나 이에 제한되지 않는다. 일례로, 도 12에 도시된 예에서, 전자 장치(300)는 해결 방법 A 내지 C 각각의 제공 횟수를 오름 차순으로 정렬하여 주어진 순서 A→B→C를 C→B→A로 변경할 수 있다.
일 실시에 있어서, 전자 장치(300)는 변경된 순서에서 최상위 순서의 해결 방법을 선택할 수 있다. 도 11에 도시된 예에서, 전자 장치(300)는 변경된 순서 B→A→C에서 해결 방법 B가 최상위 순서일 수 있어, 해결 방법 B를 선택할 수 있다. 도 12에 도시된 예에서, 전자 장치(300)는 변경된 순서 C→A→B에서 해결 방법 C가 최상위 순서일 수 있어, 해결 방법 C를 선택할 수 있다. 전자 장치(300)는 선택된 해결 방법의 적합성을 검증할 수 있고, 선택된 해결 방법이 적합한 것으로 검증되는 경우 선택된 해결 방법을 사용자에게 제공할 수 있다. 전자 장치(300)는 선택된 해결 방법이 적합하지 않은 것으로 검증되는 경우, 변경된 순서에서 차상위 순서의 해결 방법(예: 도 11의 변경된 순서의 경우 해결 방법 A, 도 12의 변경된 순서의 경우 해결 방법 A)을 선택할 수 있고, 차상위 순서의 해결 방법의 적합성을 검증할 수 있으며, 차상위 순서의 해결 방법이 적합한 경우 차상위 순서의 해결 방법을 사용자에게 제공할 수 있다.
일 실시에 있어서, 해결 방법들의 주어진 순서가 변경되었고 해결 방법들 중 어느 하나가 수행되어 제1 어플리케이션의 오류가 해결된 경우, 전자 장치(300)는 해결 방법들 각각의 제공 횟수를 초기화할 수 있다. 일례로, 도 11과 도 12에 도시된 예에서, 전자 장치(300)는 해결 방법 A 내지 해결 방법 C 각각의 제공 횟수를 0으로 초기화할 수 있다. 전자 장치(300)는 제1 어플리케이션에 발생했던 오류와 동일한 오류가 다른 어플리케이션에 발생한 경우, 제1 DB 로부터 해결 방법 A 내지 해결 방법 C를 획득할 수 있다. 해결 방법 A 내지 해결 방법 C의 주어진 순서는 A→B→C일 수 있어, 전자 장치(300)는 해결 방법 A의 적합성을 가장 먼저 검증할 수 있고 해결 방법 A가 적합한 경우 해결 방법 A를 사용자에게 가장 먼저 제공할 수 있다. 다른 일례로, 전자 장치(300)는 해결 방법 A 내지 해결 방법 C의 제공 횟수 이력을 참조하여 해결 방법 C의 제공 횟수가 최소이었던 것을 확인할 수 있다. 전자 장치(300)는 해결 방법 A 내지 해결 방법 C의 주어진 순서 A→B→C를 C→A→B 또는 C→B→A로 변경할 수 있고, 해결 방법 C의 적합성을 가장 먼저 검증할 수 있으며, 해결 방법 C가 적합한 경우 해결 방법 C를 사용자에게 가장 먼저 제공할 수 있다.
일 실시에 있어서, 전자 장치(300)는 오류 정보로부터 exception type "FileNotFoundException"이 발생하였음을 파악할 수 있고, 오류의 원인을 파일 불러 오기 실패로 파악할 수 있다. 전자 장치(300)는 파악한 exception type과 오류 발생 원인을 통해 제1 DB로부터 해결 방법 A 내지 C를 획득할 수 있다. 해결 방법 A 내지 C 중 해결 방법 B는 캐시 정리일 수 있고 해결 방법 C는 메모리 데이터 영역 정리일 수 있다. 해결 방법 A 내지 C의 주어진 순서는, 예를 들어, A→B→C일 수 있고, 해결 방법 A 내지 C의 주어진 순서를 변경할 수 있다. 전자 장치(300)는 발생한 exception type이 "FileNotFoundException"이어서, 해결 방법 C를 마지막 순서로 고정할 수 있다. 메모리(예: 도 3의 메모리(310))의 데이터 영역에는 중요한 데이터가 저장되어 있을 수 있어, 전자 장치(300)는 해결 방법 A와 해결 방법 B의 순서를 변경하여도 해결 방법 C의 순서를 변경하지 않을 수 있다.
도 13은 일 실시 예에 따른, 전자 장치의 동작 방법의 일 예시를 설명하기 위한 흐름도이다.
도 13에 도시된 동작 방법은 전자 장치(예: 도 3의 전자 장치(300))에 의해 수행될 수 있다.
동작 1310에서, 전자 장치(300)는 실행 중인 제1 어플리케이션에 오류가 발생한 경우 오류 정보를 획득할 수 있다.
동작 1320에서, 전자 장치(300)는 획득된 오류 정보에서 제1 어플리케이션에 발생한 오류의 타입과 원인을 파악할 수 있다.
동작 1330에서, 전자 장치(300)는 파악된 타입 및 원인을 이용하여 참조 데이터 셋으로부터 제1 어플리케이션에 발생된 오류를 해결하기 위한 해결 방법을 획득할 수 있다.
동작 1340에서, 전자 장치(300)는 전자 장치(300)의 상태 정보를 기초로, 획득된 해결 방법의 적합성을 검증할 수 있다.
동작 1350에서, 전자 장치(300)는 획득된 해결 방법이 적합한 것으로 검증된 경우, 획득된 해결 방법에 대한 안내를 디스플레이(예: 도 3의 디스플레이(330))를 통해 사용자에게 제공할 수 있다.
도 1 내지 도 12를 통해 설명한 실시 예들은 도 13을 통해 설명한 실시 예들에 적용될 수 있어, 상세한 설명을 생략한다.
일 실시에 따르면, 전자 장치(예: 도 3의 전자 장치(300))는 하나 이상의 어플리케이션을 저장하는 메모리(예: 도 3의 메모리(310)), 디스플레이(예: 도 3의 디스플레이(330)), 및 실행 중인 제1 어플리케이션에 오류가 발생한 경우 오류 정보를 획득하고, 상기 획득된 오류 정보에서 상기 발생한 오류의 타입과 원인을 파악하며, 상기 파악된 타입 및 원인을 이용하여 참조 데이터 셋으로부터 상기 발생한 오류를 해결하기 위한 해결 방법을 획득하고, 상기 전자 장치의 상태 정보를 기초로 상기 획득된 해결 방법의 적합성을 검증하고, 상기 획득된 해결 방법이 적합한 것으로 검증된 경우 상기 획득된 해결 방법에 대한 안내를 상기 디스플레이를 통해 사용자에게 제공하는 프로세서(예: 도 3의 프로세서(320))를 포함할 수 있다.
상기 참조 데이터 셋은 하나 이상의 오류 타입, 하나 이상의 오류 발생 원인, 및 하나 이상의 오류 해결 방법을 포함할 수 있다.
상기 프로세서는 상기 획득된 해결 방법에 의해서도 상기 발생한 오류가 해결되지 않는 경우 상기 제1 어플리케이션의 업데이트 버전이 있는지 여부를 판단하고, 상기 업데이트 버전이 있는 경우 상기 제1 어플리케이션의 업데이트에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공할 수 있다.
상기 프로세서는 상기 업데이트 버전이 없는 경우 상기 발생한 오류에 대한 정보(예: 도 10의 정보(1011))를 상기 디스플레이를 통해 상기 사용자에게 제공하고, 상기 제공된 정보에 대한 사용자 입력이 있는 경우 상기 발생한 오류의 이력과 상기 제1 어플리케이션의 삭제를 위한 버튼을 포함하는 화면(예: 도 10의 화면(1020))을 상기 디스플레이에 표시할 수 있다.
상기 프로세서는 상기 참조 데이터 셋에 상기 파악된 타입에 해당하는 오류 타입이 없는 경우, 상기 제1 어플리케이션의 업데이트 버전이 있는지 여부를 판단하고, 상기 업데이트 버전이 있는 경우 상기 제1 어플리케이션의 업데이트에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공할 수 있다.
상기 프로세서는 상기 파악된 타입 및 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 발생한 오류를 해결하기 위한 복수의 해결 방법들을 획득한 경우, 상기 획득된 해결 방법들의 주어진 순서(given order)에서 최상위 순서의 해결 방법을 선택하고, 상기 선택된 해결 방법의 적합성을 검증하며, 상기 선택된 해결 방법이 적합한 것으로 검증된 경우 상기 선택된 해결 방법에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공할 수 있다.
상기 프로세서는 상기 파악된 타입 및 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 발생한 오류를 해결하기 위한 복수의 해결 방법들을 획득한 경우, 상기 획득된 해결 방법들 각각의 제공 횟수를 기초로 상기 획득된 해결 방법들의 주어진 순서를 변경(또는 어레인지(arrange))하고, 상기 변경된 순서에서의 최상위 순서의 해결 방법을 선택하며, 상기 선택된 해결 방법의 적합성을 검증하고, 상기 선택된 해결 방법이 적합한 것으로 검증된 경우 상기 선택된 해결 방법에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공할 수 있다.
상기 프로세서는 상기 획득된 해결 방법들 중에서 연속되는 순서의 해결 방법들 사이의 제공 횟수의 차이를 계산하고, 상기 계산된 각 차이가 서로 동일한 경우 상기 주어진 순서에서의 최하위 순서의 해결 방법(예: 도 12의 해결 방법 C)이 상기 변경된 순서에서 최상위 순서의 해결 방법이 되도록 상기 주어진 순서를 변경할 수 있다.
상기 프로세서는 상기 계산된 각 차이 중에서, 상기 주어진 순서에서의 차상위 순서의 해결 방법의 제공 횟수와 상기 차상위 순서보다 낮은 순서의 해결 방법의 제공 횟수 사이의 차이가 일정 수준 이상인 경우, 상기 차상위 순서의 해결 방법(예: 도 11의 해결 방법 B)이 상기 변경된 순서에서 최상위 순서의 해결 방법이 되도록 상기 주어진 순서를 변경할 수 있다.
상기 프로세서는 상기 주어진 순서가 변경된 경우 상기 획득된 해결 방법들 각각의 상기 제공 횟수를 초기화할 수 있다.
상기 프로세서는 상기 파악된 타입 및 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 발생한 오류를 해결하기 위한 복수의 해결 방법들을 획득한 경우, 상기 획득된 해결 방법들의 리스트를 상기 디스플레이를 통해 상기 사용자에게 제공하고, 상기 사용자의 선택이 있는 해결 방법을 수행할 수 있다.
상기 참조 데이터 셋은 상기 메모리 및 서버(예: 도 6의 서버(620)) 중 적어도 하나에 저장될 수 있다.
상기 프로세서는 상기 획득된 오류 정보를 기초로 상기 제1 어플리케이션이 서드 파티 어플리케이션인지 여부를 확인 또는 결정하고, 상기 제1 어플리케이션이 상기 서드 파티 어플리케이션인 경우 상기 타입과 원인을 파악하는 동작, 상기 해결 방법을 획득하는 동작, 상기 적합성을 검증하는 동작, 및 상기 안내를 상기 사용자에게 제공하는 동작을 수행할 수 있다.
상기 프로세서는 운영 체제의 프레임워크(예: 도 4의 프레임워크(410))를 통해 또는 제2 어플리케이션(예: 도 4의 시스템 어플리케이션(420))을 통해 상기 안내를 위한 팝업 창을 상기 디스플레이에 표시할 수 있다.
일 실시에 따르면, 전자 장치(예: 도 3의 전자 장치(300))는 하나 이상의 오류 타입, 하나 이상의 오류 발생 원인, 및 하나 이상의 오류 해결 방법을 포함하는 참조 데이터 셋을 저장하고, 하나 이상의 어플리케이션을 저장하는 메모리(예: 도 3의 메모리 (310)), 디스플레이(예: 도 3의 디스플레이(330)), 및 실행 중인 제1 어플리케이션에 오류가 발생한 경우 오류 정보를 획득하고, 상기 획득된 오류 정보를 기초로 상기 제1 어플리케이션이 서드 파티 어플리케이션인지 여부를 확인 또는 결정하며, 상기 제1 어플리케이션이 서드 파티 어플리케이션인 경우 상기 획득된 오류 정보에서 상기 발생한 오류의 타입과 원인을 파악하고, 상기 파악된 타입 및 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 발생한 오류를 해결하기 위한 해결 방법을 획득하고, 상기 전자 장치의 상태 정보를 기초로 상기 획득된 해결 방법의 적합성을 검증하고, 상기 획득된 해결 방법이 적합한 것으로 검증된 경우 상기 획득된 해결 방법에 대한 안내를 위한 팝업 창을 상기 디스플레이에 표시하는 프로세서(예: 도 3의 프로세서(320))를 포함할 수 있다.
상기 프로세서는 상기 획득된 해결 방법에 의해서도 상기 발생한 오류가 해결되지 않는 경우 상기 제1 어플리케이션의 업데이트 버전이 있는지 여부를 판단하고, 상기 업데이트 버전이 있는 경우 상기 제1 어플리케이션의 업데이트에 대한 안내를 위한 팝업 창을 상기 디스플레이에 표시할 수 있다.
상기 프로세서는 상기 파악된 타입 및 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 발생한 오류를 해결하기 위한 복수의 해결 방법들을 획득한 경우, 상기 획득된 해결 방법들의 주어진 순서에서 최상위 순서의 해결 방법을 선택하고, 상기 선택된 해결 방법의 적합성을 검증하며, 상기 선택된 해결 방법이 적합한 것으로 검증된 경우 상기 선택된 해결 방법에 대한 안내를 위한 팝업 창을 상기 디스플레이에 표시할 수 있다.
상기 프로세서는 상기 파악된 타입 및 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 발생한 오류를 해결하기 위한 복수의 해결 방법들을 획득한 경우, 상기 획득된 해결 방법들 각각의 제공 횟수를 기초로 상기 획득된 해결 방법들의 주어진 순서를 변경(또는 어레인지)하고, 상기 변경된 순서에서의 최상위 순서의 해결 방법을 선택하며, 상기 선택된 해결 방법의 적합성을 검증하고, 상기 선택된 해결 방법이 적합한 것으로 검증된 경우 상기 선택된 해결 방법에 대한 안내를 위한 팝업 창을 상기 디스플레이에 표시할 수 있다.
상기 프로세서는 운영 체제의 프레임워크를 통해 또는 제2 어플리케이션을 통해 상기 팝업 창을 상기 디스플레이에 표시할 수 있다.
일 실시에 따르면, 전자 장치(예: 도 3의 전자 장치(300))의 동작 방법은 실행 중인 제1 어플리케이션에 오류가 발생한 경우 오류 정보를 획득하는 동작, 상기 획득된 오류 정보에서 상기 발생한 오류의 타입과 원인을 파악하는 동작, 상기 파악된 타입 및 원인을 이용하여 참조 데이터 셋으로부터 상기 발생한 오류를 해결하기 위한 해결 방법을 획득하는 동작, 상기 전자 장치의 상태 정보를 기초로 상기 획득된 해결 방법의 적합성을 검증하는 동작, 및 상기 획득된 해결 방법이 적합한 것으로 검증된 경우 상기 획득된 해결 방법에 대한 안내를 디스플레이를 통해 사용자에게 제공하는 동작을 포함할 수 있다.
일 실시에 있어서, 전자 장치의 동작 방법은 상기 획득된 해결 방법에 의해서도 상기 발생한 오류가 해결되지 않는 경우 상기 제1 어플리케이션의 업데이트 버전이 있는지 여부를 판단하는 동작 및 상기 업데이트 버전이 있는 경우 상기 제1 어플리케이션의 업데이트에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공하는 동작을 더 포함할 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    디스플레이;
    프로세서; 및
    상기 프로세서와 작동적으로 연결되고 상기 프로세서에 의해 실행되는 하나 이상의 명령어들을 저장하는 메모리
    를 포함하고,
    상기 명령어들이 실행될 때 상기 프로세서는,
    상기 프로세서에 의해 실행되는 제1 어플리케이션에 발생한 오류를 기초로 오류 정보를 획득하고, 상기 획득된 오류 정보를 기초로 상기 오류의 타입과 상기 오류의 원인을 파악하며, 상기 오류의 상기 파악된 타입 및 상기 오류의 파악된 원인을 이용하여 참조 데이터 셋으로부터 상기 오류를 해결하기 위한 해결 방법을 획득하고, 상기 전자 장치의 상태 정보를 기초로 상기 획득된 해결 방법의 적합성을 검증하고, 상기 적합한 것으로 검증된 획득된 해결 방법을 기초로 상기 디스플레이를 통해 상기 획득된 해결 방법에 대한 안내를 사용자에게 제공하고,
    상기 참조 데이터 셋은 하나 이상의 오류 타입, 하나 이상의 오류 발생 원인, 및 하나 이상의 오류 해결 방법을 포함하는,
    전자 장치.
  2. 제1항에 있어서,
    상기 프로세서는,
    상기 획득된 해결 방법에 의해서도 해결되지 않은 상기 오류에 기초하여, 상기 제1 어플리케이션의 업데이트 버전이 있는지 여부를 판단하고, 상기 업데이트 버전에 기초하여, 상기 제1 어플리케이션의 상기 업데이트 버전에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공하는,
    전자 장치.
  3. 제2항에 있어서,
    상기 프로세서는,
    상기 제1 어플리케이션의 상기 업데이트 버전이 없는 판단에 기초하여, 상기 오류에 대한 정보를 상기 디스플레이를 통해 상기 사용자에게 제공하고, 상기 제공된 정보에 대한 사용자 입력에 기초하여, 상기 오류의 이력과 상기 제1 어플리케이션의 삭제를 위한 버튼을 포함하는 화면을 상기 디스플레이에 표시하는,
    전자 장치.
  4. 제1항 내지 제3항 중 어느 하나에 있어서,
    상기 프로세서는,
    상기 참조 데이터 셋에 상기 파악된 타입에 해당하는 오류 타입이 없는 판단에 기초하여, 상기 제1 어플리케이션의 업데이트 버전이 있는지 여부를 판단하고, 상기 제1 어플리케이션의 상기 업데이트 버전이 있다는 판단에 기초하여, 상기 제1 어플리케이션의 상기 업데이트 버전에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공하는,
    전자 장치.
  5. 제1항 내지 제4항 중 어느 하나에 있어서,
    상기 프로세서는,
    상기 파악된 타입 및 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 오류를 해결하기 위한 복수의 해결 방법들을 획득하고, 상기 획득된 해결 방법들의 주어진 순서(given order)에서 최상위 순서의 해결 방법을 선택하며, 상기 선택된 해결 방법의 적합성을 검증하고, 적합한 것으로 검증된 상기 선택된 해결 방법에 기초하여, 상기 선택된 해결 방법에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공하는,
    전자 장치.
  6. 제1항 내지 제5항 중 어느 하나에 있어서,
    상기 프로세서는,
    상기 파악된 타입 및 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 오류를 해결하기 위한 복수의 해결 방법들을 획득하고, 상기 획득된 해결 방법들 각각의 제공 횟수를 기초로 상기 획득된 해결 방법들의 주어진 순서를 어레인지(arrange)하며, 상기 주어진 순서에서의 최상위 위치의 해결 방법을 선택하고, 상기 선택된 해결 방법의 적합성을 검증하고, 적합한 것으로 검증된 상기 선택된 해결 방법에 기초하여, 상기 선택된 해결 방법에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공하는,
    전자 장치.
  7. 제6항에 있어서,
    상기 프로세서는,
    상기 획득된 해결 방법들의 제공 횟수 사이의 차이들을 결정하고, 상기 결정된 차이들을 기초로 상기 주어진 순서에서의 최하위 위치의 해결 방법이 상기 주어진 순서에서의 최상위 위치로 이동하도록 상기 주어진 순서를 변경하는,
    전자 장치.
  8. 제7항에 있어서,
    상기 프로세서는,
    상기 주어진 순서에서의 차상위 위치의 제1 해결 방법의 제1 제공 횟수와 상기 제1 해결 방법보다 낮은 제2 해결 방법의 제2 제공 횟수 사이의 차이가 일정 수준 이상인지 결정하고, 상기 결정된 차이에 기초하여, 상기 차상위 위치의 제1 해결 방법이 상기 주어진 순서에서 최상위 위치로 이동하도록 상기 주어진 순서를 변경하는,
    전자 장치.
  9. 제6항에 있어서,
    상기 프로세서는,
    어레인지된 상기 주어진 순서에 기초하여, 상기 획득된 해결 방법들 각각의 상기 제공 횟수를 초기화하는,
    전자 장치.
  10. 제1항 내지 제9항 중 어느 하나에 있어서,
    상기 프로세서는,
    상기 파악된 타입 및 상기 파악된 원인을 이용하여 상기 참조 데이터 셋으로부터 상기 오류를 해결하기 위한 복수의 해결 방법들을 획득하고, 상기 획득된 해결 방법들의 리스트를 상기 디스플레이를 통해 상기 사용자에게 제공하며, 상기 제공된 해결 방법들에서 상기 사용자에 의해 선택된 해결 방법을 수행하는,
    전자 장치.
  11. 제1항 내지 제10항 중 어느 하나에 있어서,
    상기 참조 데이터 셋은,
    상기 메모리 또는 서버 중 적어도 하나에 저장되는,
    전자 장치.
  12. 제1항 내지 제11항 중 어느 하나에 있어서,
    상기 프로세서는,
    제1 어플리케이션이 서드 파티(third party) 어플리케이션인지 여부를 결정하고, 상기 제1 어플리케이션이 상기 서드 파티 어플리케이션으로 결정된 것에 기초하여, 상기 오류의 상기 원인과 상기 오류의 상기 타입을 파악하는,
    전자 장치.
  13. 제1항 내지 제12항 중 어느 하나에 있어서,
    상기 프로세서는,
    운영 체제의 프레임워크를 통해 또는 제2 어플리케이션을 통해 상기 안내를 위한 팝업 창을 상기 디스플레이에 표시하는,
    전자 장치.
  14. 전자 장치의 동작 방법에 있어서,
    실행되는 제1 어플리케이션에 발생한 오류를 기초로 오류 정보를 획득하는 동작;
    상기 획득된 오류 정보에서 상기 오류의 타입과 상기 오류의 원인을 파악하는 동작;
    상기 파악된 타입 및 상기 파악된 원인을 이용하여 참조 데이터 셋으로부터 상기 오류를 해결하기 위한 해결 방법을 획득하는 동작;
    상기 전자 장치의 상태 정보를 기초로 상기 획득된 해결 방법의 적합성을 검증하는 동작; 및
    적합한 것으로 검증된 상기 획득된 해결 방법에 기초하여, 상기 획득된 해결 방법에 대한 안내를 디스플레이를 통해 사용자에게 제공하는 동작
    을 포함하고,
    상기 참조 데이터 셋은,
    복수의 오류 타입들, 복수의 오류 발생 원인들, 및 복수의 해결 방법들을 포함하는,
    전자 장치의 동작 방법.
  15. 제14항에 있어서,
    상기 획득된 해결 방법에 의해서도 해결되지 않는 상기 오류에 기초하여 상기 제1 어플리케이션의 업데이트 버전이 있는지 여부를 판단하는 동작; 및
    상기 업데이트 버전이 있는 판단에 기초하여, 상기 제1 어플리케이션의 상기 업데이트 버전에 대한 안내를 상기 디스플레이를 통해 상기 사용자에게 제공하는 동작
    을 더 포함하는,
    전자 장치의 동작 방법.
PCT/KR2022/020087 2022-02-04 2022-12-12 전자 장치 및 이의 동작 방법 WO2023149647A1 (ko)

Priority Applications (2)

Application Number Priority Date Filing Date Title
AU2022439126A AU2022439126A1 (en) 2022-02-04 2022-12-12 Electronic device and operation method thereof
US18/143,381 US20230305919A1 (en) 2022-02-04 2023-05-04 Electronic apparatus and operating method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220014931A KR20230118391A (ko) 2022-02-04 2022-02-04 전자 장치 및 이의 동작 방법
KR10-2022-0014931 2022-02-04

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/143,381 Continuation US20230305919A1 (en) 2022-02-04 2023-05-04 Electronic apparatus and operating method thereof

Publications (1)

Publication Number Publication Date
WO2023149647A1 true WO2023149647A1 (ko) 2023-08-10

Family

ID=87552477

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/020087 WO2023149647A1 (ko) 2022-02-04 2022-12-12 전자 장치 및 이의 동작 방법

Country Status (4)

Country Link
US (1) US20230305919A1 (ko)
KR (1) KR20230118391A (ko)
AU (1) AU2022439126A1 (ko)
WO (1) WO2023149647A1 (ko)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102651400B1 (ko) * 2023-08-25 2024-03-26 주식회사 수주아이티씨 메타데이터 분석 및 피드백 제공을 통한 솔루션 구축 시스템

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130065387A (ko) * 2011-12-09 2013-06-19 주식회사 케이티 단말에 설치된 애플리케이션의 업데이트 방법
KR20140008201A (ko) * 2012-07-11 2014-01-21 삼성전자주식회사 어플리케이션의 품질 테스트를 위한 테스트 케이스의 우선 순위화 장치 및 방법
KR20140055282A (ko) * 2012-10-31 2014-05-09 에스케이플래닛 주식회사 사용자 단말에서의 웹 어플리케이션 오류 분석 시스템, 장치 및 방법
JP2019168877A (ja) * 2018-03-23 2019-10-03 株式会社ケイティーエス 電子端末問題予測装置
JP2019185626A (ja) * 2018-04-17 2019-10-24 株式会社ケイティーエス 自己診断装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130065387A (ko) * 2011-12-09 2013-06-19 주식회사 케이티 단말에 설치된 애플리케이션의 업데이트 방법
KR20140008201A (ko) * 2012-07-11 2014-01-21 삼성전자주식회사 어플리케이션의 품질 테스트를 위한 테스트 케이스의 우선 순위화 장치 및 방법
KR20140055282A (ko) * 2012-10-31 2014-05-09 에스케이플래닛 주식회사 사용자 단말에서의 웹 어플리케이션 오류 분석 시스템, 장치 및 방법
JP2019168877A (ja) * 2018-03-23 2019-10-03 株式会社ケイティーエス 電子端末問題予測装置
JP2019185626A (ja) * 2018-04-17 2019-10-24 株式会社ケイティーエス 自己診断装置

Also Published As

Publication number Publication date
US20230305919A1 (en) 2023-09-28
KR20230118391A (ko) 2023-08-11
AU2022439126A1 (en) 2024-05-23

Similar Documents

Publication Publication Date Title
WO2023149647A1 (ko) 전자 장치 및 이의 동작 방법
WO2022154286A1 (ko) 사용자 인터페이스를 제공하는 방법 및 그 전자 장치
WO2022098195A1 (ko) 플렉스 모드로 동작하는 전자 장치 및 방법
WO2022154264A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2023058860A1 (ko) 멀티 서명된 apk 파일을 처리하는 전자 장치 및 그 동작 방법
WO2022154263A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022196939A1 (ko) 대체 컨텐츠를 제공하는 전자 장치 및 그의 동작 방법
WO2022139420A1 (ko) 전자 장치 및 그의 연속성을 가지는 사용자 입력에 대한 실행 정보를 공유하는 방법
WO2022177162A1 (ko) 어플리케이션의 모델 파일을 초기화하는 프로세서 및 이를 포함하는 전자 장치
WO2022119053A1 (ko) 어플리케이션을 프리로드하는 방법 및 이를 지원하는 전자 장치
WO2021158068A1 (ko) 전자 장치 및 전자 장치의 클립 보드 운용 방법
WO2022203374A1 (ko) 음성 어시스턴트 서비스 제공 방법 및 이를 지원하는 전자 장치
WO2022240031A1 (ko) 전자 장치 및 전자 장치의 파일 관리 방법
WO2023085853A1 (ko) 파일을 복구하기 위한 전자 장치 및 전자 장치의 동작 방법
WO2022215859A1 (ko) 캡쳐 기능을 수행하는 전자 장치 및 전자 장치의 동작 방법
WO2022080652A1 (ko) 저널 파일을 관리하는 전자 장치 및 이의 동작 방법
WO2022245173A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2023158136A1 (ko) 메모리 제어 방법 및 상기 방법을 수행하는 전자 장치
WO2022215915A1 (ko) 전자 장치 및 이의 동작 방법
WO2023158185A1 (ko) 전자 장치 및 이의 제어 방법
WO2024034841A1 (ko) 지정된 이벤트에 기반하여 파일을 컴파일하기 위한 전자 장치 및 그 방법
WO2023013891A1 (ko) 복수의 정보들을 처리하기 위한 전자 장치 및 그 동작 방법
WO2023113251A1 (ko) 파일 탐색을 위한 전자 장치의 동작 방법 및 그 전자 장치
WO2022019715A1 (ko) 전자 장치에서 키패드를 이용한 컨텐츠 검색을 제공하는 방법 및 장치
WO2022245116A1 (ko) 전자 장치 및 전자 장치의 동작 방법

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: 22925114

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022925114

Country of ref document: EP

Effective date: 20240501

ENP Entry into the national phase

Ref document number: 2022439126

Country of ref document: AU

Date of ref document: 20221212

Kind code of ref document: A