[go: up one dir, main page]

CN1953370B - Method for modifying parameter value of embedded system by pushing set file into object - Google Patents

Method for modifying parameter value of embedded system by pushing set file into object Download PDF

Info

Publication number
CN1953370B
CN1953370B CN2005101086532A CN200510108653A CN1953370B CN 1953370 B CN1953370 B CN 1953370B CN 2005101086532 A CN2005101086532 A CN 2005101086532A CN 200510108653 A CN200510108653 A CN 200510108653A CN 1953370 B CN1953370 B CN 1953370B
Authority
CN
China
Prior art keywords
embedded system
modifying
parameter values
file
pushing
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Lifetime
Application number
CN2005101086532A
Other languages
Chinese (zh)
Other versions
CN1953370A (en
Inventor
欧阳士煌
杨昌益
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Micro Star International Co Ltd
Original Assignee
Micro Star International Co Ltd
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 Micro Star International Co Ltd filed Critical Micro Star International Co Ltd
Priority to CN2005101086532A priority Critical patent/CN1953370B/en
Publication of CN1953370A publication Critical patent/CN1953370A/en
Application granted granted Critical
Publication of CN1953370B publication Critical patent/CN1953370B/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A method for modifying parameter value of embedded system by Object Push setting file is used in embedded system without input keyboard, after transmitting electronic business card (vCard) from start end to embedded system by Object Push setting file (OPP), name field information in it is read by analysis module to change device name of embedded system.

Description

通过对象推入设定文件修改嵌入式系统参数值的方法 Method for Modifying Embedded System Parameter Values by Pushing Objects into Configuration Files

技术领域technical field

本发明涉及一种更改装置参数值的方法,特别涉及一种应用于利用对象推入设定文件(OPP,Object Push Profile)传送名片文件(vCard),以更改不具输入键盘的嵌入式系统参数值的方法。The present invention relates to a method for changing device parameter values, in particular to a method for transferring a business card file (vCard) using an Object Push Profile (OPP, Object Push Profile) to change parameter values of an embedded system without an input keyboard Methods.

背景技术Background technique

随着科技技术的不断演进,信息的交换更显得格外重要,尤其是让各种设备可以自由的交换数据,最常见的方式便是通过控制线的方式,然而,这样的随身设备要是很多的话,就会变成身上带着一堆各式各样的连接线,例如:个人数字助理有其与计算机进行数据传输的连接线,mp3随身听也有自己的一条传输线,手机要进行通信簿的同步也需要一条自己的传输线与计算机相连,尽管在计算机端的数据传输端口已经统一成IEEE1394或是USB的接口,但是在外围装置上的接头却各种规格都有可能,导致无法仅用一条传输线就能使用于各种外围装置来传输数据。With the continuous evolution of technology, the exchange of information is even more important, especially to allow various devices to freely exchange data. The most common way is through the control line. However, if there are many such portable devices, It will become a bunch of various connection lines on the body, for example: the personal digital assistant has its connection line for data transmission with the computer, the mp3 player also has its own transmission line, and the mobile phone needs to synchronize the address book. It needs a transmission line of its own to connect with the computer. Although the data transmission port on the computer side has been unified into an IEEE1394 or USB interface, the connectors on the peripheral device may have various specifications, which makes it impossible to use only one transmission line. Transfer data to various peripheral devices.

红外线正好可以解决这样的问题,各个外围设备若具有红外线连接装置,只要两者间的红外线感应器能彼此检测到,便能进行数据的传输,不再需要通过传输线来进行连接,然而这样的方式仍然有其缺点存在;首先,红外线的检测范围有限,两个具红外线感应器的装置若不能落在彼此的检测范围内将无法进行连接,第二,红外线的传输范围仅2-3公尺,而且两个红外线感应器中间不可有阻隔物存在;以及通过红外线来进行数据的传输,其传输速度仅115kbps,只能做为小量数据传输的用途。Infrared can just solve this problem. If each peripheral device has an infrared connection device, as long as the infrared sensors between the two can detect each other, data transmission can be carried out, and there is no need to connect through a transmission line. However, this way There are still disadvantages; first, the detection range of infrared rays is limited, and two devices with infrared sensors cannot be connected if they cannot fall within the detection range of each other; second, the transmission range of infrared rays is only 2-3 meters. Moreover, there must be no barrier between the two infrared sensors; and the transmission speed of data through infrared is only 115kbps, which can only be used for small amount of data transmission.

因此,在1998年的时候便由五家厂商共同开发蓝牙技术规格,运用在各种数字IA家电产品、民生用电子消费机器、通信及车用产品上,蓝牙技术在推展初期由于采用的产品并不多见,蓝牙芯片的产量也不多的情况下,以致无法达成广泛的使用。但是近年来各家厂商纷纷增加了配备蓝牙芯片产品的数量,通过蓝牙方式来进行传输也因此渐渐的普及起来。Therefore, in 1998, five manufacturers jointly developed Bluetooth technical specifications, which were used in various digital IA home appliances, electronic consumer devices for people's livelihood, communication and automotive products. It is rare, and the output of Bluetooth chips is not much, so that it cannot be widely used. However, in recent years, various manufacturers have increased the number of products equipped with Bluetooth chips, and transmission through Bluetooth has gradually become popular.

蓝牙技术与红外线相较之下,不仅传输速度加快,而且两个蓝牙装置即使中间有物体阻隔仍然可以进行数据的传输,在传输的距离上更可以达到10公尺以上,最重要的是通过蓝牙来传输不再受限于须在检测的范围内才能进行,由于蓝牙本身的传输属于无向性,因此在该蓝牙装置的球体范围的有效距离内皆可进行数据传输,使用上比起红外线装置更为方便。Compared with infrared technology, bluetooth technology not only speeds up the transmission speed, but also two bluetooth devices can still transmit data even if there is an object in the middle, and the transmission distance can reach more than 10 meters. The most important thing is through bluetooth The transmission is no longer limited to within the detection range. Since the transmission of Bluetooth itself is non-directional, data transmission can be carried out within the effective distance of the sphere range of the Bluetooth device. Compared with infrared devices in use more convenient.

但是,也正因其蓝牙的检测范围属于无向性,因此若是在人潮拥挤的场所,例如:上下班时间的车站、捷运车箱内部,展览会场或者是周末假日的百货公司时,开启蓝牙进行检测往往会发现周遭可能有不只一样的蓝牙外围,尤其是蓝牙耳机在价格降低之后更加普及,许多蓝牙手机的使用者更为乐意使用蓝牙耳机来接听电话,而各家的蓝牙耳机在出厂之后,皆会使用厂商所内建的名称,然而该项产品的名称皆为固定,而且类似蓝牙耳机、蓝牙随身听等嵌入式系统往往不具键盘等可用以设定名称的输入装置,使用者若无法通过计算机或是手机与其连接,再通过执行特殊的修改程序或者藉由固件的修改,并无法更改其内定的装置名称,如此一来,使用者若是同时检测到多个同一产品,往往无法知道哪一装置才是自己所欲建立连接的对象。However, because the detection range of Bluetooth is non-directional, if you are in a crowded place, such as: a station during commuting hours, inside a MRT car, an exhibition venue or a department store on weekends and holidays, turn on Bluetooth to detect The detection often finds that there may be more than the same Bluetooth peripherals around, especially after the price of Bluetooth headsets has become more popular. Many users of Bluetooth mobile phones are more willing to use Bluetooth headsets to answer calls. All will use the built-in name of the manufacturer, but the name of the product is fixed, and embedded systems such as Bluetooth headsets and Bluetooth walkmans often do not have keyboards and other input devices that can be used to set the name. A computer or mobile phone is connected to it, and the default device name cannot be changed by executing a special modification program or by modifying the firmware. In this way, if the user detects multiple identical products at the same time, it is often impossible to know which one The device is the object you want to establish a connection with.

另一个较严重的问题便是蓝牙的传输虽有经过加密传输,但是若是使用者没去修改该配对密码则通常为厂商出厂时内定的配对密码,而该组配对密码很容易就被猜出来,这么一来,有心人士即可轻易的入侵到蓝牙装置进而窃取内部数据,可见修改配对密码的重要性,但是蓝牙装置本身若无输入键盘的装置,要修改配对密码并不是件容易的事。Another serious problem is that although the Bluetooth transmission is encrypted, if the user does not change the pairing password, it is usually the default pairing password set by the manufacturer when leaving the factory, and the pairing password is easy to guess. In this way, interested people can easily hack into the Bluetooth device and steal internal data, which shows the importance of changing the pairing password, but if the Bluetooth device itself does not have a keyboard input device, it is not easy to change the pairing password.

发明内容Contents of the invention

鉴于以上的问题,本发明的主要目的在于提供一种通过对象推入设定文件(OPP,Object Push Profile)修改嵌入式系统(embedded system)参数值的方法,藉由接收起始端所传来的名片文件(vCard),使得不具输入键盘的嵌入式系统能够进行更换装置名称,进而使得嵌入式系统能够达到个人化的目的。In view of the above problems, the main purpose of the present invention is to provide a method for modifying embedded system (embedded system) parameter values through object push profile (OPP, Object Push Profile), by receiving the The business card file (vCard) enables the embedded system without an input keyboard to change the name of the device, thereby enabling the embedded system to achieve the purpose of personalization.

因此,为达上述目的,本发明揭露一种通过对象推入设定文件修改嵌入式系统参数值的方法,应用于一起始端修改该嵌入式系统参数值,该方法包含下列步骤:接收一起始端的一要求建立一传输联机;通过该传输联机以对象推入设定文件方式取得该起始端传来的一名片文件;撷取该名片文件内容的多笔字段数据;及依各该字段数据修改该嵌入式系统内部所储存对应的多笔参数值,其中,该起始端需输入一配对密码确认通过后,方传送该名片文件进行更改各该参数值,其中,该名片文件还用以修改该嵌入式系统的该配对密码,该方法包含下列步骤:撷取该名片文件的一新配对密码字段;要求该起始端输入该新配对密码进行再次认证;当该认证失败时,取消修改该配对密码的动作;及当该认证成功时,则用该新配对密码替代该配对密码。Therefore, in order to achieve the above purpose, the present invention discloses a method for modifying embedded system parameter values through an object push setting file, which is applied to an initial terminal to modify the embedded system parameter value. The method includes the following steps: receiving an initial terminal A request to establish a transmission connection; through the transmission connection, obtain the name card file transmitted from the starting end in the form of an object push configuration file; retrieve multiple field data of the name card file content; and modify the field data according to each field data There are many corresponding parameter values stored in the embedded system. The starting terminal needs to enter a pairing password to confirm the pass before sending the business card file to change the parameter values. The business card file is also used to modify the embedded system. The pairing password of the system, the method includes the following steps: extracting a new pairing password field of the business card file; requiring the originating terminal to input the new pairing password for re-authentication; when the authentication fails, canceling the modification of the pairing password action; and when the authentication is successful, replace the pairing password with the new pairing password.

为达上述目的,本发明还揭露一种通过对象推入设定文件进行修改系统参数值的嵌入式系统,该嵌入式系统具有:一无线传输模块,用以接收一起始端的一要求建立一传输联机,并通过该传输联机以对象推入设定文件方式取得该起始端传来的一名片文件;一解析模块,用以撷取该名片文件内容的多笔字段数据;一储存模块,用以储存该嵌入式系统的多笔参数值;及一修改模块,用以依各该字段数据修改该嵌入式系统对应的各该参数值,其中,该起始端需输入一配对密码确认通过后,方传送该名片文件进行更改各该参数值,其中,该名片文件还用以修改该嵌入式系统的该配对密码,该修改该嵌入式系统的该配对密码包含下列步骤:撷取该名片文件的一新配对密码字段;要求该起始端输入该新配对密码进行再次认证;当该认证失败时,取消修改该配对密码的动作;及当该认证成功时,则用该新配对密码替代该配对密码。In order to achieve the above purpose, the present invention also discloses an embedded system for modifying system parameter values by pushing an object into a configuration file. connection, and obtain the name card file transmitted from the starting end through the transmission connection by means of an object push configuration file; a parsing module for retrieving multiple field data of the name card file content; a storage module for storing multiple parameter values of the embedded system; and a modifying module for modifying each parameter value corresponding to the embedded system according to the data in each field, wherein, the starting terminal needs to input a pairing password to confirm and pass the confirmation. Sending the business card file to change each parameter value, wherein the business card file is also used to modify the pairing password of the embedded system, the modification of the pairing password of the embedded system includes the following steps: retrieving a part of the business card file New pairing password field; require the initiator to input the new pairing password for re-authentication; when the authentication fails, cancel the action of modifying the pairing password; and when the authentication is successful, replace the pairing password with the new pairing password.

有关本发明的特征与实作,兹配合附图作最佳实施例详细说明如下。Regarding the characteristics and implementation of the present invention, the preferred embodiments are described in detail below in conjunction with the accompanying drawings.

附图说明Description of drawings

图1a是本发明的实施方式示意图;Figure 1a is a schematic diagram of an embodiment of the present invention;

图1b是本发明于嵌入式系统端的系统架构图;Fig. 1b is a system architecture diagram of the present invention on the embedded system side;

图1c是本发明的名片文件的内容示意图;Fig. 1c is a schematic diagram of the content of the business card file of the present invention;

图2是本发明于起始端的方法流程图;Fig. 2 is the method flowchart of the present invention at the starting end;

图3是本发明于起始端的搜寻结果示意图;Fig. 3 is a schematic diagram of the search results at the starting end of the present invention;

图4是本发明于起始端以对象推入设定文件与目标装置传送数据的示意图;FIG. 4 is a schematic diagram of sending data between the target device and the target device by pushing the object into the configuration file at the starting end of the present invention;

图5是本发明于接收端变更装置名称的方法流程图;Fig. 5 is a flow chart of the method for changing the name of the device at the receiving end according to the present invention;

图6是本发明接收端变更名称完成后于起始端的显示示意图;及Fig. 6 is a schematic diagram of display at the starting end after the name change of the receiving end is completed in the present invention; and

图7是本发明于接收端变更配对密码的方法流程图。FIG. 7 is a flow chart of the method for changing the pairing password at the receiving end according to the present invention.

附图符号说明Description of reference symbols

1-起始端1 - start

2-接收端2- Receiver

10-无线传输模块10-Wireless transmission module

20-解析模块20-Analysis module

30-修改模块30-modify module

40-储存模块40-storage module

100-嵌入式系统100-Embedded System

150-名片文件150-Business card file

153-联络人姓名字段153 - Contact name field

156-联络人电话字段156-Contact phone field

300-蓝牙手机300-Bluetooth mobile phone

310-蓝牙计算机310-Bluetooth computer

410-出厂时所内定的名称410-The default name when leaving the factory

610-变更后的装置名称610-Changed device name

1000-蓝牙耳机1000-Bluetooth headset

2000-蓝牙耳机2000-Bluetooth headset

3000-蓝牙耳机3000-Bluetooth headset

步骤210-搜寻周围具对象推入设定文件的嵌入式系统Step 210 - Search for surrounding embedded systems with object push configuration files

步骤220-选择一嵌入式装置并要求与其进行建立联机的动作Step 220—select an embedded device and request to establish a connection with it

步骤230-要求使用者输入一配对密码作确认Step 230 - Requiring the user to enter a pairing password for confirmation

步骤240-判断使用者输入的配对密码是否正确?Step 240 - determine whether the pairing password entered by the user is correct?

步骤250-选取一名片文件传送至所选取的嵌入式系统并执行该嵌入式系统参数值的更新Step 250—select a card file and send it to the selected embedded system and execute the update of the embedded system parameter value

步骤260-取消建立联机的动作Step 260 - cancel the action of establishing a connection

步骤510-接收起始端的联机要求并取得相同的跳频序列建立两者间的联机Step 510 - Receive the connection request from the initiator and obtain the same frequency hopping sequence to establish the connection between the two

步骤520-以对象推入设定文件的方式来接收起始端所传来的名片文件Step 520—Receive the business card file from the originating end by pushing the object into the configuration file

步骤530-分析名片文件内容并撷取其中的联络人数据Step 530—analyze the content of the business card file and extract the contact data therein

步骤540-以联络人姓名取代出厂时内定的装置名称Step 540 - Replace the factory default device name with the name of the contact person

步骤710-接收起始端所传来的名片文件Step 710 - receiving the business card file from the originating end

步骤720-分析名片文件内容并撷取其中的配对密码字段信息Step 720—analyze the content of the business card file and extract the pairing password field information therein

步骤730-要求使用者于起始端输入新配对密码进行再次确认Step 730 - Requiring the user to enter the new pairing password at the initial terminal for reconfirmation

步骤740-判断使用者于起始端输入的新配对密码是否正确?Step 740-judging whether the new pairing password input by the user at the initial terminal is correct?

步骤750-以新配对密码取代旧配对密码储存于储存模块Step 750 - replace the old pairing password with the new pairing password and store in the storage module

步骤760-取消变更配对密码的动作Step 760 - cancel the action of changing the pairing password

具体实施方式Detailed ways

本发明将揭露一种通过对象推入设定文件来修改嵌入式系统参数值。在本发明的以下详细说明中,将描述多种特定的细节以便提供本发明的完整说明。然而,对熟知技艺者来说,并可以不需要使用该等特定细节便可以实施本发明,或者可以借着利用替代的组件或方法来实施本发明。在其它的状况下,并不特别详细地说明已知的方法、程序、部件、以及电路,以免不必要地混淆本发明的重点。The present invention discloses a method of modifying embedded system parameter values by pushing objects into configuration files. In the following detailed description of the invention, various specific details are described in order to provide a thorough description of the invention. It will occur to one skilled in the art, however, that the invention may be practiced without the use of these specific details, or that the invention may be practiced by utilizing alternative components or methods. In other instances, well-known methods, procedures, components, and circuits have not been described in particular detail so as not to unnecessarily obscure the present invention.

请参阅「图1a」及「图1b」,此为本发明以名片文件150进行更改装置名称的嵌入式系统100的系统架构图,至少包含:Please refer to "Fig. 1a" and "Fig. 1b". This is the system architecture diagram of the embedded system 100 for changing the name of the device with the name card file 150 of the present invention, at least including:

无线传输模块10,例如像:蓝牙装置(Bluetooth Module)、红外线(IrDA,Infrared Data Association)装置...等具有对象推入设定文件(OPP,ObjectPush Profile)的装置,以蓝牙装置来说,一个蓝牙装置可以同时扮演Master与Slave的角色,或是在两者之间切换。一般而言起始端1(发出要求的一端)是Master,而接收端2(接受要求的一端)是Slave,在本实施例中,起始端1为蓝牙手机300或具蓝牙装置的计算机310,而接收端2则为蓝牙耳机1000、蓝牙耳机2000及蓝牙耳机3000。在运作期间,由于控制整个蓝牙网域的角色是起始端1,所以当两个蓝牙装置建立联机后,会在这两个角色之间切换。在一个蓝牙微网(piconet)中,跳频序列皆由起始端1决定,接收端2必须遵守起始端1决定的跳频序列(FHS,Frequency HoppingSeries)。而一个蓝牙装置都有一个蓝牙装置地址(BDA,Bluetooth DeviceAddress)与时钟。蓝牙基频控制器(baseband controller)会根据蓝牙设备的地址与时钟计算出一个跳频序列。Wireless transmission module 10, for example like: bluetooth device (Bluetooth Module), infrared (IrDA, Infrared Data Association) device... and so on have the device that object pushes setting file (OPP, ObjectPush Profile), take bluetooth device as an example, A Bluetooth device can play the role of Master and Slave at the same time, or switch between the two. Generally speaking, the starting end 1 (the end that sends out the request) is the Master, and the receiving end 2 (the end that accepts the request) is the Slave. In this embodiment, the starting end 1 is the Bluetooth mobile phone 300 or the computer 310 with the Bluetooth device, and The receiver 2 is the Bluetooth headset 1000 , the Bluetooth headset 2000 and the Bluetooth headset 3000 . During operation, since the role that controls the entire Bluetooth network domain is Initiator 1, when two Bluetooth devices establish a connection, they will switch between these two roles. In a Bluetooth piconet, the frequency hopping sequence is determined by the initiator 1, and the receiver 2 must obey the frequency hopping sequence (FHS, Frequency Hopping Series) determined by the initiator 1. And a bluetooth device all has a bluetooth device address (BDA, Bluetooth DeviceAddress) and clock. The Bluetooth baseband controller (baseband controller) will calculate a frequency hopping sequence according to the address and clock of the Bluetooth device.

当一个接收端2与起始端1建立连结时,起始端1会把自己的蓝牙装置地址与时钟通知接收端2,接收端2的基频会计算出起始端1的跳频序列,与自己的跳频序列比较,计算出位移量,以便调整自己的频率,与起始端1完成同步的动作。此外起始端1还会依据接收端2的需要来分配时隙(timeslot)。因为接收端2只能在起始端1所分配的时隙内传送数据给起始端1。When a receiving terminal 2 establishes a connection with the starting terminal 1, the starting terminal 1 will notify the receiving terminal 2 of its own Bluetooth device address and clock, and the base frequency of the receiving terminal 2 will calculate the frequency hopping sequence of the starting terminal 1 and match its own hopping sequence. Frequency sequence comparison, calculate the displacement, in order to adjust its own frequency, and complete the synchronous action with the starting terminal 1. In addition, the originating end 1 also allocates time slots (timeslots) according to the needs of the receiving end 2 . Because the receiving end 2 can only transmit data to the starting end 1 within the time slot allocated by the starting end 1.

当联机建立之后,便可通过对象推入设定文件来取得名片文件(vCard)150、日历及行程文件(vCalender)...等文件,而接收端2的嵌入式系统100中的解析模块20便是用以对所接收的数据进行撷取;以名片文件150为例,如「图1c」所示,此为一名片文件150内部数据的示意图,开头会以”BEGIN:”来显示文件的开头,而其后的“VCARD”乃是记载此为一名片文件150;下一行则为表示此名片文件150的版本,接下来则为联络人数据,”NM:”这代码代表联络人的姓名字段153,以本实施例来说,该联络人的姓名即为”使用者耳机”,而”NO:”代表该联络人的电话字段156的数据为”54321”,解析模块20可根据各开头的代码来撷取其后的字段数据,并将各个字段数据记录在储存模块40的对应位置。After the connection is established, files such as business card file (vCard) 150, calendar and itinerary file (vCalender) can be obtained by pushing the setting file through the object, and the parsing module 20 in the embedded system 100 of the receiving end 2 It is used to capture the received data; take the business card file 150 as an example, as shown in "Fig. at the beginning, and the subsequent "VCARD" is to record that this is a name card file 150; the next line is to represent the version of this name card file 150, and the next line is the contact person data, "NM:" This code represents the name of the contact person Field 153, in this embodiment, the name of the contact is "user earphone", and "NO:" represents the data of the contact's phone field 156 is "54321", the parsing module 20 can be based on each beginning The following field data is retrieved by the code, and each field data is recorded in the corresponding position of the storage module 40 .

修改模块30则是根据嵌入式系统100固件的设定,例如:可将联络人的姓名字段153的数据替换为该嵌入式系统100的装置名称,将联络人的电话字段156数据替换为该嵌入式系统100的配对密码,当修改完成后,下次起始端1所见到该嵌入式系统100变更后的装置名称610即为”使用者耳机”,而欲与该嵌入式系统100建立联机时,则需输入更改后的新配对密码才可建立联机。The modification module 30 is then set according to the firmware of the embedded system 100, for example: the data of the name field 153 of the contact person can be replaced with the device name of the embedded system 100, and the phone field 156 data of the contact person can be replaced with the embedded The pairing password of the embedded system 100, when the modification is completed, the device name 610 after the change of the embedded system 100 seen by the starting terminal 1 is "user earphone" next time, and when it wants to establish a connection with the embedded system 100 , you need to enter the changed new pairing password to establish a connection.

储存模块40一般是指嵌入式系统100中的内建内存,通常都为非易失性内存(NVRAM,Non-Volatile RAM),由于数据储存于非易失性内存中,并不会在嵌入式系统使用至没电、关机或是因为更换电池,导致没有电力维持数据保存的情形,而此非易失性内存包含了下列几种:可抹除式只读存储器EEPROM(Electrically Erasable Programmable Read-Only Memory)、可抹除式只读存储器(EPROM,Erasable Programmable Read-Only Memory),或是闪存(Flash Memory)如:与非门闪存(NAND Type Flash Memory)、或非门闪存(NorFlash,NOR Type Flash Memory)。The storage module 40 generally refers to the built-in memory in the embedded system 100, which is usually a non-volatile memory (NVRAM, Non-Volatile RAM). The system is used until there is no power, shutdown or due to battery replacement, resulting in no power to maintain data storage, and this non-volatile memory includes the following types: EEPROM (Electrically Erasable Programmable Read-Only Memory), Erasable Programmable Read-Only Memory (EPROM, Erasable Programmable Read-Only Memory), or Flash Memory (Flash Memory) such as: NAND Flash Memory (NAND Type Flash Memory), NOR Flash Memory (NorFlash, NOR Type Flash Memory).

请参阅「图2」,此为本发明于起始端1的方法流程图,以具蓝牙装置的计算机310为起始端1为例来说,首先,便是开启一蓝牙搜寻程序,驱动蓝牙装置去寻找周围具蓝牙装置的设备(步骤210),如「图3」所示,此为搜寻结果的示意图,其中有三支相同型号的蓝牙耳机1000、2000、3000,由于蓝牙耳机1000、2000、3000上面并无输入键盘的装置可供更改装置名称,因此所搜寻出来的装置皆显示为出厂时所内定的名称410”M牌耳机”,无法得知自己手上的蓝牙耳机究竟是哪一个,而本发明正是用于解决此一问题,让无输入键盘的嵌入式系统100亦能容易的进行修改装置名称。Please refer to "Fig. 2", which is a flow chart of the method of the present invention at the starting end 1. Taking the computer 310 with a Bluetooth device as the starting end 1 as an example, at first, a bluetooth search program is started to drive the bluetooth device to Find devices with Bluetooth devices around (step 210), as shown in "Figure 3", which is a schematic diagram of the search results, in which there are three Bluetooth headsets 1000, 2000, and 3000 of the same model, because the Bluetooth headsets 1000, 2000, and 3000 There is no device with a keyboard to change the device name, so the searched devices are all displayed as the default name 410 "M Brand Headphones" at the factory, and it is impossible to know which Bluetooth headset is in your hand. The invention is used to solve this problem, so that the embedded system 100 without an input keyboard can easily modify the device name.

请参阅「图4」,假设蓝牙耳机1000为我们所要进行修改装置名称的对象,便于计算机显示画面中选取蓝牙耳机1000,此时蓝牙耳机1000图示会改变颜色以表示已经被选取,而在其图示上连点2下以要求进行建立联机(步骤220),接着蓝牙耳机1000便会要求使用者于蓝牙计算机310端输入配对密码以进行联机的动作(步骤230)。蓝牙耳机1000接收到传来使用者输入的配对密码开始判断是否正确(步骤240)?假如使用者输入配对密码错误时,则该联机即无法建立(步骤260);否则,则于蓝牙计算机310的屏幕上显示联机建立的提示,使用者便可选取一名片文件150以对象推入设定文件方式开始传送,进而可通过该名片文件150来更新蓝牙耳机1000的装置名称(步骤260)。Please refer to "Figure 4". Assuming that the Bluetooth headset 1000 is the object we want to modify the device name, it is convenient to select the Bluetooth headset 1000 on the computer display screen. At this time, the Bluetooth headset 1000 icon will change color to indicate that it has been selected. Click twice on the icon to request to establish a connection (step 220), and then the Bluetooth headset 1000 will require the user to enter the pairing password on the Bluetooth computer 310 to perform the connection (step 230). The bluetooth headset 1000 receives the pairing password input by the user and starts to judge whether it is correct (step 240 )? If the user enters a wrong pairing password, the connection cannot be established (step 260); otherwise, a prompt for connection establishment will be displayed on the screen of the bluetooth computer 310, and the user can select a card file 150 and push it into the device. Start transmission in a fixed file mode, and then the device name of the Bluetooth headset 1000 can be updated through the business card file 150 (step 260).

请参阅「图5」,此为本发明于接收端2进行变更装置名称的方法流程图,同样以蓝牙耳机1000为例,蓝牙计算机310传送出联机要求后,会把自己的蓝牙装置地址与时钟通知蓝牙耳机1000,蓝牙耳机1000的基频会计算出蓝牙计算机310的跳频序列,与自己的跳频序列比较,计算出位移量,以便调整自己的频率,与蓝牙计算机310完成同步的动作,完成建立两者间的联机(步骤510)。此外蓝牙计算机310还会依据蓝牙耳机1000的需要来分配时隙(time slot),在蓝牙计算机310所分配的时隙内传送数据给蓝牙耳机1000,接着使用者便可选取对象推入设定文件的方式进行传送名片文件150,而蓝牙耳机1000便能自无线传输模块10接收到蓝牙计算机310所传来的名片文件150(步骤520)。Please refer to "Fig. 5", which is a flow chart of the method for changing the name of the device at the receiving end 2 of the present invention. Taking the Bluetooth headset 1000 as an example, after the Bluetooth computer 310 sends a connection request, it will send its own Bluetooth device address and clock Notify the Bluetooth headset 1000 that the base frequency of the Bluetooth headset 1000 will calculate the frequency hopping sequence of the Bluetooth computer 310, compare it with its own frequency hopping sequence, and calculate the displacement, so as to adjust its own frequency and complete the synchronization with the Bluetooth computer 310. Establish a connection between the two (step 510). In addition, the bluetooth computer 310 will also allocate time slots according to the needs of the bluetooth headset 1000, and transmit data to the bluetooth headset 1000 in the time slot allocated by the bluetooth computer 310, and then the user can select the object and push it into the setting file The business card file 150 is transmitted in a manner, and the bluetooth headset 1000 can receive the business card file 150 from the bluetooth computer 310 from the wireless transmission module 10 (step 520).

解析模块20判读到开头的”VCARD”得知此为名片文件150格式,接着撷取出联络人姓名字段153的数据”使用者耳机”(步骤530);最后,如「图6」所示,由修改模块30根据嵌入式系统100固件的设定,将联络人的姓名字段153的数据”使用者耳机”,替换掉出厂时所内定的名称410”M牌耳机”(步骤540),如此一来,当下次使用者再次搜寻外围的蓝牙装置时,自己的蓝牙耳机1000便不再与其它同厂牌的蓝牙耳机一样都只能显示出厂时所内定的名称410,而可以很快的就找到自己的蓝牙耳机1000。The parsing module 20 interprets the "VCARD" at the beginning and knows that this is the format of the business card file 150, and then extracts the data "user earphone" in the contact name field 153 (step 530); finally, as shown in "Figure 6", by The modification module 30 replaces the default name 410 "M brand earphone" when leaving the factory with the data "user earphone" in the name field 153 of the contact person according to the setting of the embedded system 100 firmware (step 540), so that , when the user searches for the peripheral Bluetooth device again next time, his Bluetooth headset 1000 will no longer only display the default name 410 when leaving the factory like other Bluetooth headsets of the same brand, but he can quickly find himself The bluetooth headset 1000.

虽然变更蓝牙耳机1000的配对密码跟变更其装置名称差不多,请参照「图7」,此为本方法用于变更配对密码的方法流程图,首先,仍为通过对象推入设定文件来接收蓝牙计算机310所传来的名片文件150(步骤710),接着由解析模块20撷取出联络人电话字段156的数据为”54321”(步骤720),但为确保使用者确实知道变更后的配对密码,因此在蓝牙计算机310端必须再要求使用者输入变更后的配对密码以进行确认(步骤730),在比对过联络人电话字段156的数据与使用者输入的配对密码确认无误(步骤740),则可将联络人的电话字段156数据”54321”替换为该嵌入式系统100的配对密码,并储存在储存模块40之中(步骤750),否则,若是使用者所需入的新的配对密码错误,则取消变更配对密码的动作(步骤760)。Although changing the pairing password of the Bluetooth headset 1000 is similar to changing its device name, please refer to "Figure 7", which is the flow chart of the method for changing the pairing password in this method. From the business card file 150 sent by the computer 310 (step 710), the data in the contact phone field 156 is extracted by the parsing module 20 as "54321" (step 720), but in order to ensure that the user knows the changed pairing password, Therefore, at the Bluetooth computer 310 end, the user must be required to input the changed pairing password for confirmation (step 730), and after comparing the data in the contact phone field 156 with the pairing password input by the user, it is confirmed that it is correct (step 740). Then the contact person's telephone field 156 data "54321" can be replaced with the pairing password of the embedded system 100, and stored in the storage module 40 (step 750), otherwise, if the user needs to enter a new pairing password If it is wrong, cancel the action of changing the pairing password (step 760).

虽然本发明以前述的较佳实施例揭露如上,然其并非用以限定本发明,任何熟习相像技艺者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的专利保护范围须视本说明书所附的申请专利范围所界定者为准。Although the present invention is disclosed above with the aforementioned preferred embodiments, it is not intended to limit the present invention. Any person familiar with the similar art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The scope of patent protection of the present invention must be defined by the scope of patent application attached to this specification.

Claims (21)

1.一种通过对象推入设定文件修改嵌入式系统参数值的方法,应用于一起始端修改该嵌入式系统参数值,该方法包含下列步骤:1. A method for modifying an embedded system parameter value by pushing a setting file through an object, applied to an initial terminal to modify the embedded system parameter value, the method comprising the following steps: 接收一起始端的一要求建立一传输联机;receiving a request from an originator to establish a transmission connection; 通过该传输联机以对象推入设定文件方式取得该起始端传来的一名片文件;Obtain the name card file transmitted from the starting end through the transmission connection in the form of an object push setting file; 撷取该名片文件内容的多笔字段数据;及Extract multiple field data of the content of the business card file; and 依各该字段数据修改该嵌入式系统内部所储存对应的多笔参数值,Modify the corresponding multiple parameter values stored in the embedded system according to the data in each field, 其中,该起始端需输入一配对密码确认通过后,方传送该名片文件进行更改各该参数值,Among them, the starting end needs to enter a pairing password to confirm the pass before sending the business card file to change the value of each parameter. 其中,该名片文件还用以修改该嵌入式系统的该配对密码,该方法包含下列步骤:Wherein, the business card file is also used to modify the pairing password of the embedded system, and the method includes the following steps: 撷取该名片文件的一新配对密码字段;Retrieve a new pairing password field of the business card file; 要求该起始端输入该新配对密码进行再次认证;Requiring the initiator to enter the new pairing password for re-authentication; 当该认证失败时,取消修改该配对密码的动作;及When the authentication fails, cancel the action of modifying the pairing password; and 当该认证成功时,则用该新配对密码替代该配对密码。When the authentication is successful, the new pairing password is used to replace the pairing password. 2.如权利要求1所述通过对象推入设定文件修改嵌入式系统参数值的方法,其中,该起始端是为一计算机。2. The method for modifying parameter values of an embedded system through an object push configuration file as claimed in claim 1, wherein the starting end is a computer. 3.如权利要求1所述通过对象推入设定文件修改嵌入式系统参数值的方法,其中,该起始端是为一手机。3. The method for modifying parameter values of an embedded system by pushing an object into a setting file as claimed in claim 1, wherein the starting end is a mobile phone. 4.如权利要求1所述通过对象推入设定文件修改嵌入式系统参数值的方法,其中,该传输联机是为一红外线传输。4. The method for modifying parameter values of an embedded system through an object push configuration file as claimed in claim 1, wherein the transmission connection is an infrared transmission. 5.如权利要求1所述通过对象推入设定文件修改嵌入式系统参数值的方法,其中,该传输联机是为一蓝牙传输。5. The method for modifying parameter values of an embedded system through an object push configuration file as claimed in claim 1, wherein the transmission connection is a Bluetooth transmission. 6.如权利要求1所述通过对象推入设定文件修改嵌入式系统参数值的方法,其中,该名片文件的各该字段数据包含一装置名称。6. The method for modifying parameter values of an embedded system through an object push configuration file as claimed in claim 1, wherein each of the field data of the business card file includes a device name. 7.如权利要求6所述通过对象推入设定文件修改嵌入式系统参数值的方法,其中,该认证失败时仍可进行该装置名称的修改。7. The method for modifying the parameter value of an embedded system through an object push configuration file as claimed in claim 6, wherein the device name can still be modified when the authentication fails. 8.如权利要求1所述通过对象推入设定文件修改嵌入式系统参数值的方法,其中,该嵌入式系统是为一蓝牙耳机。8. The method for modifying parameter values of an embedded system through an object push configuration file as claimed in claim 1, wherein the embedded system is a bluetooth headset. 9.一种通过对象推入设定文件进行修改系统参数值的嵌入式系统,该嵌入式系统具有:9. An embedded system for modifying system parameter values by pushing objects into setting files, the embedded system has: 一无线传输模块,用以接收一起始端的一要求建立一传输联机,并通过该传输联机以对象推入设定文件方式取得该起始端传来的一名片文件;A wireless transmission module, used to receive a request from an originating end to establish a transmission connection, and obtain a business card file from the originating end through the transmission connection by means of an object push configuration file; 一解析模块,用以撷取该名片文件内容的多笔字段数据;A parsing module for retrieving multiple field data of the content of the business card file; 一储存模块,用以储存该嵌入式系统的多笔参数值;及A storage module, used for storing multiple parameter values of the embedded system; and 一修改模块,用以依各该字段数据修改该嵌入式系统对应的各该参数值,a modification module, used to modify each parameter value corresponding to the embedded system according to the field data, 其中,该起始端需输入一配对密码确认通过后,方传送该名片文件进行更改各该参数值,Among them, the starting end needs to enter a pairing password to confirm the pass before sending the business card file to change the value of each parameter. 其中,该名片文件还用以修改该嵌入式系统的该配对密码,该修改该嵌入式系统的该配对密码包含下列步骤:Wherein, the business card file is also used to modify the pairing password of the embedded system, and the modification of the pairing password of the embedded system includes the following steps: 撷取该名片文件的一新配对密码字段;Retrieve a new pairing password field of the business card file; 要求该起始端输入该新配对密码进行再次认证;Requiring the initiator to enter the new pairing password for re-authentication; 当该认证失败时,取消修改该配对密码的动作;及When the authentication fails, cancel the action of modifying the pairing password; and 当该认证成功时,则用该新配对密码替代该配对密码。When the authentication is successful, the new pairing password is used to replace the pairing password. 10.如权利要求9所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该起始端是为一计算机。10. The embedded system for modifying system parameter values by pushing an object into a configuration file as claimed in claim 9, wherein the starting end is a computer. 11.如权利要求9所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该起始端是为一手机。11. The embedded system for modifying system parameter values by pushing an object into a setting file as claimed in claim 9, wherein the starting end is a mobile phone. 12.如权利要求9所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该无线传输模块是为一红外线传输。12. The embedded system for modifying system parameter values by pushing an object into a setting file as claimed in claim 9, wherein the wireless transmission module is an infrared transmission. 13.如权利要求9所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该无线传输模块是为一蓝牙传输。13. The embedded system for modifying system parameter values by pushing an object into a setting file as claimed in claim 9, wherein the wireless transmission module is a Bluetooth transmission. 14.如权利要求9所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该名片文件的各该字段数据包含一装置名称。14. The embedded system for modifying system parameter values by pushing an object into a configuration file as claimed in claim 9, wherein each field data of the business card file includes a device name. 15.如权利要求9所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该储存模块是为一非易失性内存。15. The embedded system for modifying system parameter values by pushing an object into a configuration file as claimed in claim 9, wherein the storage module is a non-volatile memory. 16.如权利要求15所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该非易失性内存是为一可抹除式只读存储器。16. The embedded system for modifying system parameter values by pushing an object into a configuration file as claimed in claim 15, wherein the non-volatile memory is an erasable read-only memory. 17.如权利要求15所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该非易失性内存是为一电性可抹除式只读存储器。17. The embedded system for modifying system parameter values by pushing an object into a configuration file as claimed in claim 15, wherein the non-volatile memory is an electrically erasable read-only memory. 18.如权利要求15所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该非易失性内存是为一闪存。18. The embedded system for modifying system parameter values by pushing an object into a configuration file as claimed in claim 15, wherein the non-volatile memory is a flash memory. 19.如权利要求18所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该闪存是为一或非门闪存。19. The embedded system for modifying system parameter values by pushing an object into a setting file as claimed in claim 18, wherein the flash memory is a NOR flash memory. 20.如权利要求18所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该闪存是为一与非门闪存。20. The embedded system for modifying system parameter values by pushing an object into a setting file as claimed in claim 18, wherein the flash memory is a NAND flash memory. 21.如权利要求9所述通过对象推入设定文件进行修改系统参数值的嵌入式系统,其中,该嵌入式系统是为一蓝牙耳机。21. The embedded system for modifying system parameter values by pushing an object into a configuration file as claimed in claim 9, wherein the embedded system is a bluetooth headset.
CN2005101086532A 2005-10-18 2005-10-18 Method for modifying parameter value of embedded system by pushing set file into object Expired - Lifetime CN1953370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2005101086532A CN1953370B (en) 2005-10-18 2005-10-18 Method for modifying parameter value of embedded system by pushing set file into object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005101086532A CN1953370B (en) 2005-10-18 2005-10-18 Method for modifying parameter value of embedded system by pushing set file into object

Publications (2)

Publication Number Publication Date
CN1953370A CN1953370A (en) 2007-04-25
CN1953370B true CN1953370B (en) 2010-07-07

Family

ID=38059518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005101086532A Expired - Lifetime CN1953370B (en) 2005-10-18 2005-10-18 Method for modifying parameter value of embedded system by pushing set file into object

Country Status (1)

Country Link
CN (1) CN1953370B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI513214B (en) * 2014-09-04 2015-12-11 Quanta Comp Inc Method and system of establishing bluetooth
CN105406904A (en) * 2015-12-29 2016-03-16 微位(上海)网络科技有限公司 Card case with BLE chip, client system, management method and use method of card case
CN111225285A (en) * 2020-01-07 2020-06-02 海信视像科技股份有限公司 Bluetooth device display name modification and display method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271888A (en) * 2000-05-15 2000-11-01 倚天资讯股份有限公司 Method for updating software by bidirectional wireless transmission
CN1567955A (en) * 2003-06-23 2005-01-19 英华达(上海)电子有限公司 Method of converting paper visiting card to electronic visiting card for communication device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1271888A (en) * 2000-05-15 2000-11-01 倚天资讯股份有限公司 Method for updating software by bidirectional wireless transmission
CN1567955A (en) * 2003-06-23 2005-01-19 英华达(上海)电子有限公司 Method of converting paper visiting card to electronic visiting card for communication device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
蒋纲、周敬利等.基于Bluetooth OBEX 协议的文件传输技术的研究.小型微型计算机系统24 4.2003,24(4),687-690.
蒋纲、周敬利等.基于Bluetooth OBEX 协议的文件传输技术的研究.小型微型计算机系统24 4.2003,24(4),687-690. *

Also Published As

Publication number Publication date
CN1953370A (en) 2007-04-25

Similar Documents

Publication Publication Date Title
US11419182B2 (en) Electronic device supporting link sharing and method therefor
CN110602678B (en) Wireless audio output device
EP3091719B1 (en) Method for short-range wireless communication and electronic device using the same
KR102754824B1 (en) Electronic device and method for communication connection based on low energy in electronic device
KR100735382B1 (en) Secure communication method and device of a Bluetooth device
CN101632270A (en) Method and system for pairing wireless devices using physical presence
CN101127538B (en) Self-adapted match method between different Bluetooth devices
CN101461221A (en) Improved short range connectivity usability by using contact information
US20090029744A1 (en) Electronic device for hands-free operation of a portable communication device
CN104378838A (en) Method and device for building wireless connection
US9681290B2 (en) Dummy phone numbers to manage states on mobile phones
CN101631339A (en) Recent call synchronization method, recent call synchronization device and recent call synchronization system
US20030002678A1 (en) Method for using user data in a bluetooth device without user interface
CN1953370B (en) Method for modifying parameter value of embedded system by pushing set file into object
CN101222266A (en) Document transmission method and device
CN104796488A (en) Information push method and device, terminal and server
WO2015051742A1 (en) Method and device for automatically implementing wireless connection between devices
CN106899733B (en) Intelligent terminal and system address book phone number processing method and device
CN105049611A (en) Payment device searching method and payment device searching device
KR20200122820A (en) Electronic device for transmitting eir packet in bluetooth network environment and method thereof
CN102480311A (en) Data transfer method and system between mobile devices
US9930184B2 (en) Cordless telephone device, cordless telephone system, and data transfer method
CN106612131B (en) Information exchange method and device
CN107451462B (en) Application avatar operation method and related products
US20140170974A1 (en) Electronic device and method for establishing communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20100707