TWI644269B - Method for connecting peripheral device of webpage POS system - Google Patents

Method for connecting peripheral device of webpage POS system Download PDF

Info

Publication number
TWI644269B
TWI644269B TW106117911A TW106117911A TWI644269B TW I644269 B TWI644269 B TW I644269B TW 106117911 A TW106117911 A TW 106117911A TW 106117911 A TW106117911 A TW 106117911A TW I644269 B TWI644269 B TW I644269B
Authority
TW
Taiwan
Prior art keywords
peripheral device
pos system
web
browser
message
Prior art date
Application number
TW106117911A
Other languages
Chinese (zh)
Other versions
TW201903664A (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 TW106117911A priority Critical patent/TWI644269B/en
Priority to JP2017163194A priority patent/JP2018206330A/en
Priority to CN201711033367.3A priority patent/CN108984314A/en
Priority to CN201721417364.5U priority patent/CN207503205U/en
Application granted granted Critical
Publication of TWI644269B publication Critical patent/TWI644269B/en
Publication of TW201903664A publication Critical patent/TW201903664A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/202Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0009Details of the software in the checkout register, electronic cash register [ECR] or point of sale terminal [POS]
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0018Constructional details, e.g. of drawer, printing means, input means
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer And Data Communications (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本發明係提供一種網頁POS(英文為Point of Sale,英文簡稱POS)系統、或是智慧營銷系統(英文為smart retailer)連接週邊裝置的方法,藉由設置一個運行在作業系統的服務軟體,讓瀏覽器能在內部以符合WebSocket協定的通訊方式,將相關的控制指令傳給該服務軟體,該服務軟體重組控制指令後,透過週邊裝置對應的連接介面連接控制週邊裝置,使得任何裝置都可使用瀏覽器執行網頁POS系統並操控各種週邊裝置,大大的增加了網頁POS系統應用的方便性。 The present invention provides a method for connecting a peripheral device with a web page POS (English Point of Sale, POS for short) system or a smart marketing system (English smart retailer). By setting up a service software running on an operating system, The browser can internally transmit relevant control instructions to the service software in a communication method conforming to the WebSocket protocol. After the service software reassembles the control instructions, the peripheral device is connected and controlled through the corresponding connection interface of the peripheral device, so that any device can be used. The browser executes the web POS system and controls various peripheral devices, which greatly increases the convenience of the web POS system application.

Description

網頁POS系統連接週邊裝置的方法 Method for connecting peripheral device of web page POS system

本發明係關於POS系統,特別是一種能使網頁POS系統可輕易連接與操作週邊設備的方法。 The invention relates to a POS system, in particular to a method that enables a web page POS system to easily connect and operate peripheral devices.

企業為了提升營運效率及降低人為錯誤機率,現今餐飲業、超商、物流等行業之流程管理皆以全面電子化及資訊化為主要的發展趨勢,希望能透過可靠的資訊管理設備及程式應用降低成本、有效管理、增進企業流程管理效率等目的,因此如何有效運用電子化、資訊化的快速與失誤率低優勢,是為管理上重大課題,而其中善用終端銷售系統為其成敗之重要關鍵之一。 In order to improve operational efficiency and reduce the probability of human error, the current process management of catering, supermarket, logistics and other industries is based on comprehensive electronic and information technology. It is hoped that it can be reduced through reliable information management equipment and program applications. Cost, effective management, and improvement of the efficiency of business process management. Therefore, how to effectively use the advantages of electronic and information technology and the low error rate is a major issue for management. Among them, it is important to make good use of the terminal sales system for its success or failure. one.

對於POS軟體系統程式92(英文為Point of Sale,英文簡稱POS,中文也可稱為銷售時點情報系統、銷售點管理系統)的使用者而言,如第1圖所示,需要包含有POS軟體系統程式92的主機硬體91,以及與POS軟體系統程式92有關的週邊設備94如條碼掃瞄器、刷卡機、印表機等,該POS軟體系統程式92並可將有關的資料儲存於雲端伺服器93上,但是對網頁POS系統而言,由於瀏覽器不能直接操控週邊設備94如條碼掃瞄器、刷卡機等,因此在網頁操作這些週邊設備會有困難。 For users of POS software system program 92 (Point of Sale in English, POS for short in English, and Chinese can also be referred to as point-of-sale information system and point-of-sale management system), as shown in Figure 1, it is necessary to include POS software The host hardware 91 of the system program 92, and peripheral devices 94 such as barcode scanners, credit cards, printers, etc. related to the POS software system program 92. The POS software system program 92 can also store related data in the cloud On the server 93, but for the web POS system, since the browser cannot directly control the peripheral devices 94 such as a barcode scanner, a credit card machine, etc., it will be difficult to operate these peripheral devices on the web page.

因此,如何改善網頁POS系統上述之缺失,應為業界需努力解決、克服之課題。 Therefore, how to improve the above-mentioned shortcomings of the web POS system should be a problem that the industry needs to work hard to overcome.

緣此,本案發明人即著手研發其解決方案,希望能開發出一種使網頁POS系統可輕易連接與操作這些週邊設備的方法,有效增加使用網頁POS系統的效率與彈性,以服務社會大眾及促進此業之發展,遂經多時之 構思而有本發明之產生。 For this reason, the inventor of this case set out to develop its solution, hoping to develop a method to make the web POS system easily connect and operate these peripheral devices, effectively increase the efficiency and flexibility of using the web POS system to serve the public and promote The development of this industry has experienced The idea has led to the invention.

本發明之目的在提供網頁POS系統、或是智慧營銷系統(英文為smart retailer)連接週邊裝置的方法,其能藉由設置一個運行在作業系統的服務軟體,讓瀏覽器能在內部以符合WebSocket協定的通訊方式,將相關的控制指令傳給該服務軟體該服務軟體重組控制指令後,透過週邊裝置對應的連接介面連接控制週邊裝置,使得任何裝置都可使用瀏覽器執行網頁POS系統並操控各種週邊裝置,大大的增加了網頁POS系統應用的方便性。 The object of the present invention is to provide a method for connecting a peripheral device to a web POS system or a smart marketing system (smart retailer in English). By setting a service software running on an operating system, a browser can be compatible with WebSocket internally. The communication method of the agreement is to transmit the related control instructions to the service software. After the service software reorganizes the control instructions, the peripheral devices are connected and controlled through the corresponding connection interface of the peripheral device, so that any device can use the browser to execute the web POS system and control various Peripheral devices have greatly increased the convenience of web page POS system application.

本發明為達上述目的及功效,所採行之技術手段包括有:一主機,該主機至少內含一瀏覽器、一連網裝置與一服務軟體,該瀏覽器與該服務軟體係以符合WebSocket協定方式進行即時雙向訊息傳遞;至少一週邊裝置,該週邊裝置透過與該週邊裝置對應的連接介面以有線或無線耦接該主機,並與該服務軟體進行雙向訊息傳遞;一雲端伺服器,設有一建立在網頁架構的網頁POS系統,該主機係以該連網裝置網路連線該雲端伺服器,並以該主機之瀏覽器為介面操作執行該雲端伺服器之網頁POS系統;當該服務軟體接收由該瀏覽器執行該網頁POS系統後傳來之符合WebSocket協定之操作一週邊裝置的一第1指令時,該服務軟體重組該第1指令為一與該第1指令操作內容相同並能驅動該週邊裝置的一第2指令,並以該第2指令透過與該週邊裝置對應的連接介面操控該週邊裝置;當該服務軟體接收從一週邊裝置傳來的一第1訊息時,該服務軟體重組該第1訊息為一與該第1訊息內容相同並符合WebSocket協定之一的第2訊息,並將該第2訊息顯示於該瀏覽器,且將該第2訊息傳入該網頁POS系統;藉此,該網頁POS系統能連接並操控該等週邊裝置。 In order to achieve the above-mentioned object and effect, the technical measures adopted by the present invention include: a host, the host including at least a browser, a network device, and a service software; the browser and the service software system conform to the WebSocket agreement Method for real-time two-way message transmission; at least one peripheral device, the peripheral device is wired or wirelessly coupled to the host through a connection interface corresponding to the peripheral device, and performs two-way message transmission with the service software; a cloud server provided with a A web-based POS system built on a web-based architecture. The host connects the cloud server with the network of the connected device, and operates the web-based POS system of the cloud server with the host's browser as the interface. When the service software When receiving a first instruction from the browser that executes the web POS system and complies with the WebSocket protocol to operate a peripheral device, the service software reorganizes the first instruction to have the same operation content and can drive the first instruction A second instruction of the peripheral device, and using the second instruction to control the peripheral device through a connection interface corresponding to the peripheral device; When the service software receives a first message from a peripheral device, the service software reconstructs the first message into a second message that has the same content as the first message and conforms to one of the WebSocket protocols, and converts the second message Displayed on the browser, and transmitted the second message to the web POS system; thereby, the web POS system can connect and control the peripheral devices.

前述方法,其中該主機之瀏覽器操作執行該雲端伺服器之網頁POS系統,係即時儲存輸入資料、輸出資料與運算結果於該雲端伺服器。 In the foregoing method, the browser operation of the host computer executes the web server POS system of the cloud server, and the input data, output data, and operation results are stored in the cloud server in real time.

前述方法,其中該主機為桌上型電腦、筆記型電腦、平版電 腦、手機或任何傳統運行POS系統之主機。 The aforementioned method, wherein the host is a desktop computer, a notebook computer, a tablet computer Brain, mobile phone or any host running traditional POS system.

前述方法,其中該週邊裝置為:印表機、條碼掃描器、磁卡讀取器、信用卡刷卡機、錢櫃、發票機、螢幕、鍵盤、觸控筆之其中之一,或其組合。 In the foregoing method, the peripheral device is one of a printer, a barcode scanner, a magnetic card reader, a credit card reader, a cash register, an invoice machine, a screen, a keyboard, a stylus, or a combination thereof.

茲為使 貴審查委員對本發明之技術特徵及所達成之功效更有進一步之瞭解與認識,謹佐以較佳之實施例圖式及配合詳細之說明,說明如後: In order to make your review members have a better understanding and understanding of the technical features of the present invention and the effect achieved, I would like to accompany the detailed illustrations of the preferred embodiments with detailed descriptions, as described below:

21‧‧‧主機 21‧‧‧Host

22‧‧‧瀏覽器 22‧‧‧Browser

31‧‧‧服務軟體 31‧‧‧Service Software

32‧‧‧連接介面 32‧‧‧Connect Interface

41‧‧‧第1週邊裝置 41‧‧‧The first peripheral device

42‧‧‧第2週邊裝置 42‧‧‧ 2nd peripheral device

51‧‧‧雲端伺服器 51‧‧‧Cloud Server

52‧‧‧網頁POS系統 52‧‧‧Web POS System

第1圖為習知POS系統架構示意圖。 Figure 1 is a schematic diagram of a conventional POS system architecture.

第2圖為本發明之基本架構示意圖。 Figure 2 is a schematic diagram of the basic architecture of the present invention.

請參閱第2圖,用以說明本發明一種網頁POS系統連接週邊裝置的方法,其包括有:一主機21,該主機21至少內含一瀏覽器22、一連網裝置與一服務軟體31,該瀏覽器22與該服務軟體31係以符合WebSocket協定方式進行即時雙向訊息傳遞;至少一週邊裝置,該週邊裝置透過與該週邊裝置對應的連接介面32以有線或無線耦接該主機21,並與該服務軟體31進行雙向訊息傳遞,本實施例係以多個週邊裝置作說明,如第2圖所示,多個週邊裝置包括第1週邊裝置41、第2週邊裝置42等;一雲端伺服器51,設有一建立在網頁架構的網頁POS系統52,該主機21係以該連網裝置(未圖示)網路連線該雲端伺服器51,並以該主機21之瀏覽器22為介面操作執行該雲端伺服器51之網頁POS系統52;當該服務軟體31接收由該瀏覽器22執行該網頁POS系統52後傳來之符合WebSocket協定之操作一第1週邊裝置41的一第1指令時,該服務軟體31重組該第1指令為一與該第1指令操作內容相同並能驅動該第1週邊 裝置41的一第2指令,並以該第2指令透過與該第1週邊裝置41對應的連接介面32操作該第1週邊裝置41;當該服務軟體31接收從一第2週邊裝置42傳來的一第1訊息時,該服務軟體31重組該第1訊息為一與該第1訊息內容相同並符合WebSocket協定之一的第2訊息,並將該第2訊息顯示於該瀏覽器22,且將該第2訊息傳入該網頁POS系統52;藉此,該網頁POS系統52能連接並操控該等週邊裝置。 Please refer to FIG. 2 to describe a method for connecting a peripheral device to a web POS system according to the present invention. The method includes: a host 21, the host 21 including at least a browser 22, a network device, and a service software 31. The browser 22 and the service software 31 perform real-time two-way message transmission in a manner consistent with the WebSocket protocol; at least one peripheral device, the peripheral device is wired or wirelessly coupled to the host 21 through a connection interface 32 corresponding to the peripheral device, and The service software 31 performs two-way message transmission. In this embodiment, multiple peripheral devices are used for description. As shown in FIG. 2, the multiple peripheral devices include a first peripheral device 41, a second peripheral device 42, and the like; a cloud server 51. A web page POS system 52 is set up based on a web page structure. The host computer 21 is connected to the cloud server 51 via the networked device (not shown) and operates using the browser 22 of the host computer 21 as an interface. The web POS system 52 that executes the cloud server 51; when the service software 31 receives the WebSocket protocol-compliant operation of a first peripheral device 41 that is received by the browser 22 after the web POS system 52 is executed When so, the software 31 of the service of the first instruction is a recombinant same as a first command to the operation content and can drive the first perimeter A second instruction of the device 41, and using the second instruction to operate the first peripheral device 41 through the connection interface 32 corresponding to the first peripheral device 41; when the service software 31 receives the transmission from a second peripheral device 42 When the first message is the first message, the service software 31 reconstructs the first message into a second message having the same content as the first message and conforming to one of the WebSocket protocols, and displays the second message in the browser 22, and The second message is transmitted to the web POS system 52; thereby, the web POS system 52 can connect and control the peripheral devices.

前述之網頁POS系統52,係指該網頁POS系統52為一種以網頁語言撰寫的軟體,該網頁語言例如:可為HTML、JavaScript、Java等程式語言,依此等網頁語言撰寫的應用程式,係以一瀏覽器22為介面操作執行,其特色是可不受作業系統的限制,例如:可在Windows、Mac、Linux、iOS等作業系統上執行,達到跨平台使用的優點。 The aforementioned webpage POS system 52 refers to the webpage POS system 52 as a software written in a webpage language. For example, the webpage language can be a programming language such as HTML, JavaScript, Java, etc. A browser 22 is used as the interface for operation and execution, and its characteristics are that it can be performed without limitation of the operating system, for example, it can be executed on operating systems such as Windows, Mac, Linux, iOS, etc., to achieve the advantage of cross-platform use.

前述之主機21可為桌上型電腦、筆記型電腦、平版電腦、手機或任何傳統運行POS系統之主機等,只要能執行瀏覽器22之運作即可。 The aforementioned host 21 may be a desktop computer, a notebook computer, a tablet computer, a mobile phone, or any traditional host running a POS system, as long as it can perform the operation of the browser 22.

前述之網頁POS系統52,係執行一般銷售、收銀、列印發票收據等作業,並提供門市/專櫃/加盟店庫存明細表、門市專櫃銷售日明細表、會員銷售統計表、商品各門市專櫃銷售日統計表、門市專櫃銷售日統計表、門市專櫃銷售月份每日統計表、時段銷售統計表、商品時段銷售統計等功能,以上僅為舉例說明,實際之網頁POS系統52功能不以上述為限。 The aforementioned webpage POS system 52 performs general sales, cashiering, printing invoice receipts, etc., and provides store / counter / affiliate store inventory schedules, store counter sales day schedules, member sales statistics tables, and commodity counter sales. Daily statistics table, store counter sales day statistics table, store counter sales month daily statistics table, time period sales statistics table, commodity time period sales statistics and other functions. The above are just examples. The actual web page POS system 52 functions are not limited to the above. .

前述之網頁POS系統52,使用者只要從該主機21瀏覽器22點擊該網頁POS系統52之連結點,即可以該瀏覽器22為介面執行該網頁POS系統52之所有功能,使用者不需下載POS系統的軟體,不需安裝POS系統,也不需進行該網頁POS系統52的升級與更新,使用者在使用上非常簡單,也不會有維護上的負擔。 In the aforementioned web POS system 52, as long as the user clicks the link point of the web POS system 52 from the host 21 browser 22, the browser 22 can perform all the functions of the web POS system 52 as an interface, and the user does not need to download The software of the POS system does not need to install the POS system, and does not need to upgrade and update the POS system 52 of this web page. The user is very simple to use and there is no maintenance burden.

前述之第1週邊裝置41可為:印表機(printer)、條碼掃描器(Bar-Code Scanner)、磁卡讀取器(Magnetic Card Reader)、信用卡刷卡機(Credit Card Reader)、錢櫃(Cash Dramer)、發票機(Invoice Machinery)、螢幕、鍵盤、 觸控筆之其中之一或其組合,但不以上述為限。 The aforementioned first peripheral device 41 may be a printer, a bar-code scanner, a magnetic card reader, a credit card reader, or a cash drawer. ), Invoice Machinery, screen, keyboard, One or a combination of the stylus pens, but not limited to the above.

前述之該主機21之瀏覽器22操作執行該雲端伺服器51之網頁POS系統52,係即時儲存輸入資料、輸出資料與運算結果於該雲端伺服器,如此之作法不但可減少主機21之硬體條件與運算負荷,更可藉由該雲端伺服器51所儲存的資料,包括各地區、各門市、各時段銷售資料、各類顧客喜好等資料,形成大數據,並進一步藉由對該大數據的分析統計,得到有價值的趨勢資訊。 The aforementioned browser 22 of the host 21 operates and executes the web POS system 52 of the cloud server 51, which stores the input data, output data, and calculation results in the cloud server in real time. This method can not only reduce the hardware of the host 21 Conditions and computational load can also be based on the data stored in the cloud server 51, including sales data for various regions, stores, time periods, and various customer preferences, to form big data, and further use the big data Analysis statistics to get valuable trend information.

使用建立在網頁架構(Web-based)的網頁軟體有跨作業系統平台使用的優點,但是因為POS系統需使用多樣之週邊設備,如條碼掃描器、磁卡讀取器、信用卡刷卡機、錢櫃、發票機等,而在瀏覽器上運作的網頁軟體,在架構上無法直接操控連接該瀏覽器所在主機的週邊設備,因此目前之POS系統多為在作業系統上直接執行的應用軟體,並以在作業系統上的各種驅動程式來操控對應的週邊設備,如此執行該POS系統無跨作業系統平台使用的優點。 The use of web-based web software has the advantage of being used across operating system platforms, but because the POS system requires a variety of peripheral devices, such as barcode scanners, magnetic card readers, credit card readers, cash drawers, and invoices Devices, etc., and the webpage software that runs on the browser cannot directly control the peripheral devices connected to the host where the browser is located. Therefore, the current POS system is mostly application software that runs directly on the operating system, and Various drivers on the system are used to control the corresponding peripheral equipment, so that the implementation of the POS system does not have the advantage of being used across operating system platforms.

本發明以設置一服務軟體31來解決以上的問題,並且該瀏覽器22與該服務軟體31係以符合WebSocket協定方式進行即時雙向訊息傳遞。WebSocket協定是一種在單個TCP連線上進行全雙工通訊的協定。WebSocket使得用戶端和伺服器之間的資料交換變得更加簡單,在WebSocket API中,瀏覽器和伺服器只需要完成一次交握(handshaking),兩者之間就直接可以建立永續性的連線,並進行雙向資料傳輸。利用WebSocket協定的特性,本發明之瀏覽器22與該服務軟體31係以符合WebSocket協定方式進行即時雙向訊息傳遞。 In the present invention, a service software 31 is provided to solve the above problems, and the browser 22 and the service software 31 perform real-time two-way message transmission in a manner consistent with the WebSocket protocol. The WebSocket protocol is a protocol for full-duplex communication over a single TCP connection. WebSocket makes it easier to exchange data between the client and the server. In the WebSocket API, the browser and the server only need to complete a handshake, and a sustainable connection can be established directly between the two. Online and two-way data transmission. Using the characteristics of the WebSocket protocol, the browser 22 and the service software 31 of the present invention perform real-time two-way message transmission in a manner consistent with the WebSocket protocol.

當使用者在執行該網頁POS系統52時,若需操作一週邊裝置,例如:以條碼掃描器掃瞄一販售商品時,該瀏覽器22即會傳一符合WebSocket協定之操作該週邊裝置(如條碼掃描器)的一第1指令(如掃描商品條碼)給該服務軟體31,該服務軟體31接收由該瀏覽器22執行該網頁POS系統52後傳來之符合WebSocket協定之操作該週邊裝置的第1指令時,該服務軟體 31重組該第1指令為一與該第1指令操作內容相同(如掃描商品條碼)並能驅動該第1週邊裝置(如條碼掃描器)的一第2指令,並以該第2指令透過與該第1週邊裝置41對應的連接介面32(如USB連接埠)操作該週邊裝置(如條碼掃描器);如此該網頁POS系統52就可以該瀏覽器22操控週邊裝置。 When the user executes the web POS system 52 and needs to operate a peripheral device, for example, when scanning a sales product with a barcode scanner, the browser 22 will pass a WebSocket protocol to operate the peripheral device ( (Such as a barcode scanner) a first instruction (such as scanning a product barcode) to the service software 31, the service software 31 receives the WebSocket protocol-compliant operation of the peripheral device received by the browser 22 after executing the web POS system 52 1st instruction of the service software 31 Reorganize the first instruction into a second instruction that has the same operation content as the first instruction (such as scanning a product barcode) and can drive the first peripheral device (such as a barcode scanner), and use the second instruction to pass through and The connection interface 32 (such as a USB port) corresponding to the first peripheral device 41 operates the peripheral device (such as a barcode scanner); in this way, the web POS system 52 can control the peripheral device by the browser 22.

另一方面,當週邊裝置操作完成後,該週邊裝置需將結果訊息傳回該網頁POS系統52,本發明的方法如下:該週邊裝置(如條碼掃描器)將執行完成後的結果(如條碼訊息)傳回該服務軟體31,即該服務軟體31接收從一第2週邊裝置42(如條碼掃描器)傳來的一第1訊息(如條碼訊息)時,該服務軟體31重組該第1訊息為一與該第1訊息內容相同並符合WebSocket協定之一的第2訊息(如條碼訊息),並將該第2訊息顯示於該瀏覽器22,且將該第2訊息傳入該網頁POS系統52;如此該網頁POS系統52就可以該瀏覽器22查知該週邊裝置執行結果。 On the other hand, after the operation of the peripheral device is completed, the peripheral device needs to return the result message to the web POS system 52. The method of the present invention is as follows: The peripheral device (such as a barcode scanner) will execute the completed result (such as a barcode). Message) returns the service software 31, that is, when the service software 31 receives a first message (such as a barcode message) from a second peripheral device 42 (such as a barcode scanner), the service software 31 reorganizes the first software The message is a second message (such as a bar code message) that has the same content as the first message and conforms to one of the WebSocket protocols, displays the second message in the browser 22, and transmits the second message to the web page POS System 52; in this way, the web page POS system 52 can check the execution result of the peripheral device by the browser 22.

由以上之說明,即可看出本系統的優點為:設計一個運行在作業系統的服務軟體31,讓瀏覽器22能在內部以符合WebSocket協定的通訊方式,將相關的控制指令傳給該服務軟體31,該服務軟體31重組控制指令後,透過週邊裝置對應的連接介面32(例如USB、RS-232)連接控制週邊裝置(例如印表機、條碼掃描器),使得任何裝置都可使用瀏覽器22操控網頁POS系統52,解決了之前瀏覽器執行網頁POS系統不能操控週邊裝置問題,大大的增加了網頁POS系統應用的方便性。 From the above description, it can be seen that the advantages of this system are: designing a service software 31 that runs on the operating system, so that the browser 22 can internally transmit related control instructions to the service in a communication method conforming to the WebSocket protocol. Software 31. After the service software 31 reorganizes control commands, it connects and controls peripheral devices (such as printers and bar code scanners) through the corresponding connection interface 32 (such as USB, RS-232) of peripheral devices, so that any device can use the browser. The device 22 controls the webpage POS system 52, which solves the problem that the browser cannot execute the peripheral device before executing the webpage POS system, which greatly increases the convenience of the webpage POS system application.

綜合以上所述,本發明確實為一相當優異之創思,爰依法提出發明專利申請;惟上述說明之內容,僅為本發明之較佳實施例說明,凡依本發明之技術手段所延伸之變化,皆應落入本發明之專利申請範圍,特此說明。 To sum up, the present invention is indeed a very good idea, and an application for an invention patent was filed according to law; however, the content of the above description is only a description of the preferred embodiment of the present invention, and any extension according to the technical means of the present invention Changes should fall into the scope of patent application of the present invention, and are hereby explained.

Claims (4)

一種網頁POS系統連接週邊裝置的方法,其包括有:一主機,該主機至少內含一瀏覽器、一連網裝置與一服務軟體,該瀏覽器與該服務軟體係以符合WebSocket協定方式進行即時雙向訊息傳遞;至少一週邊裝置,該週邊裝置透過與該週邊裝置對應的連接介面以有線或無線耦接該主機,並與該服務軟體進行雙向訊息傳遞;一雲端伺服器,設有一建立在網頁架構的網頁POS系統,該主機係以該連網裝置網路連線該雲端伺服器,並以該主機之瀏覽器為介面操作執行該雲端伺服器之網頁POS系統;當該服務軟體接收由該瀏覽器執行該網頁POS系統後傳來之符合WebSocket協定之操作一週邊裝置的一第1指令時,該服務軟體重組該第1指令為一與該第1指令操作內容相同並能驅動該週邊裝置的一第2指令,並以該第2指令透過與該週邊裝置對應的連接介面操控該週邊裝置;當該服務軟體接收從一週邊裝置傳來的一第1訊息時,該服務軟體重組該第1訊息為一與該第1訊息內容相同並符合WebSocket協定之一的第2訊息,並將該第2訊息顯示於該瀏覽器,且將該第2訊息傳入該網頁POS系統;藉此,該網頁POS系統能連接並操控該週邊裝置。A method for connecting a peripheral device to a web POS system includes: a host, the host including at least a browser, a network device, and a service software; the browser and the service software system perform real-time two-way in a manner consistent with the WebSocket protocol Message transmission; at least one peripheral device, the peripheral device is wired or wirelessly coupled to the host through a connection interface corresponding to the peripheral device, and performs two-way message transmission with the service software; a cloud server with a web-based architecture Web POS system, the host is connected to the cloud server with the network of the connected device, and the web server POS system of the cloud server is operated with the host's browser as an interface; when the service software receives the When the server executes a first instruction to operate a peripheral device that complies with the WebSocket protocol after the webpage POS system is executed, the service software reassembles the first instruction into a same operation content as the first instruction and can drive the peripheral device A second instruction, and using the second instruction to control the peripheral device through a connection interface corresponding to the peripheral device; when the service When the body receives a first message from a peripheral device, the service software reconstructs the first message into a second message that has the same content as the first message and conforms to one of the WebSocket protocols, and displays the second message. In the browser, and transmit the second message to the web POS system; thereby, the web POS system can connect and control the peripheral device. 如申請專利範圍第1項所述之網頁POS系統連接週邊裝置的方法,其中該主機之瀏覽器操作執行該雲端伺服器之網頁POS系統,係即時儲存輸入資料、輸出資料與運算結果於該雲端伺服器。The method for connecting a web POS system to a peripheral device as described in item 1 of the scope of the patent application, wherein the browser of the host operates the web POS system of the cloud server to store input data, output data, and calculation results in the cloud in real time server. 如申請專利範圍第1項所述之網頁POS系統連接週邊裝置的方法,其中該主機為桌上型電腦、筆記型電腦、平版電腦或手機。The method for connecting a peripheral device to a web POS system according to item 1 of the scope of patent application, wherein the host is a desktop computer, a notebook computer, a tablet computer, or a mobile phone. 如申請專利範圍第1項所述之網頁POS系統連接週邊裝置的方法,其中該週邊裝置為:印表機、條碼掃描器、磁卡讀取器、信用卡刷卡機、錢櫃、發票機、螢幕、鍵盤、觸控筆之其中之一,或其組合。The method for connecting a peripheral device to a web POS system according to item 1 of the scope of patent application, wherein the peripheral device is: a printer, a barcode scanner, a magnetic card reader, a credit card reader, a cash register, an invoice machine, a screen, a keyboard , One of the stylus pens, or a combination thereof.
TW106117911A 2017-05-31 2017-05-31 Method for connecting peripheral device of webpage POS system TWI644269B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
TW106117911A TWI644269B (en) 2017-05-31 2017-05-31 Method for connecting peripheral device of webpage POS system
JP2017163194A JP2018206330A (en) 2017-05-31 2017-08-28 Peripheral device connection method relating to web pos system
CN201711033367.3A CN108984314A (en) 2017-05-31 2017-10-30 Architecture for connecting webpage POS system with peripheral device
CN201721417364.5U CN207503205U (en) 2017-05-31 2017-10-30 Architecture for connecting webpage POS system with peripheral device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106117911A TWI644269B (en) 2017-05-31 2017-05-31 Method for connecting peripheral device of webpage POS system

Publications (2)

Publication Number Publication Date
TWI644269B true TWI644269B (en) 2018-12-11
TW201903664A TW201903664A (en) 2019-01-16

Family

ID=62502072

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106117911A TWI644269B (en) 2017-05-31 2017-05-31 Method for connecting peripheral device of webpage POS system

Country Status (3)

Country Link
JP (1) JP2018206330A (en)
CN (2) CN108984314A (en)
TW (1) TWI644269B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111199619A (en) * 2018-11-19 2020-05-26 兆利丰股份有限公司 APP terminal sale system with customer self-help check and payment function
CN111752621A (en) * 2019-03-28 2020-10-09 兆利丰股份有限公司 Web marketing management system with shared peripheral control engine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765579A (en) * 2014-01-08 2015-07-08 精工爱普生株式会社 POS Control System, Control Method of POS Control System, and Printing Device
CN104781842A (en) * 2012-11-19 2015-07-15 精工爱普生株式会社 POS system and printer
TW201635769A (en) * 2015-03-27 2016-10-01 英特爾公司 Systems and techniques for web communication
WO2016199400A1 (en) * 2015-06-08 2016-12-15 株式会社ミライト Information processing device, information processing system, and control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270662A (en) * 2014-10-27 2015-01-07 冠捷显示科技(厦门)有限公司 System of terminal equipment for controlling intelligent television through browser
JP6365648B2 (en) * 2016-12-08 2018-08-01 セイコーエプソン株式会社 Terminal and terminal control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104781842A (en) * 2012-11-19 2015-07-15 精工爱普生株式会社 POS system and printer
CN104765579A (en) * 2014-01-08 2015-07-08 精工爱普生株式会社 POS Control System, Control Method of POS Control System, and Printing Device
TW201635769A (en) * 2015-03-27 2016-10-01 英特爾公司 Systems and techniques for web communication
WO2016199400A1 (en) * 2015-06-08 2016-12-15 株式会社ミライト Information processing device, information processing system, and control method

Also Published As

Publication number Publication date
TW201903664A (en) 2019-01-16
CN108984314A (en) 2018-12-11
JP2018206330A (en) 2018-12-27
CN207503205U (en) 2018-06-15

Similar Documents

Publication Publication Date Title
US9420054B2 (en) Method and apparatus for accessing an enterprise resource planning system via a mobile device
US20190005477A1 (en) Point of sale peripheral control
US10686881B2 (en) Transmission system, transmission device, and data transmission method
WO2012075608A1 (en) Indicia encoding system with integrated purchase and payment information
CN104583984A (en) Device control system, printer, and method for controlling device control system
US20130013390A1 (en) Point of Sale System
TWI644269B (en) Method for connecting peripheral device of webpage POS system
US20220156712A1 (en) Transaction data processing apparatus connected to an external device for data communication
US20140211255A1 (en) Control system and control method of a control system
CN104091397A (en) Cashier communication device and cashier system based on intelligent mobile device
CN204029073U (en) A kind of cash register communicator and POS based on Intelligent mobile equipment
US20190012649A1 (en) System for connecting web pos system with peripheral device
JP3215991U (en) Sales management system with peripheral device controller
US20190227955A1 (en) System for connecting web pos system with peripheral device
CN111752621A (en) Web marketing management system with shared peripheral control engine
RU2595623C1 (en) Method and system for improvement of systems for receiving cash
CN104103136A (en) Intelligent mobile equipment-based cash registering method
TWM548839U (en) Structure of web page POS system connecting peripheral devices
TWM544672U (en) Sales management system with input/output machine
US10311684B2 (en) Display system, display device, and display method
US20150154582A1 (en) Print control system and print control method
US20150113049A1 (en) Transmission System, Transmission Device, and Data Transmission Method
CN209641016U (en) POS system with control machine
CN105279594A (en) Point-of-sale system and method of operation thereof
CN205003795U (en) POS (point of sale) machine