[go: up one dir, main page]

CN110868640A - Resource transfer method, device, device and storage medium - Google Patents

Resource transfer method, device, device and storage medium Download PDF

Info

Publication number
CN110868640A
CN110868640A CN201911130269.0A CN201911130269A CN110868640A CN 110868640 A CN110868640 A CN 110868640A CN 201911130269 A CN201911130269 A CN 201911130269A CN 110868640 A CN110868640 A CN 110868640A
Authority
CN
China
Prior art keywords
resource transfer
message
server
smart
prompt message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911130269.0A
Other languages
Chinese (zh)
Inventor
杨亮
谢康
韩超
张昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911130269.0A priority Critical patent/CN110868640A/en
Publication of CN110868640A publication Critical patent/CN110868640A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/47815Electronic shopping

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开提供了一种资源转移方法、装置、设备及存储介质,属于互联网技术领域。该方法包括:智能电视获取携带资源转移信息的资源转移请求,发送给服务器,资源转移信息包括智能电视当前登录的用户标识;服务器用于向智能设备发送提示消息,由智能设备输出,当智能设备检测到对提示消息的确认操作时向服务器返回确认消息,服务器用于基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息;由智能电视显示资源转移完成消息。在智能电视要进行资源转移时,用户无需执行多步操作,只需对智能设备输出的提示消息进行确认操作即可在智能电视上实现资源转移,简化用户操作,提高资源转移操作的效率,扩展智能电视的功能。

Figure 201911130269

The present disclosure provides a resource transfer method, device, device and storage medium, which belong to the technical field of the Internet. The method includes: the smart TV obtains a resource transfer request carrying resource transfer information, and sends it to a server, where the resource transfer information includes a user ID currently logged in by the smart TV; the server is configured to send a prompt message to the smart device, which is output by the smart device, and when the smart device When a confirmation operation for the prompt message is detected, a confirmation message is returned to the server, and the server is used to perform a resource transfer operation based on the resource transfer information, and send a resource transfer completion message to the smart TV; the smart TV displays the resource transfer completion message. When the smart TV needs to perform resource transfer, the user does not need to perform multi-step operations, but only needs to confirm the prompt message output by the smart device to realize resource transfer on the smart TV, simplify user operations, improve the efficiency of resource transfer operations, expand Smart TV features.

Figure 201911130269

Description

资源转移方法、装置、设备及存储介质Resource transfer method, device, device and storage medium

技术领域technical field

本公开涉及互联网技术领域,尤其涉及一种资源转移方法、装置、设备及存储介质。The present disclosure relates to the field of Internet technologies, and in particular, to a resource transfer method, apparatus, device, and storage medium.

背景技术Background technique

随着科学技术的发展,智能电视在人们的日常生活中越来越普及,功能也越来越全面。目前的智能电视不仅具有播放多媒体数据的功能,还具有资源转移功能,极大地丰富了人们的日常生活。With the development of science and technology, smart TVs are becoming more and more popular in people's daily life, and their functions are becoming more and more comprehensive. The current smart TV not only has the function of playing multimedia data, but also has the function of resource transfer, which greatly enriches people's daily life.

相关技术中通常采用图形码进行资源转移,智能电视显示图形码,移动终端查找资源转移应用,打开资源转移应用,通过该资源转移应用扫描该图形码,从而基于该图形码进行资源转移操作。但是该方式需要用户在移动终端上执行查找资源转移应用、打开资源转移应用、扫描图形码等多个步骤,才能完成资源转移操作,操作繁琐,操作效率低下。In the related art, a graphic code is usually used for resource transfer. A smart TV displays the graphic code. A mobile terminal searches for a resource transfer application, opens the resource transfer application, and scans the graphic code through the resource transfer application to perform a resource transfer operation based on the graphic code. However, this method requires the user to perform multiple steps on the mobile terminal, such as searching for the resource transfer application, opening the resource transfer application, and scanning the graphic code to complete the resource transfer operation, which is cumbersome and inefficient.

发明内容SUMMARY OF THE INVENTION

本公开提供一种资源转移方法、装置、设备及存储介质,可以克服相关技术中存在的问题,所述技术方案如下:The present disclosure provides a resource transfer method, device, device and storage medium, which can overcome the problems existing in the related art. The technical solutions are as follows:

根据本公开实施例提供的第一方面,提供了一种资源转移方法,应用于智能电视,所述方法包括:According to the first aspect provided by the embodiments of the present disclosure, there is provided a resource transfer method, which is applied to a smart TV, and the method includes:

获取资源转移请求,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;Obtaining a resource transfer request, where the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV;

向服务器发送所述资源转移请求,所述服务器用于向智能设备发送提示消息,所述智能设备用于输出所述提示消息,当检测到对所述提示消息的确认操作时返回确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息;Send the resource transfer request to the server, the server is used to send a prompt message to the smart device, the smart device is used to output the prompt message, and returns a confirmation message when a confirmation operation for the prompt message is detected, so The server is configured to, when receiving the confirmation message, perform a resource transfer operation based on the resource transfer information, and send a resource transfer completion message to the smart TV;

当接收到所述服务器发送的资源转移完成消息时,显示所述资源转移完成消息。When receiving the resource transfer completion message sent by the server, the resource transfer completion message is displayed.

在一种可能实现方式中,所述获取资源转移请求包括:In a possible implementation manner, the obtaining resource transfer request includes:

基于所述用户标识显示快应用的应用界面,所述应用界面中包括所述资源转移信息和资源转移选项,所述快应用基于所述智能电视的操作系统提供的原生应用程序接口API运行;Displaying an application interface of a quick application based on the user identifier, the application interface includes the resource transfer information and resource transfer options, and the quick application runs based on a native application program interface API provided by the operating system of the smart TV;

当检测到对所述资源转移选项的触发操作时,生成所述资源转移请求。The resource transfer request is generated when a triggering operation on the resource transfer option is detected.

在另一种可能实现方式中,所述资源转移请求还携带所述智能设备的设备标识,所述服务器用于向所述设备标识对应的智能设备发送所述提示消息;In another possible implementation manner, the resource transfer request further carries a device identifier of the smart device, and the server is configured to send the prompt message to the smart device corresponding to the device identifier;

或者,所述服务器用于向登录所述用户标识的智能设备发送所述提示消息。Or, the server is configured to send the prompt message to the smart device logging in the user ID.

在另一种可能实现方式中,所述智能设备为智能手表;In another possible implementation, the smart device is a smart watch;

所述服务器用于向登录所述用户标识的终端发送提示消息;The server is configured to send a prompt message to the terminal logging in the user ID;

所述终端用于向绑定的智能手表发送所述提示消息;The terminal is configured to send the prompt message to the bound smart watch;

所述智能手表用于输出所述提示消息,当检测到对所述提示消息的确认操作时,通过所述终端向所述服务器返回所述确认消息。The smart watch is configured to output the prompt message, and when a confirmation operation for the prompt message is detected, the terminal returns the confirmation message to the server.

在另一种可能实现方式中,所述资源转移信息包括订单标识,所述服务器还用于基于所述资源转移信息进行资源转移操作后,将所述订单标识对应的状态标识由第一状态标识更改为第二状态标识,向所述智能电视发送状态更新消息,所述状态更新消息携带所述第二状态标识;所述方法还包括:In another possible implementation manner, the resource transfer information includes an order identifier, and the server is further configured to, after performing a resource transfer operation based on the resource transfer information, change the state identifier corresponding to the order identifier to the first state identifier Change to a second state identifier, and send a state update message to the smart TV, where the state update message carries the second state identifier; the method further includes:

当接收到所述状态更新消息时,显示所述订单标识对应的所述第二状态标识。When the status update message is received, the second status identifier corresponding to the order identifier is displayed.

根据本公开实施例提供的第二方面,提供了一种资源转移方法,应用于智能设备,所述方法包括:According to the second aspect provided by the embodiments of the present disclosure, there is provided a resource transfer method, which is applied to a smart device, and the method includes:

接收服务器发送的提示消息,所述提示消息由所述服务器接收到智能电视发送的资源转移请求后发送,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;Receive a prompt message sent by the server. The prompt message is sent by the server after receiving the resource transfer request sent by the smart TV. The resource transfer request carries resource transfer information, and the resource transfer information at least includes the current login of the smart TV. user ID;

输出所述提示消息;output the prompt message;

当检测到对所述提示消息的确认操作时,向所述服务器发送确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息。When a confirmation operation for the prompt message is detected, a confirmation message is sent to the server, and the server is configured to perform a resource transfer operation based on the resource transfer information when receiving the confirmation message, and send a confirmation message to the intelligent The TV sends a resource transfer complete message.

在一种可能实现方式中,所述智能设备为智能手表,所述服务器用于向登录所述用户标识的终端发送提示消息,所述智能手表与所述终端绑定;In a possible implementation manner, the smart device is a smart watch, the server is configured to send a prompt message to a terminal logging in the user ID, and the smart watch is bound to the terminal;

所述接收服务器发送的提示消息,包括:接收所述终端转发的所述提示消息。The receiving the prompt message sent by the server includes: receiving the prompt message forwarded by the terminal.

在另一种可能实现方式中,所述输出所述提示消息,包括以下至少一种:In another possible implementation, the outputting the prompt message includes at least one of the following:

显示文本提示消息;Display a text prompt message;

播放语音提示消息;Play a voice prompt message;

以震动的方式输出所述提示消息。The prompt message is output in a vibration manner.

在另一种可能实现方式中,所述当检测到对所述提示消息的确认操作时,向所述服务器发送确认消息,包括以下至少一种:In another possible implementation manner, when a confirmation operation for the prompt message is detected, sending a confirmation message to the server includes at least one of the following:

当检测到对显示的确认选项的触发操作时,向所述服务器发送所述确认消息;sending the confirmation message to the server when a triggering operation on the displayed confirmation option is detected;

当接收到包含确认关键词的语音信息时,向所述服务器发送所述确认消息;Send the confirmation message to the server when receiving the voice message containing the confirmation keyword;

当检测到预设的确认手势信号时,向所述服务器发送所述确认消息。When a preset confirmation gesture signal is detected, the confirmation message is sent to the server.

根据本公开实施例提供的第三方面,提供了一种资源转移方法,应用于终端,所述方法包括:According to a third aspect provided by the embodiments of the present disclosure, a resource transfer method is provided, which is applied to a terminal, and the method includes:

基于当前登录的用户标识,接收服务器发送的提示消息,所述提示消息由所述服务器接收到智能电视发送的资源转移请求后发送,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的所述用户标识;Based on the currently logged in user ID, a prompt message sent by the server is received. The prompt message is sent by the server after receiving the resource transfer request sent by the smart TV. The resource transfer request carries resource transfer information, and the resource transfer information at least Including the user identification currently logged in by the smart TV;

向绑定的智能手表发送所述提示消息,所述智能手表用于输出所述提示消息,当检测到对所述提示消息的确认操作时,返回所述确认消息;Sending the prompt message to the bound smart watch, where the smart watch is used to output the prompt message, and returns the confirmation message when a confirmation operation for the prompt message is detected;

当接收到所述确认消息时,向所述服务器发送所述确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息。When receiving the confirmation message, send the confirmation message to the server, and the server is configured to perform a resource transfer operation based on the resource transfer information when receiving the confirmation message, and send the confirmation message to the smart TV Resource transfer complete message.

在一种可能实现方式中,显示所述提示消息;In a possible implementation manner, displaying the prompt message;

当接收到所述确认消息时,取消显示所述提示消息。When the confirmation message is received, the prompt message is canceled.

根据本公开实施例提供的第四方面,提供了一种资源转移方法,应用于服务器,所述方法包括:According to a fourth aspect provided by the embodiments of the present disclosure, there is provided a resource transfer method, which is applied to a server, and the method includes:

接收智能电视发送的资源转移请求,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;Receive a resource transfer request sent by the smart TV, where the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV;

向智能设备发送提示消息,所述智能设备用于输出所述提示消息,当检测到对所述提示消息的确认操作时返回确认消息;Sending a prompt message to a smart device, where the smart device is used to output the prompt message, and returns a confirmation message when a confirmation operation for the prompt message is detected;

当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作;When receiving the confirmation message, perform a resource transfer operation based on the resource transfer information;

向所述智能电视发送资源转移完成消息,所述智能电视用于显示所述资源转移完成消息。Sending a resource transfer completion message to the smart TV, where the smart TV is configured to display the resource transfer completion message.

在一种可能实现方式中,所述智能设备为智能手表,所述向智能设备发送提示消息,包括:In a possible implementation manner, the smart device is a smart watch, and the sending a prompt message to the smart device includes:

向登录所述用户标识的终端发送提示消息,由所述终端向绑定的所述智能手表发送所述提示消息。Send a prompt message to the terminal that logs in the user ID, and the terminal sends the prompt message to the bound smart watch.

在另一种可能实现方式中,所述资源转移请求还携带所述智能设备的设备标识,所述向智能设备发送提示消息,包括:In another possible implementation manner, the resource transfer request further carries the device identifier of the smart device, and the sending a prompt message to the smart device includes:

向所述设备标识对应的智能设备发送所述提示消息。Send the prompt message to the smart device corresponding to the device identifier.

在另一种可能实现方式中,所述资源转移信息包括订单标识,所述方法还包括:In another possible implementation, the resource transfer information includes an order identifier, and the method further includes:

基于所述资源转移信息进行资源转移操作后,将所述订单标识对应的状态标识由第一状态标识更改为第二状态标识;After the resource transfer operation is performed based on the resource transfer information, the state identifier corresponding to the order identifier is changed from the first state identifier to the second state identifier;

向所述智能电视发送状态更新消息,所述状态更新消息携带所述第二状态标识,所述智能电视用于当接收到所述状态更新消息时,显示所述订单标识对应的所述第二状态标识。Send a status update message to the smart TV, where the status update message carries the second status ID, and the smart TV is configured to display the second status corresponding to the order ID when the smart TV receives the status update message. Status ID.

根据本公开实施例提供的第五方面,提供了一种资源转移装置,所述装置应用于智能电视中,所述装置包括:According to the fifth aspect provided by the embodiments of the present disclosure, there is provided a resource transfer apparatus, the apparatus is applied to a smart TV, and the apparatus includes:

获取模块,用于获取资源转移请求,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;an acquisition module, configured to acquire a resource transfer request, where the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV;

发送模块,用于向服务器发送所述资源转移请求,所述服务器用于向智能设备发送提示消息,所述智能设备用于输出所述提示消息,当检测到对所述提示消息的确认操作时返回确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息;a sending module, configured to send the resource transfer request to a server, the server is configured to send a prompt message to a smart device, and the smart device is configured to output the prompt message, when a confirmation operation for the prompt message is detected Returning a confirmation message, the server is configured to, when receiving the confirmation message, perform a resource transfer operation based on the resource transfer information, and send a resource transfer completion message to the smart TV;

消息显示模块,用于当接收到所述服务器发送的资源转移完成消息时,显示所述资源转移完成消息。The message display module is configured to display the resource transfer completion message when receiving the resource transfer completion message sent by the server.

在一种可能实现方式中,所述获取模块包括:In a possible implementation, the obtaining module includes:

显示单元,用于基于所述用户标识显示快应用的应用界面,所述应用界面中包括所述资源转移信息和资源转移选项,所述快应用基于所述智能电视的操作系统提供的原生应用程序接口API运行;A display unit, configured to display an application interface of a quick application based on the user identification, the application interface includes the resource transfer information and resource transfer options, and the quick application is based on the native application program provided by the operating system of the smart TV Interface API operation;

生成单元,用于当检测到对所述资源转移选项的触发操作时,生成所述资源转移请求。A generating unit, configured to generate the resource transfer request when a trigger operation on the resource transfer option is detected.

在另一种可能实现方式中,所述资源转移请求还携带所述智能设备的设备标识,所述服务器用于向所述设备标识对应的智能设备发送所述提示消息;In another possible implementation manner, the resource transfer request further carries a device identifier of the smart device, and the server is configured to send the prompt message to the smart device corresponding to the device identifier;

或者,所述服务器用于向登录所述用户标识的智能设备发送所述提示消息。Or, the server is configured to send the prompt message to the smart device logging in the user ID.

在另一种可能实现方式中,所述智能设备为智能手表;In another possible implementation, the smart device is a smart watch;

所述服务器用于向登录所述用户标识的终端发送提示消息;The server is configured to send a prompt message to the terminal logging in the user ID;

所述终端用于向绑定的智能手表发送所述提示消息;The terminal is configured to send the prompt message to the bound smart watch;

所述智能手表用于输出所述提示消息,当检测到对所述提示消息的确认操作时,通过所述终端向所述服务器返回所述确认消息。The smart watch is configured to output the prompt message, and when a confirmation operation for the prompt message is detected, the terminal returns the confirmation message to the server.

在另一种可能实现方式中,所述资源转移信息包括订单标识,所述服务器还用于基于所述资源转移信息进行资源转移操作后,将所述订单标识对应的状态标识由第一状态标识更改为第二状态标识,向所述智能电视发送状态更新消息,所述状态更新消息携带所述第二状态标识;所述装置还包括:In another possible implementation manner, the resource transfer information includes an order identifier, and the server is further configured to, after performing a resource transfer operation based on the resource transfer information, change the state identifier corresponding to the order identifier to the first state identifier Change to a second state identifier, and send a state update message to the smart TV, where the state update message carries the second state identifier; the device further includes:

标识显示模块,用于当接收到所述状态更新消息时,显示所述订单标识对应的所述第二状态标识。An identification display module, configured to display the second status identification corresponding to the order identification when the status update message is received.

根据本公开实施例提供的第六方面,提供了一种资源转移装置,所述装置应用于智能设备中,所述装置包括:According to the sixth aspect provided by the embodiments of the present disclosure, there is provided a resource transfer apparatus, the apparatus is applied in a smart device, and the apparatus includes:

接收模块,用于接收服务器发送的提示消息,所述提示消息由所述服务器接收到智能电视发送的资源转移请求后发送,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;A receiving module, configured to receive a prompt message sent by a server, the prompt message is sent by the server after receiving a resource transfer request sent by the smart TV, the resource transfer request carries resource transfer information, and the resource transfer information at least includes the the user ID of the smart TV currently logged in;

输出模块,用于输出所述提示消息;an output module for outputting the prompt message;

发送模块,用于当检测到对所述提示消息的确认操作时,向所述服务器发送确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息。a sending module, configured to send a confirmation message to the server when a confirmation operation for the prompt message is detected, and the server is configured to perform a resource transfer operation based on the resource transfer information when receiving the confirmation message , and send a resource transfer completion message to the smart TV.

在一种可能实现方式中,所述智能设备为智能手表,所述服务器用于向登录所述用户标识的终端发送提示消息,所述智能手表与所述终端绑定;In a possible implementation manner, the smart device is a smart watch, the server is configured to send a prompt message to a terminal logging in the user ID, and the smart watch is bound to the terminal;

所述接收模块,用于接收所述终端转发的所述提示消息。The receiving module is configured to receive the prompt message forwarded by the terminal.

在另一种可能实现方式中,所述输出模块,包括以下至少一种:In another possible implementation manner, the output module includes at least one of the following:

显示单元,用于显示文本提示消息;A display unit for displaying text prompt messages;

播放单元,用于播放语音提示消息;Playing unit, used for playing the voice prompt message;

震动单元,用于以震动的方式输出所述提示消息。A vibrating unit, used for outputting the prompt message in a vibrating manner.

在另一种可能实现方式中,所述发送模块,包括以下至少一种:In another possible implementation, the sending module includes at least one of the following:

第一发送单元,用于当检测到对显示的确认选项的触发操作时,向所述服务器发送所述确认消息;a first sending unit, configured to send the confirmation message to the server when a triggering operation on the displayed confirmation option is detected;

第二发送单元,用于当接收到包含确认关键词的语音信息时,向所述服务器发送所述确认消息;a second sending unit, configured to send the confirmation message to the server when receiving the voice message containing the confirmation keyword;

第三发送单元,用于当检测到预设的确认手势信号时,向所述服务器发送所述确认消息。The third sending unit is configured to send the confirmation message to the server when a preset confirmation gesture signal is detected.

根据本公开实施例提供的第七方面,提供了一种资源转移装置,所述装置应用于终端中,所述装置包括:According to a seventh aspect provided by the embodiments of the present disclosure, there is provided a resource transfer apparatus, the apparatus is applied in a terminal, and the apparatus includes:

接收模块,用于基于当前登录的用户标识,接收服务器发送的提示消息,所述提示消息由所述服务器接收到智能电视发送的资源转移请求后发送,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的所述用户标识;The receiving module is configured to receive a prompt message sent by the server based on the currently logged-in user ID, the prompt message is sent by the server after receiving the resource transfer request sent by the smart TV, and the resource transfer request carries resource transfer information, so The resource transfer information includes at least the user ID currently logged in by the smart TV;

提示消息发送模块,用于向绑定的智能手表发送所述提示消息,所述智能手表用于输出所述提示消息,当检测到对所述提示消息的确认操作时,返回所述确认消息;a prompt message sending module, configured to send the prompt message to the bound smart watch, the smart watch is used to output the prompt message, and when a confirmation operation for the prompt message is detected, the confirmation message is returned;

确认消息发送模块,用于当接收到所述确认消息时,向所述服务器发送所述确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息。A confirmation message sending module, configured to send the confirmation message to the server when the confirmation message is received, and the server is configured to perform a resource transfer operation based on the resource transfer information when receiving the confirmation message , and send a resource transfer completion message to the smart TV.

在一种可能实现方式中,所述装置还包括:In a possible implementation, the apparatus further includes:

显示模块,用于显示所述提示消息;a display module for displaying the prompt message;

所述显示模块,还用于当接收到所述确认消息时,取消显示所述提示消息。The display module is further configured to cancel the display of the prompt message when the confirmation message is received.

根据本公开实施例提供的第八方面,提供了一种资源转移装置,所述装置应用于服务器中,所述装置包括:According to an eighth aspect provided by the embodiments of the present disclosure, there is provided a resource transfer apparatus, the apparatus is applied in a server, and the apparatus includes:

接收模块,用于接收智能电视发送的资源转移请求,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;a receiving module, configured to receive a resource transfer request sent by the smart TV, where the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV;

提示消息发送模块,用于向智能设备发送提示消息,所述智能设备用于输出所述提示消息,当检测到对所述提示消息的确认操作时返回确认消息;a prompt message sending module, configured to send a prompt message to a smart device, where the smart device is configured to output the prompt message, and return a confirmation message when a confirmation operation for the prompt message is detected;

资源转移模块,用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作;a resource transfer module, configured to perform a resource transfer operation based on the resource transfer information when the confirmation message is received;

完成消息发送模块,用于向所述智能电视发送资源转移完成消息,所述智能电视用于显示所述资源转移完成消息。A completion message sending module, configured to send a resource transfer completion message to the smart TV, and the smart TV is configured to display the resource transfer completion message.

在一种可能实现方式中,所述智能设备为智能手表,所述提示消息发送模块,包括:In a possible implementation, the smart device is a smart watch, and the prompt message sending module includes:

第一发送单元,用于向登录所述用户标识的终端发送提示消息,由所述终端向绑定的所述智能手表发送所述提示消息。The first sending unit is configured to send a prompt message to the terminal that logs in the user ID, and the terminal sends the prompt message to the bound smart watch.

在另一种可能实现方式中,所述资源转移请求还携带所述智能设备的设备标识,所述提示消息发送模块,包括:In another possible implementation manner, the resource transfer request further carries the device identifier of the smart device, and the prompt message sending module includes:

第二发送单元,用于向所述设备标识对应的智能设备发送所述提示消息。The second sending unit is configured to send the prompt message to the smart device corresponding to the device identifier.

在另一种可能实现方式中,所述资源转移信息包括订单标识,所述装置还包括:In another possible implementation manner, the resource transfer information includes an order identifier, and the apparatus further includes:

状态更改模块,用于基于所述资源转移信息进行资源转移操作后,将所述订单标识对应的状态标识由第一状态标识更改为第二状态标识;a state change module, configured to change the state identifier corresponding to the order identifier from the first state identifier to the second state identifier after the resource transfer operation is performed based on the resource transfer information;

更新消息发送模块,用于向所述智能电视发送状态更新消息,所述状态更新消息携带所述第二状态标识,所述智能电视用于当接收到所述状态更新消息时,显示所述订单标识对应的所述第二状态标识。an update message sending module, configured to send a status update message to the smart TV, where the status update message carries the second status identifier, and the smart TV is configured to display the order when receiving the status update message Identifies the corresponding second state identifier.

根据本公开实施例提供的第九方面,提供了一种智能电视,所述智能电视包括:According to the ninth aspect provided by the embodiments of the present disclosure, a smart TV is provided, and the smart TV includes:

一个或多个处理器;one or more processors;

用于存储所述一个或多个处理器可执行指令的易失性或非易失性存储器;volatile or nonvolatile memory for storing the one or more processor-executable instructions;

其中,所述一个或多个处理器被配置为:wherein the one or more processors are configured to:

获取资源转移请求,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;Obtain a resource transfer request, where the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV;

向服务器发送所述资源转移请求,所述服务器用于向智能设备发送提示消息,所述智能设备用于输出所述提示消息,当检测到对所述提示消息的确认操作时返回确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息;Send the resource transfer request to the server, the server is used to send a prompt message to the smart device, the smart device is used to output the prompt message, and returns a confirmation message when a confirmation operation for the prompt message is detected, so The server is configured to, when receiving the confirmation message, perform a resource transfer operation based on the resource transfer information, and send a resource transfer completion message to the smart TV;

当接收到所述服务器发送的资源转移完成消息时,显示所述资源转移完成消息。When receiving the resource transfer completion message sent by the server, the resource transfer completion message is displayed.

根据本公开实施例提供的第十方面,提供了一种智能设备,所述智能设备包括:According to a tenth aspect provided by the embodiments of the present disclosure, a smart device is provided, and the smart device includes:

一个或多个处理器;one or more processors;

用于存储所述一个或多个处理器可执行指令的易失性或非易失性存储器;volatile or nonvolatile memory for storing the one or more processor-executable instructions;

其中,所述一个或多个处理器被配置为:wherein the one or more processors are configured to:

接收服务器发送的提示消息,所述提示消息由所述服务器接收到智能电视发送的资源转移请求后发送,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;Receive a prompt message sent by the server. The prompt message is sent by the server after receiving the resource transfer request sent by the smart TV. The resource transfer request carries resource transfer information, and the resource transfer information at least includes the current login of the smart TV. user ID;

输出所述提示消息;output the prompt message;

当检测到对所述提示消息的确认操作时,向所述服务器发送确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息。When a confirmation operation for the prompt message is detected, a confirmation message is sent to the server, and the server is configured to perform a resource transfer operation based on the resource transfer information when receiving the confirmation message, and send a confirmation message to the intelligent The TV sends a resource transfer complete message.

根据本公开实施例提供的第十一方面,提供了一种终端,所述终端包括:According to an eleventh aspect provided by the embodiments of the present disclosure, a terminal is provided, and the terminal includes:

一个或多个处理器;one or more processors;

用于存储所述一个或多个处理器可执行指令的易失性或非易失性存储器;volatile or nonvolatile memory for storing the one or more processor-executable instructions;

其中,所述一个或多个处理器被配置为:wherein the one or more processors are configured to:

基于当前登录的用户标识,接收服务器发送的提示消息,所述提示消息由所述服务器接收到智能电视发送的资源转移请求后发送,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的所述用户标识;Based on the currently logged in user ID, a prompt message sent by the server is received. The prompt message is sent by the server after receiving the resource transfer request sent by the smart TV. The resource transfer request carries resource transfer information, and the resource transfer information at least Including the user identification currently logged in by the smart TV;

向绑定的智能手表发送所述提示消息,所述智能手表用于输出所述提示消息,当检测到对所述提示消息的确认操作时,返回所述确认消息;Sending the prompt message to the bound smart watch, where the smart watch is used to output the prompt message, and returns the confirmation message when a confirmation operation for the prompt message is detected;

当接收到所述确认消息时,向所述服务器发送所述确认消息,所述服务器用于当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作,向所述智能电视发送资源转移完成消息。When receiving the confirmation message, send the confirmation message to the server, and the server is configured to perform a resource transfer operation based on the resource transfer information when receiving the confirmation message, and send the confirmation message to the smart TV Resource transfer complete message.

根据本公开实施例提供的第十二方面,提供了一种服务器,所述服务器包括:According to a twelfth aspect provided by the embodiments of the present disclosure, there is provided a server, the server comprising:

一个或多个处理器;one or more processors;

用于存储所述一个或多个处理器可执行指令的易失性或非易失性存储器;volatile or nonvolatile memory for storing the one or more processor-executable instructions;

其中,所述一个或多个处理器被配置为:wherein the one or more processors are configured to:

接收智能电视发送的资源转移请求,所述资源转移请求携带资源转移信息,所述资源转移信息至少包括所述智能电视当前登录的用户标识;Receive a resource transfer request sent by the smart TV, where the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV;

向智能设备发送提示消息,所述智能设备用于输出所述提示消息,当检测到对所述提示消息的确认操作时返回确认消息;Sending a prompt message to a smart device, where the smart device is used to output the prompt message, and returns a confirmation message when a confirmation operation for the prompt message is detected;

当接收到所述确认消息时,基于所述资源转移信息进行资源转移操作;When receiving the confirmation message, perform a resource transfer operation based on the resource transfer information;

向所述智能电视发送资源转移完成消息,所述智能电视用于显示所述资源转移完成消息。Sending a resource transfer completion message to the smart TV, where the smart TV is configured to display the resource transfer completion message.

根据本公开实施例提供的第十三方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现:According to a thirteenth aspect provided by the embodiments of the present disclosure, a computer-readable storage medium is provided, where at least one instruction is stored in the computer-readable storage medium, and the instruction is loaded and executed by a processor to achieve:

如第一方面所述的资源转移方法中所执行的操作;或者如第二方面所述的资源转移方法中所执行的操作;或者如第三方面所述的资源转移方法中所执行的操作;或者如第四方面所述的资源转移方法中所执行的操作。The operations performed in the resource transfer method described in the first aspect; or the operations performed in the resource transfer method described in the second aspect; or the operations performed in the resource transfer method described in the third aspect; Or the operations performed in the resource transfer method according to the fourth aspect.

本公开实施例提供的资源转移方法、装置、设备及存储介质,智能电视获取资源转移请求,向服务器发送该资源转移请求,服务器接收该资源转移请求,向智能设备发送提示消息,智能设备接收该提示消息后输出该提示消息,当智能设备检测到对该提示消息的确认操作时,向服务器发送确认消息,当服务器接收到该确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息,由智能电视显示该资源转移完成消息。在智能电视要进行资源转移时,无需用户执行多步操作,用户只需对智能设备输出的提示消息进行确认操作即可在智能电视上实现资源转移,简化了用户的操作,提高了资源转移操作的效率,扩展了智能电视的功能。In the resource transfer method, device, device and storage medium provided by the embodiments of the present disclosure, the smart TV obtains the resource transfer request, sends the resource transfer request to the server, the server receives the resource transfer request, sends a prompt message to the smart device, and the smart device receives the resource transfer request. After the prompt message, the prompt message is output. When the smart device detects the confirmation operation of the prompt message, it sends the confirmation message to the server. When the server receives the confirmation message, it performs the resource transfer operation based on the resource transfer information and sends it to the smart TV. The resource transfer completion message is displayed by the smart TV. When the smart TV needs to perform resource transfer, there is no need for the user to perform multi-step operations. The user only needs to confirm the prompt message output by the smart device to realize the resource transfer on the smart TV, which simplifies the user's operation and improves the resource transfer operation. efficiency, expanding the functionality of smart TVs.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种实施环境的示意图;FIG. 1 is a schematic diagram of an implementation environment according to an exemplary embodiment;

图2是根据一示例性实施例示出的一种资源转移方法的流程图;FIG. 2 is a flowchart of a method for transferring resources according to an exemplary embodiment;

图3是根据一示例性实施例示出的另一种资源转移方法的流程图;FIG. 3 is a flowchart of another resource transfer method according to an exemplary embodiment;

图4是根据一示例性实施例示出的另一种资源转移方法的流程图;FIG. 4 is a flowchart of another resource transfer method according to an exemplary embodiment;

图5是根据一示例性实施例示出的另一种资源转移方法的流程图;FIG. 5 is a flowchart of another resource transfer method according to an exemplary embodiment;

图6是根据一示例性实施例示出的一种资源转移方法的交互流程图;FIG. 6 is an interactive flowchart of a resource transfer method according to an exemplary embodiment;

图7是根据一示例性实施例示出的一种智能电视的界面示意图;FIG. 7 is a schematic interface diagram of a smart TV according to an exemplary embodiment;

图8是根据一示例性实施例示出的另一种智能电视的界面示意图;FIG. 8 is a schematic interface diagram of another smart TV according to an exemplary embodiment;

图9是根据一示例性实施例示出的另一种智能电视的界面示意图;FIG. 9 is a schematic interface diagram of another smart TV according to an exemplary embodiment;

图10是根据一示例性实施例示出的另一种资源转移方法的交互流程图;FIG. 10 is an interactive flow chart of another resource transfer method according to an exemplary embodiment;

图11是根据本公开实施例示出的一种快应用框架的框图;11 is a block diagram of a quick application framework according to an embodiment of the present disclosure;

图12是根据本公开实施例示出的一种快应用的启动流程图;Fig. 12 is a startup flowchart of a quick application according to an embodiment of the present disclosure;

图13是根据一示例性实施例示出的一种资源转移装置的框图;13 is a block diagram of a resource transfer apparatus according to an exemplary embodiment;

图14是根据一示例性实施例示出的另一种资源转移装置的框图;Fig. 14 is a block diagram of another resource transfer apparatus according to an exemplary embodiment;

图15是根据一示例性实施例示出的另一种资源转移装置的框图;Figure 15 is a block diagram of another resource transfer apparatus according to an exemplary embodiment;

图16是根据一示例性实施例示出的另一种资源转移装置的框图;FIG. 16 is a block diagram of another resource transfer apparatus according to an exemplary embodiment;

图17是根据一示例性实施例示出的另一种资源转移装置的框图;FIG. 17 is a block diagram of another resource transfer apparatus according to an exemplary embodiment;

图18是根据一示例性实施例示出的另一种资源转移装置的框图;FIG. 18 is a block diagram of another resource transfer apparatus according to an exemplary embodiment;

图19是根据一示例性实施例示出的另一种资源转移装置的框图;FIG. 19 is a block diagram of another resource transfer apparatus according to an exemplary embodiment;

图20是根据一示例性实施例示出的另一种资源转移装置的框图;Fig. 20 is a block diagram of another resource transfer apparatus according to an exemplary embodiment;

图21是根据一示例性实施例示出的一种智能设备的框图;Figure 21 is a block diagram of a smart device according to an exemplary embodiment;

图22是根据一示例性实施例示出的一种服务器的框图。Fig. 22 is a block diagram of a server according to an exemplary embodiment.

具体实施方式Detailed ways

为使本公开的目的、技术方案和优点更加清楚明白,下面结合实施方式和附图,对本公开做进一步详细说明。在此,本公开的示意性实施方式及其说明用于解释本公开,但并不作为对本公开的限定。In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the present disclosure will be further described in detail below with reference to the embodiments and the accompanying drawings. Here, the exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure, but not to limit the present disclosure.

在对本公开实施例进行说明之前,对以下概念进行解释:Before describing the embodiments of the present disclosure, the following concepts are explained:

1、快应用:是一种新型应用程序,能够基于操作系统提供的原生API(ApplicationProgramming Interface,应用程序编程接口)运行。1. Quick application: It is a new type of application that can run based on the native API (Application Programming Interface) provided by the operating system.

快应用采用统一的标准进行开发,原生渲染,同时具备HTML5(HyperText MarkupLanguage,超文本标记语言第5代)界面和原生应用的双重优点。快应用的框架可以深度集成于操作系统中,能够在操作系统层面进行操作,实现与其他应用服务之间的无缝衔接。开发者可以做到一次性开发即可在不同类型的设备上运行,并且无需用户进行下载和安装即可使用,即点即用。Quick applications are developed using unified standards, native rendering, and have the dual advantages of HTML5 (HyperText MarkupLanguage, the fifth generation of hypertext markup language) interface and native applications. The framework of fast applications can be deeply integrated into the operating system, and can operate at the operating system level to achieve seamless connection with other application services. Developers can do one-time development to run on different types of devices, and can be used without the need for users to download and install, just click and use.

由于快应用的特殊性,快应用被期待完成更多的任务,实现更多的功能。目前,快应用的功能正在逐步完善中,本公开实施例就是提供了一种快应用的新功能,利用该新功能实现基于智能电视的支付功能。通过本实施例提供的通过智能电视进行资源转移的方法,在智能电视要进行资源转移时,无需用户执行多步操作,用户只需对智能设备输出的提示消息进行确认操作即可在智能电视上实现资源转移,简化了用户的操作,提高了资源转移操作的效率,扩展了智能电视的功能。Due to the particularity of fast applications, fast applications are expected to complete more tasks and implement more functions. At present, the function of the quick application is being gradually improved, and the embodiment of the present disclosure provides a new function of the quick application, and uses the new function to realize the payment function based on the smart TV. With the method for resource transfer through a smart TV provided in this embodiment, when the smart TV needs to perform resource transfer, there is no need for the user to perform multi-step operations, and the user only needs to confirm the prompt message output by the smart device. The resource transfer is realized, the user's operation is simplified, the efficiency of the resource transfer operation is improved, and the function of the smart TV is expanded.

本公开实施例提供了一种实施环境,如图1所示,该实施环境包括智能电视101、智能设备102和服务器103。The embodiment of the present disclosure provides an implementation environment. As shown in FIG. 1 , the implementation environment includes a smart TV 101 , a smart device 102 , and a server 103 .

智能电视101具有多种类型的功能,如播放多媒体数据的功能、资源转移功能等。智能电视101的操作系统中可以运行多种类型的快应用,基于不同的快应用实现不同的功能,例如网络购物快应用、电子支付快应用、外卖快应用等。The smart TV 101 has various types of functions, such as the function of playing multimedia data, the function of resource transfer, and the like. The operating system of the smart TV 101 can run various types of quick apps, and implement different functions based on different quick apps, such as online shopping quick apps, electronic payment quick apps, takeaway quick apps, and the like.

该智能设备102可以为手机、智能手表、个人电脑、平板电脑、智能音箱等多种类型的设备(图1仅是以智能设备102为智能手表为例)。The smart device 102 may be various types of devices such as a mobile phone, a smart watch, a personal computer, a tablet computer, and a smart speaker (FIG. 1 only takes the smart device 102 as a smart watch as an example).

智能设备102通过服务器103与智能电视101建立通信连接,通过该通信连接与智能电视101进行交互。The smart device 102 establishes a communication connection with the smart TV 101 through the server 103, and interacts with the smart TV 101 through the communication connection.

服务器103可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务器中心,本公开实施例对此不做具体限定。The server 103 may be one server, or a server cluster composed of several servers, or a cloud computing server center, which is not specifically limited in this embodiment of the present disclosure.

在一种可能实现方式中,本公开实施例提供的实施环境中的智能设备102为智能手表时,实施环境中还包括终端104,该终端104与智能手表102绑定,智能手表102通过终端104和服务器103与智能电视101进行交互。其中,该终端104可以是手机、个人电脑、平板电脑等多种类型的设备。In a possible implementation manner, when the smart device 102 in the implementation environment provided by the embodiment of the present disclosure is a smart watch, the implementation environment also includes a terminal 104 , the terminal 104 is bound to the smart watch 102 , and the smart watch 102 passes through the terminal 104 And the server 103 interacts with the smart TV 101 . The terminal 104 may be various types of devices such as mobile phones, personal computers, and tablet computers.

图2是根据一示例性实施例示出的一种资源转移方法的流程图,应用于图1所示的智能电视101中,如图2所示,包括以下步骤:FIG. 2 is a flowchart of a method for transferring resources according to an exemplary embodiment, which is applied to the smart TV 101 shown in FIG. 1 , as shown in FIG. 2 , and includes the following steps:

在步骤201中,智能电视获取资源转移请求,资源转移请求携带资源转移信息,资源转移信息至少包括智能电视当前登录的用户标识。In step 201, the smart TV obtains a resource transfer request, the resource transfer request carries resource transfer information, and the resource transfer information at least includes a user ID currently logged in by the smart TV.

在步骤202中,智能电视向服务器发送资源转移请求,服务器用于向智能设备发送提示消息,智能设备用于输出提示消息,当检测到对提示消息的确认操作时返回确认消息,服务器用于当接收到确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息。In step 202, the smart TV sends a resource transfer request to the server, the server is used for sending a prompt message to the smart device, the smart device is used for outputting the prompt message, and returns a confirmation message when a confirmation operation on the prompt message is detected, and the server is used for when When the confirmation message is received, the resource transfer operation is performed based on the resource transfer information, and a resource transfer completion message is sent to the smart TV.

在步骤203中,当智能电视接收到服务器发送的资源转移完成消息时,显示资源转移完成消息。In step 203, when the smart TV receives the resource transfer completion message sent by the server, the resource transfer completion message is displayed.

本公开实施例提供的方法,智能电视向服务器发送获取到的资源转移请求,由服务器根据该资源转移请求向智能设备发送提示消息,接收智能设备检测到对该提示消息的确认操作时返回的确认消息,进行资源转移,智能电视接收服务器发送的资源转移完成消息,显示该资源转移完成消息。在智能电视要进行资源转移时,无需用户执行多步操作,用户只需对智能设备输出的提示消息进行确认操作即可在智能电视上实现资源转移,简化了用户的操作,提高了资源转移操作的效率,扩展了智能电视的功能。In the method provided by the embodiment of the present disclosure, the smart TV sends the acquired resource transfer request to the server, the server sends a prompt message to the smart device according to the resource transfer request, and receives the confirmation returned when the smart device detects the confirmation operation for the prompt message. message, perform resource transfer, the smart TV receives the resource transfer completion message sent by the server, and displays the resource transfer completion message. When the smart TV needs to perform resource transfer, there is no need for the user to perform multi-step operations. The user only needs to confirm the prompt message output by the smart device to realize the resource transfer on the smart TV, which simplifies the user's operation and improves the resource transfer operation. efficiency, expanding the functionality of smart TVs.

在一种可能实现方式中,获取资源转移请求包括:In a possible implementation manner, obtaining the resource transfer request includes:

基于用户标识显示快应用的应用界面,应用界面中包括资源转移信息和资源转移选项,快应用基于智能电视的操作系统提供的原生应用程序接口API运行;Display the application interface of the quick application based on the user ID, the application interface includes resource transfer information and resource transfer options, and the quick application runs based on the native application program interface API provided by the operating system of the smart TV;

当检测到对资源转移选项的触发操作时,生成资源转移请求。A resource transfer request is generated when a trigger action on a resource transfer option is detected.

在另一种可能实现方式中,智能设备为智能手表;In another possible implementation, the smart device is a smart watch;

服务器用于向登录用户标识的终端发送提示消息;The server is used to send a prompt message to the terminal with the logged in user ID;

终端用于向绑定的智能手表发送提示消息;The terminal is used to send a prompt message to the bound smart watch;

智能手表用于输出提示消息,当检测到对提示消息的确认操作时,通过终端向服务器返回确认消息。The smart watch is used to output a prompt message, and when a confirmation operation for the prompt message is detected, a confirmation message is returned to the server through the terminal.

在另一种可能实现方式中,资源转移信息包括订单标识,服务器还用于基于资源转移信息进行资源转移操作后,将订单标识对应的状态标识由第一状态标识更改为第二状态标识,向智能电视发送状态更新消息,状态更新消息携带第二状态标识;方法还包括:In another possible implementation manner, the resource transfer information includes an order identifier, and the server is further configured to change the state identifier corresponding to the order identifier from the first state identifier to the second state identifier after performing the resource transfer operation based on the resource transfer information, and send the The smart TV sends a status update message, and the status update message carries the second status identifier; the method further includes:

当接收到状态更新消息时,显示订单标识对应的第二状态标识。When the status update message is received, the second status ID corresponding to the order ID is displayed.

图3是根据一示例性实施例示出的一种资源转移方法的流程图,应用于图1所示的智能设备102中,如图3所示,包括以下步骤:FIG. 3 is a flowchart of a method for transferring resources according to an exemplary embodiment, which is applied to the smart device 102 shown in FIG. 1 , and as shown in FIG. 3 , includes the following steps:

在步骤301中,智能设备接收服务器发送的提示消息,提示消息由服务器接收到智能电视发送的资源转移请求后发送,资源转移请求携带资源转移信息,资源转移信息至少包括智能电视当前登录的用户标识;In step 301, the smart device receives a prompt message sent by the server, and the prompt message is sent by the server after receiving the resource transfer request sent by the smart TV. The resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV. ;

在步骤302中,智能设备输出提示消息;In step 302, the smart device outputs a prompt message;

在步骤303中,当智能设备检测到对提示消息的确认操作时,向服务器发送确认消息,服务器用于当接收到确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息。In step 303, when the smart device detects the confirmation operation for the prompt message, it sends a confirmation message to the server, and the server is used to perform the resource transfer operation based on the resource transfer information when receiving the confirmation message, and send the resource transfer completion to the smart TV information.

本公开实施例提供的方法,智能设备接收服务器根据智能电视发送的资源转移请求发送的提示消息,输出该提示消息,当检测到对该提示消息的确认操作时,向服务器发送确认消息,由服务器根据资源转移请求中携带的资源转移信息,进行资源转移操作,向智能电视发送资源转移完成消息。在智能电视要进行资源转移时,无需用户执行多步操作,用户只需对智能设备输出的提示消息进行确认操作即可在智能电视上实现资源转移,简化了用户的操作,提高了资源转移操作的效率,扩展了智能电视的功能。In the method provided by the embodiment of the present disclosure, the smart device receives the prompt message sent by the server according to the resource transfer request sent by the smart TV, outputs the prompt message, and when a confirmation operation for the prompt message is detected, sends the confirmation message to the server, and the server sends the confirmation message to the server. According to the resource transfer information carried in the resource transfer request, the resource transfer operation is performed, and a resource transfer completion message is sent to the smart TV. When the smart TV needs to perform resource transfer, there is no need for the user to perform multi-step operations. The user only needs to confirm the prompt message output by the smart device to realize the resource transfer on the smart TV, which simplifies the user's operation and improves the resource transfer operation. efficiency, expanding the functionality of smart TVs.

在一种可能实现方式中,智能设备为智能手表,服务器用于向登录用户标识的终端发送提示消息,智能手表与终端绑定;In a possible implementation manner, the smart device is a smart watch, the server is used to send a prompt message to the terminal logging in the user ID, and the smart watch is bound to the terminal;

接收服务器发送的提示消息,包括:接收终端转发的提示消息。Receiving the prompt message sent by the server includes: receiving the prompt message forwarded by the terminal.

在另一种可能实现方式中,输出提示消息,包括以下至少一种:In another possible implementation manner, a prompt message is output, including at least one of the following:

显示文本提示消息;Display a text prompt message;

播放语音提示消息;Play a voice prompt message;

以震动的方式输出提示消息。Output prompt message in vibration mode.

在另一种可能实现方式中,当检测到对提示消息的确认操作时,向服务器发送确认消息,包括以下至少一种:In another possible implementation manner, when a confirmation operation for the prompt message is detected, a confirmation message is sent to the server, including at least one of the following:

当检测到对显示的确认选项的触发操作时,向服务器发送确认消息;Send a confirmation message to the server when a trigger action on the displayed confirmation option is detected;

当接收到包含确认关键词的语音信息时,向服务器发送确认消息;When receiving the voice message containing the confirmation keyword, send a confirmation message to the server;

当检测到预设的确认手势信号时,向服务器发送确认消息。When a preset confirmation gesture signal is detected, a confirmation message is sent to the server.

基于图1所示实施例的可能实现方式,智能设备102为智能手表,终端104与智能手表102绑定。图4是根据一示例性实施例示出的一种资源转移方法的流程图,应用于图1所示的终端104中,如图4所示,包括以下步骤:Based on possible implementations of the embodiment shown in FIG. 1 , the smart device 102 is a smart watch, and the terminal 104 is bound to the smart watch 102 . Fig. 4 is a flowchart of a resource transfer method according to an exemplary embodiment, which is applied to the terminal 104 shown in Fig. 1 , and as shown in Fig. 4 , includes the following steps:

在步骤401中,终端基于当前登录的用户标识,接收服务器发送的提示消息,提示消息由服务器接收到智能电视发送的资源转移请求后发送,资源转移请求携带资源转移信息,资源转移信息至少包括智能电视当前登录的用户标识;In step 401, the terminal receives a prompt message sent by the server based on the currently logged-in user ID. The prompt message is sent by the server after receiving the resource transfer request sent by the smart TV. The resource transfer request carries resource transfer information, and the resource transfer information at least includes smart TV. The user ID of the TV currently logged in;

在步骤402中,终端向绑定的智能手表发送提示消息,智能手表用于输出提示消息,当检测到对提示消息的确认操作时,返回确认消息;In step 402, the terminal sends a prompt message to the bound smart watch, and the smart watch is used to output the prompt message, and when a confirmation operation for the prompt message is detected, a confirmation message is returned;

在步骤403中,当终端接收到确认消息时,向服务器发送确认消息,服务器用于当接收到确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息。In step 403, when the terminal receives the confirmation message, it sends the confirmation message to the server, and the server is used to perform the resource transfer operation based on the resource transfer information when receiving the confirmation message, and send the resource transfer complete message to the smart TV.

本公开实施例提供的方法,终端基于当前登录的用户标识,接收服务器发送的提示消息,将该提示消息转发给智能手表,由智能手表输出该提示消息,终端在接收到智能手表返回的确认消息后,将该确认消息发送给服务器,由服务器进行资源转移操作。在智能电视要进行资源转移时,无需用户在终端上执行多步操作,用户只需对智能手表输出的提示消息进行确认操作即可在智能电视上实现资源转移,简化了用户的操作,提高了资源转移操作的效率,扩展了智能电视的功能。In the method provided by the embodiment of the present disclosure, the terminal receives the prompt message sent by the server based on the currently logged in user ID, forwards the prompt message to the smart watch, and the smart watch outputs the prompt message, and the terminal receives the confirmation message returned by the smart watch. Then, the confirmation message is sent to the server, and the server performs the resource transfer operation. When the smart TV needs to transfer resources, there is no need for the user to perform multi-step operations on the terminal. The user only needs to confirm the prompt message output by the smart watch to realize the resource transfer on the smart TV, which simplifies the user's operation and improves the performance. The efficiency of resource transfer operations expands the capabilities of smart TVs.

在一种可能实现方式中,方法还包括:In one possible implementation, the method further includes:

显示提示消息;display a prompt message;

当接收到确认消息时,取消显示提示消息。When a confirmation message is received, the prompt message is canceled.

图5是根据一示例性实施例示出的一种资源转移方法的流程图,应用于图1所示的服务器103中,如图5所示,包括以下步骤:Fig. 5 is a flow chart of a method for transferring resources according to an exemplary embodiment, which is applied to the server 103 shown in Fig. 1, and as shown in Fig. 5, includes the following steps:

在步骤501中,服务器接收智能电视发送的资源转移请求,资源转移请求携带资源转移信息,资源转移信息至少包括智能电视当前登录的用户标识;In step 501, the server receives a resource transfer request sent by the smart TV, the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV;

在步骤502中,服务器向智能设备发送提示消息,智能设备用于输出提示消息,当检测到对提示消息的确认操作时返回确认消息;In step 502, the server sends a prompt message to the smart device, and the smart device is used to output the prompt message, and returns a confirmation message when a confirmation operation on the prompt message is detected;

在步骤503中,当服务器接收到确认消息时,基于资源转移信息进行资源转移操作;In step 503, when the server receives the confirmation message, the resource transfer operation is performed based on the resource transfer information;

在步骤504中,服务器向智能电视发送资源转移完成消息,智能电视用于显示资源转移完成消息。In step 504, the server sends a resource transfer completion message to the smart TV, and the smart TV is used to display the resource transfer completion message.

本公开实施例提供的方法,服务器接收智能电视发送的携带用户标识的资源转移请求,向智能设备发送提示消息,接收智能设备检测到对该提示消息的确认操作后返回的确认消息,进行资源转移操作,向智能电视发送资源转移完成消息,由智能电视显示该资源转移完成消息。在智能电视要进行资源转移时,无需用户执行多步操作,用户只需对智能设备输出的提示消息进行确认操作即可在智能电视上实现资源转移,简化了用户的操作,提高了资源转移操作的效率,扩展了智能电视的功能。In the method provided by the embodiment of the present disclosure, the server receives a resource transfer request carrying a user ID sent by a smart TV, sends a prompt message to the smart device, receives a confirmation message returned by the smart device after detecting a confirmation operation on the prompt message, and performs resource transfer The operation is to send a resource transfer completion message to the smart TV, and the smart TV displays the resource transfer completion message. When the smart TV needs to perform resource transfer, there is no need for the user to perform multi-step operations. The user only needs to confirm the prompt message output by the smart device to realize the resource transfer on the smart TV, which simplifies the user's operation and improves the resource transfer operation. efficiency, expanding the functionality of smart TVs.

在一种可能实现方式中,智能设备为智能手表,向智能设备发送提示消息,包括:In a possible implementation, the smart device is a smart watch, and sends a prompt message to the smart device, including:

向登录用户标识的终端发送提示消息,由终端向绑定的智能手表发送提示消息。Send a prompt message to the terminal with the logged-in user ID, and the terminal sends a prompt message to the bound smart watch.

在另一种可能实现方式中,资源转移信息包括订单标识,方法还包括:In another possible implementation manner, the resource transfer information includes an order identifier, and the method further includes:

基于资源转移信息进行资源转移操作后,将订单标识对应的状态标识由第一状态标识更改为第二状态标识;After the resource transfer operation is performed based on the resource transfer information, the state identifier corresponding to the order identifier is changed from the first state identifier to the second state identifier;

向智能电视发送状态更新消息,状态更新消息携带第二状态标识,智能电视用于当接收到状态更新消息时,显示订单标识对应的第二状态标识。A status update message is sent to the smart TV, where the status update message carries the second status identifier, and the smart TV is used for displaying the second status identifier corresponding to the order identifier when receiving the status update message.

图6是根据一示例性实施例示出的一种资源转移方法的交互流程图,应用于图1所示的智能电视101、智能设备102和服务器103中,如图6所示,包括以下步骤:FIG. 6 is an interactive flowchart of a resource transfer method according to an exemplary embodiment, which is applied to the smart TV 101, the smart device 102 and the server 103 shown in FIG. 1 , as shown in FIG. 6 , including the following steps:

在步骤601中,智能电视获取资源转移请求,向服务器发送该资源转移请求。In step 601, the smart TV obtains the resource transfer request, and sends the resource transfer request to the server.

目前,智能电视在人们的生活中越来越普及,智能电视可以为用户提供多种功能,包括播放多媒体数据的功能、游戏功能、购买物品的功能等。其中,购买物品的功能中,用户若要购买物品,则需要完成资源转移。本公开实施例以基于智能电视和智能设备实现资源转移为例进行说明。At present, smart TVs are becoming more and more popular in people's lives, and smart TVs can provide users with a variety of functions, including a function of playing multimedia data, a game function, and a function of purchasing items. Among them, in the function of purchasing an item, if the user wants to purchase an item, the resource transfer needs to be completed. The embodiments of the present disclosure are described by taking resource transfer based on a smart TV and a smart device as an example.

首先,智能电视获取资源转移请求,向服务器发送该资源转移请求。First, the smart TV obtains the resource transfer request, and sends the resource transfer request to the server.

其中,智能电视获取资源转移请求的方式可以包括:智能电视基于显示屏幕显示展示界面,该展示界面中包括至少一个可选择的物品。当智能电视检测到对至少一个物品的选择操作时,获取当前处于选择状态的该至少一个物品,根据该至少一个物品,生成订单。智能电视检测到对该订单的资源转移操作,获取资源转移信息,根据该资源转移信息生成资源转移请求。其中,对物品的选择操作可以是在智能电视的显示屏幕上检测到的触摸操作,也可以是通过智能遥控器对智能电视进行的控制操作,或者其他对智能电视执行的操作。The manner in which the smart TV obtains the resource transfer request may include: the smart TV displays a display interface based on the display screen, and the display interface includes at least one selectable item. When the smart TV detects a selection operation on at least one item, it acquires the at least one item currently in the selected state, and generates an order according to the at least one item. The smart TV detects the resource transfer operation of the order, obtains resource transfer information, and generates a resource transfer request according to the resource transfer information. The selection operation on the item may be a touch operation detected on the display screen of the smart TV, or a control operation performed on the smart TV through a smart remote control, or other operations performed on the smart TV.

在一种可能实现方式中,智能电视的展示界面中不仅包括至少一个可选择的物品,还包括确认选项。当智能电视检测到对该确认选项的触发操作时,获取该展示界面中处于选择状态的至少一个物品,根据该至少一个物品,生成订单。其中,对该确认选项的触发操作可以是在智能电视的显示屏幕上检测到的触摸操作,也可以是通过智能遥控器对智能电视进行的控制操作,或者其他对智能电视执行的操作。In a possible implementation manner, the display interface of the smart TV not only includes at least one selectable item, but also includes a confirmation option. When the smart TV detects the triggering operation of the confirmation option, it acquires at least one item in the selected state in the display interface, and generates an order according to the at least one item. The triggering operation of the confirmation option may be a touch operation detected on the display screen of the smart TV, or a control operation performed on the smart TV through a smart remote control, or other operations performed on the smart TV.

关于触发对订单的资源转移操作的过程,在一种可能实现方式中,智能电视基于当前的展示界面显示生成的订单和资源转移选项,当检测到对该资源转移选项的触发操作时,根据该订单获取资源转移信息,根据该资源转移信息生成资源转移请求。对该资源转移选项的触发操作即为对订单触发的资源转移操作。Regarding the process of triggering the resource transfer operation on the order, in a possible implementation manner, the smart TV displays the generated order and resource transfer options based on the current display interface, and when detecting the trigger operation for the resource transfer option, according to the The order obtains resource transfer information, and generates a resource transfer request according to the resource transfer information. The triggering action of the resource transfer option is the resource transfer action triggered by the order.

在另一种可能实现方式中,智能电视的操作系统提供了至少一个快应用,该至少一个快应用具有资源转移功能。智能电视获取资源转移请求可以包括:智能电视基于当前登录的用户标识显示快应用的应用界面,该应用界面中包括至少一个可选择的物品。当智能电视检测到对至少一个物品的选择操作时,获取当前处于选择状态的至少一个物品,根据该至少一个物品,生成订单。智能电视触发对该订单的资源转移操作,获取资源转移信息,根据该资源转移信息生成资源转移请求。In another possible implementation manner, the operating system of the smart TV provides at least one quick application, and the at least one quick application has a resource transfer function. The smart TV obtains the resource transfer request may include: the smart TV displays an application interface of a quick application based on the currently logged-in user ID, and the application interface includes at least one selectable item. When the smart TV detects a selection operation on at least one item, it acquires at least one item currently in the selected state, and generates an order according to the at least one item. The smart TV triggers a resource transfer operation for the order, obtains resource transfer information, and generates a resource transfer request according to the resource transfer information.

关于触发对订单的资源转移操作的过程,在一种可能实现方式中,智能电视基于快应用的应用界面显示当前生成的订单和资源转移选项,当检测到对该资源转移选项的触发操作时,根据该订单获取资源转移信息,根据该资源转移信息生成资源转移请求。对该资源转移选项的触发操作即为对订单触发的资源转移操作。Regarding the process of triggering the resource transfer operation on the order, in a possible implementation manner, the smart TV based on the quick application application interface displays the currently generated order and the resource transfer option. When the trigger operation on the resource transfer option is detected, Obtain resource transfer information according to the order, and generate a resource transfer request according to the resource transfer information. The triggering action of the resource transfer option is the resource transfer action triggered by the order.

其中,上述快应用基于智能电视的操作系统提供的原生应用程序接口API运行。对该资源转移选项的触发操作,可以是直接在智能电视的显示屏幕中检测到的对该资源转移选项的触摸操作,也可以是通过智能遥控器对该资源转移选项的选择操作,或者还可以是其他对该资源转移选项的触发操作。Wherein, the above-mentioned quick application runs based on the native application program interface API provided by the operating system of the smart TV. The trigger operation of the resource transfer option may be a touch operation directly detected on the display screen of the smart TV, or a selection operation of the resource transfer option through the smart remote control, or is another trigger action for this resource transfer option.

并且,上述资源转移请求还携带了资源转移信息,该资源转移信息至少包括智能电视当前登录的用户标识,还可以包括该用户标识对应的资源账户,以及资源接收方的账户、订单的订单标识等。其中,订单标识用于表示根据本次资源转移请求生成的订单,可以为随机生成的订单号码或按照时间顺序依次生成的订单编码等。In addition, the above resource transfer request also carries resource transfer information, and the resource transfer information includes at least the user ID currently logged in by the smart TV, and may also include the resource account corresponding to the user ID, as well as the account of the resource recipient, the order ID of the order, etc. . Wherein, the order identifier is used to represent the order generated according to the resource transfer request, which may be a randomly generated order number or an order code generated sequentially in a chronological order, or the like.

根据快应用类型的不同,所生成的订单类型也不同。例如,快应用为网络购物应用,则生成的订单为购物订单。或者快应用为外卖应用,则生成的订单为外卖订单。Depending on the type of quick application, the type of order generated is also different. For example, if the quick application is an online shopping application, the generated order is a shopping order. Or if the quick app is a food delivery application, the generated order is a food delivery order.

在一种可能实现方式中,智能电视可以请求指定的智能设备执行资源转移操作。在该方式中,智能电视获取待执行资源转移操作的智能设备的设备标识,基于该设备标识,生成资源转移请求,该资源转移请求中还携带该设备标识。In a possible implementation manner, the smart TV may request a specified smart device to perform a resource transfer operation. In this manner, the smart TV obtains the device identifier of the smart device to be performed the resource transfer operation, and generates a resource transfer request based on the device identifier, and the resource transfer request also carries the device identifier.

其中,智能设备的设备标识为能够确定唯一的智能设备的标识,可以为智能设备的出厂编号或设备序列号等。智能电视获取智能设备的设备标识的方式可以包括:智能电视预先存储了多个智能设备的设备标识,当检测到对任一设备标识的选择操作时,获取该设备标识;或者,智能电视获取当前建立绑定关系的至少一个智能设备的设备标识,当检测到对任一设备标识的选择操作时,获取该设备标识。The device identifier of the smart device is an identifier that can determine a unique smart device, and may be a factory serial number or a device serial number of the smart device. The way that the smart TV obtains the device identification of the smart device may include: the smart TV pre-stores the device identifications of a plurality of smart devices, and when a selection operation on any device identification is detected, the device identification is obtained; or, the smart TV obtains the current device identification. The device identification of at least one smart device that has established a binding relationship, and the device identification is acquired when a selection operation on any device identification is detected.

在智能电视获取到资源转移请求后,为了能够实现该资源转移请求对应的资源转移操作,智能电视向服务器发送该资源转移请求。After the smart TV obtains the resource transfer request, in order to implement the resource transfer operation corresponding to the resource transfer request, the smart TV sends the resource transfer request to the server.

在步骤602中,服务器接收智能电视发送的资源转移请求,向登录该用户标识的智能设备发送提示消息。In step 602, the server receives the resource transfer request sent by the smart TV, and sends a prompt message to the smart device logging in the user ID.

服务器接收到智能电视发送的资源转移请求后,获取该资源转移请求中携带的资源转移信息,进而获取该资源转移信息中的用户标识。当服务器获取到资源转移信息中的用户标识后,向登录该用户标识的智能设备发送提示消息,该提示消息用于提示该智能设备进行与提示消息对应的操作。After receiving the resource transfer request sent by the smart TV, the server obtains the resource transfer information carried in the resource transfer request, and further obtains the user identifier in the resource transfer information. After acquiring the user ID in the resource transfer information, the server sends a prompt message to the smart device logging in the user ID, where the prompt message is used to prompt the smart device to perform an operation corresponding to the prompt message.

在一种可能实现方式中,当任一智能设备登录某一用户标识时,会向服务器发送该智能设备的设备标识和当前登录的用户标识之间的对应关系,服务器中包括设备标识与用户标识之间的对应关系,表示当前登录用户标识的智能设备。In a possible implementation, when any smart device logs in to a certain user ID, it will send the corresponding relationship between the device ID of the smart device and the currently logged in user ID to the server, and the server includes the device ID and the user ID. The corresponding relationship between , indicates the smart device of the currently logged-in user ID.

其中,智能设备的设备标识为能够确定唯一的智能设备的标识,可以为智能设备的出厂编号或设备序列号等。The device identifier of the smart device is an identifier that can determine a unique smart device, and may be a factory serial number or a device serial number of the smart device.

当服务器获取到资源转移信息中携带的用户标识后,根据该用户标识查询当前存储的设备标识与用户标识之间的对应关系,确定与该用户标识对应的设备标识,将该设备标识对应的智能设备确定为登录该用户标识的智能设备,向该智能设备发送提示消息。After the server obtains the user ID carried in the resource transfer information, it queries the currently stored correspondence between the device ID and the user ID according to the user ID, determines the device ID corresponding to the user ID, and determines the corresponding device ID corresponding to the device ID. The device determines that it is the smart device logged in with the user ID, and sends a prompt message to the smart device.

在另一种可能实现方式中,服务器中运行push(推送)服务,push服务用于主动向设备推送消息。当服务器接收到资源转移请求时,调用该push服务,向该智能设备发送提示消息。或者,服务器还可以与push服务器建立通信连接,当服务器接收到资源转移请求时,调用push服务器,由push服务器向该智能设备发送提示消息。In another possible implementation manner, a push (push) service is run in the server, and the push service is used to actively push messages to the device. When the server receives the resource transfer request, it calls the push service and sends a prompt message to the smart device. Alternatively, the server may also establish a communication connection with the push server, and when the server receives the resource transfer request, it calls the push server, and the push server sends a prompt message to the smart device.

其中,服务器扩展了向智能手表推送消息的功能,在智能设备为智能手表的情况下,服务器可以直接向用户标识对应的智能手表推送消息,扩展了智能电视和智能手表的功能。Among them, the server extends the function of pushing messages to the smart watch. In the case where the smart device is a smart watch, the server can directly push messages to the smart watch corresponding to the user ID, thereby expanding the functions of the smart TV and the smart watch.

在另一实施例中,当资源转移请求携带智能设备的设备标识时,服务器可以根据该设备标识,向该设备标识对应的智能设备发送提示消息。In another embodiment, when the resource transfer request carries the device identifier of the smart device, the server may send a prompt message to the smart device corresponding to the device identifier according to the device identifier.

在步骤603中,智能设备接收服务器发送的提示消息,输出该提示消息。In step 603, the smart device receives the prompt message sent by the server, and outputs the prompt message.

为了向该智能设备对应的用户展示该提示消息,当智能设备接收到服务器发送的提示消息时,输出该提示消息。该提示消息可以是文本提示消息、语音提示消息或其他形式的提示消息。In order to display the prompt message to the user corresponding to the smart device, when the smart device receives the prompt message sent by the server, it outputs the prompt message. The prompt message may be a text prompt message, a voice prompt message or other forms of prompt messages.

关于智能设备输出提示消息的方式,在一种可能实现方式中,智能设备输出提示消息,包括以下至少一种:Regarding the manner in which the smart device outputs the prompt message, in a possible implementation manner, the smart device outputs the prompt message, including at least one of the following:

智能设备显示文本提示消息;The smart device displays a text prompt message;

智能设备播放语音提示消息;The smart device plays a voice prompt message;

智能设备以震动的方式输出提示消息。The smart device vibrates to output prompt messages.

其中,显示文本提示消息的方式,可以供用户观看智能设备的显示屏幕,阅读该提示消息,后续用户可以根据该提示消息执行相应的操作。播放语音提示消息的方式,可以在用户不方便观看智能设备的显示屏幕的情况下,向用户播放提示消息,用户无需观看智能设备的显示屏幕即可收听到该提示消息。另外,用户都会随身携带智能设备,以震动的方式输出提示消息的方式,用户可以通过感知震动获知智能设备当前输出了提示消息。The manner of displaying the text prompt message may allow the user to watch the display screen of the smart device, read the prompt message, and subsequently perform corresponding operations according to the prompt message. The way of playing the voice prompt message can play the prompt message to the user when it is inconvenient for the user to watch the display screen of the smart device, and the user can listen to the prompt message without watching the display screen of the smart device. In addition, the user will carry the smart device with them and output the prompt message in the form of vibration. The user can know that the smart device currently outputs the prompt message by sensing the vibration.

并且,上述输出提示消息的不同方式可以结合。例如,智能设备接收到服务器发送的提示消息时,以文本提示消息的形式在显示屏幕中显示该提示消息,同时,智能设备震动,提示用户查看智能设备在显示屏幕中显示的文本提示消息。Also, the above-mentioned different ways of outputting the prompt message can be combined. For example, when the smart device receives a prompt message sent by the server, the prompt message is displayed on the display screen in the form of a text prompt message. At the same time, the smart device vibrates to prompt the user to check the text prompt message displayed by the smart device on the display screen.

关于该提示消息的内容,在一种可能实现方式中,该提示消息可以为询问消息,用于询问智能设备是否确认执行资源转移操作。智能设备对应的用户可以对该询问消息执行确认操作或取消操作。Regarding the content of the prompt message, in a possible implementation manner, the prompt message may be a query message, which is used to ask the smart device whether to confirm the execution of the resource transfer operation. The user corresponding to the smart device can perform a confirmation operation or a cancellation operation on the query message.

在步骤604中,当智能设备检测到对该提示消息的确认操作时,向服务器发送确认消息。In step 604, when the smart device detects a confirmation operation for the prompt message, it sends a confirmation message to the server.

获知智能设备输出的提示消息后,当用户确定要进行资源转移时,可以对该提示消息执行确认操作。当智能设备检测到对该提示消息的确认操作时,向服务器返回确认消息,该确认消息表示智能设备同意执行资源转移请求对应的资源转移操作。After learning the prompt message output by the smart device, when the user decides to perform resource transfer, a confirmation operation can be performed on the prompt message. When the smart device detects the confirmation operation of the prompt message, it returns a confirmation message to the server, and the confirmation message indicates that the smart device agrees to perform the resource transfer operation corresponding to the resource transfer request.

其中,提示消息可以为任意形式的提示消息,而对该提示消息执行的确认操作,也可以为任意类型的确认操作。The prompt message may be any form of prompt message, and the confirmation operation performed on the prompt message may also be any type of confirmation operation.

在一种可能实现方式中,当智能设备检测到对提示消息的确认操作时,向服务器返回确认消息,包括以下至少一种:In a possible implementation manner, when the smart device detects a confirmation operation on the prompt message, it returns a confirmation message to the server, including at least one of the following:

(1)智能设备显示确认选项,用户可以对显示的确认选项执行触发操作,当智能设备检测到对该确认选项的触发操作时,向服务器返回确认消息,该触发操作可以为点击操作、双击操作、长按操作等。(1) The smart device displays a confirmation option, and the user can perform a trigger operation on the displayed confirmation option. When the smart device detects a trigger operation on the confirmation option, it returns a confirmation message to the server, and the trigger operation can be a click operation or a double-click operation. , long press operation, etc.

(2)智能设备还包括麦克风,用户可以通过智能设备的麦克风向智能设备输入语音消息。为了对智能设备输出的提示消息执行确认操作,用户可以通过麦克风向智能设备输入包括确认关键词的语音信息。当智能设备接收到包含确认关键词的语音信息时,向服务器返回确认消息。(2) The smart device further includes a microphone, and the user can input a voice message to the smart device through the microphone of the smart device. In order to perform a confirmation operation on the prompt message output by the smart device, the user may input voice information including a confirmation keyword to the smart device through a microphone. When the smart device receives the voice message containing the confirmation keyword, it returns a confirmation message to the server.

(3)智能设备还可以检测手势信号,用户可以基于智能设备执行各种类型的手势操作,如向上滑动、向下滑动、向左滑动、向右滑动或者按照预设方式执行的手势操作等,向智能设备输入对应的手势信号。其中,智能设备可以预先设置某一手势信号,将该手势信号作为对提示消息的确认操作对应的手势信号。当智能设备检测到该预设的确认手势信号时,向服务器返回确认消息。其中,手势信号可以通过智能设备上的摄像头或红外传感器获取。(3) The smart device can also detect gesture signals, and the user can perform various types of gesture operations based on the smart device, such as swiping up, swiping down, swiping left, swiping right, or performing gesture operations in a preset manner, etc. Input the corresponding gesture signal to the smart device. The smart device may preset a certain gesture signal, and use the gesture signal as the gesture signal corresponding to the confirmation operation of the prompt message. When the smart device detects the preset confirmation gesture signal, it returns a confirmation message to the server. Among them, the gesture signal can be acquired by the camera or infrared sensor on the smart device.

例如,预设的确认手势信号对应的操作为向左滑动操作,用户获知智能设备输出的提示消息后,执行向左滑动操作,向智能设备输入向左滑动操作对应的手势信号,当智能设备检测到该手势信号时,向服务器返回确认消息。For example, the preset confirmation gesture signal corresponds to a left swipe operation. After the user learns the prompt message output by the smart device, the user performs the left swipe operation, and inputs the gesture signal corresponding to the left swipe operation to the smart device. When the smart device detects When the gesture signal is reached, a confirmation message is returned to the server.

为了保障资源转移操作的安全性,在一种可能实现方式中,智能设备预先设置了用于进行资源转移操作的密码。当智能设备检测到对该提示消息的确认操作时,显示密码输入界面,当智能设备获取到基于该密码输入界面输入的密码,且该密码与预先设置的资源转移操作密码匹配时,向服务器返回确认消息。In order to ensure the security of the resource transfer operation, in a possible implementation manner, the smart device presets a password for performing the resource transfer operation. When the smart device detects the confirmation operation of the prompt message, a password input interface is displayed. When the smart device obtains the password entered based on the password input interface, and the password matches the preset resource transfer operation password, it returns to the server. Confirmation message.

其中,上述密码输入界面中可以包括文本输入框、语音输入按钮或其他用于输入密码的选项。预先设置的资源转移操作密码可以为数字密码、语音密码、指纹密码中的至少一个。在预先设置的密码包括多个密码的情况下,当智能设备在密码输入界面中获取的密码与任一密码匹配时,即可向服务器返回确认消息。Wherein, the above-mentioned password input interface may include a text input box, a voice input button or other options for inputting a password. The preset resource transfer operation password may be at least one of a digital password, a voice password, and a fingerprint password. In the case where the preset password includes multiple passwords, when the password obtained by the smart device in the password input interface matches any password, a confirmation message can be returned to the server.

在步骤605中,当服务器接收到该确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息。In step 605, when the server receives the confirmation message, it performs a resource transfer operation based on the resource transfer information, and sends a resource transfer completion message to the smart TV.

服务器接收智能设备发送的该确认消息,基于智能电视发送的资源转移信息进行资源转移操作。The server receives the confirmation message sent by the smart device, and performs the resource transfer operation based on the resource transfer information sent by the smart TV.

在一种可能实现方式中,资源转移信息中还可以包括资源接收方的目标用户标识和资源转移数量,智能设备当前登录的用户标识对应的账户为第一账户,该目标用户标识对应的账户为第二账户,本次资源转移操作的过程包括:服务器从第一账户中删除与资源转移数量相等的资源,将该资源转移至第二账户中。In a possible implementation, the resource transfer information may further include the target user identifier of the resource recipient and the number of resource transfers, the account corresponding to the user identifier currently logged in by the smart device is the first account, and the account corresponding to the target user identifier is For the second account, the process of this resource transfer operation includes: the server deletes the resource equal to the resource transfer quantity from the first account, and transfers the resource to the second account.

在一种可能实现方式中,服务器通过与第三方资源转移服务器进行交互,实现资源转移操作,该过程可以包括:当服务器接收到智能设备发送的确认消息时,向第三方资源转移服务器发送包含至少包括第一账户、第二账户和资源转移数量的资源转移通知,由该第三方资源转移服务器从第一账户中删除与资源转移数量相等的资源,将该资源转移至第二账户。In a possible implementation manner, the server implements the resource transfer operation by interacting with the third-party resource transfer server, and the process may include: when the server receives the confirmation message sent by the smart device, sending a message to the third-party resource transfer server that includes at least The resource transfer notification including the first account, the second account and the resource transfer quantity, the third-party resource transfer server deletes the resource equal to the resource transfer quantity from the first account, and transfers the resource to the second account.

完成资源转移操作后,服务器向智能电视发送资源转移完成消息,该资源转移完成消息用于提示智能电视资源转移操作已完成。After completing the resource transfer operation, the server sends a resource transfer completion message to the smart TV, where the resource transfer completion message is used to prompt the smart TV that the resource transfer operation has been completed.

在步骤606中,当智能电视接收到服务器发送的资源转移完成消息时,显示该资源转移完成消息。In step 606, when the smart TV receives the resource transfer completion message sent by the server, the resource transfer completion message is displayed.

关于智能电视显示该资源转移完成消息的方式,在一种可能实现方式中,可以为:智能电视基于显示屏幕显示用于表示资源转移完成的文本消息。例如,智能电视在显示屏幕中显示“支付成功!”。Regarding the manner in which the smart TV displays the resource transfer completion message, in a possible implementation manner, the smart TV may display a text message indicating that the resource transfer is completed based on the display screen. For example, a smart TV displays "Payment successful!" on the display screen.

在另一种可能实现方式中,还可以为:智能电视以语音的形式播放用于表示资源转移完成的音频消息。例如,智能电视播放“支付成功”。又例如,智能电视播放播放预设的用于表示资源转移完成的提示音。In another possible implementation manner, the smart TV may play an audio message in the form of voice for indicating that the resource transfer is completed. For example, a smart TV broadcasts "Payment Succeeded". For another example, the smart TV plays a preset prompt sound for indicating the completion of resource transfer.

在另一种可能实现方式中,智能电视还可以将上述方式进行组合,显示组合后的资源转移完成消息。In another possible implementation manner, the smart TV may also combine the above manners, and display the combined resource transfer completion message.

本公开实施例提供的方法,智能电视获取资源转移请求,向服务器发送该资源转移请求,服务器接收该资源转移请求,向智能设备发送提示消息,智能设备接收该提示消息后输出该提示消息,当智能设备检测到对该提示消息的确认操作时,向服务器发送确认消息,当服务器接收到该确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息,由智能电视显示该资源转移完成消息。在智能电视要进行资源转移时,无需用户执行多步操作,用户只需对智能设备输出的提示消息进行确认操作即可在智能电视上实现资源转移,简化了用户的操作,提高了资源转移操作的效率,扩展了智能电视的功能。In the method provided by the embodiment of the present disclosure, the smart TV obtains the resource transfer request, sends the resource transfer request to the server, the server receives the resource transfer request, and sends a prompt message to the smart device, and the smart device outputs the prompt message after receiving the prompt message. When the smart device detects the confirmation operation of the prompt message, it sends a confirmation message to the server. When the server receives the confirmation message, it performs a resource transfer operation based on the resource transfer information, and sends a resource transfer completion message to the smart TV, which is displayed by the smart TV. The resource transfer complete message. When the smart TV needs to perform resource transfer, there is no need for the user to perform multi-step operations. The user only needs to confirm the prompt message output by the smart device to realize the resource transfer on the smart TV, which simplifies the user's operation and improves the resource transfer operation. efficiency, expanding the functionality of smart TVs.

需要说明的第一点是,本公开实施例中的智能设备可以为智能手表,也可以为手机,还可以为其他能够与智能电视进行交互以实现资源转移的设备,如个人电脑、平板电脑等,在此不做具体限定。The first point that needs to be explained is that the smart device in the embodiment of the present disclosure may be a smart watch, a mobile phone, or other devices that can interact with a smart TV to realize resource transfer, such as a personal computer, a tablet computer, etc. , which is not specifically limited here.

需要说明的第二点是,本公开实施例仅是以智能设备检测到对提示消息的确认操作为例进行说明,在另一种可能实现方式中,如果智能设备检测到对提示消息的拒绝操作时,则资源转移失败。其中,智能设备检测对提示消息的拒绝操作的方式与步骤604中检测确认操作的方式类似,不再赘述。The second point that needs to be explained is that the embodiment of the present disclosure only takes the detection of the confirmation operation of the prompt message by the smart device as an example for description. In another possible implementation manner, if the smart device detects the rejection of the prompt message , the resource transfer fails. The manner in which the smart device detects the rejection of the prompt message is similar to the manner in which the confirmation operation is detected in step 604, and will not be described again.

当智能设备检测到对提示消息的拒绝操作时,向服务器发送拒绝消息,服务器向智能电视发送拒绝消息,智能电视可以显示拒绝消息,提示用户已在智能设备上拒绝进行资源转移。When the smart device detects the rejection of the prompt message, it sends a rejection message to the server, the server sends a rejection message to the smart TV, and the smart TV can display a rejection message to remind the user that the resource transfer has been rejected on the smart device.

上述实施例中,仅是以资源转移信息中包括用户标识为例进行说明,在另一种可能实现方式中,资源转移信息还包括订单标识,每个订单标识具有对应的状态标识。In the above embodiment, the resource transfer information includes a user identifier as an example for description. In another possible implementation manner, the resource transfer information further includes an order identifier, and each order identifier has a corresponding status identifier.

其中,订单标识用于表示根据本次资源转移请求生成的订单,可以为随机生成的订单号码或按照时间顺序依次生成的订单编码等。Wherein, the order identifier is used to represent the order generated according to the resource transfer request, which may be a randomly generated order number or an order code generated sequentially in a chronological order, or the like.

状态标识用于表示订单的状态,该状态可以包括未进行资源转移的状态、资源转移完成状态和资源转移失败状态。第一状态标识用于表示未进行资源转移的状态,第二状态标识用于表示资源转移完成状态,第三状态标识用于表示资源转移失败状态。The status identifier is used to indicate the status of the order, and the status may include the status of no resource transfer, the status of resource transfer completion, and the status of resource transfer failure. The first state identifier is used to indicate a state in which resource transfer has not been performed, the second state identifier is used to indicate a resource transfer completed state, and the third state identifier is used to indicate a resource transfer failure state.

在智能电视获取到资源转移请求时,生成与该资源转移请求对应的订单标识,此时该订单标识的状态标识为第一状态标识,表示该订单处于未进行资源转移的状态,如图7所示。When the smart TV obtains the resource transfer request, it generates an order identifier corresponding to the resource transfer request. At this time, the state identifier of the order identifier is the first state identifier, indicating that the order is in a state of not performing resource transfer, as shown in Figure 7 Show.

如果服务器接收到确认消息,则基于资源转移信息进行资源转移完成后,将订单标识对应的状态标识由第一状态标识更改为第二状态标识,表示资源转移操作完成,资源转移成功,订单处于资源转移完成的状态。随后,服务器向智能电视发送状态更新消息,该状态更新消息携带第二状态标识。当智能电视接收到该状态更新消息时,显示订单标识对应的第二状态标识,如图8所示。If the server receives the confirmation message, after the resource transfer is completed based on the resource transfer information, the state identifier corresponding to the order identifier is changed from the first state identifier to the second state identifier, indicating that the resource transfer operation is completed, the resource transfer is successful, and the order is in the resource The status of the transfer completed. Subsequently, the server sends a status update message to the smart TV, where the status update message carries the second status identifier. When the smart TV receives the status update message, it displays the second status ID corresponding to the order ID, as shown in FIG. 8 .

如果服务器接收到拒绝消息,则将订单标识对应的状态标识由第一状态标识更改为第三状态标识,表示资源转移操作失败,订单处于资源转移失败状态。随后,服务器向智能电视发送状态更新消息,该状态更新消息携带第三状态标识。当智能电视接收到该状态更新消息时,显示订单标识对应的第三状态标识,如图9所示。If the server receives the rejection message, it changes the state identifier corresponding to the order identifier from the first state identifier to the third state identifier, indicating that the resource transfer operation fails and the order is in a resource transfer failure state. Subsequently, the server sends a status update message to the smart TV, where the status update message carries the third status identifier. When the smart TV receives the status update message, it displays the third status ID corresponding to the order ID, as shown in FIG. 9 .

另外,针对不同类型的订单,订单在不同阶段具有不同的状态。例如,当订单为购物订单时,订单处于资源转移完成的状态,也即是等待发货状态,后续当物品卖家发出物品后,订单处于等待收货状态,待用户确认收到物品后,订单完成。或者,当订单为外卖订单时,订单处于资源转移完成的状态,也即是外卖员取餐的状态,后续当外卖员从商家取到餐品后,订单处于配送状态,待用户确认收到餐品或者外卖员确认用户已收到餐品后,订单完成。In addition, for different types of orders, orders have different statuses at different stages. For example, when the order is a shopping order, the order is in the state of resource transfer completion, that is, in the state of waiting for delivery. After the item seller sends the item, the order is in the state of waiting for delivery. After the user confirms the receipt of the item, the order is completed. . Or, when the order is a take-out order, the order is in the state of resource transfer completed, that is, the state of the delivery person picking up the meal. After the delivery person picks up the meal from the merchant, the order is in the delivery state, waiting for the user to confirm the receipt of the meal. The order is completed after the product or the delivery person confirms that the user has received the meal.

上述实施例中是以智能设备直接与服务器交互为例,对实现资源转移的过程进行说明,其中智能设备可以为智能手表、手机或其他设备。当智能设备为智能手表时,智能手表可以直接与服务器进行交互,通过服务器与智能电视进行交互,实现资源转移。智能手表也可以通过终端与服务器进行交互,进而与智能电视进行交互,实现资源转移。In the above embodiment, the process of realizing resource transfer is described by taking the smart device directly interacting with the server as an example, wherein the smart device may be a smart watch, a mobile phone or other devices. When the smart device is a smart watch, the smart watch can directly interact with the server, and interact with the smart TV through the server to realize resource transfer. The smart watch can also interact with the server through the terminal, and then interact with the smart TV to realize resource transfer.

本公开实施例中,以智能设备为智能手表,且该智能手表通过终端与服务器进行交互,进而与智能电视进行交互为例,对实现资源转移的过程进行说明。In the embodiment of the present disclosure, the process of realizing resource transfer is described by taking the smart device as a smart watch, and the smart watch interacts with a server through a terminal, and then interacts with a smart TV as an example.

图10是根据一示例性实施例示出的一种资源转移方法的交互流程图,应用于图1所示的智能电视101、智能设备102、服务器103和终端104中,如图7所示,包括以下步骤:Fig. 10 is an interactive flowchart of a resource transfer method according to an exemplary embodiment, which is applied to the smart TV 101, the smart device 102, the server 103 and the terminal 104 shown in Fig. 1 , as shown in Fig. 7 , including The following steps:

在步骤1001中,智能电视获取资源转移请求,向服务器发送该资源转移请求。In step 1001, the smart TV obtains the resource transfer request, and sends the resource transfer request to the server.

步骤1001与上述实施例中的步骤601类似,在此不再赘述。Step 1001 is similar to step 601 in the foregoing embodiment, and details are not repeated here.

在步骤1002中,服务器接收智能电视发送的资源转移请求,向登录该用户标识的终端发送提示消息。In step 1002, the server receives the resource transfer request sent by the smart TV, and sends a prompt message to the terminal logging in the user ID.

服务器接收到智能电视发送的资源转移请求后,获取该资源转移请求中携带的资源转移信息,进而获取到该资源转移信息中的用户标识。当服务器获取到资源转移信息中的用户标识后,向登录该用户标识的终端发送提示消息,该提示消息用于提示该终端进行资源转移操作。After receiving the resource transfer request sent by the smart TV, the server obtains the resource transfer information carried in the resource transfer request, and further obtains the user identifier in the resource transfer information. After acquiring the user ID in the resource transfer information, the server sends a prompt message to the terminal logging in the user ID, where the prompt message is used to prompt the terminal to perform a resource transfer operation.

在一种可能实现方式中,当任一终端登录某一用户标识时,会向服务器发送该终端的设备标识和当前登录的用户标识之间的对应关系,服务器中包括设备标识与用户标识之间的对应关系,表示当前登录用户标识的智能设备。In a possible implementation manner, when any terminal logs in to a certain user ID, the corresponding relationship between the device ID of the terminal and the currently logged-in user ID will be sent to the server, and the server includes the relationship between the device ID and the user ID. The corresponding relationship represents the smart device with the currently logged in user ID.

其中,终端的设备标识为能够确定唯一的终端的标识,可以为终端的出厂编号或设备序列号等。The device identifier of the terminal is an identifier capable of determining a unique terminal, which may be the factory serial number of the terminal or the serial number of the device.

当服务器获取到资源转移信息中携带的用户标识后,根据该用户标识查询当前存储的设备标识与用户标识之间的对应关系,确定与该用户标识对应的设备标识,该设备标识对应的终端即为登录该用户标识的终端,向该终端发送提示消息。After acquiring the user ID carried in the resource transfer information, the server queries the currently stored correspondence between the device ID and the user ID according to the user ID, and determines the device ID corresponding to the user ID. The terminal corresponding to the device ID is To log in to the terminal identified by the user, a prompt message is sent to the terminal.

在另一种可能实现方式中,服务器中运行push服务,push服务用于主动向设备推送消息。当服务器接收到资源转移请求时,调用该push服务,向登录该用户标识的终端发送提示消息。或者,服务器还可以与push服务器建立通信连接,当服务器接收到资源转移请求时,调用push服务器,由push服务器向登录该用户标识的终端发送提示消息。In another possible implementation manner, a push service is run in the server, and the push service is used to actively push messages to the device. When the server receives the resource transfer request, it invokes the push service, and sends a prompt message to the terminal logged in with the user ID. Alternatively, the server may also establish a communication connection with the push server, and when the server receives the resource transfer request, it calls the push server, and the push server sends a prompt message to the terminal logged in with the user ID.

在步骤1003中,终端基于当前登录的用户标识,接收服务器发送的提示消息,向绑定的智能手表发送该提示消息。In step 1003, the terminal receives the prompt message sent by the server based on the currently logged-in user ID, and sends the prompt message to the bound smart watch.

终端基于当前登录的用户标识,接收服务器发送的提示消息后,向绑定的智能手表发送该提示消息。The terminal sends the prompt message to the bound smart watch after receiving the prompt message sent by the server based on the currently logged in user ID.

其中,该智能手表与该终端绑定,该绑定关系可以是通过网络连接建立的绑定关系,也可以终端与智能手表同时登录相同的用户标识而建立的绑定关系,还可以是通过USB(Universal Serial Bus,通用串行总线)建立的连接关系,还可以是基于相同的通信协议建立的通信连接关系,该通信协议可以为D2D(Device-to-Device,终端直通)协议、蓝牙协议、wifi(Wireless Fidelity,无线网)协议、CSMA/CA(Carrier Sense Multiple Accesswith Collision Avoidance,载波侦听多路访问/冲突避免)协议、RF(Radio Frequency,射频)协议等。终端基于该绑定关系,向智能手表发送该提示消息。Wherein, the smart watch is bound to the terminal, and the binding relationship may be a binding relationship established through a network connection, or a binding relationship established by logging in the same user ID between the terminal and the smart watch at the same time, or a binding relationship established through a USB The connection relationship established by (Universal Serial Bus, Universal Serial Bus) can also be a communication connection relationship established based on the same communication protocol. The communication protocol can be D2D (Device-to-Device, Terminal Direct) wifi (Wireless Fidelity, wireless network) protocol, CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance, carrier sense multiple access/collision avoidance) protocol, RF (Radio Frequency, radio frequency) protocol, etc. The terminal sends the prompt message to the smart watch based on the binding relationship.

在步骤1004中,该智能手表接收终端转发的该提示消息,输出该提示消息。In step 1004, the smart watch receives the prompt message forwarded by the terminal, and outputs the prompt message.

步骤1004与上述实施例中的步骤603相比,不同点在于步骤1004中智能手表接收到的提示消息是由终端转发的。而上述实施例中的步骤1003中,智能设备接收到的提示消息则直接由服务器发送的。步骤1004中的其他过程与上述实施例中的步骤603类似,在此不再赘述。The difference between step 1004 and step 603 in the above embodiment is that the prompt message received by the smart watch in step 1004 is forwarded by the terminal. In step 1003 in the above embodiment, the prompt message received by the smart device is directly sent by the server. Other processes in step 1004 are similar to those in step 603 in the foregoing embodiment, and are not repeated here.

在步骤1005中,当智能手表检测到对该提示消息的确认操作时,向终端发送确认消息。In step 1005, when the smart watch detects a confirmation operation for the prompt message, it sends a confirmation message to the terminal.

在步骤1006中,当终端接收到该确认消息时,向服务器发送该确认消息。In step 1006, when the terminal receives the confirmation message, it sends the confirmation message to the server.

本实施例与上述实施例相比,不同点在于智能手表检测到对提示消息的确认操作时,是向绑定的终端发送确认消息,再由该终端向服务器发送确认消息。而上述实施例中,智能设备检测到对提示消息的确认操作时,直接向服务器发送确认消息。其他过程与上述实施例类似,在此不再赘述。The difference between this embodiment and the above embodiments is that when the smart watch detects the confirmation operation for the prompt message, it sends a confirmation message to the bound terminal, and then the terminal sends the confirmation message to the server. In the above embodiment, when the smart device detects the confirmation operation for the prompt message, it directly sends the confirmation message to the server. Other processes are similar to the above-mentioned embodiments, and are not repeated here.

在一种可能实现方式中,终端接收到服务器发送的提示消息后,还可以显示该提示消息。终端显示该提示消息后,如果用户基于与终端绑定的智能手表对该提示消息执行了确认操作,则终端无需再显示该提示消息,因此,当终端接收到智能手表返回的对该提示消息的确认消息时,还可以取消显示该提示消息。如果终端未接收到智能手表返回的确认消息,则终端继续显示该提示消息,用户既可以基于终端对该提示消息进行操作,也可以基于智能手表对该提示消息进行操作。In a possible implementation manner, after receiving the prompt message sent by the server, the terminal may also display the prompt message. After the terminal displays the prompt message, if the user performs a confirmation operation on the prompt message based on the smart watch bound to the terminal, the terminal does not need to display the prompt message again. Therefore, when the terminal receives the prompt message returned by the smart watch, You can also suppress the prompt message when you confirm the message. If the terminal does not receive the confirmation message returned by the smart watch, the terminal continues to display the prompt message, and the user can operate the prompt message based on the terminal or the smart watch.

其中,终端显示该提示消息的方式,与上述实施例中步骤603中智能设备输出提示消息的方式类似,在此不再赘述。The manner in which the terminal displays the prompt message is similar to the manner in which the smart device outputs the prompt message in step 603 in the foregoing embodiment, and details are not described herein again.

在步骤1007中,服务器接收该确认消息,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息。In step 1007, the server receives the confirmation message, performs a resource transfer operation based on the resource transfer information, and sends a resource transfer completion message to the smart TV.

步骤1007与上述实施例中的步骤605类似,在此不再赘述。Step 1007 is similar to step 605 in the foregoing embodiment, and details are not repeated here.

在步骤1008中,当智能电视接收到服务器发送的资源转移完成消息时,显示该资源转移完成消息。In step 1008, when the smart TV receives the resource transfer completion message sent by the server, the resource transfer completion message is displayed.

步骤1008与上述实施例中的步骤606类似,在此不再赘述。Step 1008 is similar to step 606 in the foregoing embodiment, and details are not repeated here.

本公开实施例提供的方法,智能电视获取资源转移请求,向服务器发送该资源转移请求,服务器接收该资源转移请求,向登录该资源转移请求中包含的用户标识的终端发送提示消息,终端接收该提示消息,转发给绑定的智能手表,该智能手表接收该提示消息后输出该提示消息,当智能手表检测到对该提示消息的确认操作时,通过终端向服务器返回确认消息,服务器接收到该确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息,由智能电视显示该资源转移完成消息。智能手表通过终端和服务器与智能电视交互的方式,可以在智能电视要进行资源转移时,无需用户在终端上执行多步操作,用户只需对智能手表显示的提示消息进行确认操作即可在智能电视上实现资源转移,简化了用户的操作,提高了资源转移操作的效率,扩展了智能电视的功能。In the method provided by the embodiment of the present disclosure, the smart TV obtains the resource transfer request, sends the resource transfer request to the server, the server receives the resource transfer request, and sends a prompt message to the terminal that logs in the user ID included in the resource transfer request, and the terminal receives the resource transfer request. The prompt message is forwarded to the bound smart watch, and the smart watch outputs the prompt message after receiving the prompt message. When the smart watch detects the confirmation operation of the prompt message, it returns a confirmation message to the server through the terminal, and the server receives the prompt message. When the message is confirmed, the resource transfer operation is performed based on the resource transfer information, a resource transfer completion message is sent to the smart TV, and the resource transfer completion message is displayed by the smart TV. The smart watch interacts with the smart TV through the terminal and the server. When the smart TV needs to transfer resources, the user does not need to perform multi-step operations on the terminal. The user only needs to confirm the prompt message displayed by the smart watch. The resource transfer is realized on the TV, which simplifies the user's operation, improves the efficiency of the resource transfer operation, and expands the functions of the smart TV.

需要说明的是,本公开实施例中的终端可以为手机、个人电脑、平板电脑或其他能够与智能手表绑定,且能够与智能电视进行交互以实现资源转移的终端。It should be noted that the terminal in the embodiment of the present disclosure may be a mobile phone, a personal computer, a tablet computer, or other terminals that can be bound with a smart watch and can interact with a smart TV to realize resource transfer.

本公开实施例中涉及的快应用是一种基于电子设备的硬件平台的新型应用形态,能够基于操作系统提供的原生API(Application Programming Interface,应用程序编程接口)运行。The quick application involved in the embodiments of the present disclosure is a new type of application form based on a hardware platform of an electronic device, and can run based on a native API (Application Programming Interface, application programming interface) provided by an operating system.

快应用采用统一的标准进行开发,原生渲染,无需安装,即点即用,又兼具原生应用体验(性能、系统整合、交互等)。快应用的框架可以深度集成于操作系统中,能够在操作系统层面进行操作,实现与其他应用服务之间的无缝衔接。开发者可以做到一次性开发即可在不同类型的电子设备上运行。快应用在诞生之初就在开发规范、能力接入、开发者服务等层面实现了电子设备厂商间的标准化统一,极大地降低开发者的适配成本。Quick applications are developed using unified standards, native rendering, no installation required, click-to-use, and native application experience (performance, system integration, interaction, etc.). The framework of fast applications can be deeply integrated into the operating system, and can operate at the operating system level to achieve seamless connection with other application services. Developers can do one-time development and run on different types of electronic devices. At the beginning of its birth, Quick Apps achieved standardization and unification among electronic equipment manufacturers in terms of development specifications, capability access, developer services, etc., which greatly reduced the adaptation cost of developers.

与传统应用相比,快应用具备如下特点:Compared with traditional apps, quick apps have the following features:

Instant(即时):即点即用,用户无需等待;Instant (instant): click and use immediately, users do not need to wait;

Everywhere(随处可见):与电子设备的使用场景深度整合,入口无处不在,如搜索引擎、智能助手、智能推荐、应用市场、浏览器等;Everywhere: It is deeply integrated with the usage scenarios of electronic devices, and the entrance is ubiquitous, such as search engines, smart assistants, smart recommendations, application markets, browsers, etc.;

Efficient(高效):准前端的开发方式,效率高。Efficient: A quasi-front-end development method with high efficiency.

图11是根据本公开实施例示出的一种快应用框架1100的框图,该快应用框架包括:场景入口1120、快应用引擎1140和操作系统(Operating System,OS)基础设施及硬件1160。11 is a block diagram of a quick application framework 1100 according to an embodiment of the present disclosure. The quick application framework includes: a scene entry 1120 , a quick application engine 1140 , and operating system (Operating System, OS) infrastructure and hardware 1160 .

场景入口1120包括负一屏、全局搜索、锁屏、桌面、应用市场、浏览器和二维码中的至少一种。场景入口1120的外在展现形式可以为页面形式和卡片形式。The scene entry 1120 includes at least one of a negative screen, a global search, a lock screen, a desktop, an application market, a browser, and a two-dimensional code. The external presentation form of the scene entry 1120 may be a page form or a card form.

快应用引擎1140包括前端框架1141、通用场景1142、轻量化场景1143、嵌入式SDK(Software Development Kit,软件开发工具包)1144和业务接入1145。The quick application engine 1140 includes a front-end framework 1141 , a general scenario 1142 , a lightweight scenario 1143 , an embedded SDK (Software Development Kit, software development kit) 1144 and a service access 1145 .

其中,前端框架1141包括MVVM(Model-View-View-Model,模型-视图-视图-模型)、V-DOM(Virtual-Document Object Model,虚拟文档对象模型)、路由、基础API(Application Programming Interface,应用程序编程接口)、业务API、UI(UserInterface,用户界面)组件、路由等;The front-end framework 1141 includes MVVM (Model-View-View-Model, Model-View-View-Model), V-DOM (Virtual-Document Object Model, virtual document object model), routing, and basic API (Application Programming Interface, Application programming interface), business API, UI (UserInterface, user interface) components, routing, etc.;

通用场景1142和轻量化场景1143包括JavaScript(一种编程语言)引擎、标准渲染引擎、极速渲染引擎、端-云-芯加速、安全机制、新兴场景如AI(Artificial Intelligence,人工智能)、AR(Augmented Reality,增强现实)等、系统整合(应用管理、权限管理等);General scenarios 1142 and lightweight scenarios 1143 include JavaScript (a programming language) engine, standard rendering engine, extremely fast rendering engine, device-cloud-core acceleration, security mechanisms, emerging scenarios such as AI (Artificial Intelligence, artificial intelligence), AR ( Augmented Reality, augmented reality), etc., system integration (application management, permission management, etc.);

业务接入1145包括推送、账号/支付等。Service access 1145 includes push, account/payment, and the like.

OS基础设施及硬件1160包括:图形库、原生控件、系统服务和GPU(GraphicsProcessing Unit,图形处理器)/NPU(Neural-network Processing Unit,嵌入式神经网络处理器)等。The OS infrastructure and hardware 1160 includes: graphics library, native controls, system services, GPU (Graphics Processing Unit, graphics processing unit)/NPU (Neural-network Processing Unit, embedded neural network processor), and the like.

从执行路径层面,有标准的HTML(Hyper Text Markup Language,超文本标记语言)5方式支撑通用的Web(World Wide Web,万维网)场景,以及JS(JavaScript,一种编程语言)与Native(原生)相结合的方式,支撑更轻量、更快速的体验。From the execution path level, there are standard HTML (Hyper Text Markup Language, Hyper Text Markup Language) 5 ways to support common Web (World Wide Web, World Wide Web) scenarios, as well as JS (JavaScript, a programming language) and Native (native) The combined method supports a lighter and faster experience.

下面将按3个方面简要介绍快应用引擎的架构。The following will briefly introduce the architecture of the fast application engine in three aspects.

1)应用开发:1) Application development:

快应用的前端设计借鉴并整合了主流前端框架的设计思路:以组件化的方式构建应用,以数据绑定为核心的MVVM设计模式,以V-DOM的方式提升性能,同时选择了简洁清晰的类Vue(虚拟机脱壳引擎)的模板。同时对布局方面做了相应精简。从新的应用形态、映射原生UI、能力开放的角度,需要定义一套组件与API规范,方便开发这种快速开发应用。The front-end design of Quick Apps draws on and integrates the design ideas of mainstream front-end frameworks: building applications in a componentized way, MVVM design pattern with data binding as the core, V-DOM way to improve performance, and choosing a concise and clear Vue-like (virtual machine unpacking engine) template. At the same time, the layout has been simplified accordingly. From the perspective of new application form, mapping native UI, and capability openness, it is necessary to define a set of components and API specifications to facilitate the development of such rapid development applications.

2)系统整合:2) System integration:

快应用作为完整的应用形态,可以与系统深入整合,如同原生应用一样运行,以及与系统交互。快应用目前有两种形态:全屏方式的独立应用形态与嵌入方式的卡片形态。在独立应用形态下,给用户的体验就像原生的应用程序,有完整的生命周期管理,页面管理,路由等。快应用可以寄生于安卓的Activity(行为),页面寄生于Fragment(碎片),并通过独立的后台Service(服务)进行实例的管控。卡片形态则是另外一种形态,通过嵌入式SDK(Software Development Kit,软件开发工具包)作为一个独立的局部控件嵌入到系统的各个角落,轻量化的展现动态内容。在安全隔离方面,可通过沙盒机制,进程隔离,权限控制,并结合操作系统层的支持做到较好的安全保障。As a complete application form, a quick application can be deeply integrated with the system, run like a native application, and interact with the system. There are currently two forms of quick applications: the independent application form in full-screen mode and the card form in embedded mode. In the form of an independent application, the user experience is like a native application, with complete life cycle management, page management, routing, etc. Quick applications can be parasitic on Android's Activity (behavior), and pages can be parasitic on Fragment (fragment), and instances are managed and controlled through an independent background Service (service). The card form is another form, through the embedded SDK (Software Development Kit, software development kit) as an independent local control embedded in every corner of the system, lightweight display of dynamic content. In terms of security isolation, better security can be achieved through the sandbox mechanism, process isolation, permission control, and the support of the operating system layer.

3)性能体验及新兴场景,如JavaScript引擎、渲染引擎、端-云-芯加速、新兴场景等:3) Performance experience and emerging scenarios, such as JavaScript engine, rendering engine, device-cloud-core acceleration, emerging scenarios, etc.:

在交互体验、资源开销和稳定性等方面,快应用通过引入原生渲染路径,进而实现前端开发方式与原生渲染及平台能力的有效组合。In terms of interactive experience, resource overhead, and stability, Quick Apps introduce native rendering paths to effectively combine front-end development methods with native rendering and platform capabilities.

不同于其它的应用层的跨平台框架,快应用植根于电子设备的操作系统,可实现从芯片、操作系统与云的深度整合。利用端和云的结合以启动性能加速为例,通过云和端的协同渲染,网络链路层的优化可以大大加速快应用启动速度。同时可以整合硬件平台的特有能力,进一步提升体验。例如可以结合电子设备AI芯片,将NPU(Neural-networkProcessing Unit,网络处理器)的算力整合到快应用引擎中来,使得AI场景(人脸识别、图像超分等)在端侧可以低延时、高性能的执行,同时又有效保护了用户的隐私,并节省带宽。Different from other cross-platform frameworks at the application layer, Quick Apps are rooted in the operating system of electronic devices and can achieve deep integration from chips, operating systems and clouds. Using the combination of the terminal and the cloud, take startup performance acceleration as an example, through the collaborative rendering of the cloud and the terminal, the optimization of the network link layer can greatly accelerate the startup speed of fast applications. At the same time, the unique capabilities of the hardware platform can be integrated to further enhance the experience. For example, the computing power of the NPU (Neural-network Processing Unit, network processor) can be integrated into the fast application engine in combination with the AI chip of electronic equipment, so that the AI scene (face recognition, image super-score, etc.) can be low-latency on the device side. Timely, high-performance execution, while effectively protecting user privacy and saving bandwidth.

图12是根据本公开实施例示出的一种快应用的启动流程图,包括:Fig. 12 is a startup flowchart of a quick application according to an embodiment of the present disclosure, including:

1)首次启动时,用户点击触发下载快应用的程序包,同时进行快应用引擎的初始化相关工作。当整个快应用的程序包下载与校验完成后,需要展示的第一个页面的JavaScript文件才会被加载并开始渲染。1) When starting for the first time, the user clicks to trigger the download of the package of the quick app, and at the same time, the initialization of the quick app engine is performed. After the entire quick application package is downloaded and verified, the JavaScript file of the first page to be displayed will be loaded and rendered.

2)页面渲染包括JavaScript加载、页面与JavaScript框架逻辑的执行、布局的运算,最终到原生UI控件的绘制。其中,页面内逻辑执行时会有一次或多次的网络请求,网络请求返还的数据驱动页面的再次渲染,直至首屏页面的内容完全展示。2) Page rendering includes JavaScript loading, execution of page and JavaScript framework logic, layout operations, and finally the drawing of native UI controls. Among them, there will be one or more network requests when the logic in the page is executed, and the data returned by the network request drives the re-rendering of the page until the content of the first screen page is completely displayed.

这里的网络请求、JavaScript执行、排版与绘制并非简单的串行关系,而是并行化地交织在一起,影响着整个页面的渲染性能,并与页面设计的逻辑、网络状况与设备运行的状态强相关。The network request, JavaScript execution, typesetting and drawing here are not a simple serial relationship, but are intertwined in parallel, which affects the rendering performance of the entire page, and is closely related to the logic of page design, network conditions and device operation. related.

图13是根据一示例性实施例示出的一种资源转移装置的框图,该装置应用于智能电视中,如图13所示,该装置包括:Fig. 13 is a block diagram of a resource transfer apparatus according to an exemplary embodiment, the apparatus is applied to a smart TV, as shown in Fig. 13 , the apparatus includes:

获取模块1301,用于获取资源转移请求,资源转移请求携带资源转移信息,资源转移信息至少包括智能电视当前登录的用户标识;The obtaining module 1301 is used to obtain a resource transfer request, the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID of the smart TV currently logged in;

发送模块1302,用于向服务器发送资源转移请求,服务器用于向智能设备发送提示消息,智能设备用于输出提示消息,当检测到对提示消息的确认操作时返回确认消息,服务器用于当接收到确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息;The sending module 1302 is used to send a resource transfer request to the server, the server is used to send a prompt message to the smart device, the smart device is used to output the prompt message, and returns a confirmation message when a confirmation operation on the prompt message is detected, and the server is used to receive the prompt message. When the confirmation message arrives, the resource transfer operation is performed based on the resource transfer information, and a resource transfer completion message is sent to the smart TV;

消息显示模块1303,用于当接收到服务器发送的资源转移完成消息时,显示资源转移完成消息。The message display module 1303 is configured to display the resource transfer completion message when receiving the resource transfer completion message sent by the server.

在一种可能实现的方式中,参见图14,获取模块1301包括:In a possible implementation manner, referring to FIG. 14 , the obtaining module 1301 includes:

显示单元13011,用于基于用户标识显示快应用的应用界面,应用界面中包括资源转移信息和资源转移选项,快应用基于智能电视的操作系统提供的原生应用程序接口API运行;The display unit 13011 is used to display the application interface of the quick application based on the user ID, the application interface includes resource transfer information and resource transfer options, and the quick application runs based on the native application program interface API provided by the operating system of the smart TV;

生成单元13012,用于当检测到对资源转移选项的触发操作时,生成资源转移请求。The generating unit 13012 is configured to generate a resource transfer request when a trigger operation on the resource transfer option is detected.

在另一种可能实现的方式中,所述资源转移请求还携带所述智能设备的设备标识,所述服务器用于向所述设备标识对应的智能设备发送所述提示消息;In another possible implementation manner, the resource transfer request further carries a device identifier of the smart device, and the server is configured to send the prompt message to the smart device corresponding to the device identifier;

或者,所述服务器用于向登录所述用户标识的智能设备发送所述提示消息。Or, the server is configured to send the prompt message to the smart device logging in the user ID.

在另一种可能实现的方式中,智能设备为智能手表;In another possible implementation, the smart device is a smart watch;

服务器用于向登录用户标识的终端发送提示消息;The server is used to send a prompt message to the terminal with the logged in user ID;

终端用于向绑定的智能手表发送提示消息;The terminal is used to send a prompt message to the bound smart watch;

智能手表用于输出提示消息,当检测到对提示消息的确认操作时,通过终端向服务器返回确认消息。The smart watch is used to output a prompt message, and when a confirmation operation for the prompt message is detected, a confirmation message is returned to the server through the terminal.

在另一种可能实现的方式中,资源转移信息包括订单标识,服务器还用于基于资源转移信息进行资源转移操作后,将订单标识对应的状态标识由第一状态标识更改为第二状态标识,向智能电视发送状态更新消息,状态更新消息携带第二状态标识;装置还包括:In another possible implementation manner, the resource transfer information includes an order identifier, and the server is further configured to change the state identifier corresponding to the order identifier from the first state identifier to the second state identifier after performing the resource transfer operation based on the resource transfer information, Send a status update message to the smart TV, where the status update message carries the second status identifier; the device further includes:

标识显示模块1304,用于当接收到状态更新消息时,显示订单标识对应的第二状态标识。The identification display module 1304 is configured to display the second status identification corresponding to the order identification when the status update message is received.

图15是根据一示例性实施例示出的一种资源转移装置的框图,该装置应用于智能设备中,如图15所示,该装置包括:Fig. 15 is a block diagram of a resource transfer apparatus according to an exemplary embodiment. The apparatus is applied to a smart device. As shown in Fig. 15 , the apparatus includes:

接收模块1501,用于接收服务器发送的提示消息,提示消息由服务器接收到智能电视发送的资源转移请求后发送,资源转移请求携带资源转移信息,资源转移信息至少包括智能电视当前登录的用户标识;The receiving module 1501 is used for receiving a prompt message sent by the server, and the prompt message is sent by the server after receiving the resource transfer request sent by the smart TV, and the resource transfer request carries resource transfer information, and the resource transfer information at least includes the current login user ID of the smart TV;

输出模块1502,用于输出提示消息;An output module 1502, configured to output a prompt message;

发送模块1503,用于当检测到对提示消息的确认操作时,向服务器发送确认消息,服务器用于当接收到确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息。The sending module 1503 is configured to send a confirmation message to the server when a confirmation operation for the prompt message is detected, and the server is used to perform a resource transfer operation based on the resource transfer information when receiving the confirmation message, and send a resource transfer completion message to the smart TV .

在一种可能实现方式中,参见图16,智能设备为智能手表,服务器用于向登录用户标识的终端发送提示消息,智能手表与终端绑定;In a possible implementation, referring to FIG. 16 , the smart device is a smart watch, the server is used to send a prompt message to the terminal logging in the user ID, and the smart watch is bound to the terminal;

接收模块1501,用于接收终端转发的提示消息。The receiving module 1501 is configured to receive the prompt message forwarded by the terminal.

在另一种可能实现方式中,输出模块1502,包括以下至少一种:In another possible implementation, the output module 1502 includes at least one of the following:

显示单元15021,用于显示文本提示消息;Display unit 15021, used to display text prompt messages;

播放单元15022,用于播放语音提示消息;Playing unit 15022, used to play the voice prompt message;

震动单元15023,用于以震动的方式输出提示消息。The vibrating unit 15023 is used for outputting prompt messages in a vibrating manner.

在另一种可能实现方式中,发送模块1503,包括以下至少一种:In another possible implementation manner, the sending module 1503 includes at least one of the following:

第一发送单元15031,用于当检测到对显示的确认选项的触发操作时,向服务器发送确认消息;The first sending unit 15031 is configured to send a confirmation message to the server when a triggering operation on the displayed confirmation option is detected;

第二发送单元15032,用于当接收到包含确认关键词的语音信息时,向服务器发送确认消息;The second sending unit 15032 is configured to send a confirmation message to the server when receiving the voice information containing the confirmation keyword;

第三发送单元15033,用于当检测到预设的确认手势信号时,向服务器发送确认消息。The third sending unit 15033 is configured to send a confirmation message to the server when a preset confirmation gesture signal is detected.

图17是根据一示例性实施例示出的一种资源转移装置的框图,该装置应用于终端中,如图17所示,该装置包括:Fig. 17 is a block diagram of a resource transfer apparatus according to an exemplary embodiment. The apparatus is applied in a terminal. As shown in Fig. 17 , the apparatus includes:

接收模块1701,用于基于当前登录的用户标识,接收服务器发送的提示消息,提示消息由服务器接收到智能电视发送的资源转移请求后发送,资源转移请求携带资源转移信息,资源转移信息至少包括智能电视当前登录的用户标识;The receiving module 1701 is used to receive the prompt message sent by the server based on the currently logged in user ID. The prompt message is sent by the server after receiving the resource transfer request sent by the smart TV. The resource transfer request carries resource transfer information, and the resource transfer information at least includes smart TV. The user ID of the TV currently logged in;

提示消息发送模块1702,用于向绑定的智能手表发送提示消息,智能手表用于输出提示消息,当检测到对提示消息的确认操作时,返回确认消息;The prompt message sending module 1702 is used to send a prompt message to the bound smart watch, the smart watch is used to output the prompt message, and when a confirmation operation for the prompt message is detected, a confirmation message is returned;

确认消息发送模块1703,用于当接收到确认消息时,向服务器发送确认消息,服务器用于当接收到确认消息时,基于资源转移信息进行资源转移操作,向智能电视发送资源转移完成消息。The confirmation message sending module 1703 is used to send a confirmation message to the server when the confirmation message is received, and the server is used to perform a resource transfer operation based on the resource transfer information when receiving the confirmation message, and send a resource transfer completion message to the smart TV.

在一种可能实现方式中,参见图18,装置还包括:In a possible implementation, referring to FIG. 18 , the apparatus further includes:

显示模块1704,用于显示提示消息;A display module 1704, configured to display a prompt message;

显示模块1704,还用于当接收到确认消息时,取消显示提示消息。The display module 1704 is further configured to cancel the display of the prompt message when the confirmation message is received.

图19是根据一示例性实施例示出的一种资源转移装置的框图,该装置应用于服务器中,如图19所示,该装置包括:Fig. 19 is a block diagram of a resource transfer apparatus according to an exemplary embodiment. The apparatus is applied to a server. As shown in Fig. 19, the apparatus includes:

接收模块1901,用于接收智能电视发送的资源转移请求,资源转移请求携带资源转移信息,资源转移信息至少包括智能电视当前登录的用户标识;The receiving module 1901 is configured to receive a resource transfer request sent by the smart TV, where the resource transfer request carries resource transfer information, and the resource transfer information at least includes the user ID currently logged in by the smart TV;

提示消息发送模块1902,用于向智能设备发送提示消息,智能设备用于输出提示消息,当检测到对提示消息的确认操作时返回确认消息;The prompt message sending module 1902 is configured to send a prompt message to the smart device, the smart device is used to output the prompt message, and returns a confirmation message when a confirmation operation on the prompt message is detected;

资源转移模块1903,用于当接收到确认消息时,基于资源转移信息进行资源转移操作;A resource transfer module 1903, configured to perform a resource transfer operation based on the resource transfer information when the confirmation message is received;

完成消息发送模块1904,用于向智能电视发送资源转移完成消息,智能电视用于显示资源转移完成消息。The completion message sending module 1904 is configured to send a resource transfer completion message to the smart TV, and the smart TV is configured to display the resource transfer completion message.

在一种可能实现方式中,参见图20,智能设备为智能手表,提示消息发送模块1902,包括:In a possible implementation, referring to FIG. 20 , the smart device is a smart watch, and the prompt message sending module 1902 includes:

第一发送单元19021,用于向登录用户标识的终端发送提示消息,由终端向绑定的智能手表发送提示消息。The first sending unit 19021 is configured to send a prompt message to the terminal that logs in the user ID, and the terminal sends the prompt message to the bound smart watch.

在另一种可能实现方式中,所述资源转移请求还携带所述智能设备的设备标识,提示消息发送模块1902,包括:In another possible implementation manner, the resource transfer request also carries the device identifier of the smart device, and the prompt message sending module 1902 includes:

第二发送单元19022,用于向所述设备标识对应的智能设备发送所述提示消息。The second sending unit 19022 is configured to send the prompt message to the smart device corresponding to the device identifier.

在另一种可能实现方式中,资源转移信息包括订单标识,装置还包括:In another possible implementation manner, the resource transfer information includes an order identifier, and the device further includes:

状态更改模块1905,用于基于资源转移信息进行资源转移操作后,将订单标识对应的状态标识由第一状态标识更改为第二状态标识;The state changing module 1905 is used to change the state identifier corresponding to the order identifier from the first state identifier to the second state identifier after performing the resource transfer operation based on the resource transfer information;

更新消息发送模块1906,用于向智能电视发送状态更新消息,状态更新消息携带第二状态标识,智能电视用于当接收到状态更新消息时,显示订单标识对应的第二状态标识。The update message sending module 1906 is used for sending a status update message to the smart TV, the status update message carries the second status identifier, and the smart TV is used for displaying the second status identifier corresponding to the order identifier when receiving the status update message.

图21是本公开实施例提供的一种智能设备的框图。例如,该智能设备2100可以用于执行上述各个实施例中提供的资源转移方法中智能设备执行的步骤。参见图21,智能设备2100可以包括以下一个或多个组件:处理组件2102,存储器2104,电源组件2106,多媒体组件2108,音频组件2110,输入/输出(I/O)的接口2112,传感器组件2114,以及通信组件2116。FIG. 21 is a block diagram of a smart device provided by an embodiment of the present disclosure. For example, the smart device 2100 can be used to execute the steps performed by the smart device in the resource transfer methods provided in the above embodiments. 21, a smart device 2100 may include one or more of the following components: a processing component 2102, a memory 2104, a power supply component 2106, a multimedia component 2108, an audio component 2110, an input/output (I/O) interface 2112, a sensor component 2114 , and the communication component 2116.

处理组件2102通常控制智能设备2100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件2102可以包括一个或多个处理器2120来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件2102可以包括一个或多个模块,便于处理组件2102和其他组件之间的交互。例如,处理组件2102可以包括多媒体模块,以方便多媒体组件2108和处理组件2102之间的交互。The processing component 2102 generally controls the overall operations of the smart device 2100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 2102 can include one or more processors 2120 to execute instructions to perform all or some of the steps of the methods described above. Additionally, processing component 2102 may include one or more modules that facilitate interaction between processing component 2102 and other components. For example, processing component 2102 may include a multimedia module to facilitate interaction between multimedia component 2108 and processing component 2102.

存储器2104被配置为存储各种类型的数据以支持在智能设备2100的操作。这些数据的示例包括用于在智能设备2100上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器2104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 2104 is configured to store various types of data to support operation at the smart device 2100 . Examples of such data include instructions for any application or method operating on the smart device 2100, contact data, phonebook data, messages, pictures, videos, and the like. Memory 2104 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件2106为智能设备2100的各种组件提供电力。电源组件2106可以包括电源管理系统,一个或多个电源,及其他与为智能设备2100生成、管理和分配电力相关联的组件。Power component 2106 provides power to various components of smart device 2100. Power components 2106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to smart device 2100 .

多媒体组件2108包括在智能设备2100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件2108包括一个前置摄像头和/或后置摄像头。当智能设备2100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 2108 includes a screen that provides an output interface between the smart device 2100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. A touch sensor can sense not only the boundaries of a touch or swipe action, but also the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 2108 includes a front-facing camera and/or a rear-facing camera. When the smart device 2100 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件2110被配置为输出和/或输入音频信号。例如,音频组件2110包括一个麦克风(MIC),当智能设备2100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器2104或经由通信组件2116发送。在一些实施例中,音频组件2110还包括一个扬声器,用于输出音频信号。Audio component 2110 is configured to output and/or input audio signals. For example, the audio component 2110 includes a microphone (MIC) that is configured to receive external audio signals when the smart device 2100 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 2104 or transmitted via communication component 2116. In some embodiments, the audio component 2110 also includes a speaker for outputting audio signals.

I/O接口2112为处理组件2102和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 2112 provides an interface between the processing component 2102 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件2114包括一个或多个传感器,用于为智能设备2100提供各个方面的状态评估。例如,传感器组件2114可以检测到智能设备2100的打开/关闭状态,组件的相对定位,例如组件为智能设备2100的显示器和小键盘,传感器组件2114还可以检测智能设备2100或智能设备2100一个组件的位置改变,用户与智能设备2100接触的存在或不存在,智能设备2100方位或加速/减速和智能设备2100的温度变化。传感器组件2114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件2114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件2114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor component 2114 includes one or more sensors for providing status assessment of various aspects for smart device 2100. For example, the sensor component 2114 can detect the on/off state of the smart device 2100, the relative positioning of components, such as the display and keypad of the smart device 2100, the sensor component 2114 can also detect the smart device 2100 or a component of the smart device 2100. Changes in location, presence or absence of user contact with the smart device 2100 , orientation or acceleration/deceleration of the smart device 2100 and changes in the temperature of the smart device 2100 . Sensor assembly 2114 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 2114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 2114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件2116被配置为便于智能设备2100和其他设备之间有线或无线方式的通信。智能设备2100可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件2116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件2116还包括近场通信(NFC)模块,以促进短程通信。Communication component 2116 is configured to facilitate wired or wireless communication between smart device 2100 and other devices. The smart device 2100 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 2116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 2116 also includes a near field communication (NFC) module to facilitate short-range communication.

在示例性实施例中,智能设备2100可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, smart device 2100 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器2104,上述指令可由智能设备2100的处理器2120执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 2104 including instructions, which are executable by the processor 2120 of the smart device 2100 to accomplish the above method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

图22是根据一示例性实施例示出的一种资源转移装置2200的框图。例如,装置2200可以被提供为一服务器。参照图22,装置2200包括处理组件2222,其进一步包括一个或多个处理器,以及由存储器2232所代表的存储器资源,用于存储可由处理组件2222的执行的指令,例如应用程序。存储器2232中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。Fig. 22 is a block diagram of a resource transfer apparatus 2200 according to an exemplary embodiment. For example, the apparatus 2200 may be provided as a server. 22, apparatus 2200 includes a processing component 2222, which further includes one or more processors, and a memory resource, represented by memory 2232, for storing instructions executable by processing component 2222, such as applications. An application program stored in memory 2232 may include one or more modules, each corresponding to a set of instructions.

装置2200还可以包括一个电源组件2226被配置为执行装置2200的电源管理,一个有线或无线网络接口2250被配置为将装置2200连接到网络,和一个输入输出(I/O)接口2258。装置2200可以操作基于存储在存储器2232的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。The device 2200 may also include a power supply assembly 2226 configured to perform power management of the device 2200, a wired or wireless network interface 2250 configured to connect the device 2200 to a network, and an input output (I/O) interface 2258. Device 2200 may operate based on an operating system stored in memory 2232, such as Windows Server , MacOS X , Unix , Linux , FreeBSD or the like.

本公开实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现上述实施例的资源转移方法中所执行的操作。Embodiments of the present disclosure further provide a computer-readable storage medium, where at least one instruction is stored in the computer-readable storage medium, and the instruction is loaded and executed by a processor to implement the resource transfer method executed in the foregoing embodiment. operate.

本公开实施例还提供了一种计算机程序产品,该计算机程序产品中存储有至少一条指令,所述指令由处理器加载并执行以实现上述实施例的资源转移方法中所执行的操作。Embodiments of the present disclosure further provide a computer program product, where at least one instruction is stored in the computer program product, and the instruction is loaded and executed by a processor to implement the operations performed in the resource transfer method of the foregoing embodiment.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (35)

1. A resource transfer method is applied to a smart television and comprises the following steps:
acquiring a resource transfer request, wherein the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the current login of the intelligent television;
sending the resource transfer request to a server, wherein the server is used for sending a prompt message to intelligent equipment, the intelligent equipment is used for outputting the prompt message, a confirmation message is returned when the confirmation operation of the prompt message is detected, and the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the intelligent television when the confirmation message is received;
and when receiving a resource transfer completion message sent by the server, displaying the resource transfer completion message.
2. The method of claim 1, wherein obtaining the resource transfer request comprises:
displaying an application interface of a fast application based on the user identification, wherein the application interface comprises the resource transfer information and resource transfer options, and the fast application runs based on a native Application Program Interface (API) provided by an operating system of the smart television;
generating the resource transfer request when a triggering operation on the resource transfer option is detected.
3. The method according to claim 1, wherein the resource transfer request further carries a device identifier of the smart device, and the server is configured to send the prompt message to the smart device corresponding to the device identifier;
or the server is used for sending the prompt message to the intelligent equipment logging in the user identification.
4. The method of claim 1, wherein the smart device is a smart watch;
the server is used for sending a prompt message to the terminal logging in the user identifier;
the terminal is used for sending the prompt message to the bound smart watch;
the intelligent watch is used for outputting the prompt message, and when the confirmation operation of the prompt message is detected, the confirmation message is returned to the server through the terminal.
5. The method according to claim 1, wherein the resource transfer information includes an order identifier, and the server is further configured to change a state identifier corresponding to the order identifier from a first state identifier to a second state identifier after performing a resource transfer operation based on the resource transfer information, and send a state update message to the smart television, where the state update message carries the second state identifier; the method further comprises the following steps:
and when the state updating message is received, displaying the second state identification corresponding to the order identification.
6. A resource transfer method is applied to an intelligent device, and comprises the following steps:
receiving a prompt message sent by a server, wherein the prompt message is sent after the server receives a resource transfer request sent by the smart television, the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the smart television which is currently logged in;
outputting the prompt message;
and when the confirmation operation of the prompt message is detected, sending a confirmation message to the server, wherein the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the smart television when receiving the confirmation message.
7. The method according to claim 6, wherein the smart device is a smart watch, the server is configured to send a prompt message to a terminal logged in with the user identifier, and the smart watch is bound to the terminal;
the receiving of the prompt message sent by the server includes: and receiving the prompt message forwarded by the terminal.
8. The method of claim 7, wherein outputting the prompting message comprises at least one of:
displaying a text prompt message;
playing a voice prompt message;
and outputting the prompt message in a vibration mode.
9. The method of claim 6, wherein sending a confirmation message to the server when the confirmation operation on the prompting message is detected comprises at least one of:
when the trigger operation of the displayed confirmation option is detected, sending the confirmation message to the server;
when receiving voice information containing a confirmation keyword, sending the confirmation message to the server;
and when a preset confirmation gesture signal is detected, sending the confirmation message to the server.
10. A resource transfer method is applied to a terminal, and the method comprises the following steps:
receiving a prompt message sent by a server based on a currently logged user identifier, wherein the prompt message is sent by the server after the server receives a resource transfer request sent by the smart television, the resource transfer request carries resource transfer information, and the resource transfer information at least comprises the currently logged user identifier of the smart television;
sending the prompt message to a bound smart watch, wherein the smart watch is used for outputting the prompt message, and returning the confirmation message when the confirmation operation of the prompt message is detected;
and when the confirmation message is received, sending the confirmation message to the server, wherein the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the smart television when the confirmation message is received.
11. The method of claim 10, further comprising:
displaying the prompt message;
and canceling the display of the prompt message when the confirmation message is received.
12. A resource transfer method is applied to a server, and comprises the following steps:
receiving a resource transfer request sent by an intelligent television, wherein the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the intelligent television which logs in currently;
sending a prompt message to an intelligent device, wherein the intelligent device is used for outputting the prompt message and returning a confirmation message when the confirmation operation of the prompt message is detected;
when the confirmation message is received, performing resource transfer operation based on the resource transfer information;
and sending a resource transfer completion message to the smart television, wherein the smart television is used for displaying the resource transfer completion message.
13. The method of claim 12, wherein the smart device is a smart watch, and wherein sending the alert message to the smart device comprises:
and sending a prompt message to a terminal logging in the user identifier, and sending the prompt message to the bound intelligent watch by the terminal.
14. The method of claim 12, wherein the resource transfer request further carries a device identifier of the smart device, and wherein sending the notification message to the smart device comprises:
and sending the prompt message to the intelligent equipment corresponding to the equipment identification.
15. The method of claim 12, wherein the resource transfer information includes an order identification, the method further comprising:
after resource transfer operation is carried out based on the resource transfer information, the state identification corresponding to the order identification is changed from the first state identification to the second state identification;
and sending a state updating message to the smart television, wherein the state updating message carries the second state identifier, and the smart television is used for displaying the second state identifier corresponding to the order identifier when receiving the state updating message.
16. A resource transfer device is applied to a smart television, and comprises:
the acquisition module is used for acquiring a resource transfer request, wherein the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the current login of the intelligent television;
the sending module is used for sending the resource transfer request to a server, the server is used for sending a prompt message to intelligent equipment, the intelligent equipment is used for outputting the prompt message, a confirmation message is returned when the confirmation operation of the prompt message is detected, and the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the intelligent television when the confirmation message is received;
and the message display module is used for displaying the resource transfer completion message when receiving the resource transfer completion message sent by the server.
17. The apparatus of claim 16, wherein the obtaining module comprises:
the display unit is used for displaying an application interface of the fast application based on the user identification, the application interface comprises the resource transfer information and resource transfer options, and the fast application runs based on a native application program interface API provided by an operating system of the smart television;
and the generating unit is used for generating the resource transfer request when the triggering operation of the resource transfer option is detected.
18. The apparatus according to claim 16, wherein the resource transfer request further carries a device identifier of the smart device, and the server is configured to send the prompt message to the smart device corresponding to the device identifier;
or the server is used for sending the prompt message to the intelligent equipment logging in the user identification.
19. The apparatus of claim 16, wherein the smart device is a smart watch;
the server is used for sending a prompt message to the terminal logging in the user identifier;
the terminal is used for sending the prompt message to the bound smart watch;
the intelligent watch is used for outputting the prompt message, and when the confirmation operation of the prompt message is detected, the confirmation message is returned to the server through the terminal.
20. The apparatus according to claim 16, wherein the resource transfer information includes an order identifier, and the server is further configured to change a state identifier corresponding to the order identifier from a first state identifier to a second state identifier after performing a resource transfer operation based on the resource transfer information, and send a state update message to the smart television, where the state update message carries the second state identifier; the device further comprises:
and the identifier display module is used for displaying the second state identifier corresponding to the order identifier when the state updating message is received.
21. The resource transfer device is applied to intelligent equipment, and comprises:
the system comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a prompt message sent by a server, the prompt message is sent by the server after receiving a resource transfer request sent by an intelligent television, the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the intelligent television which logs in currently;
the output module is used for outputting the prompt message;
and the sending module is used for sending a confirmation message to the server when the confirmation operation of the prompt message is detected, and the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the smart television when the confirmation message is received.
22. The apparatus according to claim 21, wherein the smart device is a smart watch, the server is configured to send a prompt message to a terminal logged in with the user identifier, and the smart watch is bound to the terminal;
the receiving module is configured to receive the prompt message forwarded by the terminal.
23. The apparatus of claim 22, wherein the output module comprises at least one of:
the display unit is used for displaying the text prompt message;
the playing unit is used for playing the voice prompt message;
and the vibration unit is used for outputting the prompt message in a vibration mode.
24. The apparatus of claim 21, wherein the sending module comprises at least one of:
the first sending unit is used for sending the confirmation message to the server when the triggering operation of the displayed confirmation option is detected;
the second sending unit is used for sending the confirmation message to the server when receiving the voice message containing the confirmation keyword;
and the third sending unit is used for sending the confirmation message to the server when a preset confirmation gesture signal is detected.
25. A resource transfer apparatus, wherein the apparatus is applied in a terminal, and the apparatus comprises:
the system comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a prompt message sent by a server based on a currently logged user identifier, the prompt message is sent by the server after the server receives a resource transfer request sent by an intelligent television, the resource transfer request carries resource transfer information, and the resource transfer information at least comprises the currently logged user identifier of the intelligent television;
the prompting message sending module is used for sending the prompting message to the bound smart watch, the smart watch is used for outputting the prompting message, and the confirmation message is returned when the confirmation operation of the prompting message is detected;
and the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the intelligent television when receiving the confirmation message.
26. The apparatus of claim 25, further comprising:
the display module is used for displaying the prompt message;
the display module is further configured to cancel displaying the prompt message when the confirmation message is received.
27. A resource transfer apparatus, the apparatus being applied to a server, the apparatus comprising:
the system comprises a receiving module and a processing module, wherein the receiving module is used for receiving a resource transfer request sent by the intelligent television, the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the intelligent television which is currently logged in;
the prompt message sending module is used for sending a prompt message to the intelligent equipment, the intelligent equipment is used for outputting the prompt message, and a confirmation message is returned when the confirmation operation of the prompt message is detected;
the resource transfer module is used for carrying out resource transfer operation based on the resource transfer information when the confirmation message is received;
and the completion message sending module is used for sending a resource transfer completion message to the intelligent television, and the intelligent television is used for displaying the resource transfer completion message.
28. The apparatus of claim 27, wherein the smart device is a smart watch, and wherein the alert message sending module comprises:
and the first sending unit is used for sending a prompt message to a terminal logging in the user identifier, and the terminal sends the prompt message to the bound smart watch.
29. The apparatus of claim 27, wherein the resource transfer request further carries a device identifier of the smart device, and wherein the prompting message sending module comprises:
and the second sending unit is used for sending the prompt message to the intelligent equipment corresponding to the equipment identifier.
30. The apparatus of claim 27, wherein the resource transfer information comprises an order identification, the apparatus further comprising:
the state changing module is used for changing the state identifier corresponding to the order identifier from a first state identifier to a second state identifier after resource transferring operation is carried out based on the resource transferring information;
and the update message sending module is used for sending a state update message to the smart television, wherein the state update message carries the second state identifier, and the smart television is used for displaying the second state identifier corresponding to the order identifier when receiving the state update message.
31. An intelligent television, characterized in that the intelligent television comprises:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
acquiring a resource transfer request, wherein the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the current login of the intelligent television;
sending the resource transfer request to a server, wherein the server is used for sending a prompt message to intelligent equipment, the intelligent equipment is used for outputting the prompt message, a confirmation message is returned when the confirmation operation of the prompt message is detected, and the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the intelligent television when the confirmation message is received;
and when receiving a resource transfer completion message sent by the server, displaying the resource transfer completion message.
32. A smart device, the smart device comprising:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
receiving a prompt message sent by a server, wherein the prompt message is sent after the server receives a resource transfer request sent by the smart television, the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the smart television which is currently logged in;
outputting the prompt message;
and when the confirmation operation of the prompt message is detected, sending a confirmation message to the server, wherein the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the smart television when receiving the confirmation message.
33. A terminal, characterized in that the terminal comprises:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
receiving a prompt message sent by a server based on a currently logged user identifier, wherein the prompt message is sent by the server after the server receives a resource transfer request sent by the smart television, the resource transfer request carries resource transfer information, and the resource transfer information at least comprises the currently logged user identifier of the smart television;
sending the prompt message to a bound smart watch, wherein the smart watch is used for outputting the prompt message, and returning the confirmation message when the confirmation operation of the prompt message is detected;
and when the confirmation message is received, sending the confirmation message to the server, wherein the server is used for carrying out resource transfer operation based on the resource transfer information and sending a resource transfer completion message to the smart television when the confirmation message is received.
34. A server, characterized in that the server comprises:
one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to:
receiving a resource transfer request sent by an intelligent television, wherein the resource transfer request carries resource transfer information, and the resource transfer information at least comprises a user identifier of the intelligent television which logs in currently;
sending a prompt message to an intelligent device, wherein the intelligent device is used for outputting the prompt message and returning a confirmation message when the confirmation operation of the prompt message is detected;
when the confirmation message is received, performing resource transfer operation based on the resource transfer information;
and sending a resource transfer completion message to the smart television, wherein the smart television is used for displaying the resource transfer completion message.
35. A computer-readable storage medium having stored therein at least one instruction, the instruction being loaded and executed by a processor to implement:
the operations performed in the resource transfer method of any one of claims 1 to 5; or operations as performed in the resource transfer method of any of claims 6 to 9; or operations as performed in the resource transfer method of any of claims 10 to 11; or operations as performed in the resource transfer method of any of claims 12 to 15.
CN201911130269.0A 2019-11-18 2019-11-18 Resource transfer method, device, device and storage medium Pending CN110868640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911130269.0A CN110868640A (en) 2019-11-18 2019-11-18 Resource transfer method, device, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911130269.0A CN110868640A (en) 2019-11-18 2019-11-18 Resource transfer method, device, device and storage medium

Publications (1)

Publication Number Publication Date
CN110868640A true CN110868640A (en) 2020-03-06

Family

ID=69655118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911130269.0A Pending CN110868640A (en) 2019-11-18 2019-11-18 Resource transfer method, device, device and storage medium

Country Status (1)

Country Link
CN (1) CN110868640A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021197139A1 (en) * 2020-04-02 2021-10-07 华为技术有限公司 Service recommending method, electronic device, and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144058A (en) * 2014-07-29 2014-11-12 诚迈科技(南京)股份有限公司 Information verification method based on sound wave pairing
CN104966197A (en) * 2015-06-15 2015-10-07 腾讯科技(北京)有限公司 Information processing method, client and server
CN105245691A (en) * 2015-08-28 2016-01-13 小米科技有限责任公司 Service processing method and apparatus, intelligent terminal and portable wearable equipment
CN105654292A (en) * 2014-11-24 2016-06-08 中国移动通信集团公司 Payment method and system, and relevant equipment
CN105791963A (en) * 2016-02-26 2016-07-20 北京小米移动软件有限公司 Subscription processing method, device, television and intelligent server
CN105898589A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Payment method and device for video play and TV device
US20190258318A1 (en) * 2016-06-28 2019-08-22 Huawei Technologies Co., Ltd. Terminal for controlling electronic device and processing method thereof
CN110351602A (en) * 2018-04-02 2019-10-18 北京京东尚科信息技术有限公司 Method, information processing system and electronic equipment for electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144058A (en) * 2014-07-29 2014-11-12 诚迈科技(南京)股份有限公司 Information verification method based on sound wave pairing
CN105654292A (en) * 2014-11-24 2016-06-08 中国移动通信集团公司 Payment method and system, and relevant equipment
CN104966197A (en) * 2015-06-15 2015-10-07 腾讯科技(北京)有限公司 Information processing method, client and server
CN105245691A (en) * 2015-08-28 2016-01-13 小米科技有限责任公司 Service processing method and apparatus, intelligent terminal and portable wearable equipment
CN105898589A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Payment method and device for video play and TV device
CN105791963A (en) * 2016-02-26 2016-07-20 北京小米移动软件有限公司 Subscription processing method, device, television and intelligent server
US20190258318A1 (en) * 2016-06-28 2019-08-22 Huawei Technologies Co., Ltd. Terminal for controlling electronic device and processing method thereof
CN110351602A (en) * 2018-04-02 2019-10-18 北京京东尚科信息技术有限公司 Method, information processing system and electronic equipment for electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021197139A1 (en) * 2020-04-02 2021-10-07 华为技术有限公司 Service recommending method, electronic device, and system

Similar Documents

Publication Publication Date Title
US11798107B2 (en) Scenario-based application recommendation method and apparatus
KR102481065B1 (en) Application function implementation method and electronic device
EP3726376B1 (en) Program orchestration method and electronic device
US11210119B2 (en) Method and device for displaying interface, electronic equipment, server, and storage medium
US10637804B2 (en) User terminal apparatus, communication system, and method of controlling user terminal apparatus which support a messenger service with additional functionality
CN107943439A (en) Interface Moving method, apparatus, intelligent terminal, server and operating system
CN114265641B (en) Control method, electronic device and computer readable storage medium
CN112925788B (en) A data set management method, system, device, electronic device and storage medium
CN110035181B (en) A kind of quick application card theme setting method and terminal
CN110968362A (en) Application running method and device and storage medium
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
US20190311017A1 (en) Information interaction method and device and computer readable storage medium thereof
CN110908629A (en) Electronic equipment operation method and device, electronic equipment and storage medium
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
CN106598677A (en) Method and device for downloading installation package
CN106201748A (en) Method, device and the mobile terminal of a kind of Message Processing based on mobile terminal
CN113784200A (en) Communication terminal, display device and screen projection connection method
CN110865760A (en) Electronic equipment operation method and device, electronic equipment and storage medium
CN115904514B (en) Method for realizing cloud rendering pixel flow based on three-dimensional scene and terminal equipment
JP7319431B2 (en) Application function implementation method and electronic device
CN110865864A (en) Interface display method, device, device and storage medium for quick application
CN107534860A (en) Wi-Fi hotspot portal authentication method and device
JP6441385B2 (en) Information input method, apparatus, program, and recording medium
CN108141697B (en) Electronic device, corollary device and method for operating electronic device
CN110868640A (en) Resource transfer method, device, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200306