本說明書一個或多個實施例的目的是提供一種資訊輸出方法、裝置及設備,用以提高入帳結果輸出的成功率及便利性,進而滿足各類商家查收入帳結果的需求。
為解决上述技術問題,本說明書一個或多個實施例是這樣實現的:
一方面,本說明書一個或多個實施例提供一種資訊輸出方法,應用於資訊輸出設備,包括:
透過所述資訊輸出設備內設的通訊模組與伺服器之間建立長連接;及,將與所述資訊輸出設備相關聯的帳號資訊發送至所述伺服器;
接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令;其中,所述輸出指令用於指示所述資訊輸出設備輸出所述入帳結果,所述入帳結果用於標識使用者端已完成線上支付;
根據所述輸出指令,輸出所述入帳結果。
在一個實施例中,所述方法還包括:
接收與所述資訊輸出設備連接的行動終端發送的帳號資訊;其中,所述帳號資訊透過所述行動終端上顯示的所述資訊輸出設備對應的設置界面所設置;
建立所述帳號資訊與所述資訊輸出設備之間的關聯關係。
在一個實施例中,所述資訊輸出設備上承載有用於所述使用者端進行所述線上支付的二維碼;
相應的,所述接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令之前,所述方法還包括:
接收所述使用者端對所述二維碼的掃描操作,以使所述使用者端透過所述二維碼進行所述線上支付,並將所述線上支付對應的入帳結果發送至所述伺服器。
在一個實施例中,所述輸出所述入帳結果,包括:
獲取預存的入帳結果輸出模板;
按照預設規則組合所述入帳結果輸出模板與所述入帳結果,以產生入帳結果輸出內容;
輸出所述入帳結果輸出內容。
在一個實施例中,所述獲取預存的入帳結果輸出模板之前,所述方法還包括:
接收與所述資訊輸出設備連接的行動終端發送的所述入帳結果輸出模板;其中,所述入帳結果輸出模板透過所述行動終端上顯示的所述資訊輸出設備對應的設置界面所設置;
儲存所述入帳結果輸出模板。
在一個實施例中,所述接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令之前,所述方法還包括:
輸出第一內容,所述第一內容包括所述資訊輸出設備上的預存內容和/或所述伺服器發出至所述資訊輸出設備的指定內容;
相應的,所述輸出所述入帳結果,包括:
暫停對所述第一內容的輸出;
輸出所述入帳結果,並在所述入帳結果輸出完成之後,繼續輸出所述第一內容。
在一個實施例中,所述通訊模組為通用分組無線伺服技術模組。
另一方面,本說明書一個或多個實施例提供一種資訊輸出裝置,應用於資訊輸出設備,包括:
連接模組,用於透過所述資訊輸出設備內設的通訊模組與伺服器之間建立長連接;及,將與所述資訊輸出設備相關聯的帳號資訊發送至所述伺服器;
第一接收模組,用於接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令;其中,所述輸出指令用於指示所述資訊輸出設備輸出所述入帳結果,所述入帳結果用於標識使用者端已完成線上支付;
第一輸出模組,用於根據所述輸出指令,輸出所述入帳結果。
在一個實施例中,所述裝置還包括:
第二接收模組,用於接收與所述資訊輸出設備連接的行動終端發送的帳號資訊;其中,所述帳號資訊透過所述行動終端上顯示的所述資訊輸出設備對應的設置界面所設置;
建立模組,用於建立所述帳號資訊與所述資訊輸出設備之間的關聯關係。
在一個實施例中,所述資訊輸出設備上承載有用於所述使用者端進行所述線上支付的二維碼;
相應的,所述裝置還包括:
第三接收模組,用於所述接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令之前,接收所述使用者端對所述二維碼的掃描操作,以使所述使用者端透過所述二維碼進行所述線上支付,並將所述線上支付對應的入帳結果發送至所述伺服器。
在一個實施例中,所述第一輸出模組包括:
獲取單元,用於獲取預存的入帳結果輸出模板;
產生單元,用於按照預設規則組合所述入帳結果輸出模板與所述入帳結果,以產生入帳結果輸出內容;
第一輸出單元,用於輸出所述入帳結果輸出內容。
在一個實施例中,所述裝置還包括:
第四接收模組,用於所述獲取預存的入帳結果輸出模板之前,接收與所述資訊輸出設備連接的行動終端發送的所述入帳結果輸出模板;其中,所述入帳結果輸出模板透過所述行動終端上顯示的所述資訊輸出設備對應的設置界面所設置;
儲存模組,用於儲存所述入帳結果輸出模板。
在一個實施例中,所述裝置還包括:
第二輸出模組所述接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令之前,輸出第一內容,所述第一內容包括所述資訊輸出設備上的預存內容和/或所述伺服器發出至所述資訊輸出設備的指定內容;
相應的,所述第一輸出模組包括:
暫停單元,用於暫停對所述第一內容的輸出;
第二輸出單元,用於輸出所述入帳結果,並在所述入帳結果輸出完成之後,繼續輸出所述第一內容。
在一個實施例中,所述通訊模組為通用分組無線伺服技術模組。
再一方面,本說明書一個或多個實施例提供一種資訊輸出設備,包括:
通訊模組,用於與伺服器之間建立長連接;
處理器,用於將與所述資訊輸出設備相關聯的帳號資訊發送至所述伺服器;接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令;其中,所述輸出指令用於指示所述資訊輸出設備輸出所述入帳結果,所述入帳結果用於標識使用者端已完成線上支付;
播放器,用於根據所述輸出指令,輸出所述入帳結果。
在一個實施例中,所述設備上承載有用於所述使用者端進行所述線上支付的二維碼。
在一個實施例中,所述設備上承載有用於進入所述資訊輸出設備對應的設置界面的二維碼;所述設置界面用於使用者對所述資訊輸出設備的相關資訊進行設置;
其中,所述相關資訊包括帳號資訊、入帳結果輸出模板、輸出音量、輸出內容、輸出時間、輸出頻率中的至少一項。
在一個實施例中,所述通訊模組為通用分組無線伺服技術模組。
再一方面,本說明書一個或多個實施例提供一種資訊輸出設備,包括:
處理器;以及
被安排成儲存計算機可執行指令的記憶體,所述可執行指令在被執行時使所述處理器:
透過所述資訊輸出設備內設的通訊模組與伺服器之間建立長連接;及,將與所述資訊輸出設備相關聯的帳號資訊發送至所述伺服器;
接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令;其中,所述輸出指令用於指示所述資訊輸出設備輸出所述入帳結果,所述入帳結果用於標識使用者端已完成線上支付;
根據所述輸出指令,輸出所述入帳結果。
再一方面,本申請實施例提供一種儲存媒體,用於儲存計算機可執行指令,所述可執行指令在被執行時實現以下流程:
透過所述資訊輸出設備內設的通訊模組與伺服器之間建立長連接;及,將與所述資訊輸出設備相關聯的帳號資訊發送至所述伺服器;
接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令;其中,所述輸出指令用於指示所述資訊輸出設備輸出所述入帳結果,所述入帳結果用於標識使用者端已完成線上支付;
根據所述輸出指令,輸出所述入帳結果。
採用本說明書一個或多個實施例的技術方案,透過資訊輸出設備內設的通訊模組與伺服器之間建立長連接,並將與資訊輸出設備相關聯的帳號資訊發送至伺服器,使得伺服器能夠根據該帳號資訊將針對入帳結果的輸出指令發送至資訊輸出設備,進而使資訊輸出設備根據接收到的輸出指令輸出入帳結果。可見,相較於現有技術中採用手機播報入帳結果的方法而言,該技術方案透過將資訊輸出設備與伺服器之間直接建立長連接來輸出入帳結果,解决了手機播報音量小、以及由於兼容性或商戶端版本較低等原因造成的播報觸發率低的問題,從而提高入帳結果輸出的成功率;並且,該技術方案中的資訊輸出設備無需透過WIFI或藍牙與手機建立連接,因此使得商家查收入帳結果時不再依賴於手機,且不局限於使用場所(如流動商家、便利店、計程車等),大大提高了商家查收入帳結果的體驗度。The purpose of one or more embodiments of this specification is to provide an information output method, device, and equipment to improve the success rate and convenience of the output of the account result, and thereby meet the needs of various businesses for checking the income account results.
In order to solve the above technical problems, one or more embodiments of this specification are implemented as follows:
On the one hand, one or more embodiments of this specification provide an information output method applied to an information output device, including:
Establishing a long connection between the communication module provided in the information output device and the server; and sending the account information associated with the information output device to the server;
Receive an output instruction for the crediting result sent by the server according to the account information; wherein the output instruction is used to instruct the information output device to output the crediting result, and the crediting result is used to identify the use The client has completed the online payment;
According to the output instruction, output the account result.
In an embodiment, the method further includes:
Receiving account information sent by a mobile terminal connected to the information output device; wherein the account information is set through a setting interface corresponding to the information output device displayed on the mobile terminal;
Establishing an association relationship between the account information and the information output device.
In one embodiment, the information output device carries a QR code for the user to make the online payment;
Correspondingly, before the receiving the output instruction for the account entry result sent by the server according to the account information, the method further includes:
Receive the scanning operation of the two-dimensional code from the user end, so that the user end performs the online payment through the two-dimensional code, and sends the account result corresponding to the online payment to the server.
In an embodiment, the outputting the accounting result includes:
Obtain the pre-stored account result output template;
Combining the entry result output template and the entry result according to preset rules to generate the entry result output content;
Output the output content of the entry result.
In an embodiment, before the obtaining the pre-stored account result output template, the method further includes:
Receiving the account entry result output template sent by the mobile terminal connected to the information output device; wherein the account entry result output template is set through a setting interface corresponding to the information output device displayed on the mobile terminal;
The output template of the entry result is stored.
In an embodiment, before the receiving the output command for the account result sent by the server according to the account information, the method further includes:
Outputting first content, where the first content includes pre-stored content on the information output device and/or designated content sent by the server to the information output device;
Correspondingly, the output of the entry result includes:
Pause the output of the first content;
Output the account entry result, and continue to output the first content after the output of the account entry result is completed.
In one embodiment, the communication module is a general packet wireless servo technology module.
On the other hand, one or more embodiments of this specification provide an information output device applied to an information output device, including:
The connection module is used to establish a long connection between the communication module provided in the information output device and the server; and, send the account information associated with the information output device to the server;
The first receiving module is configured to receive an output instruction for the account entry result sent by the server according to the account information; wherein, the output instruction is used to instruct the information output device to output the account entry result, so The entry result is used to identify the online payment on the user side;
The first output module is used to output the account result according to the output instruction.
In an embodiment, the device further includes:
The second receiving module is configured to receive account information sent by a mobile terminal connected to the information output device; wherein the account information is set through a setting interface corresponding to the information output device displayed on the mobile terminal;
The establishment module is used to establish the association relationship between the account information and the information output device.
In one embodiment, the information output device carries a QR code for the user to make the online payment;
Correspondingly, the device further includes:
The third receiving module is used for receiving the scanning operation of the two-dimensional code from the user side before receiving the output command for the account result sent by the server according to the account information, so that the The user terminal performs the online payment through the two-dimensional code, and sends the account result corresponding to the online payment to the server.
In an embodiment, the first output module includes:
The obtaining unit is used to obtain the pre-stored account result output template;
A generating unit, configured to combine the entry result output template and the entry result according to a preset rule to generate the entry result output content;
The first output unit is used to output the output content of the account entry result.
In an embodiment, the device further includes:
The fourth receiving module is used to receive the account result output template sent by the mobile terminal connected to the information output device before the pre-stored account result output template is obtained; wherein, the account result output template Set through the setting interface corresponding to the information output device displayed on the mobile terminal;
The storage module is used to store the account result output template.
In an embodiment, the device further includes:
The second output module outputs first content before receiving the output command for the account result sent by the server according to the account information, and the first content includes the pre-stored content on the information output device and/ Or designated content sent by the server to the information output device;
Correspondingly, the first output module includes:
The pause unit is used to pause the output of the first content;
The second output unit is configured to output the account entry result, and continue to output the first content after the account entry result output is completed.
In one embodiment, the communication module is a general packet wireless servo technology module.
In another aspect, one or more embodiments of this specification provide an information output device, including:
Communication module, used to establish a long connection with the server;
The processor is configured to send account information associated with the information output device to the server; receive an output instruction for the account result sent by the server according to the account information; wherein, the output instruction Used for instructing the information output device to output the account entry result, and the account entry result is used to identify that the user terminal has completed the online payment;
The player is used to output the account result according to the output instruction.
In one embodiment, the device carries a QR code for the user to make the online payment.
In one embodiment, the device carries a two-dimensional code for entering a setting interface corresponding to the information output device; the setting interface is used by the user to set relevant information of the information output device;
Wherein, the relevant information includes at least one of account information, an output template of the account result, output volume, output content, output time, and output frequency.
In one embodiment, the communication module is a general packet wireless servo technology module.
In another aspect, one or more embodiments of this specification provide an information output device, including:
Processor; and
A memory arranged to store computer-executable instructions that, when executed, cause the processor to:
Establishing a long connection between the communication module provided in the information output device and the server; and sending the account information associated with the information output device to the server;
Receive an output instruction for the crediting result sent by the server according to the account information; wherein the output instruction is used to instruct the information output device to output the crediting result, and the crediting result is used to identify the use The client has completed the online payment;
According to the output instruction, output the account result.
In another aspect, an embodiment of the present application provides a storage medium for storing computer-executable instructions that, when executed, implement the following processes:
Establishing a long connection between the communication module provided in the information output device and the server; and sending the account information associated with the information output device to the server;
Receive an output instruction for the crediting result sent by the server according to the account information; wherein the output instruction is used to instruct the information output device to output the crediting result, and the crediting result is used to identify the use The client has completed the online payment;
According to the output instruction, output the account result.
Using the technical solutions of one or more embodiments of this specification, a long connection is established between the communication module in the information output device and the server, and the account information associated with the information output device is sent to the server, so that the server According to the account information, the device can send an output command for the result of the account to the information output device, so that the information output device outputs the result of the account according to the received output command. It can be seen that compared to the method of using mobile phones to broadcast the account results in the prior art, this technical solution solves the problem of low volume and low volume of mobile phone broadcasts by directly establishing a long connection between the information output device and the server. The low trigger rate of the broadcast caused by compatibility or low merchant version, thereby increasing the success rate of the account result output; and the information output device in this technical solution does not need to establish a connection with the mobile phone through WIFI or Bluetooth. Therefore, merchants no longer rely on mobile phones when checking income account results, and are not limited to places of use (such as mobile merchants, convenience stores, taxis, etc.), greatly improving the experience of merchant checking income account results.
本說明書一個或多個實施例提供一種資訊輸出方法、裝置及設備,用以提高入帳結果輸出的成功率及便利性,進而滿足各類商家查收入帳結果的需求。
為了使本技術領域的人員更好地理解本說明書一個或多個實施例中的技術方案,下面將結合本說明書一個或多個實施例中的圖式,對本說明書一個或多個實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本說明書一部分實施例,而不是全部的實施例。基於本說明書一個或多個實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本說明書一個或多個實施例保護的範圍。
圖1是根據本說明書一實施例的一種資訊輸出方法的示意性流程圖,如圖1所示,該方法包括:
S102,透過資訊輸出設備內設的通訊模組與伺服器之間建立長連接;及,將與資訊輸出設備相關聯的帳號資訊發送至伺服器。
其中,通訊模組為通用分組無線伺服技術模組,即GPRS模組。
資訊輸出設備上電後,可透過其預存的MQTT (Message Queuing Telemetry Transport,訊息隊列遙測傳輸)協議(包括連接位址、端口、名稱、帳號、密碼等)自動存取伺服器。並且,依據資訊輸出設備的流量。可在上電後按照一定頻率(例如每三分鐘一次)與伺服器保持自動連接心跳。資訊輸出設備與伺服器之間建立長連接後,透過MQTT協議與伺服器之間建立訂閱/發布訊息收發資料的通道,透過該通道,伺服器可向資訊輸出設備發出待輸出的訊息,例如發出廣告、入帳結果等。
與資訊輸出設備相關聯的帳號資訊具有唯一性,其可以是二維碼本身攜帶的資訊,也可以是與二維碼相對應的、使用者預先設置的帳號資訊。
S104,接收伺服器根據帳號資訊發送的針對入帳結果的輸出指令。
其中,輸出指令用於指示資訊輸出設備輸出入帳結果,入帳結果用於標識使用者端已完成線上支付。
執行該步驟之前,使用者可利用行動終端上的支付客戶端掃描用於線上支付的二維碼,進而透過與伺服器進行交互作用完成線上支付。其中,二維碼可設置在資訊輸出設備的外表面上,也可設置在其他類型的物料上(如紙質物料),且與資訊輸出設備的帳號資訊相關聯。當使用者端完成線上支付後,伺服器就會根據與二維碼相關聯的帳號資訊,將入帳結果的輸出指令發送至該帳號資訊對應的資訊輸出設備。
S106,根據輸出指令,輸出入帳結果。
本實施例中,可透過語音輸出的方式輸出入帳結果。
採用本說明書一個或多個實施例的技術方案,透過資訊輸出設備內設的通訊模組與伺服器之間建立長連接,並將與資訊輸出設備相關聯的帳號資訊發送至伺服器,使得伺服器能夠根據該帳號資訊將針對入帳結果的輸出指令發送至資訊輸出設備,進而使資訊輸出設備根據接收到的輸出指令輸出入帳結果。可見,相較於現有技術中採用手機播報入帳結果的方法而言,該技術方案透過將資訊輸出設備與伺服器之間直接建立長連接來輸出入帳結果,解决了手機播報音量小、以及由於兼容性或商戶端版本較低等原因造成的播報觸發率低的問題,從而提高入帳結果輸出的成功率;並且,該技術方案中的資訊輸出設備無需透過WIFI或藍牙與手機建立連接,因此使得商家查收入帳結果時不再依賴於手機,且不局限於使用場所(如流動商家、便利店、計程車等),大大提高了商家查收入帳結果的體驗度。
在一個實施例中,資訊輸出設備的外表面上設有用於進入資訊輸出設備的設置界面的二維碼。使用者利用行動終端上的“掃一掃”功能掃描該二維碼,就能夠進入資訊輸出設備的設置界面。在設置界面上,使用者可對資訊輸出設備的相關資訊進行設置,相關資訊可包括入帳結果輸出模板、與資訊輸出設備相關聯的帳號資訊、輸出音量、輸出內容、輸出時間、輸出頻率、流量繳費的辦理等等。
以下分別針對各項相關資訊的設置及使用進行詳細說明。
在一個實施例中,使用者預先在資訊輸出設備的設置界面上設置與資訊輸出設置相關聯的帳號資訊,設置好帳號資訊之後,行動終端會將帳號資訊發送至該資訊輸出設備。資訊輸出設備接收到行動終端發送的帳號資訊之後,建立帳號資訊與資訊輸出設備之間的關聯關係。
本實施例中,透過建立帳號資訊與資訊輸出設備之間的關聯關係,使得伺服器能夠根據帳號資訊直接發送入帳結果至資訊輸出設備,而無需透過行動終端(如手機)作為中間設備,進而解决了手機播報音量小、以及由於兼容性或商戶端版本較低等原因造成的播報觸發率低的問題,從而提高入帳結果輸出的成功率。
在一個實施例中,使用者預先在資訊輸出設備的設置界面上設置入帳結果輸出模板,其中,入帳結果輸出模板可由使用者根據喜好或需要設置,也可從伺服器下載預先儲存的入帳結果輸出模板。伺服器端預先儲存有多個入帳結果輸出模板,使用者透過資訊輸出設備的設置界面,可根據喜好或需要選擇其中一個入帳結果輸出模板,設置好入帳結果輸出模板之後,行動終端會將入帳結果輸出模板發送至該資訊輸出設備。資訊輸出設備接收行動終端發送的入帳結果輸出模板,並儲存該入帳結果輸出模板。
資訊輸出設備儲存入帳結果輸出模板之後,即可接收伺服器發出的入帳結果,並根據入帳結果與入帳結果輸出模板產生入帳結果輸出內容。
在一個實施例中,資訊輸出設備上承載有用於使用者端進行線上支付的二維碼。當使用者進行線上支付時,可利用行動終端上的“掃一掃”功能掃描資訊輸出設備上的二維碼,進而透過二維碼進行線上支付,並將線上支付對應的入帳結果發送至伺服器。
接下來,伺服器將入帳結果發送至資訊輸出設備。資訊輸出設備接收到入帳結果後,獲取預存的入帳結果輸出模板,並按照預設規則組合入帳結果輸出模板與入帳結果,以產生入帳結果輸出內容,進而輸出入帳結果輸出內容。
可選的,入帳結果輸出模板中設有空白位置,相應的,預設規則為直接將入帳結果添加至入帳結果輸出模板中的空白位置。例如,入帳結果輸出模板為“小蘋果帳號……”,其中,“小蘋果”為商家的支付寶帳號名稱,這裏以省略號“……”表示空白位置,入帳結果為“入帳20元”,那麽,直接將入帳結果添加至入帳結果輸出模板中的空白位置後,產生入帳結果輸出內容為“小蘋果帳號入帳20元”。當然,空白位置還可採用省略號之外的其他方式表示。
又一可選的,入帳結果輸出模板中設有指定字符,相應的,預設規則為利用入帳結果替換入帳結果模板中的指定字符。例如,入帳結果輸出模板為“小蘋果帳號XXXX”,其中,“小蘋果”為商家的支付寶帳號名稱, “XXXX”為指定字符,入帳結果為“入帳20元”,那麽,利用入帳結果替換入帳結果輸出模板中的指定字符後,產生入帳結果輸出內容為“小蘋果帳號入帳20元”。
本實施例中,透過預設入帳結果輸出模板,並根據入帳結果輸出模板與入帳結果產生入帳結果輸出內容,使得資訊輸出設備輸出的入帳結果更能符合使用者的喜好或需求,提高使用者查收入帳結果的體驗度。
當然,在一個實施例中,也可不設置入帳結果輸出模板,即資訊輸出設備接收到伺服器發送的入帳結果之後,直接將入帳結果作為入帳結果輸出內容進行輸出。
在一個實施例中,使用者預先在資訊輸出設備的設置界面上設置輸出內容。其中,輸出內容可以是上述實施例中的入帳結果輸出內容,也可以是與入帳結果無關的其他內容。其他內容例如:開機播報內容“歡迎使用XXX”、電源不足時的播報內容“電池供電不足,請充電”、網路斷網時的播報內容“網路訊號不好,努力連線中”、韌體升級時的播報內容“正在系統升級,請稍後”、入帳前播報內容、入帳後播報內容、商家銷售宣傳內容等。
上述所列舉的其他內容均可在資訊輸出設備的設置界面中進行設置。資訊輸出設備中可預存多條輸出內容,使用者可根據需要選擇對哪條輸出內容進行輸出。
若設置了入帳前播報內容,則在接收到入帳結果後,優先播報入帳前播報內容,然後再播報入帳結果輸出內容;若設置了入帳後播報內容,則在接收到入帳結果後,優先播報入帳結果輸出內容,然後再播報入帳後播報內容。
在一個實施例中,對於未預先設置的其他內容,資訊輸出設備也可進行播報。例如,伺服器定時向資訊輸出設備發出訊息(如天氣預報、時間播報等),資訊輸出設備接收到伺服器所發出的訊息後進行播報。
本實施例中,資訊輸出設備不僅能輸出入帳結果,還能輸出其他如天氣、時間等資訊的內容,這對於部分商家(如流動攤販、小吃店、便利店、菜市場、計程車等類的商家)而言十分便利,大大提高了這類商家使用資訊輸出設備的體驗度。
在一個實施例中,資訊輸出設備接收伺服器根據帳號資訊發送的針對入帳結果的輸出指令之前,可輸出第一內容,該第一內容可包括資訊輸出設備上的預存內容(如預存的商家銷售宣傳內容)和/或伺服器發出至資訊輸出設備的指定內容(如天氣預報)。若資訊輸出設備正在輸出第一內容的過程中,接收到伺服器發送的輸出指令,則暫停對第一內容的輸出,並輸出入帳結果,當入帳結果輸出完成之後,再繼續輸出第一內容。
除上述列舉的幾個實施例中所述的輸出內容之外,資訊輸出設備還可與伺服器之間進行其他內容的交互作用,包括資訊輸出設備的配置參數、升級韌體文件、配置結果(包括配置成功或失敗)、經緯度資訊、設備資訊、訊息下載結果(下載成功或失敗)等。
綜上,已經對本主題的特定實施例進行了描述。其它實施例在所附權利要求書的範圍內。在一些情况下,在權利要求書中記載的動作可以按照不同的順序來執行並且仍然可以實現期望的結果。另外,在圖式中描繪的過程不一定要求示出的特定順序或者連續順序,以實現期望的結果。在某些實施方式中,多任務處理和並行處理可以是有利的。
以上為本說明書一個或多個實施例提供的資訊輸出方法,基於同樣的思路,本說明書一個或多個實施例還提供一種資訊輸出裝置。
圖2是根據本說明書一實施例的一種資訊輸出裝置的示意性方塊圖。如圖2所示,資訊輸出裝置200應用於資訊輸出設備,包括:
連接模組210,用於透過資訊輸出設備內設的通訊模組與伺服器之間建立長連接;及,將與資訊輸出設備相關聯的帳號資訊發送至伺服器;
第一接收模組220,用於接收伺服器根據帳號資訊發送的針對入帳結果的輸出指令;其中,輸出指令用於指示資訊輸出設備輸出入帳結果,入帳結果用於標識使用者端已完成線上支付;
第一輸出模組230,用於根據輸出指令,輸出入帳結果。
在一個實施例中,裝置200還包括:
第二接收模組,用於接收與資訊輸出設備連接的行動終端發送的帳號資訊;其中,帳號資訊透過行動終端上顯示的資訊輸出設備對應的設置界面所設置;
建立模組,用於建立帳號資訊與資訊輸出設備之間的關聯關係。
在一個實施例中,資訊輸出設備上承載有用於使用者端進行線上支付的二維碼;
相應的,裝置200還包括:
第三接收模組,用於接收伺服器根據帳號資訊發送的針對入帳結果的輸出指令之前,接收使用者端對二維碼的掃描操作,以使使用者端透過二維碼進行線上支付,並將線上支付對應的入帳結果發送至伺服器。
在一個實施例中,第一輸出模組230包括:
獲取單元,用於獲取預存的入帳結果輸出模板;
產生單元,用於按照預設規則組合入帳結果輸出模板與入帳結果,以產生入帳結果輸出內容;
第一輸出單元,用於輸出入帳結果輸出內容。
在一個實施例中,裝置200還包括:
第四接收模組,用於獲取預存的入帳結果輸出模板之前,接收與資訊輸出設備連接的行動終端發送的入帳結果輸出模板;其中,入帳結果輸出模板透過行動終端上顯示的資訊輸出設備對應的設置界面所設置;
儲存模組,用於儲存入帳結果輸出模板。
在一個實施例中,裝置200還包括:
第二輸出模組接收伺服器根據帳號資訊發送的針對入帳結果的輸出指令之前,輸出第一內容,第一內容包括資訊輸出設備上的預存內容和/或伺服器發出至資訊輸出設備的指定內容;
相應的,第一輸出模組230包括:
暫停單元,用於暫停對第一內容的輸出;
第二輸出單元,用於輸出入帳結果,並在入帳結果輸出完成之後,繼續輸出第一內容。
在一個實施例中,通訊模組為通用分組無線伺服技術模組。
採用本說明書一個或多個實施例的裝置,透過資訊輸出設備內設的通訊模組與伺服器之間建立長連接,並將與資訊輸出設備相關聯的帳號資訊發送至伺服器,使得伺服器能夠根據該帳號資訊將針對入帳結果的輸出指令發送至資訊輸出設備,進而使資訊輸出設備根據接收到的輸出指令輸出入帳結果。可見,相較於現有技術中採用手機播報入帳結果的方法而言,該技術方案透過將資訊輸出設備與伺服器之間直接建立長連接來輸出入帳結果,解决了手機播報音量小、以及由於兼容性或商戶端版本較低等原因造成的播報觸發率低的問題,從而提高入帳結果輸出的成功率;並且,該技術方案中的資訊輸出設備無需透過WIFI或藍牙與手機建立連接,因此使得商家查收入帳結果時不再依賴於手機,且不局限於使用場所(如流動商家、便利店、計程車等),大大提高了商家查收入帳結果的體驗度。
圖3是根據本說明書一實施例的一種資訊輸出設備的示意性方塊圖。如圖3所示,資訊輸出設備300包括:
通訊模組310,用於與伺服器之間建立長連接;
處理器320,用於將與資訊輸出設備相關聯的帳號資訊發送至伺服器;接收伺服器根據帳號資訊發送的針對入帳結果的輸出指令;其中,輸出指令用於指示資訊輸出設備輸出入帳結果,入帳結果用於標識使用者端已完成線上支付;
播放器330,用於根據輸出指令,輸出入帳結果。
在一個實施例中,設備上承載有用於使用者端進行線上支付的二維碼。
在一個實施例中,設備上承載有用於進入資訊輸出設備對應的設置界面的二維碼;設置界面用於使用者對資訊輸出設備的相關資訊進行設置;
其中,相關資訊包括帳號資訊、入帳結果輸出模板、輸出音量、輸出內容、輸出時間、輸出頻率中的至少一項。
在一個實施例中,通訊模組為通用分組無線伺服技術模組。
圖4是根據本說明書一實施例的一種資訊輸出設備的示意性結構圖。如圖4所示,該資訊輸出設備的外表面承載有用於使用者端進行線上支付的二維碼,圖4中以“支付寶”為例。使用者掃描資訊輸出設備的外表面承載的二維碼後,可進入與該資訊輸出設備相關聯的帳號資訊對應的支付界面,並在該支付界面上完成線上支付。完成線上支付之後,伺服器將入帳結果發送至該資訊輸出設備,以使該資訊輸出設備播報入帳結果。
圖4所示資訊輸出設備的背面可設置有挂孔(圖中未示出),該挂孔可用於資訊輸出設備懸挂放置,如懸挂在凸起物上,或懸挂在繩子上等,從而方便使用者攜帶。
圖5a-5b是根據本說明書另一實施例的一種資訊輸出設備的示意性結構圖。圖5a和圖5b所示的資訊輸出設備下方設置有底座,其中,圖5a示出了帶有底座的資訊輸出設備的側面,圖5b示出了帶有底座的資訊輸出設備的側後方。底座可用於資訊輸出設備在水平面上放置,從而方便使用者攜帶。
採用本說明書一個或多個實施例的設備,透過資訊輸出設備內設的通訊模組與伺服器之間建立長連接,並將與資訊輸出設備相關聯的帳號資訊發送至伺服器,使得伺服器能夠根據該帳號資訊將針對入帳結果的輸出指令發送至資訊輸出設備,進而使資訊輸出設備根據接收到的輸出指令輸出入帳結果。可見,相較於現有技術中採用手機播報入帳結果的方法而言,該技術方案透過將資訊輸出設備與伺服器之間直接建立長連接來輸出入帳結果,解决了手機播報音量小、以及由於兼容性或商戶端版本較低等原因造成的播報觸發率低的問題,從而提高入帳結果輸出的成功率;並且,該技術方案中的資訊輸出設備無需透過WIFI或藍牙與手機建立連接,因此使得商家查收入帳結果時不再依賴於手機,且不局限於使用場所(如流動商家、便利店、計程車等),大大提高了商家查收入帳結果的體驗度。
本領域的技術人員應可理解,上述資訊輸出裝置及資訊輸出設備能夠用來實現前文所述的資訊輸出方法,其中的細節描述應與前文方法部分描述類似,為避免繁瑣,此處不另贅述。
基於同樣的思路,本說明書一個或多個實施例還提供一種資訊輸出設備,如圖6所示。資訊輸出設備可因配置或性能不同而產生比較大的差异,可以包括一個或一個以上的處理器601和記憶體602,記憶體602中可以儲存有一個或一個以上儲存應用程式或資料。其中,記憶體602可以是短暫儲存或持久儲存。儲存在記憶體602的應用程式可以包括一個或一個以上模組(圖示未示出),每個模組可以包括對資訊輸出設備中的一系列計算機可執行指令。更進一步地,處理器601可以設置為與記憶體602通訊,在資訊輸出設備上執行記憶體602中的一系列計算機可執行指令。資訊輸出設備還可以包括一個或一個以上電源603,一個或一個以上有線或無線網路介面604,一個或一個以上輸入輸出介面605,一個或一個以上鍵盤606。
具體在本實施例中,資訊輸出設備包括有記憶體,以及一個或一個以上的程式,其中一個或者一個以上程式儲存於記憶體中,且一個或者一個以上程式可以包括一個或一個以上模組,且每個模組可以包括對資訊輸出設備中的一系列計算機可執行指令,且經配置以由一個或者一個以上處理器執行該一個或者一個以上程式包含用於進行以下計算機可執行指令:
透過所述資訊輸出設備內設的通訊模組與伺服器之間建立長連接;及,將與所述資訊輸出設備相關聯的帳號資訊發送至所述伺服器;
接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令;其中,所述輸出指令用於指示所述資訊輸出設備輸出所述入帳結果,所述入帳結果用於標識使用者端已完成線上支付;
根據所述輸出指令,輸出所述入帳結果。
可選地,計算機可執行指令在被執行時,還可以使所述處理器:
接收與所述資訊輸出設備連接的行動終端發送的帳號資訊;其中,所述帳號資訊透過所述行動終端上顯示的所述資訊輸出設備對應的設置界面所設置;
建立所述帳號資訊與所述資訊輸出設備之間的關聯關係。
可選地,所述資訊輸出設備上承載有用於所述使用者端進行所述線上支付的二維碼;
相應的,計算機可執行指令在被執行時,還可以使所述處理器:
所述接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令之前,接收所述使用者端對所述二維碼的掃描操作,以使所述使用者端透過所述二維碼進行所述線上支付,並將所述線上支付對應的入帳結果發送至所述伺服器。
可選地,計算機可執行指令在被執行時,還可以使所述處理器:
獲取預存的入帳結果輸出模板;
按照預設規則組合所述入帳結果輸出模板與所述入帳結果,以產生入帳結果輸出內容;
輸出所述入帳結果輸出內容。
可選地,計算機可執行指令在被執行時,還可以使所述處理器:
所述獲取預存的入帳結果輸出模板之前,接收與所述資訊輸出設備連接的行動終端發送的所述入帳結果輸出模板;其中,所述入帳結果輸出模板透過所述行動終端上顯示的所述資訊輸出設備對應的設置界面所設置;
儲存所述入帳結果輸出模板。
可選地,計算機可執行指令在被執行時,還可以使所述處理器:
所述接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令之前,輸出第一內容,所述第一內容包括所述資訊輸出設備上的預存內容和/或所述伺服器發出至所述資訊輸出設備的指定內容;
相應的,計算機可執行指令在被執行時,還可以使所述處理器:
暫停對所述第一內容的輸出;
輸出所述入帳結果,並在所述入帳結果輸出完成之後,繼續輸出所述第一內容。
可選地,所述通訊模組為通用分組無線伺服技術模組。
本說明書一個或多個實施例還提出了一種計算機可讀儲存媒體,該計算機可讀儲存媒體儲存一個或多個程式,該一個或多個程式包括指令,該指令當被包括多個應用程式的電子設備執行時,能夠使該電子設備執行上述資訊輸出方法,並具體用於執行:
透過所述資訊輸出設備內設的通訊模組與伺服器之間建立長連接;及,將與所述資訊輸出設備相關聯的帳號資訊發送至所述伺服器;
接收所述伺服器根據所述帳號資訊發送的針對入帳結果的輸出指令;其中,所述輸出指令用於指示所述資訊輸出設備輸出所述入帳結果,所述入帳結果用於標識使用者端已完成線上支付;
根據所述輸出指令,輸出所述入帳結果。
上述實施例闡明的系統、裝置、模組或單元,具體可以由計算機晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為計算機。具體的,計算機例如可以為個人計算機、膝上型計算機、蜂巢式電話、相機電話、智慧型電話、個人數位助理、媒體播放器、導航設備、電子郵件設備、遊戲控制台、平板計算機、可穿戴設備或者這些設備中的任何設備的組合。
為了描述的方便,描述以上裝置時以功能分為各種單元分別描述。當然,在實施本說明書一個或多個實施例時可以把各單元的功能在同一個或多個軟體和/或硬體中實現。
本領域內的技術人員應明白,本說明書一個或多個實施例可提供為方法、系統、或計算機程式產品。因此,本說明書一個或多個實施例可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本說明書一個或多個實施例可採用在一個或多個其中包含有計算機可用程式代碼的計算機可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的計算機程式產品的形式。
本說明書一個或多個實施例是參照根據本申請實施例的方法、設備(系統)、和計算機程式產品的流程圖和/或方塊圖來描述的。應理解可由計算機程式指令實現流程圖和/或方塊圖中的每一流程和/或方塊、以及流程圖和/或方塊圖中的流程和/或方塊的結合。可提供這些計算機程式指令到通用計算機、專用計算機、嵌入式處理機或其他可程式化資料處理設備的處理器以產生一個機器,使得透過計算機或其他可程式化資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的裝置。
這些計算機程式指令也可儲存在能引導計算機或其他可程式化資料處理設備以特定方式工作的計算機可讀記憶體中,使得儲存在該計算機可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能。
這些計算機程式指令也可裝載到計算機或其他可程式化資料處理設備上,使得在計算機或其他可程式化設備上執行一系列操作步驟以產生計算機實現的處理,從而在計算機或其他可程式化設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的步驟。
在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和內存。
內存可能包括計算機可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非揮發性性內存等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。內存是計算機可讀媒體的示例。
計算機可讀媒體包括永久性和非永久性、可行動和非可行動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是計算機可讀指令、資料結構、程式的模組或其他資料。計算機的儲存媒體的例子包括,但不限於相變內存(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式化唯讀記憶體(EEPROM)、快閃記憶體或其他內存技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁碟儲存或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備訪問的資訊。按照本文中的界定,計算機可讀媒體不包括暫態電腦可讀媒體(transitory media),如調變的資料訊號和載波。
還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情况下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。
本說明書一個或多個實施例可以在由計算機執行的計算機可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的歷程、程式、對象、組件、資料結構等等。也可以在分布式計算環境中實踐本申請,在這些分布式計算環境中,由透過通訊網路而被連接的遠程處理設備來執行任務。在分布式計算環境中,程式模組可以位於包括儲存設備在內的本地和遠程計算機儲存媒體中。
本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。
以上所述僅為本說明書一個或多個實施例而已,並不用於限制本說明書。對於本領域技術人員來說,本說明書一個或多個實施例可以有各種更改和變化。凡在本說明書一個或多個實施例的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本說明書一個或多個實施例的權利要求範圍之內。One or more embodiments of the present specification provide an information output method, device, and equipment to improve the success rate and convenience of the output of the account result, and thereby meet the needs of various businesses for checking the income account results.
In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will combine the drawings in one or more embodiments of this specification to compare the The technical solution is described clearly and completely. Obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of one or more embodiments of this specification.
Fig. 1 is a schematic flowchart of an information output method according to an embodiment of the present specification. As shown in Fig. 1, the method includes:
S102, establishing a long connection between the communication module provided in the information output device and the server; and, sending the account information associated with the information output device to the server.
Among them, the communication module is a general packet wireless servo technology module, namely GPRS module.
After the information output device is powered on, it can automatically access the server through its pre-stored MQTT (Message Queuing Telemetry Transport) protocol (including connection address, port, name, account, password, etc.). And, according to the flow of information output equipment. It can maintain an automatic heartbeat connection with the server at a certain frequency (for example, once every three minutes) after power on. After a long connection is established between the information output device and the server, a channel for subscribing/publishing messages to and from the server is established through the MQTT protocol. Through this channel, the server can send a message to be output to the information output device, such as sending Advertising, crediting results, etc.
The account information associated with the information output device is unique, and it can be the information carried by the QR code itself, or it can be the account information corresponding to the QR code and preset by the user.
S104: Receive an output instruction for the account entry result sent by the server according to the account information.
Among them, the output instruction is used to instruct the information output device to output the account result, and the account result is used to identify that the user terminal has completed the online payment.
Before performing this step, the user can use the payment client on the mobile terminal to scan the QR code for online payment, and then complete the online payment by interacting with the server. Among them, the two-dimensional code can be set on the outer surface of the information output device, or on other types of materials (such as paper materials), and is associated with the account information of the information output device. After the user finishes the online payment, the server will send the output command of the account result to the information output device corresponding to the account information according to the account information associated with the QR code.
S106: According to the output instruction, output the account result.
In this embodiment, the account result can be output through voice output.
Using the technical solutions of one or more embodiments of this specification, a long connection is established between the communication module in the information output device and the server, and the account information associated with the information output device is sent to the server, so that the server According to the account information, the device can send an output command for the result of the account to the information output device, so that the information output device outputs the result of the account according to the received output command. It can be seen that compared to the method of using mobile phones to broadcast the account results in the prior art, this technical solution solves the problem of low volume and low volume of mobile phone broadcasts by directly establishing a long connection between the information output device and the server. The low trigger rate of the broadcast caused by compatibility or low merchant version, thereby increasing the success rate of the account result output; and the information output device in this technical solution does not need to establish a connection with the mobile phone through WIFI or Bluetooth. Therefore, merchants no longer rely on mobile phones when checking income account results, and are not limited to places of use (such as mobile merchants, convenience stores, taxis, etc.), greatly improving the experience of merchant checking income account results.
In one embodiment, the outer surface of the information output device is provided with a two-dimensional code for entering the setting interface of the information output device. The user can enter the setting interface of the information output device by scanning the QR code with the "scan" function on the mobile terminal. On the setting interface, the user can set the relevant information of the information output device. The relevant information can include the account result output template, the account information associated with the information output device, output volume, output content, output time, output frequency, Handling of traffic payment and so on.
The following is a detailed description of the setting and use of various related information.
In one embodiment, the user sets the account information associated with the information output setting on the setting interface of the information output device in advance. After the account information is set, the mobile terminal sends the account information to the information output device. After the information output device receives the account information sent by the mobile terminal, it establishes an association relationship between the account information and the information output device.
In this embodiment, by establishing the association relationship between the account information and the information output device, the server can directly send the account result to the information output device according to the account information without using a mobile terminal (such as a mobile phone) as an intermediate device. It solves the problem of low broadcast volume on mobile phones and low broadcast trigger rate due to compatibility or low merchant version, so as to improve the success rate of the output of the account result.
In one embodiment, the user pre-sets the account result output template on the setting interface of the information output device, wherein the account result output template can be set by the user according to preferences or needs, or can be downloaded from the server in advance. Accounting result output template. The server has pre-stored multiple payment result output templates. Through the setting interface of the information output device, users can select one of the payment result output templates according to their preferences or needs. After setting the payment result output template, the mobile terminal will Send the accounting result output template to the information output device. The information output device receives the account result output template sent by the mobile terminal, and stores the account result output template.
After the information output device stores the accounting result output template, it can receive the accounting result sent by the server, and generate the accounting result output content according to the accounting result and the accounting result output template.
In one embodiment, the information output device carries a QR code for online payment on the user side. When the user makes an online payment, he can use the "scan" function on the mobile terminal to scan the QR code on the information output device, and then use the QR code to make the online payment, and send the corresponding credit result of the online payment to the server Device.
Next, the server sends the account result to the information output device. After the information output device receives the entry result, it obtains the pre-stored entry result output template, and combines the entry result output template with the entry result according to preset rules to generate the entry result output content, and then output the entry result output content .
Optionally, there is a blank position in the accounting result output template. Correspondingly, the preset rule is to directly add the accounting result to the blank position in the accounting result output template. For example, the output template of the account result is "Little Apple Account...", where "Little Apple" is the merchant's Alipay account name, where an ellipsis "..." indicates a blank position, and the result of the account is "20 yuan in the account" , Then, directly add the account result to the blank position in the account result output template, and the output content of the account result is "20 yuan into the account of the little apple". Of course, the blank position can also be expressed in other ways than the ellipsis.
Another option is that designated characters are set in the accounting result output template, and correspondingly, the preset rule is to replace the designated characters in the accounting result template with the accounting result. For example, the input result output template is “Little Apple Account XXXX”, where “Little Apple” is the merchant’s Alipay account name, “XXXX” is the designated character, and the result of the account is “20 yuan in the account”, then use the account After the account result replaces the specified characters in the account result output template, the output content of the account result is "20 yuan in the account of the Little Apple".
In this embodiment, the accounting result output template is preset, and the accounting result output content is generated according to the accounting result output template and the accounting result, so that the accounting result output by the information output device can better meet the user's preferences or needs , Improve the user experience of checking the income account results.
Of course, in one embodiment, the account result output template may not be set, that is, after the information output device receives the account result sent by the server, it directly outputs the account result as the output content of the account result.
In one embodiment, the user sets the output content on the setting interface of the information output device in advance. Wherein, the output content may be the output content of the accounting result in the foregoing embodiment, or may be other content unrelated to the accounting result. Other content such as: "Welcome to XXX" when the power is turned on, "Battery power is insufficient, please charge" when the power supply is insufficient, "The network signal is not good, try to connect" when the network is disconnected, and The broadcast content during the system upgrade is "system upgrade, please wait", broadcast content before crediting, content after crediting, sales promotion content of merchants, etc.
The other contents listed above can be set in the setting interface of the information output device. The information output device can pre-store multiple output content, and the user can choose which output content to output according to needs.
If the content to be broadcast before the account is set, after receiving the account result, the broadcast content before the account is given priority, and then the output content of the account result is broadcast; if the content is broadcast after the account is set, the account is received After the result, the output content of the account result will be broadcast first, and then the content will be broadcast after the account is entered.
In one embodiment, the information output device can also broadcast other content that is not preset. For example, the server periodically sends out messages (such as weather forecast, time broadcast, etc.) to the information output device, and the information output device broadcasts the message after receiving the message sent by the server.
In this embodiment, the information output device can not only output the account results, but also other information such as weather, time, etc. This is for some businesses (such as mobile vendors, snack bars, convenience stores, vegetable markets, taxis, etc.) It is very convenient for businesses, which greatly improves the experience of such businesses using information output devices.
In one embodiment, the information output device may output first content before receiving the output command for the credit result sent by the server according to the account information. The first content may include pre-stored content on the information output device (such as pre-stored merchants). Sales promotion content) and/or designated content (such as weather forecast) sent by the server to the information output device. If the information output device is in the process of outputting the first content and receives an output instruction sent by the server, it will suspend the output of the first content and output the result of the account. When the output of the account result is completed, continue to output the first content.
In addition to the output content described in the several embodiments listed above, the information output device can also interact with the server for other content, including the configuration parameters of the information output device, upgrade firmware files, and configuration results ( Including configuration success or failure), latitude and longitude information, device information, message download results (download success or failure), etc.
In summary, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired result. In certain embodiments, multitasking and parallel processing may be advantageous.
The above is the information output method provided by one or more embodiments of this specification. Based on the same idea, one or more embodiments of this specification also provide an information output device.
Fig. 2 is a schematic block diagram of an information output device according to an embodiment of the present specification. As shown in FIG. 2, the information output device 200 is applied to information output equipment and includes:
The connection module 210 is used to establish a long connection between the communication module built in the information output device and the server; and, send the account information associated with the information output device to the server;
The first receiving module 220 is used to receive an output instruction for the account result sent by the server according to the account information; wherein the output instruction is used to instruct the information output device to output the account result, and the account result is used to identify the user end Complete online payment;
The first output module 230 is used for outputting the account result according to the output instruction.
In an embodiment, the apparatus 200 further includes:
The second receiving module is used to receive account information sent by a mobile terminal connected to an information output device; wherein the account information is set through a setting interface corresponding to the information output device displayed on the mobile terminal;
The establishment module is used to establish the association relationship between the account information and the information output device.
In one embodiment, the information output device carries a QR code for online payment on the user side;
Correspondingly, the device 200 further includes:
The third receiving module is used to receive the scanning operation of the QR code from the user side before receiving the output command for the account result sent by the server according to the account information, so that the user side can make online payment through the QR code. And send the account result corresponding to the online payment to the server.
In one embodiment, the first output module 230 includes:
The obtaining unit is used to obtain the pre-stored account result output template;
The generating unit is used to combine the entry result output template and the entry result according to preset rules to generate the entry result output content;
The first output unit is used to output the output content of the account result.
In an embodiment, the apparatus 200 further includes:
The fourth receiving module is used to receive the account result output template sent by the mobile terminal connected to the information output device before obtaining the pre-stored account result output template; wherein the account result output template is output through the information displayed on the mobile terminal Set by the corresponding setting interface of the device;
The storage module is used to store the account result output template.
In an embodiment, the apparatus 200 further includes:
The second output module outputs the first content before receiving the output instruction for the account result sent by the server according to the account information. The first content includes the pre-stored content on the information output device and/or the designation sent by the server to the information output device content;
Correspondingly, the first output module 230 includes:
The pause unit is used to pause the output of the first content;
The second output unit is used to output the account result, and after the account result output is completed, continue to output the first content.
In one embodiment, the communication module is a general packet wireless servo technology module.
Using the device of one or more embodiments of this specification, a long connection is established between the communication module set in the information output device and the server, and the account information associated with the information output device is sent to the server, so that the server According to the account information, the output instruction for the account result can be sent to the information output device, so that the information output device outputs the account result according to the received output instruction. It can be seen that compared to the method of using mobile phones to broadcast the account results in the prior art, this technical solution solves the problem of low volume and low volume of mobile phone broadcasts by directly establishing a long connection between the information output device and the server. The low trigger rate of the broadcast caused by compatibility or low merchant version, thereby increasing the success rate of the account result output; and the information output device in this technical solution does not need to establish a connection with the mobile phone through WIFI or Bluetooth. Therefore, merchants no longer rely on mobile phones when checking income account results, and are not limited to places of use (such as mobile merchants, convenience stores, taxis, etc.), greatly improving the experience of merchant checking income account results.
Fig. 3 is a schematic block diagram of an information output device according to an embodiment of the present specification. As shown in FIG. 3, the information output device 300 includes:
The communication module 310 is used to establish a long connection with the server;
The processor 320 is configured to send account information associated with the information output device to the server; receive an output instruction for the account result sent by the server according to the account information; wherein the output instruction is used to instruct the information output device to output and enter the account As a result, the entry result is used to identify that the user has completed the online payment;
The player 330 is used for outputting the account result according to the output instruction.
In one embodiment, the device carries a QR code for online payment on the user side.
In one embodiment, the device carries a QR code for entering the setting interface corresponding to the information output device; the setting interface is used by the user to set the relevant information of the information output device;
Among them, the relevant information includes at least one of account information, an output template of the account result, output volume, output content, output time, and output frequency.
In one embodiment, the communication module is a general packet wireless servo technology module.
Fig. 4 is a schematic structural diagram of an information output device according to an embodiment of the present specification. As shown in Figure 4, the outer surface of the information output device carries a two-dimensional code for online payment on the user side. In Figure 4, "Alipay" is taken as an example. After scanning the QR code carried on the outer surface of the information output device, the user can enter the payment interface corresponding to the account information associated with the information output device, and complete online payment on the payment interface. After completing the online payment, the server sends the account result to the information output device so that the information output device broadcasts the account result.
The back of the information output device shown in Figure 4 can be provided with a hanging hole (not shown in the figure). The hanging hole can be used for hanging the information output device, such as hanging on a protrusion or hanging on a rope, so as to facilitate The user carries.
5a-5b are schematic structural diagrams of an information output device according to another embodiment of this specification. The information output device shown in FIGS. 5a and 5b is provided with a base below, wherein FIG. 5a shows the side of the information output device with the base, and FIG. 5b shows the side and rear of the information output device with the base. The base can be used to place information output equipment on a horizontal surface, so that it is convenient for users to carry.
The device using one or more embodiments of this specification establishes a long connection between the communication module built in the information output device and the server, and sends the account information associated with the information output device to the server, so that the server According to the account information, the output instruction for the account result can be sent to the information output device, so that the information output device outputs the account result according to the received output instruction. It can be seen that compared to the method of using mobile phones to broadcast the account results in the prior art, this technical solution solves the problem of low volume and low volume of mobile phone broadcasts by directly establishing a long connection between the information output device and the server. The low trigger rate of the broadcast caused by compatibility or low merchant version, thereby increasing the success rate of the account result output; and the information output device in this technical solution does not need to establish a connection with the mobile phone through WIFI or Bluetooth. Therefore, merchants no longer rely on mobile phones when checking income account results, and are not limited to places of use (such as mobile merchants, convenience stores, taxis, etc.), greatly improving the experience of merchant checking income account results.
Those skilled in the art should understand that the above-mentioned information output device and information output device can be used to implement the information output method described above, and the detailed description should be similar to the method part described above. In order to avoid cumbersomeness, it will not be repeated here. .
Based on the same idea, one or more embodiments of this specification also provide an information output device, as shown in FIG. 6. Information output devices may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and a memory 602, and the memory 602 may store one or more storage applications or data. Among them, the memory 602 may be short-term storage or permanent storage. The application program stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for the information output device. Furthermore, the processor 601 may be configured to communicate with the memory 602 and execute a series of computer executable instructions in the memory 602 on the information output device. The information output device may also include one or more power sources 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, and one or more keyboards 606.
Specifically in this embodiment, the information output device includes memory and one or more programs, one or more programs are stored in the memory, and one or more programs may include one or more modules, And each module may include a series of computer-executable instructions for the information output device, and the one or more programs configured to be executed by one or more processors include the following computer-executable instructions:
Establishing a long connection between the communication module provided in the information output device and the server; and sending the account information associated with the information output device to the server;
Receive an output instruction for the crediting result sent by the server according to the account information; wherein the output instruction is used to instruct the information output device to output the crediting result, and the crediting result is used to identify the use The client has completed the online payment;
According to the output instruction, output the account result.
Optionally, when the computer-executable instructions are executed, the processor may also be:
Receiving account information sent by a mobile terminal connected to the information output device; wherein the account information is set through a setting interface corresponding to the information output device displayed on the mobile terminal;
Establishing an association relationship between the account information and the information output device.
Optionally, the information output device carries a QR code for the user to make the online payment;
Correspondingly, when the computer executable instructions are executed, they can also cause the processor to:
Before the receiving the output command for the crediting result sent by the server according to the account information, receiving the scanning operation of the two-dimensional code from the user end, so that the user end can pass through the two The Dimension Code performs the online payment, and sends the account result corresponding to the online payment to the server.
Optionally, when the computer-executable instructions are executed, the processor may also be:
Obtain the pre-stored account result output template;
Combining the entry result output template and the entry result according to preset rules to generate the entry result output content;
Output the output content of the entry result.
Optionally, when the computer-executable instructions are executed, the processor may also be:
Before obtaining the pre-stored account result output template, receive the account result output template sent by the mobile terminal connected to the information output device; wherein the account result output template is displayed on the mobile terminal Set by the setting interface corresponding to the information output device;
The output template of the entry result is stored.
Optionally, when the computer-executable instructions are executed, the processor may also be:
Before the receiving the output instruction for the account result sent by the server according to the account information, output first content, the first content including the pre-stored content on the information output device and/or the server Designated content sent to the information output device;
Correspondingly, when the computer executable instructions are executed, they can also cause the processor to:
Pause the output of the first content;
Output the account entry result, and continue to output the first content after the output of the account entry result is completed.
Optionally, the communication module is a general packet wireless servo technology module.
One or more embodiments of this specification also propose a computer-readable storage medium that stores one or more programs. The one or more programs include instructions. When the instructions include multiple application programs, When the electronic device is executed, the electronic device can execute the above-mentioned information output method, and is specifically used to execute:
Establishing a long connection between the communication module provided in the information output device and the server; and sending the account information associated with the information output device to the server;
Receive an output instruction for the crediting result sent by the server according to the account information; wherein the output instruction is used to instruct the information output device to output the crediting result, and the crediting result is used to identify the use The client has completed the online payment;
According to the output instruction, output the account result.
The systems, devices, modules, or units explained in the above embodiments may be implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, and a wearable. Device or any combination of these devices.
For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing one or more embodiments of this specification, the functions of each unit may be implemented in the same or multiple software and/or hardware.
Those skilled in the art should understand that one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification can be implemented on one or more computer-usable storage media (including but not limited to magnetic disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes. In the form of a computer program product.
One or more embodiments of this specification are described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing equipment to generate a machine that can be executed by the processors of the computer or other programmable data processing equipment Produce means for realizing the functions specified in one or more processes in the flowchart and/or one block or more in the block diagram.
These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including the instruction device , The instruction device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operating steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the computer or other programmable equipment The instructions executed above provide steps for implementing functions specified in one or more processes in the flowchart and/or one block or more in the block diagram.
In a typical configuration, the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
Memory may include non-permanent memory, random access memory (RAM) and/or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash RAM). ). Memory is an example of computer-readable media.
Computer-readable media includes permanent and non-permanent, movable and non-movable media, and information storage can be realized by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), Read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital multi-function disc ( DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, product or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include processes, programs, objects, components, data structures, etc. that perform specific tasks or realize specific abstract data types. This application can also be implemented in distributed computing environments. In these distributed computing environments, remote processing devices connected through a communication network perform tasks. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
The above description is only one or more embodiments of this specification, and is not used to limit this specification. For those skilled in the art, one or more embodiments of this specification can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification should be included in the scope of the claims of one or more embodiments of this specification.