WO2018166093A1 - 一种处理服务集标识的方法、装置及终端 - Google Patents

一种处理服务集标识的方法、装置及终端 Download PDF

Info

Publication number
WO2018166093A1
WO2018166093A1 PCT/CN2017/089533 CN2017089533W WO2018166093A1 WO 2018166093 A1 WO2018166093 A1 WO 2018166093A1 CN 2017089533 W CN2017089533 W CN 2017089533W WO 2018166093 A1 WO2018166093 A1 WO 2018166093A1
Authority
WO
WIPO (PCT)
Prior art keywords
encoding format
ssid
terminal
wireless
encoding
Prior art date
Application number
PCT/CN2017/089533
Other languages
English (en)
French (fr)
Inventor
丁吉
卢军鑫
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780021648.9A priority Critical patent/CN108886745A/zh
Priority to EP17900446.0A priority patent/EP3585106A4/en
Priority to US16/493,636 priority patent/US20200014656A1/en
Publication of WO2018166093A1 publication Critical patent/WO2018166093A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4541Directories for service discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/301Name conversion
    • 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
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/30Types of network names
    • H04L2101/32Types of network names containing non-Latin characters, e.g. Chinese domain names

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a terminal for processing a service set identifier.
  • a wireless AP refers to an access point that provides wireless local area networks (WLAN) access to the Internet.
  • WLAN wireless local area networks
  • a network device having a WLAN access internet function can be regarded as a wireless AP.
  • a user can identify different wireless APs by setting a service set identifier (SSID).
  • the SSID technology can divide a WLAN into multiple sub-networks that require different authentication. Each sub-network needs independent authentication, and only the authenticated terminal can access the corresponding sub-network, thus implementing the network. Virtual isolation prevents unauthorized terminals from accessing the network.
  • the terminal having the function of accessing the wireless AP for example, a mobile phone with a wireless AP function, a notebook computer, etc.
  • the user interface displays, and the user can access the wireless AP corresponding to the SSID through the SSID displayed in the user interface of the terminal.
  • SSIDs can also be configured in different languages.
  • SSIDs in other languages can be used.
  • the display is different in the terminal.
  • the language coded SSID is used, the problem of displaying garbled characters often occurs.
  • the present application provides a method, an apparatus, and a terminal for processing a service set identifier, which are used to solve the problem that a terminal existing in the prior art is garbled when displaying an SSID.
  • the first aspect is a method for processing a service set identifier, in which the terminal acquires a first encoding format SSID of a wireless AP broadcast, converts the obtained first encoding format SSID into a second encoding format SSID, and displays the first The second encoding format SSID, wherein the second encoding format is an encoding format used by an operating system of the terminal, and the first encoding format is another encoding format different from the second encoding format.
  • the terminal converts the acquired first encoding format SSID into a second encoding format SSID that can be correctly displayed by the terminal, so that the terminal can correctly decode the second encoding format SSID by using the second encoding format, and further This makes it possible to display the second encoding format SSID without garbled characters.
  • the terminal converts the first encoding format SSID into the second encoding format SSID when displaying the first encoding format SSID.
  • the terminal converts the first encoding format SSID into the second encoding format SSID when the first encoding format SSID is displayed, so that the terminal processes the first encoding format SSID below the display layer, so that the terminal can normally display the second encoding format.
  • the SSID does not affect the processing of the first encoding format SSID by other logical layers of the terminal.
  • the terminal converts the first encoding format SSID when acquiring the first encoding format SSID. Is the second encoding format SSID. If the first encoding format SSID is obtained, the first encoding format SSID is converted into the second encoding format SSID, so that the terminal can process the second encoding format SSID above the driving layer, that is, only one type is processed on the driving layer of the terminal.
  • the SSID of the encoding format makes the logic above the driver layer of the terminal simple.
  • the terminal after acquiring the first encoding format SSID of the wireless AP broadcast, the terminal saves the first encoding format SSID and the identifier of the wireless AP to the storage space, and when determining, by the terminal, the network connection with the wireless AP, Obtaining a first encoding format SSID corresponding to the identifier of the wireless AP from the storage space, and establishing a network connection with the wireless AP based on the acquired first encoding format SSID.
  • the terminal saves the first encoding format SSID broadcasted by the wireless AP and the identifier of the wireless AP to the storage space of the terminal, so that the terminal can store the terminal when determining the network connection with the wireless AP.
  • the first encoding format SSID obtained from the storage space is consistent with the first encoding format SSID of the wireless AP broadcast, so that the terminal can establish a wireless AP based on the acquired first encoding format SSID. Internet connection.
  • the second encoding format may be a Chinese character encoding character set format or a variable length character encoding format.
  • the present application provides an apparatus for processing a service set identifier, where the apparatus for processing a service set identifier has a function of implementing a terminal in the method of the foregoing first aspect, and the function may be implemented by hardware or may be performed by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the modules can be software and/or hardware.
  • the present application provides a terminal, which may include a transceiver, a processor, a memory, and a display.
  • the transceiver, the processor, the memory and the display can be connected by a bus system.
  • the memory is for storing a program for executing a program in the memory to perform the method of processing the service set identification involved in the first aspect or any possible design of the first aspect.
  • the present application further provides a computer readable storage medium having stored thereon instructions that, when executed by a computer, can cause the computer to perform any of the first aspect, the first aspect, or the like.
  • the method involved in the design is not limited to:
  • the present application provides a computer program product that, when executed by a computer, can perform the methods of the first aspect and any of the possible aspects of the first aspect described above.
  • the embodiment of the present application converts the first encoding format SSID into a second encoding format SSID used by the operating system of the terminal by acquiring the first encoding format SSID of the wireless AP broadcast, so that the terminal can use the second encoding format to the second encoding.
  • the format SSID is correctly decoded, and the second encoding format SSID is displayed, so that the second encoding format SSID is displayed without garbled characters.
  • FIG. 1 is a schematic diagram of a logical architecture of a terminal provided by the present application.
  • FIG. 2 is a flowchart of a method for processing a service set identifier provided by the present application
  • FIG. 3 is a schematic diagram of a comparison of processing service set identifiers provided by the present application.
  • FIG. 4 is a schematic diagram of another processing service set identifier provided by the present application.
  • FIG. 5A is an effect diagram of a conventional terminal displaying an SSID
  • FIG. 5B is an effect diagram of displaying a SSID by a terminal according to the present application.
  • FIG. 6 is a flowchart of another method for processing a service set identifier provided by the present application.
  • FIG. 7 is a schematic diagram of an apparatus for processing a service set identifier according to the present application.
  • FIG. 8 is a schematic diagram of a terminal provided by the present application.
  • the method for processing an SSID provided by the present application can be applied to a terminal having the logical architecture shown in FIG. 1.
  • the logical structure of the terminal is divided into a driving layer, a protocol layer, an intermediate layer, and a display layer, wherein the driving layer is available.
  • the wireless data is transmitted and received, for example, under the WLAN coverage, and the SSID of the wireless AP broadcast is obtained.
  • the protocol layer can be used to determine whether to connect to a wireless AP, and in the case of determining to connect to the wireless AP, the connection with the wireless AP is implemented by the acquired SSID.
  • the display layer can be used to display the SSID and interact with the user interface, and the middle layer is used to implement processing of other content between the display layer and the protocol layer.
  • the encoding formats supported by the terminals and wireless APs used in various countries are inconsistent. Therefore, if the encoding format supported by the terminal is inconsistent with the encoding format of the SSID supported by the wireless AP, the terminal may not display properly when the SSID is displayed.
  • the SSID shows garbled characters.
  • an encoding format (such as a GBK encoding format supporting the Chinese encoding format) that is defaulted by the terminal operating system is generally supported.
  • the terminal When the terminal receives a encoding format different from the operating system default encoding format broadcast by the wireless AP (for example, UTF) After the SSID of the -8 encoding format, the received SSID is processed by the default encoding format, which causes the received Chinese SSID to display garbled characters.
  • the wireless AP for example, UTF
  • the embodiment of the present application provides a method for processing an SSID, which is used to solve the problem that a terminal displays a garbled SSID.
  • the logical architecture of the terminal shown in FIG. 1 is only for the purpose of illustration.
  • the logical architecture of the terminal in the embodiment of the present application may be other structures, which are not limited in this embodiment.
  • the terminal having the above logical architecture in the embodiment of the present application is a device for providing voice and/or data connectivity to a user, and may include various handheld devices and in-vehicle devices having wireless communication functions.
  • Wearable device computing device or other processing device connected to the wireless modem, and various forms of user equipment (UE), mobile station (MS), terminal equipment, transmission point (transmission and Receiver point, TRP or transmission point, TP) and so on.
  • UE user equipment
  • MS mobile station
  • terminal equipment transmission point
  • TRP transmission and Receiver point
  • TP transmission point
  • FIG. 2 is a flowchart of a method for processing an SSID according to an embodiment of the present application. Referring to FIG. 2, the method includes:
  • the terminal acquires a first encoding format SSID of the wireless AP broadcast.
  • a plurality of wireless APs may be included in the WLAN where the terminal is located, and each wireless AP corresponds to an SSID for identifying the wireless AP.
  • the terminal performs the network connection
  • the SSID of each wireless AP broadcasted in the WLAN coverage is obtained, and the obtained SSID is displayed in the form of a network list on the user interface of the terminal, so that the user can select one of the network lists displayed on the terminal user interface.
  • the wireless AP corresponding to the SSID performs network connection.
  • the SSID of the wireless AP is encoded in a fixed encoding format. If the encoding format is inconsistent with the encoding format supported by the terminal operating system, the SSID may be displayed in a garbled manner. The case where garbled characters appear in the SSID is explained.
  • the encoding format used to identify the SSID of the wireless AP is referred to as a first encoding format
  • the encoding format supported by the terminal operating system is referred to as a second encoding format.
  • the first encoding format is different from the second encoding format.
  • first, second and the like in the specification and claims of the embodiments of the present application and the drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
  • the order, for example, the first encoding format SSID and the second encoding format SSID involved in the foregoing embodiments of the present invention are only for convenience of description and area.
  • the SSIDs of different encoding formats do not constitute a limitation on the encoding format. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in a sequence other than those illustrated or described herein.
  • first encoding format SSID involved in the embodiment of the present application refers to an SSID that supports the first encoding format.
  • the terminal converts the first encoding format SSID into the second encoding format SSID, and displays the second encoding format SSID.
  • the second encoding format SSID can be understood as an SSID that can be normally displayed on the terminal display interface.
  • the encoding format supported by the SSID normally displayed on the terminal display interface is an encoding supported by the operating system of the terminal.
  • the second encoding format in the embodiment of the present application can be understood as an encoding format supported by the operating system of the terminal. For example, if the encoding format used by the terminal operating system is GBK, the SSID using the GBK encoding format can be understood as the second encoding format SSID.
  • the terminal converts the acquired first encoding format SSID into a second encoding format SSID, and the second encoding format SSID is an encoding format supported by the operating system of the terminal, so the terminal performs the second encoding format.
  • the second encoding format SSID can be correctly decoded using the second encoding format, so that the second encoding format SSID is displayed without garbled characters.
  • the second encoding format may be determined according to an encoding format supported by the terminal operating system, and the encoding format may be a Chinese character encoding character set format or a variable length character encoding format.
  • the Chinese character coded character set format may include GBK, GB2312, and GB18030, and the variable length character encoding format may include UTF-8, UTF-16, and the like.
  • the terminal converts the first encoding format SSID into the second encoding format SSID, and may adopt the following manner:
  • FIG. 3 is a schematic diagram of a process for processing an SSID according to an embodiment of the present application.
  • “before modification” in FIG. 3 indicates a process of processing an SSID before processing the SSID method provided by the present application
  • “Modified” means the process of processing the SSID by using the processing SSID method provided by the present application.
  • the dotted line is used to divide the logical architecture of the terminal.
  • the terminal processes the acquired first encoding format SSID in the operating system default encoding format (second encoding format), because the terminal uses the default The second encoding format is inconsistent with the first encoding format. Therefore, when the terminal performs decoding processing on the first encoding format SSID through the second encoding format and displays, garbled characters are displayed, as shown in FIG. 5A.
  • the terminal still uses the acquired first encoding format to perform related processing on the SSID, and when the user interface displays, the first encoding format SSID is uniformly converted into the second encoding format SSID, and then The converted second encoding format SSID performs related processing. Since the terminal supports the second encoding format, the terminal can correctly decode the second encoding format SSID by using the second encoding format, so that the second encoding format SSID is displayed without garbled characters. , as shown in Figure 5B.
  • FIG. 4 is a schematic diagram of another process for processing an SSID according to an embodiment of the present application. Referring to FIG. 4, the meanings of “before modification” and “modified” in FIG. 4 are the same as those in FIG. 3, as shown in FIG. 4 .
  • the terminal processes the acquired first encoding format SSID in the default encoding format (second encoding format) of the operating system, and the second encoding format used by the terminal is inconsistent with the first encoding format, so
  • the terminal performs decoding processing on the first encoding format SSID through the second encoding format and displays, garbled characters are displayed, as shown in FIG. 5A.
  • the terminal when acquiring the first encoding format SSID, the terminal converts the first encoding format SSID into the second encoding format SSID, and then performs related processing on the converted second encoding format SSID, because the terminal supports the second
  • the encoding format enables the terminal to correctly decode the second encoding format SSID using the second encoding format, so that the second encoding format SSID is displayed without garbled characters, as shown in FIG. 5B.
  • the terminal obtains the first encoding format SSID through the driver layer, so when the terminal acquires the first encoding format SSID, the terminal converts the first encoding format SSID into the second encoding format SSID, that is, the terminal converts the first encoding format SSID in the driving layer.
  • the terminal can convert the first encoding format SSID into the second encoding format SSID at the driving layer, so that the terminal can process the second encoding format SSID in the logical layer above the driving layer, that is, in the driving layer of the terminal.
  • the above logic layer only processes the SSID of one encoding format, so that the logic implementation of the logic layer above the driver layer of the terminal is simple.
  • the terminal does not limit the first encoding format SSID to the second encoding format SSID when the first encoding format SSID is displayed or when the first encoding format SSID is acquired, for example, In the other processing between displaying the first encoding format SSID and acquiring the first encoding format SSID, the first encoding format SSID is converted into the second encoding format SSID.
  • the terminal normally displays the SSID, and the terminal does not ensure that the wireless AP network corresponding to the normally displayed SSID is normally connected.
  • the embodiment of the present application provides another method for processing the SSID. method.
  • FIG. 6 is a flowchart of another method for processing an SSID according to an embodiment of the present application. Referring to FIG. 6, the method includes:
  • S201 The terminal acquires a first encoding format SSID of the wireless AP broadcast.
  • the first encoding format and the first encoding format SSID are the same as those in the foregoing embodiment, and details are not described herein again.
  • the SSIDs of multiple wireless AP broadcasts include: “randmactest”, “starbuck”, “test1234 Chinese”, “test Chinese”, “TP_LINK_9C41”, “TP301”, “wifi_test” and “0vowifi”. Further assume that “randmactest”, “starbuck”, “TP_LINK_9C41”, “TP301”, “wifi_test”, “0vowifi”, and “test Chinese” are variable length character encoding formats SSID, and "test1234 Chinese” is the GBK encoding format SSID.
  • the terminal displays “test1234 Chinese” on the display interface.
  • the SSID "test1234 Chinese” displays garbled characters.
  • the processing SSID shown in FIG. 2 in the embodiment of the present application may be used. The method and the modified method of processing the SSID in Figures 3 and 4 are avoided.
  • S202 The terminal saves the first encoding format SSID and the identifier of the wireless AP to the storage space.
  • the terminal after acquiring the first encoding format SSID, the terminal saves the first encoding format SSID and the identifier of the wireless AP to the storage space.
  • the terminal obtains the first encoding format SSID as "test1234 Chinese", and saves the obtained "test1234 Chinese” and the identifier of the wireless AP to the storage space, for example, can be stored in the file directory /data/misc/ Under wifi/wpa_supplicant.conf.
  • the identifier of the wireless AP is used to identify the parameter of the wireless AP, and the parameter of the SSID is removed.
  • the parameter of the SSID is removed.
  • it can be the address of the wireless AP.
  • S203 The terminal acquires a first encoding format SSID corresponding to the identifier of the wireless AP from the storage space when determining the network connection with the wireless AP, and establishes a network connection with the wireless AP based on the acquired first encoding format SSID.
  • the terminal determines that the wireless AP corresponding to the “test1234 Chinese” is connected to the network, and the terminal acquires the stored first encoding format SSID: “test1234 Chinese” from the storage space, and based on the acquired first encoding format.
  • SSID: “test1234 Chinese” establishes a network connection with the wireless AP.
  • the terminal saves the first encoding format SSID and the identifier of the wireless AP that are broadcast by the wireless AP to the storage space of the terminal, so that the terminal can obtain the storage space of the terminal when performing network connection with the wireless AP.
  • the first encoding format SSID obtained from the storage space can be matched with the first encoding format SSID of the wireless AP broadcast, so that the terminal can establish a network with the wireless AP based on the acquired first encoding format SSID connection.
  • the terminal when the terminal performs network connection with the wireless AP, in addition to matching the SSID, other information of the wireless AP corresponding to the SSID may be matched. For example, the encryption mode of the wireless AP and the address of the wireless AP can also be matched. In the embodiment of the present application, only the SSID is modified. Therefore, only the SSID broadcast by the wireless AP and the SSID saved by the terminal are matched in the embodiment of the present application.
  • the process of processing the SSID is mainly described. It can be understood that, in order to implement the above functions, the terminal includes corresponding hardware structures and/or software units for performing various functions.
  • the embodiments of the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements of the examples and algorithm steps described in the embodiments disclosed in the application. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the technical solutions of the embodiments of the present application.
  • the embodiments of the present application may divide the functional units (devices, devices) of the network device according to the foregoing method examples.
  • each functional unit (device, device) may be divided according to each function, or two or more functions may be used.
  • the above integrated unit (device, device) can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit (device, device) in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • the embodiment of the present application further provides an apparatus for processing an SSID.
  • FIG. 7 shows a possible logical structure diagram of a device for processing an SSID, which can be applied to a terminal.
  • the device 100 for processing an SSID includes a transceiver unit.
  • the processing unit 102 is configured to convert the first encoding format SSID acquired by the transceiver unit 101 into a second encoding format SSID.
  • the display unit 103 is configured to display the second encoding format SSID.
  • the second encoding format is an encoding format used by an operating system of the terminal, and the first encoding format is another encoding format different from the second encoding format.
  • the second encoding format may be a Chinese character encoding character set format or a variable length character encoding format.
  • the processing unit 102 is specifically configured to:
  • the display unit 103 displays the first encoding format SSID
  • the first encoding format SSID is converted into a second encoding format SSID.
  • processing unit 102 is specifically configured to:
  • the transceiver unit 101 acquires the first encoding format SSID, the first encoding format SSID is converted into a second encoding format SSID.
  • processing unit 102 is further configured to:
  • the transceiver unit 101 After the transceiver unit 101 acquires the first encoding format SSID of the wireless AP broadcast, the first encoding format SSID and the identifier of the wireless AP are correspondingly saved to a preset storage space. And determining, by the storage space, a first encoding format SSID corresponding to the identifier of the wireless AP, and controlling the transceiver unit 101 to establish based on the acquired first encoding format SSID. Connected to the network of the wireless AP.
  • each functional module in each embodiment of the present application may be integrated into one processing. In the device, it can also be physically existed alone, or two or more modules can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • FIG. 8 is a schematic diagram of the terminal 1000 according to the embodiment of the present application.
  • the terminal 1000 can be used to perform the execution method of the terminal involved in FIGS. 2 to 5.
  • the terminal 1000 includes a transceiver 1001, a processor 1002, a memory 1003, and a display 1004.
  • the transceiver 1001, the processor 1002, the memory 1003, and the display 1004 can be connected by a bus system 1005.
  • the memory 1003 is configured to store a program, an instruction, or a code.
  • the processor 1002 is configured to execute a program in the memory 1003, to control the transceiver 1001 to acquire a first encoding format SSID of the wireless AP broadcast, and implement the steps and functions implemented by the terminal in the foregoing embodiment, where No longer.
  • the specific implementation of the transceiver 1001 and the processor 1002 may be referred to the specific description in the transceiver unit 101 and the processing unit 102 in the foregoing embodiment of FIG. 7 , and details are not described herein again.
  • Figure 8 only shows a simplified design of the terminal.
  • the terminal is not limited to the foregoing structure, and may include any number of interfaces, a processor, a memory, and the like in an actual application, and all the terminals that can implement the embodiments of the present application are in the protection scope of the embodiments of the present application.
  • the apparatus 100 and the terminal 1000 for processing the SSID in the embodiment of the present application may be used to implement the corresponding functions of the terminal in the foregoing method embodiment of the embodiment of the present application, and therefore, the description of the embodiment of the present application is not detailed enough. For a description of the related method embodiments, the embodiments of the present application are not described herein again.
  • processors involved in the embodiment of the present application may be a central processing unit ("CPU"), and may be other general-purpose processors, digital signal processors (DSPs), and dedicated processors. Integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory can include read only memory and random access memory and provides instructions and data to the processor.
  • a portion of the memory may also include a non-volatile random access memory.
  • the memory can also store information of the device type.
  • the bus system may also include a power bus, a control bus, and a status signal bus.
  • the various buses are labeled as bus systems in the figure.
  • the steps involved in the foregoing method embodiments may be completed by using an integrated logic circuit of hardware in the processor or an instruction in a form of software.
  • the steps of the method for processing an SSID disclosed in the embodiments of the present application may be directly implemented by a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • Software The modules may be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps involved in the foregoing method embodiments in combination with the hardware thereof. To avoid repetition, it will not be described in detail here.
  • the embodiment of the present application further provides a computer readable storage medium, where some instructions are stored, and when the instructions are executed by a computer, the computer may complete the foregoing method embodiment and method implementation.
  • the present application further provides a computer program product, which can perform the method embodiments and the methods involved in any possible design of the above method embodiments when executed by a computer.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种处理服务集标识的方法、装置及终端,用以解决终端显示SSID出现乱码的问题,所述方法包括:终端获取无线AP广播的第一编码格式SSID,终端将第一编码格式SSID转换为第二编码格式SSID,并显示第二编码格式SSID,其中,第二编码格式为终端的操作系统使用的编码格式,第一编码格式为不同于第二编码格式的其它编码格式。终端通过将获取到的第一编码格式SSID,转换为终端能够正确处理的第二编码格式SSID,使得终端能够使用第二编码格式对第二编码格式SSID进行正确解码,进而使得显示第二编码格式SSID时无乱码。

Description

一种处理服务集标识的方法、装置及终端
本申请要求在2017年3月13日提交中国专利局、申请号为201710147083.0、发明名称为“一种热点的中文字符的处理的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,尤其涉及一种处理服务集标识的方法、装置及终端。
背景技术
随着网络技术的快速发展,无线接入点(access point,AP)的应用日益普及。无线AP是指提供无线局域网(wireless local area networks,WLAN)接入因特网(internet)服务的接入点,具有提供WLAN接入internet功能的网络设备均可看作无线AP。
相关技术中,用户可通过设置服务集标识(service set identifier,SSID)来标识不同的无线AP。其中,SSID技术可将一个WLAN分为多个需要不同身份验证的子网络,每一个子网络都需要独立的身份验证,只有通过身份验证的终端才可以接入相应的子网络,如此实现网络的虚拟隔离,防止未被授权的终端接入网络。当WLAN中无线AP广播SSID之后,具有接入无线AP功能的终端(例如,具有接入无线AP功能的手机、笔记本电脑等)可通过扫描获取无线AP广播的SSID,经过一定的处理后在终端的用户界面中进行显示,用户可通过终端的用户界面中显示的SSID,接入与SSID对应的无线AP。
随着无线AP在各个国家的普及,SSID也相应的可采用不同的语言进行配置,目前,除了使用英文配置的SSID之外,还可以使用其它语言配置的SSID,这种情况下在终端显示不同语言编码的SSID时,经常会出现显示乱码的问题。
发明内容
本申请提供一种处理服务集标识的方法、装置及终端,用以解决现有技术中存在的终端在显示SSID时乱码的问题。
第一方面,一种处理服务集标识的方法,在该方法中,终端获取无线AP广播的第一编码格式SSID,将获取到的第一编码格式SSID转换为第二编码格式SSID,并显示第二编码格式SSID,其中,第二编码格式为终端的操作系统使用的编码格式,第一编码格式为不同于第二编码格式的其它编码格式。
本申请实施例中,终端通过将获取到的第一编码格式SSID,转换为终端能够正确显示的第二编码格式SSID,使得终端能够使用第二编码格式对第二编码格式SSID进行正确解码,进而使得显示第二编码格式SSID时无乱码。
一种可能的设计中,终端在显示第一编码格式SSID时,将第一编码格式SSID转换为第二编码格式SSID。终端通过在显示第一编码格式SSID时,将第一编码格式SSID转换为第二编码格式SSID,使得终端在显示层以下均处理第一编码格式SSID,进而使得终端能够正常显示第二编码格式的SSID的同时,不影响终端其它逻辑层对第一编码格式SSID的处理。
另一种可能的设计中,终端在获取第一编码格式SSID时,将第一编码格式SSID转换 为第二编码格式SSID。若在获取第一编码格式SSID时,将第一编码格式SSID转换为第二编码格式SSID,可使终端在驱动层以上均处理第二编码格式SSID,即在终端的驱动层以上仅处理一种编码格式的SSID,使得在终端的驱动层以上逻辑简单。
又一种可能的设计中,终端在获取无线AP广播的第一编码格式SSID之后,将第一编码格式SSID以及无线AP的标识对应保存到存储空间,终端在确定与无线AP进行网络连接时,从存储空间中获取与无线AP的标识对应的第一编码格式SSID,并基于获取的第一编码格式SSID建立与无线AP的网络连接。
本申请实施例中,终端通过将无线AP广播的第一编码格式SSID,以及无线AP的标识对应保存到终端的存储空间中,使得终端在确定与无线AP进行网络连接时,可从终端的存储空间中获取原始的第一编码格式SSID,该从存储空间获取的第一编码格式SSID与无线AP广播的第一编码格式SSID一致,使得终端可基于获取的第一编码格式SSID建立与无线AP的网络连接。
又一种可能的设计中,第二编码格式可以为汉字编码字符集格式或可变长度字符编码格式。
第二方面,本申请提供了一种处理服务集标识的装置,该处理服务集标识的装置具有实现上述第一方面方法中终端的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。所述模块可以是软件和/或硬件。
第三方面,本申请提供了一种终端,所述终端可以包括:收发器、处理器、存储器和显示器。其中,收发器、处理器、存储器和显示器之间可以通过总线系统相连。该存储器用于存储程序,所述处理器用于执行所述存储器中的程序,从而执行第一方面或第一方面的任意可能的设计中涉及的处理服务集标识的方法。
第四方面,本申请还提供了一种计算机可读存储介质,其上存储有一些指令,这些指令被计算机调用执行时,可以使得计算机完成上述第一方面、第一方面的任意一种可能的设计中所涉及的方法。
第五方面,本申请提供一种计算机程序产品,该计算机程序产品在被计算机调用执行时可以完成第一方面以及上述第一方面任意可能的设计中所涉及的方法。
本申请实施例通过获取无线AP广播的第一编码格式SSID,将所述第一编码格式SSID转换为终端的操作系统使用的第二编码格式SSID,使得终端能够使用第二编码格式对第二编码格式SSID进行正确解码,并显示所述第二编码格式SSID,进而使得显示第二编码格式SSID时无乱码。
附图说明
图1为本申请提供的一种终端的逻辑架构示意图;
图2为本申请提供的一种处理服务集标识的方法流程图;
图3为本申请提供的一种处理服务集标识的对照示意图;
图4为本申请提供的另一种处理服务集标识的对照示意图;
图5A为现有的一种终端显示SSID的效果图;
图5B为本申请提供的一种终端显示SSID的效果图;
图6为本申请提供的另一种处理服务集标识的方法流程图;
图7为本申请提供的一种处理服务集标识的装置示意图;
图8为本申请提供的终端示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。
本申请提供的处理SSID的方法可应用于具备图1所示逻辑架构的终端,如图1所示,终端的逻辑架构分为驱动层、协议层、中间层以及显示层,其中,驱动层可用于收发无线数据,例如,在WLAN覆盖下,获取无线AP广播的SSID。协议层可用于判断是否连接某一无线AP,并在确定连接无线AP的情况下,通过获取的SSID实现与无线AP的连接。显示层可用于显示SSID并与用户进行界面交互,中间层用于实现对显示层与协议层之间的其它内容的处理。
目前,在各个国家使用的终端以及无线AP所支持的编码格式不一致,故若终端支持的编码格式与无线AP支持的SSID的编码格式不一致,则会使终端在显示SSID时,不能正常显示,出现SSID显示乱码。例如,在终端中通常支持终端操作系统默认的某一种编码格式(例如支持中文编码格式的GBK编码格式),当终端接收到无线AP广播的与操作系统默认编码格式不同的编码格式(例如UTF-8编码格式)的SSID后,会采用默认的编码格式处理接收到的SSID,进而导致接收到的中文SSID出现显示乱码的问题。
有鉴于此,本申请实施例提供一种处理SSID的方法,用以解决终端显示SSID出现乱码的问题。
可以理解的是,图1所示的终端的逻辑架构仅是进行示意性说明,本申请实施例中终端的逻辑架构还可以是其它结构,本申请实施例不做限定。
进一步可以理解的是,本申请实施例中具备上述逻辑架构的终端,是一种向用户提供语音和/或数据连通性的设备,可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal equipment),传输点(transmission and receiver point,TRP或者transmission point,TP)等等。
图2所示为本申请实施例提供的一种处理SSID的方法流程图,参阅图2所示,包括:
S101:终端获取无线AP广播的第一编码格式SSID。
本申请实施例中,终端所在的WLAN中可包括多个无线AP,并且每个无线AP对应一个用于标识该无线AP的SSID。终端进行网络连接时,获取WLAN覆盖范围内各无线AP广播的SSID,并将获取到的SSID以网络列表的形式显示在终端的用户界面,使得用户可在终端用户界面显示的网络列表中选择一个SSID对应的无线AP进行网络连接。
通常标识无线AP的SSID采用固定的编码格式进行编码,该编码格式与终端操作系统支持的编码格式不一致的情况下,可能会出现SSID显示乱码的问题,本申请实施例以下针对终端在显示界面显示SSID时会出现乱码的情况进行说明。
为了描述方便,将标识无线AP的SSID采用的编码格式称为第一编码格式,将终端操作系统支持的编码格式称为第二编码格式。其中,第一编码格式与第二编码格式不同。
需要说明的是,本申请实施例的说明书和权利要求书及附图中涉及的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序,例如本发明实施例中上述涉及的第一编码格式SSID,第二编码格式SSID,仅是用于方便描述以及区 分不同编码格式的SSID,并不构成对编码格式的限定。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。
进一步需要说明的是,本申请实施例中涉及的第一编码格式SSID是指支持第一编码格式的SSID。
S102:终端将第一编码格式SSID转换为第二编码格式SSID,并显示第二编码格式SSID。
本申请实施例中,第二编码格式SSID可理解为是可以在终端显示界面上能够正常显示的SSID,通常该在终端显示界面上正常显示的SSID支持的编码格式为终端的操作系统支持的编码格式,故本申请实施例中第二编码格式可以理解为是终端的操作系统支持的编码格式。例如,若终端操作系统使用的编码格式为GBK,则采用GBK编码格式的SSID可以理解为是第二编码格式SSID。
本申请实施例中,终端将获取到的第一编码格式SSID,转换为第二编码格式SSID,而第二编码格式SSID是终端的操作系统支持的编码格式,故终端在进行第二编码格式的SSID显示时,能够使用第二编码格式对第二编码格式SSID进行正确解码,进而使得显示第二编码格式SSID时无乱码。
进一步的,本申请实施例中,第二编码格式可以依据终端操作系统支持的编码格式确定,该编码格式可以是汉字编码字符集格式或可变长度字符编码格式。其中,汉字编码字符集格式可包括GBK、GB2312以及GB18030等,可变长度字符编码格式可包括UTF-8、UTF-16等。
本申请实施例中,终端将第一编码格式SSID转换为第二编码格式SSID,可采用如下方式:
一种可能的实施方式中,终端在显示第一编码格式SSID时,将第一编码格式SSID转换为第二编码格式SSID。图3所示为本申请实施例提供的一种处理SSID的对照示意图,参阅图3所示,图3中“修改前”表示采用本申请提供的处理SSID方法之前对SSID进行处理的过程,“修改后”表示采用本申请提供的处理SSID方法对SSID进行处理的过程。图3中,虚线用于分割终端的逻辑架构,修改前的处理过程中,终端以操作系统默认的编码格式(第二编码格式)处理获取到的第一编码格式SSID,由于终端默认使用的第二编码格式与第一编码格式不一致,故,终端通过第二编码格式对第一编码格式SSID进行解码处理并显示时,会显示乱码,如图5A所示。修改后的处理过程中,终端在驱动层仍使用获取到的第一编码格式对SSID进行相关处理,而在用户界面显示时,将第一编码格式SSID统一转换为第二编码格式SSID,再对转换后的第二编码格式SSID进行相关处理,由于终端支持第二编码格式,故使得终端能够使用第二编码格式对第二编码格式SSID进行正确解码,进而使得显示第二编码格式SSID时无乱码,如图5B所示。
另一种可能的实施方式中,终端在获取第一编码格式SSID时,将第一编码格式SSID转换为第二编码格式SSID。图4所示为本申请实施例提供的另一种处理SSID的对照示意图,参阅图4所示,图4中“修改前”与“修改后”的含义与图3中相同,如图4所示,修改前的处理过程中,终端以操作系统默认的编码格式(第二编码格式)处理获取到的第一编码格式SSID,由于终端默认使用的第二编码格式与第一编码格式不一致,故,终端通过第二编码格式对第一编码格式SSID进行解码处理并显示时,会显示乱码,如图5A所示。 修改后的处理过程中,终端在获取第一编码格式SSID时,将第一编码格式SSID转换为第二编码格式SSID,再对转换后的第二编码格式SSID进行相关处理,由于终端支持第二编码格式,故使得终端能够使用第二编码格式对第二编码格式SSID进行正确解码,进而使得显示第二编码格式SSID时无乱码,如图5B所示。
由于终端通过驱动层获取第一编码格式SSID,故终端在获取第一编码格式SSID时,将第一编码格式SSID转换为第二编码格式SSID,即为终端在驱动层将第一编码格式SSID转换为第二编码格式SSID,终端通过在驱动层将第一编码格式SSID转换为第二编码格式SSID,可使终端在驱动层以上的逻辑层均处理第二编码格式SSID,即在终端的驱动层以上的逻辑层仅处理一种编码格式的SSID,使得在终端的驱动层以上的逻辑层的逻辑实现简单。
需要说明的是,本申请实施例中并不限定终端在显示第一编码格式SSID时或在获取第一编码格式SSID时,将第一编码格式SSID转换为第二编码格式SSID,例如,还可以在显示第一编码格式SSID和获取第一编码格式SSID之间的其它处理过程中,将第一编码格式SSID转换为第二编码格式SSID。
进一步需要说明的是,本申请实施例中对终端将第一编码格式SSID转换为第二编码格式SSID的具体实施过程,可采用目前已有的转码技术进行转换,在此不再赘述。
本申请实施例中,终端正常显示SSID,并不能保证终端与正常显示的SSID对应的无线AP网络正常连接,为了保证终端与SSID进行正常的网络连接,本申请实施例提供另一种处理SSID的方法。
图6所示为本申请实施例提供的另一种处理SSID的方法流程图,参阅图6所示,包括:
S201:终端获取无线AP广播的第一编码格式SSID。
本申请实施例中,第一编码格式及第一编码格式SSID与上述实施例涉及的含义相同,此处不再赘述。
本申请实施例中,假设在WLAN中有多个无线AP广播SSID,且多个无线AP广播的SSID包括:“randmactest”、“starbuck”、“test1234中文”、“test中文”、“TP_LINK_9C41”、“TP301”、“wifi_test”以及“0vowifi”。进一步假设“randmactest”、“starbuck”、“TP_LINK_9C41”、“TP301”、“wifi_test”、“0vowifi”以及“test中文”均为可变长度字符编码格式SSID,“test1234中文”为GBK编码格式SSID。
若终端的操作系统为Android系统,支持的第二编码格式为可变长度字符编码格式,且终端获取到的第一编码格式SSID为“test1234中文”,则终端在显示界面显示“test1234中文”时可能会出现乱码,如图5A所示,SSID“test1234中文”显示乱码,针对终端在显示界面显示“test1234中文”时出现的乱码问题,可采用本申请实施例中图2所示的处理SSID的方法以及图3和图4中修改后的处理SSID的方法避免。
S202:终端将第一编码格式SSID以及无线AP的标识对应保存到存储空间。
本申请实施例中,终端获取到第一编码格式SSID之后,将第一编码格式SSID以及无线AP的标识对应保存到存储空间。如上述举例中,终端获取到第一编码格式SSID为“test1234中文”,将获取到的“test1234中文”以及无线AP的标识对应保存到存储空间,例如,可存储至文件目录/data/misc/wifi/wpa_supplicant.conf下。
本申请实施例中,无线AP的标识为用于标识无线AP的参量中除去SSID的参量,例 如,可以为无线AP的地址。
S203:终端在确定与无线AP进行网络连接时,从存储空间中获取与无线AP的标识对应的第一编码格式SSID,并基于获取的第一编码格式SSID建立与无线AP的网络连接。
本申请实施例中,假设终端确定与“test1234中文”对应的无线AP进行网络连接,终端从存储空间获取已存储的第一编码格式SSID:“test1234中文”,并基于该获取的第一编码格式SSID:“test1234中文”,与无线AP建立网络连接。
本申请实施例中,终端通过将无线AP广播的第一编码格式SSID,以及无线AP的标识对应保存到终端的存储空间中,使得终端在与无线AP进行网络连接时,可从终端的存储空间中获取第一编码格式SSID,该从存储空间获取的第一编码格式SSID能够与无线AP广播的第一编码格式SSID匹配,故,使得终端可基于获取的第一编码格式SSID与无线AP建立网络连接。
在实际应用中,终端与无线AP进行网络连接时,除对SSID进行匹配之外,还可对SSID对应的无线AP的其它信息进行匹配。例如,还可对无线AP的加密方式、无线AP的地址进行匹配。由于本申请实施例中,仅对SSID做了修改,因此,本申请实施例中仅对无线AP广播的SSID与终端保存的SSID匹配进行说明。
本申请上述实施例中,主要针对处理SSID的过程进行了描述。可以理解的是,终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件单元。结合本申请中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的技术方案的范围。
本申请实施例可以根据上述方法示例对网络设备进行功能单元(器、器件)的划分,例如,可以对应各个功能划分各个功能单元(器、器件),也可以将两个或两个以上的功能集成在一个处理单元(器、器件)中。上述集成的单元(器、器件)既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元(器、器件)的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
基于与上述方法实施例相同构思,本申请实施例还提供了一种处理SSID的装置。
在采用集成的单元的情况下,图7示出处理SSID的装置的一种可能的逻辑结构示意图,该处理SSID的装置可应用于终端,参阅图7所示,处理SSID的装置100包括收发单元101、处理单元102和显示单元103,其中,收发单元101,用于获取无线AP广播的第一编码格式SSID。处理单元102,用于将所述收发单元101获取的所述第一编码格式SSID转换为第二编码格式SSID。显示单元103,用于显示所述第二编码格式SSID。
其中,所述第二编码格式为所述终端的操作系统使用的编码格式,所述第一编码格式为不同于所述第二编码格式的其它编码格式。
其中,所述第二编码格式可以为汉字编码字符集格式或可变长度字符编码格式。
一种可能的设计中,所述处理单元102,具体用于:
在所述显示单元103显示所述第一编码格式SSID时,将所述第一编码格式SSID转换为第二编码格式SSID。
另一种可能的设计中,所述处理单元102,具体用于:
在所述收发单元101获取所述第一编码格式SSID时,将所述第一编码格式SSID转换为第二编码格式SSID。
又一种可能的设计中,所述处理单元102还用于:
在所述收发单元101获取无线AP广播的第一编码格式SSID之后,将所述第一编码格式SSID以及所述无线AP的标识对应保存到预设的存储空间。在确定与所述无线AP进行网络连接时,从所述存储空间中获取与所述无线AP的标识对应的第一编码格式SSID,并基于获取的第一编码格式SSID控制所述收发单元101建立与所述无线AP的网络连接。
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
其中,集成的模块采用硬件的形式实现时,如图8所示,图8所示为本申请实施例提供的终端1000的示意图。该终端1000可以用于执行图2至图5中涉及的终端的执行方法。如图8所示,所述终端1000包括:收发器1001、处理器1002、存储器1003和显示器1004。该收发器1001、处理器1002、存储器1003和显示器1004之间可以通过总线系统1005相连。
所述存储器1003用于存储包括程序、指令或代码。所述处理器1002,用于执行所述存储器1003中的程序,以控制收发器1001获取无线AP广播的第一编码格式SSID,以及实施上述实施方式中终端所实施的各步骤及功能,此处不再赘述。上述收发器1001以及处理器1002的具体实施方式可以相应参考上述图7实施方式中的收发单元101以及处理单元102中的具体说明,这里不再赘述。
可以理解的是,图8仅仅示出了终端的简化设计。在实际应用中,终端并不限于上述结构,在实际应用中可以分别包含任意数量的接口,处理器和存储器等,而所有可以实现本申请实施例的终端都在本申请实施例的保护范围之内。
进一步可以理解的是,本申请实施例涉及的处理SSID的装置100和终端1000,可用于实现本申请实施例上述方法实施例中终端的相应功能,故对于本申请实施例描述不够详尽的地方,可参阅相关方法实施例的描述,本申请实施例在此不再赘述。
进一步可以理解的是,在本申请实施例中涉及的处理器可以是中央处理单元(central processing unit,简称为“CPU”),还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。
总线系统除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统。
在实现过程中,上述方法实施例中涉及的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的处理SSID的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件 模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器中,处理器读取存储器中的信息,结合其硬件完成上述方法实施例涉及的步骤。为避免重复,这里不再详细描述。
基于与上述方法实施例相同构思,本申请实施例还提供了一种计算机可读存储介质,其上存储有一些指令,这些指令被计算机调用执行时,可以使得计算机完成上述方法实施例、方法实施例的任意一种可能的设计中所涉及的方法。
基于与上述方法实施例相同构思,本申请还提供一种计算机程序产品,该计算机程序产品在被计算机调用执行时可以完成方法实施例以及上述方法实施例任意可能的设计中所涉及的方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (13)

  1. 一种处理服务集标识的方法,其特征在于,所述方法包括:
    终端获取无线接入点AP广播的第一编码格式服务集标识SSID;
    所述终端将所述第一编码格式SSID转换为第二编码格式SSID,并显示所述第二编码格式SSID;
    其中,所述第二编码格式为所述终端的操作系统使用的编码格式,所述第一编码格式为不同于所述第二编码格式的其它编码格式。
  2. 如权利要求1所述的方法,其特征在于,所述终端将所述第一编码格式SSID转换为第二编码格式SSID,包括:
    所述终端在显示所述第一编码格式SSID时,将所述第一编码格式SSID转换为第二编码格式SSID。
  3. 如权利要求1所述的方法,其特征在于,所述终端将所述第一编码格式SSID转换为第二编码格式SSID,包括:
    所述终端在获取所述第一编码格式SSID时,将所述第一编码格式SSID转换为第二编码格式SSID。
  4. 如权利要求1至3任一项所述的方法,其特征在于,所述终端获取无线AP广播的第一编码格式SSID之后,所述方法还包括:
    所述终端将所述第一编码格式SSID以及所述无线AP的标识对应保存到存储空间;
    所述终端在确定与所述无线AP进行网络连接时,从所述存储空间中获取与所述无线AP的标识对应的第一编码格式SSID,并基于获取的第一编码格式SSID建立与所述无线AP的网络连接。
  5. 如权利要求1至4任一项所述的方法,其特征在于,所述第二编码格式为汉字编码字符集格式或可变长度字符编码格式。
  6. 一种处理服务集标识的装置,其特征在于,所述装置包括:
    收发单元,用于获取无线接入点AP广播的第一编码格式服务集标识SSID;
    处理单元,用于将所述收发单元获取的所述第一编码格式SSID转换为第二编码格式SSID;
    显示单元,用于显示所述第二编码格式SSID;
    其中,所述第二编码格式为所述终端的操作系统使用的编码格式,所述第一编码格式为不同于所述第二编码格式的其它编码格式。
  7. 如权利要求6所述的装置,其特征在于,所述处理单元,具体用于:
    在所述显示单元显示所述第一编码格式SSID时,将所述第一编码格式SSID转换为第二编码格式SSID。
  8. 如权利要求6所述的装置,其特征在于,所述处理单元,具体用于:
    在所述收发单元获取所述第一编码格式SSID时,将所述第一编码格式SSID转换为第二编码格式SSID。
  9. 如权利要求6至8任一项所述的装置,其特征在于,所述处理单元,还用于:
    在所述收发单元获取无线AP广播的第一编码格式SSID之后,将所述第一编码格式SSID以及所述无线AP的标识对应保存到预设的存储空间;
    在确定与所述无线AP进行网络连接时,从所述存储空间中获取与所述无线AP的标识对应的第一编码格式SSID,并基于获取的第一编码格式SSID控制所述收发单元建立与所述无线AP的网络连接。
  10. 如权利要求6至9任一项所述的装置,其特征在于,所述第二编码格式为汉字编码字符集格式或可变长度字符编码格式。
  11. 一种终端,其特征在于,包括权利要求6至10任一项所述的处理服务集标识的装置。
  12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1-5任一所述的方法。
  13. 一种计算机程序产品,其特征在于,所述计算机程序产品在被计算机调用时,使得计算机执行如权利要求1-5任一所述的方法。
PCT/CN2017/089533 2017-03-13 2017-06-22 一种处理服务集标识的方法、装置及终端 WO2018166093A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201780021648.9A CN108886745A (zh) 2017-03-13 2017-06-22 一种处理服务集标识的方法、装置及终端
EP17900446.0A EP3585106A4 (en) 2017-03-13 2017-06-22 METHOD AND APPARATUS FOR PROCESSING SERVICE SET IDENTIFIER AND TERMINAL
US16/493,636 US20200014656A1 (en) 2017-03-13 2017-06-22 Service Set Identifier Processing Method and Apparatus, and Terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710147083.0 2017-03-13
CN201710147083 2017-03-13

Publications (1)

Publication Number Publication Date
WO2018166093A1 true WO2018166093A1 (zh) 2018-09-20

Family

ID=63522798

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/089533 WO2018166093A1 (zh) 2017-03-13 2017-06-22 一种处理服务集标识的方法、装置及终端

Country Status (4)

Country Link
US (1) US20200014656A1 (zh)
EP (1) EP3585106A4 (zh)
CN (1) CN108886745A (zh)
WO (1) WO2018166093A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629376A (zh) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 信息显示方法、装置、设备和系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078222A (zh) * 2019-12-13 2020-04-28 北京明略软件系统有限公司 一种编码转换方法、装置、电子设备及存储介质
CN111918363B (zh) * 2020-08-10 2023-04-07 北京紫光展锐通信技术有限公司 配网方法及装置
CN112738641A (zh) * 2020-12-28 2021-04-30 深圳Tcl新技术有限公司 字幕播放方法、装置、终端设备以及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002087135A2 (en) * 2001-04-25 2002-10-31 Novarra, Inc. System and method for adapting information content for an electronic device
CN103517385A (zh) * 2012-07-11 2014-01-15 Tcl集团股份有限公司 安卓系统Wi-Fi的AP的连接方法及系统
CN104283642A (zh) * 2014-10-22 2015-01-14 小米科技有限责任公司 无线局域网中发布服务集标识ssid的方法及装置
CN104661285A (zh) * 2013-11-18 2015-05-27 联想(北京)有限公司 一种信息的处理方法、装置及电子设备
CN105430712A (zh) * 2015-10-30 2016-03-23 上海斐讯数据通信技术有限公司 服务集标识的编码方法、编码装置、解码方法及解码装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9271329B2 (en) * 2012-02-06 2016-02-23 Qualcomm Incorporated Systems and methods for enabling stations to connect to wireless hotspots using non-unicode service set identification information
CN104618893B (zh) * 2015-02-28 2018-07-20 新华三技术有限公司 网络中不同中文编码ssid的实现方法和设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002087135A2 (en) * 2001-04-25 2002-10-31 Novarra, Inc. System and method for adapting information content for an electronic device
CN103517385A (zh) * 2012-07-11 2014-01-15 Tcl集团股份有限公司 安卓系统Wi-Fi的AP的连接方法及系统
CN104661285A (zh) * 2013-11-18 2015-05-27 联想(北京)有限公司 一种信息的处理方法、装置及电子设备
CN104283642A (zh) * 2014-10-22 2015-01-14 小米科技有限责任公司 无线局域网中发布服务集标识ssid的方法及装置
CN105430712A (zh) * 2015-10-30 2016-03-23 上海斐讯数据通信技术有限公司 服务集标识的编码方法、编码装置、解码方法及解码装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3585106A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629376A (zh) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 信息显示方法、装置、设备和系统
CN111629376B (zh) * 2019-02-28 2023-09-12 阿里巴巴集团控股有限公司 信息显示方法、装置、设备和系统

Also Published As

Publication number Publication date
EP3585106A1 (en) 2019-12-25
EP3585106A4 (en) 2019-12-25
US20200014656A1 (en) 2020-01-09
CN108886745A (zh) 2018-11-23

Similar Documents

Publication Publication Date Title
WO2018166093A1 (zh) 一种处理服务集标识的方法、装置及终端
ES2934600T3 (es) Método de conexión de red, terminal de punto de acceso y terminal de gestión
US11323440B2 (en) Secure access method, device, and system
EP3200490B1 (en) System and method for online sign up provider selection
US9510201B1 (en) Connecting a device to a wireless network
US20140355579A1 (en) Convenient use of push button mode of wps (wi-fi protected setup) for provisioning wireless devices
WO2019214345A1 (zh) 网络连接方法、装置、计算机装置及计算机可读存储介质
WO2019184658A1 (zh) 配置文件的切换方法、装置与移动终端
JP7362723B2 (ja) Pduセッションの常時接続属性を提供するため、及び常時接続pduセッションに関してインターワーキングの側面を提供するための方法及び装置
KR20160137919A (ko) 정보 제공방법, 장치, 프로그램 및 기록매체
TW201136433A (en) Apparatus and methods for universal services interface networking
WO2017079866A1 (zh) 应用安装包获取方法、信息广播方法、移动设备及基站
US11533609B2 (en) Message protection method and apparatus
CN113938880B (zh) 一种应用的验证方法及装置
US11357062B2 (en) Communication method and apparatus
EP3031195B1 (en) Secure storage synchronization
JP2010534987A (ja) 無線通信システム端末のネットワークへのアクセスを加速する方法
JP2023552243A (ja) 利用者識別子を送信する方法と装置
CN113556340A (zh) 一种便携式vpn终端、数据处理方法及存储介质
US8799993B1 (en) Method and apparatus for configuring communication parameters on a wireless device
EP4029215A1 (en) Ecosystem-based wireless network setup
CN111683360A (zh) 移动通信方法、装置和电子设备
WO2018149136A1 (zh) 无线保真Wi-Fi连接方法及相关产品
CN115004634B (zh) 信息处理方法、装置、设备及存储介质
US8412159B2 (en) Method, apparatus and computer program product for security configuration coordination during a cell update procedure

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900446

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017900446

Country of ref document: EP

Effective date: 20190918