CN101848558B - Software and firmware updating method and applicable wireless internet access device thereof - Google Patents

Software and firmware updating method and applicable wireless internet access device thereof Download PDF

Info

Publication number
CN101848558B
CN101848558B CN 201010109798 CN201010109798A CN101848558B CN 101848558 B CN101848558 B CN 101848558B CN 201010109798 CN201010109798 CN 201010109798 CN 201010109798 A CN201010109798 A CN 201010109798A CN 101848558 B CN101848558 B CN 101848558B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
contact
module
input
contacts
wireless
Prior art date
Application number
CN 201010109798
Other languages
Chinese (zh)
Other versions
CN101848558A (en )
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
Grant date

Links

Abstract

一种无线上网装置,具有第一介接模块、无线模块、第二介接模块以及更新模块。 A wireless Internet access device having a first interfacing module, a wireless module, the second module and an updating module interfacing. 第一介接模块用以连接使用者识别卡,使用者识别卡具有输入触点与输出触点。 Interfacing a first module for connecting a user identification card, user identification card having an input contact and output contact. 无线模块连接至储存模块以及通过第一介接模块耦接至使用者识别卡,且用以根据储存模块所储存的软件或固件提供无线通讯连结服务。 Wireless module is connected to the storage module and interfaced by a first module is coupled to the user identification card, and to provide services based on wireless communication link to the storage module stored in software or firmware. 第二介接模块耦接无线模块至电子计算器。 Interfacing a second wireless module is coupled to the electronic calculator module. 更新模块耦接至无线模块以及通过第一介接模块耦接至使用者识别卡,且用以改变输出触点的参考电位状态,并检测输入触点的电位状态是否随参考电位状态而改变,若是,则根据电子计算器的指令更新储存模块所储存的软件或固件,若否,则启动无线模块,以通过第二介接模块提供无线通讯连结服务至电子计算器。 Update module is coupled to the wireless module and the first module is coupled to interface to the user identification card, and for varying the reference potential state of the output contacts, input contacts and detects whether a potential state change with the state of the reference potential, If so, the electronic calculator according to an instruction to update firmware or software stored in the storage module, and if not, start the wireless module to provide service to the wireless communication link through a second electronic calculator module interfacing.

Description

软件与固件更新方法及其适用的无线上网装置 Software and firmware update method and its application of wireless Internet devices

技术领域 FIELD

[0001] 本发明主要关于无线网卡的升级方法,特别是有关于一种无需拆解无线网卡即可针对其软件或固件进行升级的方法。 [0001] The present invention on the wireless card upgrade method, more particularly relates to a method which can upgrade software or firmware for the wireless card without disassembling.

背景技术 Background technique

[0002] 随着无线通讯技术的蓬勃发展,例如:手机(mobiIe phone)、智能型手机(smartphone)、个人数字助理PDA (Personal Digital Assistant)等等的无线移动通讯装置已成为了多数人日常生活中不可或缺的信息产品之一。 [0002] With the rapid development of wireless communication technologies, such as: phone (mobiIe phone), smart phone (smartphone), a wireless mobile communication devices such as personal digital assistants PDA (Personal Digital Assistant) and so has become the majority of everyday life one indispensable information products. 且新一代的移动通讯系统已不再仅限于提供语音服务,而是更进一步提供数据服务,同时,数据服务所能支持的频宽也逐渐提升,以期能够满足使用者对于网络使用的需求,例如目前已发展成熟的第三代移动通讯技术,包括宽带码分多址接入(Wideband Code Division Multiple Access, W-CDMA)、码分多址接入-2000 (Code division multiple Access-2000)、以及时分-同步码分多址接入(Time Division-Synchronous Code Division Multiple Access)等技术,皆能提供高频宽的数据服务。 And next-generation mobile communications system is no longer limited to the provision of voice services, but further provide data services, data services can support bandwidth has gradually improved, in order to meet user demand for network use, such as has been well-developed third generation mobile communication technologies, including WCDMA (wideband Code Division Multiple access, W-CDMA), code division multiple access -2000 (Code division multiple access-2000), and Time division - synchronous Code division Multiple access (Time division-synchronous Code division Multiple access) technology, able to provide high-bandwidth data services. 通过任何支持上述移动通讯技术的无线移动通讯装置,使用者就能在任何地方取得网络服务。 By any wireless mobile communication device supports the mobile communication technology, users can get network services anywhere.

[0003] 由于手机类的无线移动通讯装置通常屏幕较小且计算能力有限,因此在某些情况下,使用者会倾向选择使用笔记本型计算机(Notebook)或随身型易网机(Netbook)以满足其使用需求,倘若笔记本型计算机或随身型易网机未内建无线通讯模块,则可搭配外接式的无线上网卡、模块、或是dongle。 [0003] Due to the small wireless mobile phone-based communication device and the screen is generally limited computing power, so in some cases, users will tend to choose to use a notebook computer (Notebook) or easily portable type Machine (the Netbook) to satisfy its needs, if notebook computer or portable type easy network radio communications module is not built-in, you can mix the external wireless card, module, or dongle. 一般而言,无线上网卡会依其所支持的移动通讯技术而有对应的需求,以宽带码分多址接入技术而言,无线上网卡需结合使用者的用户身份模块(Subscriberldentity Module, SIM)卡,以码分多址接入-2000 (CDMA2000)技术而言,无线上网卡则需结合使用者身份模块(User Identity Module, UIM)卡,无线上网卡再从用户身份模块卡或使用者身份模块卡中取得该使用者存取网络的身份认证数据,以进行连网程序。 In general, according to their card will be supported by the mobile communication technology and a corresponding demand on wireless, broadband code division multiple access technology, network cards to be combined with the user's subscriber identity module (Subscriberldentity Module on the radio, SIM ) card to code division multiple access -2000 (CDMA2000) technology, wireless network card is required in conjunction with a user identity module (on user identity module, UIM) card, wireless card and from the user or subscriber identity module card identity module card acquires user authentication data to the access network for attachment procedure.

[0004] 无线上网卡的软件或固件可能需要适时进行更新,然而,以目前无线上网卡的设计而言,当插有用户身份模块卡或使用者身份模块卡的无线上网卡连接上笔记本型计算机或随身型易网机时,会立即执行连网程序。 [0004] on the wireless network card software or firmware may need to be updated in due course, however, the current design of the wireless network card, when inserted in the wireless subscriber identity module card or user identity module card, network card to connect a notebook computer or body-worn easy network machine performs networking program immediately. 更详细地说,当无线上网卡从笔记本型计算机的接口接收电源启动后,无线上网卡会立即读取用户身份模块中的用户身份数据,并且执行本身的软件或固件连接无线网络。 More specifically, when the wireless network card interface for receiving power from the notebook computer starts, the card reads the user identity data of the subscriber identity module immediately on the wireless, and software or firmware executed itself connected to a wireless network. 而笔记本型计算机上的操作系统与/或驱动程序,也在检测到无线上网卡之后随即启动,以便通过无线上网卡连网。 The operating system and / or drivers on a notebook computer, are detected immediately after start wireless network card, wireless network card to the Internet through. 在此过程中,并没有让使用者介入的机会。 In this process, and did not let the chance of user intervention. 若无线上网卡的软件或固件需要进行更新,则必须在未连接于笔记本型计算机或随身型易网机的状态下,拆解开无线上网卡的外壳,以手动的方式进行更新。 If there is no line card software or firmware needs to be updated, it must be in a state not connected to a notebook computer or a portable type easy to network machine, dismantling the housing opening on the wireless network card to be manually updated. 因此,极需有一种机制可以让无线上网卡依其需求选择性地执行连网程序或软件/固件更新。 Therefore, in dire need of a mechanism that allows wireless network card on the Internet according to their needs selectively execute a program or software / firmware updates.

发明内容 SUMMARY

[0005] 本发明的一实施例提供了一种无线上网装置,包括一第一介接模块、一无线模块、一第二介接模块以及一更新模块。 Example a [0005] The present invention provides a wireless Internet access device, comprising a first interfacing module, a wireless module, a second module, and an interfacing module updates. 上述第一介接模块用以连接一使用者识别卡,该使用者识别卡包括至少一输入触点(Pin)与一输出触点;上述无线模块,连接至一储存模块以及通过上述第一介接模块耦接至上述使用者识别卡,且用以根据上述储存模块所储存的软件或固件提供无线通讯连结服务;上述第二介接模块,耦接上述无线模块至一电子计算器;上述更新模块,耦接至上述无线模块以及通过上述第一介接模块耦接至上述使用者识别卡,且用以改变上述输出触点的一参考电位状态,并检测上述输入触点的电位状态是否随上述参考电位状态而改变,若是,则根据上述电子计算器的一指令更新上述储存模块所储存的软件或固件,若否,则启动上述无线模块,以通过上述第二介接模块提供无线通讯连结服务至上述电子计算器。 Interfacing the first module for connecting a user identification card, the user identification card comprising at least one input contact (Pin) and an output contact; the wireless module, a storage module coupled to the first dielectric and by connection module coupled to the user identification card, and to provide services based on the wireless communication link stored in the storage module software or firmware; the second interfacing module, coupled to the wireless module to a scientific electronic calculator; and the update module, coupled to the wireless module and coupled to the user identity card via the first interfacing module, and a reference voltage for changing the output state of the contacts, and detects whether a potential state of the input contact with said reference potential state changes, if yes, a command of the electronic calculator updating software or firmware stored in the storage module according If not, start the wireless module, through the second wireless communication module interfacing link service to the electronic calculator. 其中上述使用者识别卡为一更新用伪卡,且上述第一输入触点与上述输出触点被设置为短路,使上述输入触点的电位状态随上述参考电位状态而改变。 Wherein said user identification card is a counterfeit card with the update, and the first input contact and the output contacts are short-circuited to set the potential state of the input contact with said reference potential state changed.

[0006]本发明的另一实施例提供了一种软件与固件更新方法,适用于一无线上网装置,该无线上网装置包括一储存模块,且用以根据上述储存模块所储存的软件或固件提供无线通讯连结服务至一电子计算器。 [0006] Another embodiment of the present invention provides a software and firmware update method for a wireless Internet access device, the wireless Internet access device comprises a storage module and a storage module for providing the above-described software or firmware stored in wireless communication services to link an electronic calculator. 该方法包括以下流程步骤:连接一使用者识别卡,该使用者识别卡包括至少一输入触点与一输出触点;改变上述输出触点的一参考电位状态;检测上述输入触点的电位状态是否随上述参考电位状态而改变;当上述输入触点的电位状态随上述参考电位状态而改变时,则根据上述电子计算器的一指令更新上述储存模块所储存的软件或固件。 The method comprises the following process steps: connecting a user identification card, the user identification card comprising at least one input contact and an output contact; change a reference potential state of the output contacts; detecting the potential state of the input contact with reference to the above-described potential state whether changes; state when the electric potential of the input contact with said reference potential state is changed, the updating software or firmware stored in the storage module in accordance with a command of the electronic calculator. 其中上述使用者识别卡为一更新用伪卡,且上述第一输入触点与上述输出触点被设置为短路,使上述输入触点的电位状态随上述参考电位状态而改变。 Wherein said user identification card is a counterfeit card with the update, and the first input contact and the output contacts are short-circuited to set the potential state of the input contact with said reference potential state changed.

[0007] 关于本发明其它附加的特征与优点,本领域技术人员,在不脱离本发明的精神和范围内,当可根据本发明实施方法中所揭露的无线上网装置以及软件与固件更新方法,做些许的更动与润饰而得到。 [0007] Other additional features and advantages of the present invention relates, those skilled in the art, without departing from the spirit and scope of the invention in, when the wireless Internet access device may be disclosed according to the method of the present invention and the software and firmware update method, do some modifications and retouched to give.

附图说明 BRIEF DESCRIPTION

[0008] 图1是根据本发明一实施例所述的无线上网环境。 [0008] FIG. 1 is a wireless Internet environment according to an embodiment of the present invention.

[0009] 图2是根据本发明一实施例所述的无线上网装置。 [0009] FIG 2 is an embodiment of a wireless embodiment of the apparatus of the present invention is the Internet.

[0010] 图3是根据本发明一实施例所述的软件与固件更新方法的流程图。 [0010] FIG. 3 is a flowchart of software and firmware update method according to an embodiment of the present invention.

具体实施方式 detailed description

[0011] 本章节所叙述的是实施本发明的最佳方式,目的在于说明本发明的精神而非用以限定本发明的保护范围,本发明的保护范围当视所附的申请专利范围所界定者为准。 [0011] This description is a preferred embodiment of the invention, the object of illustrating the general principles of the invention and not to limit the scope of the present invention, as defined by the scope of the present invention is best range of the appended patent whichever is greater.

[0012] 图1是根据本发明一实施例所述的无线上网环境。 [0012] FIG. 1 is a wireless Internet environment according to an embodiment of the present invention. 在无线上网环境10中,当使用者100欲使用电子计算器200执行网络相关应用或服务时,可将用户身份模块卡(SIM)或使用者身份模块卡(ΠΜ)插入无线上网装置300内,再将无线上网装置300连接至电子计算器200,由无线上网装置300自服务网络400取得无线网络资源并进一步存取服务网络400与/或其联结的因特网(Internet) 500,以提供无线通讯连结服务至电子计算器200。 In the wireless Internet environment 10, when the user want to use the electronic calculator 100 200 performing network-related application or service, a subscriber identity module card (SIM) card or a user identity module (ΠΜ) may be inserted into the wireless Internet access device 300, wireless Internet access device 300 is then connected to the electronic calculator 200, wireless network resources to obtain from the service network 400 by the wireless Internet access device 300 and access network 400 and further / or coupled Internet (Internet) 500, to provide wireless communications links service to the electronic calculator 200. 电子计算器200可为笔记本型计算机、随身型易网机、桌上型计算机(desktop)、或工作站/服务器等具有运算能力的电子装置。 Electronic calculator 200 may be a notebook computer, a portable-type easy to network machines, desktop computers (Desktop), or the workstation / server and other electronic device having computing capabilities.

[0013] 其中,无线上网装置300可通过软/固件的更新改变其运作模式或设定,例如:运作频段的选取、选定运作的无线通讯技术以及从所支持的多个无线通讯技术中设定运作优先级等,因此,当使用者100欲更新无线上网装置300的软/固件时,则可将本发明的更新用伪卡插入无线上网装置300,待无线上网装置300连接上电子计算器200后,本发明的无线上网装置300即可辨识更新用伪卡,然后通过电子计算器200更新无线上网装置300的软/固件。 [0013] wherein the wireless Internet access device 300 may change its mode of operation by setting or updating software / firmware, such as: the selection of the operating frequency, the operation of the wireless communication technology and selected from a plurality of supports disposed in wireless communication technology given priority operation, etc. Therefore, when the user 100 updates the wireless Internet access device 300. For software / firmware can be updated with the present invention counterfeit card into the wireless Internet access device 300, the wireless Internet access device 300 to be connected to the electronic calculator after 200, the present invention is the wireless Internet access device 300 can be updated with identification Weika, wireless Internet and then update the device 300 software / firmware by the electronic calculator 200.

[0014] 无线上网装置300可包括一介接模块,用以连接无线上网装置300至电子计算器200,在实作上,该介接模块可为通用序列总线(Universal SerialBus,USB)、通用异步收发传输器(Universal AsynchronousReceiver/Transmitter, UART)、蓝牙收发器(Bluetoothtransceiver)、或其它消息交换媒介(media)。 [0014] The wireless device 300 may include ordinary Internet connection module for wireless Internet access device 300 is connected to the electronic calculator 200, on the implementation, the interfacing module may be a universal serial bus (Universal SerialBus, USB), a universal asynchronous receiver transmitter (Universal AsynchronousReceiver / transmitter, UART), a Bluetooth transceiver (Bluetoothtransceiver), or other message exchange medium (media).

[0015] 图2是根据本发明一实施例所述的无线上网装置。 [0015] FIG 2 is an embodiment of a wireless embodiment of the apparatus of the present invention is the Internet. 无线上网装置300中包括了第一介接模块310、第二介接模块320、无线模块330以及更新模块340。 Wireless Internet access device 300 includes a first interfacing module 310, a second interfacing module 320, a wireless module 330, and update module 340. 在本实施例的一范例的机构设计上,无线上网装置300具有一凹槽,而第一介接模块310即设置于该凹槽内面,用以连接所插入的使用者识别卡311。 The design of a mechanism in the exemplary embodiment of the present embodiment, the wireless Internet access device 300 having a recess, and the first interfacing module 310 that is disposed on the inner surface of the recess, for connecting the user identification card 311 is inserted. 第二介接模块320耦接无线模块330至一外部的电子计算器200。 Second interfacing module 320 is coupled 330-1 external wireless electronic calculator module 200. 无线模块330连接至储存模块350以及通过第一介接模块310耦接至使用者识别卡311,且无线模块330具有无线通讯的功能可提供无线通讯连结服务,其中储存模块350用以储存无线上网装置300功能运作时所需的软件与固件。 The wireless module 330 is connected to the storage module 350, and a first user identification card 311 to interface module 310 is coupled to, and the wireless module 330 has a function of wireless communication link may provide wireless communications service, wherein the storage module 350 for storing wireless Internet access required for operation of the device 300 functionality of the software and firmware. 更新模块340耦接至无线模块330以及通过第一介接模块310耦接至使用者识别卡311,且根据所插入的使用者识别卡311判断是否使无线上网装置300进入一等待状态,以接收来自电子计算器200的指令进行软件或固件的更新,或者是该启动无线模块330以提供无线通讯连结服务至电子计算器200。 Update module 340 is coupled to the wireless module 330 and the user identification card 311 interfacing the first module 310 is coupled to, and whether or not the wireless Internet access device 300 enters a waiting state according to the inserted user identification card 311 determines to receive an instruction from the electronic calculator 200 to update firmware or software, or a wireless module 330 to start the wireless communication link to provide services to the electronic calculator 200. 虽然第二图将第一介接模块310、第二介接模块320、无线模块330、更新模块340与储存模块350分开来表示,但本领域技术人员可以明白在某些实施例中,能够将上述某些或全部模块合并在一芯片上。 While the second FIG interfacing the first module 310, second interfacing module 320, a wireless module 330, an updating module 340 and storage module 350 is represented separately, those skilled in the art appreciate that in some embodiments, can be some or all of the above combined on a chip module.

[0016] 使用者识别卡311可为用户身份模块卡、使用者身份模块卡、或本发明所述的更新用伪卡。 [0016] user identification card 311 may be a subscriber identity module card, user identity module cards, counterfeit cards or updated with the present invention. 在一实施例中,根据国际标准IS0/IEC 7816-3的规范,使用者识别卡311至少包括6个触点,分别为:电源(Vcc)触点、重置(Rst)触点、时钟(CLK)触点、接地(Gnd)触点、编程电压(Vpp)触点、以及数据(I/O)触点。 In one embodiment, according to the international standard IS0 / IEC 7816-3 norm, the user identification card 311 includes at least six contact, are: a power supply (Vcc) contacts, reset (Rst is) contact, a clock ( CLK) contacts the ground (Gnd) contacts, the programming voltage (Vpp) contacts, and data (I / O) contacts. 需要特别注意的是,为了实现本发明的软件与固件更新方法,本发明一实施例所述的更新用伪卡是遵照国际标准IS0/IEC 7816-3的规范,其卡片触点亦如上所述包含6个触点,但将重置触点、时钟触点、以及数据触点设为短路,以使其电位状态一致。 Special attention is required in order to achieve software and firmware update method according to the present invention, the present invention is updated with an embodiment of the counterfeit card is in compliance with international standards IS0 / IEC 7816-3 norm embodiment, the card contacts which are also described above comprising 6 contacts, the contacts will be reset, clock contact, and the contacts to short-circuit the data to make it consistent with potential state.

[0017] 上述由更新模块340根据所插入的使用者识别卡311判断是否进行软件/固件更新的步骤,则是基于上述更新用伪卡的设计来进行。 [0017] The update module 340 from the step 311 determines whether or not the software / firmware update is performed in accordance with the user identification card is inserted, update is performed based on the above-described design with counterfeit cards. 首先,更新模块340可选择将重置触点、时钟触点、以及数据触点皆设为通用输入输出(General Purpose I/O, GPI0)的输入模式,再选择重置触点与时钟触点的一者设为通用输入输出的输出模式,至此,则可将所选定的重置触点与时钟触点的一者视为输出触点、另外两个触点则视为输入触点。 First, the update module 340 selectively resets the contact, the contact clock and data contacts are set as general purpose input output (General Purpose I / O, GPI0) input mode, and then selecting the reset clock contact with the contact one set GPIO output mode, thus, can be selected by a clock and reset contacts contact considered output contact, additional contacts are considered two input contacts. 接着,以输出触点的电位状态为一参考电位状态,更新模块340尝试改变参考电位状态,然后检测两个输入触点中的至少一者的电位状态是否随参考电位状态而改变;若是,则更新模块340使无线上网装置300进入等待状态,直到接收来自电子计算器200的更新指令,再更新储存模块350中所储存的软件或固件,若否,则更新模块340启动无线模块330,使其通过第二介接模块320提供无线通讯连结服务至电子计算器200。 Subsequently, a potential state of the output contact is a reference potential state, update module 340 attempts to change the state of the reference potential, and detects whether a potential state of two input contacts of at least one of a state change with a reference potential; if yes, update module 340 of the wireless Internet access device 300 enters a waiting state until receiving the update instruction from the calculator 200, and then update the software or firmware stored in the storage module 350, and if not, the updating module 340 to start the wireless module 330, so that interfacing module 320 through the second wireless communication link to the electronic calculator 200 service.

[0018] 也就是说,如果所插入的使用者识别卡311为更新用伪卡,则由于更新用伪卡上的重置触点、时钟触点、以及数据触点被设为短路,所以更新模块340将参考电位状态设为高电位时,从输入触点所读取到的电位状态亦为高电位,而当更新模块340将参考电位状态设为低电位时,从输入触点所读取到的电位状态亦为低电位,因此,更新模块340可识别出目前的使用者识别卡311为更新用伪卡,并据以进行上述的软/固件更新步骤。 [0018] That is, if the inserted user identification card 311 is updated with counterfeit cards, since the reset contact is updated with the counterfeit cards, clock contact and the contact data set is short-circuited, so that the update when the module 340 is set to the high potential reference potential state, read from the input to the potential state of contact potential is also high, and when the updating module 340 to the low potential reference potential state, read from the input contacts It is also a potential to the low potential state, and therefore, the update module 340 may identify the current user identification card 311 is updated with counterfeit cards, and accordingly the above soft / firmware update step. 反之,如果所插入的使用者识别卡311为用户身份模块卡或使用者身份模块卡,则由于该卡片上的重置触点、时钟触点、以及数据触点并未被设为短路,其电位状态的改变将符合国际标准ISO/IEC 7816-3的规范,一般情况下,数据触点的电位状态必须在时钟循环(clock cycle)累计达一定数量(例如:每400个时钟循环)时才会改变(由高电位到低电位、或由低电位到高电位),或者,当重置触点的电位状态改变后经过一定数量的时钟循环,数据触点的电位状态才会改变。 Conversely, if the user identification card 311 is inserted as a subscriber identity module card or a user identity module card, since the card contacts on reset, clock contact, and the data set has not been short-circuited contacts which potential state change will meet the international standard ISO / IEC 7816-3 standard, under normal circumstances, the potential state of the data contacts to be accumulated a certain number (for example: every 400 clock cycles) of the clock cycle (clock cycle) if change (from high potential to a low potential or a low potential to a high potential), or, when the potential of the reset contact change of state of a certain number of clock cycles after the potential of the contact will change state data. 所以关于用户身份模块卡或使用者身份模块卡的这三个触点之间,其电位状态的改变将不会是其一触点的电位状态一有变化,则另两个触点的电位状态就跟着改变。 Therefore, regarding the contacts between the three subscriber identity module card or a user identity module card, the potential changes its state will not be a potential state change of one of the contact, the two contacts of the other potential state to change with it. 换言之,更新模块340通过改变参考电位状态,会检测到输入触点的电位状态并未随着参考电位状态而有所改变,因此,更新模块340可识别出目前的使用者识别卡311为用户身份模块卡或使用者身份模块卡,并启动无线模块330,以提供无线通讯连结服务至电子计算器200。 In other words, the update module 340 by changing the reference potential state, detects a potential state of the input does not contact with the reference potential state change, therefore, update module 340 may identify a current user of the user identification card 311 module card or user identity module card, and start the wireless module 330 to provide wireless communications service to link the electronic calculator 200.

[0019] 在一实施例中,更新模块340在改变输出触点的电位状态后,可同时检测两个输入触点的电位状态是否都有随着参考电位状态而改变,如果两个输入触点的电位状态都有随着参考电位状态而改变,则判断使用者识别卡311为更新用伪卡,反之,则判断使用者识别卡311为用户身份模块卡或使用者身份模块卡。 [0019] In one embodiment, the update module 340 after the change of the potential state of the output contact, can detect whether the potential state of the two input contacts has changed state as the reference potential, if the two input contacts with reference potential state of the potential state has changed, it is determined that the user identification card 311 is updated with counterfeit cards, and vice versa, it is determined that the user identification card 311 is a subscriber identity module card or a user identity module card. 举例来说:可选择重置触点为输出触点,在重置触点、时钟触点、以及数据触点皆被设定为通用输入输出的输入模式后,更新模块340再将重置触点设定为通用输入输出的输出模式,改变输出触点(即为重置触点)的电位状态,然后读取输入触点(即为时钟触点与数据触点)的电位状态是否也跟着一起改变。 For example: After the reset contact is selectively output contacts are set as GPIO input mode in the reset contact, clock contact, and contact data, update module 340 then resets the touch whether the point is set as GPIO output mode, changing the output contacts (i.e. contacts reset) potential state, and then reads the input contact (i.e. clock contact with the contact data) followed potential state change together. 或者,可选择时钟触点为输出触点,在重置触点、时钟触点、以及数据触点皆被设定为通用输入输出的输入模式后,更新模块340再将时钟触点设定为通用输入输出的输出模式,改变输出触点(即为时钟触点)的电位状态,然后读取输入触点(即为重置触点与数据触点)的电位状态是否也跟着一起改变。 Alternatively, after the clock contacts are alternatively output contacts, the contacts in the reset, clock contact, and is set to the data contacts are GPIO input mode, update module 340 then contacts the clock is set to GPIO output mode, changing the output contacts (i.e. clock contact) potential state, and then reads the input contact (i.e. contact with the reset contact data) whether the potential state changed together followed.

[0020] 在另一实施例中,更新模块340在改变输出触点的电位状态后,可只检测上述两个输入触点的一者的电位状态是否有随着参考电位状态而改变,若有,则判断使用者识别卡311为更新用伪卡,反之,则判断使用者识别卡311为用户身份模块卡或使用者身份模块卡。 [0020] In another embodiment, the update module 340 after the change of the potential state of the output contact, can only detect whether or not the two input contacts one of the potential state has changed state as the reference potential, if , it is determined that the user identification card 311 is updated with counterfeit cards, and vice versa, it is determined that the user identification card 311 is a subscriber identity module card or a user identity module card. 本领域技术人员应可理解,在本发明所述的更新用伪卡,其输入触点与输出触点的挑选以及短路的设计并不限定于国际标准ISO IEC 7816-3所规范卡片,亦适用于有类似触点结构的其它规格的芯片卡,例如:IS0 IEC 7816-4,GSM 11.1UGSM 11. 12等标准。 Those skilled in the art will appreciate, the counterfeit cards updated with the present invention, the input contacts and output contacts and a short selection of the design is not limited to a card regulated 7816-3 International Standard ISO IEC, also apply similar to the chip card contact structure of the other specifications, for example: IS0 IEC 7816-4, GSM standard 11.1UGSM 11. 12 and the like. 再者,本发明关于输入触点与输出触点的挑选以及短路的设计并不限定于重置触点、时钟触点、以及数据触点,亦可挑选卡片中的其它触点,只要输入触点与输出触点的运作不与该卡的制订标准有所冲突即可。 Further, the present invention is designed for the input and output contacts of the selected contact and a short contact is not limited to the reset, clock contact, and contact data, may choose other contacts in the card, as long as the touch input the operation point of the output contacts can not be in conflict with the development of standards for the card.

[0021] 在其它实施例中,可重复进行上述改变输出触点的电位状态、以及检测输入触点的电位状态的步骤,例如:在重复进行三次的情况下,第一次先将输出触点的电位状态设为高,接着观察输入触点的电位状态是否也为高,第二次将输出触点的电位状态设为低,接着观察输入触点的电位状态是否也为低,第三次再将输出触点的电位状态设为高,接着观察输入触点的电位状态是否也为高。 [0021] In other embodiments, the altering of the potential state of the output contact, and a step of detecting a state of a potential input contact may be repeated, for example: in the case of repeated three times, the first output contact point of the first set to the high potential state, and then to observe whether the state of the input contact potential is also high, the potential of the second set to a low state of the output contacts, input contacts and then observed whether the low potential state, the third then the potential output contact status is set high, then observe whether the state of the input contact potential is also high. 经过如此重复的检验,将可有效排除误判使用者识别卡311的机率,因为唯有在使用者识别卡311为更新用伪卡时,才有可能连续多次都检测到输入触点的电位状态会随输出触点的电位状态而改变。 After repeat testing, will effectively eliminate the chance of misjudgment of the user identification card 311, because only when the user identification card 311 is updated with counterfeit cards, possible to repeatedly input contacts were detected potential It will change with the state of the potential state of the output contact. 此外,更新模块340在检测输入触点的电位状态的步骤时,可更进一步判断输入触点的电位状态改变是否与输出触点的电位状态改变为同步发生,以增进判断使用者识别卡311是否为更新用伪卡的正确性。 Further, in step 340 update module detecting a state of a potential of the input contact, can be further determined potential state change of the input contact and the output contact status is the potential was changed to occur simultaneously in order to enhance the user identification card 311 determines whether or not to update the correctness of using counterfeit cards.

[0022] 在一实施例中,储存模块350可集成于无线模块330中,用以储存关于无线模块330运作的软/固件,并通过上述的软/固件更新以改变其功能设定,包括:运作频段的选取、选定运作的无线通讯技术、以及从所支持的多个无线通讯技术中设定运作优先级等等。 [0022] In one embodiment, the storage module 350 may be integrated in the wireless module 330 for storing software / firmware on the operation of the wireless module 330, and the above soft / firmware update in order to change its function set, comprising: select band of operation, the operation of the selected wireless communications technology, and the setting from a plurality of wireless communication technology to support its operations in priority and so on. 举例来说:无线模块330可支持多个无线通讯技术的通讯协议,如:全球移动通讯系统(Global System for Mobile Communications,GSM)、通用封包无线服务(General packetradio service,GPRS)、宽带码分多址接入、码分多址接入-2000、以及分时-同步码分多址接入(Time Division-Synchronous Code Division Multiple Access)等技术。 For example: a wireless module 330 may support a plurality of wireless communication technology, communication protocols, such as: Global System for Mobile communication system (Global System for Mobile Communications, GSM), general packet radio service (General packetradio service, GPRS), wideband code division multiple access, CDMA-2000, and time division - synchronous Code Division Multiple access (Time Division-synchronous Code Division Multiple access) technology.

[0023] 在另一实施例中,储存模块350可独立于无线模块330之外,用以储存无线上网装置300的系统软/固件,并通过上述的软/固件更新以改变其功能设定。 [0023] In another embodiment, the storage module 350 may be separate from the wireless module 330, a wireless Internet access device 300 for storing the system software / firmware, and the above soft / firmware update in order to change its function set. 又或者,无线上网装置300可同时包括上述的两种储存模块,其一为集成于无线模块330中的储存模块,用以储存关于无线模块330运作的软/固件,其二为独立于无线模块330之外,用以储存关于无线上网装置300的系统软/固件。 Or, the wireless Internet access device 300 may include a storage module at the same time both of the above, one of which is integrated in the wireless module 330 in the storage module, for storing software / firmware on the operation of the wireless module 330, the wireless module independent of the other than 330 for storing software / firmware on a wireless Internet access device 300 system. 在实作上,储存模块350可为一非易失性存储器(Non-volatileMemory),例如:只读存储器(Read Only Memory, ROM)、可重编程只读存储器(Erasable Electronic Programmable Read Only Memory, EEPR0M)或闪存(例如:N0RFlash Memory > NAND Flash Memory)等适合使用在小型移动装置内的存储器。 In practice, the storage module 350 may be a non-volatile memory (Non-volatileMemory), for example: a read only memory (Read Only Memory, ROM), reprogrammable read-only memory (Erasable Electronic Programmable Read Only Memory, EEPR0M ) or flash memory (e.g.: N0RFlash memory> NAND Flash memory) and the like suitable for use in a small mobile device memory.

[0024] 图3是根据本发明一实施例所述的软件与固件更新方法的流程图。 [0024] FIG. 3 is a flowchart of software and firmware update method according to an embodiment of the present invention. 该软件与固件更新方法用以更新无线上网装置300的软件或固件,且无线上网装置300包括储存模块350,并根据储存模块350所储存的软件或固件提供无线通讯连结服务至电子计算器200。 The software and firmware update method for updating software or firmware wireless Internet access device 300, and wireless Internet access device 300 includes a storage module 350, and provides wireless communications services link 350 to the electronic calculator 200 according to software or firmware stored in the storage module. 该软件与固件更新方法的执行步骤如下:首先,通过第一介接模块310将使用者识别卡311连接至无线上网装置300 (步骤S10),使用者识别卡311包括有至少一输入触点与一输出触点。 The software performs the step of firmware updating method as follows: First, a first module 310 interfacing the user identification card 311 is connected to the wireless Internet access device 300 (step SlO), the user identification card 311 includes at least one input contact and an output contact. 接着,以输出触点的电位状态为一参考电位状态,更新模块340改变此参考电位状态(步骤S20),例如,将参考电位状态设为高电位或低电位;然后,更新模块340再检测输入触点的电位状态是否随参考电位状态而改变(步骤S30);进一步时,若输入触点的电位状态随参考电位状态而改变,意即所插入的使用者识别卡311为更新用伪卡,则根据电子计算器200的指令更新储存模块350所储存的软件或固件(步骤S40)。 Subsequently, a potential state of the output contact is a reference potential state, this update module 340 to change the reference potential state (step S20), e.g., a reference potential to a high potential state or a low potential; Then, update module 340 then detects an input whether the state of the contact potential with the reference potential state change (step S30); further, the contact state if the input potential with a reference potential state change, which means the inserted user identification card 311 is updated with Weika, the electronic calculator according to an instruction 200 to update firmware or software stored (step S40) stored in module 350. 因此,本发明的软件与固件更新方法在不需拆解开无线上网装置300的情况下,即可完成软/固件的更新。 Thus, software and firmware update method according to the present invention without disassembling the case of open wireless Internet access device 300, to complete the updating software / firmware.

[0025] 进一步说明步骤S40,当更新模块340判断输入触点的电位状态确实会随参考电位状态而改变时,则使无线上网装置300进入一等待状态,且无线上网装置300并通过第二介接模块320传送一等待更新的消息至电子计算器200,电子计算器200在收到等待更新的消息时,可通过图形用户接口(Graphical User Interface,⑶I)显示提示给使用者100。 [0025] further described step S40, the updating module 340 determines when the input contact potential state does change with a reference potential state, so that the wireless Internet access device 300 enters a wait state, and the wireless Internet access device 300 and a second dielectric via connection module 320 transmits a message waiting update to the electronic calculator 200, while the electronic calculator 200 receives a message waiting update prompt may be displayed to the user 100 via a graphical user interface (graphical user Interface, ⑶I). 使用者100再手动操作,在电子计算器200上选择执行软件或固件的一更新文件以进行更新。 100 and then the user manually selecting a software or firmware update file is performed on an electronic calculator 200 to update. 或者,电子计算器200亦可在收到等待更新的消息时,自动搜寻可用的更新文件,然后进行更新。 Alternatively, the electronic calculator 200 also when you receive a message waiting for updates automatically search for the update file available, then updated.

[0026] 本发明的软件与固件更新方法可通过通用输入输出的指令来进行,且仅需四道指令:第一道指令将重置触点、时钟触点、以及数据触点设为通用输入输出的输入模式(即设定输入触点),第二道指令将其一触点设为通用输入输出的输出模式(即设定输出触点),第三道指令改变输出触点的电位状态,第四道指令检测输入触点的电位状态。 [0026] Software and firmware update method according to the present invention can be performed by general-purpose input-output instruction, and only four instructions: a first instruction resets the channel contact, a clock contact and the contact to a general purpose input data input output mode (i.e. setting input contact), a second contact track one instruction to output mode of the general purpose input output (i.e., output contact set), the third channel change command potential state of the output contact , the potential state of the fourth input channel instruction detection contact. 每道通用输入输出的指令所需时间皆不超过I微秒,且通用输入输出的指令可于启动(Boot)程序内即执行完毕。 The time required instructions for each channel exceeds neither the general-purpose input-output I microseconds, and universal input-output instructions may be in the boot i.e. finished (the Boot) program. 因此就所需时间而言,本发明的软件与固件更新方法的执行效率明显优于一般的软/固件更新方法。 Thus in terms of time required, the efficiency of software and firmware updating method of the present invention is generally significantly better than soft / firmware update method.

[0027] 本发明虽以各种实施例揭露如上,然而其仅为范例参考而非用以限定本发明的范围,任何本领域技术人员,在不脱离本发明的精神和范围内,当可做些许的更动与润饰。 [0027] While the invention has been described by the various embodiments, reference however merely exemplary of the present invention but not to limit the scope of anyone skilled in the art, without departing from the spirit and scope of the invention, as do some modifications and retouching. 因此上述实施例并非用以限定本发明的范围,本发明的保护范围当视所附的权利要求范围所界定者为准。 Thus the above-described embodiment is not intended to limit the scope of the present invention, the scope of the present invention is best scope of the appended claims and their equivalents.

Claims (8)

  1. 1. 一种无线上网装置,包括:一第一介接模块,用以连接一使用者识别卡,该使用者识别卡包括至少一第一输入触点与一输出触点;一无线模块,连接至一储存模块以及通过上述第一介接模块耦接至上述使用者识别卡,且用以根据上述储存模块所储存的软件或固件提供无线通讯连结服务;一第二介接模块,耦接上述无线模块至一电子计算器;以及一更新模块,耦接至上述无线模块以及通过上述第一介接模块耦接至上述使用者识别卡,且用以改变上述输出触点的一参考电位状态,当上述第一输入触点的电位状态随上述参考电位状态而改变时,根据上述电子计算器的一指令更新上述储存模块所储存的软件或固件,其中上述使用者识别卡为一更新用伪卡,且上述第一输入触点与上述输出触点被设置为短路,使上述输入触点的电位状态随上述参考电位状态 A wireless Internet access device, comprising: a first interfacing module for connecting a user identification card, the user identification card comprising at least a first input contact and an output contact; a wireless module, connected to to a storage module and a coupling module via the first interfacing to the above-described user identification card, and to provide services based on the wireless communication link stored in the storage module software or firmware; a second interfacing module, coupled to the a wireless module to the electronic calculator; and an updating module, coupled to the wireless module and through said first interfacing module coupled to the user identification card, and a reference voltage for changing the output state of the contact, when the potential of the first input contact state with said reference potential state is changed, updating software or firmware stored in the storage module in accordance with a command of the electronic calculator, wherein said user identification card is updated with a Weika and the first input contact and the output contacts are short-circuited to set the potential state of the input contact with said reference potential state 改变。 Change.
  2. 2.根据权利要求1所述的无线上网装置,其中使用者识别卡包括一第二输入触点,当所述第一输入触点与第二输入触点同时随上述参考电位状态而改变时,该更新模块更新上述储存模块所储存的软件或固件。 2. The wireless Internet access device according to claim 1, wherein the user identification card comprising a second input contact, when said first input and the second input contacts simultaneously contact with said reference potential state changes, the updating module updating software or firmware stored in the storage module.
  3. 3.根据权利要求1所述的无线上网装置,其中上述输出触点为一时钟触点与一重置触点的一者,上述输入触点为上述时钟触点与上述重置触点的另一者或一数据触点。 The wireless Internet access device of claim 1, wherein the output contact is a clock contact with one of a reset contact, the input contact of the above-described reset the clock contact and the other contact claims one or data contacts.
  4. 4.根据权利要求3所述的无线上网装置,其中上述更新模块还用以将上述时钟触点或上述重置触点的一者设置为一通用输入输出的输出模式,将上述时钟触点或上述重置触点的另一者与上述数据触点设置为上述通用输入输出的输入模式。 4. The wireless Internet access device according to claim 3, wherein said update module is further configured to reset the clock contacts or said contacts of one set to a general purpose input output output mode, the clock contact or other of the above-described reset contacts to the data input mode is set to contact the general-purpose input and output.
  5. 5. 一种软件与固件更新方法,适用于一无线上网装置,该无线上网装置包括一储存模块,且用以根据上述储存模块所储存的软件或固件提供无线通讯连结服务至一电子计算器,上述软件与固件更新方法包括:连接一使用者识别卡,该使用者识别卡包括至少一第一输入触点与一输出触点;改变上述输出触点的一参考电位状态;检测上述第一输入触点的电位状态是否随上述参考电位状态而改变;以及当上述第一输入触点的电位状态随上述参考电位状态而改变时,根据上述电子计算器的一指令更新上述储存模块所储存的软件或固件,其中上述使用者识别卡为一更新用伪卡,且上述输入触点与上述输出触点被设置为短路,使上述输入触点的电位状态随上述参考电位状态而改变。 A software and firmware update method for a wireless Internet access device, the wireless Internet access device comprises a storage module, and for providing a wireless communications link to the electronic calculator according to the services of the storage module stored in software or firmware, the above-described software and firmware updating method comprising: connecting a user identification card, the user identification card comprising at least a first input contact and an output contact; change a reference potential state of the output contacts; detecting said first input whether the potential state of the contact with said reference potential state change; and when the potential of the first input contact state with said reference potential state is changed, a command of the electronic calculator according to the software update stored in the storage module or firmware, wherein said user identification card is a counterfeit card with the update, and said input contacts and the output contacts are short-circuited to set the potential state of the input contact with said reference potential state changed.
  6. 6.根据权利要求5所述的软件与固件更新方法,其中上述使用者识别卡包括一第二输入触点,当所述第一输入触点与第二输入触点同时随上述参考电位状态而改变时,更新上述储存模块所储存的软件或固件。 The software and firmware update method according to claim 5, wherein said user identification card comprising a second input contact when the first input contact and the second contact simultaneously with the input state of said reference potential changing, updating software or firmware stored in the storage module.
  7. 7.根据权利要求5所述的软件与固件更新方法,其中上述输出触点为一时钟触点与一重置触点的一者,上述输入触点为上述时钟触点与上述重置触点的另一者或一数据触点。 The software and firmware update method according to claim 5, wherein said output contact is a clock contact with one of a reset contact, the input contact of the above-described reset the clock contact and the contact or the other of a data contacts.
  8. 8.根据权利要求7所述的软件与固件更新方法,还包括将上述时钟触点或上述重置触点的一者设置为一通用输入输出的输出模式,将上述时钟触点或上述重置触点的另一者与上述数据触点设置为上述通用输入输出的输入模式。 8. The software and firmware update method according to claim 7, further comprising resetting the clock contacts or said contacts of one set to a general purpose input output output mode, reset the clock or said contacts contacts the other contact to the data input mode is set to the general-purpose input and output.
CN 201010109798 2010-02-02 2010-02-02 Software and firmware updating method and applicable wireless internet access device thereof CN101848558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010109798 CN101848558B (en) 2010-02-02 2010-02-02 Software and firmware updating method and applicable wireless internet access device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010109798 CN101848558B (en) 2010-02-02 2010-02-02 Software and firmware updating method and applicable wireless internet access device thereof

Publications (2)

Publication Number Publication Date
CN101848558A true CN101848558A (en) 2010-09-29
CN101848558B true CN101848558B (en) 2013-04-17

Family

ID=42772973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010109798 CN101848558B (en) 2010-02-02 2010-02-02 Software and firmware updating method and applicable wireless internet access device thereof

Country Status (1)

Country Link
CN (1) CN101848558B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945182B (en) * 2012-12-06 2016-03-30 北京奇虎科技有限公司 Method and apparatus for application updates

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004095365A1 (en) 2003-04-17 2004-11-04 Sandisk Corporation Memory cards including a standard security function
CN101060403A (en) 2006-04-18 2007-10-24 钟曦辰 Wireless communication terminal-based interactive dynamic password safety service system
CN101626405A (en) 2009-03-02 2010-01-13 卓望数码技术(深圳)有限公司 Wireless internet access card and identity authentication method and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004095365A1 (en) 2003-04-17 2004-11-04 Sandisk Corporation Memory cards including a standard security function
CN101060403A (en) 2006-04-18 2007-10-24 钟曦辰 Wireless communication terminal-based interactive dynamic password safety service system
CN101626405A (en) 2009-03-02 2010-01-13 卓望数码技术(深圳)有限公司 Wireless internet access card and identity authentication method and system thereof

Also Published As

Publication number Publication date Type
CN101848558A (en) 2010-09-29 application

Similar Documents

Publication Publication Date Title
US20090088211A1 (en) Dual-sim mobile terminal and operation method for the same
US20060160569A1 (en) Cellular phone and portable storage device using the same
US20070250655A1 (en) U3 adapter
US20120052801A1 (en) Near field communication device
US20100317401A1 (en) Method, apparatus, and system for transferring data between mobile telephones and other digital devices
CN101772215A (en) Mobile terminal capable of supporting near field communication and near field communication method thereof
US20080163246A1 (en) Methods for launching a program application
CN101452435A (en) USB terminal mode switching method and terminal
US20110191499A1 (en) USB to SD Bridge
US20080147375A1 (en) System, method, device, and computer program product for providing a portable device having drive emulation capabilities
CN101009898A (en) The handset supporting the novel smart card
US20090157356A1 (en) Hardware test and diagnosis system and method
CN102238265A (en) Mobile phone and method for realizing double-system mobile phone
CN102662699A (en) Method for updating NFC (Near Field Communication) firmware of mobile terminal and mobile terminal
EP1457922A2 (en) Smart card that can be configured for debugging and software development using secondary communication port
US20060048146A1 (en) Forcibly downloading program in mobile communications terminal
US20140191041A1 (en) Mobile devices with rfid capabilities and corresponding memory write methods
CN102098390A (en) Method for recovering subscriber identity module (SIM) of mobile phone in case of data transmission error and mobile phone
US20090131036A1 (en) Providing a High-Speed Connection Between a Memory Medium of a Mobile Device and an External Device
CN101695088A (en) Module identification method and terminal
US20130145052A1 (en) Method and a Portable Computing Device (PCD) For Exposing a Peripheral Component Interface Express (PCIE) Coupled Device to an Operating System Operable on the PCD
US20140191846A1 (en) Mobile device with rfid capability and corresponding boot sequence
US20080127036A1 (en) Application development tool and related methods
US20110252172A1 (en) System and method for concurrent operation of dual interfaces between uicc and mobile device
US20120042369A1 (en) Data Card, Method and System for Identifying Fingerprint with Data Card

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
C41 Transfer of patent application or patent right or utility model
ASS Succession or assignment of patent right

Owner name: KY WIRE ELECTRIC CO., LTD.

Free format text: FORMER OWNER: MEISHANG WEIRUI ELECTRIC COMPANY

Effective date: 20131015

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; TO: 310003 HANGZHOU, ZHEJIANG PROVINCE

C41 Transfer of patent application or patent right or utility model
ASS Succession or assignment of patent right

Owner name: WEIRUI DIANTONG (HANGZHOU) CO., LTD.

Free format text: FORMER OWNER: KY WIRE ELECTRIC CO., LTD.

Effective date: 20140320

C41 Transfer of patent application or patent right or utility model
C41 Transfer of patent application or patent right or utility model