WO2013166775A1 - 一种连网方法及设备 - Google Patents

一种连网方法及设备 Download PDF

Info

Publication number
WO2013166775A1
WO2013166775A1 PCT/CN2012/078553 CN2012078553W WO2013166775A1 WO 2013166775 A1 WO2013166775 A1 WO 2013166775A1 CN 2012078553 W CN2012078553 W CN 2012078553W WO 2013166775 A1 WO2013166775 A1 WO 2013166775A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
information
platform type
port
networking
Prior art date
Application number
PCT/CN2012/078553
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 EP12876573.2A priority Critical patent/EP2849528B1/en
Priority to US14/397,987 priority patent/US20150134803A1/en
Publication of WO2013166775A1 publication Critical patent/WO2013166775A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0226Mapping or translating multiple network management protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a networking method and device. Background technique
  • wireless data services are closely related to wireless data terminals.
  • data services through wireless data terminals have become more and more popular.
  • the data service is also becoming more and more popular based on the advantages of small data size, portability, and data services that can be performed anytime and anywhere.
  • IPv4 Internet Protocol version 4, 4th edition Internet Protocol
  • IPv6 Internet Protocol version 6, the sixth edition of the Internet Protocol
  • the embodiment of the invention provides a networking method and a corresponding device, which prevents the user from testing the networking mode of the IPV4 and the IPv6 one by one to determine the networking mode used, which simplifies the network connection operation of the user.
  • the networking method provided by the present invention includes: Determining the platform type of the terminal according to the port information of the terminal;
  • the network mode corresponding to the determined platform type is searched, and the terminal is connected to the network according to the discovered networking mode.
  • the system determines the platform type of the terminal according to the port information of the terminal:
  • the platform type of the terminal corresponding to the obtained port information of the terminal is determined according to the correspondence between the port information and the platform type included in the driving information.
  • the obtaining port information of the terminal is:
  • Determining the acquired platform type of the terminal corresponding to the port information of the terminal including: searching for the obtained terminal information corresponding to the port information of the terminal according to the correspondence between the port information and the terminal information included in the driving information ;
  • the terminal information includes: manufacturer information, product information, and port number.
  • the networking mode is: the fourth version of the Internet Protocol IPV4 networking mode, or the sixth version of the Internet Protocol IPV6 networking mode.
  • a platform type determining module configured to determine a platform type of the terminal according to the port information of the terminal; and a networking module, configured to search for a network corresponding to the determined platform type according to a preset relationship between the preset terminal platform type and the networking mode The method is to connect the terminal to the network according to the discovered networking mode.
  • the platform type determining module includes:
  • An information acquiring unit configured to acquire driving information and port information of the terminal, and a platform type searching unit, configured to: according to port information and platform type included in the driving information Corresponding relationship, determining the acquired platform type of the terminal corresponding to the port information of the terminal.
  • the information acquiring unit is configured to obtain port information corresponding to a network port of the terminal.
  • the platform type searching unit is configured to search for the obtained terminal information corresponding to the port information of the terminal according to the correspondence between the port information and the terminal information included in the driving information; and according to the terminal information included in the driving information. Corresponding relationship with the platform type, determining the platform type of the terminal corresponding to the terminal information that is found.
  • the port of the terminal is identified, and the platform type of the terminal is used to find the platform type of the terminal in the driving information to determine the connection mode of the terminal, and then the network connection is performed by using the determined networking mode.
  • the networking method adopted by the embodiment of the present invention can be conveniently used by the user, and does not require the user to test the networking mode one by one to determine the network connection mode that can be used.
  • FIG. 1 is a schematic flow chart of an embodiment of a networking method according to the present invention.
  • FIG. 2 is a schematic flowchart of determining a platform type in an embodiment of a method according to the present invention
  • FIG. 3 is a schematic flowchart of implementing a platform type corresponding to port information of a terminal in an embodiment of a method according to the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a system for connecting a device and a terminal according to the present invention. detailed description
  • the networking method provided by the invention can prevent the user from testing the networking mode one by one, and is convenient for the user to connect to the network.
  • the method of this embodiment includes:
  • Step S101 Determine a platform type of the terminal according to the port information of the terminal.
  • Step S102 Search for a connection mode corresponding to the determined platform type according to the preset relationship between the terminal platform type and the networking mode, and connect the terminal to the network according to the discovered networking mode.
  • the terminal After the terminal is connected to the PC, the PC powers up the terminal.
  • the PC maps the driver and wireless data terminal management software installation program stored in the terminal through the operating system, and then installs the driver and the wireless terminal management program to the PC.
  • the terminal in this embodiment may be a wireless terminal and a wired terminal. In this embodiment, a wireless terminal is taken as an example.
  • step S101 are as shown in FIG. 2, including:
  • Step S1011 Obtain driving information and port information of the terminal.
  • Step S1012 Determine, according to the correspondence between the port information and the platform type included in the driving information, the acquired platform type of the terminal corresponding to the port information of the terminal.
  • the PC After the PC installs the driver and the wireless terminal management program through the operating system, it maps all the ports of the terminal, and then obtains all the port information.
  • the driver information installed in the PC contains the driver information.
  • the PC searches for the platform type corresponding to the port information by the driver in the correspondence between the port information and the platform type in the drive information contained therein. Therefore, the terminal type of the terminal can be determined based on the obtained terminal port information and the correspondence between the port information included in the drive information and the platform type.
  • the network port in the terminal usually has a corresponding relationship with the platform type. Therefore, after obtaining the port information, the port information of the network port in the port is determined. The corresponding platform type.
  • the process of determining the platform type of the terminal corresponding to the port information of the terminal is: according to the end included in the driving information Corresponding relationship between the port information and the terminal information, searching for the acquired terminal information corresponding to the port information of the terminal; determining, according to the correspondence between the terminal information and the platform type included in the driving information, the terminal corresponding to the terminal information that is searched for Platform type.
  • the terminal information includes manufacturer information, product information, and a port number.
  • Step S301 Search for the terminal information corresponding to the obtained port information of the terminal according to the correspondence between the port information and the terminal information included in the driving information.
  • the terminal information includes manufacturer information, product information, and a port number.
  • Step S302 Determine, according to the correspondence between the terminal information and the platform type included in the driving information, the platform type of the terminal corresponding to the terminal information that is searched for.
  • this step is also used to add the character of the platform type to the driver information table of the port.
  • the platform type determined by the above process is used to install the driver, and the identifier field ZPlatform Value for identifying the platform type is added to the device driver information table in the PC memory by the PC through the driver, and the identifier may be determined according to the identifier in step S102.
  • the field determines how the network is connected. The value can be set to the name of each manufacturer such as Qualcom or Circus, or set to any value, as long as there is a network connection method corresponding to the identifier, and the corresponding network can be found according to the identifier. The way is.
  • the PC also creates a corresponding class family object for the terminal port mapped by the PC through the driver, and maps the device connection file used by the supply layer to establish a communication connection between the PC and the terminal. ready.
  • the corresponding network connection mode can be found, that is, whether the connection between the PC and the network is established through the terminal through the networking mode of IPV4 or IPV6.
  • the connection mode through IPV4 you can further determine whether the RAS (Remote Access Service) mode under IPV4 is connected, or NDIS (Network Driver The Interface Specification (network driver interface specification) is used to connect; or after determining the IPV6 networking mode, it is further determined whether the RAS mode under IPV6 is connected or the NDIS mode is connected.
  • RAS Remote Access Service
  • NDIS Network Driver The Interface Specification
  • the above steps of determining the networking mode based on the platform type of the terminal are performed by the wireless terminal management program installed in the PC. After determining the platform type, the PC selects the corresponding networking mode according to the determined platform type, and the process is implemented by the wireless terminal management program.
  • the user control PC initiates a network connection request through the wireless terminal management program, the PC establishes a connection with the network according to the previously determined networking mode.
  • the wireless terminal management program fails to connect to the network, the user is also prompted.
  • the terminal port information is obtained, and the corresponding relationship between the port information included in the driver and the platform type is used to obtain the platform type of the terminal.
  • the connection is determined by using the determined networking mode.
  • the corresponding terminal device information is first found through the port information, and the platform type is found through the device information.
  • Step S401 The wireless terminal is connected to the PC, and the PC is powered on by the wireless terminal, and the PC maps the CD containing the driver and the wireless terminal management program installation package through the operating system.
  • Step S402 The PC installs the driver and the wireless terminal management program in itself through the operating system.
  • Step S403 After the installation is completed, the PC automatically starts the cutting tool through the operating system to cut off the optical disc, and maps the management port and the network port supported by the wireless terminal through the operating system.
  • Step S404 After the PC discovers the port of the wireless terminal through the operating system, it starts to find and match the supported driver, and finds a suitable driver to load the driver.
  • Steps S401 to S404 are to install phases for the application of the wireless terminal after the wireless terminal is inserted into the PC.
  • the driver and wireless management program should be in the PC to prepare for the use of the wireless terminal. step
  • the PC executes a process of searching for the platform type according to the port information through the driver, that is, searching for the platform type corresponding to the port information according to the driving information.
  • Step S405 The PC adds the identification field ZPlatform Value 0 to the device driver information table in the memory by the driver during loading.
  • the value of this field is the type of the current device based on the driver profile information, such as Qualcom or Icera. These two values are also a custom field, and the specific name can be changed to other characters.
  • the step S405 writes the determined platform type into the drive information when the driver is loaded.
  • Step S406 After the identifier information is added, the PC creates a corresponding class family object for the port type of the mapped wireless terminal by using the driver, and maps the device link file used by the supply layer.
  • the step S406 is to prepare for the communication connection between the wireless terminal and the PC.
  • Step S407 After the PC loads all the port drivers, the wireless terminal management program starts.
  • Step S408 The PC searches for the ZPlatform Value identifier field created in step S405 in the driver registration information tree by using the wireless terminal management program, finds the field, and then extracts the corresponding value, and determines the platform used by the current wireless terminal according to the value of the obtained identifier field, according to The information of the platform finds a connection mode required for the wireless terminal to connect to the IPv4 or IPv6 network.
  • the PC continues to determine the required networking mode based on the determined platform type through the wireless terminal management program.
  • Step S409 The user control PC initiates a network connection request by using the wireless terminal management program, and the network connection mode automatically adopts the networking mode determined in step S408, and starts network connection.
  • Step S410 Determine whether the networking is successful, and if successful, complete the networking request; if all the networking modes fail, the user is prompted to fail to connect to the network.
  • the above embodiment is a step after the wireless terminal inserts the PC into the network.
  • the driver is loaded in step S404, the corresponding platform type is found according to the port information, and step S405 determines the networking mode according to the platform type.
  • the wireless terminal management program only needs to be triggered, and the wireless terminal management program connects the PC to the network, so as to avoid the trouble of the user to determine the networking mode by using the test method one by one.
  • the device includes: a platform type determining module 51 and a networking module 52. among them,
  • the platform type determining module 51 is configured to determine the platform type of the terminal according to the port information of the terminal
  • the networking module 52 is configured to determine, according to the preset relationship between the terminal platform type and the networking mode, the type of the found platform The networking mode, and the terminal is connected to the network according to the determined networking mode.
  • the platform type determination module 51 further includes: an information acquisition unit 511 and a platform type search unit 512. among them,
  • the information obtaining unit 511 is configured to obtain the driving information of the terminal and the port information.
  • the platform type searching unit 512 is configured to determine the obtained port information of the terminal according to the correspondence between the port information and the platform type included in the driving information. The platform type of the corresponding terminal.
  • the information obtaining unit 511 is specifically configured to obtain port information corresponding to the network port of the terminal.
  • the platform type searching unit 512 is configured to: according to the correspondence between the port information and the terminal information included in the driving information, search for the obtained terminal information corresponding to the port information of the terminal; according to the driving information, Corresponding relationship between the terminal information and the platform type, determining the platform type of the terminal corresponding to the terminal information that is found.
  • the terminal information includes manufacturer information, product information, and a port number.
  • the networking mode includes: IPV4 networking mode or IPV6 networking mode.
  • the device provided in this embodiment may determine a corresponding networking mode according to the port information of the terminal, and directly connect to the network according to the determined networking mode. Avoid users looking for ways to test one by one
  • the network connection method simplifies user operations.
  • the above device is applied to the PC side. As shown in Fig. 6, the structure of the PC after connecting with the terminal is shown.
  • the platform type determining module 51 in the PC 61 is configured to acquire the platform type of the terminal 62.
  • the networking module 52 is configured to determine the networking mode of the terminal 62 according to the platform type determined by the platform type determining module 51, when network connection is required.
  • PC 61 is connected by a determined networking method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种连网方法及设备,所述方法包括:根据终端的端口信息确定终端的平台类型;根据预先设置的终端的平台类型和连网方式的对应关系,查找确定的平台类型对应的连网方式,并根据查找到的连网方式将终端与网络进行连接。本发明还提供了相应的设备,该设备包括:平台类型确定模块,用于根据终端的端口信息确定终端的平台类型;连网模块,用于根据预先设置的终端平台类型和连网方式的对应关系,确定查找到的平台类型对应的连网方式,并根据确定连网方式将终端与网络进行连接。本发明可避免用户逐个测试连网方式来确定可用的连网方式,简化用户的操作。

Description

一种连网方法及设备 技术领域
本发明涉及通信技术领域, 尤其涉及一种连网方法及设备。 背景技术
随着人们使用无线网络的普遍化, 用户对无线通讯服务的质量也越来越 重视, 而无线数据服务同无线数据终端是密切关联的。 近年来, 通过无线 数据终端进行数据业务, 变得越来越普及。 基于无线数据终端的小巧轻便、 携带方便、 随时随地都可以进行数据业务的优点, 这种数据业务也越来越 受欢迎。
目前, 上网使用的主要是第二代互联网 IPv4技术, 而 IPv6正处在不断 发展和完善的过程中, IPv6在不久的将来将取代目前被广泛使用的 IPv4。 但是, 目前网络中大多是采用 IPv4 ( Internet Protocol version 4 , 第四版互 联网协议)的 PC (个人电脑)和网络设备, 由于 IPv4的适用范围非常广泛, 从 IPV4到 IPv6的过渡不可能一次性实现。在 IPV4和 IPV6( Internet Protocol version 6, 第六版互联网协议) 同时存在的情况下, 用户在日常的使用中, 只能通过逐个测试的方法对 IPV4和 IPv6的连网方式进行选择, 这样不便 于用户的连网操作。 发明内容
本发明实施例提供了一种连网方法和相应的设备, 避免用户逐个对 IPV4和 IPv6的连网方式进行测试来确定所用的连网方式,可简化用户的连 网操作。
本发明提供的连网方法包括: 才艮据终端的端口信息确定终端的平台类型;
根据预先设置的终端平台类型和连网方式的对应关系, 查找确定的平 台类型对应的连网方式, 并^^据查找到的连网方式将终端与网络进行连接。
所迷根据终端的端口信息确定终端的平台类型为:
获取所述终端的驱动信息以及端口信息;
根据驱动信息中包含的端口信息与平台类型的对应关系, 确定获取的 所述终端的端口信息对应的终端的平台类型。
所述获取所述终端的端口信息, 为:
获取终端的网络端口对应的端口信息。
所述确定获取的所述终端的端口信息对应的终端的平台类型, 包括: 根据所述驱动信息中包含的端口信息与终端信息的对应关系, 查找获 取的所述终端的端口信息对应的终端信息;
根据所述驱动信息中包含的终端信息和平台类型的对应关系, 确定查 找的所述终端信息对应的终端的平台类型。
所述终端信息包括: 生产商信息、 产品信息和端口号。
所述连网方式为: 第四版互联网协议 IPV4连网方式、 或第六版互联网 协议 IPV6连网方式。
本发明实施例提供的连网设备包括:
平台类型确定模块, 用于^^据终端的端口信息确定终端的平台类型; 连网模块, 用于根据预先设置的终端平台类型和连网方式的对应关系 , 查找确定的平台类型对应的连网方式, 并根据查找到的连网方式将终端与 网络进行连接。
所述平台类型确定模块包括:
信息获取单元, 用于获取所述终端的驱动信息以及端口信息; 平台类型查找单元, 用于根据驱动信息中包含的端口信息与平台类型 的对应关系, 确定获取的所述终端的端口信息对应的终端的平台类型。 所述信息获取单元, 用于获取终端的网络端口对应的端口信息。
所述平台类型查找单元, 用于根据所述驱动信息中包含的端口信息与 终端信息的对应关系, 查找获取的所述终端的端口信息对应的终端信息; 根据所述驱动信息中包含的终端信息和平台类型的对应关系, 确定查找的 所述终端信息对应的终端的平台类型。
本发明实施例通过对终端的端口进行识别, 在驱动信息中通过端口的 端口信息查找终端的平台类型以确定终端的连网方式, 继而利用确定的连 网方式进行网络连接。 本发明实施例采用的连网方法可方便用户的使用, 不需要用户对连网方式逐个测试以确定可使用的连网方式。 附图说明
图 1为本发明的连网方法实施例流程示意图;
图 2为本发明的方法实施例中确定平台类型的流程示意图;
图 3 为本发明的方法实施例中确定终端的端口信息对应的平台类型的 实现流程示意图;
图 4为本发明的具体方法实施例流程示意图;
图 5为本发明的设备实施例结构示意图;
图 6为本发明的设备与终端连接的系统结构示意图。 具体实施方式
本发明提供的连网方法可避免用户对连网方式进行逐个测试, 方便用 户进行连网。
下面结合附图对本发明的方法实施例进行说明。 如图 1 所示, 该实施 例的方法包括:
步驟 S101 , 根据终端的端口信息确定终端的平台类型。 步驟 S102, 根据预先设置的终端平台类型和连网方式的对应关系, 查 找确定的平台类型对应的连网方式, 并根据查找到的连网方式将终端与网 络进行连接。
终端连接上 PC后, PC会为终端上电, PC通过操作系统映射出终端中 存有的驱动程序和无线数据终端管理软件安装程序, 继而将驱动程序和无 线终端管理程序安装至 PC 中。 本实施例中的终端可为无线终端和有线终 端, 本实施例中以无线终端为例。
上述驱动程序和无线终端管理程序安装完成后, 则需要确定终端的平 台类型。 因此, 在步驟 S101中具体的步驟如图 2所示, 包括:
步驟 S1011 , 获取所述终端的驱动信息以及端口信息。
步驟 S1012, 根据驱动信息中包含的端口信息与平台类型的对应关系, 确定获取的所述终端的端口信息对应的终端的平台类型。
PC通过操作系统在安装驱动程序和无线终端管理程序后, 会映射出终 端的所有端口, 继而获取到所有的端口信息。 其中, PC中安装的驱动程序 中包含驱动信息。 此时, PC通过驱动程序在其包含的驱动信息中的端口信 息与平台类型的对应关系中, 查找与端口信息对应的平台类型。 因此, 通 过已经获得的终端端口信息 , 再根据驱动信息中包含的端口信息与平台类 型的对应关系就可确定终端的平台类型。 在查找与端口信息对应的平台类 型时, 在驱动信息中, 通常是终端中的网络端口才与平台类型存在对应关 系, 所以, 在获取端口信息后, 通过端口中的网络端口的端口信息来确定 对应的平台类型。
根据上述驱动信息来确定平台类型时, 驱动信息中包含的端口信息与 平台类型的对应关系, 其实是端口信息与终端信息的对应关系, 以及终端 信息与终端平台类型的对应关系。 因此, 较优地, 确定获取的所述终端的 端口信息对应的终端的平台类型过程包括: 根据所述驱动信息中包含的端 口信息与终端信息的对应关系, 查找获取的所述终端的端口信息对应的终 端信息; 根据所述驱动信息中包含的终端信息和平台类型的对应关系, 确 定查找的所述终端信息对应的终端的平台类型。 其中, 所述终端信息包括 生产商信息、 产品信息和端口号。
那么, 确定获取的所述终端的端口信息对应的终端的平台类型的方法 如图 3所示:
步驟 S301 , 根据所述驱动信息中包含的端口信息与终端信息的对应关 系, 查找已获取的所述终端的端口信息对应的终端信息。
这里, 所述终端信息包括生产商信息、 产品信息和端口号。
步驟 S302, 根据所述驱动信息中包含的终端信息和平台类型的对应关 系, 确定查找的所述终端信息对应的终端的平台类型。
此外, 本步驟在确定了终端的平台类型后, 还将用于表示平台类型的 字符加入端口的驱动信息表中。
经过上述过程确定的平台类型在进行驱动程序的安装时,由 PC通过驱 动程序在 PC内存中的设备驱动信息表中,加入用于标识平台类型的标识字 段 ZPlatform Value, 步驟 S102 中可根据此标识字段确定连网方式。 而该 Value可设置为 Qualcom (高通)或 Icera等各生产商的名称, 或者设置成 任意值都可, 只要有与该标识对应关系的连网方式, 并能根据该标识查找 到对应的连网方式即可。 在标识信息设置好之后, PC通过驱动程序还会为 PC所映射出的终端端口创建对应的类族对象, 并映射出供应用层使用的设 备连接文件, 为 PC和终端之间建立通信连接做准备。
当确定了终端的平台类型后, 如步驟 S102所示, 就可找到相应的网络 连接方式, 即确定是通过 IPV4还是 IPV6的连网方式通过终端建立 PC与 网络的连接。 当确定了是通过 IPV4的连网方式后, 还可进一步确定 IPV4 下的 RAS (远程访问服务) 方式进行连接, 还是 NDIS ( Network Driver Interface Specification,网络驱动接口规范)方式进行连接;或者确定了 IPV6 的连网方式后, 还可进一步确定 IPV6下的 RAS方式进行连接, 还是 NDIS 方式进行连接。
上述根据终端的平台类型确定连网方式的步驟是由安装于 PC 中的无 线终端管理程序来执行的。 在确定了平台类型后, PC根据确定的平台类型 选择对应的连网方式, 该过程通过无线终端管理程序实现。 当用户控制 PC 通过无线终端管理程序发起连网请求时, PC就按照之前确定的连网方式与 网络建立连接。 当无线终端管理程序连网失败时, 还会提示用户。
上述实施例中通过获取的终端端口信息, 并利用驱动程序中所包括的 端口信息与平台类型的对应关系, 最终获得终端的平台类型。 根据平台的 类型确定连网方式后, 利用确定的连网方式进行连接。 同时, 在利用驱动 程序中所包括的端口信息与平台类型的对应关系时, 首先通过端口信息查 找到对应的终端设备信息, 再通过设备信息查找到平台类型。 采用本实施 例提供的方法可避免用户经过逐个测试, 直至连网成功才能确定正确的连 网方式, 简化用户连网时所进行的操作。
下面结合图 4对本发明的具体方法实施例进行说明。
步驟 S401: 无线终端连接上 PC, PC为无线终端上电, PC通过操作系 统映射出存有驱动程序和无线终端管理程序安装包的光盘。
步驟 S402: PC通过操作系统,在自身中安装驱动程序和无线终端管理 程序。
步驟 S403:安装完成后, PC通过操作系统自动启动切口工具切掉光盘, 并通过操作系统映射出无线终端所支持的管理端口和网络端口。
步驟 S404: PC通过操作系统发现无线终端的端口后,开始查找和匹配 支持的驱动, 找到合适的驱动后加载驱动。
步驟 S401~S404是在无线终端插入 PC后, 为无线终端的应用安装相 应的驱动和无线管理程序至 PC 中, 以为无线终端的使用做好准备。 步驟
S404中, PC通过驱动程序会执行根据端口信息查找平台类型的过程, 即根 据驱动信息, 查找与端口信息对应的平台类型。
步驟 S405: PC通过驱动程序在加载时在内存中的设备驱动信息表中加 入标识字段 ZPlatform Value 0
这个是自定义字段, 具体的名称也可以采用其他的字符。 该字段的值 是根据驱动配置文件信息写入当前设备的类型, 比如 Qualcom或者 Icera, 这两个值也是一个自定义字段, 具体的名称也可以改为其他的字符。
所述步驟 S405在驱动加载时将已确定的平台类型写入驱动信息中。 步驟 S406: 标识信息添加完后, PC通过驱动程序为映射出的无线终端 的端口类型创建对应的类族对象, 并且映射出供应用层使用的设备链接文 件。
所述步驟 S406是在为无线终端与 PC的通信连接做准备。
步驟 S407: 当 PC为所有端口驱动加载完成后, 开始启动无线终端管 理程序。
步驟 S408: PC 通过无线终端管理程序在驱动注册信息树中查找步驟 S405创建的 ZPlatform Value标识字段, 找到字段后取出对应的值, 根据获 取的标识字段的值确定当前无线终端所采用的平台, 根据所述平台的信息 查找无线终端连接 IPv4或 IPv6网络所需要的连网方式。
PC通过无线终端管理程序会根据确定的平台类型继续确定所需要的连 网方式。
步驟 S409: 用户控制 PC通过无线终端管理程序发起连网请求, 连网 的方式自动采用步驟 S408中确定的连网方式, 并开始连网。
步驟 S410: 判断连网是否成功, 如果成功就完成连网请求; 如果所有 连网方式都失败, 则给用户提示连网失败。 上述实施例为无线终端插入 PC至连网后的步驟。 其中, 在步驟 S404 进行驱动加载时, 会根据端口信息查找到对应的平台类型, 步驟 S405则根 据平台类型确定连网方式。 当用户需要进行连接时, 只需触发无线终端管 理程序, 无线终端管理程序则会将 PC连接至网络, 避免用户采用逐个测试 的方法确定连网方式时的麻烦。
下面结合图 5对本发明提供的设备实施例进行说明, 如图 5所示, 该 设备包括: 平台类型确定模块 51和连网模块 52。 其中,
平台类型确定模块 51 ,用于^^据终端的端口信息确定终端的平台类型; 连网模块 52, 用于根据预先设置的终端平台类型和连网方式的对应关 系, 确定查找到的平台类型对应的连网方式, 并根据确定连网方式将终端 与网络进行连接。
平台类型确定模块 51还包括: 信息获取单元 511和平台类型查找单元 512。 其中,
信息获取单元 511 , 用于获取所述终端的驱动信息以及端口信息; 平台类型查找单元 512,用于根据驱动信息中包含的端口信息与平台类 型的对应关系, 确定获取的所述终端的端口信息对应的终端的平台类型。
信息获取单元 511 , 具体用于获取终端的网络端口对应的端口信息。 所述平台类型查找单元 512,具体用于根据所述驱动信息中包含的端口 信息与终端信息的对应关系, 查找获取的所述终端的端口信息对应的终端 信息; 根据所述驱动信息中包含的终端信息和平台类型的对应关系, 确定 查找的所述终端信息对应的终端的平台类型。
所述终端信息包括生产商信息、 产品信息和端口号。
所述连网方式包括: IPV4连网方式或 IPV6连网方式。
本实施例提供的设备可根据终端的端口信息确定对应的连网方式, 并 根据确定的连网方式直接与网络进行连接。 避免用户以逐个测试的方法找 到连网方式, 简化了用户操作。
上述设备运用于 PC侧, 如图 6所示为 PC与终端进行连接后的结构示 意图。
PC 61中的平台类型确定模块 51 , 用于获取终端 62的平台类型; 连网模块 52 ,用于根据平台类型确定模块 51确定的平台类型确定终端 62的连网方式, 当需要进行连网时, PC 61用确定的连网方式进行连接。
显然, 本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。

Claims

权利要求书
1、 一种连网方法, 其特征在于, 该方法包括:
根据终端的端口信息确定终端的平台类型;
根据预先设置的终端的平台类型和连网方式的对应关系, 查找确定的 平台类型对应的连网方式, 并根据查找到的连网方式将终端与网络进行连 接。
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据终端的端口信 息确定终端的平台类型, 为:
获取所述终端的驱动信息以及端口信息;
根据驱动信息中包含的端口信息与平台类型的对应关系, 确定获取的 所述终端的端口信息对应的终端的平台类型。
3、 根据权利要求 2所述的方法, 其特征在于, 获取所述终端的端口信 息, 为:
获取终端的网络端口对应的端口信息。
4、 根据权利要求 2或 3所述的方法, 其特征在于, 确定获取的所述终 端的端口信息对应的终端的平台类型, 为:
根据所述驱动信息中包含的端口信息与终端信息的对应关系, 查找获 取的所述终端的端口信息对应的终端信息;
根据所述驱动信息中包含的终端信息和平台类型的对应关系, 确定查 找的所述终端信息对应的终端的平台类型。
5、 根据权利要求 4所述的方法, 其特征在于, 所述终端信息包括: 生 产商信息、 产品信息和端口号。
6、 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述连网 方式为: 第四版互联网协议 IPV4连网方式、 或第六版互联网协议 IPV6连 网方式。
7、 一种连网设备, 其特征在于, 该设备包括:
平台类型确定模块, 用于根据终端的端口信息确定终端的平台类型; 连网模块, 用于根据预先设置的终端的平台类型和连网方式的对应关 系, 查找确定的平台类型对应的连网方式, 并根据查找到的连网方式将终 端与网络进行连接。
8、 根据权利要求 7所述的设备, 其特征在于, 所述平台类型确定模块 包括:
信息获取单元, 用于获取所述终端的驱动信息以及端口信息; 平台类型查找单元, 用于根据驱动信息中包含的端口信息与平台类型 的对应关系, 确定获取的所述终端的端口信息对应的终端的平台类型。
9、 根据权利要求 8所述的设备, 其特征在于, 所述信息获取单元, 用 于获取终端的网络端口对应的端口信息。
10、 根据权利要求 8或 9所述的设备, 其特征在于, 所述平台类型查 找单元, 用于根据所述驱动信息中包含的端口信息与终端信息的对应关系, 查找获取的所述终端的端口信息对应的终端信息; 根据所述驱动信息中包 含的终端信息和平台类型的对应关系, 确定查找的所述终端信息对应的终 端的平台类型。
PCT/CN2012/078553 2012-05-08 2012-07-12 一种连网方法及设备 WO2013166775A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP12876573.2A EP2849528B1 (en) 2012-05-08 2012-07-12 Networking method and device
US14/397,987 US20150134803A1 (en) 2012-05-08 2012-07-12 Networking Method and Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210140163.0 2012-05-08
CN201210140163.0A CN102711279B (zh) 2012-05-08 2012-05-08 一种连网方法及设备

Publications (1)

Publication Number Publication Date
WO2013166775A1 true WO2013166775A1 (zh) 2013-11-14

Family

ID=46903780

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078553 WO2013166775A1 (zh) 2012-05-08 2012-07-12 一种连网方法及设备

Country Status (4)

Country Link
US (1) US20150134803A1 (zh)
EP (1) EP2849528B1 (zh)
CN (1) CN102711279B (zh)
WO (1) WO2013166775A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104753746B (zh) * 2013-12-30 2018-04-27 华为技术有限公司 一种接入设备的方法及控制服务器
US11316745B2 (en) * 2020-01-14 2022-04-26 Charter Communications Operating, Llc Modular communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281301A (zh) * 2011-08-25 2011-12-14 中兴通讯股份有限公司 一种将IPv6终端接入流媒体服务器的方法和系统
US8151325B1 (en) * 2009-01-29 2012-04-03 Sprint Communications Company L.P. Optimizing device authentication by discovering internet protocol version authorizations
CN102404709A (zh) * 2010-09-07 2012-04-04 中国移动通信集团河南有限公司 物联网终端接入网络的系统、方法和相关装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203296A1 (en) * 2002-11-15 2004-10-14 Globespan Virata Inc. Method and system for attaching a USB network adapter supporting both RNDIS and non-RNDIS capable operating systems
US8225306B2 (en) * 2002-12-12 2012-07-17 Dell Products L.P. Platform independent imaging method and system
US8031603B1 (en) * 2005-06-30 2011-10-04 Cisco Technology, Inc. Technique for reducing resources allocated to an existing reservation in a data network
EP2124401A4 (en) * 2007-02-13 2012-09-26 Nec Corp SYSTEM FOR MANAGING MOBILE DEVICES, NETWORK DEVICE AND OPERATING CONTROL METHOD THEREFOR FOR MOBILE DEVICES
US7734818B2 (en) * 2007-02-23 2010-06-08 International Business Machines Corporation Method to add IPV6 and DHCP support to the network support package
JP5201366B2 (ja) * 2007-03-09 2013-06-05 日本電気株式会社 サーバ機能切替え装置、方法及びプログラム、並びにシンクライアントシステム及びサーバ装置
US20080276012A1 (en) * 2007-05-04 2008-11-06 Joe Mesa Driver Loading via a PnP Device
US9292312B2 (en) * 2012-03-22 2016-03-22 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Simulated network boot environment for bootstrap redirection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8151325B1 (en) * 2009-01-29 2012-04-03 Sprint Communications Company L.P. Optimizing device authentication by discovering internet protocol version authorizations
CN102404709A (zh) * 2010-09-07 2012-04-04 中国移动通信集团河南有限公司 物联网终端接入网络的系统、方法和相关装置
CN102281301A (zh) * 2011-08-25 2011-12-14 中兴通讯股份有限公司 一种将IPv6终端接入流媒体服务器的方法和系统

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN102711279B (zh) 2019-02-26
EP2849528B1 (en) 2017-01-18
EP2849528A1 (en) 2015-03-18
US20150134803A1 (en) 2015-05-14
CN102711279A (zh) 2012-10-03
EP2849528A4 (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN109315004B (zh) Pdu类型的设置方法及相关实体
US12010598B2 (en) Access method, device, and system
US8447843B2 (en) System, method and computer program product for identifying, configuring and accessing a device on a network
US9838461B2 (en) System and method for handling digital content delivery to portable devices
US10136298B2 (en) Device-to-device content delivery method through interworking with service control apparatus
US8477647B2 (en) Connection setting apparatus, connection setting method, and computer program product
WO2013127274A1 (zh) 一种应用程序数据存储的方法及终端设备
WO2015043199A1 (zh) 一种获得特征信息的方法、装置及网络设备
WO2015143794A1 (zh) 制作、升级方法及服务器、终端、升级系统和存储介质
CN102368789A (zh) 一种双栈终端连接网络的方法及系统
CN103517377A (zh) 无线网络访问方法、Wifi接入点及终端
JP2004078359A (ja) ネットワーク装置、及びデバイスの共有方法
EP2171917A2 (en) System and method for providing device management service to electronic device having no broadband communication module
WO2013177843A1 (zh) 网络连接方法和系统
WO2013166775A1 (zh) 一种连网方法及设备
US20090013003A1 (en) Connection method and connection system for internet access by communication device
KR101676432B1 (ko) 무선 와이파이 환경에서 사물인터넷 보드와 응용 서버의 탐색 및 접속 시스템 및 그 방법
WO2012167680A1 (zh) 无线数据终端的上网拨号方法及装置
CN104753708A (zh) 启动客户端的配置系统及方法
WO2023098484A1 (zh) 基于应用的切片选择方法、网关、终端和存储介质
KR101548529B1 (ko) 로컬 서비스 제공장치, 제공방법 및 이를 위한 기록매체
KR20120096121A (ko) 네트워크 저장 장치, 네트워크 저장 장치를 제어하기 위한 방법 및 네트워크 저장 시스템
WO2008039481A1 (en) System, method and computer program product for identifying, configuring and accessing a device on a network
TW201136238A (en) Network configuration system and method of a baseboard management controller
KR20200006374A (ko) 가입자 네트워크 단말의 원격 개통 방법 및 이를 이용하는 sdn 서버

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: 12876573

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14397987

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2012876573

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2012876573

Country of ref document: EP