TWI547809B - Active transceiver of face to face - Google Patents

Active transceiver of face to face Download PDF

Info

Publication number
TWI547809B
TWI547809B TW101137178A TW101137178A TWI547809B TW I547809 B TWI547809 B TW I547809B TW 101137178 A TW101137178 A TW 101137178A TW 101137178 A TW101137178 A TW 101137178A TW I547809 B TWI547809 B TW I547809B
Authority
TW
Taiwan
Prior art keywords
infrared
memory
file
face
processor
Prior art date
Application number
TW101137178A
Other languages
Chinese (zh)
Other versions
TW201415243A (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
Application filed by 郭昱均 filed Critical 郭昱均
Priority to TW101137178A priority Critical patent/TWI547809B/en
Publication of TW201415243A publication Critical patent/TW201415243A/en
Application granted granted Critical
Publication of TWI547809B publication Critical patent/TWI547809B/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Optical Communication System (AREA)
  • Selective Calling Equipment (AREA)

Description

面對面的主動式通訊裝置 Face-to-face active communication device

面對面的主動式通訊裝置是以紅外線為傳輸媒介的攜帶型通訊裝置,利用硬體IC設計來實踐,並佐以建置在電腦平台的軟體來管理該裝置的記憶體內容。 The face-to-face active communication device is a portable communication device that uses infrared light as a transmission medium, and is implemented by using a hardware IC design, and is managed by a software built on a computer platform to manage the memory content of the device.

由於紅外線的安全性和建置的低成本,其已被大量地使用在家電遙控器上,但卻鮮少應用在促進人們相互了解的行動通訊裝置,本發明-面對面的主動式通訊裝置即是為了達成此一目標而提出的。 Due to the safety of infrared rays and the low cost of construction, it has been widely used in home appliance remote control, but it is rarely used in mobile communication devices that promote mutual understanding. The present invention-face-to-face active communication device is In order to achieve this goal.

生活在大都市,人與人的接觸機會增加,但是否因此而擴展生命的可能性?本發明“面對面的主動式通訊裝置”提供使用者將擬公開的檔案存放在其記憶體內,當使用者走在人群中,一旦遇見配戴面對面的主動式通訊裝置者,則以紅外線為媒介相互分享預先錄製的檔案資訊,即使人們素未謀面。 Living in a metropolis, opportunities for people to reach are increased, but is it possible to expand the possibilities of life? The "face-to-face active communication device" of the present invention provides a user to store the file to be disclosed in his memory. When the user walks in the crowd, once the face-to-face active communication device is met, the infrared medium is used as a medium. Share pre-recorded file information, even if people have never met.

當面對面的主動式通訊裝置連接電腦,透過圖形化使用者介面(GUI),人們可以將其收集到的檔案資訊匯出至電腦閱讀,或重新匯入新的個人檔案做為面對面的主動式通訊裝置傳送的依據。參考圖2和圖7,本發明面對面的主動式通訊裝置包含紅外線收發器、通用串列匯流排/通用非同步收發器(USB/UART)介面IC、控制器IC、快閃記憶體、攜帶式電源供應器、綠色指示燈、紅色指示燈、復位開關和管理該快閃記憶體的圖形化使用者介面。 When the face-to-face active communication device is connected to the computer, through the graphical user interface (GUI), people can export the collected file information to the computer for reading, or re-import the new personal file as a face-to-face active communication. The basis for device transmission. Referring to FIG. 2 and FIG. 7, the face-to-face active communication device of the present invention comprises an infrared transceiver, a universal serial bus/universal asynchronous transceiver (USB/UART) interface IC, a controller IC, a flash memory, and a portable Power supply, green indicator light, red indicator light, reset switch, and graphical user interface for managing the flash memory.

本發明面對面的主動式通訊裝置,可被一位使用者攜帶移動,並可在與另一個主動式通訊裝置面對面時,主動與該另一個主動式通訊裝置相互分享預先錄製的檔案,該面對面的主動式通訊裝置包含:一個紅外線收發器、一個訊號連接於該紅外線收發器的控制器IC、一個訊號連接於該控制器IC且可儲存 該檔案的快閃記憶體,該控制器IC包括一個任務管理者、一個紅外線-記憶體處理者、一個記憶體-紅外線處理者,及一個用以讀寫該快閃記憶體的記憶體管理者,其中:啟動該面對面的主動式通訊裝置後,該任務管理者會循環執行一個檔案接收模式和一個檔案傳送模式,當該任務管理者執行該檔案接收模式時,將啟用該紅外線-記憶體處理者,使該紅外線-記憶體處理者經由該紅外線收發器接收來自該另一個主動式通訊裝置所傳送的檔案,並將收到之該檔案經由該記憶體管理者儲存在該快閃記憶體;當成功接收該檔案或特定時間已過,該任務管理者執行該檔案傳送模式,即啟用該記憶體-紅外線處理者,使該記憶體-紅外線處理者透過該記憶體管理者從該快閃記憶體中讀出該預先錄製的檔案,然後經由該紅外線收發器傳送該檔案,完成後,該任務管理者再次循環執行該檔案接收模式。 The face-to-face active communication device of the present invention can be carried by a user, and can actively share the pre-recorded file with the other active communication device when facing the other active communication device, the face-to-face The active communication device comprises: an infrared transceiver, a controller IC connected to the infrared transceiver, and a signal connected to the controller IC and storable The flash memory of the file, the controller IC includes a task manager, an infrared-memory processor, a memory-infrared processor, and a memory manager for reading and writing the flash memory , wherein: after the face-to-face active communication device is activated, the task manager cyclically executes a file receiving mode and a file transfer mode, and when the task manager executes the file receiving mode, the infrared-memory processing is enabled. And causing the infrared-memory processor to receive the file transmitted by the other active communication device via the infrared transceiver, and storing the received file in the flash memory via the memory manager; When the file is successfully received or the specific time has elapsed, the task manager executes the file transfer mode, that is, the memory-infrared processor is enabled, and the memory-infrared processor passes the flash memory from the memory manager. Reading the pre-recorded file in the body, and transmitting the file via the infrared transceiver, after completion, the task manager Cycles run the file reception mode.

因此,本發明面對面的主動式通訊裝置不但實現人與人之間的思想交流,且其附帶的廣播功能更可以創造商業交易機會,所以其協助社群發展的潛力不容忽視。 Therefore, the face-to-face active communication device of the present invention not only realizes the exchange of ideas between people, but also has the accompanying broadcast function to create commercial transaction opportunities, so the potential for assisting the development of the community cannot be ignored.

如圖1、2所示,本發明面對面的主動式通訊裝置(Active Transceiver of Face to Face,AToFF)的一個實施例,包含一個紅外線收發器17、一個快閃記憶體7、一個綠色指示燈141、一個紅色指示燈142、一個復位開關13、一個控制器IC 16,一個通用串列匯流排/通用非同步收發器(USB/UART)介面IC 10,及一個攜帶式電源供應器12。該攜帶式電源供應器12可供給該主動式通訊裝置運作所需的電源。 As shown in FIG. 1 and FIG. 2, an embodiment of the Active Transceiver of Face to Face (AToFF) of the present invention includes an infrared transceiver 17, a flash memory 7, and a green indicator light 141. A red indicator light 142, a reset switch 13, a controller IC 16, a universal serial bus/universal asynchronous transceiver (USB/UART) interface IC 10, and a portable power supply 12. The portable power supply 12 can supply the power required for the active communication device to operate.

該紅外線收發器17包括一個可接收自另一個主動式通訊裝置發送之紅外線訊號的紅外線接收器4,及一個可傳送紅外線訊號的紅外線發射器5。 The infrared transceiver 17 includes an infrared receiver 4 that receives an infrared signal transmitted from another active communication device, and an infrared emitter 5 that transmits an infrared signal.

該控制器IC 16包括一個任務管理者(TM)1、一個紅外線-記憶體處理者(imH)2、一個記憶體-紅外線處理者(miH)3、一個記憶體管理者(MM)6、一個電腦-記憶體處理者(umH)8,及 一個記憶體-電腦處理者(muH)9。 The controller IC 16 includes a task manager (TM) 1, an infrared-memory processor (imH) 2, a memory-infrared processor (miH) 3, a memory manager (MM) 6, and a Computer-memory processor (umH) 8, and A memory-computer handler (muH)9.

該任務管理者1的訊號連接於:該綠色指示燈141、該紅色指示燈142、該復位開關13、該攜帶式電源供應器12、該紅外線-記憶體處理者2、該記憶體-紅外線處理者3、該電腦-記憶體處理者8,及該記憶體-電腦處理者9,且該任務管理者1負責上述各個處理者之間的工作協調與任務指派。再者,該任務管理者1內建有可被切換啟動的一個檔案接收模式與一個檔案傳送模式。 The signal of the task manager 1 is connected to: the green indicator light 141, the red indicator light 142, the reset switch 13, the portable power supply 12, the infrared-memory processor 2, the memory-infrared processing 3. The computer-memory processor 8, and the memory-computer processor 9, and the task manager 1 is responsible for work coordination and task assignment between the various processors. Furthermore, the task manager 1 has a file receiving mode and a file transfer mode that can be switched on and started.

該紅外線-記憶體處理者2可接收處理該紅外線接收器4所收到之紅外線訊號,並可將該紅外線訊號所內含之檔案資訊傳予該記憶體管理者6,再由該記憶體管理者6寫入該快閃記憶體7。該記憶體-紅外線處理者3可透過該記憶體管理者6將預先錄製的檔案自該快閃記憶體7讀出,然後經由該紅外線發射器5將該檔案以紅外線訊號傳送出去。 The infrared-memory processor 2 can receive the infrared signal received by the infrared receiver 4, and can transmit the file information contained in the infrared signal to the memory manager 6, and then manage the memory. The 6 is written to the flash memory 7. The memory-infrared processor 3 can read the pre-recorded file from the flash memory 7 through the memory manager 6, and then transmit the file as an infrared signal via the infrared emitter 5.

該通用串列匯流排/通用非同步收發器介面IC 10可和該電腦之圖形化使用者介面(GUI)11連接以存取該快閃記憶體7的檔案內容。該電腦-記憶體處理者8可處理來自該通用串列匯流排/通用非同步收發器介面IC 10的資訊並傳予該記憶體管理者6。該記憶體-電腦處理者9可處理來自該記憶體管理者6之資訊,並傳予該通用串列匯流排/通用非同步收發器介面IC 10。 The universal serial bus/universal asynchronous transceiver interface IC 10 can be connected to a graphical user interface (GUI) 11 of the computer to access the archive contents of the flash memory 7. The computer-memory processor 8 can process information from the universal serial bus/universal asynchronous transceiver interface IC 10 and pass it to the memory manager 6. The memory-computer processor 9 can process the information from the memory manager 6 and pass it to the universal serial bus/general non-synchronous transceiver interface IC 10.

該復位開關13可供使用者控制該任務管理者1的運作,包含啟用該面對面的主動式通訊裝置、強制該任務管理者1進入該檔案傳送模式,以及被持續按壓達3秒以上,以進行關機,且該主動式通訊裝置關機時,該任務管理者1會驅使該綠色指示燈141與該紅色指示燈142同時閃爍。 The reset switch 13 is operable for the user to control the operation of the task manager 1, including enabling the face-to-face active communication device, forcing the task manager 1 to enter the file transfer mode, and being continuously pressed for more than 3 seconds to perform When the active communication device is turned off, the task manager 1 drives the green indicator light 141 and the red indicator light 142 to flash simultaneously.

依據圖14,基於低功耗、即時性和效率考量,本發明面對面的主動式通訊裝置使用三種碼框來進行紅外線傳輸:(1)「您好(Hello)碼框」包含同步訊號、狀態資訊、裝置識別碼和檔案大小資訊,且該狀態資訊具有一個可被啟用的廣播功能; (2)「嗨(Hi)碼框」包含同步訊號、狀態資訊和裝置識別碼;(3)「資料(Data)碼框」包含狀態資訊、裝置識別碼和檔案內容資訊;其中每一個面對面的主動式通訊裝置擁有唯一的32位元裝置識別碼,執行紅外線檔案傳送時將精簡為8位元,以利接收端判斷是否已在短時間內重複接收相同的檔案;狀態資訊包含簡易同步碼、點對點或廣播通信和檔案格式;檔案大小資訊有3個位元組(Byte)可記載檔案的大小和錯誤檢測碼。 According to FIG. 14, based on low power consumption, immediacy and efficiency considerations, the face-to-face active communication device of the present invention uses three code frames for infrared transmission: (1) "Hello code frame" includes synchronization signals and status information. , device identification code and file size information, and the status information has a broadcast function that can be enabled; (2) "Hi (Hi) code frame" contains synchronization signal, status information and device identification code; (3) "Data (Data) code frame" contains status information, device identification code and file content information; each of which is face to face The active communication device has a unique 32-bit device identification code, which is reduced to 8 bits when performing infrared file transmission, so that the receiving end can judge whether the same file has been repeatedly received in a short time; the status information includes a simple synchronization code, Point-to-point or broadcast communication and file format; file size information has 3 bytes (Byte) to record the file size and error detection code.

接下來,就本發明面對面的主動式通訊裝置之運作方式進行說明。 Next, the operation of the face-to-face active communication device of the present invention will be described.

如圖1、圖2和圖3所示,使用者可持續按壓該復位開關3秒以上,藉以啟用該主動式通訊裝置,該主動式通訊裝置啟用後,該任務管理者1將會根據圖3的程序運行:在步驟301,該任務管理者1經由該記憶體-紅外線處理者3讀取該快閃記憶體7中的裝置設定資訊,並在步驟302根據該裝置設定資訊判斷裝置功能是否正常。若裝置功能不正常,則執行步驟303,該任務管理者1會驅使該紅色指示燈142閃爍3次,藉以提醒使用者,然後該任務管理者1結束程序。 As shown in FIG. 1 , FIG. 2 and FIG. 3 , the user can continuously press the reset switch for more than 3 seconds to enable the active communication device. After the active communication device is enabled, the task manager 1 will be according to FIG. 3 . Program running: In step 301, the task manager 1 reads the device setting information in the flash memory 7 via the memory-infrared processor 3, and in step 302, determines whether the device function is normal according to the device setting information. . If the function of the device is not normal, step 303 is executed, and the task manager 1 drives the red indicator light 142 to blink 3 times to remind the user, and then the task manager 1 ends the program.

若裝置功能正常,則執行步驟304,該任務管理者1驅使該綠色指示燈141閃爍3次,藉以提醒使用者裝置功能正常。然後,接續執行步驟305,該任務管理者1啟用該紅外線-記憶體處理者2進入該檔案接收模式。接著,執行步驟306,該任務管理者1判斷該檔案接收模式是否被中斷,也就是判斷是否收到來自電腦的外部中斷請求以管理該快閃記憶體7內容,或來自該復位開關13一次性按壓所觸發的中斷要求以強制進入該檔案傳送模式。若未發生中斷,該任務管理者1接續執行步驟307,判斷其進入該檔案接收模式是否已超過60秒,或是否已成功接收檔案,若進入該檔案接收模式已超過60秒或已成功接收檔案,則執行步驟308,該任務管理者1啟用該記憶體-紅外線處理者3進入該檔案傳送模式,完成後,該任務管理者1再次切換執行步驟305,即再次切換啟動該檔案接收模 式。換言之,該任務管理者1會主動地在該檔案接收模式和該檔案傳送模式間循環切換執行。至於上述步驟305之檔案接收模式的程序和步驟308之檔案傳送模式的程序將分別以圖5和圖4呈現說明。 If the function of the device is normal, step 304 is executed, and the task manager 1 drives the green indicator light 141 to blink three times to remind the user that the device functions normally. Then, step 305 is continued, and the task manager 1 enables the infrared-memory processor 2 to enter the file receiving mode. Then, in step 306, the task manager 1 determines whether the file receiving mode is interrupted, that is, whether to receive an external interrupt request from the computer to manage the content of the flash memory 7, or from the reset switch 13 once. Press the triggered interrupt request to force entry into the file transfer mode. If no interruption occurs, the task manager 1 continues to perform step 307 to determine whether it has entered the file receiving mode for more than 60 seconds, or has successfully received the file, if the file receiving mode has been exceeded for 60 seconds or the file has been successfully received. Then, in step 308, the task manager 1 enables the memory-infrared processor 3 to enter the file transfer mode. After completion, the task manager 1 switches again to perform step 305, that is, switches the file receiving mode again. formula. In other words, the task manager 1 will actively switch execution between the file receiving mode and the file transfer mode. The procedure of the file receiving mode of the above step 305 and the file transfer mode of step 308 will be described with reference to Figs. 5 and 4, respectively.

若該任務管理者1於步驟306判斷檔案接收模式被中斷,則執行步驟309。於步驟309,若中斷請求是來自強制執行該檔案傳送模式的要求,則執行步驟308,若中斷請求是發生自電腦,而非來自強制執行該檔案傳送模式的要求,則執行步驟310,即完成進行中的檔案接收後,該任務管理者1啟用該電腦-記憶體處理者8與該記憶體-電腦處理者9,並經由該通用串列匯流排/通用非同步收發器介面IC 10來與該電腦進行通訊及資料傳輸,接著在步驟311,該任務管理者1會判斷與該電腦間的通訊是否已結束,若尚未結束,則繼續執行步驟310,若已結束,則返回步驟301,重新開始該任務管理者1的執行程序。 If the task manager 1 determines in step 306 that the file receiving mode is interrupted, step 309 is performed. In step 309, if the interrupt request is from a request to enforce the file transfer mode, step 308 is performed. If the interrupt request is generated from the computer, instead of requesting execution of the file transfer mode, step 310 is performed. After receiving the file in progress, the task manager 1 enables the computer-memory processor 8 and the memory-computer processor 9 to communicate with the universal serial bus/universal asynchronous transceiver interface IC 10 The computer performs communication and data transmission. Then, in step 311, the task manager 1 determines whether the communication with the computer has ended. If not, the process continues to step 310. If it is over, the process returns to step 301. Start the execution of the task manager 1.

圖5表示該任務管理者1執行該檔案接收模式的程序:首先,在步驟501,該任務管理者1要求該紅外線-記憶體處理者2經由該紅外線接收器4監聽該「您好碼框」,接著,步驟502說明如在60秒期間該紅外線-記憶體處理者2未收到該「您好碼框」,則執行步驟503,該任務管理者1終止該紅外線-記憶體處理者2的監聽並結束該檔案接收模式。 5 shows a procedure in which the task manager 1 executes the file receiving mode: First, in step 501, the task manager 1 requests the infrared-memory processor 2 to listen to the "hello code frame" via the infrared receiver 4. Next, step 502 illustrates that if the infrared-memory processor 2 does not receive the "hello code frame" during 60 seconds, step 503 is executed, and the task manager 1 terminates the infrared-memory processor 2 Monitor and end the file receiving mode.

反之,在60秒期間若該紅外線-記憶體處理者2收到該「您好碼框」,則進入步驟504,該紅外線-記憶體處理者2將依據該「您好碼框」的該裝置識別碼來判斷是否連續3次收到相同的裝置識別碼,若是,代表已重複多次收到同一主動式通訊裝置的檔案,因此執行步驟505,該紅外線-記憶體處理者2回報該任務管理者1重複接收並返回步驟501。 On the other hand, if the infrared-memory processor 2 receives the "hello code frame" during 60 seconds, the process proceeds to step 504, and the infrared-memory processor 2 will use the device according to the "hello code frame". The identification code is used to determine whether the same device identification code is received three times in succession. If yes, it means that the file of the same active communication device has been received multiple times, so in step 505, the infrared-memory processor 2 reports the task management. The person 1 repeats the reception and returns to step 501.

若該紅外線-記憶體處理者2於步驟504判斷所收到之該「您好碼框」的該裝置識別碼未連續重複三次時,則執行步驟506。於步驟506,該紅外線-記憶體處理者2回報該任務管理 者1該「您好碼框」已收到,接著,於步驟507,該任務管理者1要求該記憶體-紅外線處理者3經由該紅外線發射器5傳送該「嗨碼框」。於步驟508,該記憶體-紅外線處理者3回報該任務管理者1已送出該「嗨碼框」。於步驟509,該任務管理者1要求該紅外線-記憶體處理者2經由該紅外線接收器4準備接收來自另一個主動式通訊裝置傳送的檔案。 If the infrared-memory processor 2 determines in step 504 that the device identification code of the "hello code frame" received is not continuously repeated three times, step 506 is performed. In step 506, the infrared-memory processor 2 reports the task management The "Hello Code Frame" has been received, and then, in step 507, the task manager 1 requests the memory-infrared processor 3 to transmit the "weight box" via the infrared emitter 5. In step 508, the memory-infrared processor 3 reports that the task manager 1 has sent the "weight box". In step 509, the task manager 1 requests the infrared-memory processor 2 to prepare to receive the file transmitted from another active communication device via the infrared receiver 4.

於步驟510,該紅外線-記憶體處理者2會判斷是否在2秒期間收到該「資料碼框」所組成的檔案,若未在2秒期間收到檔案,則執行步驟511,該紅外線-記憶體處理者2回報該任務管理者1檔案接收失敗,然後返回步驟501。若該紅外線-記憶體處理者2在2秒期間收到檔案,則接續步驟512,該紅外線-記憶體處理者2回報該任務管理者1已收到檔案,並將所收到的檔案經由該記憶體管理者6寫入該快閃記憶體7,然後執行步驟513,該任務管理者1點亮該綠色指示燈141達0.5秒,來表示已成功自另一個主動式通訊裝置接收檔案,且該任務管理者1結束該檔案接收模式的程序。 In step 510, the infrared-memory processor 2 determines whether the file composed of the "data frame" is received during 2 seconds. If the file is not received within 2 seconds, step 511 is executed, the infrared- The memory handler 2 reports that the task manager 1 file reception failed, and then returns to step 501. If the infrared-memory processor 2 receives the file during 2 seconds, then following step 512, the infrared-memory processor 2 reports that the task manager 1 has received the file and passes the received file via the file. The memory manager 6 writes the flash memory 7, and then performs step 513, the task manager 1 lights the green indicator light 141 for 0.5 seconds to indicate that the file has been successfully received from another active communication device, and The task manager 1 ends the program of the file receiving mode.

當該任務管理者1切換執行該檔案傳送模式時,其程序如圖4所示,於步驟401,該任務管理者1要求該紅外線-記憶體處理者2經由該紅外線接收器4監聽通道訊號,接著,於步驟402,若該紅外線-記憶體處理者2在50微秒期間經由該紅外線接收器4收到訊號時,則執行步驟403,等待2秒,然後再次返回執行步驟402,直到確定傳輸通道處於淨空狀態,方接續步驟404,即該紅外線-記憶體處理者2回報該任務管理者1通道已淨空。 When the task manager 1 switches to execute the file transfer mode, the program is as shown in FIG. 4. In step 401, the task manager 1 requests the infrared-memory processor 2 to monitor the channel signal via the infrared receiver 4. Next, in step 402, if the infrared-memory processor 2 receives the signal via the infrared receiver 4 during 50 microseconds, then step 403 is performed, wait 2 seconds, and then return to step 402 again until the transmission is determined. The channel is in a clear state, and then proceeds to step 404, that is, the infrared-memory processor 2 reports that the task manager 1 channel has cleared.

於步驟405和步驟406,該任務管理者1先要求該記憶體-紅外線處理者3經由該紅外線發射器5發送該「您好碼框」,完成後,該記憶體-紅外線處理者3回報該任務管理者1該「您好碼框」已發送。接下來,於步驟407,該任務管理者1要求該紅外線-記憶體處理者2經由該紅外線接收器4接收來自另一個主動式通訊裝置所發送之該「嗨碼框」。於步驟408,若 該紅外線-記憶體處理者2未在4微秒內收到該「嗨碼框」,則執行步驟409,該紅外線-記憶體處理者2回報該任務管理者1未收到該「嗨碼框」,同時該任務管理者1結束該檔案傳送模式。 In step 405 and step 406, the task manager 1 first requests the memory-infrared processor 3 to send the "hello code frame" via the infrared emitter 5, and after completion, the memory-infrared processor 3 reports the Task Manager 1 "Hello Code Frame" has been sent. Next, in step 407, the task manager 1 requests the infrared-memory processor 2 to receive the "code frame" sent from another active communication device via the infrared receiver 4. In step 408, if If the infrared-memory processor 2 does not receive the "weight box" within 4 microseconds, step 409 is executed, and the infrared-memory processor 2 reports that the task manager 1 has not received the "weight box". At the same time, the task manager 1 ends the file transfer mode.

反過來說,於步驟408,若該紅外線-記憶體處理者2於4微秒內收到該「嗨碼框」,則進入步驟410。於步驟410,該紅外線-記憶體處理者2回報該任務管理者1已收到該「嗨碼框」。於步驟411,該任務管理者1要求該記憶體-紅外線處理者3傳送我的檔案,即該預先錄製的檔案。於步驟412,該記憶體-紅外線處理者3告知該記憶體管理者6讀出該快閃記憶體7的該預先錄製檔案。於步驟413,該記憶體-紅外線處理者3以「資料碼框」經由該紅外線發射器5傳送該檔案。於步驟414,該記憶體-紅外線處理者3回報該任務管理者1已發送該檔案。於步驟415,該任務管理者1驅使該綠色指示燈141發光0.5秒,來提醒使用者該預先錄製的檔案已完成傳送,並結束該檔案傳送模式的程序。 Conversely, in step 408, if the infrared-memory processor 2 receives the "weight box" within 4 microseconds, then proceeds to step 410. In step 410, the infrared-memory processor 2 reports that the task manager 1 has received the "weight box". In step 411, the task manager 1 requests the memory-infrared processor 3 to transmit my file, that is, the pre-recorded file. In step 412, the memory-infrared processor 3 informs the memory manager 6 to read the pre-recorded file of the flash memory 7. In step 413, the memory-infrared processor 3 transmits the file via the infrared emitter 5 in a "data frame". In step 414, the memory-infrared processor 3 reports that the task manager 1 has sent the file. In step 415, the task manager 1 drives the green indicator light 141 to emit light for 0.5 seconds to remind the user that the pre-recorded file has been transferred and ends the program of the file transfer mode.

附加說明,在圖4之步驟402,其50微秒是以2Mbps的紅外線收發器17經歷一「資料碼框」週期100個位元所求得;另外,在步驟408,其4微秒代表1個位元組的等待時間。茲舉一例子說明為何大小256KB的檔案可以在1.5秒內傳輸完畢:首先選用2Mbps的紅外線收發器17,且資料碼框之間相隔4個位元(bit),因此檔案傳輸時間為500(ns/bit)×100(bit/cycle)×(2M/80)(cycle)=1.31072s,換言之,在兩個主動式通訊裝置面對面的3秒內即可完成雙向的檔案傳輸,進而達成面對面的主動式通訊裝置特有的功效:“見面瞬間,實現思想的交流”。 In addition, in step 402 of FIG. 4, 50 microseconds is obtained by experiencing a "data frame" period of 100 bits by the 2 Mbps infrared transceiver 17; in addition, at step 408, 4 microseconds represents 1 Waiting time for each byte. Here is an example of why a 256KB file can be transferred in 1.5 seconds: first select 2Mbps infrared transceiver 17, and the data frame is separated by 4 bits, so the file transfer time is 500 (ns) /bit)×100(bit/cycle)×(2M/80)(cycle)=1.31072s, in other words, two-way file transfer can be completed within 3 seconds of two active communication devices face-to-face, thus achieving face-to-face initiative The unique function of the communication device: "Meet the instant and realize the exchange of ideas".

如圖6所示,如同一般行動通信的設計,該攜帶式電源供應器12包括:可重複充電的電池、降壓IC調降通用串列匯流排(USB)電壓來對電池充電、升壓IC將電池的電壓提升至裝置供電所需的電壓準位,並且可適時提供控制器IC 16低電量告警,以利控制器IC 16閃爍該紅指示燈142並關機。 As shown in FIG. 6, the portable power supply 12 includes a rechargeable battery, a step-down IC, a general-purpose serial bus (USB) voltage to charge the battery, and a boost IC, as in the design of a general mobile communication. The voltage of the battery is raised to the voltage level required for powering the device, and the controller IC 16 low battery alarm can be provided in time to facilitate the controller IC 16 to flash the red indicator 142 and shut down.

本發明面對面的主動式通訊裝置具備與電腦連接的USB埠;使用者可透過電腦平台的圖形化使用者介面11來管理快閃記憶體7內容,其管理方式包括:圖8的“系統資訊”查詢、圖9的“匯入檔案”、圖10的“讀回檔案”、圖11的“匯出檔案”、圖12的“清除資料”和圖13的“關閉”介面功能。 The face-to-face active communication device of the present invention has a USB port connected to the computer; the user can manage the content of the flash memory 7 through the graphical user interface 11 of the computer platform, and the management manner thereof includes: “System Information” of FIG. 8 The query, the "import file" of Fig. 9, the "read file" of Fig. 10, the "export file" of Fig. 11, the "clear data" of Fig. 12, and the "close" interface function of Fig. 13.

在商業場合,廣播功能可帶來多元的商機,由於該「您好碼框」的狀態資訊具有一個可被啟用的廣播功能,當該紅外線-記憶體處理者2經由該紅外線接收器4收到已啟用該廣播功能的該「您好碼框」時,處於該檔案接收模式之該任務管理者1會要求該記憶體-紅外線處理者3不傳送該「嗨碼框」,而且要求該紅外線-記憶體處理者2經由該紅外線接收器4接收該「資料碼框」所組成的檔案。 In commercial situations, the broadcast function can bring multiple business opportunities. Since the status information of the "hello code frame" has a broadcast function that can be enabled, when the infrared-memory processor 2 receives the infrared receiver 4 When the "hello code frame" of the broadcast function is enabled, the task manager 1 in the file receiving mode requests the memory-infrared processor 3 not to transmit the "weight box", and the infrared light is required - The memory processor 2 receives the file composed of the "data frame" via the infrared receiver 4.

綜上所述,本發明面對面的主動式通訊裝置提供使用者將擬公開分享的檔案預先儲存在該快閃記憶體7,並將該主動式通訊裝置配戴在身上,走在人群中,一旦該主動式通訊裝置與另一個人所配戴之主動式通訊裝置面對面時,即可透過該「您好碼框」及該「嗨碼框」自動與該另一個主動式通訊裝置建立連結進而交換分享各自預先錄製的檔案,且因兩個主動式通訊裝置面對面完成檔案交換分享過程僅需不到3秒的時間,所以可在該等主動式通訊裝置面對面的瞬間,快速完成檔案的相互分享,且該等配戴者不需進行任何交談,也不需要額外操作配對該主動式通訊裝置,即可在日常生活中主動地實現“見面瞬間,實現思想的交流”,更可經由該廣播功能創造商業交易機會,所以其協助社群發展的潛力不容忽視。因此,確實可達到本發明之目的。 In summary, the face-to-face active communication device of the present invention provides a user to pre-store the file to be publicly shared in the flash memory 7 and wear the active communication device on the body, and walk in the crowd once When the active communication device is face-to-face with the active communication device worn by another person, the "hello code frame" and the "weight frame" can be automatically connected with the other active communication device to exchange and share. Each of the pre-recorded files, and the two active communication devices face-to-face to complete the file exchange sharing process in less than 3 seconds, so that the active communication devices can be quickly shared by the face-to-face, and These wearers do not need to conduct any conversations, and do not need additional operations to pair the active communication devices, so that they can actively realize "meeting moments, realize the exchange of ideas" in daily life, and create commercials through the broadcast function. Trading opportunities, so the potential for helping the community develop cannot be ignored. Therefore, the object of the present invention can be achieved.

(1)‧‧‧任務管理者,TM (1) ‧‧‧Task Manager,TM

(2)‧‧‧紅外線-記憶體處理者,imH (2) ‧‧‧Infrared-memory processor, imH

(3)‧‧‧記憶體-紅外線處理者,miH (3)‧‧‧ Memory-infrared processor, miH

(4)‧‧‧紅外線接收器 (4)‧‧‧Infrared receiver

(5)‧‧‧紅外線發射器 (5)‧‧‧Infrared emitters

(6)‧‧‧記憶體管理者,MM (6) ‧‧‧ Memory Manager, MM

(7)‧‧‧快閃記憶體 (7)‧‧‧Flash memory

(8)‧‧‧電腦-記憶體處理者,umH (8)‧‧‧Computer-memory processor, umH

(9)‧‧‧記憶體-電腦處理者,muH (9)‧‧‧ Memory - computer processor, muH

(10)‧‧‧通用串列匯流排/通用非同步收發器(USB/UART)介面IC (10)‧‧‧Common Serial Bus/Universal Non-Synchronous Transceiver (USB/UART) Interface IC

(11)‧‧‧電腦之圖形化使用者介面,GUI (11) ‧‧‧Computerized graphical user interface, GUI

(12)‧‧‧攜帶式電源供應器 (12)‧‧‧Portable power supply

(13)‧‧‧復位開關 (13)‧‧‧Reset switch

(141)‧‧‧綠色指示燈 (141)‧‧‧Green indicator light

(142)‧‧‧紅色指示燈 (142)‧‧‧Red indicator light

(16)‧‧‧控制器IC (16)‧‧‧Controller IC

(17)‧‧‧紅外線收發器 (17)‧‧‧Infrared transceivers

301-311‧‧‧步驟 301-311‧‧‧Steps

401-415‧‧‧步驟 401-415‧‧‧Steps

501-513‧‧‧步驟 501-513‧‧‧Steps

圖1:本發明面對面的主動式通訊裝置的軟、硬體架構。 Figure 1: The hardware and software architecture of the face-to-face active communication device of the present invention.

圖2:本發明面對面的主動式通訊裝置之硬體方塊圖。 Figure 2 is a hardware block diagram of the face-to-face active communication device of the present invention.

圖3:任務管理者(TM)執行的程序。 Figure 3: Program executed by the Task Manager (TM).

圖4:紅外線檔案傳送程序。 Figure 4: Infrared file transfer program.

圖5:紅外線檔案接收程序。 Figure 5: Infrared file receiving program.

圖6:低電量告警處理程序。 Figure 6: Low battery alarm handler.

圖7:電腦平台管理面對面的主動式通訊裝置之快閃記憶體的圖形化使用者介面(GUI)。 Figure 7: The computer platform manages the graphical user interface (GUI) of the flash memory of the face-to-face active communication device.

圖8:啟用圖形化使用者介面所執行的系統資訊查詢程序。 Figure 8: System information query procedure executed by the graphical user interface.

圖9:匯入檔案的程序。 Figure 9: Procedure for importing files.

圖10:讀回檔案的程序。 Figure 10: Program for reading back files.

圖11:匯出檔案的程序。 Figure 11: The procedure for exporting files.

圖12:清除資料的程序。 Figure 12: Program for clearing data.

圖13:關閉圖形化使用者介面的程序。 Figure 13: Program to close the graphical user interface.

圖14:本發明面對面的主動式通訊裝置進行紅外線傳輸所使用的3種碼框。 Figure 14: Three code frames used in the infrared transmission of the face-to-face active communication device of the present invention.

(1)‧‧‧任務管理者,TM (1) ‧‧‧Task Manager,TM

(2)‧‧‧紅外線-記憶體處理者,imH (2) ‧‧‧Infrared-memory processor, imH

(3)‧‧‧記憶體-紅外線處理者,miH (3)‧‧‧ Memory-infrared processor, miH

(4)‧‧‧紅外線接收器 (4)‧‧‧Infrared receiver

(5)‧‧‧紅外線發射器 (5)‧‧‧Infrared emitters

(6)‧‧‧記憶體管理者,MM (6) ‧‧‧ Memory Manager, MM

(7).‧‧‧快閃記憶體 (7).‧‧‧Flash memory

(8)‧‧‧電腦-記憶體處理者,umH (8)‧‧‧Computer-memory processor, umH

(9)‧‧‧記憶體-電腦處理者,muH (9)‧‧‧ Memory - computer processor, muH

(10)‧‧‧通用串列匯流排/通用非同步收發器(USB/UART)介面IC (10)‧‧‧Common Serial Bus/Universal Non-Synchronous Transceiver (USB/UART) Interface IC

(11)‧‧‧電腦之圖形化使用者介面,GUI (11) ‧‧‧Computerized graphical user interface, GUI

(12)‧‧‧攜帶式電源供應器 (12)‧‧‧Portable power supply

(13)‧‧‧復位開關 (13)‧‧‧Reset switch

(141)‧‧‧綠色指示燈 (141)‧‧‧Green indicator light

(142)‧‧‧紅色指示燈 (142)‧‧‧Red indicator light

Claims (7)

一種面對面的主動式通訊裝置,可被一位使用者攜帶移動,並可在與另一個主動式通訊裝置面對面時,主動與該另一個主動式通訊裝置相互分享預先錄製的檔案,該面對面的主動式通訊裝置包含:一個紅外線收發器、一個訊號連接於該紅外線收發器的控制器IC、一個訊號連接於該控制器IC且可儲存該檔案的快閃記憶體,該控制器IC包括一個任務管理者、一個紅外線-記憶體處理者、一個記憶體-紅外線處理者,及一個用以讀寫該快閃記憶體的記憶體管理者,其中:啟動該面對面的主動式通訊裝置後,該任務管理者會循環執行一個檔案接收模式和一個檔案傳送模式,當該任務管理者執行該檔案接收模式時,將啟用該紅外線-記憶體處理者,使該紅外線-記憶體處理者經由該紅外線收發器接收來自該另一個主動式通訊裝置所傳送的檔案,並將收到之該檔案經由該記憶體管理者儲存在該快閃記憶體;當成功接收該檔案或特定時間已過,該任務管理者執行該檔案傳送模式,即啟用該記憶體-紅外線處理者,使該記憶體-紅外線處理者透過該記憶體管理者從該快閃記憶體中讀取該預先錄製的檔案,然後經由該紅外線收發器傳送該檔案,完成後,該任務管理者再次循環執行該檔案接收模式。 A face-to-face active communication device that can be carried by a user and actively shares pre-recorded files with the other active communication device when face-to-face with another active communication device, the face-to-face initiative The communication device comprises: an infrared transceiver, a controller IC connected to the infrared transceiver, a flash memory connected to the controller IC and capable of storing the file, the controller IC including a task management , an infrared-memory processor, a memory-infrared processor, and a memory manager for reading and writing the flash memory, wherein: after the face-to-face active communication device is activated, the task management The user will cyclically execute a file receiving mode and a file transfer mode. When the task manager executes the file receiving mode, the infrared-memory processor is enabled to receive the infrared-memory processor via the infrared transceiver. From the file transmitted by the other active communication device, and the received file is received via the file The memory manager is stored in the flash memory; when the file is successfully received or the specific time has elapsed, the task manager executes the file transfer mode, that is, the memory-infrared processor is enabled to make the memory-infrared The processor reads the pre-recorded file from the flash memory through the memory manager, and then transmits the file via the infrared transceiver. After the completion, the task manager loops through the file receiving mode again. 如請求項1所述之面對面的主動式通訊裝置,其中,紅外線傳輸使用三種碼框:一個「您好碼框」、一個「嗨碼框」,及一個「資料碼框」,當該任務管理者執行該檔案接收模式時,會於該紅外線-記憶體處理者收到來自該另一個主動式通訊裝置傳送之該「您好碼框」時,要求該記憶體-紅外線處理者經由該紅外線收發器傳送該「嗨碼框」,來與該另一個主動式通訊裝置建立連結,並於該記憶體-紅外線處理者回報已傳送該「嗨碼框」時,切換啟動該紅外線-記憶體處理者經由該紅外線收發器接收來自該另一個主動式通訊裝置傳送之該「資料碼框」所組成的檔案,並將該接收的檔案經由該記憶體管理者寫入該快閃 記憶體。 The face-to-face active communication device of claim 1, wherein the infrared transmission uses three code frames: a "hello code frame", a "weight code frame", and a "data code frame" when the task management When the file receiving mode is executed, when the infrared-memory processor receives the "hello code frame" transmitted from the other active communication device, the memory-infrared processor is required to transmit and receive via the infrared light. Transmitting the "weight box" to establish a connection with the other active communication device, and switching the activation of the infrared-memory processor when the memory-infrared processor returns that the "weight box" has been transmitted Receiving, by the infrared transceiver, a file composed of the "data frame" transmitted from the other active communication device, and writing the received file to the flash via the memory manager Memory. 如請求項2所述之面對面的主動式通訊裝置,其中,當該任務管理者切換執行該檔案傳送模式,會要求該記憶體-紅外線處理者經由該紅外線收發器傳送該「您好碼框」,且該任務管理者會於該記憶體-紅外線處理者回報已傳送該「您好碼框」後,切換啟動該紅外線-記憶體處理者經由該紅外線收發器接收來自該另一個主動式通訊裝置傳送的該「嗨碼框」,並在收到該「嗨碼框」時,與該另一個主動式通訊裝置建立連結,並切換驅使該記憶體-紅外線處理者經由該記憶體管理者讀取該快閃記憶體中預先錄製的檔案,然後透過該紅外線收發器以「資料碼框」傳送該檔案。 The face-to-face active communication device of claim 2, wherein when the task manager switches to execute the file transfer mode, the memory-infrared processor is required to transmit the "hello code frame" via the infrared transceiver. And the task manager switches to enable the infrared-memory processor to receive the other active communication device via the infrared transceiver after the memory-infrared processor returns that the "hello code frame" has been transmitted. Transmitting the "weight box" and, when receiving the "weight box", establishing a connection with the other active communication device, and switching to drive the memory-infrared processor to read via the memory manager The pre-recorded file in the flash memory is then transmitted through the infrared transceiver in a "data frame". 如請求項3所述之面對面的主動式通訊裝置,還包含一個訊號連接於該任務管理者之復位開關,該任務管理者可被該復位開關一次性按壓觸發而中斷執行中的該檔案接收模式,並切換執行該檔案傳送模式。 The face-to-face active communication device according to claim 3, further comprising a reset switch connected to the task manager, wherein the task manager can be triggered by the reset switch to interrupt the executed file receiving mode. And switch to execute the file transfer mode. 如請求項2或3所述之面對面的主動式通訊裝置,還包含一個訊號連接於該控制器IC的綠色指示燈,該任務管理者會在該記憶體-紅外線處理者經由該紅外線收發器完成傳送該檔案,或該紅外線-記憶體處理者經由該紅外線收發器完成接收來自該另一個主動式通訊裝置傳送的檔案時,驅使該綠色指示燈閃爍。 The face-to-face active communication device according to claim 2 or 3, further comprising a green indicator light connected to the controller IC, the task manager completing the memory-infrared processor via the infrared transceiver The green light is blinked when the file is transmitted, or when the infrared-memory processor finishes receiving the file transmitted from the other active communication device via the infrared transceiver. 如請求項2所述之面對面的主動式通訊裝置,其中,該「您好碼框」包括一個裝置識別碼,該紅外線-記憶體處理者會記錄所收到之該「您好碼框」的該裝置識別碼,該任務管理者會在該紅外線-記憶體處理者連續重複收到特定次數具有相同之該裝置識別碼的該「您好碼框」時,重新執行該檔案接收模式。 The face-to-face active communication device of claim 2, wherein the "hello code frame" includes a device identification code, and the infrared-memory processor records the received "hello code frame" The device identification code, the task manager re-executing the file receiving mode when the infrared-memory processor continuously repeats receiving the "hello code frame" having the same device identification code for a certain number of times. 如請求項2所述之面對面的主動式通訊裝置,其中,該「您好碼框」的狀態資訊具有一個可被啟用的廣播功能,當該紅外線-記憶體處理者經由該紅外線收發器收到已啟用該廣播功能的該「您好碼框」時,處於該檔案接收模式之該任務管理者會要求該記憶體-紅外線處理者不傳送該「嗨碼框」,而且要求該紅外 線-記憶體處理者經由該紅外線收發器接收該「資料碼框」所組成的檔案。 The face-to-face active communication device of claim 2, wherein the "hello code frame" status information has a broadcast function that can be enabled, when the infrared-memory processor receives the infrared transceiver When the "hello code frame" of the broadcast function is enabled, the task manager in the file receiving mode requests the memory-infrared processor not to transmit the "weight box", and the infrared is required. The line-memory processor receives the file formed by the "data frame" via the infrared transceiver.
TW101137178A 2012-10-09 2012-10-09 Active transceiver of face to face TWI547809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101137178A TWI547809B (en) 2012-10-09 2012-10-09 Active transceiver of face to face

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101137178A TWI547809B (en) 2012-10-09 2012-10-09 Active transceiver of face to face

Publications (2)

Publication Number Publication Date
TW201415243A TW201415243A (en) 2014-04-16
TWI547809B true TWI547809B (en) 2016-09-01

Family

ID=55182041

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101137178A TWI547809B (en) 2012-10-09 2012-10-09 Active transceiver of face to face

Country Status (1)

Country Link
TW (1) TWI547809B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010027442A1 (en) * 1997-10-20 2001-10-04 Krahn James E. Apparatus for importing and exporting partially encrypted configuration data
TW533368B (en) * 2000-05-30 2003-05-21 Inventec Besta Co Ltd Method and device to quickly exchange the electronic visiting card
US7486046B2 (en) * 2005-05-18 2009-02-03 Ite Tech., Inc. Buck/boost power converter for an electronic apparatus, method thereof and system incorporating the same
US20120140673A1 (en) * 2009-09-02 2012-06-07 Fujitsu Limited Inter-frame gap controller, traffic transmitter, transmission apparatus and inter-frame gap control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010027442A1 (en) * 1997-10-20 2001-10-04 Krahn James E. Apparatus for importing and exporting partially encrypted configuration data
TW533368B (en) * 2000-05-30 2003-05-21 Inventec Besta Co Ltd Method and device to quickly exchange the electronic visiting card
US7486046B2 (en) * 2005-05-18 2009-02-03 Ite Tech., Inc. Buck/boost power converter for an electronic apparatus, method thereof and system incorporating the same
US20120140673A1 (en) * 2009-09-02 2012-06-07 Fujitsu Limited Inter-frame gap controller, traffic transmitter, transmission apparatus and inter-frame gap control method

Also Published As

Publication number Publication date
TW201415243A (en) 2014-04-16

Similar Documents

Publication Publication Date Title
US7579809B2 (en) Rechargeable wireless adapters
TWI630486B (en) Charging method, mobile terminal, and charging device
US6922788B2 (en) Low power access to a computing unit from an external source
TWM487568U (en) Portable memory power bank
TW200821847A (en) Peripheral sharing USB hub for a wireless host
US9537535B2 (en) Multi-radio wireless flash drive using NFC
KR20110049121A (en) Method and apparatus for activating device
TWM523155U (en) Wireless barcode scanning device and system having the same
WO2011120329A1 (en) Computer and method to realize the coupling between computers
CN104053028A (en) Techniques for multimedia playback
TWI547809B (en) Active transceiver of face to face
CN204836407U (en) Video monitoring and wireless transmission device based on 4G and embedded technology
CN102884843B (en) Wireless Personal Network (PAN) coordinator of economize on electricity is realized by enlivening the conversion between sleep state
TWI510933B (en) Method for remotely accessing data and local apparatus using the method
WO2013177827A1 (en) Flash drive and removable hard disk
CN103823767B (en) Encrypted mobile hard disk drive case with portable power source
CN2884752Y (en) Cell phone fittings having functions of data backup, restoring and charing
CN105323516B (en) Optical projection system and method for controlling projection
CN207817814U (en) A kind of near-infrared Intelligent human-face identification gate control system
WO2017016247A1 (en) Data storage and synchronization apparatus, and wearable device
CN109582374A (en) A kind of electronic equipment sleep control method, system and electronic equipment and storage medium
CN201251782Y (en) Medium storage device with self-destruction
CN204318739U (en) Family health care handle machine people
CN103340611B (en) Transfer monitor provided
CN206711076U (en) A kind of computer hard disk data Quick recovery device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees