WO2022045682A1 - Instant message operation method and electronic device supporting same - Google Patents

Instant message operation method and electronic device supporting same Download PDF

Info

Publication number
WO2022045682A1
WO2022045682A1 PCT/KR2021/011129 KR2021011129W WO2022045682A1 WO 2022045682 A1 WO2022045682 A1 WO 2022045682A1 KR 2021011129 W KR2021011129 W KR 2021011129W WO 2022045682 A1 WO2022045682 A1 WO 2022045682A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
message
external electronic
content
information
Prior art date
Application number
PCT/KR2021/011129
Other languages
French (fr)
Korean (ko)
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 WO2022045682A1 publication Critical patent/WO2022045682A1/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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/50Business processes related to the communications industry
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • 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

Definitions

  • Various embodiments disclosed in this document relate to a method for operating an instant message and an electronic device supporting the same.
  • the communication function of the electronic device functions as a core interface supporting transmission and reception of information resources without temporal and spatial constraints on the operating environment, and various services are grafted in addition to the central function.
  • the electronic device establishes rich communication suite (RCS) network communication, which is a standard communication protocol stipulated by a global system for mobile communications association (GSMA), with at least one external electronic device based on the communication function, and the An instant messaging service capable of exchanging a two-way interactive instant message with at least one external electronic device may be provided using RCS network communication.
  • RCS rich communication suite
  • the RCS network communication-based instant messaging service Compared to an over the top (OTT)-based instant messaging service, the RCS network communication-based instant messaging service requires a separate third-party application installation or service subscription procedure (or user login procedure) on the electronic device. It may have the advantage of being omitted. Accordingly, expansion of the instant messaging service based on the RCS network communication is considered, but the platform or architecture related to the application of various message functions (eg, deletion of content included in a message) has not been specifically discussed. Implementation of technological advancement is not easy.
  • Various embodiments disclosed in this document provide an instant message operating method capable of supporting deletion of at least a portion of content included in an instant message when operating an RCS network communication-based instant messaging service, and an electronic device supporting the same can do.
  • An electronic device may include a communication module, a display, a memory, and a processor operatively connected to the communication module, the display, and the memory.
  • the processor establishes a rich communication suite (RCS) network communication with at least one external electronic device using the communication module, and provides an instant message stored in the memory using the display.
  • Receives a first user input for inputting content on an execution screen of an application records first state information on the inputted content in the memory in response to receiving the first user input, and uses the display to input the input
  • Receives a second user input for canceling transmission of the content and converts the first state information about the content input into the memory in response to the reception of the second user input as second state information corresponding to the cancellation of the transmission It may be updated and recorded, and an instant message disposition notification (IMDN) request including the second state information may be transmitted to the at least one external electronic device based on the RCS network communication using the communication module.
  • IMDN instant message disposition notification
  • the instant message operation method of an electronic device includes an operation of establishing rich communication suite (RCS) network communication with at least one external electronic device using a communication module of the electronic device, and using a display of the electronic device receiving a first user input for inputting content on an execution screen of an instant message application stored in the memory of the electronic device; Recording first state information, receiving a second user input for canceling transmission of the inputted content using the display, and receiving the inputted content into the memory in response to receiving the second user input
  • IMDN instant message disposition notification
  • an instant message operating platform or architecture capable of supporting deletion of at least a portion of content included in an instant message when operating an instant messaging service based on RCS network communication may be provided.
  • FIG. 1 is a diagram illustrating an electronic device in a network environment according to an embodiment.
  • FIG. 2 is a diagram illustrating some components and an operating environment of an electronic device according to an exemplary embodiment.
  • FIG. 3 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to an embodiment.
  • FIG. 4 is a diagram illustrating an instant message database of an electronic device and at least one external electronic device, respectively, according to an exemplary embodiment.
  • FIG. 5 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to another exemplary embodiment.
  • FIG. 6 is a diagram illustrating an instant message database of an electronic device and at least one external electronic device, respectively, according to another exemplary embodiment.
  • FIG. 7 is a diagram illustrating an operation flow between an electronic device and a server related to instant message operation according to an embodiment.
  • FIG. 8 is a diagram illustrating an instant message database of each of the electronic device and at least one external electronic device based on the interaction between the electronic device and the server, according to an exemplary embodiment.
  • FIG. 9 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to another exemplary embodiment.
  • FIG. 10 is a diagram illustrating an instant message database of an electronic device and at least one external electronic device, respectively, according to another embodiment.
  • FIG. 1 is a diagram illustrating an electronic device in a network environment according to an embodiment.
  • 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 . 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 .
  • 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 an embodiment, as at least part of data processing or operation, the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into 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 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 .
  • the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 .
  • 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 auxiliary processor 123 eg, an image signal processor or a communication processor
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • 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 an embodiment, the receiver may be implemented separately from or as a 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 ) directly or wirelessly connected to 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 .
  • the 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 includes 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 ( 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 Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less.
  • 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 selected from the plurality of antennas by, for example, the communication module 190 . can be 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 specified 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 part of the operations performed by the electronic device 101 may be executed by one or more of the 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 illustrating some components and an operating environment of an electronic device according to an exemplary embodiment.
  • the electronic device 101 may include at least one of a communication module 190 , a display module 160 , a memory 130 , and a processor 120 .
  • the electronic device 101 may omit and include at least one of the above-described components, or may additionally include at least one other component.
  • the electronic device 101 may correspond to the electronic device described with reference to FIG. 1 (eg, the electronic device 101 of FIG. 1 ), and based on this, the electronic device 101 of FIG. At least some of the components included in the electronic device 101 of No. 1 may be further included.
  • the communication module 190 may support wireless communication between the electronic device 101 and at least one external device (eg, the communication network operator server 201 and/or the at least one external electronic device 203 ).
  • the communication module 190 establishes a network according to a prescribed communication protocol (eg, RCS (rich communication suite)) with the at least one external device 201 and/or 203, and through the network It may support operation of an instant messaging service between the device 101 and the at least one external device 201 and/or 203 .
  • a prescribed communication protocol eg, RCS (rich communication suite)
  • the display module 160 may output various screens.
  • the display module 160 may output an operation screen (eg, an execution screen of a message application) of the electronic device 101 in response to user control.
  • the display module 160 receives a user input (eg, an input using a body and/or an input using a digital pen) while outputting the operation screen of the electronic device 101 , and Visual information (eg, content including at least one of text, an image, an image, and an emogi) corresponding to a user input may be displayed on the operation screen.
  • the display module 160 may be implemented as a touch screen display module in which at least two or more of a display panel, a touch panel (or a touch sensor), a digitizer, and a cover glass are integrated.
  • the memory 130 may store at least one data related to the operation of the electronic device 101 or at least one command related to the functional operation of the components of the electronic device 101 .
  • the memory 130 may store data related to an instant messaging service operation between the electronic device 101 and the at least one external device 201 and/or 203 .
  • the memory 130 is a first instant message database 131 (or a logically separated message data storage area in the memory 130) for storing and managing data related to the operation of the instant messaging service. ) may be included.
  • the memory 130 may include a message application for supporting the operation of the instant messaging service of the electronic device 101 , and the message application may be preloaded in the manufacturing process of the electronic device 101 , for example. may be stored in the memory 130 .
  • the processor 120 may include at least one of a central processing unit, an application processor, and a communication processor, and controls the above-described components of the electronic device 101 . can do.
  • the processor 120 is electrically or operatively connected to the components of the electronic device 101 to transmit a command related to the functional operation of the components stored in the memory 130 to the corresponding component or , it is possible to perform operations or processing on signals or data received from components.
  • the processor 120 may access the server 201 (eg, a communication network operator server) using a dedicated application (eg, a message application) based on RCS network communication, and the server 201 ) to transmit the instant message to the at least one external electronic device 203 or receive the instant message from the at least one external electronic device 203 through the server 201 .
  • the processor 120 may record and manage the state of at least one content included in the instant message using the first instant message database 131 of the memory 130, and the at least one When the state regarding the content of ' is changed, the record in the first instant message database 131 may be updated.
  • At least a portion of the at least one external device 201 and/or 203 may include a component capable of functioning identically or similarly to the component of the electronic device 101 described above.
  • each of the at least one external electronic device 203 may include a second instant message database 205 for recording and managing data related to an instant messaging service operation with the electronic device 101 .
  • FIG. 3 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to an embodiment
  • FIG. 4 is a diagram illustrating each of the electronic device and the at least one external electronic device according to an embodiment It is a diagram showing an instant message database.
  • the server eg, the communication network operator server 201 of FIG. 3
  • the server includes an electronic device (eg, the electronic device 101 of FIG. 3 or 4 ) and at least one external device.
  • the instant message exchange between electronic devices eg, at least one external electronic device 203 of FIG. 3 or FIG. 4
  • the instant message provided from the sending device is transmitted to the receiving device without separate processing. It can function as a bypass device for forwarding. That is, the instant message provided from the electronic device 101 or the at least one external electronic device 203 may be delivered to the receiving device via the server 201 .
  • the processor of the electronic device 101 is a server 201 based on a subscription to at least one external electronic device 203 .
  • capability for the at least one external electronic device 203 by inquiring about it or exchanging an RCS network communication-based SIP (session initiation protocol) OPTION message with at least one external electronic device 203 through the server 201 discovery can be performed.
  • the at least one external electronic device 203 determines whether the capability of the at least one external electronic device 203 (eg, whether to support an instant message (IM) operation, and file sharing) transfer; FT) support, and/or message (or content included in the message) deletion (CANCEL) may be transmitted to the server 201 a first SIP message for publishing (PUBLISH).
  • the processor 120 of the electronic device 101 may transmit a second SIP message for subscribing to the at least one external electronic device 203 to the server 201 .
  • the processor 120 may search for at least one external electronic device and at least one external electronic device selected by a user input
  • the second SIP message for subscribing the device 203 may be transmitted to the server 201 .
  • the processor 120 determines from the server 201 the capability of at least one external electronic device 203 (eg, whether to support instant message (IM) operation, file sharing ( A third SIP message for notifying (NOTIFY) whether FT) is supported and whether a message (or content included in the message) deletion (CANCEL) is supported may be received.
  • the processor 120 performs a SIP session with the at least one external electronic device 203 through the server 201 in operation 307 .
  • a fourth SIP message for inviting (INVITE) the establishment (or connection) of a session may be transmitted, and in operation 309 , the at least one external electronic device 203 responds to the invitation through the server 201 .
  • (200 OK) may receive a fifth SIP message.
  • the at least one external electronic device 203 in response (200 OK) of the at least one external electronic device 203 according to the fifth SIP message, the at least one external electronic device 203 can establish a session with the electronic device 101 can indicate Based on this, when the electronic device 101 receives the fifth SIP message, a SIP session may be established between the electronic device 101 and the at least one external electronic device 203 .
  • a message session relay protocol (MSRP) session may be established between the electronic device 101 and at least one external electronic device 203 based on the established SIP session.
  • MSRP message session relay protocol
  • the processor 120 when the MSRP session is established between the electronic device 101 and the at least one external electronic device 203 , the processor 120 communicates with the at least one external electronic device 203 through the server 201 . MSRP messages based on RCS network communication can be exchanged. The processor 120 manages the state of an instant message (or content included in the instant message) input from the user based on the MSRP message exchange with the at least one external electronic device 203 , and the at least one Synchronization of the instant message with the external electronic device 203 may be performed. In addition, when an MSRP session is established between the electronic device 101 and the at least one external electronic device 203 , the processor 120 displays the message application execution screen (or call application execution screen) on the at least one external device.
  • Visual information related to each of the electronic devices 203 may be provided.
  • the processor 120 assigns an identifier (eg, the external electronic device 203) of the at least one external electronic device 203 displayed on the execution screen of the message application (or the execution screen of the call application).
  • an identifier eg, the external electronic device 203
  • content indicating that the external electronic device 203 can exchange instant messages with the electronic device 101 based on the RCS communication network eg, : icon, text, or symbol.
  • the processor 120 may transmit the first MSRP message after the establishment of the MSRP session. For example, when the processor 120 receives a first user input for inputting content (eg, text type “hello”) with respect to the execution screen of the message application, the CPIM header (common profile for instant messaging header) It is possible to transmit a first MSRP message including information about the input content.
  • a first user input for inputting content eg, text type “hello”
  • the CPIM header common profile for instant messaging header
  • the CPIM body of the first MSRP message (common profile for instant messaging body) has information on the processing state of the first MSRP message by the receiving device of the message (eg, whether the first MSRP message is received or not) IMDN (instant message disposition notification) request to provide parameter (delivery) information and the parameter (display information) on whether to check the first MSRP message (or the content included in the first MSRP message) will be included.
  • IMDN instant message disposition notification
  • the processor 120 in response to the transmission of the first MSRP message, stores the first MSRP message in the first instant message database 131 of a memory (eg, the memory 130 of FIG. 2 ).
  • Related information 403 eg, content information included in the first MSRP message (“hello” of text type), IMDN request ID information (C1D1), state information of the content included in the first MSRP message, and at least one of the timestamp information (16:02) of the first MSRP message may be registered (or recorded).
  • the state information of the content among the information 403 related to the first MSRP message is provided by a response to the IMDN request included in the first MSRP message from the receiving device of the first MSRP message.
  • information on the MSRP message may be registered (or managed) in the form of a table on the first instant message database 131 of the electronic device 101, and based on the timestamp information of the MSRP message Information for each of a plurality of MSRP messages may be sequentially listed. For example, information 401 of an MSRP message previously exchanged with at least one external electronic device 203 in the first instant message database 131 may be maintained (or managed) for a specified period.
  • the at least one external electronic device 203 receives the first MSRP message transmitted from the electronic device 101 through the server 201 (or, the content included in the first MSRP message (“hello”)) can be obtained), and in operation 315, it can respond to an IMDN request in the first MSRP message (eg, an IMDN request to provide parameter (deliver) information on whether the first MSRP message is received).
  • the at least one external electronic device 203 may transmit a second MSRP message including an IMDN response to the IMDN request.
  • the IMDN response may include information (eg, parameter (delivered) information indicating reception of the first MSRP message) on the first MSRP message processing status on the at least one external electronic device 203. and may be included in the CPIM body of the second MSRP message.
  • the processor 120 of the electronic device 101 may receive the second MSRP message transmitted from the at least one external electronic device 203 through the server 201 .
  • the processor 120 may identify that the at least one external electronic device 203 has received the first MSRP message, based on the IMDN response included in the second MSRP message, and the first instant message
  • the information 403 of the first MSRP message registered in the database 131 may be first updated.
  • the processor 120 is based on the processing status information of the first MSRP message according to the IMDN response included in the second MSRP message (eg, parameter (delivered) information indicating reception of the first MSRP message), By recording the content state information in the registered first MSRP message information 403 in a delivered state, the registered first MSRP message information 403 may be first updated (405).
  • the processing status information of the first MSRP message according to the IMDN response included in the second MSRP message eg, parameter (delivered) information indicating reception of the first MSRP message
  • the at least one external electronic device 203 after receiving the first MSRP message of the at least one external electronic device 203 , the first MSRP message (or included in the first MSRP message) by the user of the at least one external electronic device 203 . content) can be read.
  • the at least one external electronic device 203 determines whether to check the IMDN request (eg, the first MSRP message (or the content included in the first MSRP message) in the first MSRP message). (display) IMDN request to provide information).
  • the at least one external electronic device 203 responds to the IMDN request in the first MSRP message, information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg: The IMDN response including the parameter (displayed) information indicating the confirmation of the first MSRP message (or the content included in the first MSRP message) may be transmitted by being included in the CPIM body of the third MSRP message.
  • the processor 120 of the electronic device 101 may receive the third MSRP message transmitted from the at least one external electronic device 203 through the server 201 .
  • the processor 120 may identify that the first MSRP message has been confirmed by the user of the at least one external electronic device 203 based on the IMDN response included in the third MSRP message, and a first instant message database ( 131) on the first updated MSRP message information 405 may be second updated.
  • the processor 120 indicates the confirmation of the processing status information of the first MSRP message (eg, the first MSRP message (or the content included in the first MSRP message) according to the IMDN response in the third MSRP message.
  • the processor 120 Based on the parameter (displayed information), by recording the content state information in the first updated first MSRP message information 405 in a displayed state, the first updated first MSRP message information 405 A second update 407 may be performed.
  • the processor 120 of the electronic device 101 is configured to cancel the transmission of the content inputted to the execution screen of the message application (eg, “hello” of the text type input in operation 311) by the second user input can be received.
  • the processor 120 may receive the second user input maintained for at least a specified time for at least a portion of the inputted content through the execution screen of the message application.
  • a menu eg, transmission
  • the processor 120 receives a touch input maintained for at least a specified time with respect to at least a portion of the inputted content through the execution screen of the message application, a menu (eg, transmission) designated as an adjacent area of the inputted content Cancel menu) and receive a second user input for selecting the specified menu.
  • the processor 120 cancels the transmission of the content displayed on the execution screen of the message application, so that the information on the content processing status on the electronic device 101 (eg, content).
  • the IMDN request including the parameter (canceled information) indicating the cancellation of transmission of may be transmitted by being included in the CPIM body of the fourth MSRP message.
  • the IMDN request included in the fourth MSRP message causes the at least one external electronic device 203 to display the content status on the at least one external electronic device 203 on the electronic device 101 . It can indicate an intent to request to be matched with a content state (eg canceled).
  • the processor 120 may thirdly update the second updated first MSRP message information 407 on the first instant message database 131 in response to receiving the second user input.
  • the processor 120 records the state information of the content recorded in the displayed state in the second updated first MSRP message information 407 as the canceled state, and the second updated first MSRP A third update 409 of the message information 407 may be performed.
  • the processor 120 may check the MSRP session connection state between the electronic device 101 and the at least one external electronic device 203 at the receiving time (time) of the second user input.
  • the processor 120 uses the SIP session established between the electronic device 101 and at least one external electronic device 203 to the electronic device 101 ), it is also possible to transmit a SIP message including information on the processing status of the contents (eg, parameter information indicating cancellation of transmission of contents).
  • the processor 120 may stop displaying the content displayed on the execution screen of the message application. Also, the processor 120 may display content designated as an area adjacent to the content to be displayed. For example, the processor 120 may display the designated content (eg, text type “message transmission has been canceled”) for guiding the cancellation of transmission of the displayed content.
  • the designated content eg, text type “message transmission has been canceled”
  • the at least one external electronic device 203 may receive the fourth MSRP message transmitted from the electronic device 101 through the server 201 . At least one external electronic device 203 based on the IMDN request information included in the fourth MSRP message (eg, parameter (canceled) information indicating cancellation of content transmission), the content status on the electronic device 101 ( For example, transmission cancellation) can be identified. In this case, the at least one external electronic device 203 controls the content being displayed so that the content being displayed on the message application execution screen of the external electronic device 203 corresponds to the content state on the identified electronic device 101 . You can delete (or stop displaying).
  • the IMDN request information included in the fourth MSRP message eg, parameter (canceled) information indicating cancellation of content transmission
  • the at least one external electronic device 203 controls the content being displayed so that the content being displayed on the message application execution screen of the external electronic device 203 corresponds to the content state on the identified electronic device 101 . You can delete (or stop displaying).
  • the at least one external electronic device 203 performs similarly to the above-described first instant message database 131 management operation of the electronic device 101 (or the processor 120 ), the corresponding external electronic device
  • the second instant message database 205 included in 203 may be operated.
  • the at least one external electronic device 203 receives the first MSRP message from the electronic device 101 through the server 201
  • the second instant message database 205 receives the first MSRP message.
  • Information eg, delivered
  • the at least one external electronic device 203 records the first MSRP message (or the content included in the first MSRP message) when the user of the at least one external electronic device 203 confirms it.
  • the received information may be updated with information (eg, displayed) indicating confirmation of the first MSRP message.
  • IMDN request information in the fourth MSRP message e.g, a parameter indicating cancellation of content transmission
  • the recorded information e.g, delivered or displayed
  • information e.g, canceled
  • recorded information (eg, : canceled) can be managed by updating (411) information indicating deletion of the content (eg, deleted).
  • the above-described operation 317 may be omitted.
  • the user of the at least one external electronic device 203 does not read the first MSRP message (or the content included in the first MSRP message) received from the electronic device 101
  • at least One external electronic device 203 receives the third IMDN response information (eg, parameter (displayed) information indicating confirmation of the first MSRP message (or content included in the first MSRP message)) in operation 317 ).
  • MSRP messages may not be sent.
  • the user of the at least one external electronic device 203 does not check the first MSRP message (or the content included in the first MSRP message), It may be understood as a process in which the first MSRP message (or the content included in the first MSRP message) is deleted from the at least one external electronic device 203 according to the cancellation of the content transmission by the electronic device 101 .
  • FIG. 5 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to another embodiment
  • FIG. 6 is a diagram illustrating each of the electronic device and the at least one external electronic device according to another embodiment. It is a diagram showing an instant message database.
  • the server eg, the communication network operator server 201 of FIG. 5
  • the server includes an electronic device (eg, the electronic device 101 of FIG. 5 or 6 ) and at least one external device.
  • the instant message provided from the sending device is transmitted to the receiving device without separate processing. It can function as a bypass device that delivers That is, the instant message provided from the electronic device 101 or the at least one external electronic device 203 may be delivered to the receiving device via the server 201 .
  • the processor of the electronic device 101 is a server 201 based on a subscription to at least one external electronic device 203 . Capability discovery for the at least one external electronic device 203 may be performed by making an inquiry to the . there is.
  • the at least one external electronic device 203 determines whether the capability of the at least one external electronic device 203 (eg, whether to support an instant message (IM) operation, and file sharing) transfer; FT) support, and/or message (or content included in the message) deletion (CANCEL) may be transmitted to the server 201 a first SIP message for publishing (PUBLISH).
  • the processor 120 of the electronic device 101 may transmit a second SIP message for subscribing to the at least one external electronic device 203 to the server 201 , corresponding to the second SIP message.
  • a capability of at least one external electronic device 203 from the server 201 eg, whether instant message (IM) operation is supported, whether file sharing (FT) is supported, and/or a message (or content included in the message)
  • IM instant message
  • FT file sharing
  • NOTIFT NOTIFT
  • the processor 120 of the electronic device 101 transmits the information to the at least one external electronic device 203 through the server 201 .
  • a fourth SIP message for inviting (INVITE) the establishment (or connection) of a SIP session may be transmitted, and a fourth SIP message for responding (200 OK) to the invitation from at least one external electronic device 203 through the server 201 .
  • 5 SIP messages can be received.
  • a response (200 OK) indicating that session establishment is possible is provided from the at least one external electronic device 203 , the communication between the electronic device 101 and the at least one external electronic device 203 is provided.
  • a SIP session may be established, and an MSRP session based on the SIP session may be established.
  • the processor 120 exchanges an RCS network communication-based MSRP message with at least one external electronic device 203 through the server 201 after the MSRP session is established, thereby providing an instant input from the user.
  • a state of a message (or content included in an instant message) may be managed, and the instant message may be synchronized with at least one external electronic device 203 .
  • the processor 120 when the processor 120 receives a first user input for inputting content (eg, text-type “hello”) on the execution screen of the message application, the processor 120 adds the content to the CPIM header. It is possible to transmit a first MSRP message including information about.
  • content eg, text-type “hello”
  • information on the processing state of the first MSRP message by the receiving device of the message eg, parameter (deliver) information on whether or not the first MSRP message is received; Parameter (display) information on whether to check the first MSRP message (or the content included in the first MSRP message), and a parameter for whether to delete the first MSRP message (or the content included in the first MSRP message) (delete) information
  • the processor 120 in response to the transmission of the first MSRP message, stores information on the first MSRP message in the first instant message database 131 of a memory (eg, the memory 130 of FIG. 2 ). 601 may be registered (or recorded).
  • At least one external electronic device 203 receives (or includes in the first MSRP message) the first MSRP message transmitted from the electronic device 101 through the server 201 . obtained content (“hello”), and respond to the IMDN request in the first MSRP message.
  • the at least one external electronic device 203 requests an IMDN request in the first MSRP message (eg, an IMDN request to provide parameter (deliver) information on whether or not the first MSRP message is received.
  • the at least one external electronic device 203 in response to the second IMDN response including information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg, parameter (delivered) information indicating reception of the first MSRP message) It can be transmitted by being included in the CPIM body of the MSRP message.
  • the at least one external electronic device 203 reads the first MSRP message (or the content included in the first MSRP message) by the user of the at least one external electronic device 203 .
  • the IMDN request in the first MSRP message (eg, the first MSRP message (or the content included in the first MSRP message) IMDN request to provide parameter (display) information on whether to check whether the IMDN request ( displayed) information) may be transmitted by being included in the CPIM body of the third MSRP message.
  • the processor 120 of the electronic device 101 may receive the second MSRP message through the server 201, and based on the IMDN response included in the second MSRP message, the first instant It is possible to first update the first MSRP message information 601 registered in the message database 131 .
  • the processor 120 records the content state information in the first MSRP message information 601 as a delivered state based on the IMDN response included in the second MSRP message, thereby registering the first MSRP message.
  • the information 601 may be first updated 603 .
  • the processor 120 receives the third MSRP message through the server 201, and transmits the first updated first MSRP message information 603 based on the IMDN response included in the third MSRP message to the second Can be updated.
  • the processor 120 records the content state information in the first updated first MSRP message information 603 as a displayed state based on the IMDN response included in the third MSRP message, so that the first A second update 605 may be performed on the updated first MSRP message information 603 .
  • the processor 120 may receive a second user input for canceling transmission of content input to the execution screen of the message application (eg, “hello” of the text type input in operation 511). .
  • the processor 120 includes, in operation 519 , information on a content processing state on the electronic device 101 (eg, parameter information indicating cancellation of content transmission).
  • the IMDN request may be transmitted by being included in the CPIM body of the fourth MSRP message.
  • the processor 120 may thirdly update the second updated first MSRP message information 605 on the first instant message database 131 in response to receiving the second user input.
  • the processor 120 corresponds to the state information of the content recorded in the displayed state in the second updated first MSRP message information 605 to the content processing state on the current electronic device 101 .
  • the second updated first MSRP message information 605 may be updated 607 by a third.
  • the processor 120 when the MSRP session connection between the electronic device 101 and the at least one external electronic device 203 is released or it is confirmed to be in an unstable state at the time of receiving the second user input, the processor 120 is information on the content processing status on the electronic device 101 using the SIP session established between the electronic device 101 and at least one external electronic device 203 (eg, a parameter indicating cancellation of content transmission) canceled) information) may be transmitted.
  • the at least one external electronic device 203 receives the fourth MSRP message transmitted from the electronic device 101 through the server 201, and includes IMDN request information (eg, the fourth MSRP message). : It is possible to identify a content status (eg, transmission cancellation) on the electronic device 101 based on parameter (canceled) information indicating cancellation of content transmission). At least one external electronic device 203 may update (609) the first MSRP message information pre-registered (or pre-updated) in the second instant message database 205 according to the reception of the fourth MSRP message. there is.
  • the at least one external electronic device 203 is being displayed on the execution screen of the message application according to IMDN request information (eg, parameter (canceled) information indicating cancellation of transmission of content) included in the fourth MSRP message. Delete (or stop displaying) the content, and respond to the IMDN request in the fourth MSRP message.
  • the at least one external electronic device 203 provides information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg, the first MSRP message (or the first MSRP message). 1
  • the IMDN response including the parameter (deleted information) indicating the deletion of the content included in the MSRP message may be transmitted by being included in the CPIM body of the fifth MSRP message.
  • the at least one external electronic device 203 manages information of the MSRP message exchanged with the electronic device 101, the second instant message database 205 It is possible to update the information 609 of the first MSRP message recorded in.
  • the at least one external electronic device 203 sets the content state information in the first MSRP message information 609 to a deleted state indicating deletion of content on the at least one external electronic device 203 . It can be managed by updating (611).
  • the processor 120 of the electronic device 101 may receive the fifth MSRP message transmitted from the at least one external electronic device 203 through the server 201 .
  • the processor 120 may identify the content status on the at least one external electronic device 203 based on the IMDN response included in the fifth MSRP message.
  • the processor 120 is the first MSRP message processing status information according to the IMDN response (eg, a parameter (deleted) information indicating deletion of the first MSRP message (or content included in the first MSRP message)) Based on , it may be determined that the content has been deleted (or stopped being displayed) on the at least one external electronic device 203 .
  • the processor 120 may store the first instant message database 131 on the basis of the IMDN response in the fifth MSRP message. 3, the updated first MSRP message information 607 may be updated fourth. For example, the processor 120 transmits the state information of the contents recorded as canceled in the third updated first MSRP message information 607, the first according to the IMDN response in the fifth MSRP message.
  • the third updated first A fourth update 613 of the MSRP message information 607 may be performed.
  • FIG. 7 is a diagram illustrating an operation flow between an electronic device and a server related to instant message operation according to an embodiment. It is a diagram illustrating an instant message database of each of the external electronic devices.
  • the processor of the electronic device 101 is a server 201 based on a subscription to at least one external electronic device 203 .
  • Capability discovery for the at least one external electronic device 203 may be performed by inquiring with the server 201 or exchanging a SIP OPTION message based on RCS network communication with the server 201 .
  • the at least one external electronic device 203 RCS network communication operation of device 203 may not be possible.
  • the processor 120 of the electronic device 101 may transmit a second SIP message for subscribing to the at least one external electronic device 203 to the server 201 , and the 2
  • the capability eg, whether instant message (IM) operation is supported, whether file sharing (FT) is supported, and/or a message (or, A third SIP message for notifying (NOTIFY) whether content included in the message is supported for deletion (CANCEL) may be received.
  • the processor 120 transmits the SIP session to the at least one external electronic device 203 through the server 201 . It is possible to transmit a fourth SIP message inviting (INVITE) the establishment (or connection) of the.
  • the server 201 transmits (eg, bypasses) the fourth SIP message provided from the electronic device 101 to the at least one external electronic device 203 , the at least one external device 201 . It may be identified that the electronic device 203 and the RCS network communication are not connected (or that the RCS network communication operation of the at least one external electronic device 203 is impossible).
  • the server 203 receives the fourth SIP message from the electronic device 101 for a specified first time (eg, 30 seconds) based on the at least one external electronic device 203 .
  • You can monitor the RCS network communication connection status with when the RCS network communication with the at least one external electronic device 203 is not connected within the specified first time period, in operation 709 , the server 201 receives a fourth message received from the electronic device 101 .
  • a fifth SIP message responding (200 OK) to the SIP message may be transmitted to the electronic device 101 .
  • the processor 120 of the electronic device 101 provides a context (eg, power off, instant messaging service inactive, or communication network inactive) related to RCS network communication operation of at least one external electronic device 203 .
  • a context eg, power off, instant messaging service inactive, or communication network inactive
  • the processor 120 receives a fifth SIP message responding (200 OK) to the SIP session establishment invitation from the server 201 , the processor 120 performs a SIP session with at least one external electronic device 203 and the SIP It can be determined that an MSRP session based on the session has been opened.
  • the processor 120 transmits the RCS network communication-based MSRP message to the at least one external electronic device 203 through the server 201, the at least one external electronic device 203 RCS network communication failure can be recognized.
  • the processor 120 transmits the MSRP message transmitted for the purpose of receiving the at least one external electronic device 203 to the at least one external electronic device 203 (or at least one external electronic device 203 ). before being received by device 203), the transmission of the MSRP message may be revoke.
  • the processor 120 when the processor 120 receives a first user input for inputting content (eg, text-type “hello”) on the execution screen of the message application, the processor 120 adds the content to the CPIM header. It is possible to transmit a first MSRP message including information about.
  • the receiving device of the message causes information on the processing state of the first MSRP message (eg, parameter (deliver) information on whether the first MSRP message is received or not; and An IMDN request for requesting to provide a parameter (display information) on whether to check the first MSRP message (or the content included in the first MSRP message) may be included.
  • the processor 120 according to the transmission of the first MSRP message, information about the first MSRP message in the first instant message database 131 of the memory (eg, the memory 130 of FIG. 2) ( 801) can be registered (or recorded).
  • the server 201 may confirm that the RCS network communication state (eg, not connected) with at least one external electronic device 203 identified in the previous operation is being maintained, and in response thereto, the electronic device 101 ) may at least temporarily store the first MSRP message (or the content included in the first MSRP message) provided from the database 202 (or cache memory) included in the server 201 .
  • the processor 120 of the electronic device 101 may count a specified second time (eg, 3 minutes) based on the transmission time of the first MSRP message.
  • the processor 120 includes parameter (delivered) information indicating reception of the IMDN request in the first MSRP message (eg, the first MSRP message) from the at least one external electronic device 203 within the specified second time period. If the MSRP message including the IMDN response) is not received, in operation 715 , it may transmit a second MSRP message indicating transmission cancellation (REVOKE) of the first MSRP message to the server 201 .
  • the processor 120 may transmit a second MSRP message requesting the server 201 not to forward (eg, bypass) the first MSRP message to the at least one external electronic device 203 .
  • the processor 120 first updates the first MSRP message information 801 registered (or recorded) in the first instant message database 131 in response to the transmission of the second MSRP message.
  • the processor 120 records the content state information in the first MSRP message information 801 as a canceled (or revoked) state corresponding to the processing state of the current first MSRP message, and records the registered A first update 803 of the first MSRP message information 801 may be performed.
  • the server 201 receives the second MSRP message transmitted from the electronic device 101, and sends a request (eg, a first MSRP message) indicated by the second MSRP message to at least one external electronic device 203 Based on the request not to forward (bypass) to the database 202, at least the first MSRP message (or the content included in the first MSRP message) temporarily stored in the database 202 may be deleted. In one embodiment, when the deletion of the first MSRP message is completed, the server 201 responds to the request indicated by the second MSRP message, in operation 719, the first MSRP to the at least one external electronic device 203 A third MSRP message indicating message transmission cancellation acknowledgment (SUCCESS) may be transmitted to the electronic device 101 .
  • a request eg, a first MSRP message
  • a request eg, a first MSRP message
  • the server 201 responds to the request indicated by the second MSRP message, in operation 719, the first MSRP to the at least one external electronic device 203
  • the processor 120 of the electronic device 101 may receive the third MSRP message transmitted from the server 201 .
  • the processor 120 may identify that the first MSRP message has not been transmitted to the at least one external electronic device 203 based on the reception of the third MSRP message, and the first instant message database 131 on the first instance message database 131 .
  • the updated first MSRP message information 803 may be updated a second time.
  • the processor 120 may change the state information of the content recorded in the canceled (or revoked) state in the first updated first MSRP message information 803 to a deleted state indicating deletion of the content.
  • the first updated first MSRP message information (803) may be second updated (805).
  • the at least one external electronic device 203 may not receive the first MSRP message transmitted from the electronic device 101 in operation 711 due to an RCS network communication failure. Accordingly, information regarding the first MSRP message may not be registered in the second instant message database 205 of the at least one external electronic device 203 .
  • FIG. 9 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to another embodiment
  • FIG. 10 is an electronic device and at least one external electronic device according to another embodiment. It is a diagram showing each instant message database.
  • the processor of the electronic device 101 (eg, the processor 120 of FIG. 2 ) establishes an MSRP session with at least one external electronic device 203 and then at least one external electronic device ( In the operation of exchanging the MSRP message with 203 ), capability discovery for the at least one external electronic device 203 may be performed.
  • the processor 120 performs a first invitation (INVITE) the establishment (or connection) of the SIP session to the at least one external electronic device 203 through the server 201 .
  • the SIP message may be transmitted, and a second SIP message responding (200 OK) to the invitation may be received from at least one external electronic device 203 through the server 201 .
  • the at least one external electronic device 203 in response (200 OK) of the at least one external electronic device 203 according to the second SIP message, can establish a session with the electronic device 101 can indicate Accordingly, upon reception of the second SIP message of the electronic device 101, a SIP session may be established between the electronic device 101 and at least one external electronic device 203, and an MSRP session based on the SIP session can be opened.
  • the processor 120 may transmit the first MSRP message based on the MSRP session established between the electronic device 101 and the at least one external electronic device 203 .
  • the processor 120 may transmit the first MSRP message when receiving a first user input for inputting content (eg, text type “hello”) with respect to the execution screen of the message application.
  • the processor 120 may include information about the content input by the user in the CPIM header of the first MSRP message.
  • the processor 120 causes the message receiving device in the CPIM body of the first MSRP message to provide information on the processing status of the first MSRP message (eg, parameter (deliver) information on whether the first MSRP message is received or not.
  • the processor 120 in response to the transmission of the first MSRP message, stores the first instant message database 131 in a memory (eg, the memory 130 of FIG. 2 ) for the first MSRP message.
  • Information 1001 may be registered (or recorded).
  • the at least one external electronic device 203 receives the first MSRP message transmitted from the electronic device 101 through the server 201 (or the content included in the first MSRP message (“hello”)) may be obtained), and in operation 909, may respond to the IMDN request included in the first MSRP message. For example, the at least one external electronic device 203 may transmit a second MSRP message including an IMDN response to the IMDN request.
  • the IMDN response is information indicating the capability of at least one external electronic device 203 (eg, parameter (removable) information indicating support for deletion of a received message (or content included in the message))
  • the first MSRP message processing status information on the at least one external electronic device 203 eg, parameter (delivered) information indicating reception of the first MSRP message
  • the processor 120 of the electronic device 101 may receive the second MSRP message transmitted from the at least one external electronic device 203 through the server 201 .
  • the processor 120 may identify that the at least one external electronic device 203 has received the first MSRP message based on the IMDN response included in the second MSRP message, and the at least one external electronic device ( 203) can be checked.
  • the processor 120 may first update the first MSRP message information 1001 registered in the first instant message database 131 based on the IMDN response included in the second MSRP message.
  • the processor 120 based on the processing status information of the first MSRP message according to the IMDN response (eg, parameter (delivered) information indicating reception of the first MSRP message), the first instant message database 131 ), by recording the content state information in the first MSRP message information 1001 registered in the delivered state, the registered first MSRP message information 1001 may be first updated 1003 .
  • the IMDN response e.g, parameter (delivered) information indicating reception of the first MSRP message
  • the processor 120 based on the processing status information of the first MSRP message according to the IMDN response (eg, parameter (delivered) information indicating reception of the first MSRP message), the first instant message database 131 ), by recording the content state information in the first MSRP message information 1001 registered in the delivered state, the registered first MSRP message information 1001 may be first updated 1003 .
  • the processor 120 performs the first update 1003 of the registered first MSRP message information 1001, at least one external electronic device identified through the IMDN response in the second MSRP message. Capability information (removable) of 203 may be further recorded in the first instant message database 131 .
  • the at least one external electronic device 203 checks (read) the first MSRP message (or the content included in the first MSRP message) by the user of the at least one external electronic device 203 , may transmit a third MSRP message to the electronic device 101 .
  • the at least one external electronic device 203 provides information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg, the first MSRP message (or the first MSRP message).
  • the IMDN response including the parameter (displayed information) indicating confirmation of the included content) may be transmitted by being included in the CPIM body of the third MSRP message.
  • the processor 120 of the electronic device 101 may receive the third MSRP message transmitted from the at least one external electronic device 203 through the server 201 .
  • the processor 120 may second update the first updated first MSRP message information 1003 on the first instant message database 131 based on the IMDN response included in the third MSRP message.
  • the processor 120 records the content state information in the first updated first MSRP message information 1003 in a displayed state based on the IMDN response included in the third MSRP message, thereby 1
  • the first updated MSRP message information 1003 may be updated to a second (1005).
  • the processor 120 may receive a second user input for canceling transmission of the content input to the execution screen of the message application (eg, “hello” of the text type input in operation 905). there is.
  • the processor 120 may transmit a fourth MSRP message indicating a content processing state on the electronic device 101 .
  • the processor 120 transmits an IMDN request including information on a content processing status on the electronic device 101 (eg, parameter (canceled) information indicating cancellation of content transmission) to the CPIM of the fourth MSRP message. It can be transmitted by including it in the body.
  • the processor 120 may thirdly update the second updated first MSRP message information 1005 on the first instant message database 131 in response to receiving the second user input.
  • the processor 120 transmits the state information of the content recorded in the displayed state in the second updated first MSRP message information 1005 to the content processing state on the current electronic device 101 .
  • the second updated first MSRP message information 1005 may be updated by a third (1007).
  • the at least one external electronic device 203 may receive the fourth MSRP message transmitted from the electronic device 101 through the server 201, and IMDN request information included in the fourth MSRP message.
  • the content processing state on the electronic device 101 may be identified based on (eg, parameter information indicating cancellation of content transmission).
  • the at least one external electronic device 203 may update ( 1009 ) the first MSRP message information pre-registered (or pre-updated) in the second instant message database 205 .
  • the at least one external electronic device 203 transmits content state information in the pre-registered first MSRP message information to IMDN request information (eg, a parameter indicating cancellation of content transmission) in the fourth MSRP message. (canceled) information) can be recorded as canceled status.
  • the at least one external electronic device 203 may match the content state on the corresponding external electronic device 203 with the content state on the electronic device 101 .
  • the at least one external electronic device 203 may delete (or stop displaying) the content being displayed on the execution screen of the message application based on the IMDN request in the fourth MSRP message.
  • the content state information in the updated 1009 first MSRP message information is included in the content. It can also be updated further with a deleted state indicating the deletion of .
  • the at least one external electronic device 203 may respond to the IMDN request included in the fourth MSRP message after the content being displayed is deleted. For example, the at least one external electronic device 203 provides information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg, the first MSRP message (or the first MSRP message). The IMDN response including the parameter (deleted information) indicating deletion of the included content) may be included in the MSRP message and transmitted to the electronic device 101 .
  • the electronic device may include a communication module, a display, a memory, and a processor operatively connected to the communication module, the display, and the memory.
  • the processor establishes a rich communication suite (RCS) network communication with at least one external electronic device using the communication module, and uses the display to generate an instant message stored in the memory.
  • RCS rich communication suite
  • Receives a first user input for inputting content on an execution screen of an application records first state information on the inputted content in the memory in response to receiving the first user input, and uses the display to input the input
  • Receives a second user input for canceling transmission of the content and converts the first state information about the content input into the memory in response to the reception of the second user input as second state information corresponding to the cancellation of the transmission It may be updated and recorded, and an instant message disposition notification (IMDN) request including the second state information may be transmitted to the at least one external electronic device based on the RCS network communication using the communication module.
  • IMDN instant message disposition notification
  • the IMDN request may be transmitted to the at least one external electronic device via an external server supporting the RCS network communication between the electronic device and the at least one external electronic device.
  • the processor may transmit a first message including information on the inputted content to the at least one external electronic device in response to receiving the first user input.
  • the first message is such that the at least one external electronic device provides at least one of information on whether the first message has been received and information on whether the first message has been read. It may include a first request making a request.
  • the processor receives a second message including a first response to the first request from the at least one external electronic device, and receives the first message included in the first response
  • the first state information may be recorded based on at least one of a first parameter regarding whether or not and a second parameter regarding whether to confirm the first message.
  • the processor may record the second state information based on a third parameter indicating cancellation of transmission of the inputted content in response to receiving the second user input.
  • the processor may acquire information on whether the at least one external electronic device supports content deletion at a time before establishing a session with the at least one external electronic device.
  • the processor transmits a third message including the IMDN request to the at least one external electronic device, and transmits a fourth message including an IMDN response to the IMDN request to the at least one external device. may be received from the electronic device.
  • the IMDN response may include a fourth parameter indicating that the content corresponding to the input content has been deleted from the at least one external electronic device.
  • the processor may update and record the second state information as third state information based on the fourth parameter.
  • the processor transmits a first message including information on the inputted content to the at least one external electronic device in response to receiving the first user input, and transmits the first message a fifth indicating cancellation of transmission of the first message to the at least one external electronic device when a second message in response to the first message is not received from the at least one external electronic device within a specified time based on a time point
  • the message may be transmitted to the external server.
  • the processor may update and record the first state information to fourth state information based on a fifth parameter indicating cancellation of transmission of the first message in response to transmission of the fifth message .
  • the processor may transmit a first message including information on the inputted content to the at least one external electronic device in response to receiving the first user input.
  • the first message may include a first request for requesting that the at least one external electronic device provide information on whether to support content deletion.
  • the processor in response to receiving the second user input, may display content for guiding cancellation of transmission of the input content on the execution screen of the instant message application.
  • the receiving of the first user input may include transmitting a first message including information on the inputted content to the at least one external electronic device.
  • the first message is such that the at least one external electronic device provides at least one of information on whether the first message has been received and information on whether the first message has been read. It may include a first request making a request.
  • the instant message operating method may further include receiving a second message including a first response to the first request from the at least one external electronic device.
  • the recording of the first state information includes a first parameter regarding whether the first message included in the first response is received and a second parameter regarding whether the first message is checked. and recording the first state information based on at least one.
  • the operation of updating and recording the second state information may include the operation of recording the second state information based on a third parameter indicating cancellation of transmission of the input content.
  • the transmitting of the IMDN request includes transmitting a third message including the IMDN request to the at least one external electronic device and a fourth message including an IMDN response to the IMDN request and receiving from the at least one external electronic device.
  • the IMDN response may include a fourth parameter indicating that the content corresponding to the input content has been deleted from the at least one external electronic device.
  • the receiving of the fourth message from the at least one external electronic device may include updating and recording the second state information to third state information based on the fourth parameter.
  • the receiving of the first user input includes transmitting a first message including information on the inputted content to the at least one external electronic device and a transmission time of the first message A fifth message indicating cancellation of transmission of the first message to the at least one external electronic device when a second message in response to the first message is not received from the at least one external electronic device within a specified time based on and transmitting to an external server supporting the RCS network communication between the electronic device and the at least one external electronic device.
  • the transmitting of the fifth message may include updating and recording the first state information into fourth state information based on a fifth parameter indicating cancellation of transmission of the first message.
  • the electronic device may be a device of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a laptop, a desktop, a tablet, or a portable multimedia device
  • portable medical device e.g., a portable medical device
  • camera e.g., a camera
  • a wearable device e.g., a smart watch
  • a home appliance device e.g., a smart bracelet
  • first”, “second”, or “first” or “second” may simply be used to distinguish the component from other components in question, and may refer to components in other aspects (e.g., importance or order) is not limited.
  • One (eg, first) component is referred to as “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”.
  • it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably 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 contain 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 methods according to various embodiments disclosed in this document may be provided by being included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed online (eg download or upload), directly between smartphones (eg smartphones).
  • 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, a module or a program of the above-described components may include a singular or a plurality of entities.
  • 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, omitted, or , or one or more other operations may be added.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Operations Research (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

Various embodiments of the present invention disclose an electronic device comprising: a communication module; a display; a memory; and a processor, wherein the processor is configured to: establish rich communication suite (RCS) network communication with at least one external electronic device by using the communication module; receive a first user input for inputting content into an execution screen of an instant message application stored in the memory by using the display; record first state information on the inputted content in the memory; receive a second user input for canceling transmission of the inputted content by using the display; update the first state information on the inputted content to second state information corresponding to the cancellation of the transmission and record same in the memory; and transmit an instant message disposition notification (IMDN) request comprising the second state information to the at least one external device on the basis of the RCS network communication by using the communication module.

Description

인스턴트 메시지 운용 방법 및 이를 지원하는 전자 장치Instant message operation method and electronic device supporting the same
본 문서에서 개시되는 다양한 실시 예들은, 인스턴트 메시지 운용 방법 및 이를 지원하는 전자 장치와 관련된다.Various embodiments disclosed in this document relate to a method for operating an instant message and an electronic device supporting the same.
전자 장치의 통신 기능은 운용 환경에 대한 시공간적 제약 없이 정보 자원의 송수신을 지원하는 핵심 인터페이스로 기능하고 있으며, 그 중추적 기능에 부가하여 다양한 서비스가 접목되고 있다. 예를 들어, 전자 장치는 상기 통신 기능을 기반으로 적어도 하나의 외부 전자 장치와 GSMA(global system for mobile communications association)에 의해 규정된 표준 통신 프로토콜인 RCS(rich communication suite) 네트워크 통신을 수립하고, 상기 RCS 네트워크 통신을 이용하여 적어도 하나의 외부 전자 장치와 양방향 대화형의 인스턴트 메시지(instant message)를 교환할 수 있는 인스턴스 메시징 서비스를 제공할 수 있다.The communication function of the electronic device functions as a core interface supporting transmission and reception of information resources without temporal and spatial constraints on the operating environment, and various services are grafted in addition to the central function. For example, the electronic device establishes rich communication suite (RCS) network communication, which is a standard communication protocol stipulated by a global system for mobile communications association (GSMA), with at least one external electronic device based on the communication function, and the An instant messaging service capable of exchanging a two-way interactive instant message with at least one external electronic device may be provided using RCS network communication.
RCS 네트워크 통신 기반의 인스턴트 메시징 서비스는 OTT(over the top) 기반의 인스턴트 메시징 서비스와 비교하여, 전자 장치 상에서 별도의 서드 파티(third party) 어플리케이션의 인스톨 또는 서비스 가입 절차(또는, 사용자 로그인 절차)가 생략되는 이점을 가질 수 있다. 이에 따라, 상기 RCS 네트워크 통신을 기반으로 하는 인스턴트 메시징 서비스의 확충이 고려되지만, 종래 다양한 메시지 기능(예: 메시지에 포함된 콘텐츠 삭제)의 적용에 관한 플랫폼 또는 아키텍처에 대하여 구체적으로 논의되고 있지 않아, 기술 고도화의 구현이 용이하지 않다.Compared to an over the top (OTT)-based instant messaging service, the RCS network communication-based instant messaging service requires a separate third-party application installation or service subscription procedure (or user login procedure) on the electronic device. It may have the advantage of being omitted. Accordingly, expansion of the instant messaging service based on the RCS network communication is considered, but the platform or architecture related to the application of various message functions (eg, deletion of content included in a message) has not been specifically discussed. Implementation of technological advancement is not easy.
본 문서에서 개시되는 다양한 실시 예들은, RCS 네트워크 통신 기반의 인스턴트 메시징 서비스 운용 시, 인스턴트 메시지에 포함된 콘텐츠의 적어도 일부에 대한 삭제를 지원할 수 있는, 인스턴트 메시지 운용 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.Various embodiments disclosed in this document provide an instant message operating method capable of supporting deletion of at least a portion of content included in an instant message when operating an RCS network communication-based instant messaging service, and an electronic device supporting the same can do.
일 실시 예에 따른 전자 장치는, 통신 모듈, 디스플레이, 메모리, 및 상기 통신 모듈, 상기 디스플레이, 및 상기 메모리와 작동적으로 연결된 프로세서를 포함할 수 있다.An electronic device according to an embodiment may include a communication module, a display, a memory, and a processor operatively connected to the communication module, the display, and the memory.
일 실시 예에 따르면, 상기 프로세서는, 상기 통신 모듈을 이용하여 적어도 하나의 외부 전자 장치와 RCS(rich communication suite) 네트워크 통신을 수립하고, 상기 디스플레이를 이용하여 상기 메모리에 저장된 인스턴트 메시지(instant message) 어플리케이션의 실행 화면에 콘텐츠를 입력하는 제1 사용자 입력을 수신하고, 상기 제1 사용자 입력 수신에 대응하여 상기 메모리에 상기 입력된 콘텐츠에 대한 제1 상태 정보를 기록하고, 상기 디스플레이를 이용하여 상기 입력된 콘텐츠의 전송을 취소하는 제2 사용자 입력을 수신하고, 상기 제2 사용자 입력 수신에 대응하여 상기 메모리에 상기 입력된 콘텐츠에 대한 상기 제1 상태 정보를 상기 전송 취소에 대응하는 제2 상태 정보로 갱신하여 기록하고, 상기 통신 모듈을 이용한 상기 RCS 네트워크 통신을 기반으로 상기 적어도 하나의 외부 전자 장치로 상기 제2 상태 정보를 포함하는 IMDN(instant message disposition notification) 요청을 전송할 수 있다.According to an embodiment, the processor establishes a rich communication suite (RCS) network communication with at least one external electronic device using the communication module, and provides an instant message stored in the memory using the display. Receives a first user input for inputting content on an execution screen of an application, records first state information on the inputted content in the memory in response to receiving the first user input, and uses the display to input the input Receives a second user input for canceling transmission of the content, and converts the first state information about the content input into the memory in response to the reception of the second user input as second state information corresponding to the cancellation of the transmission It may be updated and recorded, and an instant message disposition notification (IMDN) request including the second state information may be transmitted to the at least one external electronic device based on the RCS network communication using the communication module.
일 실시 예에 따른 전자 장치의 인스턴트 메시지 운용 방법은, 상기 전자 장치의 통신 모듈을 이용하여 적어도 하나의 외부 전자 장치와 RCS(rich communication suite) 네트워크 통신을 수립하는 동작, 상기 전자 장치의 디스플레이를 이용하여 상기 전자 장치의 메모리에 저장된 인스턴트 메시지(instant message) 어플리케이션의 실행 화면에 콘텐츠를 입력하는 제1 사용자 입력을 수신하는 동작, 상기 제1 사용자 입력 수신에 대응하여 상기 메모리에 상기 입력된 콘텐츠에 대한 제1 상태 정보를 기록하는 동작, 상기 디스플레이를 이용하여 상기 입력된 콘텐츠의 전송을 취소하는 제2 사용자 입력을 수신하는 동작, 상기 제2 사용자 입력 수신에 대응하여 상기 메모리에 상기 입력된 콘텐츠에 대한 상기 제1 상태 정보를 상기 전송 취소에 대응하는 제2 상태 정보로 갱신하여 기록하는 동작, 및 상기 통신 모듈을 이용한 상기 RCS 네트워크 통신을 기반으로 상기 적어도 하나의 외부 전자 장치로 상기 제2 상태 정보를 포함하는 IMDN(instant message disposition notification) 요청을 전송하는 동작을 포함할 수 있다.The instant message operation method of an electronic device according to an embodiment includes an operation of establishing rich communication suite (RCS) network communication with at least one external electronic device using a communication module of the electronic device, and using a display of the electronic device receiving a first user input for inputting content on an execution screen of an instant message application stored in the memory of the electronic device; Recording first state information, receiving a second user input for canceling transmission of the inputted content using the display, and receiving the inputted content into the memory in response to receiving the second user input An operation of updating and recording the first state information to second state information corresponding to the transmission cancellation, and the RCS network communication using the communication module, the second state information to the at least one external electronic device It may include an operation of transmitting the included instant message disposition notification (IMDN) request.
다양한 실시 예에 따르면, RCS 네트워크 통신을 기반으로 하는 인스턴트 메시징 서비스 운용 시, 인스턴트 메시지에 포함된 콘텐츠의 적어도 일부에 대한 삭제를 지원할 수 있는, 인스턴트 메시지 운용 플랫폼 또는 아키텍처가 제공될 수 있다.According to various embodiments, an instant message operating platform or architecture capable of supporting deletion of at least a portion of content included in an instant message when operating an instant messaging service based on RCS network communication may be provided.
다양한 실시 예에 따르면, 상기 인스턴트 메시지에 포함된 콘텐츠의 적어도 일부에 대한 삭제가 지원됨으로써, 인스턴트 메시징 서비스의 운용과 관계된 사용자 경험 또는 사용자 편의가 향상될 수 있다.According to various embodiments, by supporting deletion of at least a portion of the content included in the instant message, user experience or user convenience related to the operation of the instant messaging service may be improved.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.
도 1은 일 실시 예에 따른 네트워크 환경 내의 전자 장치를 도시한 도면이다.1 is a diagram illustrating an electronic device in a network environment according to an embodiment.
도 2는 일 실시 예에 따른 전자 장치의 일부 구성요소 및 운용 환경을 도시한 도면이다.2 is a diagram illustrating some components and an operating environment of an electronic device according to an exemplary embodiment.
도 3은 일 실시 예에 따른 인스턴트 메시지 운용과 관련한 전자 장치 및 적어도 하나의 외부 전자 장치 간의 동작 흐름을 도시한 도면이다.3 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to an embodiment.
도 4는 일 실시 예에 따른 전자 장치 및 적어도 하나의 외부 전자 장치 각각의 인스턴트 메시지 데이터베이스를 도시한 도면이다.4 is a diagram illustrating an instant message database of an electronic device and at least one external electronic device, respectively, according to an exemplary embodiment.
도 5는 다른 실시 예에 따른 인스턴트 메시지 운용과 관련한 전자 장치 및 적어도 하나의 외부 전자 장치 간의 동작 흐름을 도시한 도면이다.5 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to another exemplary embodiment.
도 6은 다른 실시 예에 따른 전자 장치 및 적어도 하나의 외부 전자 장치 각각의 인스턴트 메시지 데이터베이스를 도시한 도면이다.6 is a diagram illustrating an instant message database of an electronic device and at least one external electronic device, respectively, according to another exemplary embodiment.
도 7은 일 실시 예에 따른 인스턴트 메시지 운용과 관련한 전자 장치 및 서버 간의 동작 흐름을 도시한 도면이다.7 is a diagram illustrating an operation flow between an electronic device and a server related to instant message operation according to an embodiment.
도 8은 일 실시 예에 따른 전자 장치 및 서버 간의 상호작용에 기반하는 상기 전자 장치 및 적어도 하나의 외부 전자 장치 각각의 인스턴트 메시지 데이터베이스를 도시한 도면이다.8 is a diagram illustrating an instant message database of each of the electronic device and at least one external electronic device based on the interaction between the electronic device and the server, according to an exemplary embodiment.
도 9는 또 다른 실시 예에 따른 인스턴트 메시지 운용과 관련한 전자 장치 및 적어도 하나의 외부 전자 장치 간의 동작 흐름을 도시한 도면이다.9 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to another exemplary embodiment.
도 10은 또 다른 실시 예에 따른 전자 장치 및 적어도 하나의 외부 전자 장치 각각의 인스턴트 메시지 데이터베이스를 도시한 도면이다.10 is a diagram illustrating an instant message database of an electronic device and at least one external electronic device, respectively, according to another embodiment.
도면의 설명과 관련하여, 동일 또는 대응되는 구성요소에 대해서는 동일한 참조 번호가 부여될 수 있다.In relation to the description of the drawings, the same reference numerals may be assigned to the same or corresponding components.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present invention are included.
도 1은 일 실시 예에 따른 네트워크 환경 내의 전자 장치를 도시한 도면이다.1 is a diagram illustrating an electronic device in a network environment according to an embodiment.
도 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))로 통합될 수 있다.Referring to FIG. 1 , in a network environment 100 , 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 . According to an embodiment, 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. In some embodiments, 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 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.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 an embodiment, as at least part of data processing or operation, the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into 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 . According to an embodiment, 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). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 may use less power than the main processor 121 or may be set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 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) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. 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. According to an embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of another functionally related component (eg, the camera module 180 or the communication module 190). there is. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing device) 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.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.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 .
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.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 .
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.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).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.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 an embodiment, the receiver may be implemented separately from or as a part of the speaker.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.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. According to an embodiment, 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.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.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 ) directly or wirelessly connected to the electronic device 101 . A sound may be output through the electronic device 102 (eg, a speaker or headphones).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.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. According to an embodiment, 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.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.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 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.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 ). According to an embodiment, 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).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.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. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.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.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(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)를 확인 또는 인증할 수 있다.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. According to an embodiment, 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). 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). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. 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.
무선 통신 모듈(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 이하)를 지원할 수 있다.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)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 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 ). According to an embodiment, the wireless communication module 192 includes 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 ( Example: downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less).
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, 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. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from the plurality of antennas by, for example, the communication module 190 . can be A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .
다양한 실시 예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, 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 specified 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.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( eg commands or data) can be exchanged with each other.
일 실시 예에 따르면, 명령 또는 데이터는 제 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to an embodiment, 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 . According to an embodiment, all or part of the operations performed by the electronic device 101 may be executed by one or more of the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, 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. For this, for example, 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. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, 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.
도 2는 일 실시 예에 따른 전자 장치의 일부 구성요소 및 운용 환경을 도시한 도면이다.2 is a diagram illustrating some components and an operating environment of an electronic device according to an exemplary embodiment.
도 2를 참조하면, 일 실시 예에 따른 전자 장치(101)는 통신 모듈(190), 디스플레이 모듈(160), 메모리(130), 및 프로세서(120) 중 적어도 하나를 포함할 수 있다. 다양한 실시 예에서, 전자 장치(101)는 상술한 구성요소들 중 적어도 하나를 생략하여 포함하거나, 적어도 하나의 다른 구성요소를 추가적으로 포함할 수 있다. 예를 들어, 전자 장치(101)는 도 1을 통하여 언급된 전자 장치(예: 도 1의 전자 장치(101))와 대응될 수 있고, 이에 기초하면 도 2의 전자 장치(101)는 상기 도 1의 전자 장치(101)가 포함하는 구성요소들 중 적어도 일부를 더 포함할 수 있다.Referring to FIG. 2 , the electronic device 101 according to an embodiment may include at least one of a communication module 190 , a display module 160 , a memory 130 , and a processor 120 . In various embodiments, the electronic device 101 may omit and include at least one of the above-described components, or may additionally include at least one other component. For example, the electronic device 101 may correspond to the electronic device described with reference to FIG. 1 (eg, the electronic device 101 of FIG. 1 ), and based on this, the electronic device 101 of FIG. At least some of the components included in the electronic device 101 of No. 1 may be further included.
상기 통신 모듈(190)은 전자 장치(101)와 적어도 하나의 외부 장치(예: 통신망 사업자 서버(201) 및/또는 적어도 하나의 외부 전자 장치(203)) 간의 무선 통신을 지원할 수 있다. 예를 들어, 통신 모듈(190)은 상기 적어도 하나의 외부 장치(201 및/또는 203)와 규정된 통신 프로토콜(예: RCS(rich communication suite))에 따른 네트워크를 구축하고, 상기 네트워크를 통하여 전자 장치(101) 및 적어도 하나의 외부 장치(201 및/또는 203) 간의 인스턴트 메시징 서비스 운용을 지원할 수 있다.The communication module 190 may support wireless communication between the electronic device 101 and at least one external device (eg, the communication network operator server 201 and/or the at least one external electronic device 203 ). For example, the communication module 190 establishes a network according to a prescribed communication protocol (eg, RCS (rich communication suite)) with the at least one external device 201 and/or 203, and through the network It may support operation of an instant messaging service between the device 101 and the at least one external device 201 and/or 203 .
상기 디스플레이 모듈(160)은 각종 화면을 출력할 수 있다. 예를 들어, 디스플레이 모듈(160)은 사용자 제어에 대응하여 전자 장치(101)의 운용 화면(예: 메시지 어플리케이션의 실행 화면)을 출력할 수 있다. 또는, 디스플레이 모듈(160)은 상기 전자 장치(101)의 운용 화면을 출력하는 동안 사용자 입력(예: 신체를 이용한 입력 및/또는 디지털 펜을 이용한 입력)을 수신하고, 상기 전자 장치(101)의 운용 화면 상에 사용자 입력에 대응하는 시각적 정보(예: 텍스트, 이미지, 영상, 및 이모지(emogi) 중 적어도 하나를 포함하는 콘텐츠)를 표시할 수 있다. 이와 관련하여, 디스플레이 모듈(160)은 디스플레이 패널, 터치 패널(또는, 터치 센서), 디지타이저, 및 커버 글라스 중 적어도 둘 이상이 통합된 터치스크린 디스플레이 모듈로 구현될 수 있다.The display module 160 may output various screens. For example, the display module 160 may output an operation screen (eg, an execution screen of a message application) of the electronic device 101 in response to user control. Alternatively, the display module 160 receives a user input (eg, an input using a body and/or an input using a digital pen) while outputting the operation screen of the electronic device 101 , and Visual information (eg, content including at least one of text, an image, an image, and an emogi) corresponding to a user input may be displayed on the operation screen. In this regard, the display module 160 may be implemented as a touch screen display module in which at least two or more of a display panel, a touch panel (or a touch sensor), a digitizer, and a cover glass are integrated.
상기 메모리(130)는 전자 장치(101)의 운용과 관계되는 적어도 하나의 데이터를 저장하거나, 전자 장치(101) 구성요소들의 기능 동작과 관계되는 적어도 하나의 명령어를 저장할 수 있다. 예를 들어, 메모리(130)는 전자 장치(101) 및 적어도 하나의 외부 장치(201 및/또는 203) 간의 인스턴트 메시징 서비스 운용과 관계되는 데이터를 저장할 수 있다. 이와 관련하여, 메모리(130)는 상기 인스턴트 메시징 서비스의 운용과 관계되는 데이터를 저장 및 관리하기 위한 제1 인스턴트 메시지 데이터베이스(131)(또는, 메모리(130) 내에서 논리적으로 구분되는 메시지 데이터 저장 영역)를 포함할 수 있다. 또는, 메모리(130)는 전자 장치(101)의 인스턴트 메시징 서비스 운용을 지원하기 위한 메시지 어플리케이션을 포함할 수 있고, 상기 메시지 어플리케이션은 예컨대, 전자 장치(101)의 제조 공정에서 프리로드(preload) 형태로 메모리(130)에 저장될 수 있다.The memory 130 may store at least one data related to the operation of the electronic device 101 or at least one command related to the functional operation of the components of the electronic device 101 . For example, the memory 130 may store data related to an instant messaging service operation between the electronic device 101 and the at least one external device 201 and/or 203 . In this regard, the memory 130 is a first instant message database 131 (or a logically separated message data storage area in the memory 130) for storing and managing data related to the operation of the instant messaging service. ) may be included. Alternatively, the memory 130 may include a message application for supporting the operation of the instant messaging service of the electronic device 101 , and the message application may be preloaded in the manufacturing process of the electronic device 101 , for example. may be stored in the memory 130 .
상기 프로세서(120)는 중앙 처리 장치(central processing unit), 어플리케이션 프로세서(application processor), 및 커뮤니케이션 프로세서(communication processor) 중 적어도 하나를 포함할 수 있으며, 상술한 전자 장치(101)의 구성요소들을 제어할 수 있다. 예를 들어, 프로세서(120)는 전자 장치(101)의 구성요소들과 전기적 또는 작동적으로 연결되어, 메모리(130)에 저장된 구성요소들의 기능 동작과 관계되는 명령어를 해당되는 구성요소에 전달하거나, 구성요소로부터 전달받는 신호 또는 데이터에 대한 연산 또는 처리를 수행할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 RCS 네트워크 통신을 기반으로 하는 전용 어플리케이션(예: 메시지 어플리케이션)을 이용하여 서버(201)(예: 통신망 사업자 서버)에 액세스할 수 있고, 상기 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로 인스턴트 메시지를 전송하거나, 상기 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로부터 인스턴트 메시지를 수신할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 인스턴트 메시지에 포함된 적어도 하나의 콘텐츠에 관한 상태를 메모리(130)의 제1 인스턴트 메시지 데이터베이스(131)를 이용하여 기록 및 관리할 수 있고, 상기 적어도 하나의 콘텐츠에 관한 상태 변경 시 제1 인스턴트 메시지 데이터베이스(131) 내의 기록을 갱신할 수 있다.The processor 120 may include at least one of a central processing unit, an application processor, and a communication processor, and controls the above-described components of the electronic device 101 . can do. For example, the processor 120 is electrically or operatively connected to the components of the electronic device 101 to transmit a command related to the functional operation of the components stored in the memory 130 to the corresponding component or , it is possible to perform operations or processing on signals or data received from components. According to an embodiment, the processor 120 may access the server 201 (eg, a communication network operator server) using a dedicated application (eg, a message application) based on RCS network communication, and the server 201 ) to transmit the instant message to the at least one external electronic device 203 or receive the instant message from the at least one external electronic device 203 through the server 201 . According to an embodiment, the processor 120 may record and manage the state of at least one content included in the instant message using the first instant message database 131 of the memory 130, and the at least one When the state regarding the content of ' is changed, the record in the first instant message database 131 may be updated.
다양한 실시 예에 따르면, 상기 적어도 하나의 외부 장치(201 및/또는 203) 중 적어도 일부는 상술한 전자 장치(101)의 구성요소와 동일 또는 유사하게 기능할 수 있는 구성요소를 포함할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203) 각각은 전자 장치(101)와의 인스턴트 메시징 서비스 운용과 관계된 데이터를 기록 및 관리하기 위한 제2 인스턴트 메시지 데이터베이스(205)를 포함할 수 있다.According to various embodiments, at least a portion of the at least one external device 201 and/or 203 may include a component capable of functioning identically or similarly to the component of the electronic device 101 described above. For example, each of the at least one external electronic device 203 may include a second instant message database 205 for recording and managing data related to an instant messaging service operation with the electronic device 101 .
도 3은 일 실시 예에 따른 인스턴트 메시지 운용과 관련한 전자 장치 및 적어도 하나의 외부 전자 장치 간의 동작 흐름을 도시한 도면이고, 도 4는 일 실시 예에 따른 전자 장치 및 적어도 하나의 외부 전자 장치 각각의 인스턴트 메시지 데이터베이스를 도시한 도면이다.FIG. 3 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to an embodiment, and FIG. 4 is a diagram illustrating each of the electronic device and the at least one external electronic device according to an embodiment It is a diagram showing an instant message database.
이하, 도 3 및 도 4에 따른 실시 예에서, 서버(예: 도 3의 통신망 사업자 서버(201))는 전자 장치(예: 도 3 또는 도 4의 전자 장치(101)) 및 적어도 하나의 외부 전자 장치(예: 도 3 또는 도 4의 적어도 하나의 외부 전자 장치(203)) 간의 인스턴트 메시지 교환에 있어, 송신측 장치로부터 제공되는 인스턴트 메시지에 대한 별도의 처리 없이 해당 인스턴트 메시지를 수신측 장치로 전달하는 바이패스(bypass) 장치로 기능할 수 있다. 즉, 전자 장치(101) 또는 적어도 하나의 외부 전자 장치(203)로부터 제공되는 인스턴트 메시지는 상기 서버(201)를 경유하여 수신측 장치로 전달될 수 있다.Hereinafter, in the embodiments according to FIGS. 3 and 4 , the server (eg, the communication network operator server 201 of FIG. 3 ) includes an electronic device (eg, the electronic device 101 of FIG. 3 or 4 ) and at least one external device. In the instant message exchange between electronic devices (eg, at least one external electronic device 203 of FIG. 3 or FIG. 4 ), the instant message provided from the sending device is transmitted to the receiving device without separate processing. It can function as a bypass device for forwarding. That is, the instant message provided from the electronic device 101 or the at least one external electronic device 203 may be delivered to the receiving device via the server 201 .
도 3 및 도 4를 참조하면, 전자 장치(101)의 프로세서(예: 도 2의 프로세서(120))는 적어도 하나의 외부 전자 장치(203)에 대한 구독(SUBSCRIBE)을 기반으로 서버(201)에 문의하거나, 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)와 RCS 네트워크 통신 기반의 SIP(session initiation protocol) OPTION 메시지를 교환함으로써, 상기 적어도 하나의 외부 전자 장치(203)에 대한 capability discovery를 수행할 수 있다.3 and 4 , the processor of the electronic device 101 (eg, the processor 120 of FIG. 2 ) is a server 201 based on a subscription to at least one external electronic device 203 . capability for the at least one external electronic device 203 by inquiring about it or exchanging an RCS network communication-based SIP (session initiation protocol) OPTION message with at least one external electronic device 203 through the server 201 discovery can be performed.
상술과 관련하여, 동작 301에서, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203)의 capability(예: 인스턴트 메시지(instant message; IM) 운용 지원 여부, 파일 공유(file transfer; FT) 지원 여부, 및/또는 메시지(또는, 메시지에 포함된 콘텐츠) 삭제(CANCEL) 지원 여부)를 공개(PUBLISH)하는 제1 SIP 메시지를 서버(201)로 전송할 수 있다. 동작 303에서, 전자 장치(101)의 프로세서(120)는 적어도 하나의 외부 전자 장치(203)를 구독(SUBSCRIBE)하기 위한 제2 SIP 메시지를 서버(201)로 전송할 수 있다. 예를 들어, 프로세서(120)는 전자 장치(101)에서 RCS 네트워크 통신을 기반으로 하는 메시지 어플리케이션이 실행되면 적어도 하나의 외부 전자 장치를 검색할 수 있고, 사용자 입력에 의해 선택되는 적어도 하나의 외부 전자 장치(203)를 구독하기 위한 상기 제2 SIP 메시지를 서버(201)로 전송할 수 있다.In relation to the above, in operation 301 , the at least one external electronic device 203 determines whether the capability of the at least one external electronic device 203 (eg, whether to support an instant message (IM) operation, and file sharing) transfer; FT) support, and/or message (or content included in the message) deletion (CANCEL) may be transmitted to the server 201 a first SIP message for publishing (PUBLISH). In operation 303 , the processor 120 of the electronic device 101 may transmit a second SIP message for subscribing to the at least one external electronic device 203 to the server 201 . For example, when a message application based on RCS network communication is executed in the electronic device 101 , the processor 120 may search for at least one external electronic device and at least one external electronic device selected by a user input The second SIP message for subscribing the device 203 may be transmitted to the server 201 .
동작 305에서, 프로세서(120)는 상기 제2 SIP 메시지 전송에 대응하여, 서버(201)로부터 적어도 하나의 외부 전자 장치(203)의 capability(예: 인스턴트 메시지(IM) 운용 지원 여부, 파일 공유(FT) 지원 여부, 메시지(또는, 메시지에 포함된 콘텐츠) 삭제(CANCEL) 지원 여부)를 통지(NOTIFY)하는 제3 SIP 메시지를 수신할 수 있다. 프로세서(120)는 상기 제3 SIP 메시지에 기반하여 적어도 하나의 외부 전자 장치(203)의 capability가 확인되면, 동작 307에서, 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로 SIP 세션(session)의 개설(또는, 연결)을 초대(INVITE)하는 제4 SIP 메시지를 전송할 수 있고, 동작 309에서, 상기 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로부터 상기 초대에 응답(200 OK)하는 제5 SIP 메시지를 수신할 수 있다. 일 실시 예에서, 상기 제5 SIP 메시지에 따른 적어도 하나의 외부 전자 장치(203)의 응답(200 OK)은, 상기 적어도 하나의 외부 전자 장치(203)가 전자 장치(101)와 세션 개설이 가능함을 나타낼 수 있다. 이에 기초하면, 전자 장치(101)의 제5 SIP 메시지 수신 시, 상기 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 SIP 세션이 개설될 수 있다. 또한, 개설된 SIP 세션을 기반으로 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 MSRP(message session relay protocol) 세션이 개설될 수 있다.In operation 305 , in response to the transmission of the second SIP message, the processor 120 determines from the server 201 the capability of at least one external electronic device 203 (eg, whether to support instant message (IM) operation, file sharing ( A third SIP message for notifying (NOTIFY) whether FT) is supported and whether a message (or content included in the message) deletion (CANCEL) is supported may be received. When the capability of the at least one external electronic device 203 is confirmed based on the third SIP message, the processor 120 performs a SIP session with the at least one external electronic device 203 through the server 201 in operation 307 . A fourth SIP message for inviting (INVITE) the establishment (or connection) of a session may be transmitted, and in operation 309 , the at least one external electronic device 203 responds to the invitation through the server 201 . (200 OK) may receive a fifth SIP message. In an embodiment, in response (200 OK) of the at least one external electronic device 203 according to the fifth SIP message, the at least one external electronic device 203 can establish a session with the electronic device 101 can indicate Based on this, when the electronic device 101 receives the fifth SIP message, a SIP session may be established between the electronic device 101 and the at least one external electronic device 203 . Also, a message session relay protocol (MSRP) session may be established between the electronic device 101 and at least one external electronic device 203 based on the established SIP session.
일 실시 예에서, 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 상기 MSRP 세션이 개설되면, 프로세서(120)는 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)와 RCS 네트워크 통신 기반의 MSRP 메시지를 교환할 수 있다. 프로세서(120)는 적어도 하나의 외부 전자 장치(203)와의 MSRP 메시지 교환을 기반으로, 사용자로부터 입력되는 인스턴트 메시지(또는, 인스턴트 메시지에 포함된 콘텐츠)의 상태(state)를 관리하고, 상기 적어도 하나의 외부 전자 장치(203)와 인스턴트 메시지에 대한 동기화를 수행할 수 있다. 또한, 프로세서(120)는 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 MSRP 세션이 개설되면, 메시지 어플리케이션의 실행 화면(또는, 통화 어플리케이션의 실행 화면)에 상기 적어도 하나의 외부 전자 장치(203) 각각에 관계되는 시각적 정보를 제공할 수 있다. 예를 들어, 프로세서(120)는 메시지 어플리케이션의 실행 화면(또는, 통화 어플리케이션의 실행 화면)에 표시되는 상기 적어도 하나의 외부 전자 장치(203) 각각의 식별자(예: 외부 전자 장치(203)에 할당된 전화번호 또는 외부 전자 장치(203) 사용자의 프로필)에 인접한 영역으로, 해당 외부 전자 장치(203)가 RCS 통신 네트워크를 기반으로 전자 장치(101)와 인스턴트 메시지의 교환이 가능함을 나타내는 콘텐츠(예: 아이콘, 텍스트, 또는 심볼)를 표시할 수 있다.In an embodiment, when the MSRP session is established between the electronic device 101 and the at least one external electronic device 203 , the processor 120 communicates with the at least one external electronic device 203 through the server 201 . MSRP messages based on RCS network communication can be exchanged. The processor 120 manages the state of an instant message (or content included in the instant message) input from the user based on the MSRP message exchange with the at least one external electronic device 203 , and the at least one Synchronization of the instant message with the external electronic device 203 may be performed. In addition, when an MSRP session is established between the electronic device 101 and the at least one external electronic device 203 , the processor 120 displays the message application execution screen (or call application execution screen) on the at least one external device. Visual information related to each of the electronic devices 203 may be provided. For example, the processor 120 assigns an identifier (eg, the external electronic device 203) of the at least one external electronic device 203 displayed on the execution screen of the message application (or the execution screen of the call application). As an area adjacent to the specified phone number or the profile of the user of the external electronic device 203), content indicating that the external electronic device 203 can exchange instant messages with the electronic device 101 based on the RCS communication network (eg, : icon, text, or symbol).
동작 311에서, 프로세서(120)는 MSRP 세션의 개설 이후 제1 MSRP 메시지를 전송할 수 있다. 예를 들어, 프로세서(120)는 메시지 어플리케이션의 실행 화면에 대하여 콘텐츠(예: 텍스트 타입의 “안녕”)를 입력하는 제1 사용자 입력을 수신하면, CPIM 헤더(common profile for instant messaging header)에 상기 입력된 콘텐츠에 관한 정보를 포함하는 제1 MSRP 메시지를 전송할 수 있다. 일 실시 예에 따르면, 제1 MSRP 메시지의 CPIM 바디(common profile for instant messaging body)에는 메시지의 수신측 장치로 하여금 상기 제1 MSRP 메시지의 처리 상태에 대한 정보(예: 제1 MSRP 메시지의 수신 여부에 대한 파라미터(deliver) 정보 및 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인 여부에 대한 파라미터(display) 정보)를 제공하도록 요청하는 IMDN(instant message disposition notification) 요청이 포함될 수 있다.In operation 311, the processor 120 may transmit the first MSRP message after the establishment of the MSRP session. For example, when the processor 120 receives a first user input for inputting content (eg, text type “hello”) with respect to the execution screen of the message application, the CPIM header (common profile for instant messaging header) It is possible to transmit a first MSRP message including information about the input content. According to an embodiment, the CPIM body of the first MSRP message (common profile for instant messaging body) has information on the processing state of the first MSRP message by the receiving device of the message (eg, whether the first MSRP message is received or not) IMDN (instant message disposition notification) request to provide parameter (delivery) information and the parameter (display information) on whether to check the first MSRP message (or the content included in the first MSRP message) will be included. can
일 실시 예에 따르면, 프로세서(120)는 상기 제1 MSRP 메시지의 전송에 대응하여, 메모리(예: 도 2의 메모리(130))의 제1 인스턴트 메시지 데이터베이스(131)에 상기 제1 MSRP 메시지에 관계되는 정보(403)(예: 제1 MSRP 메시지에 포함된 콘텐츠 정보(text 타입의 “안녕”), IMDN 요청 ID 정보(C1D1), 제1 MSRP 메시지에 포함된 콘텐츠의 상태(state) 정보, 및 제1 MSRP 메시지의 타임스탬프(timestamp) 정보(16:02) 중 적어도 하나)를 등록(또는, 기록)할 수 있다. 이와 관련하여, 제1 MSRP 메시지에 관계되는 정보(403) 중 상기 콘텐츠의 상태(state) 정보는, 제1 MSRP 메시지의 수신측 장치로부터 상기 제1 MSRP 메시지에 포함된 IMDN 요청에 대한 응답이 제공되기 이전 시점(time)까지 기록되지 않을 수 있다. 다양한 실시 예에 따르면, 전자 장치(101)의 제1 인스턴트 메시지 데이터베이스(131) 상에서 MSRP 메시지에 대한 정보는 테이블의 형태로 등록(또는, 관리)될 수 있으며, MSRP 메시지의 타임스탬프 정보에 기초하여 복수의 MSRP 메시지 각각에 대한 정보가 순차적으로 나열될 수 있다. 예를 들어, 제1 인스턴트 메시지 데이터베이스(131)에서 적어도 하나의 외부 전자 장치(203)와 이전에 교환한 MSRP 메시지의 정보(401)는 지정된 기간 동안 유지(또는, 관리)될 수 있다.According to an embodiment, in response to the transmission of the first MSRP message, the processor 120 stores the first MSRP message in the first instant message database 131 of a memory (eg, the memory 130 of FIG. 2 ). Related information 403 (eg, content information included in the first MSRP message (“hello” of text type), IMDN request ID information (C1D1), state information of the content included in the first MSRP message, and at least one of the timestamp information (16:02) of the first MSRP message may be registered (or recorded). In this regard, the state information of the content among the information 403 related to the first MSRP message is provided by a response to the IMDN request included in the first MSRP message from the receiving device of the first MSRP message. It may not be recorded until the time before it becomes available. According to various embodiments, information on the MSRP message may be registered (or managed) in the form of a table on the first instant message database 131 of the electronic device 101, and based on the timestamp information of the MSRP message Information for each of a plurality of MSRP messages may be sequentially listed. For example, information 401 of an MSRP message previously exchanged with at least one external electronic device 203 in the first instant message database 131 may be maintained (or managed) for a specified period.
동작 313에서, 적어도 하나의 외부 전자 장치(203)는 서버(201)를 통하여 전자 장치(101)로부터 전송된 제1 MSRP 메시지를 수신(또는, 제1 MSRP 메시지에 포함된 콘텐츠(“안녕”)를 획득)할 수 있고, 동작 315에서, 상기 제1 MSRP 메시지 내의 IMDN 요청(예: 제1 MSRP 메시지의 수신 여부에 대한 파라미터(deliver) 정보를 제공하도록 요청하는 IMDN 요청)에 대하여 응답할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 IMDN 요청에 대한 IMDN 응답을 포함하는 제2 MSRP 메시지를 전송할 수 있다. 일 실시 예에 따르면, 상기 IMDN 응답은 적어도 하나의 외부 전자 장치(203) 상에서의 제1 MSRP 메시지 처리 상태에 대한 정보(예: 제1 MSRP 메시지의 수신을 나타내는 파라미터(delivered) 정보)를 포함할 수 있고, 제2 MSRP 메시지의 CPIM 바디에 포함될 수 있다.In operation 313 , the at least one external electronic device 203 receives the first MSRP message transmitted from the electronic device 101 through the server 201 (or, the content included in the first MSRP message (“hello”)) can be obtained), and in operation 315, it can respond to an IMDN request in the first MSRP message (eg, an IMDN request to provide parameter (deliver) information on whether the first MSRP message is received). . For example, the at least one external electronic device 203 may transmit a second MSRP message including an IMDN response to the IMDN request. According to an embodiment, the IMDN response may include information (eg, parameter (delivered) information indicating reception of the first MSRP message) on the first MSRP message processing status on the at least one external electronic device 203. and may be included in the CPIM body of the second MSRP message.
일 실시 예에서, 전자 장치(101)의 프로세서(120)는 서버(201)를 통하여 상기 적어도 하나의 외부 전자 장치(203)로부터 전송된 제2 MSRP 메시지를 수신할 수 있다. 이와 관련하여, 프로세서(120)는 상기 제2 MSRP 메시지가 포함하는 IMDN 응답을 기초로, 적어도 하나의 외부 전자 장치(203)가 제1 MSRP 메시지를 수신하였음을 식별할 수 있고, 제1 인스턴트 메시지 데이터베이스(131)에 등록된 제1 MSRP 메시지의 정보(403)를 제1 갱신할 수 있다. 예를 들어, 프로세서(120)는 제2 MSRP 메시지가 포함하는 상기 IMDN 응답에 따른 제1 MSRP 메시지의 처리 상태 정보(예: 제1 MSRP 메시지의 수신을 나타내는 파라미터(delivered) 정보)에 기초하여, 등록된 제1 MSRP 메시지 정보(403) 내의 콘텐츠 상태(state) 정보를 delivered 상태로 기록함으로써, 상기 등록된 제1 MSRP 메시지 정보(403)를 제1 갱신(405)할 수 있다.In an embodiment, the processor 120 of the electronic device 101 may receive the second MSRP message transmitted from the at least one external electronic device 203 through the server 201 . In this regard, the processor 120 may identify that the at least one external electronic device 203 has received the first MSRP message, based on the IMDN response included in the second MSRP message, and the first instant message The information 403 of the first MSRP message registered in the database 131 may be first updated. For example, the processor 120 is based on the processing status information of the first MSRP message according to the IMDN response included in the second MSRP message (eg, parameter (delivered) information indicating reception of the first MSRP message), By recording the content state information in the registered first MSRP message information 403 in a delivered state, the registered first MSRP message information 403 may be first updated (405).
일 실시 예에 따르면, 적어도 하나의 외부 전자 장치(203)의 제1 MSRP 메시지 수신 이후, 상기 적어도 하나의 외부 전자 장치(203)의 사용자에 의해 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)가 확인(read)될 수 있다. 이러한 경우, 동작 317에서, 적어도 하나의 외부 전자 장치(203)는 상기 제1 MSRP 메시지 내의 IMDN 요청(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인 여부에 대한 파라미터(display) 정보를 제공하도록 요청하는 IMDN 요청)에 대하여 응답할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 제1 MSRP 메시지 내의 IMDN 요청에 대한 응답으로, 상기 적어도 하나의 외부 전자 장치(203) 상에서의 제1 MSRP 메시지 처리 상태에 대한 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인을 나타내는 파라미터(displayed) 정보)를 포함하는 IMDN 응답을 제3 MSRP 메시지의 CPIM 바디에 포함시켜 전송할 수 있다.According to an embodiment, after receiving the first MSRP message of the at least one external electronic device 203 , the first MSRP message (or included in the first MSRP message) by the user of the at least one external electronic device 203 . content) can be read. In this case, in operation 317, the at least one external electronic device 203 determines whether to check the IMDN request (eg, the first MSRP message (or the content included in the first MSRP message) in the first MSRP message). (display) IMDN request to provide information). For example, the at least one external electronic device 203 responds to the IMDN request in the first MSRP message, information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg: The IMDN response including the parameter (displayed) information indicating the confirmation of the first MSRP message (or the content included in the first MSRP message) may be transmitted by being included in the CPIM body of the third MSRP message.
일 실시 예에 따르면, 전자 장치(101)의 프로세서(120)는 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로부터 전송된 제3 MSRP 메시지를 수신할 수 있다. 프로세서(120)는 상기 제3 MSRP 메시지에 포함된 IMDN 응답에 기초하여, 적어도 하나의 외부 전자 장치(203)의 사용자에 의해 제1 MSRP 메시지가 확인되었음을 식별할 수 있고, 제1 인스턴트 메시지 데이터베이스(131) 상에서 제1 갱신된 제1 MSRP 메시지 정보(405)를 제2 갱신할 수 있다. 예를 들어, 프로세서(120)는 상기 제3 MSRP 메시지 내의 IMDN 응답에 따른 제1 MSRP 메시지의 처리 상태 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인을 나타내는 파라미터(displayed) 정보)에 기초하여, 제1 갱신된 제1 MSRP 메시지 정보(405) 내의 콘텐츠 상태(state) 정보를 displayed 상태로 기록함으로써, 상기 제1 갱신된 제1 MSRP 메시지 정보(405)를 제2 갱신(407)할 수 있다.According to an embodiment, the processor 120 of the electronic device 101 may receive the third MSRP message transmitted from the at least one external electronic device 203 through the server 201 . The processor 120 may identify that the first MSRP message has been confirmed by the user of the at least one external electronic device 203 based on the IMDN response included in the third MSRP message, and a first instant message database ( 131) on the first updated MSRP message information 405 may be second updated. For example, the processor 120 indicates the confirmation of the processing status information of the first MSRP message (eg, the first MSRP message (or the content included in the first MSRP message) according to the IMDN response in the third MSRP message. Based on the parameter (displayed information), by recording the content state information in the first updated first MSRP message information 405 in a displayed state, the first updated first MSRP message information 405 A second update 407 may be performed.
일 실시 예에서, 전자 장치(101)의 프로세서(120)는 메시지 어플리케이션의 실행 화면에 대하여 입력된 콘텐츠(예: 동작 311에서 입력된 텍스트 타입의 “안녕”)의 전송을 취소하기 위한 제2 사용자 입력을 수신할 수 있다. 예를 들어, 프로세서(120)는 메시지 어플리케이션의 실행 화면을 통하여, 상기 입력된 콘텐츠의 적어도 일부에 대해 지정된 시간 이상으로 유지되는 제2 사용자 입력을 수신할 수 있다. 또는, 프로세서(120)는 메시지 어플리케이션의 실행 화면을 통하여, 상기 입력된 콘텐츠의 적어도 일부에 대해 지정된 시간 이상으로 유지되는 터치 입력을 수신하면, 상기 입력된 콘텐츠의 인접 영역으로 지정된 메뉴(예: 전송 취소 메뉴)를 제공하고, 상기 지정된 메뉴를 선택하는 제2 사용자 입력을 수신할 수 있다.In an embodiment, the processor 120 of the electronic device 101 is configured to cancel the transmission of the content inputted to the execution screen of the message application (eg, “hello” of the text type input in operation 311) by the second user input can be received. For example, the processor 120 may receive the second user input maintained for at least a specified time for at least a portion of the inputted content through the execution screen of the message application. Alternatively, when the processor 120 receives a touch input maintained for at least a specified time with respect to at least a portion of the inputted content through the execution screen of the message application, a menu (eg, transmission) designated as an adjacent area of the inputted content Cancel menu) and receive a second user input for selecting the specified menu.
동작 319에서, 프로세서(120)는 상기 제2 사용자 입력 수신에 대응하여, 메시지 어플리케이션의 실행 화면에 표시된 콘텐츠의 전송이 취소되도록, 전자 장치(101) 상에서의 콘텐츠 처리 상태에 대한 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)를 포함하는 IMDN 요청을 제4 MSRP 메시지의 CPIM 바디에 포함시켜 전송할 수 있다. 일 실시 예에 따르면, 상기 제4 MSRP 메시지에 포함된 IMDN 요청은 적어도 하나의 외부 전자 장치(203)로 하여금 상기 적어도 하나의 외부 전자 장치(203) 상에서의 콘텐츠 상태를 전자 장치(101) 상에서의 콘텐츠 상태(예: canceled)와 대응시키도록 요청하는 의도를 나타낼 수 있다. 또한, 프로세서(120)는 상기 제2 사용자 입력 수신에 대응하여, 제1 인스턴트 메시지 데이터베이스(131) 상에서 제2 갱신된 제1 MSRP 메시지 정보(407)를 제3 갱신할 수 있다. 예를 들어, 프로세서(120)는 상기 제2 갱신된 제1 MSRP 메시지 정보(407) 내에서 displayed 상태로 기록된 콘텐츠의 상태(state) 정보를 canceled 상태로 기록하여, 제2 갱신된 제1 MSRP 메시지 정보(407)를 제3 갱신(409)할 수 있다.In operation 319, in response to receiving the second user input, the processor 120 cancels the transmission of the content displayed on the execution screen of the message application, so that the information on the content processing status on the electronic device 101 (eg, content The IMDN request including the parameter (canceled information) indicating the cancellation of transmission of may be transmitted by being included in the CPIM body of the fourth MSRP message. According to an embodiment, the IMDN request included in the fourth MSRP message causes the at least one external electronic device 203 to display the content status on the at least one external electronic device 203 on the electronic device 101 . It can indicate an intent to request to be matched with a content state (eg canceled). In addition, the processor 120 may thirdly update the second updated first MSRP message information 407 on the first instant message database 131 in response to receiving the second user input. For example, the processor 120 records the state information of the content recorded in the displayed state in the second updated first MSRP message information 407 as the canceled state, and the second updated first MSRP A third update 409 of the message information 407 may be performed.
다양한 실시 예에 따르면, 프로세서(120)는 상기 제2 사용자 입력의 수신 시점(time)에서, 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 간의 MSRP 세션 연결 상태를 확인할 수 있다. 상기 MSRP 세션의 연결이 해제되었거나, 불안정한 상태로 확인되는 경우, 프로세서(120)는 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 개설된 SIP 세션을 이용하여 상기 전자 장치(101) 상에서의 콘텐츠 처리 상태에 대한 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)를 포함하는 SIP 메시지를 전송할 수도 있다.According to various embodiments, the processor 120 may check the MSRP session connection state between the electronic device 101 and the at least one external electronic device 203 at the receiving time (time) of the second user input. When the connection of the MSRP session is disconnected or it is confirmed that the state is unstable, the processor 120 uses the SIP session established between the electronic device 101 and at least one external electronic device 203 to the electronic device 101 ), it is also possible to transmit a SIP message including information on the processing status of the contents (eg, parameter information indicating cancellation of transmission of contents).
다양한 실시 예에 따르면, 프로세서(120)는 콘텐츠의 전송 취소와 관계되는 제2 사용자 입력 수신 시, 메시지 어플리케이션의 실행 화면에 표시하던 상기 콘텐츠의 표시를 중단할 수 있다. 또한, 프로세서(120)는 상기 표시 중단되는 콘텐츠에 인접한 영역으로 지정된 콘텐츠를 표시할 수 있다. 예를 들어, 프로세서(120)는 상기 표시 중단되는 콘텐츠의 전송 취소를 안내하는 상기 지정된 콘텐츠(예: 텍스트 타입의 “메시지 전송이 취소되었습니다”)를 표시할 수 있다.According to various embodiments of the present disclosure, upon receiving the second user input related to cancellation of transmission of the content, the processor 120 may stop displaying the content displayed on the execution screen of the message application. Also, the processor 120 may display content designated as an area adjacent to the content to be displayed. For example, the processor 120 may display the designated content (eg, text type “message transmission has been canceled”) for guiding the cancellation of transmission of the displayed content.
일 실시 예에서, 적어도 하나의 외부 전자 장치(203)는 서버(201)를 통하여 전자 장치(101)로부터 전송된 제4 MSRP 메시지를 수신할 수 있다. 적어도 하나의 외부 전자 장치(203)는 상기 제4 MSRP 메시지에 포함된 IMDN 요청 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)에 기초하여, 전자 장치(101) 상에서의 콘텐츠 상태(예: 전송 취소)를 식별할 수 있다. 이러한 경우, 적어도 하나의 외부 전자 장치(203)는 해당 외부 전자 장치(203)의 메시지 어플리케이션 실행 화면에서 표시 중인 콘텐츠가 식별된 전자 장치(101) 상에서의 콘텐츠 상태와 대응되도록, 상기 표시 중인 콘텐츠를 삭제(또는, 표시 중단)할 수 있다.In an embodiment, the at least one external electronic device 203 may receive the fourth MSRP message transmitted from the electronic device 101 through the server 201 . At least one external electronic device 203 based on the IMDN request information included in the fourth MSRP message (eg, parameter (canceled) information indicating cancellation of content transmission), the content status on the electronic device 101 ( For example, transmission cancellation) can be identified. In this case, the at least one external electronic device 203 controls the content being displayed so that the content being displayed on the message application execution screen of the external electronic device 203 corresponds to the content state on the identified electronic device 101 . You can delete (or stop displaying).
다양한 실시 예에 따르면, 적어도 하나의 외부 전자 장치(203)는 상술한 전자 장치(101)(또는, 프로세서(120))의 제1 인스턴트 메시지 데이터베이스(131) 관리 동작과 유사하게, 해당 외부 전자 장치(203)가 포함하는 제2 인스턴트 메시지 데이터베이스(205)를 운용할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 서버(201)를 통하여 전자 장치(101)로부터 제1 MSRP 메시지를 수신하면, 제2 인스턴트 메시지 데이터베이스(205)에 상기 제1 MSRP 메시지의 수신(또는, 제1 MSRP 메시지에 포함된 콘텐츠의 획득)을 나타내는 정보(예: delivered)를 기록할 수 있다. 다른 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203)의 사용자에 의해 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)가 확인되면, 기록된 정보(예: delivered)를 상기 제1 MSRP 메시지의 확인을 나타내는 정보(예: displayed)로 갱신할 수 있다. 또 다른 예를 들어, 적어도 하나의 외부 전자 장치(203)는 전자 장치(101)로부터 제4 MSRP 메시지를 수신하면, 상기 제4 MSRP 메시지 내의 IMDN 요청 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)에 기초하여 기록된 정보(예: delivered 또는 displayed)를 상기 제1 MSRP 메시지의 전송 취소를 나타내는 정보(예: canceled)로 갱신할 수 있다. 일 실시 예에 따르면, 적어도 하나의 외부 전자 장치(203)는 상기 제4 MSRP 메시지 수신에 대응하여 메시지 어플리케이션의 실행 화면에서 표시 중이던 콘텐츠를 삭제(또는, 표시 중단)하는 경우, 기록된 정보(예: canceled)를 상기 콘텐츠의 삭제를 나타내는 정보(예: deleted)로 갱신(411)하여 관리할 수 있다.According to various embodiments of the present disclosure, the at least one external electronic device 203 performs similarly to the above-described first instant message database 131 management operation of the electronic device 101 (or the processor 120 ), the corresponding external electronic device The second instant message database 205 included in 203 may be operated. For example, when the at least one external electronic device 203 receives the first MSRP message from the electronic device 101 through the server 201 , the second instant message database 205 receives the first MSRP message. Information (eg, delivered) indicating (or acquisition of content included in the first MSRP message) may be recorded. As another example, the at least one external electronic device 203 records the first MSRP message (or the content included in the first MSRP message) when the user of the at least one external electronic device 203 confirms it. The received information (eg, delivered) may be updated with information (eg, displayed) indicating confirmation of the first MSRP message. As another example, when the at least one external electronic device 203 receives the fourth MSRP message from the electronic device 101, IMDN request information in the fourth MSRP message (eg, a parameter indicating cancellation of content transmission) canceled) information), the recorded information (eg, delivered or displayed) may be updated with information (eg, canceled) indicating cancellation of transmission of the first MSRP message. According to an embodiment, when the at least one external electronic device 203 deletes (or stops displaying) the content being displayed on the execution screen of the message application in response to the reception of the fourth MSRP message, recorded information (eg, : canceled) can be managed by updating (411) information indicating deletion of the content (eg, deleted).
다양한 실시 예에 따르면, 상술한 동작 317은 생략될 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)의 사용자가 전자 장치(101)로부터 수신한 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)를 확인(read)하지 않은 경우, 적어도 하나의 외부 전자 장치(203)는 동작 317에 따른 IMDN 응답 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인을 나타내는 파라미터(displayed) 정보)를 포함하는 제3 MSRP 메시지를 전송하지 않을 수 있다. 이러한 경우, 상기 동작 317의 생략으로부터 수행되는 동작 319는, 적어도 하나의 외부 전자 장치(203)의 사용자가 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)를 확인하지 않은 상태에서, 전자 장치(101)의 콘텐츠 전송 취소에 따라, 적어도 하나의 외부 전자 장치(203)에서 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)가 삭제되는 프로세스로 이해될 수 있다.According to various embodiments, the above-described operation 317 may be omitted. For example, when the user of the at least one external electronic device 203 does not read the first MSRP message (or the content included in the first MSRP message) received from the electronic device 101, at least One external electronic device 203 receives the third IMDN response information (eg, parameter (displayed) information indicating confirmation of the first MSRP message (or content included in the first MSRP message)) in operation 317 ). MSRP messages may not be sent. In this case, in operation 319 performed from the omission of operation 317, the user of the at least one external electronic device 203 does not check the first MSRP message (or the content included in the first MSRP message), It may be understood as a process in which the first MSRP message (or the content included in the first MSRP message) is deleted from the at least one external electronic device 203 according to the cancellation of the content transmission by the electronic device 101 .
도 5는 다른 실시 예에 따른 인스턴트 메시지 운용과 관련한 전자 장치 및 적어도 하나의 외부 전자 장치 간의 동작 흐름을 도시한 도면이고, 도 6은 다른 실시 예에 따른 전자 장치 및 적어도 하나의 외부 전자 장치 각각의 인스턴트 메시지 데이터베이스를 도시한 도면이다.FIG. 5 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to another embodiment, and FIG. 6 is a diagram illustrating each of the electronic device and the at least one external electronic device according to another embodiment. It is a diagram showing an instant message database.
이하, 도 5 및 도 6에 따른 실시 예에서, 서버(예: 도 5의 통신망 사업자 서버(201))는 전자 장치(예: 도 5 또는 도 6의 전자 장치(101)) 및 적어도 하나의 외부 전자 장치(예: 도 5 또는 도 6의 적어도 하나의 외부 전자 장치(203)) 간의 인스턴트 메시지 교환에 있어, 송신측 장치로부터 제공되는 인스턴트 메시지에 대한 별도의 처리 없이 해당 인스턴트 메시지를 수신측 장치로 전달하는 바이패스 장치로 기능할 수 있다. 즉, 전자 장치(101) 또는 적어도 하나의 외부 전자 장치(203)로부터 제공되는 인스턴트 메시지는 상기 서버(201)를 경유하여 수신측 장치로 전달될 수 있다.Hereinafter, in the embodiments according to FIGS. 5 and 6 , the server (eg, the communication network operator server 201 of FIG. 5 ) includes an electronic device (eg, the electronic device 101 of FIG. 5 or 6 ) and at least one external device. In exchanging instant messages between electronic devices (eg, at least one external electronic device 203 of FIG. 5 or FIG. 6 ), the instant message provided from the sending device is transmitted to the receiving device without separate processing. It can function as a bypass device that delivers That is, the instant message provided from the electronic device 101 or the at least one external electronic device 203 may be delivered to the receiving device via the server 201 .
도 5 및 도 6을 참조하면, 전자 장치(101)의 프로세서(예: 도 2의 프로세서(120))는 적어도 하나의 외부 전자 장치(203)에 대한 구독(SUBSCRIBE)을 기반으로 서버(201)에 문의하거나, 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)와 RCS 네트워크 통신 기반의 SIP OPTION 메시지를 교환함으로써, 상기 적어도 하나의 외부 전자 장치(203)에 대한 capability discovery를 수행할 수 있다.5 and 6 , the processor of the electronic device 101 (eg, the processor 120 of FIG. 2 ) is a server 201 based on a subscription to at least one external electronic device 203 . Capability discovery for the at least one external electronic device 203 may be performed by making an inquiry to the . there is.
상술과 관련하여, 동작 501에서, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203)의 capability(예: 인스턴트 메시지(instant message; IM) 운용 지원 여부, 파일 공유(file transfer; FT) 지원 여부, 및/또는 메시지(또는, 메시지에 포함된 콘텐츠) 삭제(CANCEL) 지원 여부)를 공개(PUBLISH)하는 제1 SIP 메시지를 서버(201)로 전송할 수 있다. 동작 503 및 동작 505에서, 전자 장치(101)의 프로세서(120)는 적어도 하나의 외부 전자 장치(203)를 구독(SUBSCRIBE)하기 위한 제2 SIP 메시지를 서버(201)로 전송할 수 있고, 이에 대응하여 서버(201)로부터 적어도 하나의 외부 전자 장치(203)의 capability(예: 인스턴트 메시지(IM) 운용 지원 여부, 파일 공유(FT) 지원 여부, 및/또는 메시지(또는, 메시지에 포함된 콘텐츠) 삭제(CANCEL) 지원 여부)를 통지(NOTIFT)하는 제3 SIP 메시지를 수신할 수 있다.In relation to the above, in operation 501 , the at least one external electronic device 203 determines whether the capability of the at least one external electronic device 203 (eg, whether to support an instant message (IM) operation, and file sharing) transfer; FT) support, and/or message (or content included in the message) deletion (CANCEL) may be transmitted to the server 201 a first SIP message for publishing (PUBLISH). In operations 503 and 505 , the processor 120 of the electronic device 101 may transmit a second SIP message for subscribing to the at least one external electronic device 203 to the server 201 , corresponding to the second SIP message. a capability of at least one external electronic device 203 from the server 201 (eg, whether instant message (IM) operation is supported, whether file sharing (FT) is supported, and/or a message (or content included in the message) A third SIP message for notifying (NOTIFT) whether CANCEL is supported may be received.
동작 507 및 동작 509에서, 전자 장치(101)의 프로세서(120)는 적어도 하나의 외부 전자 장치(203)의 capability가 확인되면, 서버(201)를 통하여 상기 적어도 하나의 외부 전자 장치(203)로 SIP 세션의 개설(또는, 연결)을 초대(INVITE)하는 제4 SIP 메시지를 전송할 수 있고, 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로부터 상기 초대에 응답(200 OK)하는 제5 SIP 메시지를 수신할 수 있다. 일 실시 예에 따르면, 상기 적어도 하나의 외부 전자 장치(203)로부터 세션 개설이 가능함을 나타내는 응답(200 OK)이 제공됨에 따라, 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 SIP 세션이 개설될 수 있고, 상기 SIP 세션을 기반으로 하는 MSRP 세션이 개설될 수 있다.In operations 507 and 509 , when the capability of the at least one external electronic device 203 is confirmed, the processor 120 of the electronic device 101 transmits the information to the at least one external electronic device 203 through the server 201 . A fourth SIP message for inviting (INVITE) the establishment (or connection) of a SIP session may be transmitted, and a fourth SIP message for responding (200 OK) to the invitation from at least one external electronic device 203 through the server 201 . 5 SIP messages can be received. According to an embodiment, as a response (200 OK) indicating that session establishment is possible is provided from the at least one external electronic device 203 , the communication between the electronic device 101 and the at least one external electronic device 203 is provided. A SIP session may be established, and an MSRP session based on the SIP session may be established.
일 실시 예에 따르면, 프로세서(120)는 상기 MSRP 세션의 개설 이후, 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)와 RCS 네트워크 통신 기반의 MSRP 메시지를 교환함으로써, 사용자로부터 입력되는 인스턴트 메시지(또는, 인스턴트 메시지에 포함된 콘텐츠)의 상태(state)를 관리하고, 적어도 하나의 외부 전자 장치(203)와 상기 인스턴트 메시지에 대한 동기화를 수행할 수 있다.According to an embodiment, the processor 120 exchanges an RCS network communication-based MSRP message with at least one external electronic device 203 through the server 201 after the MSRP session is established, thereby providing an instant input from the user. A state of a message (or content included in an instant message) may be managed, and the instant message may be synchronized with at least one external electronic device 203 .
상술과 관련하여 동작 511에서, 프로세서(120)는 메시지 어플리케이션의 실행 화면에 대하여 콘텐츠(예: 텍스트 타입의 “안녕”)를 입력하는 제1 사용자 입력을 수신하면, CPIM 헤더에 상기 입력된 콘텐츠에 관한 정보를 포함하는 제1 MSRP 메시지를 전송할 수 있다. 일 실시 예에 따르면, 제1 MSRP 메시지의 CPIM 바디에는 메시지의 수신측 장치로 하여금 상기 제1 MSRP 메시지의 처리 상태에 대한 정보(예: 제1 MSRP 메시지의 수신 여부에 대한 파라미터(deliver) 정보, 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인 여부에 대한 파라미터(display) 정보, 및 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 삭제 여부에 대한 파라미터(delete) 정보)를 제공하도록 요청하는 IMDN 요청이 포함될 수 있다. 일 실시 예에서, 프로세서(120)는 제1 MSRP 메시지의 전송에 대응하여, 메모리(예: 도 2의 메모리(130))의 제1 인스턴트 메시지 데이터베이스(131)에 상기 제1 MSRP 메시지에 대한 정보(601)를 등록(또는, 기록)할 수 있다.In relation to the above, in operation 511, when the processor 120 receives a first user input for inputting content (eg, text-type “hello”) on the execution screen of the message application, the processor 120 adds the content to the CPIM header. It is possible to transmit a first MSRP message including information about. According to an embodiment, in the CPIM body of the first MSRP message, information on the processing state of the first MSRP message by the receiving device of the message (eg, parameter (deliver) information on whether or not the first MSRP message is received; Parameter (display) information on whether to check the first MSRP message (or the content included in the first MSRP message), and a parameter for whether to delete the first MSRP message (or the content included in the first MSRP message) (delete) information) may be included in the IMDN request. In one embodiment, in response to the transmission of the first MSRP message, the processor 120 stores information on the first MSRP message in the first instant message database 131 of a memory (eg, the memory 130 of FIG. 2 ). 601 may be registered (or recorded).
동작 513, 동작 515, 및 동작 517에서, 적어도 하나의 외부 전자 장치(203)는 서버(201)를 통하여 전자 장치(101)로부터 전송된 제1 MSRP 메시지를 수신(또는, 제1 MSRP 메시지에 포함된 콘텐츠(“안녕”)를 획득)하고, 상기 제1 MSRP 메시지 내의 IMDN 요청에 응답할 수 있다. 예를 들어, 동작 515에서, 적어도 하나의 외부 전자 장치(203)는 상기 제1 MSRP 메시지 내의 IMDN 요청(예: 제1 MSRP 메시지의 수신 여부에 대한 파라미터(deliver) 정보를 제공하도록 요청하는 IMDN 요청)에 대응하여, 적어도 하나의 외부 전자 장치(203) 상에서의 제1 MSRP 메시지 처리 상태에 대한 정보(예: 제1 MSRP 메시지의 수신을 나타내는 파라미터(delivered) 정보)를 포함하는 IMDN 응답을 제2 MSRP 메시지의 CPIM 바디에 포함시켜 전송할 수 있다. 다른 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203)의 사용자에 의해 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)가 확인(read)되면, 동작 517에서, 상기 제1 MSRP 메시지 내의 IMDN 요청(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인 여부에 대한 파라미터(display) 정보를 제공하도록 요청하는 IMDN 요청)에 대한 응답으로 적어도 하나의 외부 전자 장치(203) 상에서의 제1 MSRP 메시지 처리 상태에 대한 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인을 나타내는 파라미터(displayed) 정보)를 포함하는 IMDN 응답을 제3 MSRP 메시지의 CPIM 바디에 포함시켜 전송할 수 있다.In operations 513 , 515 , and 517 , at least one external electronic device 203 receives (or includes in the first MSRP message) the first MSRP message transmitted from the electronic device 101 through the server 201 . obtained content (“hello”), and respond to the IMDN request in the first MSRP message. For example, in operation 515 , the at least one external electronic device 203 requests an IMDN request in the first MSRP message (eg, an IMDN request to provide parameter (deliver) information on whether or not the first MSRP message is received. ) in response to the second IMDN response including information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg, parameter (delivered) information indicating reception of the first MSRP message) It can be transmitted by being included in the CPIM body of the MSRP message. For another example, the at least one external electronic device 203 reads the first MSRP message (or the content included in the first MSRP message) by the user of the at least one external electronic device 203 . If it is, in operation 517, the IMDN request in the first MSRP message (eg, the first MSRP message (or the content included in the first MSRP message) IMDN request to provide parameter (display) information on whether to check whether the IMDN request ( displayed) information) may be transmitted by being included in the CPIM body of the third MSRP message.
일 실시 예에 따르면, 전자 장치(101)의 프로세서(120)는 서버(201)를 통하여 제2 MSRP 메시지를 수신할 수 있고, 상기 제2 MSRP 메시지에 포함된 IMDN 응답에 기초하여, 제1 인스턴트 메시지 데이터베이스(131)에 등록된 제1 MSRP 메시지 정보(601)를 제1 갱신할 수 있다. 예를 들어, 프로세서(120)는 제1 MSRP 메시지 정보(601) 내의 콘텐츠 상태(state) 정보를 상기 제2 MSRP 메시지에 포함된 IMDN 응답에 기초하는 delivered 상태로 기록함으로써, 등록된 제1 MSRP 메시지 정보(601)를 제1 갱신(603)할 수 있다. 유사하게, 프로세서(120)는 서버(201)를 통하여 제3 MSRP 메시지를 수신하고, 상기 제3 MSRP 메시지에 포함된 IMDN 응답을 기반으로 제1 갱신된 제1 MSRP 메시지 정보(603)를 제2 갱신할 수 있다. 예를 들어, 프로세서(120)는 제1 갱신된 제1 MSRP 메시지 정보(603) 내의 콘텐츠 상태(state) 정보를 상기 제3 MSRP 메시지에 포함된 IMDN 응답에 기초하는 displayed 상태로 기록함으로써, 제1 갱신된 제1 MSRP 메시지 정보(603)를 제2 갱신(605)할 수 있다.According to an embodiment, the processor 120 of the electronic device 101 may receive the second MSRP message through the server 201, and based on the IMDN response included in the second MSRP message, the first instant It is possible to first update the first MSRP message information 601 registered in the message database 131 . For example, the processor 120 records the content state information in the first MSRP message information 601 as a delivered state based on the IMDN response included in the second MSRP message, thereby registering the first MSRP message. The information 601 may be first updated 603 . Similarly, the processor 120 receives the third MSRP message through the server 201, and transmits the first updated first MSRP message information 603 based on the IMDN response included in the third MSRP message to the second Can be updated. For example, the processor 120 records the content state information in the first updated first MSRP message information 603 as a displayed state based on the IMDN response included in the third MSRP message, so that the first A second update 605 may be performed on the updated first MSRP message information 603 .
일 실시 예에서, 프로세서(120)는 메시지 어플리케이션의 실행 화면에 대하여 입력된 콘텐츠(예: 동작 511에서 입력된 텍스트 타입의 “안녕”)의 전송을 취소하기 위한 제2 사용자 입력을 수신할 수 있다. 프로세서(120)는 상기 제2 사용자 입력 수신에 대응하여, 동작 519에서, 전자 장치(101) 상에서의 콘텐츠 처리 상태에 대한 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)를 포함하는 IMDN 요청을 제4 MSRP 메시지의 CPIM 바디에 포함시켜 전송할 수 있다. 또한, 프로세서(120)는 상기 제2 사용자 입력 수신에 대응하여, 제1 인스턴트 메시지 데이터베이스(131) 상에서 제2 갱신된 제1 MSRP 메시지 정보(605)를 제3 갱신할 수 있다. 예를 들어, 프로세서(120)는 상기 제2 갱신된 제1 MSRP 메시지 정보(605) 내에서 displayed 상태로 기록된 콘텐츠의 상태(state) 정보를 현재 전자 장치(101) 상에서의 콘텐츠 처리 상태에 해당하는 canceled 상태로 기록하여, 상기 제2 갱신된 제1 MSRP 메시지 정보(605)를 제3 갱신(607)할 수 있다.In an embodiment, the processor 120 may receive a second user input for canceling transmission of content input to the execution screen of the message application (eg, “hello” of the text type input in operation 511). . In response to receiving the second user input, the processor 120 includes, in operation 519 , information on a content processing state on the electronic device 101 (eg, parameter information indicating cancellation of content transmission). The IMDN request may be transmitted by being included in the CPIM body of the fourth MSRP message. In addition, the processor 120 may thirdly update the second updated first MSRP message information 605 on the first instant message database 131 in response to receiving the second user input. For example, the processor 120 corresponds to the state information of the content recorded in the displayed state in the second updated first MSRP message information 605 to the content processing state on the current electronic device 101 . By recording the canceled state, the second updated first MSRP message information 605 may be updated 607 by a third.
다양한 실시 예에 따르면, 상기 제2 사용자 입력의 수신 시점에서 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이의 MSRP 세션 연결이 해제되었거나, 불안정한 상태로 확인되는 경우, 프로세서(120)는 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 개설된 SIP 세션을 이용하여 상기 전자 장치(101) 상에서의 콘텐츠 처리 상태에 대한 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)를 포함하는 SIP 메시지를 전송할 수도 있다.According to various embodiments, when the MSRP session connection between the electronic device 101 and the at least one external electronic device 203 is released or it is confirmed to be in an unstable state at the time of receiving the second user input, the processor 120 is information on the content processing status on the electronic device 101 using the SIP session established between the electronic device 101 and at least one external electronic device 203 (eg, a parameter indicating cancellation of content transmission) canceled) information) may be transmitted.
일 실시 예에서, 적어도 하나의 외부 전자 장치(203)는 서버(201)를 통하여 전자 장치(101)로부터 전송된 제4 MSRP 메시지를 수신하고, 상기 제4 MSRP 메시지에 포함된 IMDN 요청 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)에 기초하여 전자 장치(101) 상에서의 콘텐츠 상태(예: 전송 취소)를 식별할 수 있다. 적어도 하나의 외부 전자 장치(203)는 상기 제4 MSRP 메시지 수신에 따라, 제2 인스턴트 메시지 데이터베이스(205)에 사전 등록된(또는, 사전 갱신된) 제1 MSRP 메시지 정보를 갱신(609)할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 사전 등록된 제1 MSRP 메시지 정보 내의 콘텐츠 상태(state) 정보를 상기 제4 MSRP 메시지 내의 IMDN 요청 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)에 기초하는 canceled 상태로 기록할 수 있다.In an embodiment, the at least one external electronic device 203 receives the fourth MSRP message transmitted from the electronic device 101 through the server 201, and includes IMDN request information (eg, the fourth MSRP message). : It is possible to identify a content status (eg, transmission cancellation) on the electronic device 101 based on parameter (canceled) information indicating cancellation of content transmission). At least one external electronic device 203 may update (609) the first MSRP message information pre-registered (or pre-updated) in the second instant message database 205 according to the reception of the fourth MSRP message. there is. For example, the at least one external electronic device 203 transmits content state information in the pre-registered first MSRP message information to IMDN request information (eg, a parameter indicating cancellation of content transmission) in the fourth MSRP message. (canceled) information) can be recorded as canceled status.
일 실시 예에서, 적어도 하나의 외부 전자 장치(203)는 제4 MSRP 메시지에 포함된 IMDN 요청 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)에 따라 메시지 어플리케이션의 실행 화면에서 표시 중인 콘텐츠를 삭제(또는, 표시 중단)하고, 상기 제4 MSRP 메시지 내의 IMDN 요청에 응답할 수 있다. 예를 들어, 동작 521에서, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203) 상에서의 제1 MSRP 메시지 처리 상태에 대한 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 삭제를 나타내는 파라미터(deleted) 정보)를 포함하는 IMDN 응답을 제5 MSRP 메시지의 CPIM 바디에 포함시켜 전송할 수 있다.In an embodiment, the at least one external electronic device 203 is being displayed on the execution screen of the message application according to IMDN request information (eg, parameter (canceled) information indicating cancellation of transmission of content) included in the fourth MSRP message. Delete (or stop displaying) the content, and respond to the IMDN request in the fourth MSRP message. For example, in operation 521, the at least one external electronic device 203 provides information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg, the first MSRP message (or the first MSRP message). 1 The IMDN response including the parameter (deleted information) indicating the deletion of the content included in the MSRP message) may be transmitted by being included in the CPIM body of the fifth MSRP message.
다양한 실시 예에 따르면, 적어도 하나의 외부 전자 장치(203)는 전자 장치(101)와 교환한 MSRP 메시지의 정보를 관리하기 위하여, 상기 제5 MSRP 메시지의 전송 이후, 제2 인스턴트 메시지 데이터베이스(205)에 기록된 제1 MSRP 메시지의 정보(609)를 갱신할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 제1 MSRP 메시지 정보(609) 내의 콘텐츠 상태(state) 정보를 상기 적어도 하나의 외부 전자 장치(203) 상에서의 콘텐츠 삭제를 나타내는 deleted 상태로 갱신(611)하여 관리할 수 있다.According to various embodiments, after transmitting the fifth MSRP message, the at least one external electronic device 203 manages information of the MSRP message exchanged with the electronic device 101, the second instant message database 205 It is possible to update the information 609 of the first MSRP message recorded in. For example, the at least one external electronic device 203 sets the content state information in the first MSRP message information 609 to a deleted state indicating deletion of content on the at least one external electronic device 203 . It can be managed by updating (611).
일 실시 예에서, 전자 장치(101)의 프로세서(120)는 서버(201)를 통하여 상기 적어도 하나의 외부 전자 장치(203)로부터 전송된 제5 MSRP 메시지를 수신할 수 있다. 이와 관련하여, 프로세서(120)는 상기 제5 MSRP 메시지가 포함하는 IMDN 응답을 기초로, 적어도 하나의 외부 전자 장치(203) 상에서의 콘텐츠 상태를 식별할 수 있다. 예를 들어, 프로세서(120)는 상기 IMDN 응답에 따른 제1 MSRP 메시지 처리 상태 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 삭제를 나타내는 파라미터(deleted) 정보)에 기초하여, 적어도 하나의 외부 전자 장치(203) 상에서 콘텐츠가 삭제(또는, 표시 중단)되었음을 판단할 수 있다.In an embodiment, the processor 120 of the electronic device 101 may receive the fifth MSRP message transmitted from the at least one external electronic device 203 through the server 201 . In this regard, the processor 120 may identify the content status on the at least one external electronic device 203 based on the IMDN response included in the fifth MSRP message. For example, the processor 120 is the first MSRP message processing status information according to the IMDN response (eg, a parameter (deleted) information indicating deletion of the first MSRP message (or content included in the first MSRP message)) Based on , it may be determined that the content has been deleted (or stopped being displayed) on the at least one external electronic device 203 .
일 실시 예에 따르면, 프로세서(120)는 적어도 하나의 외부 전자 장치(203) 상에서 콘텐츠가 삭제되었음을 판단한 것에 대응하여, 제5 MSRP 메시지 내의 IMDN 응답을 기반으로 제1 인스턴트 메시지 데이터베이스(131) 상의 제3 갱신된 제1 MSRP 메시지 정보(607)를 제4 갱신할 수 있다. 예를 들어, 프로세서(120)는 상기 제3 갱신된 제1 MSRP 메시지 정보(607) 내에서 canceled 상태로 기록된 콘텐츠의 상태(state) 정보를, 상기 제5 MSRP 메시지 내의 IMDN 응답에 따른 제1 MSRP 메시지의 처리 상태 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 삭제를 나타내는 파라미터(deleted) 정보)에 대응하는 deleted 상태로 기록하여, 제3 갱신된 제1 MSRP 메시지 정보(607)를 제4 갱신(613)할 수 있다.According to an embodiment, in response to determining that the content has been deleted on the at least one external electronic device 203 , the processor 120 may store the first instant message database 131 on the basis of the IMDN response in the fifth MSRP message. 3, the updated first MSRP message information 607 may be updated fourth. For example, the processor 120 transmits the state information of the contents recorded as canceled in the third updated first MSRP message information 607, the first according to the IMDN response in the fifth MSRP message. By recording in the deleted state corresponding to the processing status information of the MSRP message (eg, parameter (deleted) information indicating deletion of the first MSRP message (or content included in the first MSRP message)), the third updated first A fourth update 613 of the MSRP message information 607 may be performed.
도 7은 일 실시 예에 따른 인스턴트 메시지 운용과 관련한 전자 장치 및 서버 간의 동작 흐름을 도시한 도면이고, 도 8은 일 실시 예에 따른 전자 장치 및 서버 간의 상호작용에 기반하는 상기 전자 장치 및 적어도 하나의 외부 전자 장치 각각의 인스턴트 메시지 데이터베이스를 도시한 도면이다.7 is a diagram illustrating an operation flow between an electronic device and a server related to instant message operation according to an embodiment. It is a diagram illustrating an instant message database of each of the external electronic devices.
도 7 및 도 8을 참조하면, 전자 장치(101)의 프로세서(예: 도 2의 프로세서(120))는 적어도 하나의 외부 전자 장치(203)에 대한 구독(SUBSCRIBE)을 기반으로 서버(201)에 문의하거나, 서버(201)와 RCS 네트워크 통신 기반의 SIP OPTION 메시지를 교환함으로써, 상기 적어도 하나의 외부 전자 장치(203)에 대한 capability discovery를 수행할 수 있다.7 and 8 , the processor of the electronic device 101 (eg, the processor 120 of FIG. 2 ) is a server 201 based on a subscription to at least one external electronic device 203 . Capability discovery for the at least one external electronic device 203 may be performed by inquiring with the server 201 or exchanging a SIP OPTION message based on RCS network communication with the server 201 .
상술과 관련하여, 동작 701에서, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203)의 capability(예: 인스턴트 메시지(instant message; IM) 운용 지원 여부, 파일 공유(file transfer; FT) 지원 여부, 및/또는 메시지(또는, 메시지에 포함된 콘텐츠) 삭제(CANCEL) 지원 여부)를 공개(PUBLISH)하는 제1 SIP 메시지를 서버(201)로 전송할 수 있다. 일 실시 예에 따르면, 적어도 하나의 외부 전자 장치(203)는 상기 제1 SIP 메시지의 전송 이후, 서버(201)를 통한 전자 장치(101)와의 RCS 네트워크 통신이 단절될 수 있다. 예를 들어, 상기 제1 SIP 메시지의 전송 이후, 적어도 하나의 외부 전자 장치(203)의 전원이 오프(power off)되거나, 인스턴트 메시징 서비스 또는 통신망이 비활성 상태로 전환되면, 상기 적어도 하나의 외부 전자 장치(203)의 RCS 네트워크 통신 운용은 불가할 수 있다.In relation to the above, in operation 701 , the at least one external electronic device 203 determines whether the capability of the at least one external electronic device 203 (eg, whether to support an instant message (IM) operation, and file sharing) transfer; FT) support, and/or message (or content included in the message) deletion (CANCEL) may be transmitted to the server 201 a first SIP message for publishing (PUBLISH). According to an embodiment, after transmitting the first SIP message, the at least one external electronic device 203 may cut off RCS network communication with the electronic device 101 through the server 201 . For example, after transmission of the first SIP message, when the power of the at least one external electronic device 203 is turned off or the instant messaging service or the communication network is switched to an inactive state, the at least one external electronic device 203 RCS network communication operation of device 203 may not be possible.
동작 703 및 동작 705에서, 전자 장치(101)의 프로세서(120)는 적어도 하나의 외부 전자 장치(203)를 구독(SUBSCRIBE)하기 위한 제2 SIP 메시지를 서버(201)로 전송할 수 있고, 상기 제2 SIP 메시지 전송에 대응하여 서버(201)로부터 적어도 하나의 외부 전자 장치(203)의 capability(예: 인스턴트 메시지(IM) 운용 지원 여부, 파일 공유(FT) 지원 여부, 및/또는 메시지(또는, 메시지에 포함된 콘텐츠) 삭제(CANCEL) 지원 여부)를 통지(NOTIFY)하는 제3 SIP 메시지를 수신할 수 있다.In operations 703 and 705 , the processor 120 of the electronic device 101 may transmit a second SIP message for subscribing to the at least one external electronic device 203 to the server 201 , and the 2 In response to SIP message transmission, the capability (eg, whether instant message (IM) operation is supported, whether file sharing (FT) is supported, and/or a message (or, A third SIP message for notifying (NOTIFY) whether content included in the message is supported for deletion (CANCEL) may be received.
동작 707에서, 프로세서(120)는 상기 제3 SIP 메시지에 기반하여 적어도 하나의 외부 전자 장치(203)의 capability가 확인되면, 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로 SIP 세션의 개설(또는, 연결)을 초대(INVITE)하는 제4 SIP 메시지를 전송할 수 있다. 일 실시 예에 따르면, 서버(201)는 전자 장치(101)로부터 제공된 제4 SIP 메시지를 적어도 하나의 외부 전자 장치(203)로 전달(예: 바이패스)하기 위한 동작에서, 상기 적어도 하나의 외부 전자 장치(203)와 RCS 네트워크 통신이 연결되지 않았음을(또는, 적어도 하나의 외부 전자 장치(203)의 RCS 네트워크 통신 운용이 불가함을) 식별할 수 있다. 이러한 경우, 서버(203)는 전자 장치(101)로부터 제4 SIP 메시지를 수신한 시점(time)을 기준하여, 지정된 제1 시간(예: 30초) 동안 상기 적어도 하나의 외부 전자 장치(203)와의 RCS 네트워크 통신 연결 상태를 모니터링할 수 있다. 일 실시 예에서, 서버(201)는 상기 지정된 제1 시간 이내에 적어도 하나의 외부 전자 장치(203)와의 RCS 네트워크 통신이 연결되지 않는 경우, 동작 709에서, 상기 전자 장치(101)로부터 수신한 제4 SIP 메시지에 응답(200 OK)하는 제5 SIP 메시지를 전자 장치(101)로 전송할 수 있다.In operation 707 , when the capability of the at least one external electronic device 203 is confirmed based on the third SIP message, the processor 120 transmits the SIP session to the at least one external electronic device 203 through the server 201 . It is possible to transmit a fourth SIP message inviting (INVITE) the establishment (or connection) of the. According to an embodiment, the server 201 transmits (eg, bypasses) the fourth SIP message provided from the electronic device 101 to the at least one external electronic device 203 , the at least one external device 201 . It may be identified that the electronic device 203 and the RCS network communication are not connected (or that the RCS network communication operation of the at least one external electronic device 203 is impossible). In this case, the server 203 receives the fourth SIP message from the electronic device 101 for a specified first time (eg, 30 seconds) based on the at least one external electronic device 203 . You can monitor the RCS network communication connection status with In an embodiment, when the RCS network communication with the at least one external electronic device 203 is not connected within the specified first time period, in operation 709 , the server 201 receives a fourth message received from the electronic device 101 . A fifth SIP message responding (200 OK) to the SIP message may be transmitted to the electronic device 101 .
일 실시 예에 따르면, 전자 장치(101)의 프로세서(120)는 적어도 하나의 외부 전자 장치(203)의 RCS 네트워크 통신 운용에 관한 컨텍스트(예: 전원 오프, 인스턴트 메시징 서비스 비활성, 또는 통신망 비활성)를 인지하지 못할 수 있다. 이러한 경우, 프로세서(120)는 상기 서버(201)로부터 SIP 세션의 개설 초대에 응답(200 OK)하는 제5 SIP 메시지를 수신함에 따라, 적어도 하나의 외부 전자 장치(203)와 SIP 세션 및 상기 SIP 세션을 기반으로 하는 MSRP 세션이 개설된 것으로 판단할 수 있다.According to an embodiment, the processor 120 of the electronic device 101 provides a context (eg, power off, instant messaging service inactive, or communication network inactive) related to RCS network communication operation of at least one external electronic device 203 . may not be aware of In this case, when the processor 120 receives a fifth SIP message responding (200 OK) to the SIP session establishment invitation from the server 201 , the processor 120 performs a SIP session with at least one external electronic device 203 and the SIP It can be determined that an MSRP session based on the session has been opened.
일 실시 예에 따르면, 프로세서(120)는 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로 RCS 네트워크 통신 기반의 MSRP 메시지를 전송하는 동작에서, 상기 적어도 하나의 외부 전자 장치(203)의 RCS 네트워크 통신 장애를 인지할 수 있다. 이러한 경우, 프로세서(120)는 적어도 하나의 외부 전자 장치(203)의 수신을 목적하여 전송한 MSRP 메시지가 상기 적어도 하나의 외부 전자 장치(203)로 전송되기 이전에(또는, 적어도 하나의 외부 전자 장치(203)에 의해 수신되기 이전에), 상기 MSRP 메시지의 전송을 취소(revoke)할 수 있다.According to an embodiment, the processor 120 transmits the RCS network communication-based MSRP message to the at least one external electronic device 203 through the server 201, the at least one external electronic device 203 RCS network communication failure can be recognized. In this case, the processor 120 transmits the MSRP message transmitted for the purpose of receiving the at least one external electronic device 203 to the at least one external electronic device 203 (or at least one external electronic device 203 ). before being received by device 203), the transmission of the MSRP message may be revoke.
상술과 관련하여 동작 711에서, 프로세서(120)는 메시지 어플리케이션의 실행 화면에 대하여 콘텐츠(예: 텍스트 타입의 “안녕”)를 입력하는 제1 사용자 입력을 수신하면, CPIM 헤더에 상기 입력된 콘텐츠에 관한 정보를 포함하는 제1 MSRP 메시지를 전송할 수 있다. 일 실시 예에 따르면, 제1 MSRP 메시지의 CPIM 바디에는 메시지의 수신측 장치로 하여금 상기 제1 MSRP 메시지의 처리 상태에 대한 정보(예: 제1 MSRP 메시지의 수신 여부에 대한 파라미터(deliver) 정보 및 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인 여부에 대한 파라미터(display) 정보)를 제공하도록 요청하는 IMDN 요청이 포함될 수 있다. 일 실시 예에서, 프로세서(120)는 제1 MSRP 메시지의 전송에 따라, 메모리(예: 도 2의 메모리(130))의 제1 인스턴트 메시지 데이터베이스(131)에 상기 제1 MSRP 메시지에 대한 정보(801)를 등록(또는, 기록)할 수 있다.In relation to the above, in operation 711, when the processor 120 receives a first user input for inputting content (eg, text-type “hello”) on the execution screen of the message application, the processor 120 adds the content to the CPIM header. It is possible to transmit a first MSRP message including information about. According to an embodiment, in the CPIM body of the first MSRP message, the receiving device of the message causes information on the processing state of the first MSRP message (eg, parameter (deliver) information on whether the first MSRP message is received or not; and An IMDN request for requesting to provide a parameter (display information) on whether to check the first MSRP message (or the content included in the first MSRP message) may be included. In one embodiment, the processor 120, according to the transmission of the first MSRP message, information about the first MSRP message in the first instant message database 131 of the memory (eg, the memory 130 of FIG. 2) ( 801) can be registered (or recorded).
동작 713에서, 서버(201)는 이전 동작에서 식별된 적어도 하나의 외부 전자 장치(203)와의 RCS 네트워크 통신 상태(예: not connected)가 유지되고 있음을 확인할 수 있고, 이에 대응하여 전자 장치(101)로부터 제공된 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)를 상기 서버(201)가 포함하는 데이터베이스(202)(또는, 캐시 메모리)에 적어도 임시적으로 저장할 수 있다.In operation 713 , the server 201 may confirm that the RCS network communication state (eg, not connected) with at least one external electronic device 203 identified in the previous operation is being maintained, and in response thereto, the electronic device 101 ) may at least temporarily store the first MSRP message (or the content included in the first MSRP message) provided from the database 202 (or cache memory) included in the server 201 .
일 실시 예에서, 전자 장치(101)의 프로세서(120)는 상기 제1 MSRP 메시지의 전송 시점을 기준하여 지정된 제2 시간(예: 3분)을 카운트할 수 있다. 프로세서(120)는 상기 지정된 제2 시간 이내에, 적어도 하나의 외부 전자 장치(203)로부터 제1 MSRP 메시지 내의 IMDN 요청에 대한 응답(예: 제1 MSRP 메시지의 수신을 나타내는 파라미터(delivered) 정보를 포함하는 IMDN 응답)을 포함하는 MSRP 메시지를 수신하지 않으면, 동작 715에서, 서버(201)로 제1 MSRP 메시지의 전송 취소(REVOKE)를 나타내는 제2 MSRP 메시지를 전송할 수 있다. 예를 들어, 프로세서(120)는 서버(201)로 하여금 제1 MSRP 메시지를 적어도 하나의 외부 전자 장치(203)로 전달(예: 바이패스)하지 않도록 요청하는 제2 MSRP 메시지를 전송할 수 있다. 일 실시 예에서, 프로세서(120)는 상기 제2 MSRP 메시지의 전송에 대응하여, 제1 인스턴트 메시지 데이터베이스(131)에 등록(또는, 기록)된 제1 MSRP 메시지 정보(801)를 제1 갱신할 수 있다. 예를 들어, 프로세서(120)는 제1 MSRP 메시지 정보(801) 내의 콘텐츠 상태(state) 정보를 현재 제1 MSRP 메시지의 처리 상태에 대응하는 canceled(또는, revoked) 상태로 기록하여, 상기 등록된 제1 MSRP 메시지 정보(801)를 제1 갱신(803)할 수 있다.In an embodiment, the processor 120 of the electronic device 101 may count a specified second time (eg, 3 minutes) based on the transmission time of the first MSRP message. The processor 120 includes parameter (delivered) information indicating reception of the IMDN request in the first MSRP message (eg, the first MSRP message) from the at least one external electronic device 203 within the specified second time period. If the MSRP message including the IMDN response) is not received, in operation 715 , it may transmit a second MSRP message indicating transmission cancellation (REVOKE) of the first MSRP message to the server 201 . For example, the processor 120 may transmit a second MSRP message requesting the server 201 not to forward (eg, bypass) the first MSRP message to the at least one external electronic device 203 . In one embodiment, the processor 120 first updates the first MSRP message information 801 registered (or recorded) in the first instant message database 131 in response to the transmission of the second MSRP message. can For example, the processor 120 records the content state information in the first MSRP message information 801 as a canceled (or revoked) state corresponding to the processing state of the current first MSRP message, and records the registered A first update 803 of the first MSRP message information 801 may be performed.
동작 717에서, 서버(201)는 전자 장치(101)로부터 전송된 제2 MSRP 메시지를 수신하고, 상기 제2 MSRP 메시지가 나타내는 요청(예: 제1 MSRP 메시지를 적어도 하나의 외부 전자 장치(203)로 전달(바이패스)하지 않도록 하는 요청)에 기초하여 데이터베이스(202)에 적어도 임시적으로 저장된 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)를 삭제할 수 있다. 일 실시 예에서, 서버(201)는 상기 제1 MSRP 메시지의 삭제가 완료되면, 제2 MSRP 메시지가 나타내는 요청에 응답하기 위하여, 동작 719에서, 적어도 하나의 외부 전자 장치(203)로의 제1 MSRP 메시지 전송 취소 승인(SUCCESS)을 나타내는 제3 MSRP 메시지를 전자 장치(101)로 전송할 수 있다.In operation 717, the server 201 receives the second MSRP message transmitted from the electronic device 101, and sends a request (eg, a first MSRP message) indicated by the second MSRP message to at least one external electronic device 203 Based on the request not to forward (bypass) to the database 202, at least the first MSRP message (or the content included in the first MSRP message) temporarily stored in the database 202 may be deleted. In one embodiment, when the deletion of the first MSRP message is completed, the server 201 responds to the request indicated by the second MSRP message, in operation 719, the first MSRP to the at least one external electronic device 203 A third MSRP message indicating message transmission cancellation acknowledgment (SUCCESS) may be transmitted to the electronic device 101 .
일 실시 예에서, 전자 장치(101)의 프로세서(120)는 서버(201)로부터 전송된 제3 MSRP 메시지를 수신할 수 있다. 프로세서(120)는 상기 제3 MSRP 메시지 수신에 기초하여 제1 MSRP 메시지가 적어도 하나의 외부 전자 장치(203)로 전송되지 않았음을 식별할 수 있고, 제1 인스턴트 메시지 데이터베이스(131) 상에서 제1 갱신된 제1 MSRP 메시지 정보(803)를 제2 갱신할 수 있다. 예를 들어, 프로세서(120)는 상기 제1 갱신된 제1 MSRP 메시지 정보(803) 내에서 canceled(또는, revoked) 상태로 기록된 콘텐츠의 상태(state) 정보를 상기 콘텐츠의 삭제를 나타내는 deleted 상태로 기록하여, 제1 갱신된 제1 MSRP 메시지 정보(803)를 제2 갱신(805)할 수 있다.In an embodiment, the processor 120 of the electronic device 101 may receive the third MSRP message transmitted from the server 201 . The processor 120 may identify that the first MSRP message has not been transmitted to the at least one external electronic device 203 based on the reception of the third MSRP message, and the first instant message database 131 on the first instance message database 131 . The updated first MSRP message information 803 may be updated a second time. For example, the processor 120 may change the state information of the content recorded in the canceled (or revoked) state in the first updated first MSRP message information 803 to a deleted state indicating deletion of the content. By writing as, the first updated first MSRP message information (803) may be second updated (805).
다양한 실시 예에 따르면, 적어도 하나의 외부 전자 장치(203)는 RCS 네트워크 통신 장애로 인하여 동작 711에서 전자 장치(101)로부터 전송된 제1 MSRP 메시지를 수신하지 못할 수 있다. 이에 따라, 상기 적어도 하나의 외부 전자 장치(203)의 제2 인스턴트 메시지 데이터베이스(205) 상에는 제1 MSRP 메시지에 관한 정보가 등록되지 않을 수 있다.According to various embodiments, the at least one external electronic device 203 may not receive the first MSRP message transmitted from the electronic device 101 in operation 711 due to an RCS network communication failure. Accordingly, information regarding the first MSRP message may not be registered in the second instant message database 205 of the at least one external electronic device 203 .
도 9는 또 다른 실시 예에 따른 인스턴트 메시지 운용과 관련한 전자 장치 및 적어도 하나의 외부 전자 장치 간의 동작 흐름을 도시한 도면이고, 도 10은 또 다른 실시 예에 따른 전자 장치 및 적어도 하나의 외부 전자 장치 각각의 인스턴트 메시지 데이터베이스를 도시한 도면이다.9 is a diagram illustrating an operation flow between an electronic device related to instant message operation and at least one external electronic device according to another embodiment, and FIG. 10 is an electronic device and at least one external electronic device according to another embodiment. It is a diagram showing each instant message database.
도 9 및 도 10을 참조하면, 전자 장치(101)의 프로세서(예: 도 2의 프로세서(120))는 적어도 하나의 외부 전자 장치(203)와의 MSRP 세션 개설 이후, 적어도 하나의 외부 전자 장치(203)와 MSRP 메시지를 교환하는 동작에서, 상기 적어도 하나의 외부 전자 장치(203)에 대한 capability discovery를 수행할 수 있다.9 and 10 , the processor of the electronic device 101 (eg, the processor 120 of FIG. 2 ) establishes an MSRP session with at least one external electronic device 203 and then at least one external electronic device ( In the operation of exchanging the MSRP message with 203 ), capability discovery for the at least one external electronic device 203 may be performed.
상술과 관련하여, 동작 901 및 동작 903에서, 프로세서(120)는 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로 SIP 세션의 개설(또는, 연결)을 초대(INVITE)하는 제1 SIP 메시지를 전송할 수 있고, 상기 서버(201)를 통하여 적어도 하나의 외부 전자 장치(203)로부터 상기 초대에 응답(200 OK)하는 제2 SIP 메시지를 수신할 수 있다. 일 실시 예에서, 상기 제2 SIP 메시지에 따른 적어도 하나의 외부 전자 장치(203)의 응답(200 OK)은, 상기 적어도 하나의 외부 전자 장치(203)가 전자 장치(101)와 세션 개설이 가능함을 나타낼 수 있다. 이에 따라, 전자 장치(101)의 제2 SIP 메시지 수신 시, 상기 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 SIP 세션이 개설될 수 있고, 상기 SIP 세션에 기반하는 MSRP 세션이 개설될 수 있다.In relation to the above, in operations 901 and 903 , the processor 120 performs a first invitation (INVITE) the establishment (or connection) of the SIP session to the at least one external electronic device 203 through the server 201 . The SIP message may be transmitted, and a second SIP message responding (200 OK) to the invitation may be received from at least one external electronic device 203 through the server 201 . In an embodiment, in response (200 OK) of the at least one external electronic device 203 according to the second SIP message, the at least one external electronic device 203 can establish a session with the electronic device 101 can indicate Accordingly, upon reception of the second SIP message of the electronic device 101, a SIP session may be established between the electronic device 101 and at least one external electronic device 203, and an MSRP session based on the SIP session can be opened.
동작 905에서, 프로세서(120)는 전자 장치(101) 및 적어도 하나의 외부 전자 장치(203) 사이에 개설된 MSRP 세션을 기반으로 제1 MSRP 메시지를 전송할 수 있다. 예를 들어, 프로세서(120)는 메시지 어플리케이션의 실행 화면에 대하여 콘텐츠(예: 텍스트 타입의 “안녕”)를 입력하는 제1 사용자 입력을 수신하면, 상기 제1 MSRP 메시지를 전송할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 상기 제1 MSRP 메시지의 CPIM 헤더에 사용자로부터 입력된 콘텐츠에 관한 정보를 포함시킬 수 있다. 또한, 프로세서(120)는 상기 제1 MSRP 메시지의 CPIM 바디에 메시지 수신측 장치로 하여금 상기 제1 MSRP 메시지의 처리 상태에 대한 정보(예: 제1 MSRP 메시지의 수신 여부에 대한 파라미터(deliver) 정보 및 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인 여부에 대한 파라미터(display) 정보)와, 상기 메시지 수신측 장치의 capability에 대한 정보(예: 수신한 메시지(또는, 메시지에 포함된 콘텐츠)의 삭제(removable-deliver) 지원 여부)를 제공하도록 요청하는 IMDN 요청을 포함시킬 수 있다. 일 실시 예에서, 프로세서(120)는 상기 제1 MSRP 메시지의 전송에 대응하여, 메모리(예: 도 2의 메모리(130))의 제1 인스턴트 메시지 데이터베이스(131)에 상기 제1 MSRP 메시지에 대한 정보(1001)를 등록(또는, 기록)할 수 있다.In operation 905 , the processor 120 may transmit the first MSRP message based on the MSRP session established between the electronic device 101 and the at least one external electronic device 203 . For example, the processor 120 may transmit the first MSRP message when receiving a first user input for inputting content (eg, text type “hello”) with respect to the execution screen of the message application. According to an embodiment, the processor 120 may include information about the content input by the user in the CPIM header of the first MSRP message. In addition, the processor 120 causes the message receiving device in the CPIM body of the first MSRP message to provide information on the processing status of the first MSRP message (eg, parameter (deliver) information on whether the first MSRP message is received or not. And the first MSRP message (or, the parameter (display) information on whether or not to check the content included in the first MSRP message), and information on the capability of the device receiving the message (eg, the received message (or message) You can include an IMDN request requesting to provide (whether or not removable-deliver) is supported. In one embodiment, in response to the transmission of the first MSRP message, the processor 120 stores the first instant message database 131 in a memory (eg, the memory 130 of FIG. 2 ) for the first MSRP message. Information 1001 may be registered (or recorded).
동작 907에서, 적어도 하나의 외부 전자 장치(203)는 서버(201)를 통하여 전자 장치(101)로부터 전송된 제1 MSRP 메시지를 수신(또는, 제1 MSRP 메시지에 포함된 콘텐츠(“안녕”)를 획득)할 수 있고, 동작 909에서, 상기 제1 MSRP 메시지에 포함된 IMDN 요청에 대하여 응답할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 IMDN 요청에 대한 IMDN 응답을 포함하는 제2 MSRP 메시지를 전송할 수 있다. 일 실시 예에 따르면, 상기 IMDN 응답은 적어도 하나의 외부 전자 장치(203)의 capability를 나타내는 정보(예: 수신한 메시지(또는, 메시지에 포함된 콘텐츠)의 삭제 지원을 나타내는 파라미터(removable) 정보)와, 적어도 하나의 외부 전자 장치(203) 상에서의 제1 MSRP 메시지 처리 상태 정보(예: 제1 MSRP 메시지의 수신을 나타내는 파라미터(delivered) 정보)를 포함할 수 있다.In operation 907, the at least one external electronic device 203 receives the first MSRP message transmitted from the electronic device 101 through the server 201 (or the content included in the first MSRP message (“hello”)) may be obtained), and in operation 909, may respond to the IMDN request included in the first MSRP message. For example, the at least one external electronic device 203 may transmit a second MSRP message including an IMDN response to the IMDN request. According to an embodiment, the IMDN response is information indicating the capability of at least one external electronic device 203 (eg, parameter (removable) information indicating support for deletion of a received message (or content included in the message)) And, the first MSRP message processing status information on the at least one external electronic device 203 (eg, parameter (delivered) information indicating reception of the first MSRP message) may be included.
일 실시 예에 따르면, 전자 장치(101)의 프로세서(120)는 서버(201)를 통하여 상기 적어도 하나의 외부 전자 장치(203)로부터 전송된 제2 MSRP 메시지를 수신할 수 있다. 프로세서(120)는 상기 제2 MSRP 메시지가 포함하는 IMDN 응답에 기초하여, 적어도 하나의 외부 전자 장치(203)가 제1 MSRP 메시지를 수신하였음을 식별할 수 있고, 상기 적어도 하나의 외부 전자 장치(203)의 capability를 확인할 수 있다. 또한, 프로세서(120)는 상기 제2 MSRP 메시지가 포함하는 IMDN 응답에 기초하여, 제1 인스턴트 메시지 데이터베이스(131)에 등록된 제1 MSRP 메시지 정보(1001)를 제1 갱신할 수 있다. 예를 들어, 프로세서(120)는 상기 IMDN 응답에 따른 제1 MSRP 메시지의 처리 상태 정보(예: 제1 MSRP 메시지의 수신을 나타내는 파라미터(delivered) 정보)에 기초하여, 제1 인스턴트 메시지 데이터베이스(131)에 등록된 제1 MSRP 메시지 정보(1001) 내의 콘텐츠 상태(state) 정보를 delivered 상태로 기록함으로써, 상기 등록된 제1 MSRP 메시지 정보(1001)를 제1 갱신(1003)할 수 있다.According to an embodiment, the processor 120 of the electronic device 101 may receive the second MSRP message transmitted from the at least one external electronic device 203 through the server 201 . The processor 120 may identify that the at least one external electronic device 203 has received the first MSRP message based on the IMDN response included in the second MSRP message, and the at least one external electronic device ( 203) can be checked. In addition, the processor 120 may first update the first MSRP message information 1001 registered in the first instant message database 131 based on the IMDN response included in the second MSRP message. For example, the processor 120 based on the processing status information of the first MSRP message according to the IMDN response (eg, parameter (delivered) information indicating reception of the first MSRP message), the first instant message database 131 ), by recording the content state information in the first MSRP message information 1001 registered in the delivered state, the registered first MSRP message information 1001 may be first updated 1003 .
다양한 실시 예에 따르면, 프로세서(120)는 상기 등록된 제1 MSRP 메시지 정보(1001)를 제1 갱신(1003)하는 동작에서, 제2 MSRP 메시지 내의 IMDN 응답을 통하여 확인된 적어도 하나의 외부 전자 장치(203)의 capability 정보(removable)를 상기 제1 인스턴트 메시지 데이터베이스(131) 내에 더 기록할 수도 있다.According to various embodiments, the processor 120 performs the first update 1003 of the registered first MSRP message information 1001, at least one external electronic device identified through the IMDN response in the second MSRP message. Capability information (removable) of 203 may be further recorded in the first instant message database 131 .
동작 911에서, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203)의 사용자에 의해 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)가 확인(read)되면, 전자 장치(101)로 제3 MSRP 메시지를 전송할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203) 상에서의 제1 MSRP 메시지 처리 상태에 대한 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 확인을 나타내는 파라미터(displayed) 정보)를 포함하는 IMDN 응답을 상기 제3 MSRP 메시지의 CPIM 바디에 포함시켜 전송할 수 있다.In operation 911, the at least one external electronic device 203 checks (read) the first MSRP message (or the content included in the first MSRP message) by the user of the at least one external electronic device 203 , may transmit a third MSRP message to the electronic device 101 . For example, the at least one external electronic device 203 provides information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg, the first MSRP message (or the first MSRP message). The IMDN response including the parameter (displayed information) indicating confirmation of the included content) may be transmitted by being included in the CPIM body of the third MSRP message.
일 실시 예에서, 전자 장치(101)의 프로세서(120)는 서버(201)를 통하여 상기 적어도 하나의 외부 전자 장치(203)로부터 전송된 제3 MSRP 메시지를 수신할 수 있다. 프로세서(120)는 상기 제3 MSRP 메시지에 포함된 IMDN 응답에 기초하여 제1 인스턴트 메시지 데이터베이스(131) 상에서 제1 갱신된 제1 MSRP 메시지 정보(1003)를 제2 갱신할 수 있다. 예를 들어, 프로세서(120)는 제1 갱신된 제1 MSRP 메시지 정보(1003) 내의 콘텐츠 상태(state) 정보를 상기 제3 MSRP 메시지에 포함된 IMDN 응답에 기초하는 displayed 상태로 기록함으로써, 상기 제1 갱신된 제1 MSRP 메시지 정보(1003)를 제2 갱신(1005)할 수 있다.In an embodiment, the processor 120 of the electronic device 101 may receive the third MSRP message transmitted from the at least one external electronic device 203 through the server 201 . The processor 120 may second update the first updated first MSRP message information 1003 on the first instant message database 131 based on the IMDN response included in the third MSRP message. For example, the processor 120 records the content state information in the first updated first MSRP message information 1003 in a displayed state based on the IMDN response included in the third MSRP message, thereby 1 The first updated MSRP message information 1003 may be updated to a second (1005).
일 실시 예에 따르면, 프로세서(120)는 메시지 어플리케이션의 실행 화면에 대하여 입력된 콘텐츠(예: 동작 905에서 입력된 텍스트 타입의 “안녕”)의 전송을 취소하기 위한 제2 사용자 입력을 수신할 수 있다. 이러한 경우, 동작 913에서, 프로세서(120)는 전자 장치(101) 상에서의 콘텐츠 처리 상태를 나타내는 제4 MSRP 메시지를 전송할 수 있다. 예를 들어, 프로세서(120)는 전자 장치(101) 상에서의 콘텐츠 처리 상태에 대한 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)를 포함하는 IMDN 요청을 상기 제4 MSRP 메시지의 CPIM 바디에 포함시켜 전송할 수 있다. 또한, 프로세서(120)는 상기 제2 사용자 입력 수신에 대응하여, 제1 인스턴트 메시지 데이터베이스(131) 상에서 제2 갱신된 제1 MSRP 메시지 정보(1005)를 제3 갱신할 수 있다. 예를 들어, 프로세서(120)는 상기 제2 갱신된 제1 MSRP 메시지 정보(1005) 내에서 displayed 상태로 기록된 콘텐츠의 상태(state) 정보를, 현재 전자 장치(101) 상에서의 콘텐츠 처리 상태에 해당하는 canceled 상태로 기록하여, 상기 제2 갱신된 제1 MSRP 메시지 정보(1005)를 제3 갱신(1007)할 수 있다.According to an embodiment, the processor 120 may receive a second user input for canceling transmission of the content input to the execution screen of the message application (eg, “hello” of the text type input in operation 905). there is. In this case, in operation 913 , the processor 120 may transmit a fourth MSRP message indicating a content processing state on the electronic device 101 . For example, the processor 120 transmits an IMDN request including information on a content processing status on the electronic device 101 (eg, parameter (canceled) information indicating cancellation of content transmission) to the CPIM of the fourth MSRP message. It can be transmitted by including it in the body. In addition, the processor 120 may thirdly update the second updated first MSRP message information 1005 on the first instant message database 131 in response to receiving the second user input. For example, the processor 120 transmits the state information of the content recorded in the displayed state in the second updated first MSRP message information 1005 to the content processing state on the current electronic device 101 . By recording the corresponding canceled state, the second updated first MSRP message information 1005 may be updated by a third (1007).
일 실시 예에서, 적어도 하나의 외부 전자 장치(203)는 서버(201)를 통하여 전자 장치(101)로부터 전송된 제4 MSRP 메시지를 수신할 수 있고, 상기 제4 MSRP 메시지에 포함된 IMDN 요청 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)에 기초하여 전자 장치(101) 상에서의 콘텐츠 처리 상태를 식별할 수 있다. 이에 대응하여, 적어도 하나의 외부 전자 장치(203)는 제2 인스턴트 메시지 데이터베이스(205)에 사전 등록된(또는, 사전 갱신된) 제1 MSRP 메시지 정보를 갱신(1009)할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 사전 등록된 제1 MSRP 메시지 정보 내의 콘텐츠 상태(state) 정보를 상기 제4 MSRP 메시지 내의 IMDN 요청 정보(예: 콘텐츠의 전송 취소를 나타내는 파라미터(canceled) 정보)에 기초하는 canceled 상태로 기록할 수 있다. 또한, 적어도 하나의 외부 전자 장치(203)는 해당 외부 전자 장치(203) 상에서의 콘텐츠 상태를 전자 장치(101) 상에서의 콘텐츠 상태와 대응시킬 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 제4 MSRP 메시지 내의 IMDN 요청에 기초하여, 메시지 어플리케이션의 실행 화면에서 표시 중인 콘텐츠를 삭제(또는, 표시 중단)할 수 있다. 다양한 실시 예에서, 적어도 하나의 외부 전자 장치(203)는 상기 표시 중인 콘텐츠를 삭제(또는, 표시 중단)함에 따라, 상기 갱신(1009)된 제1 MSRP 메시지 정보 내의 콘텐츠 상태(state) 정보를 콘텐츠의 삭제를 나타내는 deleted 상태로 더 갱신할 수도 있다.In an embodiment, the at least one external electronic device 203 may receive the fourth MSRP message transmitted from the electronic device 101 through the server 201, and IMDN request information included in the fourth MSRP message. The content processing state on the electronic device 101 may be identified based on (eg, parameter information indicating cancellation of content transmission). Correspondingly, the at least one external electronic device 203 may update ( 1009 ) the first MSRP message information pre-registered (or pre-updated) in the second instant message database 205 . For example, the at least one external electronic device 203 transmits content state information in the pre-registered first MSRP message information to IMDN request information (eg, a parameter indicating cancellation of content transmission) in the fourth MSRP message. (canceled) information) can be recorded as canceled status. Also, the at least one external electronic device 203 may match the content state on the corresponding external electronic device 203 with the content state on the electronic device 101 . For example, the at least one external electronic device 203 may delete (or stop displaying) the content being displayed on the execution screen of the message application based on the IMDN request in the fourth MSRP message. In various embodiments, as at least one external electronic device 203 deletes (or stops displaying) the content being displayed, the content state information in the updated 1009 first MSRP message information is included in the content. It can also be updated further with a deleted state indicating the deletion of .
다양한 실시 예에서, 적어도 하나의 외부 전자 장치(203)는 상기 표시 중인 콘텐츠의 삭제 이후, 제4 MSRP 메시지에 포함된 IMDN 요청에 응답할 수 있다. 예를 들어, 적어도 하나의 외부 전자 장치(203)는 상기 적어도 하나의 외부 전자 장치(203) 상에서의 제1 MSRP 메시지 처리 상태에 대한 정보(예: 제1 MSRP 메시지(또는, 제1 MSRP 메시지에 포함된 콘텐츠)의 삭제를 나타내는 파라미터(deleted) 정보)를 포함하는 IMDN 응답을 MSRP 메시지에 포함시켜 전자 장치(101)로 전송할 수 있다.In various embodiments, the at least one external electronic device 203 may respond to the IMDN request included in the fourth MSRP message after the content being displayed is deleted. For example, the at least one external electronic device 203 provides information on the processing status of the first MSRP message on the at least one external electronic device 203 (eg, the first MSRP message (or the first MSRP message). The IMDN response including the parameter (deleted information) indicating deletion of the included content) may be included in the MSRP message and transmitted to the electronic device 101 .
전술된 다양한 실시 예에 따른 전자 장치는, 통신 모듈, 디스플레이, 메모리, 및 상기 통신 모듈, 상기 디스플레이, 및 상기 메모리와 작동적으로 연결된 프로세서를 포함할 수 있다.The electronic device according to various embodiments described above may include a communication module, a display, a memory, and a processor operatively connected to the communication module, the display, and the memory.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 통신 모듈을 이용하여 적어도 하나의 외부 전자 장치와 RCS(rich communication suite) 네트워크 통신을 수립하고, 상기 디스플레이를 이용하여 상기 메모리에 저장된 인스턴트 메시지(instant message) 어플리케이션의 실행 화면에 콘텐츠를 입력하는 제1 사용자 입력을 수신하고, 상기 제1 사용자 입력 수신에 대응하여 상기 메모리에 상기 입력된 콘텐츠에 대한 제1 상태 정보를 기록하고, 상기 디스플레이를 이용하여 상기 입력된 콘텐츠의 전송을 취소하는 제2 사용자 입력을 수신하고, 상기 제2 사용자 입력 수신에 대응하여 상기 메모리에 상기 입력된 콘텐츠에 대한 상기 제1 상태 정보를 상기 전송 취소에 대응하는 제2 상태 정보로 갱신하여 기록하고, 상기 통신 모듈을 이용한 상기 RCS 네트워크 통신을 기반으로 상기 적어도 하나의 외부 전자 장치로 상기 제2 상태 정보를 포함하는 IMDN(instant message disposition notification) 요청을 전송할 수 있다.According to various embodiments, the processor establishes a rich communication suite (RCS) network communication with at least one external electronic device using the communication module, and uses the display to generate an instant message stored in the memory. Receives a first user input for inputting content on an execution screen of an application, records first state information on the inputted content in the memory in response to receiving the first user input, and uses the display to input the input Receives a second user input for canceling transmission of the content, and converts the first state information about the content input into the memory in response to the reception of the second user input as second state information corresponding to the cancellation of the transmission It may be updated and recorded, and an instant message disposition notification (IMDN) request including the second state information may be transmitted to the at least one external electronic device based on the RCS network communication using the communication module.
다양한 실시 예에 따르면, 상기 IMDN 요청은, 상기 전자 장치 및 상기 적어도 하나의 외부 전자 장치 사이에서 상기 RCS 네트워크 통신을 지원하는 외부 서버를 경유하여 상기 적어도 하나의 외부 전자 장치로 전달될 수 있다.According to various embodiments, the IMDN request may be transmitted to the at least one external electronic device via an external server supporting the RCS network communication between the electronic device and the at least one external electronic device.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제1 사용자 입력 수신에 대응하여 상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송할 수 있다.According to various embodiments, the processor may transmit a first message including information on the inputted content to the at least one external electronic device in response to receiving the first user input.
다양한 실시 예에 따르면, 상기 제1 메시지는, 상기 적어도 하나의 외부 전자 장치가 상기 제1 메시지의 수신 여부에 대한 정보 및 상기 제1 메시지의 확인(read) 여부에 대한 정보 중 적어도 하나를 제공하도록 요청하는 제1 요청을 포함할 수 있다.According to various embodiments, the first message is such that the at least one external electronic device provides at least one of information on whether the first message has been received and information on whether the first message has been read. It may include a first request making a request.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제1 요청에 대한 제1 응답을 포함하는 제2 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하고, 상기 제1 응답이 포함하는 상기 제1 메시지의 수신 여부에 관한 제1 파라미터 및 상기 제1 메시지의 확인 여부에 관한 제2 파라미터 중 적어도 하나에 기초하여 상기 제1 상태 정보를 기록할 수 있다.According to various embodiments, the processor receives a second message including a first response to the first request from the at least one external electronic device, and receives the first message included in the first response The first state information may be recorded based on at least one of a first parameter regarding whether or not and a second parameter regarding whether to confirm the first message.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제2 사용자 입력 수신에 대응하여 상기 입력된 콘텐츠의 전송 취소를 나타내는 제3 파라미터를 기초로 상기 제2 상태 정보를 기록할 수 있다.According to various embodiments, the processor may record the second state information based on a third parameter indicating cancellation of transmission of the inputted content in response to receiving the second user input.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 적어도 하나의 외부 전자 장치와 세션을 개설하기 이전 시점(time)에 상기 적어도 하나의 외부 전자 장치의 콘텐츠 삭제 지원 여부에 관한 정보를 획득할 수 있다.According to various embodiments of the present disclosure, the processor may acquire information on whether the at least one external electronic device supports content deletion at a time before establishing a session with the at least one external electronic device.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 IMDN 요청을 포함하는 제3 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하고, 상기 IMDN 요청에 대한 IMDN 응답을 포함하는 제4 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신할 수 있다.According to various embodiments, the processor transmits a third message including the IMDN request to the at least one external electronic device, and transmits a fourth message including an IMDN response to the IMDN request to the at least one external device. may be received from the electronic device.
다양한 실시 예에 따르면, 상기 IMDN 응답은, 상기 적어도 하나의 외부 전자 장치에서 상기 입력된 콘텐츠와 대응하는 콘텐츠가 삭제되었음을 나타내는 제4 파라미터를 포함할 수 있다.According to various embodiments, the IMDN response may include a fourth parameter indicating that the content corresponding to the input content has been deleted from the at least one external electronic device.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제4 파라미터에 기초하여 상기 제2 상태 정보를 제3 상태 정보로 갱신하여 기록할 수 있다.According to various embodiments, the processor may update and record the second state information as third state information based on the fourth parameter.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제1 사용자 입력 수신에 대응하여 상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하고, 상기 제1 메시지의 전송 시점을 기준하여 지정된 시간 이내에 상기 제1 메시지에 응답하는 제2 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하지 않는 경우, 상기 적어도 하나의 외부 전자 장치로의 상기 제1 메시지 전송 취소를 나타내는 제5 메시지를 상기 외부 서버로 전송할 수 있다.According to various embodiments of the present disclosure, the processor transmits a first message including information on the inputted content to the at least one external electronic device in response to receiving the first user input, and transmits the first message a fifth indicating cancellation of transmission of the first message to the at least one external electronic device when a second message in response to the first message is not received from the at least one external electronic device within a specified time based on a time point The message may be transmitted to the external server.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제5 메시지 전송에 대응하여 상기 제1 메시지의 전송 취소를 나타내는 제5 파라미터를 기초로 상기 제1 상태 정보를 제4 상태 정보로 갱신하여 기록할 수 있다.According to various embodiments, the processor may update and record the first state information to fourth state information based on a fifth parameter indicating cancellation of transmission of the first message in response to transmission of the fifth message .
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제1 사용자 입력 수신에 대응하여 상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송할 수 있다.According to various embodiments, the processor may transmit a first message including information on the inputted content to the at least one external electronic device in response to receiving the first user input.
다양한 실시 예에 따르면, 상기 제1 메시지는, 상기 적어도 하나의 외부 전자 장치가 콘텐츠 삭제 지원 여부에 관한 정보를 제공하도록 요청하는 제1 요청을 포함할 수 있다.According to various embodiments of the present disclosure, the first message may include a first request for requesting that the at least one external electronic device provide information on whether to support content deletion.
다양한 실시 예에 따르면, 상기 프로세서는, 상기 제2 사용자 입력 수신에 대응하여 상기 인스턴트 메시지 어플리케이션의 실행 화면에 상기 입력된 콘텐츠의 전송 취소를 안내하는 콘텐츠를 표시할 수 있다.According to various embodiments of the present disclosure, in response to receiving the second user input, the processor may display content for guiding cancellation of transmission of the input content on the execution screen of the instant message application.
전술된 다양한 실시 예에 따른 전자 장치의 인스턴트 메시지 운용 방법은, 상기 전자 장치의 통신 모듈을 이용하여 적어도 하나의 외부 전자 장치와 RCS(rich communication suite) 네트워크 통신을 수립하는 동작, 상기 전자 장치의 디스플레이를 이용하여 상기 전자 장치의 메모리에 저장된 인스턴트 메시지(instant message) 어플리케이션의 실행 화면에 콘텐츠를 입력하는 제1 사용자 입력을 수신하는 동작, 상기 제1 사용자 입력 수신에 대응하여 상기 메모리에 상기 입력된 콘텐츠에 대한 제1 상태 정보를 기록하는 동작, 상기 디스플레이를 이용하여 상기 입력된 콘텐츠의 전송을 취소하는 제2 사용자 입력을 수신하는 동작, 상기 제2 사용자 입력 수신에 대응하여 상기 메모리에 상기 입력된 콘텐츠에 대한 상기 제1 상태 정보를 상기 전송 취소에 대응하는 제2 상태 정보로 갱신하여 기록하는 동작, 및 상기 통신 모듈을 이용한 상기 RCS 네트워크 통신을 기반으로 상기 적어도 하나의 외부 전자 장치로 상기 제2 상태 정보를 포함하는 IMDN(instant message disposition notification) 요청을 전송하는 동작을 포함할 수 있다.The instant message operation method of the electronic device according to the various embodiments described above includes establishing a rich communication suite (RCS) network communication with at least one external electronic device using a communication module of the electronic device, and displaying the electronic device. receiving a first user input for inputting content into an execution screen of an instant message application stored in the memory of the electronic device using Recording first state information on the , receiving a second user input for canceling transmission of the inputted content using the display, and receiving the inputted content into the memory in response to receiving the second user input an operation of updating and recording the first state information for a second state information corresponding to the transmission cancellation, and the second state to the at least one external electronic device based on the RCS network communication using the communication module It may include an operation of transmitting an instant message disposition notification (IMDN) request including information.
다양한 실시 예에 따르면, 상기 제1 사용자 입력을 수신하는 동작은, 상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하는 동작을 포함할 수 있다.According to various embodiments, the receiving of the first user input may include transmitting a first message including information on the inputted content to the at least one external electronic device.
다양한 실시 예에 따르면, 상기 제1 메시지는, 상기 적어도 하나의 외부 전자 장치가 상기 제1 메시지의 수신 여부에 대한 정보 및 상기 제1 메시지의 확인(read) 여부에 대한 정보 중 적어도 하나를 제공하도록 요청하는 제1 요청을 포함할 수 있다.According to various embodiments, the first message is such that the at least one external electronic device provides at least one of information on whether the first message has been received and information on whether the first message has been read. It may include a first request making a request.
다양한 실시 예에 따르면, 상기 인스턴트 메시지 운용 방법은, 상기 제1 요청에 대한 제1 응답을 포함하는 제2 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, the instant message operating method may further include receiving a second message including a first response to the first request from the at least one external electronic device.
다양한 실시 예에 따르면, 상기 제1 상태 정보를 기록하는 동작은, 상기 제1 응답이 포함하는 상기 제1 메시지의 수신 여부에 관한 제1 파라미터 및 상기 제1 메시지의 확인 여부에 관한 제2 파라미터 중 적어도 하나에 기초하여 상기 제1 상태 정보를 기록하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the recording of the first state information includes a first parameter regarding whether the first message included in the first response is received and a second parameter regarding whether the first message is checked. and recording the first state information based on at least one.
다양한 실시 예에 따르면, 상기 제2 상태 정보로 갱신하여 기록하는 동작은, 상기 입력된 콘텐츠의 전송 취소를 나타내는 제3 파라미터를 기초로 상기 제2 상태 정보를 기록하는 동작을 포함할 수 있다.According to various embodiments, the operation of updating and recording the second state information may include the operation of recording the second state information based on a third parameter indicating cancellation of transmission of the input content.
다양한 실시 예에 따르면, 상기 IMDN 요청을 전송하는 동작은, 상기 IMDN 요청을 포함하는 제3 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하는 동작 및 상기 IMDN 요청에 대한 IMDN 응답을 포함하는 제4 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하는 동작을 포함할 수 있다.According to various embodiments, the transmitting of the IMDN request includes transmitting a third message including the IMDN request to the at least one external electronic device and a fourth message including an IMDN response to the IMDN request and receiving from the at least one external electronic device.
다양한 실시 예에 따르면, 상기 IMDN 응답은, 상기 적어도 하나의 외부 전자 장치에서 상기 입력된 콘텐츠와 대응하는 콘텐츠가 삭제되었음을 나타내는 제4 파라미터를 포함할 수 있다.According to various embodiments, the IMDN response may include a fourth parameter indicating that the content corresponding to the input content has been deleted from the at least one external electronic device.
다양한 실시 예에 따르면, 상기 제4 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하는 동작은, 상기 제4 파라미터에 기초하여 상기 제2 상태 정보를 제3 상태 정보로 갱신하여 기록하는 동작을 포함할 수 있다.According to various embodiments, the receiving of the fourth message from the at least one external electronic device may include updating and recording the second state information to third state information based on the fourth parameter. can
다양한 실시 예에 따르면, 상기 제1 사용자 입력을 수신하는 동작은, 상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하는 동작 및 상기 제1 메시지의 전송 시점을 기준하여 지정된 시간 이내에 상기 제1 메시지에 응답하는 제2 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하지 않는 경우, 상기 적어도 하나의 외부 전자 장치로의 상기 제1 메시지 전송 취소를 나타내는 제5 메시지를 상기 전자 장치 및 상기 적어도 하나의 외부 전자 장치 사이에서 상기 RCS 네트워크 통신을 지원하는 외부 서버로 전송하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the receiving of the first user input includes transmitting a first message including information on the inputted content to the at least one external electronic device and a transmission time of the first message A fifth message indicating cancellation of transmission of the first message to the at least one external electronic device when a second message in response to the first message is not received from the at least one external electronic device within a specified time based on and transmitting to an external server supporting the RCS network communication between the electronic device and the at least one external electronic device.
다양한 실시 예에 따르면, 상기 제5 메시지를 전송하는 동작은, 상기 제1 메시지의 전송 취소를 나타내는 제5 파라미터를 기초로 상기 제1 상태 정보를 제4 상태 정보로 갱신하여 기록하는 동작을 포함할 수 있다.According to various embodiments, the transmitting of the fifth message may include updating and recording the first state information into fourth state information based on a fifth parameter indicating cancellation of transmission of the first message. can
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may be a device of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.
본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나",“A 또는 B 중 적어도 하나,”"A, B 또는 C," "A, B 및 C 중 적어도 하나,”및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”로 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B,” “A, B or C,” “at least one of A, B and C,” and “A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other components in question, and may refer to components in other aspects (e.g., importance or order) is not limited. One (eg, first) component is referred to as “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.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably 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. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시 예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101) may be implemented as software (eg, the program 140) including For example, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command. 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. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain 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.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the methods according to various embodiments disclosed in this document may be provided by being included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed online (eg download or upload), directly between smartphones (eg smartphones). In the case of online distribution, at least 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.
다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities. According to various embodiments, 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. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, 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. . According to various embodiments, 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, omitted, or , or one or more other operations may be added.

Claims (15)

  1. 전자 장치에 있어서,In an electronic device,
    통신 모듈;communication module;
    디스플레이;display;
    메모리; 및Memory; and
    상기 통신 모듈, 상기 디스플레이, 및 상기 메모리와 작동적으로 연결된 프로세서;를 포함하고,a processor operatively coupled to the communication module, the display, and the memory;
    상기 프로세서는,The processor is
    상기 통신 모듈을 이용하여, 적어도 하나의 외부 전자 장치와 RCS(rich communication suite) 네트워크 통신을 수립하고,By using the communication module, at least one external electronic device and RCS (rich communication suite) network communication is established,
    상기 디스플레이를 이용하여, 상기 메모리에 저장된 인스턴트 메시지(instant message) 어플리케이션의 실행 화면에 콘텐츠를 입력하는 제1 사용자 입력을 수신하고,receiving a first user input for inputting content into an execution screen of an instant message application stored in the memory using the display;
    상기 제1 사용자 입력 수신에 대응하여, 상기 메모리에, 상기 입력된 콘텐츠에 대한 제1 상태 정보를 기록하고,In response to receiving the first user input, recording first state information about the inputted content in the memory,
    상기 디스플레이를 이용하여, 상기 입력된 콘텐츠의 전송을 취소하는 제2 사용자 입력을 수신하고,receiving a second user input for canceling transmission of the inputted content by using the display;
    상기 제2 사용자 입력 수신에 대응하여, 상기 메모리에, 상기 입력된 콘텐츠에 대한 상기 제1 상태 정보를 상기 전송 취소에 대응하는 제2 상태 정보로 갱신하여 기록하고,In response to receiving the second user input, updating and recording the first state information on the inputted content with second state information corresponding to the cancellation of the transmission in the memory;
    상기 통신 모듈을 이용한 상기 RCS 네트워크 통신을 기반으로, 상기 적어도 하나의 외부 전자 장치로 상기 제2 상태 정보를 포함하는 IMDN(instant message disposition notification) 요청을 전송하도록 설정된, 전자 장치.An electronic device configured to transmit an instant message disposition notification (IMDN) request including the second status information to the at least one external electronic device based on the RCS network communication using the communication module.
  2. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 제1 사용자 입력 수신에 대응하여, 상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하고,In response to receiving the first user input, transmitting a first message including information on the inputted content to the at least one external electronic device,
    상기 제1 메시지는,The first message is
    상기 적어도 하나의 외부 전자 장치가 상기 제1 메시지의 수신 여부에 대한 정보 및 상기 제1 메시지의 확인(read) 여부에 대한 정보 중 적어도 하나를 제공하도록 요청하는 제1 요청을 포함하는, 전자 장치.and a first request for requesting that the at least one external electronic device provide at least one of information on whether the first message has been received and information on whether the first message has been read.
  3. 제2항에 있어서,3. The method of claim 2,
    상기 프로세서는,The processor is
    상기 제1 요청에 대한 제1 응답을 포함하는 제2 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하고,receiving a second message including a first response to the first request from the at least one external electronic device;
    상기 제1 응답이 포함하는 상기 제1 메시지의 수신 여부에 관한 제1 파라미터 및 상기 제1 메시지의 확인 여부에 관한 제2 파라미터 중 적어도 하나에 기초하여 상기 제1 상태 정보를 기록하도록 설정된, 전자 장치.The electronic device configured to record the first status information based on at least one of a first parameter related to whether the first message included in the first response is received and a second parameter related to whether the first message is confirmed .
  4. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 제2 사용자 입력 수신에 대응하여, 상기 입력된 콘텐츠의 전송 취소를 나타내는 제3 파라미터를 기초로 상기 제2 상태 정보를 기록하도록 설정된, 전자 장치.In response to receiving the second user input, the electronic device is configured to record the second status information based on a third parameter indicating cancellation of transmission of the inputted content.
  5. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 IMDN 요청을 포함하는 제3 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하고,transmitting a third message including the IMDN request to the at least one external electronic device;
    상기 IMDN 요청에 대한 IMDN 응답을 포함하는 제4 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하도록 설정된, 전자 장치.The electronic device is configured to receive a fourth message including an IMDN response to the IMDN request from the at least one external electronic device.
  6. 제5항에 있어서,6. The method of claim 5,
    상기 IMDN 응답은,The IMDN response is
    상기 적어도 하나의 외부 전자 장치에서 상기 입력된 콘텐츠와 대응하는 콘텐츠가 삭제되었음을 나타내는 제4 파라미터를 포함하고,a fourth parameter indicating that the content corresponding to the input content has been deleted from the at least one external electronic device;
    상기 프로세서는,The processor is
    상기 제4 파라미터에 기초하여 상기 제2 상태 정보를 제3 상태 정보로 갱신하여 기록하도록 설정된, 전자 장치.and the electronic device is configured to update and record the second state information to third state information based on the fourth parameter.
  7. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 제1 사용자 입력 수신에 대응하여, 상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하고,In response to receiving the first user input, transmitting a first message including information on the inputted content to the at least one external electronic device,
    상기 제1 메시지의 전송 시점을 기준하여 지정된 시간 이내에, 상기 제1 메시지에 응답하는 제2 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하지 않는 경우, 상기 적어도 하나의 외부 전자 장치로의 상기 제1 메시지 전송 취소를 나타내는 제5 메시지를 상기 전자 장치 및 상기 적어도 하나의 외부 전자 장치 사이에서 상기 RCS 네트워크 통신을 지원하는 외부 서버로 전송하도록 설정된, 전자 장치.When a second message in response to the first message is not received from the at least one external electronic device within a specified time based on the transmission time of the first message, the first message to the at least one external electronic device The electronic device is configured to transmit a fifth message indicating cancellation of message transmission to an external server supporting the RCS network communication between the electronic device and the at least one external electronic device.
  8. 제1항에 있어서,According to claim 1,
    상기 프로세서는,The processor is
    상기 제1 사용자 입력 수신에 대응하여, 상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하고,In response to receiving the first user input, transmitting a first message including information on the inputted content to the at least one external electronic device,
    상기 제1 메시지는,The first message is
    상기 적어도 하나의 외부 전자 장치가 콘텐츠 삭제 지원 여부에 관한 정보를 제공하도록 요청하는 제1 요청을 포함하는, 전자 장치.and a first request for requesting that the at least one external electronic device provide information on whether to support content deletion.
  9. 전자 장치의 인스턴트 메시지 운용 방법에 있어서,A method for operating an instant message in an electronic device, the method comprising:
    상기 전자 장치의 통신 모듈을 이용하여, 적어도 하나의 외부 전자 장치와 RCS(rich communication suite) 네트워크 통신을 수립하는 동작;establishing a rich communication suite (RCS) network communication with at least one external electronic device by using the communication module of the electronic device;
    상기 전자 장치의 디스플레이를 이용하여, 상기 전자 장치의 메모리에 저장된 인스턴트 메시지(instant message) 어플리케이션의 실행 화면에 콘텐츠를 입력하는 제1 사용자 입력을 수신하는 동작;receiving a first user input for inputting content into an execution screen of an instant message application stored in a memory of the electronic device using the display of the electronic device;
    상기 제1 사용자 입력 수신에 대응하여, 상기 메모리에, 상기 입력된 콘텐츠에 대한 제1 상태 정보를 기록하는 동작;in response to receiving the first user input, recording first state information about the inputted content in the memory;
    상기 디스플레이를 이용하여, 상기 입력된 콘텐츠의 전송을 취소하는 제2 사용자 입력을 수신하는 동작;receiving a second user input for canceling transmission of the inputted content using the display;
    상기 제2 사용자 입력 수신에 대응하여, 상기 메모리에, 상기 입력된 콘텐츠에 대한 상기 제1 상태 정보를 상기 전송 취소에 대응하는 제2 상태 정보로 갱신하여 기록하는 동작; 및in response to receiving the second user input, updating and recording the first state information on the inputted content with second state information corresponding to the cancellation of the transmission in the memory; and
    상기 통신 모듈을 이용한 상기 RCS 네트워크 통신을 기반으로, 상기 적어도 하나의 외부 전자 장치로 상기 제2 상태 정보를 포함하는 IMDN(instant message disposition notification) 요청을 전송하는 동작;을 포함하는, 인스턴트 메시지 운용 방법.Transmitting an instant message disposition notification (IMDN) request including the second status information to the at least one external electronic device based on the RCS network communication using the communication module; .
  10. 제9항에 있어서,10. The method of claim 9,
    상기 제1 사용자 입력을 수신하는 동작은,The operation of receiving the first user input includes:
    상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하는 동작;을 포함하고,and transmitting a first message including information on the input content to the at least one external electronic device;
    상기 제1 메시지는,The first message is
    상기 적어도 하나의 외부 전자 장치가 상기 제1 메시지의 수신 여부에 대한 정보 및 상기 제1 메시지의 확인(read) 여부에 대한 정보 중 적어도 하나를 제공하도록 요청하는 제1 요청을 포함하는, 인스턴트 메시지 운용 방법.and a first request for the at least one external electronic device to provide at least one of information on whether the first message has been received and information on whether the first message has been read. method.
  11. 제10항에 있어서,11. The method of claim 10,
    상기 제1 요청에 대한 제1 응답을 포함하는 제2 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하는 동작;을 더 포함하고,The method further includes: receiving a second message including a first response to the first request from the at least one external electronic device;
    상기 제1 상태 정보를 기록하는 동작은,The operation of recording the first state information includes:
    상기 제1 응답이 포함하는 상기 제1 메시지의 수신 여부에 관한 제1 파라미터 및 상기 제1 메시지의 확인 여부에 관한 제2 파라미터 중 적어도 하나에 기초하여 상기 제1 상태 정보를 기록하는 동작;을 포함하는, 인스턴트 메시지 운용 방법.Recording the first status information based on at least one of a first parameter related to whether the first message included in the first response has been received and a second parameter related to whether the first message has been confirmed; includes How to operate an instant message.
  12. 제9항에 있어서,10. The method of claim 9,
    상기 제2 상태 정보로 갱신하여 기록하는 동작은,The operation of updating and recording the second state information includes:
    상기 입력된 콘텐츠의 전송 취소를 나타내는 제3 파라미터를 기초로 상기 제2 상태 정보를 기록하는 동작;을 포함하는, 인스턴트 메시지 운용 방법.and recording the second status information based on a third parameter indicating cancellation of transmission of the inputted content.
  13. 제9항에 있어서,10. The method of claim 9,
    상기 IMDN 요청을 전송하는 동작은,The operation of transmitting the IMDN request is,
    상기 IMDN 요청을 포함하는 제3 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하는 동작; 및transmitting a third message including the IMDN request to the at least one external electronic device; and
    상기 IMDN 요청에 대한 IMDN 응답을 포함하는 제4 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하는 동작;을 포함하는, 인스턴트 메시지 운용 방법.and receiving, from the at least one external electronic device, a fourth message including an IMDN response to the IMDN request.
  14. 제13항에 있어서,14. The method of claim 13,
    상기 IMDN 응답은,The IMDN response is
    상기 적어도 하나의 외부 전자 장치에서 상기 입력된 콘텐츠와 대응하는 콘텐츠가 삭제되었음을 나타내는 제4 파라미터를 포함하고,a fourth parameter indicating that the content corresponding to the input content has been deleted from the at least one external electronic device;
    상기 제4 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하는 동작은,Receiving the fourth message from the at least one external electronic device includes:
    상기 제4 파라미터에 기초하여 상기 제2 상태 정보를 제3 상태 정보로 갱신하여 기록하는 동작;을 포함하는, 인스턴트 메시지 운용 방법.and updating and recording the second state information as third state information based on the fourth parameter.
  15. 제9항에 있어서,10. The method of claim 9,
    상기 제1 사용자 입력을 수신하는 동작은,The operation of receiving the first user input includes:
    상기 입력된 콘텐츠에 대한 정보를 포함하는 제1 메시지를 상기 적어도 하나의 외부 전자 장치로 전송하는 동작; 및transmitting a first message including information on the input content to the at least one external electronic device; and
    상기 제1 메시지의 전송 시점을 기준하여 지정된 시간 이내에, 상기 제1 메시지에 응답하는 제2 메시지를 상기 적어도 하나의 외부 전자 장치로부터 수신하지 않는 경우, 상기 적어도 하나의 외부 전자 장치로의 상기 제1 메시지 전송 취소를 나타내는 제5 메시지를 상기 전자 장치 및 상기 적어도 하나의 외부 전자 장치 사이에서 상기 RCS 네트워크 통신을 지원하는 외부 서버로 전송하는 동작;을 포함하는, 인스턴트 메시지 운용 방법.When a second message in response to the first message is not received from the at least one external electronic device within a specified time based on the transmission time of the first message, the first message to the at least one external electronic device and transmitting a fifth message indicating cancellation of message transmission to an external server supporting the RCS network communication between the electronic device and the at least one external electronic device.
PCT/KR2021/011129 2020-08-27 2021-08-20 Instant message operation method and electronic device supporting same WO2022045682A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2020-0108653 2020-08-27
KR1020200108653A KR20220027586A (en) 2020-08-27 2020-08-27 Method for operating instant message and electronic device supporting the same

Publications (1)

Publication Number Publication Date
WO2022045682A1 true WO2022045682A1 (en) 2022-03-03

Family

ID=80353604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/011129 WO2022045682A1 (en) 2020-08-27 2021-08-20 Instant message operation method and electronic device supporting same

Country Status (2)

Country Link
KR (1) KR20220027586A (en)
WO (1) WO2022045682A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019160380A1 (en) * 2018-02-15 2019-08-22 Samsung Electronics Co., Ltd. Handling instant message disposition notification (imdn) message in rich communication service (rcs) system
WO2020013651A1 (en) * 2018-07-13 2020-01-16 삼성전자 주식회사 Electronic device and method for transmitting content of electronic device
US20200127950A1 (en) * 2017-07-18 2020-04-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method, device, storage medium and electronic device for sending multimedia-message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200127950A1 (en) * 2017-07-18 2020-04-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method, device, storage medium and electronic device for sending multimedia-message
WO2019160380A1 (en) * 2018-02-15 2019-08-22 Samsung Electronics Co., Ltd. Handling instant message disposition notification (imdn) message in rich communication service (rcs) system
WO2020013651A1 (en) * 2018-07-13 2020-01-16 삼성전자 주식회사 Electronic device and method for transmitting content of electronic device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"TTAS Standard no. TTAK.KO-06.0410/R1", vol. TTAK.KO-06.0410/R1, 28 June 2017, TELECOMMUNICATIONS TECHNOLOGY ASSOCIATION., Korea, article "RCS Service Terminal Interworking Specification. ", pages: 1 - 217, XP009534415 *
VAN PELT TOM: "Rich Communication Suite -Advanced Communications Services and Client Specification Version 11.0", GSM ASSOCIATION - NON-CONFIDENTIAL OFFICIAL DOCUMENT RCC.07, 16 October 2019 (2019-10-16), XP055857948, Retrieved from the Internet <URL:https://www.gsma.com/futurenetworks/wp-content/uploads/2019/10/RCC.07-v11.0.pdf> [retrieved on 20211104] *

Also Published As

Publication number Publication date
KR20220027586A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
WO2022010134A1 (en) Message encryption method and electronic device
WO2022092824A1 (en) Electronic device using carrier network and operation method thereof
WO2023058860A1 (en) Electronic device for processing multi-signed apk file, and operating method therefor
WO2022045682A1 (en) Instant message operation method and electronic device supporting same
WO2022114596A1 (en) Electronic device for controlling power consumption of accessory device and operating method therefor
WO2022065788A1 (en) Electronic device for receiving or transmitting rcs data, and method for operating electronic device
WO2022030891A1 (en) Method for restoring backup data and electronic device therefor
WO2022154361A1 (en) Electronic device for processing message and operation method therefor
WO2022071665A1 (en) Electronic device for synchronizing call waiting function in network environment, and method related thereto
WO2021177640A1 (en) Method for controlling application of external electronic device and electronic device supporting same
WO2022098004A1 (en) Electronic device for transmitting data through communication connection, and operation method thereof
WO2023068507A1 (en) Electronic device for providing rcs function, and operation method thereof
WO2024085728A1 (en) Electronic device, and method for uploading data from external electronic device to electronic device
WO2024072117A1 (en) Electronic device and communication method between applications
WO2022035028A1 (en) Electronic device and method for controlling bluetooth connection in electronic device
WO2024101878A1 (en) Method for recovering damaged metadata, and electronic device supporting same
WO2021182769A1 (en) Network connection method and electronic device supporting same
WO2022250280A1 (en) Electronic device for transmitting files and method for operating same
WO2021256720A1 (en) Method for transmitting request to external device, and electronic device supporting same
WO2022025403A1 (en) Electronic device for sharing file and file sharing method therefor
WO2024076008A1 (en) Electronic device, method, and non-transitory computer-readable storage medium for sharing file
WO2022086057A1 (en) Electronic device and method for recording call
WO2022177114A1 (en) Electronic device establishing communication on basis of identification information of network connected to external electronic device, and method for operating electronic device
WO2022191540A1 (en) Electronic device for sharing application
WO2024063516A1 (en) Customizing software provision device and method

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21861979

Country of ref document: EP

Kind code of ref document: A1