TW201432575A - Method of using two-dimensional bar code for data exchange - Google Patents
Method of using two-dimensional bar code for data exchange Download PDFInfo
- Publication number
- TW201432575A TW201432575A TW102104905A TW102104905A TW201432575A TW 201432575 A TW201432575 A TW 201432575A TW 102104905 A TW102104905 A TW 102104905A TW 102104905 A TW102104905 A TW 102104905A TW 201432575 A TW201432575 A TW 201432575A
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- dimensional barcode
- exchanging data
- dimensional
- exchanging
- Prior art date
Links
Landscapes
- Telephone Function (AREA)
Abstract
Description
本發明係與資料交換有關,更詳而言之是指一種利用二維條碼進行資料交換之方法。 The present invention relates to data exchange, and more particularly to a method of exchanging data using a two-dimensional barcode.
資料傳輸在現代人的生活中已廣為使用,特別是無線的資料傳輸方式,可大幅地改善使用者使用有線傳輸時,受線材纏繞及攜帶傳輸線材之困擾。 Data transmission has been widely used in modern people's lives, especially wireless data transmission methods, which can greatly improve the user's use of wired transmission, which is plagued by wire entanglement and carrying transmission wires.
然而,在智慧型手機普遍之情況下,使用智慧型手機進行資料之傳輸亦是相當普遍之行為,但資料若未經任何形式之變更,例如圖片資料之傳送,若未進行傳送格式之轉換很容易讓其他位於附近之人看到所傳送之圖片,進而讓使用者覺得隱私權受損,實為使用上之不便。 However, in the general case of smart phones, the use of smart phones for data transmission is quite common. However, if the data is not changed in any way, such as the transmission of image data, if the transfer format is not converted, It is easy for other people nearby to see the pictures transmitted, which makes the user feel that the privacy is damaged, which is inconvenient to use.
而當應用無線傳輸方式進行資料交換時,於現今智慧型手機之無線傳輸交換方式,無法達成資料進行交換後,原資料來源處須確實將資料刪除,而造成希望得到交換後資料之使用者之不便,因大部份進行資料交換之使用者,會希望自己會是唯一可使用此筆資料之人,因此,進行資料交換傳遞時,如何確保資料確實地被交換,以維持資料交換的一次性(即交換出去的資料,已確實由原來源處刪除,不可再有機會將該資料與他人交換),也是必須考慮之創作方向。 When the wireless transmission method is used for data exchange, after the wireless transmission exchange method of the smart mobile phone cannot be exchanged, the original data source must delete the data and cause the user who wants to exchange the data. Inconvenience, because most users who exchange data will hope that they will be the only ones who can use this information. Therefore, when data exchange is carried out, how to ensure that the information is actually exchanged to maintain the one-off exchange of data. (That is, the information exchanged has been deleted from the original source, and there is no longer a chance to exchange the information with others). It is also the creative direction that must be considered.
有鑑於此,本發明之主要目的在於提供一種利用二維條碼進行資料交換之方法,透過無線傳輸並加以二維條碼方式進行資料傳送,可避免資料於傳遞過程中被其他方所接收並應用,並且所交換之資料會確實於原資料來源處刪除,亦可維持資料交換的一次性。 In view of this, the main object of the present invention is to provide a method for exchanging data by using a two-dimensional bar code, and transmitting data through wireless transmission and two-dimensional bar code mode, thereby avoiding data being received and applied by other parties during the transmission process. And the information exchanged will be deleted from the original source of information, and the data exchange can be maintained at one time.
緣以達成上述目的,本發明所提供利用二維條碼進行資料交換之方法用以使一第一裝置與一第二裝置進行資料交換,且該第一裝置儲存有一第一資料,而該第二裝置儲存有一第二資料;該資料交換用以供該第一裝置執行,且包含有下列步驟:A.將該第一資料編譯成一第一二維條碼;B.輸出該第一二維條碼;C.偵測該第二裝置是否輸出一第二二維條碼;若否,則繼續執行步驟C;若是,則擷取該第二二維條碼;D.解譯該第二二維條碼,並取得該第二資料;E.儲存該第二資料,並刪除該第一資料。 In order to achieve the above object, the present invention provides a method for exchanging data by using a two-dimensional barcode for data exchange between a first device and a second device, and the first device stores a first data, and the second device The device stores a second data; the data exchange is performed by the first device, and includes the following steps: A. compiling the first data into a first two-dimensional barcode; B. outputting the first two-dimensional barcode; C. detecting whether the second device outputs a second two-dimensional barcode; if not, proceeding to step C; if yes, capturing the second two-dimensional barcode; D. interpreting the second two-dimensional barcode, and Obtaining the second data; E. storing the second data and deleting the first data.
藉此,透過上述設計,便可有效地提供無線傳輸的優點,且亦可避免無線訊號的產生,更可維持資料交換的一次性。 Thereby, through the above design, the advantages of wireless transmission can be effectively provided, and the generation of wireless signals can be avoided, and the one-off of data exchange can be maintained.
為能更清楚地說明本發明,茲舉較佳實施例並配合圖示詳 細說明如後。 In order to more clearly illustrate the invention, the preferred embodiment Detailed description is as follows.
本發明利用二維條碼進行資料交換之方法主要適用於一第一裝置與一第二裝置之間的資料交換,請參閱圖1,本發明較佳實施例中的該第一裝置10與該第二裝置20皆為一智慧型手機,並分別載有一程式可編譯及解譯二維條碼,且該第一裝置10儲存有一第一資料,而該第二裝置20儲存有一第二資料。本實施例中,係先將該第一裝置10與該第二裝置20相對放置(即螢幕12朝向螢幕22),以下則以該第一裝置10為例進行說明,於本實施例中第二裝置20會以相同方式進行操作,因此則以第一裝置10進行實施例說明,但實際上,本發明之資料交換方法可用來分別供裝置10、20執行,請一併參照圖2流程圖所示,且該方法包含有下列步驟: The method for exchanging data by using a two-dimensional barcode is mainly applicable to data exchange between a first device and a second device. Referring to FIG. 1, the first device 10 and the first embodiment in the preferred embodiment of the present invention The second device 20 is a smart phone and each has a program for compiling and interpreting the two-dimensional bar code, and the first device 10 stores a first data, and the second device 20 stores a second data. In this embodiment, the first device 10 is placed opposite to the second device 20 (ie, the screen 12 faces the screen 22). The following uses the first device 10 as an example. In this embodiment, the second device is used as an example. The device 20 is operated in the same manner, so the first device 10 is used for the embodiment, but in fact, the data exchange method of the present invention can be used for the devices 10 and 20 respectively. Please refer to the flowchart of FIG. 2 together. And the method includes the following steps:
A.利用該程式將該第一資料編譯成一第一二維條碼。 A. Using the program to compile the first data into a first two-dimensional barcode.
於本實施例中,所述之二維條碼是以快速反應碼(Quick Response Code,QR Code)為例。當然,在實際實施上,除使用快速反應碼外,亦可使用漢信碼、PDF417碼等二維條碼代替。 In the embodiment, the two-dimensional barcode is an example of a Quick Response Code (QR Code). Of course, in actual implementation, in addition to using the fast response code, a two-dimensional barcode such as a Hanxin code or a PDF417 code can be used instead.
B.請參閱圖3,輸出該第一二維條碼於其螢幕12上顯示。 B. Referring to FIG. 3, the first two-dimensional barcode is outputted on its screen 12.
C.偵測該第二裝置20是否輸出一第二二維條碼。 C. Detecting whether the second device 20 outputs a second two-dimensional barcode.
若否,則繼續執行步驟C;若是,則擷取該第二二維條碼;於本實施例中,該第一裝置10係透過其前攝影鏡頭14偵 測該第二裝置20之螢幕22上是否顯示有該第二二維條碼,若該螢幕22顯示有該第二二維條碼,則利用該前攝影鏡頭14擷取該第二二維條碼之影像。 If no, proceed to step C; if yes, the second two-dimensional barcode is captured; in this embodiment, the first device 10 is Detected through the front photographic lens 14 Detecting whether the second two-dimensional barcode is displayed on the screen 22 of the second device 20, and if the second two-dimensional barcode is displayed on the screen 22, capturing the image of the second two-dimensional barcode by using the front photographic lens 14 .
D.利用該程式解譯步驟C所擷取到的該第二二維條碼,以取得該第二資料。 D. Using the program to interpret the second two-dimensional barcode captured in step C to obtain the second data.
E.儲存該第二資料,並刪除該第一資料。 E. Store the second data and delete the first data.
如此一來,透過前述利用二維條碼交換資料的方式,於資料傳遞的過程中,當資料交換出去,並取得對方資料後,即將原先之資料刪除,藉以達到確保資料一次性之目的。綜上所述,第一裝置10在進行相關資料交換之動作時,第二裝置20亦進行對等相呼應之作動,藉由上述步驟亦可得知第二裝置20之資料經資料交換後,亦會將原先之資料刪除,一樣仍需保有資料一次性之目的。 In this way, through the foregoing method of exchanging data by using the two-dimensional bar code, in the process of data transmission, when the data is exchanged and the other party's data is obtained, the original data is deleted, so as to achieve the purpose of ensuring the data is one-off. In summary, when the first device 10 performs the related data exchange operation, the second device 20 also performs the peer-to-peer response, and the above steps can also be used to learn that the data of the second device 20 is exchanged after the data is exchanged. The original information will also be deleted, and the same purpose is still required for the one-off purpose.
另外,除上述方法外,請參閱圖4,為本發明第二較佳實施例之利用二維條碼進行資料交換之方法,於本實施例中,同樣是以該第一裝置10為例進行說明,且該第一裝置10的螢幕12上如圖5所示,區分有一資料顯示區121以及一狀態顯示區122,而該方法包含有下列步驟: In addition, in addition to the above method, please refer to FIG. 4, which is a method for exchanging data by using a two-dimensional barcode according to a second preferred embodiment of the present invention. In this embodiment, the first device 10 is also taken as an example for description. And the screen 12 of the first device 10 is divided into a data display area 121 and a status display area 122 as shown in FIG. 5, and the method includes the following steps:
A.利用該程式將該第一資料編譯成一第一二維條碼。 A. Using the program to compile the first data into a first two-dimensional barcode.
B.請參閱圖5,輸出該第一二維條碼於其螢幕12之資料顯示區121上顯示。 B. Referring to FIG. 5, the first two-dimensional barcode is outputted on the data display area 121 of the screen 12.
C.偵測該第二裝置20是否輸出一第二二維條碼。 C. Detecting whether the second device 20 outputs a second two-dimensional barcode.
若否,則繼續執行步驟C;若是,則擷取該第二二維條碼,並偵測該第二裝置20是否已於一預定時間內擷取該第一二維條碼;若否,則刪除該第二二維條碼,並重新執行步驟C。 If not, proceeding to step C; if yes, capturing the second two-dimensional barcode and detecting whether the second device 20 has captured the first two-dimensional barcode within a predetermined time; if not, deleting The second two-dimensional barcode is re-executed in step C.
若是,則往下一步驟繼續執行。 If yes, proceed to the next step.
於本實施例中,該第一裝置10擷取到該第二二維條碼後,則如圖5所示,於該螢幕12之狀態顯示區122顯示一組二維條碼,且該二維條碼中存有用以告知對方已接收到資料的第一通知訊息。是以,於本步驟中,該第一裝置10係偵測該第二裝置20之狀態顯示區上,於一預定時間內是否顯示有一組具有用以告知對方已接收到資料的第二通知訊息之二維條碼。若是,則繼續執行下一步驟。若否,則刪除該第二二維條碼,並重新執行步驟C。 In this embodiment, after the first device 10 captures the second two-dimensional barcode, as shown in FIG. 5, the state display area 122 of the screen 12 displays a set of two-dimensional barcodes, and the two-dimensional barcode A first notification message is provided to inform the other party that the data has been received. Therefore, in the step of detecting, the first device 10 detects whether a second notification message has been displayed on the status display area of the second device 20 to notify the other party that the data has been received within a predetermined time. The 2D barcode. If yes, proceed to the next step. If not, the second two-dimensional barcode is deleted, and step C is re-executed.
D.利用該程式解譯步驟C所擷取到的該第二二維條碼,以取得該第二資料後,並確認有該第二資料是否為自己需要的資料;若否,則刪除該第二資料,並重新執行步驟C。 D. Using the program to interpret the second two-dimensional barcode captured in step C to obtain the second data, and confirm whether the second data is the data that is needed by itself; if not, delete the first Second, and re-execute step C.
若是,則偵測該第一資料是否為該第二裝置20所需要的資料;若否,則刪除該第二資料,並重新執行步驟C。 If yes, it is detected whether the first data is the data required by the second device 20; if not, the second data is deleted, and step C is re-executed.
若是,則往下一步驟繼續執行。 If yes, proceed to the next step.
於本實施例中,當該第一裝置10確認該第二資料為所需 要的資料時,其螢幕12之狀態顯示區122則顯示另一組二維條碼,且前述二維條碼中存有用以告知對方資料已確認的第一確認訊息。是以,於本步驟中,該第一裝置10係偵測該第二裝置20之狀態顯示區上,於一預定時間內是否顯示有一組具有用以告知對方資料已確認的第二確認訊之二維條碼。若是,則繼續執行下一步驟。若否,則刪除該第二資料,並重新執行步驟C。此外,於本實施例中,第一裝置10在偵測第二裝置20之狀態顯示區時,第二裝置20亦同時間在偵測第一裝置10是否有顯示一用以告知對方資料已確認的第一確認訊之二維條碼,必須要二裝置皆確認後,此資料交換之程序才會完整進行,只要有一方無顯示確認之二維條碼時,則此次資料交換就不成立,雙方資料就不會進行交換,以確保資料交換之正確性。 In this embodiment, when the first device 10 confirms that the second data is required When the desired data is displayed, the status display area 122 of the screen 12 displays another set of two-dimensional barcodes, and the first two-dimensional barcodes have a first confirmation message for indicating that the other party's data has been confirmed. Therefore, in this step, the first device 10 detects whether a second confirmation message indicating that the other party's data has been confirmed is displayed within a predetermined time zone of the second device 20. QR code. If yes, proceed to the next step. If not, delete the second data and perform step C again. In addition, in the embodiment, when the first device 10 detects the status display area of the second device 20, the second device 20 also detects whether the first device 10 has a display to notify the other party that the data has been confirmed. The 2D barcode of the first confirmation message must be confirmed after the second device is confirmed. If there is no 2D barcode confirmed by one party, the data exchange will not be established. There will be no exchange to ensure the correctness of the data exchange.
E.儲存該第二資料,並刪除該第一資料。 E. Store the second data and delete the first data.
再者,透過第二較佳實施例所述之利用二維條碼交換資料的方式,除具有第一較佳實施例之優點外,在資料交換過程中,若該第一裝置10及該第二裝置20被位移錯開,而無法獲取對方之該第一二維條碼或該第二二維條碼時,亦不會有資料交換錯誤的情形產生。 Furthermore, in addition to the advantages of the first preferred embodiment, in the data exchange process, the first device 10 and the second device are used in the data exchange process according to the second preferred embodiment. When the device 20 is displaced by the displacement, and the first two-dimensional barcode or the second two-dimensional barcode cannot be acquired, there is no data exchange error.
另外,本發明第二較佳實施例除使用二維條碼做為訊息通之外,亦以圖型化之方式來表示前述之各種訊息。舉例而言,請參閱圖6所示,該第一裝置10可於其螢幕12之狀態顯示區122上顯示一個圖形來表示告知對方已接收到資料的第一通知 訊息,而後,額外再顯示一圖形(即表示螢幕上具有兩個圖形),來表示告知對方資料已確認的第一確認訊息。當然,實際實施上,亦可選用不同圖形或不同數量之圖式來表示欲告知之訊息,來達到相同之目的。 In addition, the second preferred embodiment of the present invention not only uses the two-dimensional barcode as the message communication, but also graphically represents the various messages described above. For example, referring to FIG. 6, the first device 10 can display a graphic on the status display area 122 of the screen 12 to indicate that the other party has received the first notification of the data. The message is then displayed with an additional graphic (ie, two graphics on the screen) to indicate the first confirmation message that the other party's data has been confirmed. Of course, in actual implementation, different graphics or different numbers of graphics can be used to indicate the message to be notified to achieve the same purpose.
另外,以上所述僅為本發明較佳可行實施例而已,舉凡應用本發明說明書及申請專利範圍所為等效方法之變化,理應包含在本發明之專利範圍內。 In addition, the above description is only a preferred embodiment of the present invention, and variations of the equivalent methods of the present invention and the scope of the patent application are intended to be included in the scope of the present invention.
10‧‧‧第一裝置 10‧‧‧ first device
12‧‧‧螢幕 12‧‧‧ screen
121‧‧‧資料顯示區 121‧‧‧Information display area
122‧‧‧狀態顯示區 122‧‧‧Status display area
14‧‧‧前攝影鏡頭 14‧‧‧Front camera lens
20‧‧‧第二裝置 20‧‧‧second device
22‧‧‧螢幕 22‧‧‧ screen
圖1為可使用本發明交換資料方法之硬體設備圖圖2為本發明第一較佳實施例之流程圖;圖3揭示顯示編譯後之二維條碼於螢幕上;圖4為本發明第二較佳實施例之流程圖;圖5揭示利用二維條碼來顯示當下狀態;圖6揭示利用圖形來顯示當下狀態。 1 is a hardware device diagram of a method for exchanging data using the present invention. FIG. 2 is a flow chart of a first preferred embodiment of the present invention; FIG. 3 is a view showing a compiled two-dimensional barcode on a screen; A flow chart of a second preferred embodiment; FIG. 5 discloses the use of a two-dimensional bar code to display the current state; FIG. 6 discloses the use of a graphic to display the current state.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102104905A TWI559230B (en) | 2013-02-07 | 2013-02-07 | Method of exchanging data using two - dimensional bar code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102104905A TWI559230B (en) | 2013-02-07 | 2013-02-07 | Method of exchanging data using two - dimensional bar code |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201432575A true TW201432575A (en) | 2014-08-16 |
TWI559230B TWI559230B (en) | 2016-11-21 |
Family
ID=51797433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102104905A TWI559230B (en) | 2013-02-07 | 2013-02-07 | Method of exchanging data using two - dimensional bar code |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI559230B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI651618B (en) * | 2016-12-22 | 2019-02-21 | 國立中正大學 | Two-way wireless transmission system using two-dimensional barcode |
TWI703851B (en) | 2019-07-30 | 2020-09-01 | 華東科技股份有限公司 | Peer device connection method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200424949A (en) * | 2003-05-08 | 2004-11-16 | Hui Lin | Automatic filing management method using barcode to scan name card data and apparatus thereof |
CN1523531A (en) * | 2003-09-09 | 2004-08-25 | 山 毛 | Two-dimensional bar code name card and universal pick-up head reading management method |
-
2013
- 2013-02-07 TW TW102104905A patent/TWI559230B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
TWI559230B (en) | 2016-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103189864B (en) | For determining the method for shared good friend of individual, equipment and computer program | |
CN113419696B (en) | Electronic device and method of operating the same | |
US9277391B2 (en) | Pairing method between bluetooth devices and bluetooth system using the same | |
US11106420B2 (en) | Method, device, system and storage medium for information transmission and data processing | |
CN106055300B (en) | Method for controlling sound output and electronic device thereof | |
EP3086539A1 (en) | Method and device for deleting smart scene | |
US20170359456A1 (en) | Communication system comprising head wearable devices | |
RU2011113671A (en) | MOBILE DEVICE, METHOD AND SYSTEM FOR PAYMENT OPERATIONS | |
WO2014166228A1 (en) | Apparatus, server, and calling method based on cloud address book | |
KR20150051640A (en) | Method and apparatus for checking status of message in a electronic device | |
EP3160110A1 (en) | File transmission method and apparatus, terminal, wearable device and storage medium | |
CN104318428B (en) | The method and apparatus for realizing secured mobile payment | |
JP2015231156A5 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
KR20150032152A (en) | Method and apparatus for performing edit operations between electronic devices | |
KR101690656B1 (en) | Method and apparatus for generating media signal | |
TWI559230B (en) | Method of exchanging data using two - dimensional bar code | |
WO2015184754A1 (en) | Mobile terminal and method for exchanging calling cards between mobile terminals | |
CN105611341B (en) | A kind of method, apparatus and system for transmitting image | |
KR20160022645A (en) | Method for transmitting data and electronic device thereof | |
KR102131018B1 (en) | Method for processing received message and electronic device implementing the same | |
CN107172718B (en) | Information processing method and electronic equipment | |
KR102299262B1 (en) | Mehod for providing content in terminal and terminal thereof | |
JP6026703B2 (en) | Router access control method, apparatus, router, program, and recording medium | |
TWI579757B (en) | Communication terminal, display control method and program | |
WO2018072463A1 (en) | Information sharing method, apparatus, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |