Message processing method and electronic device supporting the same

By receiving and combining undefined data of multi-page messages in an electronic device, the problem of multi-page message encoding and decoding errors is solved, and the normal processing of text messages is achieved.

CN112131836BActive Publication Date: 2025-07-04SAMSUNG ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010868526.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2014-02-23
Filing Date
2015-02-23
Publication Date
2025-07-04
Estimated Expiration
2035-02-23

AI Technical Summary

Technical Problem

When the content data size of a text message exceeds a specific value, the electronic device of the related technology automatically converts it into a multi-page format, but errors may occur during the encoding and decoding process.

Method used

An electronic device is provided, including a communication interface and a control module, for receiving multi-page messages and combining the data of the next page with the undefined data when undefined data exists in a specific page to ensure normal encoding and decoding.

Benefits of technology

By combining undefined data, errors in multi-page messages during encoding and decoding are avoided, ensuring the normal processing of text messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112131836B_ABST
    Figure CN112131836B_ABST
Patent Text Reader

Abstract

A message processing method and an electronic device supporting the message processing method are provided. The electronic device includes: a communication interface configured to receive a message including a plurality of pages; and a control module configured to process the received message, wherein if there is undefined data among the data included in a specific page of the plurality of pages, the control module combines at least a part of the data included in the next page succeeding the specific page with the undefined data.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of a PCT international patent application with an application date of February 23, 2015, an application number of 201580009989.5, and an invention title of "Message Processing Method and Electronic Device Supporting the Same". Technical Field

[0002] The present disclosure relates to the processing of messages. Background Art

[0003] With the development of digital technology, various electronic devices that support telecommunications and personal information processing, such as mobile communication devices, personal digital assistants (PDAs), electronic organizers, smartphones, and tablet personal computers (PCs), have recently been released on the market. Such electronic devices provide a function of transmitting / receiving text messages.

[0004] The above information is given as background information only to help understand the present disclosure. No determination has been made as to whether any of the above may be used as prior art with respect to the present disclosure, and no assertion is made. Summary of the Invention

[0005] Technical Problem

[0006] If the size of the content data of a text message is greater than a specific value, an electronic device of the related art automatically converts the text message into a multi-page (which may also be referred to as multiple pages and / or a multi-page message) format to transmit the text message. However, in the case of transmitting a text message in a multi-page format, an error may occur during encoding of the text message and / or decoding of the received text message.

[0007] Solution to the Problem

[0008] According to an aspect of the present disclosure, there is provided an electronic device. The electronic device includes: a communication interface configured to receive a message including multiple pages; and a control module configured to process the received message, wherein if there is undefined data among the data included in a specific page of the multiple pages, the control module combines at least a part of the data included in the next page subsequent to the specific page with the undefined data.

[0009] According to another aspect of the present disclosure, there is provided an electronic device. The electronic device includes: a control module configured to combine at least a part of the data included in the next page subsequent to a specific page with undefined data in the specific page of a multi-page created; and a communication interface configured to transmit a multi-page message including the combined data.

[0010] According to another embodiment of the present disclosure, a message processing method is provided. The message processing method includes: determining whether undefined data is included in a specific page of a multi-page message; and if the undefined data is included, combining at least a part of the data included in the next page succeeding the specific page with the undefined data.

[0011] Other aspects, advantages, and salient features of the present disclosure will become apparent to those skilled in the art from the following detailed description of various embodiments of the present disclosure in conjunction with the accompanying drawings.

[0012] Advantageous technical effects of the present invention

[0013] Aspects of the present disclosure at least solve the above problems and / or deficiencies and at least provide the advantages described below. Accordingly, one aspect of the present disclosure provides a message processing method for processing a multi-page text message to perform normal encoding and / or decoding on content data of the text message, and an electronic device supporting the message processing method. Brief Description of the Drawings

[0014] The above and other aspects, features, and advantages of specific embodiments of the present disclosure will become more apparent from the following description in conjunction with the accompanying drawings, in which:

[0015] Figure 1 Illustrating a message processing environment according to an embodiment of the present disclosure;

[0016] Figure 2 is a flowchart illustrating a message processing method for combining data items based on an undefined area according to an embodiment of the present disclosure;

[0017] Figure 3 is a diagram illustrating multi-page processing based on a combination with an undefined data area according to an embodiment of the present disclosure;

[0018] Figure 4 is a flowchart illustrating a message processing method for message content combination and extraction according to an embodiment of the present disclosure;

[0019] Figure 5 is a diagram illustrating multi-page message processing based on message content combination and extraction according to an embodiment of the present disclosure;

[0020] Figure 6 is a flowchart illustrating a message processing method for message conversion according to an embodiment of the present disclosure;

[0021] Figure 7 is a diagram illustrating multi-page processing based on message conversion according to an embodiment of the present disclosure;

[0022] Figure 8is a flowchart illustrating a message processing method based on multi-page inspection according to an embodiment of the present disclosure;

[0023] Figure 9 is a flowchart illustrating a message processing method related to message transmission according to an embodiment of the present disclosure;

[0024] Figure 10 is a diagram illustrating message processing related to message transmission according to an embodiment of the present disclosure;

[0025] Figure 11 is a diagram illustrating a message receiving screen interface of an electronic device according to an embodiment of the present disclosure.

[0026] It should be noted that throughout the various figures, the same reference numerals are used to illustrate the same or similar elements, features, and structures. Detailed Description of the Embodiments

[0027] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the various embodiments of the present disclosure defined by the claims and their equivalents. It includes various specific details to aid in this understanding, but these specific details should be regarded as merely exemplary. Thus, those skilled in the art will recognize that various changes and modifications can be made to the different embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and structures may be omitted for clarity and conciseness.

[0028] The terms and phrases used in the following description and claims are not limited to the literal meanings, but are used by the inventors only to enable a clear and consistent understanding of the present disclosure. Thus, it will be apparent to those skilled in the art that the following description of the different embodiments of the present disclosure is provided for illustrative purposes only and not for the purpose of limiting the present disclosure defined by the appended claims and their equivalents.

[0029] It should be understood that the singular forms ("a," "an," and "the") include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to a component surface includes reference to one or more such surfaces.

[0030] Figure 1 Illustrates a message processing environment according to an embodiment of the present disclosure.

[0031] Refer to Figure 1 , the message processing environment 10 may include an electronic device 100, a network 300, another electronic device 101, and a server device 200.

[0032] The message processing environment 10 may support the electronic device 100 such that the electronic device 100 can transmit a message including a plurality of pages (which may also be referred to as multi-page, multi-page message, or multiple pages) to other electronic devices 101. In addition, the message processing environment 10 may support other electronic devices 101 such that the other electronic devices 101 can transmit a message including a plurality of pages to the electronic device 100. According to an embodiment, in this operation, the electronic device 100 may process undefined data items in the message (e.g., data that is not defined using the determined code information applied to message processing) to transmit the undefined data items to other electronic devices 101. For example, the electronic device 100 may collect undefined data items from the content included in the plurality of pages and then may add the undefined data items to a single page in order to transmit the undefined data items. According to an embodiment, when receiving a message including a plurality of pages from other electronic devices 101, the electronic device 100 may check for undefined data items in the content of the message, or in other words, may determine whether there are undefined data items in the content of the message. If there are undefined data items in the content of the message, the electronic device 100 may combine and / or integrate the undefined data items based on the determined code information applied to message processing to transform (e.g., decode) the undefined data items.

[0033] The network 300 may establish a communication channel between the electronic device 100 and the server device 200 and establish a communication channel between the server device 200 and other electronic devices 101. The network 300 may support data transmission through a mobile telecommunications-based communication channel or a wireless fidelity (WiFi)-based communication channel using a base station or an access point (AP). According to an embodiment, the network 300 may transmit a message including a plurality of pages from the electronic device 100 to the server device 200. The network 300 may support the server device 200 such that the server device 200 can transmit a plurality of pages from the electronic device 100 to other electronic devices 101. According to an embodiment, the network 300 may transmit a message including a plurality of pages from other electronic devices 101 to the server device 200. The network 300 may support the server device 200 such that the server device 200 can transmit a plurality of pages from other electronic devices 101 to the electronic device 100. Although according to an embodiment of the present disclosure, messages are transmitted through the network 300 in the message processing environment 10, the present disclosure is not limited thereto. For example, the electronic device 100 and other electronic devices 101 may establish a short-range communication channel and / or a direct communication channel therebetween to directly transmit messages to each other without using the network 300.

[0034] The server device 200 may establish a communication channel to the network 300. The server device 200 may receive messages from the electronic device 100 and / or other electronic devices 101. The server device 200 may check and / or determine the address information of the received messages, and may transmit the received messages to other electronic devices 101 and / or the electronic device 100 according to the address information. The server device 200 may include a configuration of a message service center for controlling message transmission. The server device 200 may control the transmission of various messages (such as short messages and / or multimedia messages of the message service center). According to an embodiment, the server device 200 may transmit multi-page messages between the electronic device 100 and other electronic devices 101. According to different embodiments, the above processing of undefined data of multiple pages may be performed in the server device 200. For example, if undefined data is included in the content of a multi-page message transmitted from the electronic device 100 to other electronic devices 100, the server device 200 may combine the undefined data with other adjacent undefined data to process the message. In addition, the server device 200 may control the transmission of multi-page messages from which the undefined data has been removed.

[0035] Other electronic devices 101 may establish a communication channel based on the electronic device 100 and the network 300. Alternatively, other electronic devices 101 may establish a short-range communication channel and / or a direct communication channel to the electronic device 100 to transmit messages based on the short-range communication channel and / or the direct communication channel. Other electronic devices 101 may be the same devices as the electronic device 100, for example, message-transmissible devices such as smartphones and / or smartwatches.

[0036] The electronic device 100 can transmit messages to other electronic devices 101 via the network 300 and the server device 200. The electronic device 100 can receive messages transmitted from other electronic devices 101 from the server device 200. Alternatively, the electronic device 100 can use a direct communication channel and / or a short-range communication channel to transmit messages to other electronic devices 101. According to an embodiment, in the case where the message to be transmitted includes multiple pages, the electronic device 100 can check and / or determine whether there is undefined data in the content of the page (e.g., the message body containing the content in a structure including a header and a body). The electronic device 100 can process the undefined data, for example, arrange the undefined data in a single page, and can transform (e.g., encode) the undefined data, and then can transmit the modified message directly or via the server device 200 to other electronic devices 101. According to an embodiment, in the case where the received message includes multiple pages, the electronic device 100 can check and / or determine whether there is undefined data in the content of the page (e.g., the message body containing the content in a structure including a header and a body). The electronic device 100 can transform (e.g., decode) the undefined data to allow output or storage of the undefined data.

[0037] As Figure 1 shown, the electronic device 100 can include a communication interface 110, an input module 120, an audio module 130, a display module 140, a storage module 150, and a control module 160. Additionally and / or alternatively, the above modules of the electronic device 100 can be included in other electronic devices 101.

[0038] The communication interface 110 can support the communication function of the electronic device 100. In the case where the electronic device 100 supports multiple communication modes, it can include multiple communication modules and / or multiple communication interfaces. For example, the communication interface 110 can establish a communication channel to other electronic devices 101 via the network 300. In the case where the electronic device 100 supports a base-station-based communication mode, the communication interface 110 can include a communication module using a 3G / 4G Long-Term Evolution (LTE) network and a WiFi communication module supporting an AP-based communication mode. Additionally, the communication interface 110 can include a short-range communication module (not shown) and / or a direct communication module (not shown) to establish a direct communication channel to other electronic devices 101. The short-range communication module and / or the direct communication module can include at least one of various communication modules such as a WiFi direct communication module, a Bluetooth communication module, and a ZigBee communication module.

[0039] According to an embodiment, the communication interface 110 may transmit a multi-page or multiple-page message to other electronic devices 101 via the network 300. Alternatively, the communication interface 110 may directly transmit a multi-page message to other electronic devices 101. The communication interface 110 may receive a multi-page message from other electronic devices 101. Here, the communication interface 110 may receive a multi-page message via the server device 200 connected to the network 300. For example, other electronic devices 101 may transmit a multi-page message to the server device 200 connected to the network 300, and the server device 200 may transmit the multi-page message to the electronic device 100 through the communication interface 110.

[0040] The input module 120 may generate an input signal of the electronic device 100. The input module 120 may include physical key buttons such as a start key, a shortcut key, and / or a power key, a handle control key, a keypad, etc. The input module 120 may include a virtual keyboard output as an input device to the display module 140. The input module 120 may generate an input signal for enabling specific device elements (such as the display module 140 and / or the communication interface 110) included in the electronic device 100. According to an embodiment, the input module 120 may generate an input signal for turning on / off the electronic device 100, an input signal for activating a message writing window, an input signal for writing a message, and / or an input signal for transmitting a message in response to a user input. The input module 120 may generate an input signal for checking and / or determining a message received from other electronic devices 101 and / or an input signal for storing or deleting the received message in response to a user input.

[0041] The audio module 130 may include a module for processing audio data. Specifically, the audio module 130 may include one or more speakers and / or one or more microphones. The audio module 130 may output, for example, audio data for notifying the reception of a message, sound effects related to the selection and checking and / or determination of the received message, and sound effects related to the deletion or storage of the message. According to an embodiment, if the message exceeds multiple pages at the time of message creation, the audio module 130 may output an alarm sound and / or a wizard voice.

[0042] The display module 140 may output various screens related to the operation of the electronic device 100. For example, the display module 140 may output a lock screen and / or a standby screen. The display module 140 may output a specific function execution screen, such as a sound playback application execution screen, a message reception notification screen, a message content check screen, a menu screen, and / or a screen on which at least one function item is arranged. According to an embodiment, the display module 140 may output a message writing screen. The message writing screen may include an area for outputting the written message, a virtual keyboard area for supporting character input, and an information input area for inputting information of another electronic device 101 to which a message is to be received. According to an embodiment, the display module 140 may provide a single-page message writing screen. For example, the display module 140 may output, through a messaging service provider and / or through self-regulation of the electronic device 100, a message writing screen that supports the input of characters of a certain length (e.g., 140-byte characters) according to a rule set, a specification set, and / or a standard set. The display module 140 may output a virtual key input pad for writing a text message. If data exceeding 140 bytes is input when outputting a text message, the display module 140 may display an automatic multi-page conversion.

[0043] According to an embodiment, when a message is received from another electronic device 101, the display module 140 may output the message. Here, in response to the control of the control module 160, the display module 140 may output a screen of a message for which undefined data processing has been performed.

[0044] The storage module 150 may store various information related to the operation of the electronic device 100. For example, the storage module 150 may store a specific application to be executed in the electronic device 100 and data for executing the application. According to an embodiment, the storage module 150 may store at least one message. In addition, the storage module 150 may store at least one multi-page message. When a request for retrieving the stored message is made, the storage module 150 may provide a message list regarding the requested message to the display module 140. According to an embodiment, the storage module 150 may store a multi-page message for which undefined data items have been processed by the control module 160. The multi-page message may include at least one of a message transmitted from another electronic device 101 and a message created in the electronic device 100.

[0045] The bus 170 may support data transfer / reception between modules of the electronic device 100 (e.g., the communication interface 110, the input module 120, the audio module 130, the display module 140, the storage module 150, and the control module 160). For example, the bus 170 may transfer an input signal input through the input module 120 to the control module 160. The bus 170 may transfer a multi-page message received through the communication interface 110 to at least one of the control module 160, the display module 140, and the storage module 150. The bus 170 may transfer a multi-page message for which undefined data items have been processed according to the control of the control module 160 to the storage module 150.

[0046] The control module 160 may process and transfer data or control signals related to the operation of the electronic device 100. According to different embodiments, when receiving a multi-page message including undefined data items through the communication interface 110, the control module 160 may temporarily and / or semi-permanently store the multi-page message in the storage module 150. When the multi-page message is requested to be output to the display module 140, the control module 160 may process the undefined data items. In response to a request to store a multi-page message, the control module 160 may allow the storage of a multi-page message for which undefined data items have been processed. According to different embodiments, when receiving a multi-page message including undefined data items through the communication interface 110, the control module 160 may process the undefined data items. The control module 160 may temporarily and / or semi-permanently store a multi-page message for which undefined data items have been processed in the storage module 150. When the multi-page message is requested to be output to the display module 140, the control module 160 may read from the storage module 150 a multi-page message for which undefined data items have been processed to allow the multi-page message to be output to the display module 140.

[0047] The control module 160 may include a message manager 180 for processing messages. The message manager 180 may include a memory 181 and a multi-page processing module 183. According to an embodiment, when receiving a message, the message manager 180 may check the header area of the message to determine whether the message is a multi-page message including multiple pages. When receiving a multi-page message, the message manager 180 may transfer the multi-page message to the multi-page processing module 183.

[0048] The message manager 180 may temporarily store the received message in the memory 181. For example, the memory 181 may store at least a part of the multi-bit or multi-byte Unicode content included in the multi-page message. The memory 181 may store information related to the multi-byte Unicode content.

[0049] The message manager 180 may configure user input in the form of a message (e.g., a text message) in a message writing environment. The message manager 180 may determine whether to generate a single-page message or a multi-page message based on the amount of data from the user input. For example, if the amount of data from the user input exceeds the amount of message content allowed in one page, the message manager 180 may check and / or determine message criteria to allow for the automatic generation of multi-page messages. The message manager 180 may generate and / or recover a message according to the information received from the multi-page processing module 183. The message manager 180 may be a telephone module (not shown) arranged in the framework layer of the control module 160.

[0050] According to an embodiment, the control module 160 may process messages based on a modem layer, a radio interface layer (RIL) layer, a framework layer, and / or an application layer structure. The modem may be arranged in the modem layer to transmit / receive signals. The RIL layer may be used to transfer data to the modem layer as the physical layer and / or to pass messages received from the modem layer (e.g., multi-page messages) to the framework layer. The aforementioned telephone module may be arranged in the framework layer, where the telephone module may include the message manager 180 of different embodiments. The telephone module may include a multi-byte Unicode content management unit, such as the multi-page processing module 183. A message application (e.g., at least one of a message writing application, a received message search application, and a message receiving application) may be arranged in the application layer. When a multi-page message is received, the message manager 180 may send a reception notification to the message application. If the multi-page message includes undefined data, the message manager 180 may process the undefined data and may pass the processed multi-page message to the message application. The above operations may be performed by the multi-page processing module 183, and the result of the operation may be passed to the message application. According to different embodiments, the multi-page processing module 183 may be designed to be included in the message application. In addition, according to different embodiments, the multi-page processing module 183 may be arranged in the RIL layer to search for and process undefined data when a multi-page message is received.

[0051] Regarding message transmission, the multi-page processing module 183 may generate a message to be transmitted to other electronic devices 101 based on data passed by an application program. In this operation, the multi-page processing module 183 may check and / or determine a message standard (e.g., 80 bytes or 140 bytes), the code type of the data, and the amount of input data to monitor whether a single page or multiple pages are generated. If a multi-page application is required, the multi-page processing module 183 may consider the identified data code type and the order of the input data to check and / or determine whether undefined data is generated when arranging the defined data in the page boundary area. When the multi-page processing module 183 determines that undefined data is generated, the multi-page processing module 183 may provide a wizard for switching to another data code type and / or may allow an output of a warning message regarding data insertion.

[0052] According to an embodiment, the message manager 180 may process undefined data according to whether the received message is a multi-page message and whether it has a set specific code type (e.g., Unicode Transformation Format (UFT)-16). According to an embodiment, if the received message is a multi-page message, the message manager 180 may extract data items in the message body area and may integrate and / or combine the extracted data items for message processing regardless of the presence of undefined data. Here, the message body area may include user data input by a user in the received message and / or may include a message to be transmitted. In front of the message body area, a message header area including information items for describing the message body area may be arranged.

[0053] According to an embodiment, if there is undefined data when the message manager 180 processes the received message (e.g., decodes data items in the message body area using a specific coding mode to generate a string), the message manager 180 may combine the detected undefined data with other undefined data for message processing. According to an embodiment, if the received message is a multi-page message, the message manager 180 may check and / or determine whether there is undefined data and may allow processing of the undefined data.

[0054] According to an embodiment, when receiving a message, the message manager 180 may check and / or determine whether the mode for defining or converting information (e.g., code information) and / or the data of the characters constituting the message is an encoding mode that assigns multiple bytes to a single character or emoji. For example, whether the data conversion mode is based on multi-byte Unicode content such as Unicode UTF-16, 32. If the data definition mode of the message is an encoding mode for assigning multiple bytes, the message manager 180 may check and / or determine whether the message is a multi-page message. The message manager 180 may check and / or determine whether a determined area of a page (e.g., a certain number of uppermost or lowermost bytes of the message body area, e.g., two bytes corresponding to the size of the surrogate area in the case of Unicode UTF-32) is undefined data according to the data size defined by the encoding mode.

[0055] The multi-page processing module 183 may detect multi-byte Unicode content in a message body area such as a byte data area of user data of a multi-page message. The multi-page processing module 183 may divide the multi-byte Unicode content into multiple items and / or restore the multi-byte Unicode content in consideration of the size of the multi-byte Unicode content. The multi-page processing module 183 may monitor where the multi-byte Unicode content and / or each part of the divided multi-byte Unicode content exists in the message body area (which may also be referred to as the user data area). The multi-page processing module 183 may manage various information related to the multi-byte Unicode content.

[0056] According to different embodiments, an electronic device may include: a communication interface for receiving a message including multiple pages; and a control module for checking and / or determining whether undefined data exists in the data included in a specific page of the multiple pages, and combining at least a part of the data included in the next page of the specific page with the undefined data when the undefined data exists.

[0057] According to different embodiments, the control module may check and / or determine whether the data written in a determined lower area of a specific page is undefined data and / or whether the data written in a determined upper area of the specific page is undefined data.

[0058] According to different embodiments, the control module may use data conversion information applied to a page to check the data conversion size, and may check whether undefined data exists in a determined area of the page according to the data conversion size information.

[0059] According to different embodiments, the control module may use data conversion size information to check and / or determine the size of the maximum data that constitutes a single character, and may allocate the size of a determined area of a page based on the data size.

[0060] According to different embodiments, the control module may convert content data of multiple pages including the combined data, and may allow a string corresponding to the converted content data to be output.

[0061] According to different embodiments, the control module may include: a memory for storing undefined data; and a multi-page processing module for combining specific data of the next page with the stored undefined data.

[0062] According to different embodiments, an electronic device may include: a control module for checking and / or determining whether undefined data is included in a specific page of the created multi-page, and in the case where undefined data is included, combining at least a part of the data included in the next page of the specific page with the undefined data; and a communication interface for transmitting a multi-page message including the combined data.

[0063] According to different embodiments, if undefined data is included, the control module may move the undefined data to the next page, and based on the movement of the undefined data, may make a partial area of the specific page blank and / or may write specific information in the area where the undefined data is written.

[0064] According to different embodiments, the control module may write a message body size value of a specific page that has changed due to combination with undefined data in a message header of the specific page.

[0065] According to different embodiments, an electronic device may include: a communication interface for receiving a multi-page type message; and a control module for extracting content data from multiple pages of the multi-page type message, and continuously converting the extracted content data for message output.

[0066] Figure 2 It is a flowchart illustrating a message processing method based on combination of data items in an undefined area according to an embodiment of the present disclosure.

[0067] Refer to Figure 2, according to the message processing method according to the embodiment, in operation 201, the control module 160 of the electronic device 100 may control the electronic device 100 to perform an operation or be in a standby mode. For example, the control module 160 may maintain a sleep mode state (e.g., a state in which the display module 140 is turned off), or may allow the output of a lock screen or a standby screen. Alternatively, the control module 160 may support the execution of specific functions such as sound playback, file playback, file editing, and / or website access according to schedule information or input events. The control module 160 may allow the communication interface 100 to remain in a standby state so that the communication interface 110 can receive messages.

[0068] In operation 203, the control module 160 may check and / or determine whether an event related to message reception has occurred, or in other words, the control module 160 may check and / or determine whether a message such as a multimedia message and / or a short message has been received.

[0069] If an event related to message reception has not occurred in operation 203, the control module 160 may proceed to operation 205 to control the execution of the corresponding function according to the type of the occurring event. Alternatively, if no other event has occurred, the control module 160 may allow the maintenance of the previous operation state, or may control the entry into a sleep mode (e.g., a mode for turning off the display module 140) or maintain the previous state.

[0070] If a message reception occurs in operation 203, the control module 160 may check and / or determine in operation 207 whether there is data of a set code type, such as data created using an encoding mode that allocates multiple bytes to represent a single character, such as UTF-16. In addition, in operation 207, the control module 160 may check and / or determine whether the received message is a multi-page message. Regarding this operation, the control module 160 may check and / or determine the header area of the received message to determine whether the received message is a multi-page message. Here, the control module 160 may first check and / or determine whether the message is a multi-page message, and then may check and / or determine whether it includes data of the set code type. Alternatively, the control module 160 may check and / or determine whether data of the set code type is included in the message, and then may check and / or determine whether the message is a multi-page message.

[0071] If there is data of a set code type (e.g., UTF-16 data) in operation 207 and the received message is a multi-page message, then in operation 209, the control module 160 may check and / or determine whether the data in the determined area of the page falls within the set range, or in other words, within the set value range. For example, the control module 160 may search for data items in the boundary area of the multi-page input to the proxy area allocated according to a predefined standard to check and / or determine whether the data representing a character is normally written in a page. Alternatively, the control module 160 may check and / or determine whether the data written in the determined area of the page (e.g., the bottom two-byte area of the page) falls within the values defined in Table 1 below. Table 1 shows the values of the Unicode proxy area.

[0072] [Table 1]

[0073] D800 DBFF 400 1024 High proxy Region DC00 DFFF 400 1024 Low proxy Region

[0074] If the data in the determined area falls within the set range of values in operation 209, then in operation 211, the control module 160 may combine the data in the determined lower area of the previous page with the data in the determined upper area of the next page to process the message, or in other words, to perform message conversion processing. In operation 211, the control module 160 may store the data in the determined lower area of the previous page (e.g., undefined data) in the memory 181, and may indicate that the page has a separate string, for example, by changing the values of specific flags and / or registers related to message processing. The control module 160 may check and / or determine whether the previous page includes undefined data, such as a separate string, when processing the message of the next page. If undefined data is included, the control module 160 may combine the data in the determined upper area of the current page with the undefined data stored in the memory 181 for single-character processing. The control module 160 may arrange the characters generated by processing the undefined data between the data of the previous page and the data of the next page to restore the multi-page message.

[0075] If there is no data of the set code type in operation 207 or the received message is not a multi-page message, then in operation 213, the control module 160 may perform message conversion processing according to the settings. For example, if the received message is not a multi-page message, the control module 160 may perform message processing according to the single-page message processing mode. In addition, if the data in the determined area in operation 209 does not fall within the set range of values or corresponds to defined data, then in operation 213, the control module 160 may perform message processing according to the settings.

[0076] In operation 215, the control module 160 may check and / or determine whether an event related to the shutdown of the electronic device 100 occurs. When an event related to the shutdown occurs, the control module 160 may shut down (e.g., turn off) the electronic device 100. If no event related to the shutdown occurs in operation 215, the process may return to operation 203 so that the control module 160 re-executes operation 203 and subsequent operations.

[0077] According to different embodiments, the message processing method may include: checking and / or determining whether undefined data is included in a specific page of multiple pages; and combining at least a part of the data included in the next page of the specific page with the undefined data in the case where the undefined data is included.

[0078] According to different embodiments, checking and / or determining whether undefined data is included in a specific page may include at least one of checking and / or determining whether the data written in a determined lower area of the specific page is undefined data and checking and / or determining whether the data written in a determined upper area of the specific page is undefined data.

[0079] According to different embodiments, checking and / or determining whether undefined data is included in a specific page of multiple pages may include: determining data size information of a character defined by at least one character code information included in the specific page; and determining whether undefined data is included in a determined lower area of the specific page based on the data size information.

[0080] According to different embodiments, checking and / or determining whether undefined data is included in a specific page of multiple pages may further include: checking character code information of the maximum data of a character among at least one character code information included in the specific page; and determining a determined area of the specific page within the value of the maximum data.

[0081] According to different embodiments, the method may further include at least one of receiving a text message of a multi-page type and decoding content data including the combined multiple pages to output a string corresponding to the decoded content data.

[0082] According to different embodiments, the method may further include: temporarily storing the undefined data; and combining the determined data of the next page with the stored undefined data.

[0083] According to different embodiments, if the undefined data is included, the combination may include moving the undefined data to the next page.

[0084] According to different embodiments, the method may further include any one of making a partial area of a specific page blank according to the movement of the undefined data and writing specific information in the area where the undefined data is written.

[0085] According to different embodiments, the method may include: encoding the combined data.

[0086] According to different embodiments, the method may further include: writing, in a message header, a size value of a message body that has changed due to combination with undefined data.

[0087] Figure 3 FIG. is an illustration of multi-page processing based on combination with an undefined data region according to an embodiment of the present disclosure.

[0088] Referring to Figure 3 , an electronic device 100 may receive a multi-page message including page 310 and page 320. Page 310 may include a message header region 311 and a message body region 301. The message body region 301 may include a defined region 312 in which defined code data is arranged and an undefined region 313 in which undefined code data is arranged. Page 320 may include a message header region 321 and a message body region 302. The message body region 302 may include an undefined region 322 in which undefined code data is arranged and a defined region 323 in which defined code data is arranged.

[0089] The message header region 311 (which may also be referred to as a user data header (UDH)) is arranged in front of the message body region 301 (which may also be referred to as user data). A message transmitted using one page (e.g., a short message service (SMS)) may not include the message header region 311. The message header region 311 is arranged in a multi-page message having at least two pages and may include a label, a sequence number (which may refer to the current page), and a message count (which may be the total number of messages). The electronic device 100 may use the label to identify a group of multiple pages to be processed as one message and may assemble data items in the message body region in the order indicated by the sequence number.

[0090] According to different embodiments, the position of the message header region may be different between a 3rd Generation Partnership Project (3GPP) communication network and a 3GPP2 communication network, but the electronic device 100 may determine what encoding type is used in a transport protocol data unit (TPDU) to encode the current page. The encoding type for 3GPP2 may exist in the message body region 301 (i.e., user data), while the encoding type for 3GPP may exist in a data coding mode region (not shown).

[0091] The control module 160 of the electronic device 100 may extract data of the undefined area 313 included in page 310 to store the extracted data in the memory 181, and may combine the extracted data with the data of the undefined area 322 included in page 320 for character processing. In addition, the control module 160 of the electronic device 100 may insert the processed characters while processing the data of the defined area 312 and the data of the defined area 323 for message recovery.

[0092] Figure 4 It is a flowchart illustrating a message processing method based on message content combination and extraction according to an embodiment of the present disclosure.

[0093] Refer to Figure 4 , according to the message processing method according to the embodiment, in operation 401, the control module 160 of the electronic device 100 may allow the electronic device 100 to perform an operation or be in a standby mode. In operation 401, the control module 160 may enable the communication interface 110 to maintain a message reception standby state.

[0094] In operation 403, the control module 160 may check and / or determine whether an event related to message reception occurs, or in other words, may determine whether a message is received. If no event related to message reception occurs in operation 403, the control module 160 may proceed to operation 405 to control the execution of the corresponding function according to the type of the occurred event. Alternatively, if no event occurs, the control module 160 may allow the previous operation state to be maintained, or may control entry into a sleep mode (e.g., a mode for turning off the display module 140).

[0095] If a message reception occurs in operation 403, in operation 407, the control module 160 may check and / or determine whether the received message is a multi-page message and / or includes multiple pages. If it is determined in operation 407 that the received message is not a multi-page message, in operation 415, the control module 160 may perform message conversion processing according to the settings.

[0096] If the received message is determined to be a multi-page message in operation 407, in operation 409, the control module 160 may parse the content of each page. For example, the control module 160 may extract the data arranged in the message body area of each page. In operation 411, the control module 160 may combine the parsed content. For example, the control module 160 may sequentially arrange the data extracted from the message body area of each page in the memory 181. During the combination process, the control module 160 may combine the data of the undefined area.

[0097] In operation 413, the control module 160 may perform message conversion processing on the combined content, or in other words, may process multi-page messages for the combined content. The control module 160 may convert the data sequentially stored in the memory 181 into a string according to the corresponding order.

[0098] In operation 417, the control module 160 may check and / or determine whether a shutdown-related event has occurred. If a shutdown-related event occurs in operation 417, the control module 160 may control the electronic device 100 to shut down and control the termination of the functions related to message conversion processing. If a shutdown-related event does not occur in operation 417, the process may return to operation 403, causing the control module 160 to re-execute operation 403 and subsequent operations.

[0099] Figure 5 FIG. is an example of message processing based on message content combination and extraction according to an embodiment of the present disclosure.

[0100] Refer to Figure 5 , the electronic device 100 may receive a message including page 501, page 502, and page 503. Page 501 may include a message header area 511 and a message body area 510. The message body area 510 may include a defined area 512 in which defined code data is arranged and an undefined area 513 in which undefined code data is arranged at a determined lower area (e.g., the bottom two bytes) of the page.

[0101] Page 502 may include a message header area 521 and a message body area 520. The message body area 520 may include an undefined area 522 in which undefined data is arranged at a determined upper area (e.g., the top two bytes) of the page, a defined area 523 in which defined code data is arranged, and an undefined area 524 in which undefined code data is arranged at a lower area of the page.

[0102] Page 503 may include a message header area 531 and a message body area 530. The message body area 530 may include an undefined area 532 in which undefined data is arranged at a determined upper area of the page and a defined area 533 in which defined code data is arranged.

[0103] The control module 160 of the electronic device 100 may extract data of the defined region 512 and data of the undefined region 513 from the received page 501. The control module 160 may store the extracted data of the defined region 512 and the undefined region 513 in the memory 181. The control module 160 may extract data of the undefined region 522, data of the defined region 523, and data of the undefined region 524 from the received page 502. The control module 160 may store the extracted data of the undefined region 522, the defined region 523, and the undefined region 524 in the memory 181. In this operation, the control module 160 may allow the data of the page 502 to be sequentially arranged after the data of the defined region 512 and the data of the undefined region 513 previously stored in the memory 181.

[0104] The control module 160 may extract data of the undefined region 532 and data of the defined region 533 from the received page 503. The control module 160 may sequentially arrange the extracted data of the undefined region 532 and the defined region 533 in the memory 181 that stores the data of the page 502.

[0105] As Figure 5 shown, the control module 160 may integrate and / or combine the extracted data items. For example, the control module 160 may arrange the data items in the memory 181 in the order of the data of the defined region 512, the data of the undefined region 513, the data of the undefined region 522, the data of the defined region 523, the data of the undefined region 524, the data of the undefined region 532, and the data of the undefined region 533. The control module 160 may perform a process such as message conversion on the combined data. For example, the control module 160 may perform message conversion on the data of the defined region 512, and then may combine the data of the undefined region 513 and the data of the undefined region 522 to perform message conversion on the combined data. The control module 160 may perform message conversion on the data of the defined region 523, and then may combine the data of the undefined region 524 and the data of the undefined region 532 to perform message conversion on the combined data.

[0106] The control module 160 may allow the converted message to be output to the display module 140 and / or stored in the storage module 150.

[0107] Figure 6 is a flowchart illustrating a message processing method based on message conversion according to an embodiment of the present disclosure.

[0108] Refer to Figure 6, according to the message processing method according to the embodiment, in operation 601, the control module 160 of the electronic device 100 may allow the electronic device 100 to perform an operation or be in a standby mode. In this operation, the control module 160 may control the communication interface 110 such that the communication interface 110 can receive a message.

[0109] In operation 603, the control module 160 may check and / or determine whether an event related to message reception has occurred, or in other words, may determine whether a message has been received. If no event related to message reception occurs in operation 603, the control module 160 may proceed to operation 605 to control the execution of the corresponding function according to the type of the occurring event. Alternatively, if no other event occurs, the control module 160 may allow the previous operation state to be maintained, or may control entry into a sleep mode (e.g., a mode for turning off the display module 140).

[0110] If it is determined in operation 603 that a message reception has occurred, in operation 607, the control module 160 may check and / or determine whether there is undefined data while performing message conversion processing, or in other words, may detect whether there is undefined data. If undefined data is detected during message conversion processing in operation 607, in operation 609, the control module 160 may combine the undefined data with the determined data, and then may process the combined data. In this operation, the control module 160 may temporarily store the undefined data in the memory 181, and then may read the data of the next page. If there is undefined data in the determined upper region of the next page, the control module 160 may combine the undefined data with the undefined data of the previous page stored in the memory 181. The control module 160 may perform string conversion on the combined undefined data.

[0111] After combining the undefined data, the control module 160 may proceed to operation 607 to perform operation 607 and subsequent operations again. According to different embodiments, if the bottom part of the received message includes undefined data and there is no data thereafter, the control module 160 may perform error processing on the undefined data, e.g., assign a determined specific character corresponding to the undefined data, and then may proceed to operation 611.

[0112] If there is no undefined data in operation 607, the control module 160 may complete the message conversion processing, and then may perform at least one of storage and output on the converted message in operation 611.

[0113] In operation 613, the control module 160 may check and / or determine whether an event related to shutdown has occurred. If an event related to shutdown has occurred in operation 613, the control module 160 may control the electronic device 100 to shut down and control the termination of the functions related to message conversion processing. If an event related to shutdown has not occurred in operation 613, the process may return to operation 603, enabling the control module 160 to re-execute operation 603 and subsequent operations.

[0114] Figure 7 is a diagram illustrating multi-page processing based on message conversion according to an embodiment of the present disclosure.

[0115] Referring to Figure 7 , the electronic device 100 may receive a message including page 701 and page 702. Page 701 may include a message header area 711 and a message body area 710. The message body area 710 may include a defined area 712 in which defined code data is arranged and an undefined area 713 in which undefined code data is arranged. Page 702 may include a message header area 721 and a message body area 720. The message body area 720 may include an undefined area 722 in which undefined code data is arranged and a defined area 723 in which defined code data is arranged.

[0116] The control module 160 of the electronic device 100 may check the message header area 711 of page 701 to determine that the page is part of a multi-page message. The control module 160 of the electronic device 100 may perform message conversion processing on the message body area 710. For example, the control module 160 may read data from the upper data area of the message body area 710 in units of a certain number of bits or bytes (e.g., the data size unit defined by the encoding type in the message header area), and may perform message conversion processing on the read data (e.g., generate a string).

[0117] According to different embodiments, the control module 160 may use the message header area to check and / or determine the code information applied to the received message. The control module 160 may read each data of the message header area 710 based on the character write data size defined by the code information (e.g., four bytes in the case of applying UTF-16 code information), and may perform message conversion processing corresponding to the read data. For example, for the data in the defined area 712, the control module 160 may perform message conversion processing for every four bytes of the data.

[0118] After completing the message conversion process for the data in the defined area 712, the control module 160 can discover and / or determine that the data in the undefined area 713 is undefined data while performing the message conversion process for the data in the undefined area 713. If the data in the undefined area 713 is undefined data, the control module 160 can combine the data in the determined upper area of page 702 (e.g., the data in the undefined area 722) with the data in the undefined area 713 for message processing. After that, the control module 160 can perform message processing on the data in the defined area 723. In this operation, the control module 160 can store the data in the undefined area 713 in the memory 181, and can combine the data in the undefined area 722 of the next page with the data stored in the memory 181 for character processing. After that, the control module 160 can perform message processing on the data in the defined area 723.

[0119] The control module 160 can allow the converted message to be output to the display module 140 and / or stored in the storage module 150.

[0120] Figure 8 is a flowchart illustrating a message processing method based on multi-page checking according to an embodiment of the present disclosure.

[0121] Referring to Figure 8 , according to the message processing method according to the embodiment, in operation 801, the control module 160 of the electronic device 100 can allow the electronic device 100 to execute an operation or be in a standby mode. In this operation, the control module 160 can maintain power supply and the camping-on process of the communication interface 110. In operation 803, the control module 160 can check and / or determine whether an event related to message reception has occurred, or in other words, whether a message has been received.

[0122] If no event related to message reception occurs in operation 803, the control module 160 can proceed to operation 805 to control the execution of the corresponding function according to the type of the event that occurs. Alternatively, if no other event occurs, the control module 160 can allow the previous operation state to be maintained, or can control entry into a sleep mode (e.g., a mode for turning off the display module 140).

[0123] If a message reception occurs in operation 803, in operation 807, the control module 160 can check and / or determine whether the received message is a multi-page message. The control module 160 can check and / or determine the header area of the received message to determine whether the label indicates multiple pages. Alternatively, the control module 160 can check and / or determine whether there is a UDH arranged only for multi-page messages to determine whether a multi-page message has been received.

[0124] If the received message is a multi-page message, in operation 809, the control module 160 may check and / or determine whether there is undefined data in the received message. For example, the control module 160 may check and / or determine whether the data in a predefined determination area of the message body area is undefined data. Here, the predefined determination area may vary according to the message type, such as the size of data such as code information assigned to each character and / or icon included in the message content or the size of the message body. If there is undefined data in the message content, in operation 811, the control module 160 may process and store the undefined data. For example, the control module 160 may combine the undefined data to perform single-character processing, and may insert the undefined data into the remaining message content for message recovery. The control module 160 may store the received multi-page message in the storage module 150. Here, the control module 160 may give a notification of message reception.

[0125] If it is determined in operation 807 that the received message is not a multi-page message, the control module 160 may proceed to operation 813 to perform message-related functions, that is, to perform corresponding functions. For example, the control module 160 may read data for each size of a certain number of bits or bytes in the message header area of a single-page message according to the message conversion type (e.g., encoding type), and may output a string mapped to the read data.

[0126] If there is no undefined data in the received message in operation 809, the control module 160 may proceed to operation 813 to perform message-related functions. The control module 160 may check and / or determine the message header area of the first page of the multi-page message to check and / or determine the encoding information, and may control string conversion according to the encoding information.

[0127] In operation 815, the control module 160 may check and / or determine whether an event related to message output occurs, or in other words, whether there is a message to be output. If an event related to message output occurs in operation 815, in operation 817, the control module 160 may perform message output. If an event related to message output does not occur in operation 815, the control module 160 may skip operation 817.

[0128] In operation 819, the control module 160 may check and / or determine whether an event related to the shutdown of the electronic device 100 has occurred. If an event related to shutdown occurs in operation 819, the control module 160 may control the shutdown of the electronic device 100 and the termination of functions related to message conversion processing. If an event related to shutdown does not occur in operation 819, the process may return to operation 803 so that the control module 160 may re-execute operation 803 and subsequent operations.

[0129] Figure 9 is a flowchart illustrating a message processing method related to messaging according to an embodiment of the present disclosure.

[0130] Referring to Figure 9 , according to the message processing method according to the embodiment, in operation 901, the control module 160 of the electronic device 100 may allow (i.e., control) the electronic device 100 to perform an operation or be in a standby mode. In operation 903, the control module 160 may check and / or determine whether an event related to messaging has occurred, or in other words, whether a message has been received. If an event related to messaging does not occur in operation 903, the control module 160 may proceed to operation 905 to control the execution of corresponding functions according to the type of event that has occurred. Alternatively, if no other event has occurred, the control module 160 may allow the previous operation state to be maintained, or may control entry into a sleep mode (e.g., a mode for turning off the display module 140).

[0131] If an event related to messaging occurs in operation 903, the control module 160 may perform processing related to messaging. For example, the control module 160 may control functions for outputting a message writing window, inputting characters corresponding to user input received via a virtual input keyboard or a physical keyboard, and outputting the characters to the display module 140. If messaging is requested after inputting a phone number and / or phone book information of another electronic device 101, in operation 907, the control module 160 may check and / or determine whether the message to be transmitted is a multi-page message.

[0132] If the message to be transmitted is a multi-page message, in operation 909, the control module 160 may check and / or determine whether there is undefined data in each page. If there is undefined data in each page in operation 909, in operation 911, the control module 160 may perform page processing. According to an embodiment, the control module 160 may extract the undefined data arranged in a specific page and arrange the extracted undefined data in the determined upper area of the next page. In operation 913, the control module 160 may transmit the message that has undergone page processing to the other electronic device 101.

[0133] In operation 915, the control module 160 may check and / or determine whether an event related to the shutdown of the electronic device 100 has occurred. If an event related to shutdown occurs in operation 915, the control module 160 may control the shutdown of the electronic device 100 and / or terminate the functions related to message conversion processing. If no event related to shutdown occurs in operation 915, the process may return to operation 903, causing the control module 160 to re-execute operation 903 and subsequent operations.

[0134] According to different embodiments, in the case where a multi-page message is created by user input to a message writing window such that the data size of the multi-page message is greater than a certain size determined (e.g., the size of a certain number of bytes defined by a message standard), the control module 160 may check and / or determine whether there is undefined data. For example, the control module 160 may check and / or determine whether the size of the determined lower region of a specific page is equal to or greater than the size of the data to be written. According to different embodiments, while the determined lower region of a specific page is available, the control module 160 may check and / or determine whether the size of the data to be written by user input is greater than the size of the determined region, such as multi-Unicode data.

[0135] In the case where the size of the determined lower region of a specific page is less than the size of the data to be written, the control module 160 may write the data to be written (e.g., multi-Unicode data) to the upper region of the next page. The control module 160 may discard the message body region of the unwritten data, or may write specific information (e.g., blank data) therein. In the case of discarding the region of the unwritten data, the control module 160 may change the definition of the message body region in the message header region. For example, if the total size of the message body region is 140 bytes and 138 bytes of data are written in the message body region, the number 138 may be written as the size information of the message body region in the message header region.

[0136] According to various embodiments, in the case of a multi-page message based on the UTF-16 encoding mode, if the bottom two bytes of a specific page fall within the range of Unicode surrogates, the control module 160 may pad the two-byte area with blanks. According to various embodiments, if the bottom two bytes of a specific page fall within the range of Unicode surrogates, the control module 160 may pad the two-byte area with a carriage return or a line feed. According to various embodiments, if the bottom two bytes of a specific page fall within the range of Unicode surrogates, the control module 160 may indicate the presence of UTF-32 characters in the UDH and may support message conversion (e.g., decoding) of another electronic device 101 such that the UTF-32 characters are detected by reading the corresponding values and are decoded normally.

[0137] If a user inputs a UTF-32 string, the control module 160 may use at least one of the display module 140 and the audio module 130 to output a warning message and may provide a wizard to guide the user to use another service, such as at least one of SMS, multimedia messaging service (MMS), social network service (SNS), and chat channels. According to various embodiments, in the case where specific character code information (e.g., data using multiple bytes to display one item of information such as UTF-32) should be written in a boundary area of multiple pages (e.g., a determined lower area of the current page and a determined upper area of the next page), the control module 160 may allow using at least one of the display module 140 and the audio module 130 to output a warning message. For example, the display module 140 may output a message for requesting input of other data (data using a single byte) or may output a message for notifying that the page may increase due to multi-byte input.

[0138] According to various embodiments, the control module 160 may request a user to confirm whether to convert multi-byte Unicode type data (e.g., emojis) into a specific code type (e.g., 7BIT SMILEY) for compatibility. Upon receiving a response to the request for confirmation, the control module 160 may match undefined data with a code table (e.g., SMILEY TABLE) installed in the electronic device 100 for message processing.

[0139] Figure 10 is a diagram illustrating message processing related to message transmission according to an embodiment of the present disclosure.

[0140] Referring to Figure 10 , if the message to be transmitted is a multi-page message having multiple pages and / or including page 1001 and page 1002, the control module 160 may check and / or determine whether undefined data is included in the pages.

[0141] Here, page 1001 may include a message header area 1011 and a message body area 1010. Page 1002 may include a message header area 1021 and a message body area 1020. The message body area 1010 may include a defined area 1012 and an undefined area 1013, and specific information (such as spaces, line breaks, carriage returns, etc.) may be written to and / or deleted from the undefined area 1013. If there is data in the undefined area 1013 as shown in the message body area 1010 to be transmitted, the control module 160 may extract the data in the undefined area 1013.

[0142] The control module 160 may arrange the extracted data of the undefined area 1013 in a determined area 1022 of page 1002. For example, the control module 160 may arrange the extracted data of the undefined area 1013 in front of the undefined area 1023 of page 1002. Regarding this operation, the control module 160 may shift the data in the defined area 1024 and the data in the undefined area 1023 in the message body area 1020 by an amount equal to a certain data area size such as the size of the undefined area 1013. Therefore, the control module 160 may successively arrange the data in the undefined area 1013 and the data in the undefined area 1023, and may arrange the extracted data of the undefined area 1013 in the determined area 1022. Such an operation may be performed while generating a message to be transmitted based on user data input by the user using the message application. For example, if user data that requires generating multiple pages is received from the message application, the control module 160 may check and / or determine whether multi-byte code type data is arranged in a determined area (such as the boundary area of a page defined by the message standard) of the received data. If the multi-byte code type data is arranged in the boundary area, the control module 160 may perform the above operation so that the data is written as defined data rather than undefined data. Here, the control module 160 may arrange some data arranged on the boundary area between pages in the upper area of the next page.

[0143] In the above process, if the size of the entire message content exceeds the size of the message body area 1020 due to adding the data in the undefined area 1013 to the determined area 1022, the control module 160 may generate a new page 1003 to write a certain amount of data in page 1003. If the operation for successively arranging the data in the undefined area is completed, the control module 160 may control the message to be sent to other electronic devices 101.

[0144] According to different embodiments, the display module 160 may perform real-time processing when inputting user data to write a message. For example, when the control module 160 writes data in the message body area in the order of input of user data, if the data being written reaches a certain lower area of the message body area, the control module 160 may check and / or determine whether only a part of the multi-byte code type data is written in this area and is thus undefined. In the case where only a part of the data should be written in the corresponding area, the control module 160 may regenerate a page and may write data corresponding to a single character, icon, and / or image in the generated page. Here, before generating the page, the control module 160 may output a wizard regarding whether to change the code type and a warning message notifying that multiple pages need to be generated.

[0145] Figure 11 FIG. is an exemplary diagram of a message receiving screen interface of an electronic device according to an embodiment of the present disclosure.

[0146] Referring to Figure 11 , status 1101 indicates that a message-related error occurs due to unprocessed data in the undefined area (i.e., undefined data). For example, if the undefined data is not processed properly, the message error area 1110 may be output to the display module 140. For example, the message error area 1110 may output multiple message errors due to multiple undefined data items.

[0147] Status 1103 indicates that no error occurs because the data in the undefined area has been processed. As shown, a message 1120 without an error may be output. Since single characters, images, emojis, and / or icons are used to process the undefined data items, the message 1120 with one less character than the characters in the message error area 1110 may be output to the display module 140.

[0148] Each of the above elements of the electronic device according to different embodiments of the present disclosure may be configured using one or more components, and the names of the elements may change according to the type of the electronic device. The electronic device according to the present disclosure may include at least one of the above elements, and some elements may be omitted and / or other additional elements may be added. In addition, some of the elements of the electronic device according to the present disclosure may be combined with each other to form one entity, so that the functions of the elements may be executed in the same manner as before the combination.

[0149] As used herein, the term "module" may refer to a unit including, for example, one or more combinations of hardware, software, and firmware. The term "module" may be used interchangeably with the terms "unit", "logic", "logic block", "component", and "circuit". A module may be the smallest unit of an integrated component or may be a part thereof. A module may be the smallest unit or a part thereof for performing one or more functions. A module may be implemented mechanically or electronically. For example, a module according to the present disclosure may include at least one of an application specific integrated circuit (ASIC) chip, a field programmable gate array (FPGA), and a programmable logic device for performing some operations that are known or will be developed.

[0150] According to different embodiments, at least a part (e.g., a module and / or its function) of a device according to the present disclosure and / or a method (e.g., an operation) may be instructions implemented in the form of a programming module stored in a non-transitory computer-readable storage medium. When the instructions are executed by at least one processor (e.g., processor 210), the at least one processor may execute functions corresponding to the instructions. The non-transitory computer-readable storage medium may be, for example, memory 120. At least a part of the programming module may be implemented (e.g., executed) by a processor. At least a part of the programming module may include, for example, a module, a program, a routine, an instruction set, or a process for performing at least one function.

[0151] The non-transitory computer-readable storage medium may include magnetic media (such as hard disks, floppy disks, and magnetic tapes), optical media such as compact disc read-only memory (CD-ROM) and digital versatile disc (DVD), magneto-optical media such as floppy optical discs, and hardware devices configured to store and execute program instructions such as programming modules (such as read-only memory (ROM), random access memory (RAM), and flash memory). The program instructions may include machine language code made by a compiler and high-level language code that can be executed by a computer using an interpreter. The above hardware may be configured to operate as one or more software modules for performing the operations of the present disclosure, and vice versa.

[0152] A module and / or a programming module according to the present disclosure may include at least one of the above elements, and / or some elements may be omitted and / or other additional elements may be added. Operations performed by a module, a programming module, or other elements may be performed in a sequential, parallel, iterative, and / or heuristic manner. In addition, some operations may be performed in a different order or may be omitted, or other operations may be added.

[0153] As used herein, the terms "comprising", "including", "having" or "containing" indicate the presence of the disclosed functions, operations or elements, but do not exclude other functions, operations or elements. It should also be understood that the terms "comprising", "including", "having", "including having" or "containing" or "possessing" as used herein specify the presence of the stated features, numbers, steps, operations, elements, components or combinations thereof, but do not exclude the presence or addition of one or more other features, numbers, steps, operations, elements, components or combinations thereof.

[0154] The meanings of the terms used herein include any combination of words connected by the term "or". For example, the expression A or B may mean A, B, or both A and B.

[0155] Terms such as "first", "second" as used herein may refer to different elements of different embodiments, but do not limit the elements. For example, such terms do not limit the order and / or priority of the elements. In addition, such terms may be used to distinguish one element from another. For example, without departing from the scope of the various embodiments, the first element may be referred to as the second element, and vice versa.

[0156] It should be understood that when an element is referred to as "linked", "connected" or "coupled" to another element, it may be directly connected or coupled to the other element or there may be intervening elements. In contrast, when an element is referred to as "directly connected" or "directly coupled" to another element, it should be understood that there are no intervening elements.

[0157] The terms used herein are not used to limit different embodiments, but to describe specific embodiments. Singular terms may include plural forms unless otherwise specified.

[0158] The terms used in this language (including technical terms or scientific terms) have the same meanings as understood by those skilled in the art, unless otherwise defined herein. Commonly used terms (such as terms defined in a dictionary) should be interpreted in the same context as in the relevant field and should not be interpreted in an idealized or overly formal sense unless otherwise clearly defined.

[0159] An electronic device according to different embodiments may include at least one of a smart phone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a network computer, a personal digital assistant (PDA), a portable multimedia player (PMP), a digital audio player, a mobile medical device, a camera, a wearable device (such as a head-mounted device (HMD), such as electronic glasses), electronic clothing, an electronic bracelet, an electronic collar, electronic jewelry, an electronic tattoo, and a smart watch.

[0160] An electronic device according to some embodiments may be a smart home device. The smart home device may include, for example, at least one of a television (TV), a DVD player, a stereo, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air purifier, a set-top box, a TV box (e.g., Samsung HomeSyncTM, Apple TVTM, or Google TVTM), a game console, an electronic dictionary, an electronic key, a video camera, and an electronic photo frame.

[0161] An electronic device according to some embodiments may include at least one of a medical device (e.g., magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT), an imaging device, and an ultrasonic device), a navigation device, a global positioning system (GPS) receiver, an event data recorder (EDR), a flight data recorder (FDR), an automotive infotainment device, marine electronic devices (e.g., a navigation system and a gyrocompass), avionics, security devices, an automotive stereo, industrial or home robots, an automated teller machine (ATM), and a point of sale (POS).

[0162] An electronic device according to different embodiments may include at least one of furniture having a communication function or a part of a building / structure, an electronic board, an electronic signature receiving device, a projector, and a measuring instrument (e.g., a water meter, an electric meter, a gas meter, and a wave gauge). An electronic device according to different embodiments may be a combination of one or more of the above devices. In addition, an electronic device according to the present disclosure may be a deformable device. It will be apparent to those skilled in the art that an electronic device according to different embodiments is not limited to the above devices.

[0163] As described above, according to the message processing method and the electronic device supporting the message processing method according to different embodiments, no error occurs when converting a text message including at least a certain amount of data input by a user into multiple pages.

[0164] Although the present disclosure has been shown and described with reference to different embodiments of the present disclosure, those skilled in the art will understand that various changes may be made in form and detail without departing from the spirit and scope of the present disclosure defined by the appended claims and their equivalents.

Claims

1. An electronic device, comprising: A communication interface; A display; At least one processor; And A memory storing instructions that, when executed by the at least one processor, cause the electronic device to: Receive user input for data for generating a message to be sent, Control the display to display a message including at least one multi-byte Unicode content corresponding to the user input, Receive a request to send the message, Based on the request, identify that the message corresponds to a multi-page message that needs to send multiple pages, Based on identifying that the message corresponds to the multi-page message, identify whether first undefined data and second undefined data of the multi-byte Unicode content data are provided at a predefined region of the message, If the first undefined data and the second undefined data of the multi-byte Unicode content data are provided at the predefined region of the message, arrange a first portion of the data of the message before the first undefined data to be included in a first page of the multi-page message and arrange a second portion of the data of the message starting from the multi-byte Unicode content data to be included in a second page of the multi-page message, and Control the communication interface to send the multi-page message including the first page and the second page, Wherein, when the first undefined data and the second undefined data are included in the same page together, the first undefined data and the second undefined data can be identified as defined data defined by Unicode.

2. The electronic device according to claim 1, Among them, If the message is divided into pages according to a message standard, the predefined region corresponds to a boundary region between pages of the multi-page message.

3. The electronic device according to claim 1, wherein, One multi-byte Unicode content of the at least one multi-byte Unicode content including the first undefined data and the second undefined data corresponds to an emoji.

4. The electronic device according to claim 1, wherein, The instructions further cause the electronic device to change the predefined region of the message by: Shifting at least a part of the data including the second undefined data in the second page by the same amount as the size of the first undefined data.

5. The electronic device according to claim 1, wherein, The instructions further cause the electronic device to change the predefined region of the message by: Generating a third page based on determining that the size of the message body region of the second page is greater than a given size.

6. The electronic device according to claim 1, wherein, The instructions further cause the electronic device to change the predefined region of the message by: Inserting a message body size value of the second page in the message header of the second page.

7. The electronic device according to claim 1, wherein, The instructions further cause the electronic device to change the predefined region of the message by: Based on identifying that the bottom two bytes of the second page are within the Unicode surrogate range, inserting the two bytes using a space, a carriage return, or a line feed.

8. The electronic device according to claim 1, further comprising an audio circuit, Among them, The instructions further cause the electronic device to output at least one of an alert sound or a guidance voice in response to detecting that the message exceeds multiple pages when receiving the request.

9. A method of an electronic device, comprising: Displaying a message including a plurality of multi-byte Unicode contents corresponding to user input; Receiving a request to send the message; Based on the request, identify that the message corresponds to a multi-page message that needs to send multiple pages including a first page and a second page; If at least one unrecognizable character is provided at the end part of the first page and the start part of the second page, modify the multi-page message by moving the data constituting at least one unrecognizable character at the end part of the first page to the start part of the second page; and Send the modified multi-page message including the first page and the second page.

10. The method according to claim 9, Among them, The multi-page message needs to divide the message into multiple data transmission units and send the multiple data transmission units separately, and wherein, the first page corresponds to the first data transmission unit, and the second page corresponds to the second data transmission unit.

11. The method according to claim 9, Among them, One multi-byte Unicode content in the multi-byte Unicode content including at least one unrecognizable character provided at the end part of the first page and at least one unrecognizable character provided at the start part of the second page corresponds to an emoji.

12. The method according to claim 9, further comprising: Shift at least a part of the data including at least one unrecognizable character provided at the start part of the second page by the same amount as the size of the data.

13. The method according to claim 9, further comprising: Generate a third page based on determining that the size of the message body area of the second page is greater than a given size.

14. The method according to claim 9, further comprising: Insert the message body size value of the second page into the message header of the second page.

15. The method according to claim 9, further comprising: Output at least one of an alert sound or a guidance voice in response to detecting that the message exceeds multiple pages when receiving the request.

16. An electronic device, comprising: A communication interface; A display; A memory storing instructions; And At least one processor configured to execute the stored instructions to: Control the display to display a message including multiple multi-byte Unicode contents corresponding to user input, Receive a request to send the message, Based on the request, identify that the message corresponds to a multi-page message that needs to send multiple pages including a first page and a second page, If a single multi-byte Unicode content among the multi-byte Unicode contents is divided between the end part of the first page and the start part of the second page, modify the multi-page message by moving a part of the single multi-byte Unicode content included in the end part of the first page to the start part of the second page, and Control the communication interface to send the modified multi-page message including the first page and the second page.

17. The electronic device according to claim 16, Among them, The multi-page message needs to divide the message into multiple data transmission units and send the multiple data transmission units separately, and wherein, the first page corresponds to the first data transmission unit, and the second page corresponds to the second data transmission unit.

18. The electronic device according to claim 16, wherein, A single multi-byte Unicode content including a first part and a second part corresponds to an emoji.

19. The electronic device according to claim 16, wherein, The at least one processor is further configured to modify a first page and a second page of a multi-page message by: shifting a second portion in the second page by as much as the size of the portion.

20. The electronic device according to claim 16, further comprising an audio circuit, Among them, The at least one processor is further configured to output at least one of an alert sound or a wizard voice in response to detecting that the message exceeds a plurality of pages upon receiving the request.

21. The electronic device according to claim 16, wherein, The at least one processor is further configured to execute stored instructions to: control a display to display the modified multi-page message, wherein, when combined in the second page of the multi-page message, the first portion and the second portion can be recognized as defined data defined by Unicode.

22. The electronic device according to claim 16, wherein, The at least one processor is further configured to: generate a third page based on determining that a size of a message body area of the second page is greater than a given size.

23. The electronic device according to claim 16, wherein, The at least one processor is further configured to: insert a message body size value of the second page in a message header of the second page.

24. The electronic device according to claim 16, wherein, The at least one processor is further configured to: insert the two bytes using a space, a carriage return, or a line feed based on recognizing that the bottom two bytes of the second page are within a Unicode surrogate range.

Citation Information

Patent Citations

  • Flexible font

    CN102648641A

  • Sender-initiated print-on-receipt fuctionality in an electronic messaging environment

    US20030187939A1