WO2022092772A1 - 알림 뷰를 제공하는 전자 장치 및 이의 제어 방법 - Google Patents

알림 뷰를 제공하는 전자 장치 및 이의 제어 방법 Download PDF

Info

Publication number
WO2022092772A1
WO2022092772A1 PCT/KR2021/015120 KR2021015120W WO2022092772A1 WO 2022092772 A1 WO2022092772 A1 WO 2022092772A1 KR 2021015120 W KR2021015120 W KR 2021015120W WO 2022092772 A1 WO2022092772 A1 WO 2022092772A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
electronic device
notification
messages
display
Prior art date
Application number
PCT/KR2021/015120
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 삼성전자 주식회사
Publication of WO2022092772A1 publication Critical patent/WO2022092772A1/ko
Priority to US18/139,680 priority Critical patent/US20230262018A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • G04G21/04Input or output devices integrated in time-pieces using radio waves
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G9/00Visual time or date indication means
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G9/00Visual time or date indication means
    • G04G9/0064Visual time or date indication means in which functions not related to time can be displayed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface

Definitions

  • Various embodiments of the present disclosure relate to an electronic device that provides a notification view and a method for controlling the same.
  • a wearable device or a secondary device worn on a part of the user's body is linked with a smart phone, without directly looking at the smart phone, through the wearable device or the secondary device in the application installed on the smart phone You can check the events that occur. For example, when the message application of the smart phone receives a new message, the user can check whether the new message is received and the content through the wearable device or the secondary device without looking directly at the smart phone.
  • One notification of the wearable device or the secondary device often includes a message history including the existing conversation history, and in order to include the message history in the notification, a page or Messaging style notification of a Wearable extender of a notification may be used.
  • a unique ID is assigned to each incoming or outgoing message, so information on newly received, sent, modified, or deleted messages can be found.
  • messages included in notifications sent to wearable devices or secondary devices are unique Do not include ID.
  • the wearable device or the secondary device cannot distinguish a new message from among a plurality of messages included in the notification, so that only an indicator indicating that a notification has been received is displayed or , it could only replace the existing notification view with a notification view for new notifications, and could not provide an update in the form of adding only a new message to the existing notification view.
  • a wearable device or a secondary device receives a large number of messages within a short time and a single notification includes a large number of new messages, or when a notification contains a large number of new messages due to a connection issue with an external device, the existing notification It is more difficult to provide updates in the form of adding only new messages to the view.
  • an electronic device capable of adding and displaying only a new message to an existing notification view by checking a new message included in a new notification and controlling the same We want to provide a way.
  • the electronic device includes a display and a processor operatively connected to the display, wherein the processor displays at least a part of at least one first message included in a first notification on the display, When a second notification is obtained while at least a portion of the at least one first message is displayed, a first chat group corresponding to the at least one first message and a plurality of second messages included in the second notification Check whether the second chat group is the same, and if the first chat group and the second chat group are the same, the plurality of second messages based on the at least one first message and the plurality of second messages Checking the included at least one new message, further displaying the at least one new message on the display while at least a part of the at least one first message is displayed, the first chat group and the second chat group Otherwise, an indicator related to the second notification may be displayed on a part of the display while at least a part of the at least one first message is displayed.
  • a method of controlling an electronic device includes displaying at least a part of at least one first message included in a first notification on a display, and displaying at least a part of at least one first message in a state in which at least a part of the at least one first message is displayed.
  • the electronic device checks a new message included in a new notification and updates only the new message in the existing notification view, so that the user can experience a similar experience to the application for seamlessly updating the message without a dedicated application.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure
  • FIG. 2 is a diagram for describing an operating environment of an electronic device according to various embodiments of the present disclosure
  • FIG. 3 is a view for explaining a method of operating an electronic device according to various embodiments of the present disclosure
  • FIG. 4 is a diagram for explaining an operation of providing a notification view of an electronic device when a first chatting group related to a first notification and a second chatting group related to a second notification are the same, according to various embodiments of the present disclosure
  • FIG. 5 is a diagram for explaining an operation of providing a notification view of an electronic device when a first chatting group related to a first notification and a second chatting group related to a second notification are different from each other, according to various embodiments of the present disclosure
  • FIG. 6 is a diagram for explaining an operation of checking a new message included in a new notification according to various embodiments of the present disclosure
  • FIG. 7 is a diagram for explaining an operation of checking a new message included in a new notification according to various embodiments of the present disclosure
  • FIG. 8 is a diagram for explaining an operation of checking a new message included in a new notification according to various embodiments of the present disclosure
  • FIG. 9 is a view for explaining an operation of checking a new message included in a new notification according to various embodiments of the present disclosure.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with 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
  • a second network 199 e.g., a second network 199
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an 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 to the electronic device 101 .
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 .
  • the volatile memory 132 may be stored in the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • the processor 120 is the 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) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit
  • NPU neural processing unit
  • an image signal processor e.g., a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123
  • the auxiliary processor 123 is, for example, on behalf 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, executing an application). ), 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 co-processor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190. there is.
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence 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 above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • the memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ).
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a 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 in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • 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 a sound signal to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • the receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • an external electronic device eg, a sound output module 155
  • a sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more designated protocols that may be used by the electronic device 101 to directly or wirelessly connect with 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
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • 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 an 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, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, 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). It can support establishment and communication performance through the established communication channel.
  • 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, : It may include a LAN (local area network) communication module, or a power line communication module).
  • GNSS global navigation satellite system
  • a corresponding communication module among these communication modules 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 computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • 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 computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • the wireless communication module 192 uses the 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 .
  • 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, a new radio access technology (NR).
  • NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 includes various technologies for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements specified in 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 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • 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 connected from the plurality of antennas by, for example, the communication module 190 . can be selected. 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)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) 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)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command 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 a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • One or more external electronic devices that have received 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 transmit a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • 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.
  • the external electronic device 104 or the server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a diagram for describing an operating environment of an electronic device according to various embodiments of the present disclosure
  • an electronic device 101 communicates with the external device 104 through a communication module (eg, the communication module 190 of FIG. 1 ). ) (eg, the electronic device 104 of FIG. 1 ).
  • the external device 104 may transmit data to the electronic device 101 (eg, the electronic device 101 of FIG. 1 ). For example, when receiving a new message, the external device 104 (eg, the electronic device 104 of FIG. 1 ) notifies the electronic device 101 (eg, the electronic device 101 of FIG. 1 ) of the new message. )) or a control signal for controlling the electronic device 101 (eg, the electronic device 101 of FIG. 1 ).
  • the external device 104 may be an electronic device capable of performing an operation based on an application, such as a smartphone, a tablet PC, a laptop, a smart TV, or a desktop.
  • an application such as a smartphone, a tablet PC, a laptop, a smart TV, or a desktop.
  • the electronic device 101 may be a wearable device that can be worn on a part of the user's body.
  • the electronic device 101 eg, the electronic device 101 of FIG. 1
  • the electronic device 101 includes a smart watch, smart glasses, or a head mounted display (HMD) including a display (eg, the display module 160 of FIG. 1 ).
  • HMD head mounted display
  • the electronic device 101 may be a portable device that a user can carry even if it is not worn on a part of the user's body.
  • the electronic device 101 receives a notification including at least one message from the external device 104 (eg, the electronic device 104 of FIG. 1 ).
  • the external device 104 eg, the electronic device 104 of FIG. 1
  • at least a portion of at least one message may be displayed on the display 160 (eg, the display module 160 of FIG. 1 ).
  • at least one message included in a notification received from the external device 104 may not include a unique ID.
  • the electronic device 101 displays a message for the received notification, among a plurality of messages included in the new notification. Only new messages can be additionally displayed.
  • a new message confirmation operation and a new message display operation of the electronic device 101 (eg, the electronic device 101 of FIG. 1 ) according to various embodiments will be described below with reference to FIGS. 3 to 8 .
  • FIG. 3 is a view for explaining a method of operating an electronic device according to various embodiments of the present disclosure
  • the electronic device may include an external device (eg, the electronic device 104 of FIG. 1 ) or A notification view for a notification received from the external device 104 of FIG. 2 ) or a notification generated by an electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) (notification view) can be provided.
  • providing the notification view may include a notification received from an external device (eg, the electronic device 104 of FIG. 1 or the external device 104 of FIG. 2 ) or an electronic device (eg, the electronic device of FIG.
  • This may mean displaying at least one message included in a notification generated by the processor 120 of FIG. 101 or the electronic device 101 of FIG. 2 on a display (eg, the display module 160 of FIG. 1 ).
  • displaying the at least one message included in the notification may mean displaying the body of the at least one message included in the notification.
  • information on a sender and/or a reception time of at least one message may be displayed together with the body.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device is included in the first notification.
  • At least a portion of the at least one first message may be displayed.
  • one first message included in the first notification one is displayed, and when there are a plurality of first messages included in the first notification, one or more first messages may be displayed.
  • the notification is received from an external device (eg, the electronic device 104 of FIG. 1 or the external device 104 of FIG. 2 ) through the communication module (eg, the communication module 190 of FIG. 1 ) or , may be generated by an electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ), and each notification may include at least one message.
  • the notification is related to the interactive application, one notification may include not only a new message but also at least one message that is a history of an existing conversation.
  • the new message is a message after reception of the first notification among at least one message included in the second notification, and may mean a message not included in the first notification.
  • the plurality of messages when a plurality of messages are included in one notification, the plurality of messages may be arranged in a time order of reception or transmission (eg, time flow or ascending order).
  • at least one message included in the notification may be referred to as a message history.
  • the number of at least one message included in one notification may be determined by an application setting, an electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 ) or the number of the message history. based on the settings of the electronic device 101) or an external device (eg, the electronic device 104 of FIG. 1 or the external device 104 of FIG. 2), or the number of messages received or sent within the same chat group. can be decided.
  • the number of message histories included in one notification may be about 10.
  • the number of received or sent messages within the same chat group is less than the set number of message histories, the number of received or sent messages may be the number of message histories included in one notification.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device is an external device (eg, the electronic device 104 of FIG. 1 or the electronic device 101 of FIG. 1 ).
  • the notification is included in the notification.
  • At least a part of at least one message may be displayed on a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device may be displayed on a display (eg, the display module 160 of FIG. 1 ).
  • some or all of at least one message included in the notification may be displayed on a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) displays the number of at least one message included in the notification (eg, FIG. If the number of messages that can be displayed on the display module 160 of 1 is less than that, all at least one message included in the notification may be displayed on a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) displays the number of at least one message included in the notification (eg, FIG. 1 ) If the number of messages that can be displayed on the display module 160 of A number of messages may be displayed on a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device displays at least a part of the at least one first message.
  • the second notification may include one second message.
  • the chat group may be referred to as a chat room, and may include two or three or more participants.
  • the electronic device compares panel IDs of the first notification and the second notification. Thus, it can be checked whether the first group and the second group are the same.
  • the panel ID is a value included in notification data received from an external device (eg, the electronic device 104 of FIG. 1 or the external device 104 of FIG. 2 ), and can distinguish a chat room of a message included in the notification. and may be referred to as a key.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG.
  • the electronic device may use the same chat group according to a criterion determined for each application in addition to the above-described method. can determine whether
  • the first chat group and the second chat group are the same
  • at least one new message included in the plurality of second messages is checked based on the at least one first message and the plurality of second messages, and at least one More new messages can be displayed.
  • the electronic device may include a plurality of second chat groups when the first chat group and the second chat group are the same.
  • a message following a message corresponding to at least a part of the at least one first message may be identified as a new message.
  • the electronic device may include application information related to each of the first notification and the second notification, It may be confirmed whether the at least one first message and each of the plurality of second messages are the same based on at least one of participant information, message content, and message reception time of each of the first chatting group and the second chatting group.
  • the plurality of second messages may or may not include one or more new messages as compared to the at least one first message.
  • the electronic device may display a new message among a plurality of messages included in the second notification. 2 It can be displayed in a position corresponding to the order of a plurality of messages included in the notification.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • a display eg, the display module 160 of FIG. 1
  • At least one first message is moved to one side of the display (eg, the display module 160 of FIG. 1 ), and at least one new message is displayed on the other side of the display (eg, the display module 160 of FIG. 1 ) can do.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device may display a display (eg, FIG. 1 ) based on the first message display direction.
  • at least one first message displayed on the display module 160 of (160)) can be displayed on the right.
  • the electronic device may display a past message among at least some of the displayed at least one first message. It is possible to delete at least one message from , and additionally display a new message.
  • the electronic device may include at least one displayed on a display (eg, the display module 160 of FIG. 1 ).
  • a display eg, the display module 160 of FIG. 1
  • the electronic device may include at least one displayed on a display (eg, the display module 160 of FIG. 1 ).
  • the display module 160 of FIG. 1 When the number of at least one new message included in the one first message and the second message exceeds a preset value, at least one message is deleted from the past message among the displayed at least one first message, and at least one new message may be additionally displayed on a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • a display eg, the display module 160 of FIG. 1
  • a message not included in the plurality of messages included in the second notification may be deleted, and at least one new message may be additionally displayed on a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • a display eg, the display module 160 of FIG. 1
  • a message maintained among the displayed at least one first message is moved to one side of the display (eg, the display module 160 of FIG. 1 ), and at least one new message is displayed (eg, the display module 160 of FIG. 1 )) may be displayed on the other side of
  • the electronic device when there is no message to be deleted or a new message among the messages included in the second notification, the electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) )) may maintain at least one first message displayed on a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device Example: The processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) displays at least one first message displayed on a display (eg, the display module 160 of FIG. 1 ) Instead, at least one second message included in the second notification may be displayed.
  • a notification view screen provided when the first chatting group related to the first notification and the second chatting group related to the second notification are the same will be described with reference to FIG. 4 below.
  • the electronic device determines that the first chat group and the second chat group are different.
  • an indicator related to the second notification may be displayed while at least a portion of the at least one first message is displayed.
  • the notification-related indicator may include information about a notification-related application (eg, an application icon) and/or information about a caller (eg, a caller ID, caller profile picture).
  • a notification-related application e.g, an application icon
  • a caller e.g, a caller ID, caller profile picture
  • the electronic device may display an indicator related to the second notification in at least one of the first messages. It may be displayed in a pop-up form in a partially displayed state, or may be displayed in the form of a notification bar at the top of a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) displays at least one first message displaying an indicator related to a second notification. It can be displayed in a non-existent area.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) displays an indicator related to the second notification for a set time, and displays the second notification for a set time. After this time, the indicator related to the second notification may not be displayed.
  • a notification view screen provided when the first chatting group related to the first notification and the second chatting group related to the second notification are different will be described with reference to FIG. 5 below.
  • FIG. 4 is a diagram for explaining an operation of providing a notification view of an electronic device when a first chatting group related to a first notification and a second chatting group related to a second notification are the same.
  • FIG. 4A shows an operation of providing a notification view of an electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) when a first notification is received
  • FIG. 4(b) is a diagram for explaining an operation of providing a notification view when a second notification is received among operations of providing a notification view for a first notification.
  • an electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • an external device eg, FIG.
  • the notification view 410 for the first notification received from the electronic device 104 of FIG. 1 or the external device 104 of FIG. 2 may be provided.
  • the notification view 410 for the first notification may display at least one first message 411 included in the first notification on a display (eg, the display module 160 of FIG. 1 ).
  • the electronic device when a first notification is received, the electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) sets an indicator for the first notification.
  • the first notification view 410 may be displayed.
  • the indicator for the first notification may include information about an application related to the first notification (eg, an application icon) and/or information about a sender (eg, a caller ID, caller profile picture).
  • the indicator for the first notification may be in the form of a pop-up or a notification bar.
  • the second notification from an external device eg, the electronic device 104 of FIG. 1 or the external device 104 of FIG. 2
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device transmits the first chat group for the first notification and the second for the second notification. You can check if the chat groups are the same.
  • a notification view 420 for the second notification may be provided.
  • the notification view 420 for the second notification displays at least one first message 411 included in the notification view 410 for the first notification and a new message 421 included in the second notification.
  • may include The operation of checking the new message 421 included in the second notification will be described below with reference to FIGS. 6 to 8 .
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device includes at least one included in the notification view 410 for the first notification.
  • a new message 421 included in the second notification may be displayed before the first message 411 , between the at least one first message 411 , or after the at least one first message 411 .
  • the electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) includes at least one included in the notification view 410 for the first notification. moves the first message 411 of the display 160 to one side of the display 160 (eg, the display module 160 of FIG. 1 ), and displays a new message 421 included in the second notification on the display 160 (eg, in FIG. 1 ). 1 may be displayed on the other side of the display module 160).
  • the electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) includes at least one included in the notification view 410 for the first notification.
  • the first message 411 of the display 160 eg, the display module 160 of FIG. 1
  • the upper side of the display 160 eg, the display module 160 of FIG. 1
  • displays a new message 421 included in 2 notifications. may be displayed on the lower side of the display module 160 of the .
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 .
  • the indicator for the second notification may not be provided, but the notification view 420 for the second notification may be provided.
  • FIG. 5 is a diagram for explaining an operation of providing a notification view of an electronic device when a first chatting group related to a first notification is different from a second chatting group related to a second notification.
  • an electronic device 101 eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the external device 104 may receive a new message.
  • the external device 104 sends a notification 510 for a new message to the external device 104 (eg: A second notification including a new message is displayed on the display of the electronic device 104 of FIG. 1 or the external device 104 of FIG. may be transmitted to the processor 120 or the electronic device 101 of FIG. 2 ).
  • the electronic device 101 (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) provides a notification view 520 for the first notification.
  • the electronic device 101 eg, the electronic device 101 of FIG. 1
  • the processor 120 of the electronic device 101 or the electronic device 101 of FIG. 2 may check whether the first chatting group for the first notification and the second chatting group for the second notification are the same.
  • the electronic device 101 may provide an indicator 521 for the second notification while the notification view 520 for the first notification is being provided.
  • the indicator 521 for the second notification may include information about the application related to the second notification (eg, an application icon) and/or information about the caller (eg, caller ID, caller profile picture). there is.
  • the indicator 521 for the second notification may be in the form of a pop-up or notification bar overlaid on the notification view 520 for the first notification.
  • the electronic device 101 (eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) sets an indicator 521 for the second notification. It may be displayed for a period of time, and an indicator related to the second notification may not be displayed when the set time has elapsed.
  • FIG. 6 is a diagram for explaining an operation of checking a new message included in a new notification according to various embodiments of the present disclosure
  • an electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • At least one message is displayed on the display (eg, the display module 160 of FIG. 1 ) to obtain the second notification (B).
  • a plurality of messages eg, a, b, c, d, e
  • the displayed message may be one, and the first notification Only a part of at least one message (eg, a, b, c, d, or e) included in (A) may be displayed.
  • the electronic device may include a first chatting group related to the first notification A and a second
  • a new message included in a plurality of messages eg, c, d, e, f, g
  • the electronic device may display a plurality of messages (eg, a , b, c, d, e) among the plurality of messages (eg, c, d, e, f, g) included in the second notification (B), corresponding to the earliest message 610 (eg, c) You can check the message.
  • a plurality of messages eg, a , b, c, d, e
  • the plurality of messages eg, c, d, e, f, g
  • the electronic device may display the displayed message (eg, a, b, c, d, e) among the plurality of messages (eg, c, d, e, f, g) included in the second notification (B), the message corresponding to the earliest message 610 (eg, c)
  • a third message 620 (eg, c) of the first notification A may be checked.
  • the electronic device may display the displayed message of the first notification A (eg, a, Among b, c, d, e), a message (eg, a, b) before the third message 620 (eg, c) of the first notification A can be identified as a message to be deleted.
  • the electronic device may display the displayed message of the first notification A (eg, a, The number (eg, 2) of messages (eg, d, e) after the checked message 620 (eg, c) among b, c, d, e) may be checked.
  • the electronic device may display a plurality of messages (eg, c) of the second notification B.
  • d, e, f, g) identify the number of messages (e.g. d, e) identified from the earliest (e.g. c) and earliest (e.g. c) messages as messages to be retained, and Messages (eg, f, g) after the message (eg, c, d, e) may be identified as at least one new message included in the second notification (B).
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the length of the message (eg, d, e) after the checked message 620 (eg, c) among the messages (eg, a, b, c, d, e) of the notification A may be checked.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG.
  • the electronic device 101 of FIG. 2 may display the displayed message (eg, a, b,
  • the length of the body of the message (eg, d, e) after the checked message 620 (eg, c) among c, d, and e) may be checked.
  • the electronic device may display a plurality of messages (eg, c) of the second notification B. , d, e, f, g) of the earliest message (eg c) and the message of the length determined from the earliest message (eg c) (eg d, e) as the message to be retained, Messages (eg, f, g) after the message (eg, c, d, e) may be identified as at least one new message included in the second notification (B).
  • the electronic device receives the message of the first notification A (eg, a, At least one subsequence (eg, abcde, bcde, cde, de, e) including the last message (eg, e) among b, c, d, and e) and including continuous messages may be identified.
  • the message of the first notification A eg, a, At least one subsequence (eg, abcde, bcde, cde, de, e) including the last message (eg, e) among b, c, d, and e) and including continuous messages.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 transmits the message of the second notification B (eg, c, d , e, f, g), including the earliest message (eg c), and at least one subsequence (eg, c, cd, cde, cdef, cdefg) including consecutive messages can be identified.
  • the message of the second notification B eg, c, d , e, f, g
  • the earliest message eg c
  • at least one subsequence eg, c, cd, cde, cdef, cdefg
  • the electronic device may include a subsequence of the message history of the first notification A ), including the most recent message among the continuous subsequences (abcde, bcde, cde, de, e) and the oldest message among the subsequences of the message history of the second notification (B), and the continuous subsequence (c, Among cd, cde, cdef, and cdefg), a subsequence (cde) with the longest length of a common message can be identified.
  • the electronic device transmits the message of the second notification B (eg, c, d , e, f, g), the message (eg c, d, e) included in the subsequence (eg cde) with the longest common message length is identified as the message to be maintained, and the message to be maintained ( Examples: c, d, e) and subsequent messages (eg, f, g) may be identified as at least one new message included in the second notification (B).
  • the message of the second notification B eg, c, d , e, f, g
  • the electronic device may display the displayed message of the first notification A (eg, a, Among b, c, d, e), the display of the message to be deleted (eg, a, b) is deleted, and the message to be maintained (eg, c, d, e) remains displayed, and the second notification (B Add at least one new message (eg, f, g) included in the second notification (B) at a position corresponding to the sequence of a plurality of messages (eg, c, d, e, f, g) included in ) can be displayed
  • the first notification A eg, a, Among b, c, d, e
  • the message to be maintained eg, c, d, e
  • B Add at least one new message (eg, f, g) included in the second notification (B) at a position corresponding to the sequence of a plurality of messages (eg, c, d, e, f,
  • the electronic device may display the displayed message (eg, a, b,
  • the display of the message to be deleted eg, a, b) among c, d, e) is deleted, and the message to be kept (eg, c, d, e) is displayed on the display (eg, the display module 160 of FIG. It is moved to one side, and at least one new message (eg, f, g) may be displayed on the other side of the display (eg, the display module 160 of FIG. 1 ).
  • FIG. 7 is a diagram for explaining an operation of checking a new message included in a new notification according to various embodiments of the present disclosure
  • an electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • At least one message is displayed on the display (eg, the display module 160 of FIG. 1 ) to obtain the second notification (B).
  • the display eg, the display module 160 of FIG. 1
  • a plurality of messages (eg, a, b, c, d, e) included in the first notification A are displayed for convenience of explanation, but the displayed message may be one, and the first notification Only a part of at least one message (eg, a, b, c, d, or e) included in (A) may be displayed.
  • the electronic device may include a first chatting group related to the first notification A and a second
  • a new message included in a plurality of messages eg, c, d, e, f, g
  • the electronic device may display a plurality of messages (eg, a , b, c, d, e) among the earliest message 710 (eg a) and among the plurality of messages (eg c, d, e, f, g) included in the second notification (B), the earliest It can be checked whether the message 720 (eg, c) corresponds.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG.
  • the number of common messages of the plurality of messages of B) may be checked, and a common message and a new message included in the plurality of messages included in the second notification (B) may be checked based on the number of confirmed common messages.
  • the processor of the electronic device eg, the electronic device 101 of FIG. 1 ) 120 or the electronic device 101 of FIG.
  • the second message 711 includes a second message 711 (eg, b) and a second message 711 (eg, b) among a plurality of messages (eg, a, b, c, d, e) of the first notification A 2
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the second message 711 eg, b
  • the third message 712 (eg, c) of the plurality of messages (eg, a, b, c, d, e) of the first notification (A) is included in the third message 712 (eg, c) and the second notification (B). If the earliest message 720 (eg, c) of the plurality of messages (eg, c, d, e, f, g) corresponds, the electronic device (eg, the processor 120 of the electronic device 101 of FIG. 1 ) Alternatively, the electronic device 101 of FIG.
  • a fourth message 713 among a plurality of messages (eg, a, b, c, d, e) of the first notification A ) (eg, d) and the second message 721 (eg, d) among a plurality of messages (eg, c, d, e, f, g) included in the second notification (B) can be checked.
  • the electronic device eg, : The processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 changes the number of common messages to 0, and a fourth message ( 713) and the plurality of messages (eg, c, d, e, f, g) included in the second notification (B) whether the first message 720 (eg, c) corresponds or not can be checked.
  • the fourth message 713 (eg, d) among the plurality of messages (eg, a, b, c, d, e) of the first notification A and
  • the electronic device eg, the electronic device of FIG. 1
  • the electronic device eg, : The processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 changes the number of common messages to 0, and the last message ( 714) and a plurality of messages (eg, c, d, e, f, g) included in the second notification B, whether the first message 720 (eg, c) corresponds or not can be checked.
  • the electronic device in a state where the number of common messages is 2, the last message 714 (eg, e) among the plurality of messages (eg, a, b, c, d, e) of the first notification A and
  • the electronic device eg, the electronic device of FIG. 1
  • the processor 120 of 101 or the electronic device 101 of FIG. 2 may change the number of common messages to 3 and end the correspondence checking operation.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG.
  • the electronic device receives a first notification ( A message (eg, c, d, e) that is confirmed to correspond to the message of the second notification (B) among the plurality of messages of A) may be identified as a message to be maintained.
  • a message eg, c, d, e
  • B the message of the second notification
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device may display the displayed message of the first notification A (eg, a, Among b, c, d, e), the message to be deleted (eg a, b) is deleted, and the message to be kept (eg c, d, e) is displayed in the second notification (B)
  • At least one new message (eg, f, g) included in the second notification (B) is additionally displayed at a position corresponding to the sequence of a plurality of included messages (eg, c, d, e, f, g).
  • the electronic device may display the displayed message (eg, a, b, Deletes a message to be deleted (eg, a, b) among c, d, e) It may move, and at least one new message (eg, f, g) may be displayed on the other side of the display (eg, the display module 160 of FIG. 1 ).
  • the displayed message eg, a, b, Deletes a message to be deleted (eg, a, b) among c, d, e)
  • It may move, and at least one new message (eg, f, g) may be displayed on the other side of the display (eg, the display module 160 of FIG. 1 ).
  • FIG. 8 is a diagram for explaining an operation of checking a new message included in a new notification according to various embodiments of the present disclosure;
  • FIG. 8 is a diagram for explaining an operation of checking a new message using a longest common subsequence (LCS) algorithm for obtaining the longest common subsequence of two sequences.
  • a sequence may include a substring.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the longest subsequence (LCS) and longest length value (LCS length value) among subsequences that are not continuous but have a common part of the two sequences can be checked.
  • row 1 is a message history (eg, ACAYKP) of a plurality of first messages included in a first notification
  • column 1 is a plurality of second messages included in a second notification.
  • It can be a message history of (eg, CAPCAK).
  • each alphabet may mean each message in the message history.
  • a '0' located in front of a sequence of each message included in row 1 and column 1 may be a value added for the LCS algorithm, not an actual value of each sequence.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 ) starts the LCS length value from 0, and when the same character appears, the LCS You can check the LCS length value by adding 1 to the length value. For example, a value in a row may be calculated based on a value in a previous row.
  • the length of the previous LCS may refer to a value located in an upper left diagonal line rather than a left value. This is to add 1 to the length of LCS before comparing two characters to be compared in two sequences.
  • the electronic device may include, if the compared characters are different, The length value of the previous LCS may be maintained as it is.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • sets the LCS length value to the left value or the upper value if the compared characters are different. It can be kept at the larger value.
  • 'C' which is the first character of the plurality of second message sequences, and the common subsequence of the plurality of first message sequences (eg, ACAYKP)
  • the LCS length value may be maintained at 0 in columns 2 and 3, and 1 may be added in column 4, respectively.
  • the LCS length value of columns 5 to 8 of row 3 may be 1, which is the greater of the left value and the upper value.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2 transmits each sequence (eg, CAPCAK) of the plurality of second messages;
  • each sequence eg, CAPCAK
  • the LCS values of the sequence eg, ACAYKP
  • the values of rows 4 to 8 may be obtained as shown in the table shown in FIG. 8 .
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device may have the largest value ( Example: Check the starting position 810 (eg, 8 rows and 7 columns), and check the starting positions of smaller values one by one, but only one position can be checked in each row and column.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device has the second largest LCS length value (eg, : 3) check where 820 started (e.g., row 7, column 5), and where the third largest LCS length value (e.g. 2) started at 830 (e.g., row 6, column 4) and LCS A position 840 (eg, 4 rows, 3 columns) where the fourth largest value (eg, 1) of the length values starts may be identified.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device is based on the identified locations 810 , 820 , 830 , and 840 .
  • the LCS is 'ACAK'.
  • the electronic device may obtain a second message from among a plurality of second messages included in the second notification.
  • a message after the LCS may be checked as a new message, and a message before the LCS among the displayed first messages may be identified as a message to be deleted.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • transmits 'ACAK' which is the LCS among the displayed first messages (eg, ACAYKP). It can be checked as a message to keep, and 'YP', a message other than that, can be checked as a message to be deleted.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device is an LCS among a plurality of second messages included in the second notification. You can check the message after 'ACAK' as a new message.
  • the electronic device deletes the display of the message to be deleted from among the displayed messages of the first notification. and the message to be maintained is included in the second notification at a position corresponding to the order of a plurality of messages (eg, c, d, e, f, g) included in the second notification (B) while maintaining the display At least one new message may be additionally displayed.
  • a plurality of messages eg, c, d, e, f, g
  • the electronic device deletes the display of the message to be deleted among the first messages of the displayed first notification. and the message to be maintained is moved to one side of the display (eg, the display module 160 of FIG. 1 ), and at least one new message included in the second message is displayed (eg, the display module 160 of FIG. 1 )) may be displayed on the other side of
  • FIG. 9 is a view for explaining an operation of checking a new message included in a new notification according to various embodiments of the present disclosure.
  • an electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • At least one message is displayed on the display (eg, the display module 160 of FIG. 1 ) to obtain the second notification (B).
  • a plurality of messages eg, a, b, c, d, f
  • the displayed message may be one, and the first notification Only a part of at least one message (eg, a, b, c, d, or f) included in (A) may be displayed.
  • the electronic device may include a first chatting group related to the first notification A and a second
  • a new message included in the plurality of messages eg, b, d, e, f, g
  • the electronic device uses the LCS algorithm shown in FIG. 8 to generate the first notification A
  • a common message eg, a, b, c, d, f
  • the electronic device may include a plurality of messages (eg, the second notification B) included in the second notification B. : Among b, d, e, f, g) messages other than common messages (eg e, g) can be checked as new messages.
  • the electronic device may display the displayed message of the first notification A (eg, a, Among b, c, d, f), the message to be deleted (eg a, c) is deleted, and the message to be retained (eg b, d, f) is displayed in the second notification (B)
  • At least one new message (eg, e, g) included in the second notification (B) is additionally displayed at a position corresponding to the sequence of a plurality of included messages (eg, b, d, e, f, g).
  • the electronic device may display the displayed message (eg, a, b, Delete the message to be deleted (eg a, c) among c, d, f) and respond to the sequence of a plurality of messages (eg, b, d, e, f, g) included in the second notification (B)
  • the new message e may be displayed between the messages d and f to be kept, and the new message g may be displayed after the message f to be kept.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device includes a display (eg, the display module 160 of FIG. 1 ) and a processor (eg, processor 120 of FIG.
  • an indicator related to the second notification may be displayed on a part of the display while at least a part of the at least one first message is displayed.
  • the processor may include the first chat group and the second chat group based on panel IDs of the first chat group and the second chat group, respectively. You can check if these are the same.
  • At least one message included in the first notification and a plurality of messages included in the second notification are arranged in chronological order
  • the processor eg, the processor 120 of FIG. 1
  • the processor includes the last message among at least one message of the first notification, identifies at least one first partial sequence including continuous messages, and includes the earliest message among a plurality of messages of the second notification, , check at least one second subsequence including consecutive messages, and check the message included in the subsequence with the largest number of common messages among the at least one first subsequence and the at least one second subsequence and a message subsequent to the message included in the subsequence having the largest number of the common messages among the plurality of second messages may be identified as the at least one new message.
  • the processor may include the at least one first message and the plurality of second The LCS of the message may be checked, and a message not included in the checked LCS among the plurality of second messages may be identified as the at least one new message.
  • the processor deletes a message that is not included in the plurality of messages included in the second notification among at least a portion of the displayed at least one first message. and the at least one new message may be further displayed on the display (eg, the display module 160 of FIG. 1 ).
  • the processor (eg, the processor 120 of FIG. 1 ) is configured to, when the number of at least a part of the displayed at least one first message and the at least one new message exceeds a preset value, the displayed At least one message may be deleted from the oldest message among at least a portion of the at least one first message, and the at least one new message may be further displayed on the display (eg, the display module 160 of FIG. 1 ). .
  • the processor may display the at least one new message at a position corresponding to an order of a plurality of messages included in the second notification.
  • the processor may display the at least one new message at a position corresponding to an order of a plurality of messages included in the second notification. 1 can be displayed between messages.
  • the processor transmits at least a portion of the displayed at least one first message to one side of the display (eg, the display module 160 of FIG. 1 ). and the at least one new message may be displayed on the other side of the display at a position corresponding to an order of a plurality of messages included in the second notification.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device may be a wearable device.
  • a method of controlling an electronic device includes at least one first notification included in the first notification.
  • a second notification is obtained while displaying at least a part of a message on a display (eg, the display module 160 of FIG.
  • At least a part of the at least one first message is displayed, the at least one first message Checking whether the first chatting group corresponding to the message and the second chatting group corresponding to the plurality of second messages included in the second notification are the same; if the first chatting group and the second chatting group are the same, At least one new message included in the plurality of second messages is checked based on the at least one first message and the plurality of second messages, and at least a part of the at least one first message is displayed.
  • an indicator related to the second notification is displayed while at least a part of the at least one first message is displayed It may include an operation of displaying on a part of the display.
  • the checking operation may determine whether the first chatting group and the second chatting group are the same based on panel IDs of the first chatting group and the second chatting group, respectively.
  • the at least one message included in the first notification and the plurality of messages included in the second notification are arranged in chronological order, and the checking of the at least one new message includes: At least one first sub-sequence including a last message among at least one message of the first notification and including a continuous message is identified, and the first message among a plurality of messages of the second notification is included.
  • At least one second subsequence including a message is identified, and a message included in a subsequence having the largest number of common messages among the at least one first subsequence and the at least one second subsequence is identified, and the Among the plurality of second messages, a message subsequent to the message included in the subsequence having the largest number of common messages may be identified as the at least one new message.
  • the checking of the at least one new message includes the LCS of the at least one first message and the plurality of second messages based on an algorithm for obtaining a longest common subsequence (LCS) between two sequences. , and a message not included in the checked LCS among the plurality of second messages may be identified as the at least one new message.
  • LCS longest common subsequence
  • the displaying of the at least one new message further includes deleting a message not included in the plurality of messages included in the second notification among at least a portion of the displayed at least one first message,
  • the at least one new message may be further displayed on the display (eg, the display module 160 of FIG. 1 ).
  • the displaying of the at least one new message may include, when at least a part of the displayed at least one first message and the number of the at least one new message exceed a preset value, the displayed at least one at least one message may be deleted from the oldest message among at least some of the first messages, and the at least one new message may be further displayed on the display (eg, the display module 160 of FIG. 1 ).
  • the operation of further displaying the at least one new message may include displaying the at least one new message at a position corresponding to an order of a plurality of messages included in the second notification.
  • the operation of further displaying the at least one new message may include displaying the at least one new message at a position corresponding to an order of a plurality of messages included in the second notification, the at least one first message. can be displayed in between.
  • the operation of further displaying the at least one new message includes moving at least a portion of the displayed at least one first message to one side of the display (eg, the display module 160 of FIG. 1 ), and , the at least one new message may be displayed on the other side of the display at a position corresponding to an order of a plurality of messages included in the second notification.
  • the electronic device eg, the processor 120 of the electronic device 101 of FIG. 1 or the electronic device 101 of FIG. 2
  • the electronic device may be a wearable device.
  • the electronic device may have various types of devices.
  • 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 device.
  • 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 wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • first, second, or first or second may be used simply to distinguish the element from other elements in question, and may refer to elements in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can 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, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part 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
  • one or more instructions stored in a storage medium may be implemented as software (eg, the program 140) including
  • a processor eg, processor 120
  • a device eg, 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.
  • 'non-transitory' only means that the storage medium is a tangible device and does not include a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided as included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play StoreTM) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly between smartphones (eg: smartphones) and online.
  • a part of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component (eg, module or program) of the above-described components may include a singular 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 above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

일 실시예에 따라서, 전자 장치는, 디스플레이 및 디스플레이와 작동적으로 연결된 프로세서를 포함하고, 프로세서는, 제1 알림에 포함된 적어도 하나의 제1 메시지의 적어도 일부를 디스플레이에 표시하고, 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림이 획득되면, 적어도 하나의 제1 메시지에 대응되는 제1 채팅 그룹과 제2 알림에 포함된 복수의 제2 메시지에 대응되는 제2 채팅 그룹이 동일한지 확인하고, 제1 채팅 그룹과 제2 채팅 그룹이 동일하면, 적어도 하나의 제1 메시지 및 복수의 제2 메시지를 기반으로 복수의 제2 메시지에 포함된 적어도 하나의 신규 메시지를 확인하고, 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 적어도 하나의 신규 메시지를 디스플레이에 더 표시하고, 제1 채팅 그룹과 제2 채팅 그룹이 다르면, 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림과 관련된 인디케이터를 디스플레이의 일부에 표시할 수 있다.

Description

알림 뷰를 제공하는 전자 장치 및 이의 제어 방법
본 개시의 다양한 실시 예들은, 알림 뷰를 제공하는 전자 장치 및 이의 제어 방법에 관한 것이다.
기술이 발전함에 따라, 여러 개의 전자 장치를 연동하여 다양한 서비스를 제공하고 부가 기능을 제공하고 있다. 특히, 사용자의 신체의 일부에 착용되는 웨어러블 장치(wearable device) 또는 세컨더리 장치(secondary device)를 스마트 폰과 연동함에 따라 스마트 폰을 직접 보지 않고도, 웨어러블 장치 또는 세컨더리 장치를 통해 스마트 폰에 설치된 어플리케이션에서 발생되는 이벤트를 확인할 수 있다. 예를 들어, 스마트 폰의 메시지 어플리케이션이 새로운 메시지를 수신한 경우, 사용자는 스마트 폰을 직접 보지 않아도, 웨어러블 장치 또는 세컨더리 장치를 통해 새로운 메시지의 수신 여부 및 내용을 확인할 수 있다.
웨어러블 장치 또는 세컨더리 장치의 하나의 알림에는 기존 대화 내역이 포함된 메시지 히스토리가 포함되는 경우가 많으며, 메시지 히스토리를 알림에 포함하기 위해서는 알림의 Wearable extender의 page 또는 Messaging style notification이 사용될 수 있다.
어플리케이션의 경우 수신 또는 발신되는 각 메시지마다 고유한 ID가 부여되어, 새롭게 수신, 발신, 수정 또는 삭제된 메시지에 대한 정보를 알 수 있으나, 웨어러블 장치 또는 세컨더리 장치에 전송되는 알림에 포함되는 메시지는 고유 ID를 포함하지 않는다.
이로 인해, 알림에 포함된 복수의 메시지 중 새로운 메시지를 구분할 수 없으며, 복수의 알림에 동일한 메시지가 포함되어 있어도, 웨어러블 장치 또는 세컨더리 장치는 복수의 알림에 각각 포함된 동일한 메시지를 확인할 수 없었다.
이에 따라, 웨어러블 장치 또는 세컨더리 장치는 기존 알림에 대한 알림 뷰를 제공하는 도중 새로운 알림이 수신되는 경우, 알림에 포함된 복수의 메시지 중 새로운 메시지를 구분할 수 없어, 알림이 수신되었음을 알리는 인디케이터만을 표시하거나, 기존 알림 뷰를 새로운 알림에 대한 알림 뷰로 교체할 수만 있었으며, 기존 알림 뷰에 새로운 메시지만을 추가하는 형태의 업데이트를 제공할 수 없었다.
특히, 웨어러블 장치 또는 세컨더리 장치가 짧은 시간 내에 다량의 메시지를 수신하여 하나의 알림에 다수의 새로운 메시지가 포함되거나, 외부 장치와의 연결 이슈로 인해 알림에 다수의 새로운 메시지가 포함된 경우, 기존 알림 뷰에 새로운 메시지만을 추가하는 형태의 업데이트는 더욱 제공하기 어렵다.
본 개시의 다양한 실시 예에 따르면, 알림에 포함된 메시지에 고유 ID가 포함되지 않아도, 새로운 알림에 포함된 새로운 메시지를 확인하여 새로운 메시지만을 기존 알림 뷰에 추가하여 표시할 수 있는 전자 장치 및 이의 제어 방법을 제공하고자 한다.
본 개시에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
다양한 실시 예에 따르면, 전자 장치는, 디스플레이 및 상기 디스플레이와 작동적으로 연결된 프로세서를 포함하고, 상기 프로세서는, 제1 알림에 포함된 적어도 하나의 제1 메시지의 적어도 일부를 상기 디스플레이에 표시하고, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림이 획득되면, 상기 적어도 하나의 제1 메시지에 대응되는 제1 채팅 그룹과 상기 제2 알림에 포함된 복수의 제2 메시지에 대응되는 제2 채팅 그룹이 동일한지 확인하고, 상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 동일하면, 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지를 기반으로 상기 복수의 제2 메시지에 포함된 적어도 하나의 신규 메시지를 확인하고, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하고, 상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 다르면, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 제2 알림과 관련된 인디케이터를 상기 디스플레이의 일부에 표시할 수 있다.
다양한 실시 예에 따르면, 전자 장치의 제어 방법은, 제1 알림에 포함된 적어도 하나의 제1 메시지의 적어도 일부를 디스플레이에 표시하는 동작, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림이 획득되면, 상기 적어도 하나의 제1 메시지에 대응되는 제1 채팅 그룹과 상기 제2 알림에 포함된 복수의 제2 메시지에 대응되는 제2 채팅 그룹이 동일한지 확인하는 동작, 상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 동일하면, 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지를 기반으로 상기 복수의 제2 메시지에 포함된 적어도 하나의 신규 메시지를 확인하고, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하는 동작 및 상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 다르면, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 제2 알림과 관련된 인디케이터를 상기 디스플레이의 일부에 표시하는 동작을 포함할 수 있다.
본 개시의 다양한 실시 예에 따른 전자 장치는, 새로운 알림에 포함된 새로운 메시지를 확인하여, 새로운 메시지만을 기존 알림 뷰에 업데이트함으로 인해, 전용의 어플리케이션 없이도 끊김 없이 메시지를 업데이트 하는 어플리케이션과 유사한 경험을 사용자에게 제공할 수 있다.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.
도 1은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시 예에 따른 전자 장치의 동작 환경을 설명하기 위한 도면이다.
도 3은 다양한 실시 예에 따른 전자 장치의 동작 방법을 설명하기 위한 도면이다.
도 4는 다양한 실시 예에 따른 제1 알림과 관련된 제1 채팅 그룹과 제2 알림과 관련된 제2 채팅 그룹이 동일한 경우의 전자 장치의 알림 뷰 제공 동작을 설명하기 위한 도면이다.
도 5는 다양한 실시 예에 따른 제1 알림과 관련된 제1 채팅 그룹과 제2 알림과 관련된 제2 채팅 그룹이 다른 경우의 전자 장치의 알림 뷰 제공 동작을 설명하기 위한 도면이다.
도 6은 다양한 실시 예에 따른 신규 알림에 포함된 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다.
도 7은 다양한 실시 예에 따른 신규 알림에 포함된 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다.
도 8은 다양한 실시 예에 따른 신규 알림에 포함된 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다.
도 9는 다양한 실시 예에 따른 신규 알림에 포함된 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다.
도 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는 다양한 실시 예에 따른 전자 장치의 동작 환경을 설명하기 위한 도면이다.
다양한 실시 예에 따라, 도 2를 참조하면, 전자 장치(101)(예: 도 1의 전자 장치(101))는 통신 모듈(예: 도 1의 통신 모듈(190))을 통해 외부 장치(104)(예: 도 1의 전자 장치(104))와 통신할 수 있다.
다양한 실시 예에 따라, 외부 장치(104)(예: 도 1의 전자 장치(104))는 전자 장치(101)(예: 도 1의 전자 장치(101))에 데이터를 전송할 수 있다. 예를 들어, 외부 장치(104)(예: 도 1의 전자 장치(104))는 새로운 메시지를 수신하는 경우, 새로운 메시지에 대한 알림을 전자 장치(101)(예: 도 1의 전자 장치(101))에 전송하거나, 전자 장치(101)(예: 도 1의 전자 장치(101))를 제어하기 위한 제어 신호를 전송할 수 있다.
예를 들어, 외부 장치(104)(예: 도 1의 전자 장치(104))는 스마트폰, 태블릿 PC, 랩탑, 스마트 TV, 데스크 탑과 같이 어플리케이션을 기반으로 동작을 수행할 수 있는 전자 장치일 수 있다.
다양한 실시 예에 따라, 전자 장치(101)(예: 도 1의 전자 장치(101))는 사용자의 신체의 일부에 착용할 수 있는 웨어러블 장치(wearable device)일 수 있다. 예를 들어, 전자 장치(101)(예: 도 1의 전자 장치(101))는 디스플레이(예: 도 1의 디스플레이 모듈(160))를 포함하는 스마트 워치, 스마트 안경 또는 HMD(head mounted display)를 포함할 수 있다.
다양한 실시 예에 따라, 전자 장치(101)(예: 도 1의 전자 장치(101))는 사용자의 신체의 일부에 착용되지 않아도 사용자가 휴대할 수 있는 휴대 장치일 수도 있다.
다양한 실시 예에 따라, 전자 장치(101)(예: 도 1의 전자 장치(101))는 외부 장치(104)(예: 도 1의 전자 장치(104))로부터 적어도 하나의 메시지를 포함하는 알림을 수신하면, 적어도 하나의 메시지 중 적어도 일부를 디스플레이(160)(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다. 다양한 실시 예에 따라, 외부 장치(104)(예: 도 1의 전자 장치(104))로부터 수신되는 알림에 포함된 적어도 하나의 메시지는, 고유의 ID를 포함하지 않을 수 있다.
다양한 실시 예에 따라, 전자 장치(101)(예: 도 1의 전자 장치(101))는 수신된 알림에 대한 메시지를 표시하는 상태에서 새로운 알림이 수신되면, 새로운 알림에 포함된 복수의 메시지 중 신규 메시지만을 추가 표시할 수 있다.
다양한 실시 예에 따른, 전자 장치(101)(예: 도 1의 전자 장치(101))의 신규 메시지 확인 동작, 신규 메시지 표시 동작에 대해서는 이하 도 3 내지 도 8을 참조하여 설명하기로 한다.
도 3은 다양한 실시 예에 따른 전자 장치의 동작 방법을 설명하기 위한 도면이다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 외부 장치(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))로부터 수신된 알림 또는 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))에서 생성된 알림에 대한 알림 뷰(notification view)를 제공할 수 있다. 예를 들어, 알림 뷰를 제공하는 것은, 외부 장치(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))로부터 수신된 알림 또는 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))에서 생성된 알림에 포함된 적어도 하나의 메시지를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시하는 것을 의미할 수 있다. 예를 들어, 알림에 포함된 적어도 하나의 메시지를 표시한다는 것은, 알림에 포함된 적어도 하나의 메시지 본문을 표시하는 것을 의미할 수 있다. 다양한 실시 예에 따라, 적어도 하나의 메시지의 발신자에 대한 정보 및/또는 수신 시간도 본문과 함께 표시될 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 알림에 포함된 적어도 하나의 메시지 각각을 말풍선(또는 버블 뷰) 형태로 표시할 수 있다.
다양한 실시 예에 따라, 도 3을 참조하면, 310 동작에서, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 알림에 포함된 적어도 하나의 제1 메시지의 적어도 일부를 표시할 수 있다. 예를 들어, 제1 알림에 포함된 제1 메시지가 하나인 경우, 하나가 표시되고, 제1 알림에 포함된 제1 메시지가 복수 개인 경우, 하나 이상의 제1 메시지가 표시될 수 있다.
다양한 실시 예에 따르면, 알림은 통신 모듈(예: 도 1의 통신 모듈(190))을 통해 외부 장치(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))로부터 수신되거나, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))에서 생성된 것일 수 있으며, 각 알림에는 적어도 하나의 메시지가 포함될 수 있다. 예를 들어, 알림이 대화형 어플리케이션과 관련된 것이면, 하나의 알림에 신규 메시지 뿐만 아니라, 기존 대화 내역인 적어도 하나의 메시지가 포함될 수 있다. 예를 들어, 신규 메시지는 제2 알림에 포함된 적어도 하나의 메시지 중 제1 알림 수신 이후의 메시지로 제1 알림에는 포함되지 않은 메시지를 의미할 수 있다.
다양한 실시 예에 따라, 하나의 알림에 복수의 메시지가 포함된 경우, 복수의 메시지는 수신 또는 발신된 시간 순서(예: 시간 흐름 또는 오름 차순)대로 정렬될 수 있다. 다양한 실시 예에 따라, 알림에 포함된 적어도 하나의 메시지는 메시지 히스토리라 지칭될 수 있다.
다양한 실시 예에 따라, 하나의 알림에 포함된 적어도 하나의 메시지의 수, 즉 메시지 히스토리의 수는 어플리케이션 설정, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101)) 또는 외부 장치(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))의 설정, 또는 동일한 채팅 그룹 내에서의 수신 또는 발신된 메시지의 수에 기반하여 결정될 수 있다. 예를 들어, 하나의 알림에 포함된 메시지 히스토리의 수는 10개 내외일 수 있다. 그러나, 동일한 채팅 그룹 내에서 수신 또는 발신된 메시지의 수가 설정된 메시지 히스토리의 수보다 적은 경우, 수신 또는 발신된 메시지의 수가 하나의 알림에 포함된 메시지 히스토리의 수가 될 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 외부 장치(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))로부터 알림을 수신하거나, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))에서 생성하면, 알림에 포함된 적어도 하나의 메시지 중 적어도 일부를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시될 수 있는 메시지의 수를 기반으로, 알림에 포함된 적어도 하나의 메시지 중 일부 또는 전부를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 알림에 포함된 적어도 하나의 메시지의 수가 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시될 수 있는 메시지의 수 보다 적으면, 알림에 포함된 적어도 하나의 메시지를 모두 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다.
또 다른 실시 예로, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 알림에 포함된 적어도 하나의 메시지의 수가 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시될 수 있는 메시지의 수 보다 많으면, 알림에 포함된 적어도 하나의 메시지 중 최근 메시지부터 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시될 수 있는 메시지의 수만큼의 메시지를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다.
다양한 실시 예에 따르면, 320 동작에서, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림이 획득되면, 적어도 하나의 제1 메시지에 대응되는 제1 채팅 그룹과 제2 알림에 포함된 복수의 제2 메시지에 대응되는 제2 채팅 그룹이 동일한지 확인할 수 있다. 다양한 실시 예에 따라, 제2 알림에는 하나의 제2 메시지가 포함될 수도 있다. 다양한 실시 예에 따라, 채팅 그룹은 채팅 방(chat room)으로 지칭될 수도 있으며, 2인 또는 3인 이상의 참여자가 포함될 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림 및 제2 알림의 패널 ID(panel ID)를 비교하여 제1 그룹과 제2 그룹이 동일한지 확인할 수 있다. 예를 들어, 패널 ID는 외부 장치(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))로부터 수신된 알림 데이터에 포함된 값으로, 알림에 포함된 메시지의 채팅방을 구분할 수 있으며, key로 지칭될 수도 있다. 다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림 및 제2 알림 각각과 관련된 어플리케이션 정보, 제1 채팅 그룹 및 제2 채팅 그룹 각각의 참여자 정보, 메시지 내용 또는 메시지 수신 시간 중 적어도 하나를 기반으로 제1 채팅 그룹 및 제2 채팅 그룹이 동일한지 확인할 수 있다. 다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 상술한 방법 이외에도 어플리케이션 별로 정해진 기준에 따라 채팅 그룹의 동일 여부를 판단할 수 있다.
다양한 실시 예에 따르면, 330 동작에서, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 채팅 그룹과 제2 채팅 그룹이 동일하면, 적어도 하나의 제1 메시지 및 복수의 제2 메시지를 기반으로 복수의 제2 메시지에 포함된 적어도 하나의 신규 메시지를 확인하고, 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 적어도 하나의 신규 메시지를 더 표시할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 채팅 그룹과 제2 채팅 그룹이 동일하면, 복수의 제2 메시지 중, 적어도 하나의 제1 메시지의 적어도 일부와 대응되는 메시지 이후의 메시지를 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림 및 제2 알림 각각과 관련된 어플리케이션 정보, 제1 채팅 그룹 및 제2 채팅 그룹 각각의 참여자 정보, 메시지 내용 또는 메시지 수신 시간 중 적어도 하나를 기반으로 적어도 하나의 제1 메시지와 복수의 제2 메시지 각각이 동일한지 확인할 수 있다.
다양한 실시 예에 따라, 복수의 제2 메시지에는 적어도 하나의 제1 메시지와 비교하여, 하나 이상의 신규 메시지가 포함될 수도 있고, 신규 메시지가 포함되지 않을 수도 있다.
다양한 실시 예에 따른 신규 메시지를 확인하는 동작은 이하 도 6 내지 도 8을 참조하여 설명하기로 한다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제2 알림에 포함된 복수의 메시지 중 신규 메시지를, 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치에 표시할 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치인 표시된 적어도 하나의 제1 메시지의 적어도 일부의 이전, 제1 메시지 사이 또는 이후에 추가 표시할 수 있다.
또 다른 실시 예로, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지는 디스플레이(예: 도 1의 디스플레이 모듈(160))의 일측으로 이동시키고, 적어도 하나의 신규 메시지는 디스플레이(예: 도 1의 디스플레이 모듈(160))의 다른 일측에 표시할 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 메시지 표시 방향을 기반으로, 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지를 디스플레이(예: 도 1의 디스플레이 모듈(160))의 상측으로 이동시키고, 적어도 하나의 신규 메시지는 디스플레이(예: 도 1의 디스플레이 모듈(160))의 하측에 표시할 수 있다. 또 다른 실시 예로, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 메시지 표시 방향을 기반으로, 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지를 디스플레이(예: 도 1의 디스플레이 모듈(160))의 좌측으로 이동시키고, 적어도 하나의 신규 메시지는 디스플레이(예: 도 1의 디스플레이 모듈(160))의 우측에 표시할 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 적어도 하나의 제1 메시지의 적어도 일부 중 과거의 메시지부터 적어도 하나의 메시지를 삭제하고, 신규 메시지를 추가 표시할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지 및 제2 메시지에 포함된 적어도 하나의 신규 메시지의 수가 기설정된 값을 초과하면, 표시된 적어도 하나의 제1 메시지 중 과거 메시지부터 적어도 하나의 메시지를 삭제하고, 적어도 하나의 신규 메시지를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 추가 표시할 수 있다.
또 다른 실시 예로, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지 중 제2 알림에 포함된 복수의 메시지에 포함되지 않는 메시지는 삭제하고, 적어도 하나의 신규 메시지를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 추가 표시할 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지 중 유지되는 메시지는 디스플레이(예: 도 1의 디스플레이 모듈(160))의 일측으로 이동시키고, 적어도 하나의 신규 메시지를 디스플레이(예: 도 1의 디스플레이 모듈(160))의 다른 일측에 표시할 수 있다.
다양한 실시 예에 따라, 제2 알림에 포함된 메시지 중 삭제될 메시지 및 신규 메시지가 없는 경우, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지를 유지할 수 있다.
또 다른 실시 예에 따라, 제2 알림에 포함된 적어도 하나의 제2 메시지와 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지에 공통된 메시지가 없으면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시된 적어도 하나의 제1 메시지를 표시하지 않고, 제2 알림에 포함된 적어도 하나의 제2 메시지를 표시할 수 있다.
다양한 실시 예에 따라, 제1 알림과 관련된 제1 채팅 그룹과 제2 알림과 관련된 제2 채팅 그룹이 동일한 경우 제공되는 알림 뷰 화면에 대한 내용은 이하의 도 4를 참조하여 설명하기로 한다.
다양한 실시 예에 따르면, 340 동작에서, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 채팅 그룹과 제2 채팅 그룹이 다르면, 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림과 관련된 인디케이터를 표시할 수 있다.
다양한 실시 예에 따라, 알림과 관련된 인디케이터는, 알림과 관련된 어플리케이션에 대한 정보(예: 어플리케이션 아이콘) 및/또는 발신자에 대한 정보(예: 발신자 ID, 발신자 프로필 사진)를 포함할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제2 알림과 관련된 인디케이터를 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 팝업 형태로 표시하거나, 디스플레이(예: 도 1의 디스플레이 모듈(160))의 상단에 알림 바(notification bar) 형태로 표시할 수 있다. 또 다른 실시 예로, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제2 알림과 관련된 인디케이터를 표시된 적어도 하나의 제1 메시지가 표시되지 않은 영역에 표시할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제2 알림과 관련된 인디케이터를 설정된 시간 동안 표시하고, 설정된 시간이 지나면 제2 알림과 관련된 인디케이터를 표시하지 않을 수 있다.
다양한 실시 예에 따라, 제1 알림과 관련된 제1 채팅 그룹과 제2 알림과 관련된 제2 채팅 그룹이 다른 경우 제공되는 알림 뷰 화면에 대한 내용은 이하의 도 5를 참조하여 설명하기로 한다.
도 4는 제1 알림과 관련된 제1 채팅 그룹과 제2 알림과 관련된 제2 채팅 그룹이 동일한 경우의 전자 장치의 알림 뷰 제공 동작을 설명하기 위한 도면이다. 예를 들어, 도 4(a)는 제1 알림이 수신된 경우 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))의 알림 뷰 제공 동작을 설명하기 위한 도면이고, 도 4(b)는 제1 알림에 대한 알림 뷰 제공 동작 중 제2 알림이 수신된 경우의 알림 뷰 제공 동작을 설명하기 위한 도면이다.
다양한 실시 예에 따라, 도 4(a)를 참조하면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 외부 장치(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))로부터 수신된 제1 알림에 대한 알림 뷰(410)를 제공할 수 있다. 예를 들어, 제1 알림에 대한 알림 뷰(410)는 제1 알림에 포함된 적어도 하나의 제1 메시지(411)를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 알림이 수신되면, 제1 알림에 대한 인디케이터를 설정된 시간 동안 표시한 후 제1 알림 뷰(410)를 표시할 수 있다. 예를 들어, 제1 알림에 대한 인디케이터는 제1 알림과 관련된 어플리케이션에 대한 정보(예: 어플리케이션 아이콘) 및/또는 발신자에 대한 정보(예: 발신자 ID, 발신자 프로필 사진)를 포함할 수 있다. 예를 들어, 제1 알림에 대한 인디케이터는 팝업 형태 또는 알림 바 형태일 수 있다.
다양한 실시 예에 따라, 제1 알림에 대한 알림 뷰(410)를 제공하고 있는 상태에서, 외부 장치(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))로부터 제2 알림이 수신되면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 알림에 대한 제1 채팅 그룹과 제2 알림에 대한 제2 채팅 그룹이 동일한지 확인할 수 있다.
다양한 실시 예에 따라, 제1 채팅 그룹과 제2 채팅 그룹이 동일한 것으로 확인되면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 도 4(b)에 도시된 바와 같이, 제2 알림에 대한 알림 뷰(420)를 제공할 수 있다. 예를 들어, 제2 알림에 대한 알림 뷰(420)는 제1 알림에 대한 알림 뷰(410)에 포함된 적어도 하나의 제1 메시지(411)와 제2 알림에 포함된 신규 메시지(421)를 포함할 수 있다. 제2 알림에 포함된 신규 메시지(421)를 확인하는 동작은 이하 도 6 내지 도 8을 참조하여 설명하기로 한다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 알림에 대한 알림 뷰(410)에 포함된 적어도 하나의 제1 메시지(411) 이전, 적어도 하나의 제1 메시지(411) 사이 또는 적어도 하나의 제1 메시지(411)의 이후에 제2 알림에 포함된 신규 메시지(421)를 표시할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 알림에 대한 알림 뷰(410)에 포함된 적어도 하나의 제1 메시지(411)를 디스플레이(160)(예: 도 1의 디스플레이 모듈(160))의 일측으로 이동시키고, 제2 알림에 포함된 신규 메시지(421)를 디스플레이(160)(예: 도 1의 디스플레이 모듈(160))의 다른 일측에 표시할 수 있다. 다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 알림에 대한 알림 뷰(410)에 포함된 적어도 하나의 제1 메시지(411)를 디스플레이(160)(예: 도 1의 디스플레이 모듈(160))의 상측으로 이동시키고, 2 알림에 포함된 신규 메시지(421)를 디스플레이(160)(예: 도 1의 디스플레이 모듈(160))의 하측에 표시할 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 채팅 그룹과 제2 채팅 그룹이 동일한 것으로 확인되면, 제2 알림에 대한 인디케이터는 제공하지 않고, 제2 알림에 대한 알림 뷰(420)를 제공할 수 있다.
도 5는 제1 알림과 관련된 제1 채팅 그룹과 제2 알림과 관련된 제2 채팅 그룹이 다른 경우의 전자 장치의 알림 뷰 제공 동작을 설명하기 위한 도면이다.
다양한 실시 예에 따라, 도 5를 참조하면, 전자 장치(101)(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))가 제1 알림에 대한 알림 뷰(520)를 제공하고 있는 상태에서, 외부 장치(104)(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))는 새로운 메시지를 수신할 수 있다.
다양한 실시 예에 따라, 외부 장치(104)(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))는 새로운 메시지에 대한 알림(510)을 외부 장치(104)(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))의 디스플레이에 표시하고, 새로운 메시지를 포함하는 제2 알림을 전자 장치(101)(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))에 전송할 수 있다.
다양한 실시 예에 따라, 전자 장치(101)(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))가 제1 알림에 대한 알림 뷰(520)를 제공하고 있는 상태에서, 외부 장치(104)(예: 도 1의 전자 장치(104) 또는 도 2의 외부 장치(104))로부터 제2 알림이 수신되면, 전자 장치(101)(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는 제1 알림에 대한 제1 채팅 그룹과 제2 알림에 대한 제2 채팅 그룹이 동일한지 확인할 수 있다.
다양한 실시 예에 따라, 제1 채팅 그룹과 제2 채팅 그룹이 다른 것으로 확인되면, 전자 장치(101)(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 도 5에 도시된 바와 같이, 제1 알림에 대한 알림 뷰(520)를 제공하고 있는 상태에서, 제2 알림에 대한 인디케이터(521)를 제공할 수 있다. 예를 들어, 제2 알림에 대한 인디케이터(521)는 제2 알림과 관련된 어플리케이션에 대한 정보(예: 어플리케이션 아이콘) 및/또는 발신자에 대한 정보(예: 발신자 ID, 발신자 프로필 사진)를 포함할 수 있다. 예를 들어, 제2 알림에 대한 인디케이터(521)는 제1 알림에 대한 알림 뷰(520)에 오버레이되는 팝업 형태 또는 알림 바 형태일 수 있다.
다양한 실시 예에 따라, 전자 장치(101)(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림에 대한 인디케이터(521)를 설정된 시간 동안 표시하고, 설정된 시간이 지나면 제2 알림과 관련된 인디케이터를 표시하지 않을 수 있다.
도 6은 다양한 실시 예에 따른 신규 알림에 포함된 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다.
다양한 실시 예에 따라, 도 6을 참조하면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)에 포함된 적어도 하나의 메시지(예: a, b, c, d 또는 e)의 적어도 일부를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시하고 있는 상태에서 제2 알림(B)을 획득할 수 있다. 도 6에서는 설명의 편의를 위하여 제1 알림(A)에 포함된 복수의 메시지(예: a, b, c, d, e)가 표시된 것으로 설명하나, 표시된 메시지는 하나일 수도 있으며, 제1 알림(A)에 포함된 적어도 하나의 메시지(예: a, b, c, d 또는 e) 중 일부만이 표시될 수도 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)과 관련된 제1 채팅 그룹과 제2 알림(B)과 관련된 제2 채팅 그룹이 동일한 것으로 확인되면, 제2 알림(B)에는 복수의 메시지(예: c, d, e, f, g)에 포함된 신규 메시지를 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(610)(예: c)와 대응되는 메시지를 확인할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중, 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(610)(예: c)와 대응되는 메시지인 제1 알림(A)의 세번째 메시지(620)(예: c)를 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 확인된 제1 알림(A)의 세번째 메시지(620)(예: c) 이전의 메시지(예: a, b)는 삭제될 메시지로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 확인된 메시지(620)(예: c) 이후의 메시지(예: d, e)의 수(예: 2)를 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림(B)의 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(예: c) 및 가장 빠른 메시지(예: c)로부터 확인된 수의 메시지(예: d, e)를 유지될 메시지로 확인하고, 유지될 메시지(예: c, d, e) 이후의 메시지(예: f, g)를 제2 알림(B)에 포함된 적어도 하나의 신규 메시지로 확인할 수 있다.
이상에서는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 확인된 메시지(620)(예: c) 이후의 메시지(예: d, e)의 수(예: 2)를 확인하는 동작을 기재하였으나, 다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 확인된 메시지(620)(예: c) 이후의 메시지(예: d, e)의 길이를 확인할 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 확인된 메시지(620)(예: c) 이후의 메시지(예: d, e)의 본문의 길이를 확인할 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림(B)의 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(예: c) 및 가장 빠른 메시지(예: c)로부터 확인된 길이의 메시지(예: d, e)를 유지될 메시지로 확인하고, 유지될 메시지(예: c, d, e) 이후의 메시지(예: f, g)를 제2 알림(B)에 포함된 적어도 하나의 신규 메시지로 확인할 수 있다.
또 다른 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 마지막 메시지(예: e)를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 부분 수열(예: abcde, bcde, cde, de, e)을 확인할 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림(B)의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(예: c)를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 부분 수열(예: c, cd, cde, cdef, cdefg)을 확인할 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)의 메시지 히스토리의 부분 수열(Subsequence) 중 가장 최신 메시지를 포함하며 연속된 부분 수열(abcde, bcde, cde, de, e) 및 제2 알림(B)의 메시지 히스토리의 부분 수열 중 가장 과거 메시지를 포함하며 연속된 부분 수열(c, cd, cde, cdef, cdefg) 중 공통된 메시지의 길이가 가장 긴 부분 수열(cde)을 확인할 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림(B)의 메시지(예: c, d, e, f, g) 중 공통된 메시지의 길이가 가장 긴 것으로 확인된 부분 수열(예: cde)에 포함된 메시지(예: c, d, e)는 유지될 메시지로 확인하고, 유지될 메시지(예: c, d, e) 이후의 메시지(예: f, g)를 제2 알림(B)에 포함된 적어도 하나의 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 삭제될 메시지(예: a, b)의 표시를 삭제하고, 유지될 메시지(예: c, d, e)는 표시를 유지한 상태에서, 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g)의 순서에 대응되는 위치에 제2 알림(B)에 포함된 적어도 하나의 신규 메시지(예: f, g)를 추가 표시할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 삭제될 메시지(예: a, b)의 표시를 삭제하고, 유지될 메시지(예: c, d, e)는 디스플레이(예: 도 1의 디스플레이 모듈(160))의 일측으로 이동시키고, 적어도 하나의 신규 메시지(예: f, g)를 디스플레이(예: 도 1의 디스플레이 모듈(160))의 다른 일측에 표시할 수 있다.
도 7은 다양한 실시 예에 따른 신규 알림에 포함된 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다.
다양한 실시 예에 따라, 도 7을 참조하면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)에 포함된 적어도 하나의 메시지(예: a, b, c, d 또는 e)의 적어도 일부를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시하고 있는 상태에서 제2 알림(B)을 획득할 수 있다. 도 7에서는 설명의 편의를 위하여 제1 알림(A)에 포함된 복수의 메시지(예: a, b, c, d, e)가 표시된 것으로 설명하나, 표시된 메시지는 하나일 수도 있으며, 제1 알림(A)에 포함된 적어도 하나의 메시지(예: a, b, c, d 또는 e) 중 일부만이 표시될 수도 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)과 관련된 제1 채팅 그룹과 제2 알림(B)과 관련된 제2 채팅 그룹이 동일한 것으로 확인되면, 제2 알림(B)에는 복수의 메시지(예: c, d, e, f, g)에 포함된 신규 메시지를 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 가장 빠른 메시지(710)(예: a)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(720)(예: c)의 대응 여부를 확인할 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)의 복수의 메시지 및 상기 제2 알림(B)의 복수의 메시지의 공통된 메시지의 수를 확인하고, 확인된 공통된 메시지의 수를 기반으로 제2 알림(B)에 포함된 복수의 메시지에 포함된 공통된 메시지 및 신규 메시지를 확인할 수 있다.
다양한 실시 예에 따라, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 가장 빠른 메시지(710)(예: a)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(720)(예: c)가 대응되지 않으면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 두번째 메시지(711)(예: b)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(720)(예: c)의 대응 여부를 확인할 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 공통된 메시지의 수를 0으로 확인할 수 있다.
다양한 실시 예에 따라, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 두번째 메시지(711)(예: b)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(720)(예: c)가 대응되지 않으면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 공통된 메시지의 수를 0으로 확인하고, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 세번째 메시지(712)(예: c)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(720)(예: c)의 대응 여부를 확인할 수 있다.
다양한 실시 예에 따라, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 세번째 메시지(712)(예: c)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 가장 빠른 메시지(720)(예: c)가 대응되면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 공통된 메시지의 수를 1로 변경하고, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 네번째 메시지(713)(예: d)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 두번째 메시지(721)(예: d)의 대응 여부를 확인할 수 있다.
다양한 실시 예에 따라, 제1 알림(A)의 복수의 메시지 중 네번째 메시지(713)와 제2 알림(B)에 포함된 복수의 메시지 중 두번째 메시지(721)가 대응되지 않으면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 공통된 메시지의 수를 0으로 변경하고, 제1 알림(A)의 복수의 메시지 중 네번째 메시지(713)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 첫번째 메시지(720)(예: c)의 대응 여부를 확인할 수 있다..
다양한 실시 예에 따라, 공통된 메시지의 수가 1인 상태에서, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 네번째 메시지(713)(예: d)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 두번째 메시지(721)(예: d)가 대응되면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 공통된 메시지의 수를 2로 변경하고, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 마지막 메시지(714)(예: e)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 세번째 메시지(722)(예: e)의 대응 여부를 확인할 수 있다.
다양한 실시 예에 따라, 제1 알림(A)의 복수의 메시지 중 마지막 메시지(714) 와 제2 알림(B)에 포함된 복수의 메시지 중 세번째 메시지(722)가 대응되지 않으면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 공통된 메시지의 수를 0으로 변경하고, 제1 알림(A)의 복수의 메시지 중 마지막 메시지(714) 와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 첫번째 메시지(720)(예: c)의 대응 여부를 확인할 수 있다..
다양한 실시 예에 따라, 공통된 메시지의 수가 2인 상태에서, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 마지막 메시지(714)(예: e)와 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g) 중 세번째 메시지(722)(예: e)가 대응되면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 공통된 메시지의 수를 3으로 변경하고, 대응 여부 확인 동작을 종료할 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)의 복수의 메시지(예: a, b, c, d, e) 중 마지막 메시지(714)(예: e)까지 확인이 완료되면, 대응 여부 확인 동작을 종료하고, 공통된 메시지의 수를 3으로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 확인된 공통 메시지의 수를 기반으로, 제1 알림(A)의 복수의 메시지 중 제2 알림(B)의 메시지와 대응되는 것으로 확인된 메시지(예: c, d, e)를 유지될 메시지로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림(B)의 복수의 메시지(예: c, d, e, f, g) 중 유지될 메시지(720, 721, 722)(예: c, d, e) 이후의 메시지(예: f, g)를 제2 알림(B)에 포함된 적어도 하나의 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 삭제될 메시지(예: a, b)를 삭제하고, 유지될 메시지(예: c, d, e)는 표시를 유지한 상태에서, 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g)의 순서에 대응되는 위치에 제2 알림(B)에 포함된 적어도 하나의 신규 메시지(예: f, g)를 추가 표시할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, e) 중 삭제될 메시지(예: a, b)를 삭제하고, 유지될 메시지(예: c, d, e)는 디스플레이(예: 도 1의 디스플레이 모듈(160))의 일측으로 이동시키고, 적어도 하나의 신규 메시지(예: f, g)를 디스플레이(예: 도 1의 디스플레이 모듈(160))의 다른 일측에 표시할 수 있다.
도 8은 다양한 실시 예에 따른 신규 알림에 포함된 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다. 예를 들어, 도 8은 두 수열의 최장 공통 부분 수열을 구하는 LCS(longest common subsequence) 알고리즘을 이용하여 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다. 예를 들어, 수열(subsequence)은 문자열(substring)을 포함할 수 있다. 다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, LCS(longest common subsequence, 최장 공통 부분 수열) 알고리즘을 이용하여 두 수열의 연속적이지 않지만 공통되는 부분이 있는 부분 수열 중 최장 길이의 부분 수열(LCS) 및 최장 길이 값(LCS 길이 값)을 확인할 수 있다.
다양한 실시 예에 따라, 도 8을 참조하면, 1행은 제1 알림에 포함된 복수의 제1 메시지의 메시지 히스토리(예: ACAYKP)이고, 1열은 제2 알림에 포함된 복수의 제2 메시지의 메시지 히스토리(예: CAPCAK)일 수 있다. 예를 들어, 각 알파벳은 메시지 히스토리 내의 각 메시지를 뜻할 수 있다. 일 실시 예에 따르면, 1행 및 1열에 포함된 각 메시지의 수열 앞에 위치한 '0'은 각 수열의 실제 값이 아닌, LCS 알고리즘을 위해 추가한 값일 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, LCS 길이 값을 0부터 시작하여, 같은 문자가 나오면 LCS 길이 값에 1을 더하는 방식으로 LCS 길이 값을 확인할 수 있다. 예를 들어, 행의 값은 이전 행의 값을 기반으로 계산되는 것일 수 있다.
다양한 실시 예에 따라, 이전의 LCS의 길이란 왼쪽 값이 아니라 왼쪽 위의 대각선에 위치한 값을 말할 수 있다. 이는 두 수열에서 비교 대상인 두 문자를 비교하기 전의 LCS의 길이에 1을 더하기 위함이다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 비교한 문자가 다르다면, 비교한 문자가 포함되어 있는 직전 LCS의 길이 값을 그대로 유지할 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 비교한 문자가 다르다면, LCS 길이 값을 왼쪽 값 또는 위쪽 값 중 큰 값으로 유지할 수 있다.
예를 들어, 도 8에 도시된 표의 3행은, 복수의 제2 메시지의 수열 중 첫 문자인 'C'와 복수의 제1 메시지의 수열(예: ACAYKP)의 공통된 부분 수열(common subsequence)의 길이를 나타낸 값으로, LCS 길이 값은 2열 및 3열에서는 0으로 유지되다가, 4열에서 1이 더해질 수 있다. 3행의 5열 내지 8열의 LCS 길이 값은 왼쪽 값 및 위쪽 값 중 큰 값인 1일 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 복수의 제2 메시지의 수열(예: CAPCAK) 각각과 복수의 제1 메시지의 수열(예: ACAYKP)의 LCS 값을 획득하여 도 8에 도시된 표와 같이 4행 내지 8행의 값을 획득할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 도 8과 같이 획득된 LCS 길이 값 중 가장 큰 값(예: 4)이 시작된 위치(810)(예: 8행 7열)를 확인하고, 하나씩 작은 값이 시작된 위치를 확인하되, 각 행 및 열에는 하나의 위치만을 확인할 수 있다.
예를 들어, 도 8을 참조하면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, LCS 길이 값 중 두번째로 큰 값(예: 3)이 시작된 위치(820)(예: 7행 5열)를 확인하고, LCS 길이 값 중 세번째로 큰 값(예: 2)이 시작된 위치(830)(예: 6행 4열) 및 LCS 길이 값 중 네번째로 큰 값(예: 1)이 시작된 위치(840)(예: 4행 3열)를 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 확인된 위치(810, 820, 830, 840)을 기반으로 LCS는 'ACAK'임을 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림에 포함된 복수의 제2 메시지 중 획득된 LCS 이후의 메시지를 신규 메시지로 확인할 수 있으며, 표시된 제1 메시지 중 LCS 이전의 메시지를 표시가 삭제될 메시지로 확인할 수 있다. 예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 메시지(예:ACAYKP) 중 LCS인 'ACAK'를 유지할 메시지로 확인하고, 이외의 메시지인 'YP'는 표시가 삭제될 메시지로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림에 포함된 복수의 제2 메시지 중 LCS인 'ACAK'이후의 메시지를 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림의 메시지 중 삭제될 메시지의 표시를 삭제하고, 유지될 메시지는 표시를 유지한 상태에서, 제2 알림(B)에 포함된 복수의 메시지(예: c, d, e, f, g)의 순서에 대응되는 위치에 제2 알림에 포함된 적어도 하나의 신규 메시지를 추가 표시할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림의 제1 메시지 중 삭제될 메시지의 표시를 삭제하고, 유지될 메시지는 디스플레이(예: 도 1의 디스플레이 모듈(160))의 일측으로 이동시키고, 제2 메시지에 포함된 적어도 하나의 신규 메시지를 디스플레이(예: 도 1의 디스플레이 모듈(160))의 다른 일측에 표시할 수 있다.
도 9는 다양한 실시 예에 따른 신규 알림에 포함된 신규 메시지를 확인하는 동작을 설명하기 위한 도면이다.
다양한 실시 예에 따라, 도 9를 참조하면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)에 포함된 적어도 하나의 메시지(예: a, b, c, d 또는 f)의 적어도 일부를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시하고 있는 상태에서 제2 알림(B)을 획득할 수 있다. 도 9에서는 설명의 편의를 위하여 제1 알림(A)에 포함된 복수의 메시지(예: a, b, c, d, f)가 표시된 것으로 설명하나, 표시된 메시지는 하나일 수도 있으며, 제1 알림(A)에 포함된 적어도 하나의 메시지(예: a, b, c, d 또는 f) 중 일부만이 표시될 수도 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제1 알림(A)과 관련된 제1 채팅 그룹과 제2 알림(B)과 관련된 제2 채팅 그룹이 동일한 것으로 확인되면, 제2 알림(B)에는 복수의 메시지(예: b, d, e, f, g)에 포함된 신규 메시지를 확인할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 도 8에 도시된 LCS 알고리즘을 이용하여 제1 알림(A)에 포함된 복수의 메시지(예: a, b, c, d, f)와 제2 알림(B)에 포함된 복수의 메시지(예: b, d, e, f, g)의 공통된 메시지(예: b, d, f)를 확인할 수 있다. 다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 제2 알림(B)에 포함된 복수의 메시지(예: b, d, e, f, g) 중 공통된 메시지 외의 메시지(예: e, g)를 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따라, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, f) 중 삭제될 메시지(예: a, c)를 삭제하고, 유지될 메시지(예: b, d, f)는 표시를 유지한 상태에서, 제2 알림(B)에 포함된 복수의 메시지(예: b, d, e, f, g)의 순서에 대응되는 위치에 제2 알림(B)에 포함된 적어도 하나의 신규 메시지(예: e, g)를 추가 표시할 수 있다.
예를 들어, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 표시된 제1 알림(A)의 메시지(예: a, b, c, d, f) 중 삭제될 메시지(예: a, c)를 삭제하고, 제2 알림(B)에 포함된 복수의 메시지(예: b, d, e, f, g)의 순서에 대응되는 위치를 기반으로, 신규 메시지 e를 유지될 메시지인 d 및 f 사이에 표시하고, 신규 메시지 g를 유지될 메시지 f 다음에 표시할 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 디스플레이(예: 도 1의 디스플레이 모듈(160)) 및 상기 디스플레이와 작동적으로 연결된 프로세서(예: 도 1의 프로세서(120))를 포함하고, 상기 프로세서는, 제1 알림에 포함된 적어도 하나의 제1 메시지의 적어도 일부를 상기 디스플레이에 표시하고, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림이 획득되면, 상기 적어도 하나의 제1 메시지에 대응되는 제1 채팅 그룹과 상기 제2 알림에 포함된 복수의 제2 메시지에 대응되는 제2 채팅 그룹이 동일한지 확인하고, 상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 동일하면, 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지를 기반으로 상기 복수의 제2 메시지에 포함된 적어도 하나의 신규 메시지를 확인하고, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하고, 상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 다르면, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 제2 알림과 관련된 인디케이터를 상기 디스플레이의 일부에 표시할 수 있다.
다양한 실시 예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120))는, 상기 제1 채팅 그룹 및 상기 제2 채팅 그룹 각각의 패널 ID를 기반으로 상기 제1 채팅 그룹 및 상기 제2 채팅 그룹이 동일한지 확인할 수 있다.
다양한 실시 예에 따르면, 상기 제1 알림에 포함된 적어도 하나의 메시지 및 상기 제2 알림에 포함된 복수의 메시지는, 시간 순서대로 정렬된 것이고, 상기 프로세서(예: 도 1의 프로세서(120))는, 상기 제1 알림의 적어도 하나의 메시지 중 마지막 메시지를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 제1 부분 수열을 확인하고, 상기 제2 알림의 복수의 메시지 중 가장 빠른 메시지를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 제2 부분 수열을 확인하고, 상기 적어도 하나의 제1 부분 수열 및 상기 적어도 하나의 제2 부분 수열 중 공통된 메시지의 수가 가장 큰 부분 수열에 포함된 메시지를 확인하고, 상기 복수의 제2 메시지 중 상기 공통된 메시지의 수가 가장 큰 부분 수열에 포함된 메시지 이후의 메시지를 상기 적어도 하나의 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120))는, 두 수열 사이의 LCS(longest common subsequence)를 구하는 알고리즘을 기반으로 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지의 LCS를 확인하고, 상기 복수의 제2 메시지 중 상기 확인된 LCS에 포함되지 않은 메시지를 상기 적어도 하나의 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120))는, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 중 상기 제2 알림에 포함된 복수의 메시지에 포함되지 않는 메시지는 삭제하고, 상기 적어도 하나의 신규 메시지를 상기 디스플레이(예: 도 1의 디스플레이 모듈(160))에 더 표시할 수 있다.
다양한 실시 예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120))는, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 및 상기 적어도 하나의 신규 메시지의 수가 기설정된 값을 초과하면, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 중 가장 과거의 메시지부터 적어도 하나의 메시지를 삭제하고, 상기 적어도 하나의 신규 메시지를 상기 디스플레이(예: 도 1의 디스플레이 모듈(160))에 더 표시할 수 있다.
다양한 실시 예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120))는, 상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치에 표시할 수 있다.
다양한 실시 예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120))는, 상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치인 상기 적어도 하나의 제1 메시지 사이에 표시할 수 있다.
다양한 실시 예에 따르면, 상기 프로세서(예: 도 1의 프로세서(120))는, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부는 상기 디스플레이(예: 도 1의 디스플레이 모듈(160))의 일측으로 이동시키고, 상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치인 상기 디스플레이의 다른 일측에 표시할 수 있다.
다양한 실시 예에 따르면, 상기 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 웨어러블 장치(wearable device)일 수 있다.
다양한 실시 예에 따르면, 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))의 제어 방법은, 제1 알림에 포함된 적어도 하나의 제1 메시지의 적어도 일부를 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시하는 동작, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림이 획득되면, 상기 적어도 하나의 제1 메시지에 대응되는 제1 채팅 그룹과 상기 제2 알림에 포함된 복수의 제2 메시지에 대응되는 제2 채팅 그룹이 동일한지 확인하는 동작, 상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 동일하면, 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지를 기반으로 상기 복수의 제2 메시지에 포함된 적어도 하나의 신규 메시지를 확인하고, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하는 동작 및 상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 다르면, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 제2 알림과 관련된 인디케이터를 상기 디스플레이의 일부에 표시하는 동작을 포함할 수 있다.
다양한 실시 예에 따르면, 상기 확인하는 동작은, 상기 제1 채팅 그룹 및 상기 제2 채팅 그룹 각각의 패널 ID를 기반으로 상기 제1 채팅 그룹 및 상기 제2 채팅 그룹이 동일한지 확인할 수 있다.
다양한 실시 예에 따르면, 상기 제1 알림에 포함된 적어도 하나의 메시지 및 상기 제2 알림에 포함된 복수의 메시지는, 시간 순서대로 정렬된 것이고, 상기 적어도 하나의 신규 메시지를 확인하는 동작은, 상기 제1 알림의 적어도 하나의 메시지 중 마지막 메시지를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 제1 부분 수열을 확인하고, 상기 제2 알림의 복수의 메시지 중 가장 빠른 메시지를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 제2 부분 수열을 확인하고, 상기 적어도 하나의 제1 부분 수열 및 상기 적어도 하나의 제2 부분 수열 중 공통된 메시지의 수가 가장 큰 부분 수열에 포함된 메시지를 확인하고, 상기 복수의 제2 메시지 중 상기 공통된 메시지의 수가 가장 큰 부분 수열에 포함된 메시지 이후의 메시지를 상기 적어도 하나의 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따르면, 상기 적어도 하나의 신규 메시지를 확인하는 동작은, 두 수열 사이의 LCS(longest common subsequence)를 구하는 알고리즘을 기반으로 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지의 LCS를 확인하고, 상기 복수의 제2 메시지 중 상기 확인된 LCS에 포함되지 않은 메시지를 상기 적어도 하나의 신규 메시지로 확인할 수 있다.
다양한 실시 예에 따르면, 상기 적어도 하나의 신규 메시지를 더 표시하는 동작은, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 중 상기 제2 알림에 포함된 복수의 메시지에 포함되지 않는 메시지는 삭제하고, 상기 적어도 하나의 신규 메시지를 상기 디스플레이(예: 도 1의 디스플레이 모듈(160))에 더 표시할 수 있다.
다양한 실시 예에 따르면, 상기 적어도 하나의 신규 메시지를 더 표시하는 동작은, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 및 상기 적어도 하나의 신규 메시지의 수가 기설정된 값을 초과하면, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 중 가장 과거의 메시지로부터 적어도 하나의 메시지를 삭제하고, 상기 적어도 하나의 신규 메시지를 상기 디스플레이(예: 도 1의 디스플레이 모듈(160))에 더 표시할 수 있다.
다양한 실시 예에 따르면, 상기 적어도 하나의 신규 메시지를 더 표시하는 동작은, 상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치에 표시할 수 있다.
다양한 실시 예에 따르면, 상기 적어도 하나의 신규 메시지를 더 표시하는 동작은, 상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치인 상기 적어도 하나의 제1 메시지 사이에 표시할 수 있다.
다양한 실시 예에 따르면, 상기 적어도 하나의 신규 메시지를 더 표시하는 동작은, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부는 상기 디스플레이(예: 도 1의 디스플레이 모듈(160))의 일측으로 이동시키고, 상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치인 상기 디스플레이의 다른 일측에 표시할 수 있다.
다양한 실시 예에 따르면, 상기 전자 장치(예: 도 1의 전자 장치(101)의 프로세서(120) 또는 도 2의 전자 장치(101))는, 웨어러블 장치(wearable device)일 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    디스플레이; 및
    상기 디스플레이와 작동적으로 연결된 프로세서;를 포함하고,
    상기 프로세서는,
    제1 알림에 포함된 적어도 하나의 제1 메시지의 적어도 일부를 상기 디스플레이에 표시하고,
    상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림이 획득되면, 상기 적어도 하나의 제1 메시지에 대응되는 제1 채팅 그룹과 상기 제2 알림에 포함된 복수의 제2 메시지에 대응되는 제2 채팅 그룹이 동일한지 확인하고,
    상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 동일하면, 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지를 기반으로 상기 복수의 제2 메시지에 포함된 적어도 하나의 신규 메시지를 확인하고, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하고,
    상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 다르면, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 제2 알림과 관련된 인디케이터를 상기 디스플레이의 일부에 표시하는 전자 장치.
  2. 제1항에 있어서,
    상기 프로세서는,
    상기 제1 채팅 그룹 및 상기 제2 채팅 그룹 각각의 패널 ID를 기반으로 상기 제1 채팅 그룹 및 상기 제2 채팅 그룹이 동일한지 확인하는 전자 장치.
  3. 제1항에 있어서,
    상기 제1 알림에 포함된 적어도 하나의 메시지 및 상기 제2 알림에 포함된 복수의 메시지는,
    시간 순서대로 정렬된 것이고,
    상기 프로세서는,
    상기 제1 알림의 적어도 하나의 메시지 중 마지막 메시지를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 제1 부분 수열을 확인하고,
    상기 제2 알림의 복수의 메시지 중 가장 빠른 메시지를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 제2 부분 수열을 을 확인하고,
    상기 적어도 하나의 제1 부분 수열 및 상기 적어도 하나의 제2 부분 수열 중 공통된 메시지의 수가 가장 큰 부분 수열에 포함된 메시지를 확인하고,
    상기 복수의 제2 메시지 중 상기 공통된 메시지의 수가 가장 큰 부분 수열에 포함된 메시지 이후의 메시지를 상기 적어도 하나의 신규 메시지로 확인하는 전자 장치.
  4. 제1항에 있어서,
    상기 프로세서는,
    두 수열 사이의 LCS(longest common subsequence)를 구하는 알고리즘을 기반으로 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지의 LCS를 확인하고,
    상기 복수의 제2 메시지 중 상기 확인된 LCS에 포함되지 않은 메시지를 상기 적어도 하나의 신규 메시지로 확인하는 전자 장치.
  5. 제1항에 있어서,
    상기 프로세서는,
    상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 중 상기 제2 알림에 포함된 복수의 메시지에 포함되지 않는 메시지는 삭제하고, 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하는 전자 장치.
  6. 제1항에 있어서,
    상기 프로세서는,
    상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 및 상기 적어도 하나의 신규 메시지의 수가 기설정된 값을 초과하면, 상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 중 가장 과거의 메시지부터 적어도 하나의 메시지를 삭제하고, 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하는 전자 장치.
  7. 제1항에 있어서,
    상기 프로세서는,
    상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치에 표시하는 전자 장치.
  8. 제7항에 있어서,
    상기 프로세서는,
    상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치인 상기 적어도 하나의 제1 메시지 사이에 표시하는 전자 장치.
  9. 제7항에 있어서,
    상기 프로세서는,
    상기 표시된 적어도 하나의 제1 메시지의 적어도 일부는 상기 디스플레이의 일측으로 이동시키고, 상기 적어도 하나의 신규 메시지를 상기 제2 알림에 포함된 복수의 메시지의 순서에 대응되는 위치인 상기 디스플레이의 다른 일측에 표시하는 전자 장치.
  10. 제1항에 있어서,
    상기 전자 장치는,
    웨어러블 장치(wearable device)인 전자 장치.
  11. 전자 장치의 제어 방법에 있어서,
    제1 알림에 포함된 적어도 하나의 제1 메시지의 적어도 일부를 디스플레이에 표시하는 동작;
    상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 제2 알림이 획득되면, 상기 적어도 하나의 제1 메시지에 대응되는 제1 채팅 그룹과 상기 제2 알림에 포함된 복수의 제2 메시지에 대응되는 제2 채팅 그룹이 동일한지 확인하는 동작;
    상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 동일하면, 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지를 기반으로 상기 복수의 제2 메시지에 포함된 적어도 하나의 신규 메시지를 확인하고, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하는 동작; 및
    상기 제1 채팅 그룹과 상기 제2 채팅 그룹이 다르면, 상기 적어도 하나의 제1 메시지의 적어도 일부가 표시된 상태에서 상기 제2 알림과 관련된 인디케이터를 상기 디스플레이의 일부에 표시하는 동작;을 포함하는 전자 장치의 제어 방법.
  12. 제11항에 있어서,
    상기 확인하는 동작은,
    상기 제1 채팅 그룹 및 상기 제2 채팅 그룹 각각의 패널 ID를 기반으로 상기 제1 채팅 그룹 및 상기 제2 채팅 그룹이 동일한지 확인하는 전자 장치의 제어 방법.
  13. 제11항에 있어서,
    상기 제1 알림에 포함된 적어도 하나의 메시지 및 상기 제2 알림에 포함된 복수의 메시지는,
    시간 순서대로 정렬된 것이고,
    상기 적어도 하나의 신규 메시지를 확인하는 동작은,
    상기 제1 알림의 적어도 하나의 메시지 중 마지막 메시지를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 제1 부분 수열을 확인하고,
    상기 제2 알림의 복수의 메시지 중 가장 빠른 메시지를 포함하며, 연속적인 메시지를 포함하는 적어도 하나의 제2 부분 수열을 확인하고,
    상기 적어도 하나의 제1 부분 수열 및 상기 적어도 하나의 제2 부분 수열 중 공통된 메시지의 수가 가장 큰 부분 수열에 포함된 메시지를 확인하고,
    상기 복수의 제2 메시지 중 상기 공통된 메시지의 수가 가장 큰 부분 수열에 포함된 메시지 이후의 메시지를 상기 적어도 하나의 신규 메시지로 확인하는 전자 장치의 제어 방법.
  14. 제11항에 있어서,
    상기 적어도 하나의 신규 메시지를 확인하는 동작은,
    두 수열 사이의 LCS(longest common subsequence)를 구하는 알고리즘을 기반으로 상기 적어도 하나의 제1 메시지 및 상기 복수의 제2 메시지의 LCS를 확인하고,
    상기 복수의 제2 메시지 중 상기 확인된 LCS에 포함되지 않은 메시지를 상기 적어도 하나의 신규 메시지로 확인하는 전자 장치의 제어 방법.
  15. 제11항에 있어서,
    상기 적어도 하나의 신규 메시지를 더 표시하는 동작은,
    상기 표시된 적어도 하나의 제1 메시지의 적어도 일부 중 상기 제2 알림에 포함된 복수의 메시지에 포함되지 않는 메시지는 삭제하고, 상기 적어도 하나의 신규 메시지를 상기 디스플레이에 더 표시하는 전자 장치의 제어 방법.
PCT/KR2021/015120 2020-10-26 2021-10-26 알림 뷰를 제공하는 전자 장치 및 이의 제어 방법 WO2022092772A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/139,680 US20230262018A1 (en) 2020-10-26 2023-04-26 Electronic device for providing notification view, and control method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200139743A KR20220055359A (ko) 2020-10-26 2020-10-26 알림 뷰를 제공하는 전자 장치 및 이의 제어 방법
KR10-2020-0139743 2020-10-26

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/139,680 Continuation US20230262018A1 (en) 2020-10-26 2023-04-26 Electronic device for providing notification view, and control method thereof

Publications (1)

Publication Number Publication Date
WO2022092772A1 true WO2022092772A1 (ko) 2022-05-05

Family

ID=81382770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/015120 WO2022092772A1 (ko) 2020-10-26 2021-10-26 알림 뷰를 제공하는 전자 장치 및 이의 제어 방법

Country Status (3)

Country Link
US (1) US20230262018A1 (ko)
KR (1) KR20220055359A (ko)
WO (1) WO2022092772A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110126421A (ko) * 2010-05-17 2011-11-23 삼성전자주식회사 메시징 서비스에서 그룹별 메시지 대화 제공 방법 및 장치
KR101695917B1 (ko) * 2015-08-17 2017-01-12 네이버 주식회사 그룹 메시지를 관리하기 위한 방법과 시스템 및 기록 매체
US20190155459A1 (en) * 2015-06-11 2019-05-23 International Business Machines Corporation Organizing messages in a hierarchical chat room framework based on topics
KR102103665B1 (ko) * 2019-01-11 2020-04-23 한국과학기술원 모바일 인스턴트 메신저에서의 노티피케이션 처리 방법 및 장치
CN107360008B (zh) * 2017-06-29 2020-09-29 维沃移动通信有限公司 一种群组消息的推送方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110126421A (ko) * 2010-05-17 2011-11-23 삼성전자주식회사 메시징 서비스에서 그룹별 메시지 대화 제공 방법 및 장치
US20190155459A1 (en) * 2015-06-11 2019-05-23 International Business Machines Corporation Organizing messages in a hierarchical chat room framework based on topics
KR101695917B1 (ko) * 2015-08-17 2017-01-12 네이버 주식회사 그룹 메시지를 관리하기 위한 방법과 시스템 및 기록 매체
CN107360008B (zh) * 2017-06-29 2020-09-29 维沃移动通信有限公司 一种群组消息的推送方法及移动终端
KR102103665B1 (ko) * 2019-01-11 2020-04-23 한국과학기술원 모바일 인스턴트 메신저에서의 노티피케이션 처리 방법 및 장치

Also Published As

Publication number Publication date
US20230262018A1 (en) 2023-08-17
KR20220055359A (ko) 2022-05-03

Similar Documents

Publication Publication Date Title
WO2022108192A1 (ko) 전자 장치 및 전자 장치의 멀티윈도우 제어방법
WO2022131549A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022177162A1 (ko) 어플리케이션의 모델 파일을 초기화하는 프로세서 및 이를 포함하는 전자 장치
WO2022092772A1 (ko) 알림 뷰를 제공하는 전자 장치 및 이의 제어 방법
WO2022030890A1 (ko) 다중 윈도우 이미지 캡쳐 방법 및 이를 위한 전자 장치
WO2022154264A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022080683A1 (ko) 무선 오디오 출력 장치의 연결 제어 방법 및 장치
WO2023149782A1 (ko) 햅틱 기능을 제공하기 위한 전자 장치 및 그 방법
WO2022211307A1 (ko) 올웨이즈 온 디스플레이 컨텐트를 표시를 지원하는 전자 장치 및 이의 제어 방법
WO2023132610A1 (ko) 디스플레이 모듈 제어 방법 및 상기 방법을 수행하는 전자 장치
WO2022114562A1 (ko) 전자 장치 및 그의 동작 방법
WO2024080553A1 (ko) 전자 장치 및 그 동작 방법
WO2024112005A1 (ko) 디스플레이를 포함하는 전자 장치 및 이의 동작 방법
WO2022197122A1 (ko) 전자 장치 및 전자 장치의 이메일 수신 방법
WO2024025194A1 (ko) 알림과 관련된 동작을 수행하기 위한 방법 및 이를 지원하는 전자 장치
WO2024076008A1 (ko) 파일을 공유하는 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체
WO2022085926A1 (ko) 전자 장치 및 서버를 포함하는 시스템, 및 그 시스템을 이용한 컨텐츠 추천 방법
WO2024085642A1 (ko) 디스플레이를 포함하는 전자 장치 및 이의 동작 방법
WO2022173260A1 (ko) 부품을 제어하기 위한 방법 및 이를 지원하는 전자 장치
WO2024063564A1 (ko) 폴더블 전자 장치 및 폴더블 전자 장치의 동작 방법
WO2022203374A1 (ko) 음성 어시스턴트 서비스 제공 방법 및 이를 지원하는 전자 장치
WO2024063380A1 (ko) 플렉서블 디스플레이에 표시되는 화면을 제어하기 위한 전자 장치 및 방법
WO2022149695A1 (ko) 듀얼 디바이스와, 상기 듀얼 디바이스를 연결하는 연결 장치를 포함하는 전자 장치
WO2023033311A1 (ko) 그래픽 어포던스와 매칭된 기능을 수행하는 전자 장치 및 그 전자 장치의 동작 방법
WO2022203184A1 (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: 21886766

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21886766

Country of ref document: EP

Kind code of ref document: A1