KR20130081754A - Terminal and operating method thereof - Google Patents

Terminal and operating method thereof Download PDF

Info

Publication number
KR20130081754A
KR20130081754A KR1020120002733A KR20120002733A KR20130081754A KR 20130081754 A KR20130081754 A KR 20130081754A KR 1020120002733 A KR1020120002733 A KR 1020120002733A KR 20120002733 A KR20120002733 A KR 20120002733A KR 20130081754 A KR20130081754 A KR 20130081754A
Authority
KR
South Korea
Prior art keywords
text
encoding format
text string
string
ssid
Prior art date
Application number
KR1020120002733A
Other languages
Korean (ko)
Inventor
윤정균
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020120002733A priority Critical patent/KR20130081754A/en
Publication of KR20130081754A publication Critical patent/KR20130081754A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

PURPOSE: A terminal and an operation method thereof are provided to support service set identifiers (ID) of various text encoding formats without any particular operation of a user. CONSTITUTION: If a recognized encoding format is a first text encoding format, a first text encoding format conversion part (183) generates a second text string containing a first text string. If a recognized encoding format is a second text encoding format, the first text encoding format conversion part generates a third text string by converting the first text string into the first text encoding format. A user interface providing part (185) stores the second text string or the third text string, which are provided by the first text encoding format conversion part, in a memory. [Reference numerals] (182) Communication control part; (183) First text encoding format conversion part; (184) Second text encoding format conversion part; (185) User interface providing part

Description

[0001] TERMINAL AND OPERATING METHOD THEREOF [0002]

The present invention relates to a terminal and an operation method thereof.

The Wi-Fi access point broadcasts a beacon frame including a service set identifier (SSID) and configuration information.

This service set identifier is a 32-byte long text string. Therefore, this service identifier can follow various text encoding formats.

However, most current operating systems (OSs) support only one text encoding format.

In this situation, when the terminal receives the beacon frame including the service set identifier and the setting information, the terminal stores the service set identifier as a profile.

However, when the terminal later displays the stored profile, the terminal abnormally displays a service set identifier of a text encoding format that the terminal does not support. In addition, when the terminal later accesses the access point through the stored profile, the terminal inquires the relevant setting information by using the abnormal service set identifier, so that the related setting information cannot be found and thus the access point cannot be accessed. .

An object of the present invention is to provide a terminal and a method of operating the same, which support service set identifiers of various text encoding formats without user manipulation.

One embodiment of the present invention relates to a method of operating a terminal based on a first text encoding format, the terminal comprising a memory, the method comprising: receiving a first text string from a communication device; Analyzing the pattern of the first text string to recognize an encoding format of the first text string; If the recognized encoding format is the first text encoding format, storing a second text string comprising the first text string in the memory; If the recognized encoding format is a second text encoding format, converting the first text string to the first text encoding format to generate a third text string and storing the third text string in the memory. And at least one of the second text string and the third text string includes an identification character for identification of a text encoding format.

According to another embodiment of the present invention, a terminal based on a first text encoding format includes a communication unit configured to receive a first text string from a communication device; Generate a second text string comprising the first text string when the recognized encoding format is the first text encoding format, and convert the first text string when the recognized encoding format is the second text encoding format; A first text encoding format converter configured to convert the first text encoding format to generate a third text string; And a user interface providing unit configured to store the second text string or the third text string provided by the first text encoding format converter in the memory, wherein at least one of the second text string and the third text string includes: Contains an identifying character for identification of the text encoding format.

Although the text string has two or more encoding formats, and different encoding formats are used in terms of storage and use, or in display and usage, the terminal according to the embodiment of the present invention provides texts of various text encoding formats without user manipulation. It can support strings.

In particular, a terminal according to various embodiments of the present disclosure may support service set identifiers of various text encoding formats without user's manipulation.

1 is a block diagram of a mobile terminal according to an embodiment of the present invention.
2 shows a block diagram of a control unit according to an embodiment of the present invention.
3 is a flowchart illustrating a profile storing method according to an exemplary embodiment of the present invention.
4 shows an access point access method according to an embodiment of the present invention.
5 is a flowchart illustrating a method of recognizing a text encoding format according to an embodiment of the present invention.
6 illustrates a problem of solving the SSID encoding problem as a menu instead of applying the embodiment of the present invention.
7 shows the effect when the embodiment of the present invention is applied.

Hereinafter, a mobile terminal related to the present invention will be described in detail with reference to the drawings. The suffix "module" and " part "for the components used in the following description are given or mixed in consideration of ease of specification, and do not have their own meaning or role.

The mobile terminal described in this specification may include a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a PDA (Personal Digital Assistants), a PMP (Portable Multimedia Player), and navigation. However, it will be readily apparent to those skilled in the art that the configuration according to the embodiments described herein may also be applied to fixed terminals such as digital TVs, desktop computers, etc., except when applicable only to mobile terminals.

Hereinafter, a structure of a mobile terminal according to an embodiment of the present invention will be described with reference to FIG.

1 is a block diagram of a mobile terminal according to an embodiment of the present invention.

The mobile terminal 100 includes a wireless communication unit 110, an audio / video input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, A controller 170, a controller 180, a power supply 190, and the like. The components shown in FIG. 1 are not essential, and a mobile terminal having more or fewer components may be implemented.

Hereinafter, the components will be described in order.

The wireless communication unit 110 may include one or more modules for enabling wireless communication between the mobile terminal 100 and the wireless communication system or between the mobile terminal 100 and the network in which the mobile terminal 100 is located. For example, the wireless communication unit 110 may include a broadcast receiving module 111, a mobile communication module 112, a wireless Internet module 113, a short range communication module 114, and a location information module 115 .

The broadcast receiving module 111 receives a broadcast signal and / or broadcast related information from an external broadcast management server through a broadcast channel.

The broadcast channel may include a satellite channel and a terrestrial channel. The broadcast management server may refer to a server for generating and transmitting broadcast signals and / or broadcast related information, or a server for receiving broadcast signals and / or broadcast related information generated by the broadcast management server and transmitting the generated broadcast signals and / or broadcast related information. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and a broadcast signal in which a data broadcast signal is combined with a TV broadcast signal or a radio broadcast signal.

The broadcast-related information may refer to a broadcast channel, a broadcast program, or information related to a broadcast service provider. The broadcast related information may also be provided through a mobile communication network. In this case, it may be received by the mobile communication module 112.

The broadcast related information may exist in various forms. For example, it may exist in the form of Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB) or Electronic Service Guide (ESG) of Digital Video Broadcast-Handheld (DVB-H).

For example, the broadcast receiving module 111 may be a Digital Multimedia Broadcasting-Terrestrial (DMB-T), a Digital Multimedia Broadcasting-Satellite (DMB-S), a Media Forward Link Only And a Digital Broadcasting System (ISDB-T) (Integrated Services Digital Broadcast-Terrestrial). Of course, the broadcast receiving module 111 may be adapted to other broadcasting systems as well as the digital broadcasting system described above.

The broadcast signal and / or broadcast related information received through the broadcast receiving module 111 may be stored in the memory 160.

The mobile communication module 112 transmits and receives radio signals to at least one of a base station, an external terminal, and a server on a mobile communication network. The wireless signal may include various types of data depending on a voice call signal, a video call signal or a text / multimedia message transmission / reception.

The wireless Internet module 113 is a module for wireless Internet access, and may be built in or externally attached to the mobile terminal 100. Wireless Internet technologies may include Wireless LAN (Wi-Fi), Wireless Broadband (Wibro), World Interoperability for Microwave Access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.

The short range communication module 114 refers to a module for short range communication. Bluetooth, Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), ZigBee, and the like can be used as a short range communication technology.

The position information module 115 is a module for obtaining the position of the mobile terminal, and a representative example thereof is a Global Position System (GPS) module.

Referring to FIG. 1, an A / V (Audio / Video) input unit 120 is for inputting an audio signal or a video signal, and may include a camera 121 and a microphone 122. The camera 121 processes image frames such as still images or moving images obtained by the image sensor in the video call mode or the photographing mode. The processed image frame can be displayed on the display unit 151. [

The image frame processed by the camera 121 may be stored in the memory 160 or transmitted to the outside through the wireless communication unit 110. [ Two or more cameras 121 may be provided depending on the use environment.

The microphone 122 receives an external sound signal through a microphone in a communication mode, a recording mode, a voice recognition mode, or the like, and processes it as electrical voice data. The processed voice data can be converted into a form that can be transmitted to the mobile communication base station through the mobile communication module 112 when the voice data is in the call mode, and output. Various noise reduction algorithms may be implemented in the microphone 122 to remove noise generated in receiving an external sound signal.

The user input unit 130 generates input data for a user to control the operation of the terminal. The user input unit 130 may include a key pad dome switch, a touch pad (static pressure / capacitance), a jog wheel, a jog switch, and the like.

The sensing unit 140 senses the current state of the mobile terminal 100 such as the open / close state of the mobile terminal 100, the position of the mobile terminal 100, the presence or absence of user contact, the orientation of the mobile terminal, And generates a sensing signal for controlling the operation of the mobile terminal 100. For example, when the mobile terminal 100 is in the form of a slide phone, it may sense whether the slide phone is opened or closed. In addition, whether the power supply unit 190 is supplied with power, whether the interface unit 170 is coupled to the external device may be sensed. Meanwhile, the sensing unit 140 may include a proximity sensor 141.

The output unit 150 is for generating output related to the visual, auditory or tactile sense and includes a display unit 151, an audio output module 152, an alarm unit 153, and a haptic module 154 .

The display unit 151 displays (outputs) information processed by the mobile terminal 100. For example, when the mobile terminal is in the call mode, a UI (User Interface) or a GUI (Graphic User Interface) associated with a call is displayed. When the mobile terminal 100 is in the video communication mode or the photographing mode, the photographed and / or received video or UI and GUI are displayed.

The display unit 151 may be a liquid crystal display (LCD), a thin film transistor-liquid crystal display (TFT LCD), an organic light-emitting diode (OLED), a flexible display display, and a 3D display.

Some of these displays may be transparent or light transmissive so that they can be seen through. This can be referred to as a transparent display, and a typical example of the transparent display is TOLED (Transparent OLED) and the like. The rear structure of the display unit 151 may also be of a light transmission type. With this structure, the user can see an object located behind the terminal body through the area occupied by the display unit 151 of the terminal body.

There may be two or more display units 151 according to the embodiment of the mobile terminal 100. For example, in the mobile terminal 100, a plurality of display portions may be spaced apart from one another, or may be disposed integrally with one another, and may be disposed on different surfaces, respectively.

When the display unit 151 and a sensor for detecting a touch operation (hereinafter, referred to as a touch sensor) form a mutual layer structure (hereinafter referred to as a touch screen), the display unit 151 may be configured in addition to an output device. Can also be used as an input device. The touch sensor may have the form of, for example, a touch film, a touch sheet, a touch pad, or the like.

The touch sensor may be configured to convert a change in a pressure applied to a specific portion of the display unit 151 or a capacitance generated in a specific portion of the display unit 151 into an electrical input signal. The touch sensor can be configured to detect not only the position and area to be touched but also the pressure at the time of touch.

If there is a touch input to the touch sensor, the corresponding signal (s) is sent to the touch controller. The touch controller processes the signal (s) and transmits the corresponding data to the controller 180. As a result, the controller 180 can know which area of the display unit 151 is touched.

Referring to FIG. 1, a proximity sensor 141 may be disposed in an inner region of the mobile terminal or in the vicinity of the touch screen, which is surrounded by the touch screen. The proximity sensor 141 refers to a sensor that detects the presence of an object approaching a predetermined detection surface or an object existing in the vicinity of the detection surface without mechanical contact using an electromagnetic force or an infrared ray. The proximity sensor 141 has a longer life than the contact type sensor and its utilization is also high.

Examples of the proximity sensor 141 include a transmission type photoelectric sensor, a direct reflection type photoelectric sensor, a mirror reflection type photoelectric sensor, a high frequency oscillation type proximity sensor, a capacitive proximity sensor, a magnetic proximity sensor, and an infrared proximity sensor. And to detect the proximity of the pointer by the change of the electric field along the proximity of the pointer when the touch screen is electrostatic. In this case, the touch screen (touch sensor) may be classified as a proximity sensor.

Hereinafter, for convenience of explanation, the act of allowing the pointer to be recognized without being in contact with the touch screen so that the pointer is located on the touch screen is referred to as a "proximity touch", and the touch The act of actually touching the pointer on the screen is called "contact touch." The position where the pointer is proximately touched on the touch screen means a position where the pointer is vertically corresponding to the touch screen when the pointer is touched.

The proximity sensor detects a proximity touch and a proximity touch pattern (e.g., a proximity touch distance, a proximity touch direction, a proximity touch speed, a proximity touch time, a proximity touch position, a proximity touch movement state, and the like). Information corresponding to the detected proximity touch operation and the proximity touch pattern may be output on the touch screen.

The sound output module 152 may output audio data received from the wireless communication unit 110 or stored in the memory 160 in a call signal reception, a call mode or a recording mode, a voice recognition mode, a broadcast reception mode, and the like. The sound output module 152 also outputs sound signals related to functions (e.g., call signal reception sound, message reception sound, etc.) performed in the mobile terminal 100. [ The audio output module 152 may include a receiver, a speaker, a buzzer, and the like.

The alarm unit 153 outputs a signal for notifying the occurrence of an event of the mobile terminal 100. Examples of events that occur in the mobile terminal include call signal reception, message reception, key signal input, touch input, and the like. The alarm unit 153 may output a signal for notifying the occurrence of an event in a form other than the video signal or the audio signal, for example, vibration. The video signal or the audio signal may be output through the display unit 151 or the audio output module 152 so that they may be classified as a part of the alarm unit 153.

The haptic module 154 generates various tactile effects that the user can feel. Vibration is a representative example of the haptic effect generated by the haptic module 154. The intensity and pattern of vibration generated by the haptic module 154 can be controlled. For example, different vibrations may be synthesized and output or sequentially output.

In addition to vibration, the haptic module 154 may be configured to provide a pin array that vertically moves with respect to the contact skin surface, a jetting force or suction force of air through an injection or inlet port, grazing to the skin surface, contact of an electrode, electrostatic force, and the like. Various tactile effects can be generated, such as effects by the endothermic and the reproduction of a sense of cold using the elements capable of endotherm or heat generation.

The haptic module 154 can be implemented not only to transmit the tactile effect through the direct contact but also to allow the user to feel the tactile effect through the muscular sensation of the finger or arm. The haptic module 154 may include two or more haptic modules 154 according to the configuration of the portable terminal 100.

The memory 160 may store a program for the operation of the controller 180 and temporarily store input / output data (e.g., a phone book, a message, a still image, a moving picture, etc.). The memory 160 may store data on vibration and sound of various patterns outputted when a touch is input on the touch screen.

The memory 160 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory), a RAM (Random Access Memory), SRAM (Static Random Access Memory), ROM (Read Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), PROM A disk, and / or an optical disk. The mobile terminal 100 may operate in association with a web storage that performs a storage function of the memory 160 on the Internet.

The interface unit 170 serves as a path for communication with all external devices connected to the mobile terminal 100. The interface unit 170 receives data from an external device or supplies power to each component in the mobile terminal 100 or transmits data to the external device. For example, a wired / wireless headset port, an external charger port, a wired / wireless data port, a memory card port, a port for connecting a device having an identification module, an audio I / O port, A video input / output (I / O) port, an earphone port, and the like may be included in the interface unit 170.

The identification module is a chip for storing various information for authenticating the use right of the mobile terminal 100 and includes a user identification module (UIM), a subscriber identity module (SIM), a general user authentication module A Universal Subscriber Identity Module (USIM), and the like. Devices with identification modules (hereinafter referred to as "identification devices") can be manufactured in a smart card format. Accordingly, the identification device can be connected to the terminal 100 through the port.

When the mobile terminal 100 is connected to an external cradle, the interface unit may be a path through which power from the cradle is supplied to the mobile terminal 100, or various command signals input by the user to the cradle may be transmitted It can be a passage to be transmitted to the terminal. The various command signals or the power source input from the cradle may be operated as a signal for recognizing that the mobile terminal is correctly mounted on the cradle.

The controller 180 typically controls the overall operation of the mobile terminal. For example, voice communication, data communication, video communication, and the like. The control unit 180 may include a multimedia module 181 for multimedia playback. The multimedia module 181 may be implemented in the control unit 180 or may be implemented separately from the control unit 180. [

The controller 180 may perform a pattern recognition process for recognizing handwriting input or drawing input performed on the touch screen as characters and images, respectively.

The power supply unit 190 receives an external power source and an internal power source under the control of the controller 180 to supply power for operation of each component.

The various embodiments described herein may be embodied in a recording medium readable by a computer or similar device using, for example, software, hardware, or a combination thereof.

According to a hardware implementation, the embodiments described herein may be implemented as application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays May be implemented using at least one of processors, controllers, micro-controllers, microprocessors, and other electronic units for performing other functions. In some cases, May be implemented by the control unit 180.

According to a software implementation, embodiments such as procedures or functions may be implemented with separate software modules that perform at least one function or operation. The software code may be implemented by a software application written in a suitable programming language. The software codes are stored in the memory 160 and can be executed by the control unit 180. [

Next, the controller 180 according to an exemplary embodiment of the present invention will be described with reference to FIG. 2.

2 shows a block diagram of a control unit according to an embodiment of the present invention.

As shown in FIG. 2, by executing an operating system (OS), a driver, a program, and the like, the controller 180 controls the communication controller 182, the first text encoding format converter 183, and the second. A text encoding format conversion unit 184 and a communication connection user interface providing unit 185 are included. For the purpose of describing FIG. 2, it is assumed that the operating system uses UTF-8 (Universal Character Set Transformation Format-8bit) as the language input system, and in particular, as the Korean input system.

In an embodiment of the present invention, the wireless communication unit 110 is described as receiving a beacon frame including a service set identifier (SSID) and configuration information from the access point (AP) of the Wi-Fi . The service set identifier is assumed and described as being able to follow UTF-8 or KSC5601 depending on the access point, but need not be limited thereto.

The communication control unit 182 corresponds to a driver for controlling the wireless communication unit 110. In particular, hereinafter, the communication control unit 182 will be described as controlling the Wi-Fi communication module, but if the present invention can be applied may control a communication module of a communication protocol other than Wi-Fi. When the wireless communication unit 110 receives the beacon frame, the wireless communication unit 110 transmits the service set identifier and the setting information to the communication control unit 182. The communication control unit 182 stores the service set identifier and the setting information.

The first text encoding format converter 183 generates the SSID text string by converting the text encoding format of the service set identifier provided by the communication controller 182 into the first text encoding format. At this time, if necessary, the first text encoding format converter 183 adds an identification character to the SSID text string.

The communication connection user interface providing unit 185 regards the SSID text string provided by the first text encoding format conversion unit 183 as the SSID, and manages a profile including the SSID. The communication connection user interface providing unit 185 may be formed in the controller 180 through execution of an application that provides a communication connection user interface. The mobile terminal 100 can also download and install this application.

The second text encoding format conversion unit 184 converts the SSID text string provided by the communication connection user interface providing unit 185 into an SSID based on the identification character, and provides the generated SSID to the communication control unit 182.

The communication control unit 182 searches for the setting information corresponding to the provided SSID and accesses the access point through the wireless communication unit 110 based on the found setting information.

3 is a flowchart illustrating a profile storing method according to an exemplary embodiment of the present invention.

The wireless communication unit 110 receives a beacon frame including the service set identifier and the setting information (S101), and transmits the service set identifier and the setting information in the received beacon frame to the communication control unit 182.

The communication control unit 182 stores the service set identifier and the setting information (S103), and transfers the service set identifier to the first text encoding format conversion unit 183.

The first text encoding format converter 183 analyzes the pattern of the service set identifier to recognize the text encoding format of the service set identifier (S105). The recognition method of the text encoding format will be described later.

When the service set identifier follows the first text encoding format (S107), the first text encoding format converter 183 generates an SSID text string including the service set identifier without changing the text encoding format of the service set identifier. (S109). The SSID text string may be the same as the service set identifier. The absence of an identification character in this case indicates that the SSID follows the first text encoding format. In addition, the SSID text string may include an identification character for identification of a service set identifier and a text encoding format. In this case the identification character indicates that the SSID follows the first text encoding format.

When the service set identifier follows the second text encoding format (S107), the first text encoding format converter 183 converts the text encoding format of the service set identifier into the first text encoding format and includes the converted text string. A SSID text string is generated (S111). The SSID text string may be the same as the service set identifier. In this case no identification character indicates that the SSID follows the second text encoding format. In addition, the SSID text string may include a converted service set identifier and an identification character for identification of a text encoding format. In this case the identification character indicates that the SSID follows the second text encoding format.

In one embodiment, the first text encoding format may be UTF-8, and the second text encoding format may be KSC5601. In another embodiment, the first text encoding format may be KSC5601 and the second text encoding format may be UTF-8. In one embodiment, the identification character may be a zero-width space (ZWSP) corresponding to 0x200B, but need not be limited thereto, and various characters may be used. In particular, when the identification character corresponds to the zero-width space, the communication connection user interface providing unit 185 displays the same text as the SSID text set in the access point, thereby preventing user confusion.

Hereinafter, for convenience of explanation, it is assumed that the first text encoding format is UTF-8 and the second text encoding format is KSC5601.

When the first text encoding format conversion unit 183 provides the SSID text string to the communication connection user interface providing unit 185, the communication connection user interface providing unit 185 stores the profile including the SSID text string in the memory 160. It is stored in the profile storage unit (S113).

4 shows an access point access method according to an embodiment of the present invention.

First, when the communication connection user interface providing unit 185 is executed, the communication connection user interface providing unit 185 displays a list of profiles on the display unit 151 (S201).

When a profile is selected in the list of profiles, the communication connection user interface provider 185 provides the SSID text string corresponding to the selected profile to the second text encoding format converter 184.

The second text encoding format conversion unit 184 converts the SSID text string into the SSID based on the identification character in the SSID text string (S203), and provides the generated SSID to the communication control unit 182.

Specifically, in one embodiment, when the text encoding format of the received SSID is UTF-8, the SSID text string has the first identifying character, and when the text encoding format of the received SSID is KSC5601, It can have two identification characters. In this case, when the SSID text string has the first identification character, the second text encoding format converter 184 may generate the SSID by excluding the first identification character from the SSID text string. On the other hand, when the SSID text string has a second identification character, the second text encoding format conversion unit 184 converts the SSID by converting the text encoding format of the remaining text strings to KSC5601 except for the second identification character in the SSID text string. Can be generated.

In another embodiment, the SSID text string may not have an identifying character when the SSID text string has ZWSP when the text encoding format of the received SSID is UTF-8 and the text encoding format of the received SSID is KSC5601. have. In this case, when the SSID text string has a ZWSP, the second text encoding format converter 184 may generate the SSID by excluding the ZWSP from the SSID text string. On the other hand, when the SSID text string does not have an identification character, the second text encoding format converter 184 may generate the SSID by converting the text encoding format of the SSID text string to KSC5601.

In another embodiment, the SSID text string may have ZWSP when the SSID text string does not have an identifying character when the text encoding format of the received SSID is UTF-8, and the text encoding format of the received SSID is KSC5601. have. In this case, when the SSID text string does not have an identification character, the second text encoding format converter 184 may regard the SSID text string itself as an SSID. Meanwhile, when the SSID text string has ZWSP, the second text encoding format converter 184 may generate the SSID by converting the text encoding format of the remaining text strings to KSC5601 except for the ZWSP in the SSID text string.

The communication control unit 182 retrieves the setting information corresponding to the provided SSID (S205), and the wireless communication unit 110 connects to the access point based on the retrieved setting information (S207).

5 is a flowchart illustrating a method of recognizing a text encoding format according to an embodiment of the present invention.

KSC5601 Korean display system is as follows. In other words, Korean characters according to KSC5601 are represented by a total of 2 bytes using the ASCII extended area where the first bit of the byte is 1. For example, 'ga' is represented by 0xB0A1, 'angle' is represented by 0xB0A2, and 'liver' is represented by 0xB0A3. There is no special pattern for the KSC5601.

Table 1 shows a part of the KSC5601 Korean code table.

Figure pat00001

In the UTF-8 encoding format, the representation and length differ depending on the code area. Since Hangul is assigned to 0xAC00 ~ 0xD7AF area, it follows 16 bits code expression method corresponding to 0x0800 ~ 0xFFFF area.

Table 2 shows the encoding schemes according to the code areas of UTF-8.

Figure pat00002

According to Table 2, 16 bits code is inserted in the form of 3 bytes (1110xxxx 10xxxxxx 10xxxxxx).

For example, the Hangul 'I' is '0xB098' and the binary number is '0b10110000 10011000' in the Unicode area.

When converted to UTF-8 format, it becomes '11101011 10000010 10011000'.

Thus, if the first bit of the start byte of a text string conforming to UTF-8 is 0, the start byte represents one byte of character. Also, if the first 3 bits of the start byte are 110, the next 1 byte starts with 10. Also, if the first 4 bits of the start byte are 1110, the next 2 bytes start with 10.

As described above, since the text string conforming to UTF-8 has a specific pattern, the encoding format of the text string can be recognized through this pattern.

When the first text encoding format converter 183 receives the SSID (S301), the first text encoding format converter 183 sets both the variable n and the variable byte to 0 (S303). In this case, the variable n represents the byte number of the analysis target, and the variable byte represents the number of bytes related to the analysis target byte among bytes after the analysis target byte.

If the variable byte is 0 (S305), the first text encoding format converter 183 checks whether the nth byte of the SSID starts with 0 (S307).

If the nth byte of the SSID starts with 0 (S307), the first text encoding format conversion unit 183 considers that the nth byte follows UTF-8, and increases the variable n by 1 to analyze the next byte. (S331).

On the other hand, if the nth byte of the SSID does not start with 0 (S307), the first text encoding format converter 183 checks whether the nth byte of the SSID starts with 110 (S309).

If the n th byte of the SSID starts with 110 (S309), the first text encoding format converter 183 considers the n th byte to be UTF-8, and the subsequent 1 byte of the n th byte is '10'. Since UTF-8 is satisfied only when it starts, the variable byte is set to 1 for analysis of the next 1 byte (S311). Thereafter, the first text encoding format conversion unit 183 increases the variable n by 1 to analyze the next byte (S331).

If the nth byte of the SSID does not start with 110 (S309), the first text encoding format converter 183 checks whether the nth byte of the SSID starts with 1110 (S313).

If the nth byte of the SSID starts with 1110 (S313), the first text encoding format conversion unit 183 considers that the nth byte follows UTF-8, and the subsequent two bytes of the nth byte are '10'. Since UTF-8 is satisfied only when it starts, the variable byte is set to 2 for the analysis of subsequent 2 bytes (S315). Thereafter, the first text encoding format conversion unit 183 increases the variable n by 1 to analyze the next byte (S331).

If the nth byte of the SSID does not start with 1110 (S313), the first text encoding format converter 183 checks whether the nth byte of the SSID starts with 11110 (S317).

If the nth byte of the SSID starts with 11110 (S317), the first text encoding format conversion unit 183 considers that the nth byte follows UTF-8, and the next 3 bytes of the nth byte are '10'. Since UTF-8 is satisfied only when it starts, the variable byte is set to 3 for analysis of subsequent 3 bytes (S319). Thereafter, the first text encoding format conversion unit 183 increases the variable n by 1 to analyze the next byte (S331).

If the nth byte of the SSID does not start with 11110 (S317), the first text encoding format converter 183 checks whether the nth byte of the SSID starts with 111110 (S321).

If the n th byte of the SSID starts with 111110 (S321), the first text encoding format converter 183 considers the n th byte to be UTF-8, and the subsequent four bytes of the n th byte are '10'. Since UTF-8 is satisfied only when it starts, the variable byte is set to 4 to analyze subsequent 4 bytes (S323). Thereafter, the first text encoding format conversion unit 183 increases the variable n by 1 to analyze the next byte (S331).

If the nth byte of the SSID does not start with 111110 (S321), the first text encoding format converter 183 checks whether the nth byte of the SSID starts with 1111110 (S325).

If the n th byte of the SSID starts with 1111110 (S325), the first text encoding format converter 183 considers the n th byte to be UTF-8, and the following five bytes of the n th byte are '10'. Since UTF-8 is satisfied only when it starts with, the variable byte is set to 5 to analyze subsequent 5 bytes (S327). Thereafter, the first text encoding format conversion unit 183 increases the variable n by 1 to analyze the next byte (S331).

On the other hand, if the nth byte of the SSID does not start with 111110 (S321), the first text encoding format converter 183 recognizes the encoding format of the SSID as KSC5601 (S329).

The first text encoding format converter 183 increases the variable n by 1 to analyze the next byte (S331), and then checks whether the variable n is smaller than the length of the SSID (S333).

If the variable n is greater than the length of the SSID (S333), the first text encoding format converter 183 considers that the analysis of the SSID is completed, and checks whether the variable byte is 0 (S335). If the variable byte is 0 (S335), the first text encoding format converter 183 recognizes the SSID encoding format as UTF-8 (S337). If the variable byte is not 0 (S335), the first text encoding format converter 183 recognizes the encoding format of the SSID as KSC5601 (S329).

On the other hand, if the variable n is smaller than the length of the SSID (S333), the first text encoding format converter 183 considers that the analysis of the SSID is incomplete, and checks whether the variable byte is 0 (S305).

If the variable byte is not 0 (S305), since the current n th byte is related to the previous (n-1) th byte, the first text encoding format converter 183 may determine that the current n th byte is '10'. Check whether it starts with (S339). If the current nth byte does not start with '10' (S339), the first text encoding format converter 183 recognizes the encoding format of the SSID as KSC5601 (S329). On the other hand, if the current nth byte starts with '10' (S339), the first text encoding format converter 183 decreases the variable byte by 1 (S341), and sets the variable n to 1 for analysis of the next byte. Increase by (S331).

Next, the effects of the present invention will be described with reference to FIGS. 6 and 7.

6 illustrates a problem of solving the SSID encoding problem as a menu instead of applying the embodiment of the present invention.

As shown in FIG. 6A, instead of applying the embodiment of the present invention, a 'Unicode (UTF-8) Apply' menu may be inserted into the setting. However, the user may not be able to accurately recognize the purpose of such a menu. In addition, even if the use of this menu is known, it causes inconvenience.

As shown in FIG. 6B, when the 'Unicode (UTF-8) Apply' menu is deactivated, only the SSID of the KSC5601 encoding format is normally displayed, and the mobile terminal 100 displays the SSID of the UTF-8 encoding format. It is not possible to connect to an access point with.

As shown in FIG. 6C, when the 'Unicode (UTF-8) apply' menu is activated, only the SSID of the UTF-8 encoding format is normally displayed, and the SSID of the KSC5601 encoding format is not displayed. Therefore, the mobile terminal 100 cannot connect to an access point having an SSID in the KSC5601 encoding format.

7 shows the effect when the embodiment of the present invention is applied.

As shown in FIG. 7A, when the embodiment of the present invention is applied, the 'Unicode (UTF-8) application' menu is unnecessary.

Nevertheless, as shown in FIG. 7B, both SSID of the UTF-8 encoding format and SSID of the KSC5601 encoding format are normally displayed, and the mobile terminal 100 has the SSID of the UTF-8 encoding format. Normal connection can be made to both the access point and the access point having the SSID in the KSC5601 encoding format.

Although the Korean SSID has been described above, if the SSID of a language other than Korean has two or more encoding formats, the present invention can be applied.

In addition, although the above description focuses on the SSID, the present invention can be applied if a text string other than the SSID has two or more encoding formats, and different encoding formats are used in terms of storage and use or in terms of display and use. have.

According to an embodiment of the present invention, the above-described method can be implemented as a code readable by a processor on a medium on which a program is recorded. Examples of the medium that can be read by the processor include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, etc., and may be implemented in the form of a carrier wave (e.g., transmission over the Internet) .

The mobile terminal described above can be applied to not only the configuration and method of the embodiments described above but also all or some of the embodiments may be selectively combined so that various modifications may be made to the embodiments It is possible.

Claims (10)

In the operating method of the terminal based on the first text encoding format,
The terminal includes a memory,
The operation method,
Receiving a first text string from a communication device;
Analyzing the pattern of the first text string to recognize an encoding format of the first text string;
If the recognized encoding format is the first text encoding format, storing a second text string comprising the first text string in the memory;
If the recognized encoding format is a second text encoding format, converting the first text string to the first text encoding format to generate a third text string and storing the third text string in the memory. and,
At least one of the second text string and the third text string includes an identifying character for identification of a text encoding format.
The method of claim 1,
Generating a fifth text string by converting a fourth text string stored in the memory into the first text encoding format or the second text encoding format based on the identification character;
Communicating with the communication device based on the fifth text string.
The method of claim 2,
The identifying character corresponds to zero width space
How it works.
The method of claim 2,
The first text string corresponds to a service set identifier.
How it works.
5. The method of claim 4,
Receiving the first text string
Receiving a beacon frame including a service set identifier and configuration information;
Storing the service set identifier and the setting information in the memory.
How it works.
The method of claim 5,
The step of transmitting the related information to the communication device
Retrieving configuration information corresponding to the fifth text string from the memory;
Performing a connection to the communication device based on the retrieved setting information.
How it works.
The method of claim 1,
Recognizing the encoding format of the first text string by analyzing the pattern of the first text string
Recognizing an encoding format of the first text string based on whether all bytes in the first text string satisfy the first text encoding format or the second text encoding format.
How it works.
In the terminal based on the first text encoding format,
Memory;
A communication unit receiving a first text string from a communication device;
Generate a second text string comprising the first text string when the recognized encoding format is the first text encoding format, and convert the first text string when the recognized encoding format is the second text encoding format; A first text encoding format converter configured to convert the first text encoding format to generate a third text string; And
A user interface provider configured to store the second text string or the third text string provided by the first text encoding format converter in the memory;
At least one of the second text string and the third text string includes an identification character for identification of a text encoding format.
9. The method of claim 8,
A second text encoding format converter configured to convert a fourth text string stored in the memory into the first text encoding format or the second text encoding format based on the identification character to generate a fifth text string; And
And a communication controller configured to communicate with the communication device through the communication unit based on the fifth text string.
10. The method of claim 9,
The first text string corresponds to a service set identifier,
The communication unit receives a beacon frame including the service set identifier and configuration information,
The communication control unit stores the service set identifier and the setting information in the memory, and performs connection with the communication device through the setting information retrieved based on the fifth text string.
terminal.
KR1020120002733A 2012-01-10 2012-01-10 Terminal and operating method thereof KR20130081754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120002733A KR20130081754A (en) 2012-01-10 2012-01-10 Terminal and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120002733A KR20130081754A (en) 2012-01-10 2012-01-10 Terminal and operating method thereof

Publications (1)

Publication Number Publication Date
KR20130081754A true KR20130081754A (en) 2013-07-18

Family

ID=48993281

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120002733A KR20130081754A (en) 2012-01-10 2012-01-10 Terminal and operating method thereof

Country Status (1)

Country Link
KR (1) KR20130081754A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101723984B1 (en) * 2017-01-31 2017-04-06 (주)그립 Device and Method for Controlling Internet of Things Device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101723984B1 (en) * 2017-01-31 2017-04-06 (주)그립 Device and Method for Controlling Internet of Things Device
JP2018125849A (en) * 2017-01-31 2018-08-09 グリブ カンパニー リミテッドGrib Co.,Ltd Iot gateway and operation method thereof
US10772137B2 (en) 2017-01-31 2020-09-08 Grib Co., Ltd Internet of things gateway and operating method of the same

Similar Documents

Publication Publication Date Title
US8893055B2 (en) Mobile terminal and operating method thereof
KR101582687B1 (en) Method for releasing locking in mobile terminal and mobile terminal using the same
US20120262370A1 (en) Mobile terminal performing remote control function for display device
US20140160316A1 (en) Mobile terminal and control method thereof
KR20140025996A (en) Terminal and control method thereof
KR20100098802A (en) Method for displaying items and mobile terminal using the same
US9996260B2 (en) Terminal and method for operating same
KR101802498B1 (en) Mobile terminal and method for searching location information using touch pattern recognition thereof
KR20100135050A (en) Mobile terminal and recognition method of image information
KR20140089206A (en) Mobile terminal and Method for controlling operation thereof
KR20110085767A (en) Mobile terminal and control method thereof
KR20130081754A (en) Terminal and operating method thereof
KR20150081523A (en) Terminal and control method thereof
KR101995234B1 (en) Terminal and control method thereof
KR20130076028A (en) Method for controlling mobile terminal
KR20140003115A (en) Mobile terminal and method for controlling of the same
US9874999B2 (en) Mobile terminal and method for operating same
KR20140140306A (en) Electronic device and operating method thereof
KR101833944B1 (en) Mobile terminal and control method therof
KR102058463B1 (en) Mobile terminal and control method therof
KR20130078712A (en) Mobile device, server and controll method of wireless access system including the same
KR101599069B1 (en) Method for transmitting and receiving data in mobile terminal and mobile terminal using the same
KR20150042637A (en) Method for controlling terminal having finger print recogization and voice excution function and the terminal thereof
KR101851632B1 (en) Mobile terminal and character displaying system using mobile terminal
KR20130124737A (en) Terminal and operation method thereof

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination