WO2023010976A1 - Terminal device, content service relay method, and content service relay interruption method - Google Patents

Terminal device, content service relay method, and content service relay interruption method Download PDF

Info

Publication number
WO2023010976A1
WO2023010976A1 PCT/CN2022/096018 CN2022096018W WO2023010976A1 WO 2023010976 A1 WO2023010976 A1 WO 2023010976A1 CN 2022096018 W CN2022096018 W CN 2022096018W WO 2023010976 A1 WO2023010976 A1 WO 2023010976A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
terminal device
service
application
dimension
Prior art date
Application number
PCT/CN2022/096018
Other languages
French (fr)
Chinese (zh)
Inventor
王光强
杨绍栋
肖兵
刘文静
公磊
Original Assignee
聚好看科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202111120885.5A external-priority patent/CN115706815A/en
Priority claimed from CN202111126832.4A external-priority patent/CN115705220A/en
Application filed by 聚好看科技股份有限公司 filed Critical 聚好看科技股份有限公司
Priority to CN202280050096.5A priority Critical patent/CN118120240A/en
Publication of WO2023010976A1 publication Critical patent/WO2023010976A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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
    • 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

Definitions

  • the present application relates to the technical field of terminal equipment, and in particular to a terminal equipment, a content service relay method, and a content service relay interruption method.
  • Home terminal devices can carry out content service relay among each other.
  • the video playback service on the TV can be relayed to the display screen of the refrigerator, and the video playback service on the refrigerator display screen can also be relayed to the TV.
  • the existing screen projection function is a cross-terminal video control function, which requires the projection terminal and the screen terminal to support specific protocols, such as DLNA, Miracast, etc.
  • DLNA DLNA
  • the screen projection terminal After the user selects the screen projection function on the playback page, the screen projection terminal will find the screen projection terminal in the LAN that supports this protocol according to the predetermined protocol. By directly passing the video playback address to the projected terminal through the LAN, the projected terminal plays the video according to the video playback address. At this time, the projected terminal no longer performs video data analysis, and can sleep or shut down without affecting the projected terminal. screen playback.
  • Miracast belongs to the operation of screen mirroring, that is, the screen projection terminal still displays the image after performing the screen projection, and mirrors the displayed image to the screen projection terminal through the LAN, and the dormancy or Closing will affect the playback of the projected terminal.
  • a terminal device including a controller, and the controller is configured to: send a service relay instruction to the relay terminal device, and the service relay instruction carries content service relay data, so that the relay terminal device Execute the content service relay operation corresponding to the content service relay data; receive the relay end feedback result sent by the relay end device, wherein the relay end feedback result is that the relay end device ends the content service relay operation The generated result, the relay end feedback result includes the execution progress data of the content service relay operation performed by the relay terminal device; wherein, when the terminal device is currently in the first state, the terminal device is able to continue to execute the content service Relay operation, wherein, when the terminal device is in the first state, the terminal device can continue to execute content service relay operation according to the execution progress data; wherein, when the terminal device is currently in the second state , the terminal device cannot continue to execute the content service relay operation, wherein, when the terminal device is in the second state, the terminal device cannot continue to execute the content service relay operation according to the execution progress
  • a terminal device which includes a controller, and the controller is configured to: receive a service relay instruction from the initiator device, wherein the service relay instruction carries content service relay data, and the The terminal device may execute the content service relay operation corresponding to the content service relay data; receive a relay interruption instruction, and according to the relay interruption instruction, not execute the content service relay operation corresponding to the content service relay data.
  • a content service relay method including: the terminal device sends a service relay command to the relay terminal device, and the service relay command carries content service relay data, so that the relay terminal device executes the content corresponding to the content service relay data
  • Service relay operation the terminal device receives the relay end feedback result sent by the relay end device, wherein the relay end feedback result is the result generated by the relay end device after the content service relay operation is completed, and the relay end feedback result includes the content service relay performed by the relay end device
  • the execution progress data of the operation wherein, when the terminal device is currently in the first state, the terminal device can continue to execute the content service relay operation, wherein, when the terminal device is in the first state, the terminal device can continue to execute according to the execution progress data
  • Content service relay operation wherein, when the terminal device is currently in the second state, the terminal device cannot continue to execute the content service relay operation, wherein, when the terminal device is in the second state, the terminal device cannot continue according to the execution progress data Perform content service relay operations.
  • a content service relay interruption method including: a terminal device receives a service relay command from an initiator device, wherein the service relay command carries content service relay data, and the terminal device can execute content service relay data corresponding The content service relay operation; receiving the relay interruption instruction, and according to the relay interruption instruction, not executing the content service relay operation corresponding to the content service relay data.
  • FIG. 1 is a usage scenario of a display device according to some embodiments
  • FIG. 2 is a block diagram of a hardware configuration of a control device 100 according to some embodiments.
  • FIG. 3 is a block diagram of a hardware configuration of a display device 200 according to some embodiments.
  • FIG. 4 is a software configuration diagram in a display device 200 according to some embodiments.
  • FIG. 5 is a display diagram of an icon control interface of an application program in the display device 200 according to some embodiments.
  • Fig. 6 is a schematic diagram of a framework of a terminal device content service relay system according to some embodiments.
  • FIG. 7 is a schematic diagram of a user interface of an initiator device according to some embodiments.
  • Fig. 8 is a schematic diagram of a user interface of another initiator device according to some embodiments.
  • FIG. 9 is a schematic diagram of another user interface of an initiator device according to some embodiments.
  • Fig. 10 is another application scenario diagram of content service relay according to some embodiments.
  • Fig. 11 is another application scenario diagram of content service relay according to some embodiments.
  • Fig. 12 is a schematic diagram of a user interface of another initiator device according to some embodiments.
  • Figure 13 is a schematic diagram of a user interface of a relay device according to some embodiments.
  • Fig. 14 is a schematic diagram of a user interface of another initiator device according to some embodiments.
  • Fig. 15 is a schematic diagram of a user interface of another relay device according to some embodiments.
  • Fig. 16 is a schematic diagram of a service relay business process according to some embodiments.
  • Fig. 17 is a schematic diagram of a content service relay application scenario of a terminal device according to some embodiments.
  • Fig. 18 is a scene diagram of matching dimensions of a content service relay device according to some embodiments.
  • Fig. 19 is a schematic diagram of a timing sequence of content service relay signaling processing according to some embodiments.
  • Fig. 20 is a schematic diagram of another content service relay signaling processing sequence according to some embodiments.
  • Fig. 21 is another scene diagram of content service relay device matching dimension according to some embodiments.
  • Fig. 22 is a scene diagram of another dimension matching content service relay device according to some embodiments.
  • Fig. 23 is a scene diagram of another content service relay device matching dimension according to some embodiments.
  • Fig. 24 is a schematic diagram of a user interface of another initiator device according to some embodiments.
  • Fig. 25 is a schematic diagram of another content service relay signaling processing sequence according to some embodiments.
  • Fig. 26 is a schematic diagram of a user interface of another initiator device according to some embodiments.
  • Fig. 27 is a schematic diagram of a user interface of another initiator device according to some embodiments.
  • Fig. 28 is a schematic diagram of a user interface of another initiator device according to some embodiments.
  • Fig. 29 is a schematic diagram of a business process for displaying a relay button control on the user interface of the initiator device according to some embodiments.
  • Fig. 30 is a schematic diagram of a business process for implementing service relay interruption according to some embodiments.
  • FIG. 31 is a signaling sequence diagram of a baton return according to some embodiments.
  • Fig. 32 is a flowchart of a content service relay return method according to some embodiments.
  • Fig. 33 is a flowchart of a content display method of a display device according to some embodiments.
  • Fig. 34 is a flowchart of a matching method of a terminal device according to some embodiments.
  • Fig. 35 is a flow chart of a method for relay interruption of content services according to some embodiments.
  • Fig. 36 is a signaling diagram of a method for content service relay interruption according to some embodiments.
  • Fig. 37 is a signaling diagram of a method for reporting service capability information of a terminal device according to some embodiments.
  • Fig. 38 is a signaling diagram of a content service relay method for a terminal device according to some embodiments.
  • Fig. 39 is a flowchart of a content service relay method for a terminal device according to some embodiments.
  • Fig. 40 is a schematic diagram of the overall internal structure of a local area network for content service relay according to some embodiments.
  • Fig. 41 is a diagram of interaction signaling between components during the capability information registration process of content service relay according to some embodiments.
  • Fig. 42 is a diagram of interaction signaling between components in the process of obtaining a relay terminal device for content service relay according to some embodiments.
  • Fig. 43 is an interactive signaling diagram of various components during video relay playback of content service relay according to some embodiments.
  • the display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a TV, a smart TV, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc.
  • Fig. 1 and Fig. 2 are a specific implementation manner of the display device of the present application.
  • Fig. 1 is a schematic diagram of an operation scene between a display device and a control device according to an embodiment.
  • the display device 200 also performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control device 100 .
  • control device 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, and the display device is controlled wirelessly or wiredly.
  • Device 200 The user can control the display device 200 by inputting user instructions through at least one of buttons on the remote control, voice input, and control panel input.
  • the smart device 300 (such as a mobile terminal, a tablet computer, a computer, a notebook computer, an AR/VR device, etc.) can also be used to control the display device 200 .
  • the display device 200 is controlled using an application program running on the smart device.
  • the smart device 300 and the display device may also be used for data communication.
  • the smart device 300 may also be other terminals capable of communication, such as air conditioners, refrigerators, smart central control, access control and other devices.
  • the display device may not use the aforementioned smart device or control device to receive instructions, but may receive user control through touch or gesture.
  • the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300.
  • the module for obtaining voice commands configured inside the display device 200 can directly receive the user's voice command control
  • the user's voice command control can also be received through the voice control device provided outside the display device 200 .
  • the display device 200 also performs data communication with the server 400 .
  • the display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.
  • the server 400 may provide various contents and interactions to the display device 200 .
  • the server 400 may be one cluster, or multiple clusters, and may include one or more types of servers.
  • FIG. 2 is a block diagram of a configuration of the control device 100 according to the exemplary embodiment.
  • the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply.
  • the control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
  • the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user input interface 280. at least one.
  • the external device interface 240 may include, but is not limited to, the following: High Definition Multimedia Interface Interface (HDMI), Analog or Data High Definition Component Input Interface (Component), Composite Video Input Interface (CVBS), USB Input Interface (USB) , RGB port, etc. any one or more interfaces.
  • HDMI High Definition Multimedia Interface Interface
  • Component Analog or Data High Definition Component Input Interface
  • CVBS Composite Video Input Interface
  • USB USB Input Interface
  • RGB port etc. any one or more interfaces.
  • the user can input user commands through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives user input commands through the graphical user interface (GUI).
  • GUI graphical user interface
  • the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
  • the user input interface 280 is an interface that can be used to receive control input (such as: physical buttons on the display device body, or others).
  • the system is divided into four layers, from top to bottom are respectively the application (Applications) layer (abbreviated as “application layer”), application framework (Application Framework) layer (abbreviated as “framework layer”) "), Android runtime (Android runtime) and system library layer (referred to as “system runtime layer”), and the kernel layer.
  • application layer application layer
  • application framework Application Framework
  • Android runtime Android runtime
  • system library layer system library layer
  • the application framework layer includes managers (Managers), content providers (Content Provider) etc.
  • the manager includes at least one of the following modules: Activity Manager (Activity Manager) Use to interact with all activities running in the system; the Location Manager is used to provide system services or applications with access to the system location service; the Package Manager is used to retrieve the information currently installed on the device Various information related to the application package on the Internet; Notification Manager (Notification Manager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers on the user interface and desktop widgets.
  • Activity Manager Activity Manager
  • the Location Manager is used to provide system services or applications with access to the system location service
  • the Package Manager is used to retrieve the information currently installed on the device Various information related to the application package on the Internet
  • Notification Manager Notification Manager
  • Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers on the user interface and desktop widgets.
  • the display device after the display device is started, it can directly enter the interface of the preset video-on-demand program.
  • the video-on-demand program is the default system program of the system, and its interface can be as shown in FIG.
  • the content display area below the bar 510 the content displayed in the content display area will change with the change of the selected control in the navigation bar.
  • the program in the application layer can be integrated in the video-on-demand program and displayed through a control in the navigation bar, or can be further displayed after the application control in the navigation bar is selected.
  • the display device after the display device is started, it can directly enter the display interface of the signal source selected last time, or the signal source selection interface, wherein the signal source can be a preset video-on-demand program, or an HDMI interface, and the live display device At least one of the interfaces, etc., after the user selects different signal sources, the display can display the content obtained from different signal sources.
  • the present application provides a terminal device content service relay system, as shown in FIG. 6 , a schematic diagram of a framework of the terminal device content service relay system.
  • the system includes at least two terminal devices 100 .
  • the terminal devices 100 are connected by communication via a local area network. Data transfer between the terminal devices 100 can be performed through the server 200, or data can be directly sent and received between the terminal devices.
  • all terminal devices 100 can be used as initiator devices or relay device.
  • the solution is described by taking direct data transmission and reception between terminal devices as an example.
  • the initiator device is a terminal device that initiates the content service relay process
  • the relay end device is a target terminal device in the content service relay process.
  • the server in the embodiment of the present application may be an AIOT (Artificial Intelligence & Internet of Things, Artificial Intelligence Internet of Things) server.
  • the content service relay service scenario in the embodiment of the present application includes two types: one is to trigger the relay service through a button control, and the other is to wake up the relay service by voice.
  • the initiator device while the foreground of a certain terminal device in the system (that is, the initiator device) is running the first application, it searches for a relayable device according to the application data of the first application.
  • the relayable device is a terminal device capable of performing operations corresponding to the application data of the first application. If there is a relayable device, a relay prompt is generated. The relay prompt is used to prompt the user that there is another terminal device in the same local area network that can execute the operation corresponding to the application data of the first application.
  • the user may input a service relay instruction according to the relay prompt.
  • the initiator device receives the service relay instruction input by the user, and generates a relay request, and the relay request carries the application data of the first application.
  • the initiator device sends a relay request to the found device that can be relayed.
  • the relay-capable device executes an operation corresponding to the application data of the first application according to the relay request.
  • a relay button control is displayed on the user interface of the initiating device. .
  • the following will explain how to determine whether there is a relay device. Here, it is judged whether there is a relay device, and it is not necessary to query all relay devices.
  • the business scenario in the example shown in FIG. 7 is a business scenario in which the relay service is triggered through a button control.
  • the initiator device receives the user's operation and generates a service relay command.
  • the generated service relay command carries the device information of the initiator device and the service information of the current service of the initiator device.
  • the initiator device will query the service of the current initiator device, and then query the relayable device based on the service information of the current service.
  • the voice wake-up relay service business scenario the user can directly input voice, and the initiator device receives the voice input by the user, and can also generate a service relay command.
  • the initiating device queries the relayable device according to the generated service relay command, and the user interface shown in Figure 8 displays the prompt "Looking for an executable device". At this time, the running service of the initiator device can be stopped or continued. After the device that can be relayed is found, the information of the device that can be relayed will be displayed on the initiator device. In some embodiments, if multiple devices that can be relayed are found, a list of devices that can be relayed is displayed on the user interface, such as the user interface shown in FIG. 9 . In the user interface shown in FIG. 9, there are also a "delay 5 seconds to play" option bar and a "original device to continue playing" option bar.
  • the interface displays the prompt "soon to be pushed to the bedroom TV” and a countdown dialog box.
  • the countdown dialog includes a back button by which the user can cancel the relay before the 5-second countdown.
  • the user interface of the relay device as shown in FIG. 13 , that is, the user interface of the pushed device "bedroom TV” also displays a prompt saying "receiving push from XX device soon" and a countdown dialog box.
  • XX device is the initiator device.
  • the countdown dialog box displayed on the user interface of the relay device includes a return button and an OK button. If the user clicks the back button on the user interface of the relay device, the relay is cancelled. If the user clicks a confirmation button on the user interface of the relay terminal device, the relay is confirmed.
  • the user interface of the initiating device displays the prompt "relayed to the bedroom TV", and at the same time, the user interface of the initiating device jumps back to the interface before the relay business content.
  • the user interface of the relay device displays the prompt "The content of XX device has been relayed", and at the same time, the user interface of the relay device starts relaying business content, such as playing a video.
  • the business process of the above embodiment includes:
  • A1 The business application of the initiator device registers the relay capability of the business application with the unified relay service application, and the unified relay service application controls the transfer of scenarios and data during the relay process.
  • the initiating device system enters the relay business scene (entering the relay business scene can be the user interface enters a specific page, for example, the video playback application enters the video playback page from the main page.
  • a relay button control is set in the video playback page.)
  • the initiator device receives the user operation and generates a service relay command.
  • the unified relay service application can judge the current relay business scenario according to the operation input by the user.
  • the unified relay service application After the unified relay service application receives the service relay command, it carries the business information (the information of the business application currently running on the foreground of the initiator device) to the AIOT server to query the current account (it can be the account registered by the user on the relay service platform in advance, and then The user can then bind the terminal device under the same account), and can relay the relay terminal device of the current business.
  • the business information the information of the business application currently running on the foreground of the initiator device
  • the AIOT server to query the current account (it can be the account registered by the user on the relay service platform in advance, and then The user can then bind the terminal device under the same account), and can relay the relay terminal device of the current business.
  • the AIOT server According to the current service and the status of all devices under the current account (only online devices are returned, not offline devices), the AIOT server returns a list of relay end devices under the current account that support current business relay.
  • the formation process of the relay terminal equipment list is as follows: the equipment capabilities of all terminal equipment are stored in the AIOT server in advance.
  • the AIOT server receives the service information of the current service of the initiator device, it traverses the stored device capabilities to find out the device capabilities that match the service information of the current service, and if it matches, it is determined to be a relayable device.
  • the unified relay service application After the unified relay service application receives the returned data (including device ID, device name and other data), it will display the list of relay end devices according to the returned data for users to choose.
  • the device information of the selected device will be transmitted to the unified relay service application.
  • the device information mainly transmitted is the device ID, which is used to indicate the relay terminal device selected by the user
  • A6 The unified relay service collects the business information of the current business and the equipment information of the selected equipment, assembles all the information, and transmits it to the AIOT server.
  • the AIOT server After receiving the assembled information above, the AIOT server analyzes the information. Then, according to the device information, the service information (content information that needs to be relayed) is transmitted to the target device, that is, to the relay terminal device selected by the user.
  • the service information content information that needs to be relayed
  • the relay device After receiving the content information of the relay, the relay device executes the corresponding relay action according to the content information.
  • the initiator of the relay action is the unified relay service application of the relay device, and the implementer of the relay action is the application.
  • the unified relay service application of the relay end device will feed back the relay execution result to the initiator device through the AIOT server.
  • the initiator device receives the relay execution result, and displays different relay states to the user according to the relay execution result. For example, if the relay end device successfully performs the relay action, it will display the relay success status. If the relay end device has not successfully performed the relay action, but is waiting for the relay countdown, it will display the state of starting the relay countdown.
  • the business process of the above embodiment includes:
  • This step is a speech recognition process.
  • the voice application collects the voice signal input by the user, it sends the voice signal to the voice server, and the voice server performs semantic analysis on the voice signal, that is, recognizes the user's intention from the voice signal.
  • the voice server After the voice server recognizes the user's intention as a relay service from the voice signal, it calls the AIOT server to query the relayable equipment (when calling the AIOT server, the voice server sends a call request to the AIOT server, and the call request carries business information for querying the relayable device ).
  • the AIOT server After receiving the call request, the AIOT server queries the relay end device under the current account according to the business information that can relay the current business. And feed back the equipment information of the equipment that can be relayed to the voice server.
  • the voice server can only be used to identify the user's intention from the voice signal, and then feed back the user's intention to the unified service relay application. Afterwards, the unified service relay application interacts with the AIOT server. Some embodiments of the present application forward data through the voice server, which can shorten the link and improve the system response speed.
  • the voice server returns the device information queried from the AIOT server to the voice application.
  • the voice application calls the interface of the unified relay service application, and transmits the information recognized by the voice and the obtained device information to the unified relay service application.
  • the voice recognition information may include a relay service instruction, and the device information includes a device ID.
  • the unified relay service application After receiving the device information of the relay terminal device, the unified relay service application combines the business information and transmits the above information (including business information, device information, relay service instructions, etc.) to the AIOT server. It may be that the relay service instruction carries service information.
  • the AIOT server sends the business information and service relay instructions to the relay end device corresponding to the device information.
  • the unified relay service application of the relay terminal device executes the corresponding relay action according to the business information carried in the relay service command, wherein the relay action is consistent with the content of the current service application of the initiator device.
  • the unified relay service application of the relay end device will feed back the relay execution result to the initiator device through the AIOT server.
  • the initiator device receives the relay execution result, and displays different relay states to the user according to the relay execution result. For example, if the relay end device successfully performs the relay action, it will display the relay success status. If the relay end device has not successfully performed the relay action, but is waiting for the relay countdown, it will display the state of starting the relay countdown.
  • the content service relay process is usually that the user selects the target device on the initiator device, that is, the relay device. After the relay is determined to be triggered, the initiator device sends a service relay command to the relay device. The relay terminal device then executes the relay operation according to the service relay command.
  • the initiator device and the relay device need to be matched.
  • Device matching is based on the service capabilities of each terminal device.
  • the service capability corresponds to a service parameter of an application installed on the terminal device. For example, if a video playback application is installed on a display device, the service capability it has is a video playback capability. If the speaker is installed with an audio playback application, the service capability it has is the audio playback capability. If the tablet computer is installed with a video call application, the business capability it has is the video call capability.
  • all terminal devices store service capability information of other terminal devices in the same local area network. It may be a capability information registration request automatically sent to other terminal devices after the terminal device is turned on, and the capability information registration request carries the service capability information of the terminal device. Other terminal devices store the service capability information of the terminal device according to the capability information registration request.
  • the same local area network includes three devices, terminal devices A, B, and C.
  • the service capability information list (b1, b2...bn) of terminal device B and terminal device A are stored in terminal device A.
  • the service capability information list (a1, a2...an) of the terminal device A and the service capability information list (c1, c2...cn) of the terminal device C are stored in the terminal device B.
  • the service capability information list (a1, a2...an) of the terminal device A and the service capability information list (b1, b2...bn) of the terminal device B are stored in the terminal device C.
  • Each terminal device can report its own business capability information to the server, or directly send it to other terminal devices.
  • the report of the service capability information of the terminal device is described in detail by taking the terminal device reporting the service capability information of the terminal device to the server as an example.
  • the terminal device can report service capability information to the server, and the server can be an AIOT system or a capability management system. It may be that the terminal device automatically sends a service capability information registration request to the server when the system is started, and the capability information registration request carries the service capability information of the terminal device, so as to realize the reporting of the service capability information. It may also be that the terminal devices report the service capability information to each other, and the process of the terminal devices reporting the service capability information to each other will not be described in detail in this application.
  • the three terminal devices A, B, and C are respectively installed with applications (A1, A2...An), (B1, B2...Bn) and applications (C1, C2...Cn), after the process of reporting service capability information , the service capability information list (a1, a2...an) of terminal device A, the service capability information list (b1, b2...bn) of terminal device B and the service capability information list (c1, c2...bn) of terminal device C are saved on the server. ...cn).
  • the business capability information (a1, a2...an) in the business capability information list corresponds to the application (A1, A2...An)
  • the business capability information (b1, b2...bn) corresponds to the application (B1, B2...Bn )
  • the service capability information (c1, c2...cn) corresponds to the application (C1, C2...Cn) respectively.
  • the service capability information matching the service capability information a1 corresponding to the A1 application is searched according to the service parameters of the A1 application. If other service capability information matching the service capability information a1 is found, the corresponding relay terminal device is matched. If no other service capability information matching the service capability information a1 is found, the relay terminal device is not matched. For example, when the service capability information a1 matches b1, the terminal device B is determined to be the relay terminal device. When the service capability information a1 matches c2, the terminal device C is determined to be the relay terminal device.
  • the video playback application A1 if the video playback application A1 is running on the terminal device, it can be determined that the terminal device A is performing a video playback function, and the video playback capability can be marked as a1 in the service capability information list of the terminal device A. After determining When the device can be relayed, it is found that b1 and a1 match, that is, b1 indicates that terminal device B can play video, and B is regarded as the device that can be relayed. For another example, if the video playback application A1 is running on the terminal device, it can be determined that the terminal device A is playing video.
  • the video playback application A1 corresponds to the first authorization information, and the video playback capability corresponding to the first authorization information can be played on the terminal
  • the business capability information list of device A is marked as a1.
  • b1 and a1 match that is, b1 indicates that terminal device B can play the video corresponding to the first authorization information, and then B will be used as
  • c1 indicates that terminal device C can play video, but the played video corresponds to the second authorization information, then C cannot be regarded as the relayable device.
  • the service parameters of applications installed on terminal devices will change as users use them. For example, as applications are installed or uninstalled, service capabilities supported by the terminal device will also increase or decrease. Therefore, in the content service relay process of some embodiments of the present application, it is necessary to monitor whether the service parameters of the applications installed on the terminal device change, and report according to the changed result. In order to avoid that the content service relay process is not carried out according to the actual service capability of the terminal equipment. If the content service relay process is not carried out according to the actual service capability of the terminal device, it may happen that the terminal device has a certain service capability, but the system judges that the terminal device is not a relay terminal device. Or, the terminal device does not have a certain service capability, but because the service capability information list has not been updated, the system misjudges that the terminal device is the relay terminal device.
  • a service capability information update request is generated according to the change.
  • the update request carries the identification information of the newly added capability or the newly reduced capability of the terminal in the table and the identifier of the terminal device, and sends the service capability information update request to the server, and the server updates the corresponding A list of service capability information of device identifiers.
  • the updated service capability information list is used to record the service capability information of the terminal device, and the recorded service capability information corresponds to the service parameters of the applications installed on the terminal device.
  • the service parameter of the application installed on the terminal device when there is a change in the service parameter of the application installed on the terminal device, there are several possible situations: application installation, application version change, and application uninstallation.
  • Application installation, application version changes, and application downloads will all cause changes in application business parameters. Every time the application installed on the terminal device changes, the changed data can be sent to other terminal devices, so that the service capability information of the terminal device stored on other terminal devices is also updated.
  • the business capabilities of each terminal device are recorded as a record on other terminal devices. When looking for relayable devices based on application data, traverse these records and match the application data with the service capability information in the records.
  • the server After the terminal device reports the service capability information to the server, the server stores the service capability information list of the terminal device. For example, in the above example, after the three terminal devices A, B, and C report the service capability information, the server stores a list of service capability information corresponding to the information of the terminal device: the list of service capability information of terminal device A (a1, a2...an), the service capability information list (b1, b2...bn) of the terminal device B, and the service capability information list (c1, c2...cn) of the terminal device C. If at least one of application installation, application version change, and application uninstallation occurs to the application installed on the terminal device, the service parameters of the application will be changed accordingly. After the above service capability information update request, the records in the service capability information list will also be changed accordingly.
  • the service capability information update request is a service capability information increase request.
  • the corresponding server adds service capability information to the service capability information list according to the service capability information addition request.
  • the added service capability information corresponds to service parameters of newly installed applications.
  • the service capability information update request is a service capability information modification request.
  • the corresponding server modifies the service capability information in the service capability information list according to the service capability information modification request.
  • the modified service capability information corresponds to the service parameter of the application whose version changes.
  • the service capability information update request is a service capability information deletion request.
  • the corresponding server elaborates the service capability information in the service capability information list according to the service capability information deletion request.
  • the deleted service capability information corresponds to the service parameter of the uninstalled application.
  • the service parameter of the terminal device A changes to application installation, and the terminal device A newly has the service capability represented by the service capability information a3.
  • terminal device A sends a service capability information addition request to the server, and the server adds service capability information a3 to the service capability information list of terminal device A after receiving the service capability information addition request.
  • the service capability information list of the terminal device A stored in the server also does not include the service capability information for broadcasting. If the application for broadcasting is newly installed in terminal device A, terminal device A has the service capability of playing broadcasting. At the same time, the terminal device A sends a service capability information adding request to the server, and the server adds service capability information for broadcasting to the service capability information list of the terminal device A according to the request. In this way, when the content service is relayed between terminal devices, it can be performed according to the actual service capability of terminal device A.
  • the change of the service parameter of the terminal device B is a version change.
  • Application B1 of version 1.0 only supports video services
  • application B1 of version 2.0 supports both video services and audio services, and other applications installed on terminal device B do not support audio services. Therefore, the service capability information of the terminal device B is newly added with audio playback service capability information.
  • the server receives the request to modify the service capability information, and modifies the service capability information list of the terminal device B to include the audio playback service capability information.
  • the service parameter of the terminal device C changes to application uninstallation, and the terminal device C loses the service capability c1.
  • the server receives the request to delete the service capability information, and deletes the service capability information c1 from the service capability information list of the terminal device C.
  • the controller when the system of the current terminal device is started, the controller automatically inquires whether there is a difference between the current service parameters of the applications installed on the terminal device and the service parameters saved last time. If there is a difference between the current service parameter and the last saved service parameter, it is determined that there is a change in the service parameter applied on the terminal.
  • the terminal device starts the system, it not only collects the service parameter information of the boot-up self-starting application, but also collects the service parameter information of the non-boot-up self-starting application.
  • an application A1 and an application A2 are installed on the terminal device A
  • the application A1 is an application that starts automatically when booting
  • the application A2 is an application that does not start automatically when booting.
  • the controller automatically collects the current service parameters of the application A1 and the application A2, and compares them with the service parameters saved last time. If there is a difference between the current service parameters of the application A1 and the last saved service parameters, the difference or the current service parameters are reported to the server, so that the service capability information related to the terminal device A and the application A1 is updated in the server. If there is no difference between the current service parameters of the application A2 and the last saved service parameters, no relevant information will be reported to the server.
  • the application installed on the terminal device changes, the updated relevant service parameters will be automatically sent to the server.
  • the application A1 installed on the terminal device A may be an application running in the foreground, an application running in the background, or an application that has not been started. No matter which state the application is in, if the service parameters of the application A1 change, the application A1 will automatically report the changed service parameters to the server. If the service parameters of the application A1 do not change, no relevant information is reported to the server.
  • the implementation process of the above-mentioned business capability information reporting method is as follows:
  • the service parameters of the current version will be written into the ANDROIDMANIFEST.XML file of the APK, and put into the META-DATA attribute.
  • the reporting of business capability information is completed by the unified relay service application.
  • the unified relay service application collects the business capability information of the system-wide business applications. After the collection is completed, the collected business capability information of all applications is reported to the server, and a record of the business capability information of each application is saved locally. , the business capability information record is consistent with the business capability information list stored in the server.
  • the service capability information of the terminal equipment changes as the service parameters of the service application change.
  • Changes in service parameters of a service application refer to changes such as application installation, version update, and uninstallation.
  • an update broadcast will be sent to the unified relay service application.
  • the unified relay service application After receiving the update broadcast, the unified relay service application re-collects the service parameters of the application that sent the update broadcast, and generates a service capability information update request according to the re-collected service parameters.
  • the unified relay service application reports the service capability information update request to the server.
  • the server updates the service capability information list of the terminal device according to the service capability information update request. Since not all applications are self-starting applications, the unified relay service application is used to collect the business parameters of each application, and uniformly report the business capability information to the server according to the business parameters, so as to monitor the updates and changes of all applications on the terminal device.
  • the unified relay service application also collects service parameters of applications that have been uninstalled but whose data has not been cleared. For example, although the application A1 on the terminal device A has been uninstalled, but the data has not been cleared, then when the terminal device B is the initiator device, the application A1 can be queried, indicating that the terminal device A can have the service capability represented by the service capability information a1, If the service capability information a1 matches the service parameters of the application B1 running in the foreground of the terminal device B, a prompt can be popped up on the terminal device A to prompt the user to install the application A1, so that the terminal device A can serve as the relay end device and complete the relay. In this way, the success rate of content service relay can be improved, and user experience can be further improved.
  • Some embodiments of the present application use a unified relay service application to uniformly collect parameters of each application.
  • the unified relay service application queries the information of all applications in the system, and stores the information of all applications after querying. If the system is just started, it will restart the process of comprehensively querying the application information. If the application information queried this time is different from the application information saved last time, it means that the application has changed. If the system is kept on, when the application changes, the changed application will automatically send a corresponding broadcast to the unified relay service application.
  • the server determines whether there is any terminal device that can be relayed back to the terminal that initiates the relay within the preset time period before the change, and if so, then Re-feedback, otherwise no re-feedback.
  • This situation is mainly due to the addition or deletion of the capabilities supported by the relayable device within the preset time period after the relay is triggered last time, and it may be that the user intends to use or not use the relayable device to perform the current relay operation. Therefore, it is convenient for the user to choose by proactively prompting the updated relayable device.
  • the preset time period after the last triggering of the relay the user's operation to change the capability supported by the relay device is weakly related to the last relay operation, and the device that can be relayed after the change may not be reminded.
  • the server before feeding back the updated device that can be relayed, the server needs to determine whether the updated application is the one that the user relayed last time, and if so, feedback is given; otherwise, no feedback is given.
  • the application used in the last relay is a specific application. If the changed application is irrelevant, it is weakly related to the implementation of the last relay, and there is no need to remind the change. If the application being used has been upgraded or downgraded, it is strongly related to the implementation of the last relay, and a reminder of the change is required.
  • the V1 version of the A application in the terminal device A does not support the first capability
  • the V2 version of the A application in the terminal device B supports the first capability
  • the terminal device B was As a relay-able device, it is fed back to the terminal that initiates the relay.
  • terminal device A can also be used as a relayable device. This enables the resend of the updated relayable device.
  • the application C is added to the terminal device A, it is weakly related to the realization of the last relay, and the reminder change may not be performed.
  • the server before feeding back the updated relay-capable device, the server needs to determine whether the updated capability is related to the capability of the user's last relay use, and if so, feedback is given; otherwise, no feedback is given.
  • the server before feeding back the updated device that can be relayed, the server needs to determine whether the capability changed after the update is the capability used by the user last time. If so, feedback is given; otherwise, no feedback is given.
  • the application used in the last relay is a specific ability, and if the changed irrelevant ability is weakly related to the realization of the last relay, it is not necessary to remind the change. If there is an increase or decrease of relevant capabilities, it is strongly related to the realization of the last relay, and a reminder of the change is required.
  • the B application in the terminal device B supports the first capability if the A application in the terminal device A does not support the first capability.
  • the terminal device B was used as a relay capable device, and the feedback To the terminal that initiated the relay.
  • the application B is installed on the terminal device A to add the first capability, and the terminal device A can also be used as a relayable device. This enables the resend of the updated relayable device. If terminal device A installs application C and adds a second capability, the terminal device still cannot be used as a relayable device. In this way, it is possible not to resend the updated relayable device.
  • the terminal receiving the updated relay capable device may be the first terminal that initiates the first relay. It is convenient for the user to determine whether to switch the relay device through the first terminal.
  • the terminal receiving the updated relay capable device may be the second terminal receiving the first relay. This is considering that the first terminal may have been out of use by the user, such as dormant, powered off, etc., and the second terminal is being used by the user. Therefore, it is selected to be displayed on the second terminal, so that the user can determine whether to switch the relay device through the second terminal.
  • DLNA Unlike DLNA, since DLNA discovers terminals after the user initiates them, device discovery and user operation time are strongly correlated, and there is no need to pre-set a list that supports screen projection.
  • the reminder of the device that can be relayed is an automatic reminder, it is reminded before the user performs screen projection, and the device that can be relayed is not necessarily in the same local area network, so through the business capability information list management terminal supported Capabilities will facilitate the realization of functions.
  • the server After the above process of reporting service capability information, the server stores service capability information of each terminal device. This service capability information can be used to display a list of devices that can respond to the relay for the initiator after receiving the relay request.
  • the application with the relay service function runs in the foreground, and when the current page enters a specific page requiring relay service operations, it will automatically query the relay-capable devices. If the application running in the foreground does not have the relay service function, or, although the application running in the foreground has the relay service function, but the current page does not enter a specific page that may need to perform relay service operations, then the device that can be relayed will not be automatically queried.
  • a terminal device in the system that is, the initiator device
  • it searches for the relay device according to the application data of the application, which is the device matching process.
  • relay service operation although relay can be performed between terminal devices, some embodiments of the present application use a server to perform relay service operation.
  • the initiator device is a display device 100 - 1
  • the application running in the foreground is a video playback application.
  • the current scene is that the video playing application of the display device is playing the video
  • the application data of the application is the data related to playing the video.
  • terminal devices such as a display device 100-2, a speaker 100-3, and an alarm clock 100-4 in the system.
  • Service capability information of terminal devices such as the display device 100-2, the speaker 100-3, and the alarm clock 100-4 are stored in advance in the display 100-1.
  • the service capability of the display device 100-2 is to play video and play audio
  • the service capability of the speaker 100-3 is to play audio
  • the service capability of the alarm clock 100-4 is an alarm clock reminder.
  • the initiating device when the initiating device searches for the relayable device, it not only needs to determine whether the service capability information of other terminal devices matches the application data of the first application. It is also necessary to receive online information of other terminal devices. If the service capability information of a certain terminal device matches the application data of the first application, but the state of the terminal device is offline, the terminal device cannot be determined as a relay-capable device.
  • the relay service can have two business scenarios: the scenario where the button triggers the relay service and the scenario where the relay service is invoked by voice.
  • the scenario of voice-activated relay service if the voice signal input by the user includes a specific relay device, the content service may be relayed to the relay device. If the voice signal input by the user does not include a specific relay device, the system can only return a list of devices that can be relayed, and the user needs to manually select a relay device in the list of devices that can be relayed to achieve the purpose of relaying content services, resulting in poor user experience .
  • Device capability refers to the functions supported by the device, such as audio and video playback, audio playback, temperature control, lighting switch, washing machine operation, and so on.
  • the server side performs screening and feedback of relayable devices according to device capabilities. It is different from the voice control in the related art. In the current voice control, it can correspond to a single device, but when it corresponds to multiple devices, the device needs to be explicitly controlled by the user, for example: increase the volume of the display device, turn off the air conditioner, and so on. Take speakers as an example. The speaker will parse out the specified device name, and then control the device according to the device name. When corresponding to multiple devices, if you only say volume up, it will be difficult to determine the object of adjustment, or only adjust the speaker (default setting) itself.
  • the terminal device may include a sound collector, and the sound collector is configured to collect a voice signal input by a user. After the voice signal input by the user is collected, the voice signal is sent to the voice recognition server, so that the voice text can be recognized from the voice signal.
  • Conventional technology may be used to recognize the speech text from the speech signal, and the process of speech recognition will not be described in detail in this application.
  • the relay device is determined according to the device information.
  • the device information points to the only relay device.
  • a unique relay device can thus be determined from the voice text.
  • the device information may be any of device location information, device ID, device name, device type, device capability, and the like. After the unique relay device is determined, a relay relationship is established between the terminal device and the relay device, so as to complete the device matching process and further carry out the content service relay process.
  • the above process may be implemented by a server, or by the terminal device itself.
  • the voice server mentioned above can be a part of the server, or it can be independent.
  • the server may analyze the capability required by the voice command according to the voice text, and then determine the relay device according to the determined capability.
  • the voice command of "supply air” can analyze the ability of "supply air”
  • the corresponding "supply air” capability can be air conditioner, fresh air fan, fan, etc.
  • “Start rinsing function” can analyze the “rinsing” ability, and the corresponding "rinsing” ability can include washing machines, dishwashers, etc.
  • For “volume plus” the ability of "sound adjustment” can be analyzed, and the corresponding "sound adjustment” ability can include TV sets, speakers, refrigerator screens, etc.
  • start sweeping the floor the "sweeping” ability can be analyzed, and the corresponding "sweeping” ability can only be the sweeping robot.
  • the only relay device cannot be determined based on the device type information, only at least two relay end devices can be determined. Then, the final relay device is determined from the relay devices according to the relationship between the relay dimension information of the relay devices and the originating dimension information of the initiator device. For example, the voice text only includes "television", and multiple relay devices may be determined according to the voice text. Then, according to the relay dimension information of multiple televisions and the originating dimension information of the initiating device, it is determined that the final relayed TV is a TV having the same initiating dimension information of the initiating device. In this way, even if the voice signal input by the user does not include a clear relay device, the system can automatically determine the final relay device to achieve the purpose of content service relay, without requiring the user to manually select the relay device, thereby improving user experience.
  • the relay device there may be only one relay device, so there is no need to compare the relay dimension information of the relay device with the initiation dimension information of the initiator device, and directly determine the relay device as the final relay device. In other scenarios, it is possible to determine multiple relay devices according to the relay dimension information of the relay device and the initiation dimension information of the initiator device. At this time, according to the frequency of use of these relay devices by the user, the relay device with the highest frequency of use may be determined as the final relay device. Alternatively, a dialog box is popped up for the user to select the desired final relay device from these relay devices.
  • the desired final relay device is selected from these relay devices according to the user's location, where the location may refer to the current location, or the location to which the user will move determined according to the user's moving path.
  • the user's location information may be determined by sensors on one or more devices.
  • the relay device is a terminal device that finally relays the content service from the current terminal device, and the relay device is a device that matches the voice text.
  • the default relay terminal device here is a terminal device that can perform operations corresponding to the application data of the application running in the foreground of the current terminal device.
  • the dimension information of the device includes a first dimension, a second dimension and a third dimension.
  • the first dimension includes the second dimension, that is, the second dimension is within the range of the first dimension.
  • the second dimension includes the third dimension, that is, the third dimension is within the scope of the second dimension, and at the same time, the third dimension is also within the scope of the first dimension.
  • the relay device can be determined according to the relationship between the relay dimension information of the relay end device and the initiation dimension information of the initiator device, which can be divided into the following situations:
  • the relay terminal dimension information of the relay device is consistent with the originator device's If the originating dimension information completely matches, the relay end device is determined as the final relay device.
  • the relay device If there is no relay device whose first dimension, second dimension, and third dimension match the first dimension, second dimension, and third dimension of the initiating device, but there are The relay device whose first dimension and second dimension match, that is, the relay device and the initiator device are only within the same second dimension range, but different third dimension ranges. However, if there is no relay device within the same third-dimensional range as the initiator device, the relay device is determined as the final relay device.
  • the first dimension of the end device matches the second dimension of the relay end device, but there is a relay end device whose first dimension matches the first dimension of the initiator device, that is, there are only relay end devices in the same first dimension range, and the The relay device is determined as the final relay device.
  • the first dimension is the account number
  • the second dimension is the room attribute identifier, such as the user's house in a different region.
  • the three dimensions identify room areas, for example, different rooms in different houses of the user.
  • the account is the account ID registered by the user in the unified relay service application. Users can create multiple homes under each account dimension. For example, a user owns multiple houses, which are located in A, B, and C respectively. The houses on land A, land B, and land C are the second dimension in the frame diagram.
  • the third dimension is a plurality of physical spaces established based on the home dimension, such as master bedroom, living room, second bedroom, kitchen and other spaces.
  • TV A and entrance screen A are located in the master bedroom of home A
  • entrance screen B is located in the living room of home A
  • refrigerator with screen A is located in the kitchen of home A
  • TV B is located in the living room of home B
  • the entrance screen C is located in the living room of home C
  • the refrigerator with screen B is located in the kitchen of home C.
  • Home A, home B, and home C all belong to account A.
  • the voice text includes device information, such as "relay to TV B in the living room of home B"
  • the voice text includes clear device information, no matter which terminal device is the current device, the device information points to the only relay device, and the final The relay devices are TV B in the living room of home B.
  • the signaling processing sequence of the above embodiment is, as shown in the signaling diagram of FIG. 19 , the initiator device receives the voice signal input by the user.
  • the initiator device sends the voice signal and business information to the voice server, and the voice server recognizes the voice text from the voice signal, including device information, and the device information points to the only relay device, TV B in the living room of home B.
  • the voice server sends the device information and service information to the AIOT server.
  • the AIOT server searches for the device ID based on the device information, and sends service information to TV B in the living room of home B according to the device ID, so that TV B in the living room of home B performs corresponding relay operations according to the service information.
  • the voice text only includes device type information
  • the voice text recognized from the voice signal includes "relay to the entrance screen”
  • the voice text does not Include explicit device information, including only the device type information "entrance screen”.
  • the device type information "entrance screen” points to multiple entrance screens.
  • the signaling processing sequence of the above embodiment is, as shown in the signaling diagram of FIG. 20 , the initiating relay terminal receives the voice signal input by the user.
  • the initiator device sends the voice signal to the voice server, and the voice server recognizes the voice text from the voice signal including device type information, and the device type information points to multiple relay devices.
  • the voice server sends the device information and business information of multiple devices to the AIOT server.
  • the AIOT server matches the dimension information of multiple devices with the dimension information of the originating device, and after matching, the entrance screen is obtained as the final relay device. After the AIOT server finds the device ID of the entrance screen A, it sends service information to the entrance screen A according to the device ID, so that the entrance screen A performs the corresponding relay operation according to the service information.
  • TV A is located in the master bedroom of home A
  • entrance screen B is located in the living room of home A
  • refrigerator with screen A is located in the kitchen of home A
  • TV B is located in the living room of home B
  • the entrance screen C is located in the living room of home C
  • the refrigerator with screen B is located in the kitchen of home C.
  • the voice text only includes device type information
  • the voice text recognized from the voice signal includes "relay to the entrance screen”.
  • the voice text does not include clear device information, only includes Type information "entrance screen”.
  • the device type information "entrance screen” points to multiple entrance screens.
  • TV A is located in the master bedroom of home A, and in the scene shown in Figure 21, there is no entrance screen in the master bedroom of home A. Therefore, in the current scene, there is no relay device in the same account, the same house, and the same physical space as TV A. In the current scene, it is searched in the upward dimension whether there is a relay terminal device in the same account as TV A but not in the same physical space.
  • the entrance screen B is determined as the final relay device.
  • the signaling processing sequence of the foregoing embodiment is similar to the signaling processing sequence of the embodiment shown in FIG. 20 , and the signaling processing sequence according to some implementation manners of the present application will not be repeated here.
  • TV A is located in the master bedroom of home A, and refrigerator A with a screen is located in the kitchen of home A.
  • TV B is located in the living room of home B.
  • the entrance screen C is located in the living room of home C, and the refrigerator with screen B is located in the kitchen of home C.
  • the voice text only includes device type information
  • the voice text recognized from the voice signal includes "relay to the entrance screen”.
  • the voice text does not include clear device information, only includes Type information "entrance screen”.
  • the device type information "entrance screen” points to multiple entrance screens.
  • TV A is located in the master bedroom of home A, and in the scene shown in Figure 22, there is no entrance screen in the master bedroom of home A. Therefore, in the current scene, there is no relay device in the same account, the same house, and the same physical space as TV A. In the current scene, check whether there is a relay terminal device in the same account as TV A but not in the same physical space in the upward dimension.
  • a relay device that matches the third dimension of the current device generates prompt information, so that the user can determine the relay device as the relay device after adding the relay device to the first dimension according to the prompt information.
  • TV A is located in the master bedroom of home A, and refrigerator A with a screen is located in the kitchen of home A.
  • TV B is located in the living room of home B.
  • Refrigerator B with screen is located in the kitchen of home C.
  • the entrance screen D is located in the living room of home A, but the TV A is under the account A, and the entrance screen D is under the account B or the entrance screen D has not been added to any account.
  • the first dimension of the entrance screen D does not match the first dimension of the TV A, but the entrance screen D matches the voice text and belongs to the relay terminal device.
  • a prompt message indicating to add the entrance screen D to the account A may pop up on the display of the current terminal device.
  • the user can operate according to the prompt information, and finally add the entrance screen D to the account A, so that the first dimension of the entrance screen D matches the first dimension of TV A.
  • the entrance screen D since the entrance screen D is located in the living room of home A, after the entrance screen D is added to the account A, the entrance screen D and TV A are in the same account and the same home. That is to say, finally, the first dimension and the second dimension of the entrance screen D match the first dimension and the second dimension of the TV A respectively.
  • the display device 100-1 After the above-mentioned device matching process, if there is a relay device, the display device 100-1 generates a relay prompt, which is used to prompt the user that there is currently a matching relay device. If there is no relay terminal device, no relay prompt may be generated. If the initiator device has a display, the relay button control may be displayed on the display, for example, a schematic diagram of a user interface as shown in FIG. 7 . The user can trigger the content service relay process by clicking the relay button control. The relay prompt can also be in the form of voice broadcast.
  • a relay button is displayed on the user interface.
  • the initiator device receives an operation of clicking the relay button input by the user, it generates a query instruction.
  • the initiator device sends the query command to the AIOT server, and the AIOT server queries all relayable devices in the system according to the query command, and then feeds back all relayable devices to the initiator device.
  • the information of all relay-capable devices is displayed on the user interface of the relay device, that is, the list of relay devices is displayed.
  • the user can set to add a relay button on a specific page of a specific application. For example, on the video playback page of the video playback application, if there is a relay device, a relay button will be displayed. On the teaching-related pages of the learning application, if there is a relay terminal device, the relay button will be displayed, and on the self-learning related pages of the learning application, it will not be set to display the relay button if there is a relay terminal device.
  • a relay guidance button control may be displayed on the display.
  • the user can trigger the display of content service relay guidance information on the display by clicking the relay guidance button control.
  • the content service relay guidance information may be introduction information for the content service relay, or information that guides the user to perform a next step related operation of the content service relay. In this way, if there is no relay terminal device, even if the relay button control is not displayed, the content related to the content service relay can be displayed on the user interface of the first application, thereby improving user experience.
  • the user inputs a relay operation by selecting the target device display device 100 - 2 , that is, the relay terminal device.
  • the display device 100-1 After receiving the relay operation input by the user, the display device 100-1 generates a service relay command.
  • the service relay command carries the application data and media data of the video playback application, and the service relay command also carries the device ID of the relay terminal device.
  • the initiator device sends the service relay instruction to the display device 100-2 according to the device ID through the AIOT server. After receiving the service relay instruction, the display device 100-2 continues to play the video according to the application data and media asset data of the video playing application.
  • the initiating device is a tablet computer 200 - 1
  • the application currently running in the foreground of the initiating device (hereinafter referred to as the first application) is a video call application.
  • the current scenario is to use the video call application of the tablet computer to make a video call
  • the application data of the first application is the video call data.
  • terminal devices such as the display device 200-2 and the mobile terminal 200-3.
  • the business capability information of the display device 200-2 and the mobile terminal 200-3 is stored in advance in the tablet computer 200-1.
  • the service capabilities of the display device 200-2 are video playback and audio playback
  • the service capabilities of the mobile terminal 200-3 are video playback, audio playback, and video calls.
  • the video call application on the tablet computer 200-1 runs in the foreground, and searches for a terminal device capable of performing video call operations in the local area network.
  • the application data is a video call
  • the stored service capability information is traversed according to the application data video call.
  • the service capability of the mobile terminal 200-3 is a video call, which matches the current application data. Then the mobile terminal 200-3 is determined as a relay-able device.
  • the tablet computer 200-1 After the device that can be relayed is determined, the tablet computer 200-1 generates a relay prompt, and the user is prompted that there is currently a relayable device, and the user can input a service relay instruction according to the relay prompt.
  • the generated relay prompt may be a relay button displayed on the display. The user can call to select the relay button to input relay execution.
  • the relay prompt can also be a voice prompt. For example, after it is determined that there is a device that can be relayed, the user will be prompted to trigger the relay through voice input through the voice broadcast "Please enter the relay voice to start the relay". It is also possible to broadcast "Please shake the device to start the relay" through the voice broadcast to prompt the user to trigger the relay through gestures. These prompts can also be displayed on the display at the same time to facilitate the user to perform related operations.
  • the relay is triggered in the above manner, that is, after the user inputs the service relay command, the tablet computer 200-1 receives the service relay command, generates a relay request according to the service relay command, and sends the relay request to the mobile terminal 200-3.
  • the relay request may carry instructions for the video call and data related to the video call.
  • the mobile terminal 200-3 continues the video call process according to the video call instruction and video call data.
  • the initiator device is an alarm clock 300 - 1
  • the first application is an alarm clock reminder application.
  • the current scene is that the alarm clock notification application of the alarm clock is prompting, and the application data of the first application is related data of the alarm clock notification.
  • terminal devices such as the display device 300-2 and the display device 300-3.
  • the service capability information of the display device 300-2 and the display device 300-3 is stored in advance in the alarm clock 300-1.
  • the service capability of the display device 300-2 is to play video and play audio
  • the service capability of the display device 300-3 is to play video and play audio.
  • the relay-capable device executes an operation corresponding to the application data according to the application data carried in the relay request.
  • the relay capable device also feeds back the relay result to the initiating device.
  • the relay result is used to indicate that the device that can be relayed has started to perform corresponding operations according to the application data.
  • the video call process continues on the mobile terminal 200-3.
  • the mobile terminal 200-3 feeds back the relay result to the tablet computer 200-1.
  • the tablet computer 200-1 receives the relay result feedback, it can display prompts related to the relay result on the display. For example, a prompt saying "Video passing has been continued on the mobile terminal 200-3" is displayed.
  • the initiating device may suspend the application process of the first application, or directly close the first application.
  • the video playback process continues on the display device 100-2.
  • the display device 100-2 feeds back the relay result to the display device 100-1.
  • the display device 100-2 may suspend the video playing process of the video playing application.
  • the display device 100-2 may also directly close the video playing application according to the relay result.
  • the corresponding relay button control is a video relay button control. If the first application is an audio application, the corresponding relay button control is an audio relay button control. If the first application is a picture display application, the corresponding relay button control is a picture display relay button control.
  • the video relay button control, the audio relay button control and the picture display relay button control may be displayed in different forms. In this way, it is convenient for the user to view the application types that currently need to be relayed.
  • an audio relay button control is displayed on the user interface of the audio application.
  • Audio relay button controls can be displayed with musical notation icons.
  • the same video relay button control can be displayed as a video icon, and the picture display relay button control can be displayed as a picture symbol icon.
  • the signaling processing sequence of the above embodiment is shown in the signaling diagram shown in Figure 25.
  • the initiator device When the initiator device is on the audio application user interface, it sends a relay device query command to the AIOT server through the unified relay service application.
  • the query command carries application data of the audio application.
  • the AIOT server queries whether there is a terminal device that can execute the same or similar application data according to the application data of the audio application, and feeds back the query result to the initiator device. If the query result shows that there is a terminal device capable of executing the same or similar application data, an audio relay button control is displayed on the audio application user interface of the initiator device. Conversely, the audio relay button controls are not displayed.
  • the audio on the relay device may be applied to different applications on the initiator device, but it can be judged that they are applications with the same function according to the application data.
  • the name of the second application on the relay device may also be displayed on the user interface of the first application.
  • the second application is an application that executes operations corresponding to the application data of the first application. For example, in the user interface shown in FIG. 26 , if the first application on the currently displayed device is YYY music, then the device installed with the audio application is the relay device. If the audio application installed on the relay device is WW Music, the words “WW Music” will be displayed near the relay button control. If the audio application installed on the relay terminal device is MM Music, the word “MM Music” will be displayed near the relay button control. If both WW music and MM music are installed on the relay device, the words "WW music” and "MM music” can be displayed at the same time. If the user selects "WW Music”, the corresponding relay operation will be performed by WW Music on the relay device. If the user selects "MM Music”, the relay operation will be performed by MM Music on the relay device.
  • a "plus sign" may be superimposed on the relay button control to prompt the user that there are currently multiple relay devices.
  • a relay end device list may be displayed on one side of the relay button control.
  • the device name is included in the relay terminal device list, and the name of the application that can perform the relay operation is displayed on one side of each device name.
  • the devices installed with the audio application include multiple devices: device A, device B, and device C.
  • the application names that can perform the relay operation are displayed respectively: KK music, MM music and WW music. Furthermore, if there are multiple applications that can perform relay operations on one relay device, all of them will be displayed after the device name.
  • a thumbnail of the user interface of the second application may also be displayed on the user interface of the first application.
  • the first application on the current display device is WWW music
  • the application installed on the relay device is WW music
  • a thumbnail of the WW music user interface is displayed on one side of the relay button control.
  • the relay operation can be transmitted according to the name, singer, time and other information of the audio media data.
  • the audio application on the initiator device is YYY Music
  • the played song is "XXXXX”.
  • the AIOT server may automatically send a screenshot request to the relay device after querying the application on the relay device. After receiving the screenshot request, the relay device sends the previously saved screenshot of the second application interface to the AIOT server. The AIOT server feeds back the screenshot of the second application interface to the initiator device. After receiving the screenshot of the second application interface, the initiator device displays a thumbnail of the screenshot of the second application interface on the first application interface.
  • the display device and the determined relay device need to be under the same account. Adding terminal devices to the same account is a related technology, and this application will not elaborate on it. During the content service relay process, only the devices under the same account can carry out the content service relay process with each other. This can avoid interference from devices that are not under the same account.
  • the implementation process of displaying the relay button control on the user interface of the first application is the process shown in Figure 29, including: C1, the service application running on the foreground of the terminal device enters the relay service scene (entering the relay service scene can be It is the user interface that enters a specific page, for example, after the video playback application enters the video playback page from the main page), the business application carries its relay scene identifier and requests to bind the unified relay service application, so that the unified relay service application can know that it is currently in the relay business scenario business applications. C2. After receiving the binding request of the business application, the unified relay service application sends a query request (carrying business application data) to the AIOT server (which may be a device capability storage system).
  • the AIOT server which may be a device capability storage system
  • the AIOT server searches for terminal devices supporting the same service under the same account according to the service application data carried in the query request, that is, queries the relay terminal device. C3.
  • the server feeds back the found device information of the relay end device and the application information that can execute the relay to the unified relay service application.
  • the unified relay service application returns the queried device information of the relay end device and application information that can perform relay to the business application.
  • the business application displays different UIs on the user interface of the business application according to the device information of the relay terminal device and the application information that can execute the relay.
  • the searched application information of the service application of the relay device is also a video application, and the video relay control is displayed.
  • the service application on the initiator device in the relay service scenario is an audio application
  • the searched application information of the service application of the relay device is also an audio application, and the audio relay control is displayed.
  • the user interface shown in FIG. 7 can also be jumped to the user interface shown in FIG. 9 .
  • a list of relayable devices is displayed on the display.
  • the user interface shown in Figure 9 lists the names of at least two relay devices (if there is only one device that can be relayed, the list of relay devices only displays the information of one device that can be relayed), and the user can select one of them
  • One relay device that is, determine the relay device from multiple relay devices.
  • the initiating relay terminal generates a service relay instruction according to the user's operation.
  • the service relay instruction carries content service relay data (corresponding to the application data of the first application running in the foreground of the initiator device).
  • the relay terminal may execute the content service relay operation corresponding to the content service relay data.
  • the initiator device will send the service relay instruction to the selected relay terminal device , the current relay device is the relay device.
  • the name of the relayable device displayed in the relayable device list may include the current location of the device.
  • the relay terminal device may execute the content service relay operation corresponding to the content service relay data carried in the service relay instruction.
  • the master bedroom sound box is an initiator device
  • the first application is an audio playback application.
  • the relayable devices found in the home LAN include: display devices on the second floor, speakers in the second bedroom, and other devices. If the user currently intends to go to the second bedroom, then by selecting the second bedroom speaker in the relayable device list, input the service relay instruction, and send the service relay instruction to the second bedroom speaker. After the speaker in the second bedroom receives the service relay instruction, it will relay the audio.
  • the initiator device can display function option selection bars such as "delay 5s playback” and "continue playback on the original device" on the user interface. For example, in the user interface shown in Figure 9, if the user selects the "Delay 5s Play” option, the initiator device needs to wait for 5 seconds after receiving the service relay command input by the user before sending the service relay command to the relayable device . During the 5s waiting process, the user can cancel the relay operation at any time. For example, when the initiator device is a display device, the user may input a command to cancel service relay by pressing a return button on the control device. In this way, the situation that the user sends the service relay instruction by mistake can be avoided. After a waiting process of 5 seconds, if the cancel service relay instruction input by the user is not received, the service relay instruction is sent to the selected relay capable device.
  • the selected device that can be relayed receives the service relay command and starts to perform the relay operation.
  • the initiator device continues the operation before the relay. For example, in the application scenario shown in FIG. 17 , after the display device 100-2 performs a relay operation to play the video, the display device 100-1 continues to play the video. In this way, the same video can be played simultaneously on different terminal devices. At this time, the process and effect of playing the same video on different terminal devices do not affect each other.
  • the relay device after the initiator device sends the service relay instruction to the relay device, the relay device performs the relay operation.
  • the relay end device can also serve as an initiator device, and send a service relay command to other relay end devices, so that other relay end devices can also perform relay operations.
  • the initiator device can also send a service relay command to multiple relay devices at the same time, so that multiple relay devices can perform relay operations.
  • the home local area network includes multiple display devices: a display device in the living room, a display device in the master bedroom, a display device in the second bedroom, and a display device in the guest bedroom.
  • the display device in the living room is used as the initiator device.
  • the video playback application When using the video playback application to play video, it can send service relay commands to the other three display devices at the same time, so that the other three display devices will perform the relay operation after receiving the service relay command, that is, perform the video playback operation. .
  • the display device in the living room first initiates a receiving command to the display device in the master bedroom, and after the display device in the master bedroom executes the video playback operation, the display device in the master bedroom sends a service relay command to the display device in the second bedroom, so that the display device in the second bedroom executes the video playback operation. operate. Finally, the display device in the second bedroom sends a service relay command to the display device in the guest bedroom, so that the display device in the guest bedroom executes the operation of playing video.
  • the user can set each terminal device to automatically send the service relay command, or the user can input the service relay command, and then send a relay request to other terminal devices according to the service relay command.
  • the relay interrupt command carries business information and the device ID of the relay device, and the AIOT server sends the interrupt command and business information to the corresponding relay device according to the device ID.
  • the relay end device does not execute the content service relay operation corresponding to the content service relay data according to the relay interruption instruction.
  • the relay terminal device needs to receive the relay interruption command before the relay terminal device executes the content service relay operation corresponding to the content service relay data.
  • the application installed on the relay end device for the user to perform the relay operation may be in an open state or not in an open state. If the interruption instruction is not received after receiving the service relay instruction, the relay end device starts the unopened relay application according to the relay service instruction, so as to perform the corresponding relay operation.
  • the relay interruption instruction may be an instruction generated according to an interruption operation input by the user on the relay end device.
  • the relay device After the relay device receives the relay service instruction, it can display a relay dialog box on the relay device, and the relay dialog box includes a relay confirmation button control and a relay cancel button control. If the user clicks the confirmation relay button control, the content service relay operation corresponding to the content service relay data is executed. If the user clicks the cancel relay button control, a relay interruption instruction is generated according to the user operation, and the relay device does not execute the content service relay operation corresponding to the content service relay data according to the relay interruption instruction.
  • the relay countdown dialog box can also be displayed on the relay end device, and the relay countdown time confirmation button control and the relay button control cancel button control are displayed on the relay countdown dialog box.
  • the relay interruption instruction may also be an instruction generated according to an interruption operation input by the user on the initiator device.
  • the relay dialog box is displayed on the initiator device (the trigger condition for displaying the relay dialog box can be that the relay terminal device receives the relay service)
  • the trigger condition for displaying the relay dialog box can also be that the relay service instruction is issued by itself).
  • a Cancel Relay button control and a Confirm Relay button control are displayed on the relay dialog. If the user clicks the button control to cancel the relay, a relay interruption instruction is generated according to the user operation.
  • the relay dialog can display a countdown. For example, if the user does not click any button control within 5 seconds, the relay dialog will be canceled.
  • the interruption operation in the embodiment of the present application is assumed to be performed before the relay operation is performed by the relay terminal device.
  • a sound collector can be set on the initiator device, and the sound collector receives voice signals input by the user. For example, the voice text "Cancel Handoff" is recognized from the voice signal input by the user.
  • the initiating device generates a relay interrupt command based on the voice text, which carries business information and the device ID of the relay device, and the AIOT server sends the interrupt command and business information to the corresponding relay device according to the device ID.
  • the relay end device does not execute the content service relay operation corresponding to the content service relay data according to the relay interruption instruction.
  • the relay end device after the relay end device does not perform the content service relay operation corresponding to the content service relay data, it also feeds back the relay result to the initiator device.
  • the initiator device may continue to perform the content service relay operation corresponding to the content service relay data according to the relay result fed back. That is, the operation before the relay is continued.
  • the initiating device After the initiating device sends a service relay instruction to the relaying device, the initiating device may or may not interrupt the previous operation.
  • the display device is playing a video before the relay, and when sending a service relay command to the relay terminal device, the operation of playing the video may be interrupted, or the operation of playing the video may not be interrupted. If the operation of playing the video is interrupted, the operation of playing the video can be continued after receiving the relay result fed back by the relay end device (the content service relay operation corresponding to the content service relay data has not been executed).
  • a dialog box may also pop up on the display of the initiator device to prompt the user whether to continue playing the video on the initiator device.
  • a "Yes" button control and a "No” button control can be set on the pop-up dialog box. If the user selects the "Yes” button control, the operation of playing the video will continue according to the operation input by the user. If the user selects the "No” button control, according to the operation entered by the user, the operation of playing the video will not continue.
  • D1 to D8 are similar to the processes of B1 to B8 in the foregoing embodiments, and the process of D1 to D8 will not be repeated in this example.
  • the relay activity may be interrupted before the relay device performs a corresponding action. As shown in D9-D10 in Figure 31, it is the process of interrupting the service relay at the relay end device.
  • the user Before the D8 process, the user inputs an interrupt command on the relay device, and the relay device does not execute the corresponding action, that is, the D8 process is not executed. And the unified relay service application of the relay end device sends the interrupted assembly data to the AIOT server.
  • the assembly data includes interruption result information, service information, and device information of the initiator device.
  • AIOT will interrupt the result information and business information, and send them to the unified relay service application of the initiator device according to the device information. Then, according to the interruption result information and the service information, the prompt information of the interruption of the relay service is displayed on the initiator device. If other applications have been switched on the current initiating device, the relay service interruption prompt information related to the interruption result information and service information may also be displayed on the initiating device.
  • the user interrupts the relay through the interrupt relay button or voice input on the initiator device to trigger the relay interruption, and sends the relay interruption command to the AIOT server.
  • the relay interrupt command carries business information (application service ID) and device information of the relay end device.
  • the AIOT server After the AIOT server finds the relay end device according to the device information, it sends the relay interrupt command to the relay end device.
  • the unified relay service application of the relay end device queries the corresponding application service according to the application service relay ID, and cancels the activation of the application service, so that the relay end device does not perform the corresponding relay action.
  • the user can end the relay at any time.
  • the user may input an instruction to end service relay on the relay device, and the relay device will stop performing corresponding operations according to the content service relay data after receiving the end service relay instruction.
  • the user inputs an end service relay command on the initiating device, and the initiating device sends the end service relay command to the relay device.
  • the relay end device receives the end service relay instruction word from the initiator device, it stops performing corresponding operations according to the content service relay data.
  • the way for the user to input the command to end the service relay may be voice input, button selection input, gesture input, etc., which is not limited in this application.
  • the display device 100 - 2 plays the video in relay after receiving the relay request.
  • a relay interruption button may be displayed on the display device 100-1 or the display device 100-2.
  • a relay interruption instruction is input. If the relay interruption button is selected on the display device 100-1, a relay interruption instruction is input on the display device 100-1.
  • the display device 100-1 then sends the relay interruption instruction to the display device 100-2.
  • the display device 100-2 ends the relay play video according to the relay interruption instruction. If the relay interruption button is selected on the display device 100-2, the relay interruption instruction is directly input on the display device 100-2. Finally, the display device 100-2 ends the relay play video according to the relay interruption instruction.
  • the relay end device After the relay end device finishes performing the corresponding operation according to the content service relay data, that is, after the content service relay operation ends, the relay end device can generate a relay end feedback result and send the relay end feedback result to the initiator device to realize the content service Relay operation.
  • the relay end feedback result includes the execution progress data of the content service relay operation performed by the relay end device, and the initiator device can continue to execute the content service relay operation according to the execution progress data.
  • the media asset content can be played continuously on the initiator device according to the progress of the media asset content on the relay device.
  • the display device 100 - 2 After the display device 100 - 2 ends the relay play of the video according to the relay interruption instruction, it feeds back the playback progress of the current video to the display device 100 - 1 .
  • the playing progress of the video M on the display device 100-2 is 1 hour, 10 minutes and 6 seconds.
  • the display device 100-2 feeds back the video playback progress of 52% to the display device 100-1.
  • the display device 100-1 After the display device 100-1 receives the feedback of the playback progress, it continues to play the video M from 1 hour, 10 minutes and 6 seconds.
  • the originator device can continue to execute the content service relay operation according to the execution progress data, and then the originator device continues to execute the content service relay operation according to the execution progress data.
  • the initiator device if the initiator device is currently in the second state, the initiator device cannot continue to execute the content service relay operation according to the execution progress data, then the originator device does not continue to execute the content service relay operation according to the execution progress data.
  • Step 1 The initiator device sends a relay service command (carrying the service information of the application currently running in the foreground of the initiator device and the device information of the relay device) to the AIOT server.
  • Step 2 The AIOT server sends the business information and relay service instructions to the corresponding relay terminal device according to the device information.
  • Step 3 The relay terminal device receives the service information, and performs a corresponding relay operation according to the service information.
  • the service information may include the basic information of the service and the execution progress data of the service on the relay device.
  • the service information may include basic information such as the name of the media asset data, as well as the time when the media asset is played on the initiator device during relay.
  • the relay device continues to play the media asset according to the above basic information and playing time.
  • Step 4 After receiving the instruction to interrupt the relay operation, the relay terminal device does not continue to perform the corresponding relay operation. After interrupting the execution of the relay operation, the device at the relay end generates a relay end feedback result.
  • the feedback result of the completion of the relay may include basic information of the business and execution progress data of the business when the relay terminal device interrupts the execution of the relay operation.
  • the feedback result of the relay end includes service information and device information of the initiator device.
  • the service information at this time may also include the name of the media asset data, and also include the playing time of the media asset on the relay end device when the relay end device interrupts the relay operation.
  • Step 5 The AIOT server receives the relay end feedback result sent by the relay end device, and sends the relay end feedback result to the initiator device.
  • Step 6 If the initiator device is in the first state when receiving the relay end feedback result, continue to execute the relay operation according to the execution progress data, wherein, when the initiator device is in the first state, the initiator device can continue according to the execution progress data Perform content service relay operations.
  • Step 7 If the initiator device is in the second state when receiving the relay end feedback result, it does not continue to execute the relay operation according to the execution progress data. Proceed to the content service relay operation.
  • the current state of the initiator device can be fully considered to avoid affecting the normal use of the initiator device, thereby improving user experience.
  • the initiator device and the relay device can directly transmit instructions and data, or forward instructions and data through the server, which is not limited in this application.
  • the initiator device When the initiator device is in the first state, it may be in the following different situations:
  • the first situation is that when receiving the feedback result of the relay end, the initiating device is currently in the first service content scene, wherein the first service content scene is the service content scene in which the initiating device was in before the relay.
  • the application running in the foreground on the initiator device is a video application.
  • the application running in the foreground on the initiating device is still a video application. Then the initiator device can continue to execute the content service relay operation according to the execution progress data, that is, continue to play the media asset content.
  • the media content played by the video application on the initiator device is not the media content played before the relay. After the initiating device finishes playing the currently played media content, the previous media content can be played according to the execution progress data.
  • the second situation is that when receiving the relay end feedback result, the initiating device is not currently in any service content scene. For example, there may be no applications running in the foreground on the initiator device. Then the initiator device can continue to execute the content service relay operation according to the execution progress data.
  • the initiator device When the initiator device is in the second state, it may be in the following different situations:
  • the first situation is that when receiving the feedback result of the end of the relay, the initiator device is currently in the second business content scene, the second business content scene is different from the first business content scene, and the first business content scene is the originating end device before the relay.
  • the business content scenario in which the device is located For example, before the relay, the application running in the foreground on the initiator device is a video application. When receiving the relay end feedback result, the application running in the foreground on the initiator device is an audio application. Then the initiator device cannot continue to execute the content service relay operation according to the execution progress data, that is, the initiator device cannot continue to play the media asset content.
  • the second situation is that the relay initiating terminal is currently offline. At this time, the initiating relay terminal cannot continue to execute the content service relay operation according to the execution progress data, that is, the initiating device cannot continue to play the media content.
  • the feedback result of the relay end can be saved on the server, and when the initiator device enters the online state from the offline state, it can send a state change request to the server. After receiving the status change request of the initiator device, the server determines that the status of the initiator device is online, and then sends the relay end feedback result to the initiator device. Further, if the initiator device is not in any business content scene or in the first business content scene after entering the online state, it can continue to execute the content service relay operation according to the execution progress data.
  • the initiating device when receiving the relay end feedback result, if the initiating device is currently in the first state in the above embodiment, it is determined according to the execution progress data that the relay device has completed the corresponding execution based on the content service relay data. Content service relay operation. Then the initiator device also does not continue to execute the content service relay operation according to the execution progress data.
  • the initiator device may continue to execute the content service relay operation according to the execution progress data. Then the user can perceive the operation change on the initiator device. For example, if the media asset content continues to be played according to the execution progress data, the user can watch the media asset content that continues to be played on the initiator device. However, if the initiating device is in the second state, after receiving the relay end feedback result, the initiating device cannot continue to execute the content service relay operation according to the execution progress data. Then the user cannot perceive the operation change on the initiator device.
  • a return failure prompt may be generated on the initiator device to prompt the user that the relay return of the current content service fails.
  • a dialog box may be popped up on the relay device and/or the initiator device, and the dialog box includes a prompt saying "relay return of content service failed".
  • the relay end device and/or the originator device can also voice broadcast the return failure prompt, for example, the voice broadcast prompt "content service relay return failure", so as to further improve the user's interactive experience.
  • This application also provides a content service relay return method, as shown in Figure 32, the flow chart of the content service relay return method, the method includes the following steps:
  • Step S101 sending a service relay command to the relay device.
  • the service relay command carries content service relay data, so that the relay device executes a content service relay operation corresponding to the content service relay data.
  • Step S102 Receive the relay end feedback result sent by the relay end device, wherein the relay end feedback result is the result generated by the relay end device after the content service relay operation is completed, and the relay end feedback result includes the execution of the content service relay operation by the relay end device progress data.
  • Step S103 when the initiator device is currently in the first state, continue to execute the content service relay operation according to the execution progress data, wherein, when the originator device is in the first state, the initiator device can continue to execute the content service relay operation according to the execution progress data operate.
  • Step S104 when the initiator device is currently in the second state, continue to execute the content service relay operation according to the execution progress data, wherein, when the initiator device is in the second state, the originator device cannot continue to execute the content service according to the execution progress data Relay operation.
  • the current state of the initiator device can be fully considered to avoid affecting the normal use of the initiator device, thereby improving user experience.
  • the initiator device and the relay device can directly transmit instructions and data, or forward instructions and data through the server, which is not limited in this application.
  • the initiator device when the initiator device is currently in the first state, the initiator device is currently in the first service content scenario, or the initiator device is not currently in any service content scenario.
  • the first service content scene is the service content scene where the initiator device is in before the relay.
  • the initiator device when the initiator device is currently in the second state, the initiator device is currently in the second service content scenario, or the initiator device is currently in an offline state.
  • the second business content scenario is different from the first business content scenario.
  • the present application also provides a content display method of a display device, as shown in the flow chart of the method in FIG. 33 , the method includes the following steps:
  • Step S201 run the first application in the foreground on the initiator device, and search for a relayable device according to the application data of the first application, wherein the relayable device is a terminal device that can perform operations corresponding to the application data of the first application.
  • Step S202 if there is a relayable device, display a relay button control on the user interface of the first application, wherein the relay button control is used to trigger a content service relay process.
  • Step S203 if there is no relay-capable device, display a relay guide button control on the user interface of the first application, wherein the relay guide button control is used to trigger display of content service relay guide information.
  • the relay guidance button control can be displayed on the user interface, and the user can be guided to perform the next step related to the content service relay, thereby improving the user experience.
  • different relay button controls may be displayed depending on the type of the first application. For example, if the first application is a video application, a video relay button control is displayed on the user interface of the first application. If the first application is an audio application, an audio relay button control is displayed on the user interface of the first application. If the first application is a picture display application, a picture display relay button control is displayed on the user interface of the first application.
  • the name of the second application on the relay-capable device may also be displayed on the user interface of the first application, and the second application is an application that can perform operations corresponding to the application data of the first application.
  • a thumbnail of a user interface of a second application on the relayable device may also be displayed on the user interface of the first application, and the second application is an application that can perform operations corresponding to the application data of the first application.
  • the present application also provides a terminal device matching method, which is applied in the content service relay scenario, as shown in the method flow chart in Figure 34, and the method includes the following steps:
  • Step S301 the current terminal device (initiating device) receives the voice signal from the sound collector, and recognizes the voice text from the voice signal (recognition of the voice text through the voice server).
  • Step S302 if the voice text includes device information, determine the relay device according to the device information, where the device information points to a unique relay device.
  • Step S303 if the voice text includes device type information, determine the relayable device according to the device type information, and determine the relayable device from among the relayable devices according to the relationship between the relay dimension information of the relayable device and the initiation dimension information of the current terminal device , where the device type information points to at least two relayable devices.
  • Step S304 establishing a relay relationship between the determined relay device and the current terminal device.
  • the dimension information of the device includes a first dimension, a second dimension, and a third dimension, the first dimension includes the second dimension, and the second dimension includes the third dimension.
  • the first dimension is the account number
  • the second dimension is the room attribute identification, for example, it can be the user's house in different regions
  • the third dimension is the room area identification, for example, it can be the user's different rooms in different houses.
  • the account is the account ID registered by the user in the unified relay service application. Users can create multiple homes under each account dimension. For example, a user owns multiple houses, which are located in A, B, and C respectively. The houses on land A, land B, and land C are the second dimension in the frame diagram.
  • the third dimension is a plurality of physical spaces established based on the home dimension, such as master bedroom, living room, second bedroom, kitchen and other spaces. Then, the step of determining the relay device according to the relationship between the relay dimension information of the relayable device and the second space of the terminal device may be:
  • relayable device whose first dimension, second dimension, and third dimension respectively match the first dimension, second dimension, and third dimension of the terminal device, and there is a first dimension and second dimension that are respectively compatible with the terminal
  • a relayable device whose first dimension and second dimension match the relayable device is determined as the relayable device.
  • relayable device whose first dimension, second dimension, and third dimension respectively match the first dimension, second dimension, and third dimension of the terminal device, and there is no first dimension, second dimension, and A relayable device whose first dimension matches the second dimension of the terminal device, and a relayable device whose first dimension matches the first dimension of the terminal device exists simultaneously, and the relayable device is determined as the relaying device.
  • the relay-capable devices whose first dimension, second dimension and third dimension respectively match the first dimension, second dimension and third dimension of the current terminal device are considered first. If there is no relayable device that matches all three dimensions, further consider a relayable device whose first dimension and second dimension respectively match the first dimension and the second dimension of the current terminal device. If there is no first dimension and second dimension matching the first dimension and the second dimension of the current terminal device respectively, finally consider the relayable device whose first dimension matches the first dimension of the current terminal device. If there is no relay capable device whose first dimension matches the first dimension of the current terminal device, it means that there is no relay capable terminal device in the system. In this way, a relay device with the same room area identifier or the same room attribute identifier as the current device can be matched as much as possible.
  • the present application also provides a content service relay interruption method, as shown in the method flowchart shown in FIG. 35 and the method signaling diagram shown in FIG. 36.
  • the method includes the following steps:
  • Step S401 the relay end device receives a relay service instruction from the initiator device.
  • the relay service command carries content service relay data, and the relay end device can perform the content service relay operation corresponding to the content service relay data.
  • Step S402. Before the relay end device executes the content service relay operation corresponding to the content service relay data, if the relay end device receives the relay interruption instruction, the relay end device will not execute the corresponding content service relay data according to the relay interruption instruction. Content service relay operation.
  • instructions and data may be transferred through a server, or may not be transferred through a server, but the instructions and data are directly transferred between terminal devices.
  • the relay interruption instruction may be an instruction generated according to an interruption operation input by the user on the relay end device.
  • the relay device may display a relay dialog box on the relay device, and the relay dialog box includes a relay confirmation button control and a relay relay button control. If the user clicks the confirmation relay button control, the content service relay operation corresponding to the content service relay data is executed. If the user clicks the button control to cancel the relay, a relay interruption instruction is generated according to the user operation.
  • the relay interruption instruction may also be an instruction generated according to an interruption operation input by the user on the initiator device. For example, after receiving the relay service instruction, the relay device displays a relay dialog box on the initiator device before executing the content service relay operation corresponding to the content service relay data. A Cancel Relay button control is displayed on the relay dialog. If the user clicks the button control to cancel the relay, a relay interruption instruction is generated according to the user operation. And send the relay interruption command to the relay end device.
  • the present application also provides a method for reporting service capability information of a terminal device, as shown in the signaling diagram in FIG. 37 , the method includes the following steps:
  • Step 1 the terminal device monitors whether there is a change in the service parameters of the applications installed on its system.
  • Step 2 If there is a change in the service parameter, a service capability information update request is generated according to the change, and the service capability information update request is sent to the server.
  • the server updates the service capability information list stored on the server according to the service capability information update request.
  • the service capability information list is used to record the service capability information of the terminal equipment, and the service capability information corresponds to service parameters.
  • Step 3 If there is no change in the service parameters, no service capability information update request is generated. Then the business capability information list saved on the server does not change.
  • the present application also provides a content service relay method for a terminal device, such as the signaling diagram shown in FIG. 38 and the method flowchart shown in FIG. 39 , the method includes the following steps:
  • Step S501 run the first application in the foreground on the initiator device, and search for a relayable device according to the application data of the first application, wherein the relayable device is a terminal device that can perform operations corresponding to the application data of the first application.
  • Step S502 if there is a relayable device, generate a relay prompt, so that the user can input a relay operation according to the relay prompt, generate a service relay command according to the relay operation, generate a relay request according to the service relay command, and send the relay request to the relayable device, so that The relay-capable device executes operations corresponding to the application data according to the application data carried in the relay request.
  • Step S503 if there is no relay capable device, no relay prompt is generated.
  • the above-mentioned embodiment is a solution implemented based on a local area network, and the internal overall structure of the local area network of the present application is shown in FIG. 40 .
  • the schematic diagram of the internal structure of the local area network shown in FIG. 40 is only an example of two terminal devices, and the two terminal devices can be used as the initiator device or the relay device.
  • the relay component provides the following capabilities for the application:
  • the capability parameter of the unstarted application may also be sent to other terminal devices through the hardware support component. It is also possible to feed back the basic online and offline information of the terminal device to other terminal devices through the hardware support component.
  • Figure 41 to Figure 43 are the signaling diagrams of the interaction between the components of the initiator device and the components of the relay device, in which Figure 41 is the process of registering capability information, Figure 42 is the process of obtaining the relay device, and Figure 43 is the video relay The process of playing.
  • Figure 41 is the process of registering capability information
  • Figure 42 is the process of obtaining the relay device
  • Figure 43 is the video relay The process of playing.
  • the application of the terminal device After the application of the terminal device is started (some applications are not self-started after booting, and after the whole machine is started, the application service capabilities installed on the current device will be collected for unified registration), register the device capabilities with the underlying service system through the relay component. And send the registration result to other terminal devices.
  • the relay component also subscribes to the application changes on the device.
  • the interaction process is: through the relay component, query the terminal devices that can be relayed in the LAN, and display the list of terminal devices that can be relayed through the application.
  • the application After determining the relay device, the application generates a video playback request to request the identification and playback progress of the currently playing video from the relay component, and generates playback data according to the video identification and playback progress, and then passes it to the peer through the relay component and the underlying service system . Due to the query of the relay end device through the relay component and the underlying system service.
  • the relay terminal device has been queried, so after receiving the input operation to trigger the relay, the video playback data is forwarded.
  • the application in the relay device analyzes and plays it, and feeds back the relay result to the application in the initiator device.
  • searching for the relayable device based on the application data of the application can start after the application is started, which can improve system efficiency.
  • the terminal device may contain multiple different applications. If the application is not started, the relayable device will be searched. Query, the data interaction generated during the query process will increase the operating pressure of the terminal device and/or server and/or the relay device, so after the application is started, searching for the relay device based on the application data of the application can alleviate this problem.
  • the application data represents the current function.
  • Some applications may not directly start the function after starting.
  • a video application will generally display a list of media resources after the application is started, and start only after the user selects it.
  • Video playback and audio applications also have the same problem. Therefore, in some embodiments, after the application is started, the relay-able device is not directly searched according to the application data of the application. Instead, when the application data corresponding to the function of the application is detected to be invoked, the relay-able device is searched according to the application data of the application.
  • a video application detects the application data representing the activation of the playback function, it searches for relayable devices based on the application data of the application;
  • an audio application detects the application data representing the activation of the playback function, it searches for the relayable device based on the application data of the application ;
  • the alarm clock application detects the application data representing the activation of the alarm clock, it searches for the relayable device according to the application data of the application. In this way, after the application is started, the user can operate normally without invalid query.
  • the device that can be relayed is searched according to the application data of the application, so that the timing of the pop-up of the relay prompt is more accurate, which improves the user experience. experience.
  • the device that can be relayed can be found directly according to the application data of the application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure relates to a terminal device, comprising a controller, configured to: send a service relay instruction to a relay terminal device, wherein the service relay instruction carries content service relay data, so that the relay terminal device executes a content service relay operation corresponding to the content service relay data; and receive a relay end feedback result sent by the relay terminal device, wherein the relay end feedback result is a result generated after the relay terminal device ends the content service relay operation, and the relay end feedback result comprises the execution progress data of the relay terminal device executing the content service relay operation. When the terminal device is currently in a first state, the terminal device can continue to execute the content service relay operation, and when the terminal device is currently in a second state, the terminal device cannot continue to execute the content service relay operation.

Description

终端设备、内容服务接力方法以及内容服务接力打断方法Terminal device, content service relay method, and content service relay interruption method
本申请要求2021年8月5日提交的申请号为202110896120.4、2021年9月24日提交的申请号为202111121095.9、2021年9月24日提交的申请号为202111120885.5、2021年9月24日提交的申请号为202111120453.4、2021年9月24日提交的申请号为202111122128.1、2021年9月24日提交的申请号为202111120881.7、以及2021年9月26日提交的申请号为202111126832.4的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This application requires that the application number submitted on August 5, 2021 is 202110896120.4, the application number submitted on September 24, 2021 is 202111121095.9, the application number submitted on September 24, 2021 is 202111120885.5, and the application number submitted on September 24, 2021 Priority of Chinese patent applications with application number 202111120453.4, application number 202111122128.1 filed on September 24, 2021, application number 202111120881.7 filed on September 24, 2021, and application number 202111126832.4 filed on September 26, 2021 rights, the entire contents of which are incorporated by reference in this disclosure.
技术领域technical field
本申请涉及终端设备技术领域,尤其涉及一种终端设备、一种内容服务接力方法以及一种内容服务接力打断方法。The present application relates to the technical field of terminal equipment, and in particular to a terminal equipment, a content service relay method, and a content service relay interruption method.
背景技术Background technique
随着终端产品的发展,以及人们家庭生活水平的提高,越来越多家庭拥有多台家用终端设备。家用终端设备之间可以互相进行内容服务接力。例如,电视上的视频播放服务可以接力到冰箱的显示屏上进行,冰箱显示屏上的视频播放服务也可以接力到电视上进行。With the development of terminal products and the improvement of people's family living standards, more and more families have multiple household terminal devices. Home terminal devices can carry out content service relay among each other. For example, the video playback service on the TV can be relayed to the display screen of the refrigerator, and the video playback service on the refrigerator display screen can also be relayed to the TV.
现有的投屏功能是一种视频的跨终端控制功能,要求投屏端和被投屏端支持特定协议,例如DLNA,Miracast等,主要的投屏方式有两种,一种以DLNA为代表,多用于在线视频的播放,在用户选择播放页面上投屏功能后,投屏端根据预定的协议,发现局域网内的支持本协议的被投屏端。通过将视频播放地址直接通过局域网传递给被投屏端,被投屏端根据视频播放地址进行视频的播放,此时投屏端不再进行视频的数据解析,可以休眠或关闭而不影响被投屏端的播放。另一种是以Miracast为代表,属于屏幕镜像的操作,即投屏端在执行投屏后仍进行图像的显示,通过将显示的图像,通过局域网镜像给被投屏端,投屏端的休眠或关闭会影响被投屏端的播放。The existing screen projection function is a cross-terminal video control function, which requires the projection terminal and the screen terminal to support specific protocols, such as DLNA, Miracast, etc. There are two main projection methods, one is represented by DLNA , which is mostly used for online video playback. After the user selects the screen projection function on the playback page, the screen projection terminal will find the screen projection terminal in the LAN that supports this protocol according to the predetermined protocol. By directly passing the video playback address to the projected terminal through the LAN, the projected terminal plays the video according to the video playback address. At this time, the projected terminal no longer performs video data analysis, and can sleep or shut down without affecting the projected terminal. screen playback. The other is represented by Miracast, which belongs to the operation of screen mirroring, that is, the screen projection terminal still displays the image after performing the screen projection, and mirrors the displayed image to the screen projection terminal through the LAN, and the dormancy or Closing will affect the playback of the projected terminal.
发明内容Contents of the invention
根据本申请一些实施方式提供一种终端设备,包括控制器,控制器被配置为:向接力端设备发送服务接力指令,所述服务接力指令携带有内容服务接力数据,以使所述接力端设备执行所述内容服务接力数据对应的内容服务接力操作;接收所述接力端设备发送的接力结束反馈结果,其中,所述接力结束反馈结果为所述接力端设备在结束所述内容服务接力操作后生成的结果,所述接力结束反馈结果包括所述接力端设备执行内容服务接力操作的执行进度数据;其中,在所述终端设备当前处于第一状态时,所述终端设备是能够继续执行内容服务接力操作的,其中,在所述终端设备处于所述第一状态时,所述终端设备能够根据所述执行进度数据继续执行内容服务接力操作;其中,在所述终端设备当前处于第二状态时,所述终端设备是不能够继续执行内容服务接力操作的,其中,在所述终端设备处于所述第二状态时,所述终端设备不能够根据所述执行进度数据继续执行内容服务接力操作。According to some embodiments of the present application, there is provided a terminal device, including a controller, and the controller is configured to: send a service relay instruction to the relay terminal device, and the service relay instruction carries content service relay data, so that the relay terminal device Execute the content service relay operation corresponding to the content service relay data; receive the relay end feedback result sent by the relay end device, wherein the relay end feedback result is that the relay end device ends the content service relay operation The generated result, the relay end feedback result includes the execution progress data of the content service relay operation performed by the relay terminal device; wherein, when the terminal device is currently in the first state, the terminal device is able to continue to execute the content service Relay operation, wherein, when the terminal device is in the first state, the terminal device can continue to execute content service relay operation according to the execution progress data; wherein, when the terminal device is currently in the second state , the terminal device cannot continue to execute the content service relay operation, wherein, when the terminal device is in the second state, the terminal device cannot continue to execute the content service relay operation according to the execution progress data.
根据本申请一些实施方式提供一种终端设备,所述所述包括控制器,控制器被配置为:从发起端设备接收服务接力指令,其中,所述服务接力指令携带有内容服务接力数据,所述终端设备可执行所述内容服务接力数据对应的内容服务接力操作;接收接力打断指令,以及根据所述接力打断指令,不执行与所述内容服务接力数据对应的内容服务接力操作。According to some embodiments of the present application, there is provided a terminal device, which includes a controller, and the controller is configured to: receive a service relay instruction from the initiator device, wherein the service relay instruction carries content service relay data, and the The terminal device may execute the content service relay operation corresponding to the content service relay data; receive a relay interruption instruction, and according to the relay interruption instruction, not execute the content service relay operation corresponding to the content service relay data.
根据本申请一些实施方式提供一种内容服务接力方法,包括:终端设备向接力端设备发送服务 接力指令,服务接力指令携带有内容服务接力数据,以使接力端设备执行内容服务接力数据对应的内容服务接力操作;终端设备接收接力端设备发送的接力结束反馈结果,其中,接力结束反馈结果为接力端设备在结束内容服务接力操作后生成的结果,接力结束反馈结果包括接力端设备执行内容服务接力操作的执行进度数据;其中,在终端设备当前处于第一状态时,终端设备是能够继续执行内容服务接力操作的,其中,在终端设备处于第一状态时,终端设备能够根据执行进度数据继续执行内容服务接力操作;其中,在终端设备当前处于第二状态时,终端设备是不能够继续执行内容服务接力操作的,其中,在终端设备处于第二状态时,终端设备不能够根据执行进度数据继续执行内容服务接力操作。According to some embodiments of the present application, a content service relay method is provided, including: the terminal device sends a service relay command to the relay terminal device, and the service relay command carries content service relay data, so that the relay terminal device executes the content corresponding to the content service relay data Service relay operation: the terminal device receives the relay end feedback result sent by the relay end device, wherein the relay end feedback result is the result generated by the relay end device after the content service relay operation is completed, and the relay end feedback result includes the content service relay performed by the relay end device The execution progress data of the operation; wherein, when the terminal device is currently in the first state, the terminal device can continue to execute the content service relay operation, wherein, when the terminal device is in the first state, the terminal device can continue to execute according to the execution progress data Content service relay operation; wherein, when the terminal device is currently in the second state, the terminal device cannot continue to execute the content service relay operation, wherein, when the terminal device is in the second state, the terminal device cannot continue according to the execution progress data Perform content service relay operations.
根据本申请一些实施方式提供一种内容服务接力打断方法,包括:终端设备从发起端设备接收服务接力指令,其中,服务接力指令携带有内容服务接力数据,终端设备可执行内容服务接力数据对应的内容服务接力操作;接收接力打断指令,以及根据接力打断指令,不执行与内容服务接力数据对应的内容服务接力操作。According to some embodiments of the present application, there is provided a content service relay interruption method, including: a terminal device receives a service relay command from an initiator device, wherein the service relay command carries content service relay data, and the terminal device can execute content service relay data corresponding The content service relay operation; receiving the relay interruption instruction, and according to the relay interruption instruction, not executing the content service relay operation corresponding to the content service relay data.
附图说明Description of drawings
图1为根据一些实施例的显示设备的使用场景;FIG. 1 is a usage scenario of a display device according to some embodiments;
图2为根据一些实施例的控制装置100的硬件配置框图;FIG. 2 is a block diagram of a hardware configuration of a control device 100 according to some embodiments;
图3为根据一些实施例的显示设备200的硬件配置框图;FIG. 3 is a block diagram of a hardware configuration of a display device 200 according to some embodiments;
图4为根据一些实施例的显示设备200中软件配置图;FIG. 4 is a software configuration diagram in a display device 200 according to some embodiments;
图5为根据一些实施例的显示设备200中应用程序的图标控件界面显示图;FIG. 5 is a display diagram of an icon control interface of an application program in the display device 200 according to some embodiments;
图6为根据一些实施例的终端设备内容服务接力系统框架示意图;Fig. 6 is a schematic diagram of a framework of a terminal device content service relay system according to some embodiments;
图7为根据一些实施例的发起端设备的用户界面示意图;7 is a schematic diagram of a user interface of an initiator device according to some embodiments;
图8为根据一些实施例的又一种发起端设备的用户界面示意图;Fig. 8 is a schematic diagram of a user interface of another initiator device according to some embodiments;
图9为根据一些实施例的又一种发起端设备的用户界面示意图;FIG. 9 is a schematic diagram of another user interface of an initiator device according to some embodiments;
图10为根据一些实施例的又一种内容服务接力应用场景图;Fig. 10 is another application scenario diagram of content service relay according to some embodiments;
图11为根据一些实施例的又一种内容服务接力应用场景图;Fig. 11 is another application scenario diagram of content service relay according to some embodiments;
图12为根据一些实施例的又一种发起端设备的用户界面示意图;Fig. 12 is a schematic diagram of a user interface of another initiator device according to some embodiments;
图13为根据一些实施例的接力端设备的用户界面示意图;Figure 13 is a schematic diagram of a user interface of a relay device according to some embodiments;
图14为根据一些实施例的又一种发起端设备的用户界面示意图;Fig. 14 is a schematic diagram of a user interface of another initiator device according to some embodiments;
图15为根据一些实施例的又一种接力端设备的用户界面示意图;Fig. 15 is a schematic diagram of a user interface of another relay device according to some embodiments;
图16为根据一些实施例的服务接力业务流程示意图;Fig. 16 is a schematic diagram of a service relay business process according to some embodiments;
图17为根据一些实施例的终端设备内容服务接力应用场景示意图;Fig. 17 is a schematic diagram of a content service relay application scenario of a terminal device according to some embodiments;
图18为根据一些实施例的内容服务接力设备匹配维度场景图;Fig. 18 is a scene diagram of matching dimensions of a content service relay device according to some embodiments;
图19为根据一些实施例的内容服务接力信令处理时序示意图;Fig. 19 is a schematic diagram of a timing sequence of content service relay signaling processing according to some embodiments;
图20为根据一些实施例的又一种内容服务接力信令处理时序示意图;Fig. 20 is a schematic diagram of another content service relay signaling processing sequence according to some embodiments;
图21为根据一些实施例的又一种内容服务接力设备匹配维度场景图;Fig. 21 is another scene diagram of content service relay device matching dimension according to some embodiments;
图22为根据一些实施例的又一种内容服务接力设备匹配维度场景图;Fig. 22 is a scene diagram of another dimension matching content service relay device according to some embodiments;
图23为根据一些实施例的又一种内容服务接力设备匹配维度场景图;Fig. 23 is a scene diagram of another content service relay device matching dimension according to some embodiments;
图24为根据一些实施例的又一种发起端设备的用户界面示意图;Fig. 24 is a schematic diagram of a user interface of another initiator device according to some embodiments;
图25为根据一些实施例的又一种内容服务接力信令处理时序示意图;Fig. 25 is a schematic diagram of another content service relay signaling processing sequence according to some embodiments;
图26为根据一些实施例的又一种发起端设备的用户界面示意图;Fig. 26 is a schematic diagram of a user interface of another initiator device according to some embodiments;
图27为根据一些实施例的又一种发起端设备的用户界面示意图;Fig. 27 is a schematic diagram of a user interface of another initiator device according to some embodiments;
图28为根据一些实施例的又一种发起端设备的用户界面示意图;Fig. 28 is a schematic diagram of a user interface of another initiator device according to some embodiments;
图29为根据一些实施例的实现在发起端设备用户界面上显示接力按钮控件的业务流程示意图;Fig. 29 is a schematic diagram of a business process for displaying a relay button control on the user interface of the initiator device according to some embodiments;
图30为根据一些实施例的实现服务接力打断的业务流程示意图;Fig. 30 is a schematic diagram of a business process for implementing service relay interruption according to some embodiments;
图31为根据一些实施例的接力返回的信令时序图;FIG. 31 is a signaling sequence diagram of a baton return according to some embodiments;
图32为根据一些实施例的内容服务接力返回方法流程图;Fig. 32 is a flowchart of a content service relay return method according to some embodiments;
图33为根据一些实施例的显示设备的内容显示方法流程图;Fig. 33 is a flowchart of a content display method of a display device according to some embodiments;
图34为根据一些实施例的终端设备的匹配方法流程图;Fig. 34 is a flowchart of a matching method of a terminal device according to some embodiments;
图35为根据一些实施例的内容服务接力打断的方法流程图;Fig. 35 is a flow chart of a method for relay interruption of content services according to some embodiments;
图36为根据一些实施例的内容服务接力打断的方法信令图;Fig. 36 is a signaling diagram of a method for content service relay interruption according to some embodiments;
图37为根据一些实施例的终端设备的业务能力信息上报方法信令图;Fig. 37 is a signaling diagram of a method for reporting service capability information of a terminal device according to some embodiments;
图38为根据一些实施例的终端设备的内容服务接力方法信令图;Fig. 38 is a signaling diagram of a content service relay method for a terminal device according to some embodiments;
图39为根据一些实施例的终端设备的内容服务接力方法流程图;Fig. 39 is a flowchart of a content service relay method for a terminal device according to some embodiments;
图40为根据一些实施例的内容服务接力的局域网内部整体结构示意图;Fig. 40 is a schematic diagram of the overall internal structure of a local area network for content service relay according to some embodiments;
图41为根据一些实施例的内容服务接力的能力信息注册过程中各组件交互信令图;Fig. 41 is a diagram of interaction signaling between components during the capability information registration process of content service relay according to some embodiments;
图42为根据一些实施例的内容服务接力的获取接力终端设备过程中各组件交互信令图;Fig. 42 is a diagram of interaction signaling between components in the process of obtaining a relay terminal device for content service relay according to some embodiments;
图43为根据一些实施例的内容服务接力的视频接力播放过程中各组件交互信令图。Fig. 43 is an interactive signaling diagram of various components during video relay playback of content service relay according to some embodiments.
具体实施方式Detailed ways
为使本申请的目的和实施方式更加清楚,下面将结合本申请示例性实施例中的附图,对本申请示例性实施方式进行描述,显然,描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。In order to make the purpose and implementation of the application clearer, the following will describe the exemplary implementation of the application in conjunction with the accompanying drawings in the exemplary embodiment of the application. Obviously, the described exemplary embodiment is only a part of the implementation of the application , but not all examples.
本申请中对于术语的简要说明,仅是为了方便理解接下来描述的实施方式,而不是意图限定本申请的实施方式。除非另有说明,这些术语应当按照其普通和通常的含义理解。The brief description of the terms in this application is only for the convenience of understanding the implementations described below, and is not intended to limit the implementations of this application. These terms are to be understood according to their ordinary and usual meaning unless otherwise stated.
本申请实施方式提供的显示设备可以具有多种实施形式,例如,可以是电视、智能电视、激光投影设备、显示器(monitor)、电子白板(electronic bulletin board)、电子桌面(electronic table)等。图1和图2为本申请的显示设备的一种具体实施方式。The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a TV, a smart TV, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Fig. 1 and Fig. 2 are a specific implementation manner of the display device of the present application.
图1为根据实施例中显示设备与控制装置之间操作场景的示意图。如图1所示,显示设备200还与服务器400进行数据通信,用户可通过智能设备300或控制装置100操作显示设备200。Fig. 1 is a schematic diagram of an operation scene between a display device and a control device according to an embodiment. As shown in FIG. 1 , the display device 200 also performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control device 100 .
在一些实施例中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式中的至少一种,通过无线或有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等至少一种输入用户指令,来控制显示设备200。In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, and the display device is controlled wirelessly or wiredly. Device 200. The user can control the display device 200 by inputting user instructions through at least one of buttons on the remote control, voice input, and control panel input.
在一些实施例中,也可以使用智能设备300(如移动终端、平板电脑、计算机、笔记本电脑、AR/VR设备等)以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。In some embodiments, the smart device 300 (such as a mobile terminal, a tablet computer, a computer, a notebook computer, an AR/VR device, etc.) can also be used to control the display device 200 . For example, the display device 200 is controlled using an application program running on the smart device.
在一些实施例中,也可以使用智能设备300和显示设备进行数据的通信。In some embodiments, the smart device 300 and the display device may also be used for data communication.
在一些实施例中,智能设备300还可以是可以进行通信的其他终端,例如,空调、冰箱、智慧中控,门禁等设备。In some embodiments, the smart device 300 may also be other terminals capable of communication, such as air conditioners, refrigerators, smart central control, access control and other devices.
在一些实施例中,显示设备可以不使用上述的智能设备或控制设备接收指令,而是通过触摸或者手势等接收用户的控制。In some embodiments, the display device may not use the aforementioned smart device or control device to receive instructions, but may receive user control through touch or gesture.
在一些实施例中,显示设备200还可以采用除了控制装置100和智能设备300之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模块直接接收用户的语音指令控制,也可 以通过显示设备200设备外部设置的语音控制装置来接收用户的语音指令控制。In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the module for obtaining voice commands configured inside the display device 200 can directly receive the user's voice command control , the user's voice command control can also be received through the voice control device provided outside the display device 200 .
在一些实施例中,显示设备200还与服务器400进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。服务器400可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。In some embodiments, the display device 200 also performs data communication with the server 400 . The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200 . The server 400 may be one cluster, or multiple clusters, and may include one or more types of servers.
图2为根据示例性实施例中控制装置100的配置框图。如图2所示,控制装置100包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。FIG. 2 is a block diagram of a configuration of the control device 100 according to the exemplary embodiment. As shown in FIG. 2 , the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply. The control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
如图3,显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户输入接口280中的至少一种。As shown in Figure 3, the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user input interface 280. at least one.
在一些实施例中,外部装置接口240可以包括但不限于如下:高清多媒体接口接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。In some embodiments, the external device interface 240 may include, but is not limited to, the following: High Definition Multimedia Interface Interface (HDMI), Analog or Data High Definition Component Input Interface (Component), Composite Video Input Interface (CVBS), USB Input Interface (USB) , RGB port, etc. any one or more interfaces.
在一些实施例中,用户可在显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the user can input user commands through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives user input commands through the graphical user interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
在一些实施例中,用户输入接口280,为可用于接收控制输入的接口(如:显示设备本体上的实体按键,或其他等)。In some embodiments, the user input interface 280 is an interface that can be used to receive control input (such as: physical buttons on the display device body, or others).
参见图4,在一些实施例中,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。Referring to Fig. 4, in some embodiments, the system is divided into four layers, from top to bottom are respectively the application (Applications) layer (abbreviated as "application layer"), application framework (Application Framework) layer (abbreviated as "framework layer") "), Android runtime (Android runtime) and system library layer (referred to as "system runtime layer"), and the kernel layer.
如图4所示,本申请一些实施例中应用程序框架层包括管理器(Managers),内容提供者(Content Provider)等,其中管理器包括以下模块中的至少一个:活动管理器(Activity Manager)用与和系统中正在运行的所有活动进行交互;位置管理器(Location Manager)用于给系统服务或应用提供了系统位置服务的访问;文件包管理器(Package Manager)用于检索当前安装在设备上的应用程序包相关的各种信息;通知管理器(Notification Manager)用于控制通知消息的显示和清除;窗口管理器(Window Manager)用于管理用户界面上的图标、窗口、工具栏、壁纸和桌面部件。As shown in Figure 4, in some embodiments of the present application, the application framework layer includes managers (Managers), content providers (Content Provider) etc., wherein the manager includes at least one of the following modules: Activity Manager (Activity Manager) Use to interact with all activities running in the system; the Location Manager is used to provide system services or applications with access to the system location service; the Package Manager is used to retrieve the information currently installed on the device Various information related to the application package on the Internet; Notification Manager (Notification Manager) is used to control the display and clearing of notification messages; Window Manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers on the user interface and desktop widgets.
在一些实施例中,显示设备启动后可以直接进入预置的视频点播程序的界面,视频点播程序作为系统的默认系统程序,其界面可以如图5中所示,至少包括导航栏510和位于导航栏510下方的内容显示区,内容显示区中显示的内容会随导航栏中被选中控件的变化而变化。应用程序层中的程序可以被集成在视频点播程序中通过导航栏的一个控件进行展示,也可以在导航栏中的应用控件被选中后进行进一步显示。In some embodiments, after the display device is started, it can directly enter the interface of the preset video-on-demand program. The video-on-demand program is the default system program of the system, and its interface can be as shown in FIG. The content display area below the bar 510, the content displayed in the content display area will change with the change of the selected control in the navigation bar. The program in the application layer can be integrated in the video-on-demand program and displayed through a control in the navigation bar, or can be further displayed after the application control in the navigation bar is selected.
在一些实施例中,显示设备启动后可以直接进入上次选择的信号源的显示界面,或者信号源选择界面,其中信号源可以是预置的视频点播程序,还可以是HDMI接口,直播显示设备接口等中的至少一种,用户选择不同的信号源后,显示器可以显示从不同信号源获得的内容。In some embodiments, after the display device is started, it can directly enter the display interface of the signal source selected last time, or the signal source selection interface, wherein the signal source can be a preset video-on-demand program, or an HDMI interface, and the live display device At least one of the interfaces, etc., after the user selects different signal sources, the display can display the content obtained from different signal sources.
随着终端产品的发展,以及人们家庭生活水平的提高,越来越多家庭拥有多台家用终端设备。家用设备之间可以互相进行内容服务接力。例如,电视上的视频播放服务可以接力到冰箱的显示屏上进行,冰箱显示屏上的视频播放服务也可以接力到电视上进行。本申请提供一种终端设备内容服务接力系统,如图6所示的终端设备内容服务接力系统框架示意图。该系统包括至少两台终端设备100。终端设备100之间通过局域网通信连接。终端设备100之间可以通过服务器200进行数据的中转,也可以直接进行终 端设备之间的数据发送和接收。在本申请的内容服务接力系统中,所有的终端设备100既可以作为发起端设备,也可以作为接力端设备。本申请以终端设备之间直接进行数据发送和接收作为示例进行方案的阐述。发起端设备为发起内容服务接力过程的终端设备,接力端设备为内容服务接力过程的目标终端设备。本申请实施例的服务器可以是AIOT(Artificial Intelligence&Internet of Things,人工智能物联网)服务器。With the development of terminal products and the improvement of people's family living standards, more and more families have multiple household terminal devices. Home devices can relay content services to each other. For example, the video playback service on the TV can be relayed to the display screen of the refrigerator, and the video playback service on the refrigerator display screen can also be relayed to the TV. The present application provides a terminal device content service relay system, as shown in FIG. 6 , a schematic diagram of a framework of the terminal device content service relay system. The system includes at least two terminal devices 100 . The terminal devices 100 are connected by communication via a local area network. Data transfer between the terminal devices 100 can be performed through the server 200, or data can be directly sent and received between the terminal devices. In the content service relay system of the present application, all terminal devices 100 can be used as initiator devices or relay device. In the present application, the solution is described by taking direct data transmission and reception between terminal devices as an example. The initiator device is a terminal device that initiates the content service relay process, and the relay end device is a target terminal device in the content service relay process. The server in the embodiment of the present application may be an AIOT (Artificial Intelligence & Internet of Things, Artificial Intelligence Internet of Things) server.
本申请实施例的内容服务接力业务场景包括两种:一种是通过按钮控件触发接力服务,另一种是语音唤醒接力服务。The content service relay service scenario in the embodiment of the present application includes two types: one is to trigger the relay service through a button control, and the other is to wake up the relay service by voice.
在一些实施例中,系统中的某台终端设备(即发起端设备)的前台正在运行第一应用的同时,根据第一应用的应用数据查找可接力设备。可接力设备为可执行第一应用的应用数据对应操作的终端设备。如果存在可接力设备,生成接力提示。该接力提示用于提示用户在同一局域网中存在可执行第一应用的应用数据对应操作的其他终端设备。In some embodiments, while the foreground of a certain terminal device in the system (that is, the initiator device) is running the first application, it searches for a relayable device according to the application data of the first application. The relayable device is a terminal device capable of performing operations corresponding to the application data of the first application. If there is a relayable device, a relay prompt is generated. The relay prompt is used to prompt the user that there is another terminal device in the same local area network that can execute the operation corresponding to the application data of the first application.
进一步,用户可根据接力提示输入服务接力指令。发起端设备接收用户输入的服务接力指令,生成接力请求,该接力请求中携带有第一应用的应用数据。发起端设备将接力请求发送至查找到的可接力设备。可接力设备根据接力请求执行第一应用的应用数据对应操作。Further, the user may input a service relay instruction according to the relay prompt. The initiator device receives the service relay instruction input by the user, and generates a relay request, and the relay request carries the application data of the first application. The initiator device sends a relay request to the found device that can be relayed. The relay-capable device executes an operation corresponding to the application data of the first application according to the relay request.
如果不存在可接力设备,则不生成接力提示,即不进行接力操作。If there is no relayable device, no relay prompt will be generated, that is, no relay operation will be performed.
在一些实施例中,如图7所示的发起端设备的用户界面示意图,基于发起端设备当前前台运行的业务应用,如果存在接力端设备,则在发起端设备的用户界面上显示接力按钮控件。下文将阐述如何判断是否存在接力端设备。这里判断是否存在接力端设备,并不需要查询所有的可接力设备。In some embodiments, as shown in the schematic diagram of the user interface of the initiating device in FIG. 7 , based on the service application currently running on the foreground of the initiating device, if there is a relay device, a relay button control is displayed on the user interface of the initiating device. . The following will explain how to determine whether there is a relay device. Here, it is judged whether there is a relay device, and it is not necessary to query all relay devices.
图7所示示例中的业务场景即为通过按钮控件触发接力服务的业务场景。用户点击用户界面中的接力按钮后,发起端设备接收用户操作,生成服务接力指令,生成的服务接力指令中携带有发起端设备的设备信息和发起端设备当前业务的业务信息。根据服务接力指令,发起端设备会查询当前发起端设备的业务,之后基于当前业务的业务信息查询可接力设备。在语音唤醒接力服务业务场景中,用户可直接输入语音,发起端设备接收用户输入的语音,同样可生成服务接力指令。发起端设备根据生成的服务接力指令,查询可接力设备,如图8所示的用户界面,显示提示语“正在寻找可执行设备”。此时发起端设备正在运行的业务可以中止也可以继续进行。查询到可接力设备之后,在发起端设备上显示可接力设备的信息。在一些实施例中,如果查询到多台可接力设备,则在用户界面上显示可接力设备列表,如图9所示的用户界面。在图9所示的用户界面中还显示有“延迟5秒播放”选项栏和“原设备继续播放”选项栏。The business scenario in the example shown in FIG. 7 is a business scenario in which the relay service is triggered through a button control. After the user clicks the relay button in the user interface, the initiator device receives the user's operation and generates a service relay command. The generated service relay command carries the device information of the initiator device and the service information of the current service of the initiator device. According to the service relay instruction, the initiator device will query the service of the current initiator device, and then query the relayable device based on the service information of the current service. In the voice wake-up relay service business scenario, the user can directly input voice, and the initiator device receives the voice input by the user, and can also generate a service relay command. The initiating device queries the relayable device according to the generated service relay command, and the user interface shown in Figure 8 displays the prompt "Looking for an executable device". At this time, the running service of the initiator device can be stopped or continued. After the device that can be relayed is found, the information of the device that can be relayed will be displayed on the initiator device. In some embodiments, if multiple devices that can be relayed are found, a list of devices that can be relayed is displayed on the user interface, such as the user interface shown in FIG. 9 . In the user interface shown in FIG. 9, there are also a "delay 5 seconds to play" option bar and a "original device to continue playing" option bar.
当用户选择可接力设备列表中的某台可接力设备,例如,选择“卧室电视”,并且同时开启“延迟5秒播放”选项栏的开关,则如图12所示,在发起端设备的用户界面上显示提示语“即将推送到卧室电视”和倒计时对话框。倒计时对话框包括返回按钮,用户可通过点击返回按钮在5秒倒计时之前取消接力。When the user selects a relayable device in the relayable device list, for example, selects "Bedroom TV", and at the same time turns on the switch of the "Delay 5-second playback" option bar, as shown in Figure 12, the user on the initiator device The interface displays the prompt "soon to be pushed to the bedroom TV" and a countdown dialog box. The countdown dialog includes a back button by which the user can cancel the relay before the 5-second countdown.
另外,如图13所示的接力端设备的用户界面上,即被推送的设备“卧室电视”的用户界面上也显示提示语“即将从XX设备接收推送”和倒计时对话框。其中,XX设备为发起端设备。接力端设备的用户界面上显示的倒计时对话框上包括返回按钮和确定按钮。如果用户在接力端设备的用户界面上点击返回按钮,则取消接力。如果用户在接力端设备的用户界面上点击确定按钮,则确定接力。In addition, on the user interface of the relay device as shown in FIG. 13 , that is, the user interface of the pushed device "bedroom TV" also displays a prompt saying "receiving push from XX device soon" and a countdown dialog box. Among them, XX device is the initiator device. The countdown dialog box displayed on the user interface of the relay device includes a return button and an OK button. If the user clicks the back button on the user interface of the relay device, the relay is cancelled. If the user clicks a confirmation button on the user interface of the relay terminal device, the relay is confirmed.
确定接力之后,如图14所示,在发起端设备的用户界面上显示提示语“已接力至卧室电视”,同时发起端设备的用户界面跳转回进行接力业务内容之前的界面。如图15所示,在接力端设备的用户界面上显示提示语“已接力XX设备的内容”,同时接力端设备的用户界面开始进行接力业务内容,例如播放视频。After the relay is determined, as shown in Figure 14, the user interface of the initiating device displays the prompt "relayed to the bedroom TV", and at the same time, the user interface of the initiating device jumps back to the interface before the relay business content. As shown in FIG. 15 , the user interface of the relay device displays the prompt "The content of XX device has been relayed", and at the same time, the user interface of the relay device starts relaying business content, such as playing a video.
在通过按钮控件触发接力服务的服务接力业务场景中,如图16所示,上述实施例的业务流程包括:In the service relay business scenario where the relay service is triggered by a button control, as shown in FIG. 16 , the business process of the above embodiment includes:
A1:发起端设备的业务应用向统一接力服务应用注册业务应用的接力能力,并由统一接力服务应用控制接力过程中的场景和数据的传递。发起端设备系统进入到接力业务场景之后(进入接力业务场景可以是用户界面进入特定的页面,例如视频播放应用从主页面进入视频播放页面。视频播放页面中设置有接力按钮控件。)用户点击用户界面中的接力按钮后,发起端设备接收用户操作,生成服务接力指令。统一接力服务应用可以根据用户输入的操作判断当前的接力业务场景。A1: The business application of the initiator device registers the relay capability of the business application with the unified relay service application, and the unified relay service application controls the transfer of scenarios and data during the relay process. After the initiating device system enters the relay business scene (entering the relay business scene can be the user interface enters a specific page, for example, the video playback application enters the video playback page from the main page. A relay button control is set in the video playback page.) The user clicks the user After the relay button in the interface, the initiator device receives the user operation and generates a service relay command. The unified relay service application can judge the current relay business scenario according to the operation input by the user.
A2:统一接力服务应用接收到服务接力指令后,携带业务信息(发起端设备当前前台运行的业务应用的信息)去AIOT服务器查询当前账号(可以是用户事先在接力服务平台上注册的账号,之后用户再在同一账号下绑定终端设备)下,可接力当前业务的接力端设备。A2: After the unified relay service application receives the service relay command, it carries the business information (the information of the business application currently running on the foreground of the initiator device) to the AIOT server to query the current account (it can be the account registered by the user on the relay service platform in advance, and then The user can then bind the terminal device under the same account), and can relay the relay terminal device of the current business.
A3:AIOT服务器根据当前业务及当前账号下的所有设备的状态(仅返回在线的设备,不返回离线设备),返回当前账号下支持当前业务接力的接力端设备列表。A3: According to the current service and the status of all devices under the current account (only online devices are returned, not offline devices), the AIOT server returns a list of relay end devices under the current account that support current business relay.
接力端设备列表的形成过程为:AIOT服务器中事先存储有所有终端设备的设备能力。当AIOT服务器接收到发起端设备的当前业务的业务信息时,遍历存储的设备能力,查找出与当前业务的业务信息匹配的设备能力,如果匹配,则确定为可接力设备。将所有的可接力设备以列表形式列出,即为接力端设备列表。如果可接力设备只有一台,则接力端设备列表中列出的终端设备也只有一台。如果可接力设备有多台,则接力端设备列表中列出的终端设备也为多台。The formation process of the relay terminal equipment list is as follows: the equipment capabilities of all terminal equipment are stored in the AIOT server in advance. When the AIOT server receives the service information of the current service of the initiator device, it traverses the stored device capabilities to find out the device capabilities that match the service information of the current service, and if it matches, it is determined to be a relayable device. List all the devices that can be relayed in the form of a list, which is the list of devices on the relay side. If there is only one relay device, there is only one terminal device listed in the relay device list. If there are multiple devices that can be relayed, there are also multiple terminal devices listed in the relay device list.
A4:统一接力服务应用接收到返回数据(包括设备ID、设备名称等数据)后,根据返回数据进行接力端设备列表的展示,供用户进行选择。A4: After the unified relay service application receives the returned data (including device ID, device name and other data), it will display the list of relay end devices according to the returned data for users to choose.
A5:用户选择设备后,会将被选择设备的设备信息传递到统一接力服务应用。(主要传递的设备信息为设备ID,用于标明用户选择的接力端设备)A5: After the user selects a device, the device information of the selected device will be transmitted to the unified relay service application. (The device information mainly transmitted is the device ID, which is used to indicate the relay terminal device selected by the user)
A6:统一接力服务搜集当前业务的业务信息和被选择设备的设备信息,将所有信息组装后,传递给AIOT服务器。A6: The unified relay service collects the business information of the current business and the equipment information of the selected equipment, assembles all the information, and transmits it to the AIOT server.
A7:AIOT服务器接收上述组装的信息后,对信息进行解析。再根据设备信息将业务信息(需要接力的内容信息)传递给目标设备,即传递给用户选择的接力端设备。A7: After receiving the assembled information above, the AIOT server analyzes the information. Then, according to the device information, the service information (content information that needs to be relayed) is transmitted to the target device, that is, to the relay terminal device selected by the user.
A8:接力端设备接收到接力的内容信息后,根据该内容信息执行相应的接力动作,其中,接力动作的发起方为接力端设备的统一接力服务应用,接力动作的执行方为具有相应功能的应用。A8: After receiving the content information of the relay, the relay device executes the corresponding relay action according to the content information. The initiator of the relay action is the unified relay service application of the relay device, and the implementer of the relay action is the application.
A9:接力端设备执行接力动作后,接力端设备的统一接力服务应用将接力执行结果再通过AIOT服务器反馈至发起端设备。A9: After the relay end device performs the relay action, the unified relay service application of the relay end device will feed back the relay execution result to the initiator device through the AIOT server.
A10:发起端设备接收接力执行结果,根据接力执行结果向用户展示不同的接力状态。例如,接力端设备成功执行接力动作,则展示接力成功状态。如果接力端设备还未成功执行接力动作,而是等待接力倒计时,则展示开始接力倒计时状态。A10: The initiator device receives the relay execution result, and displays different relay states to the user according to the relay execution result. For example, if the relay end device successfully performs the relay action, it will display the relay success status. If the relay end device has not successfully performed the relay action, but is waiting for the relay countdown, it will display the state of starting the relay countdown.
在通过语音唤醒接力服务的业务场景中,如图16所示,上述实施例的业务流程包括:In the business scenario of waking up the relay service by voice, as shown in FIG. 16 , the business process of the above embodiment includes:
B1:该步骤为语音识别过程。语音应用采集到用户输入的语音信号之后,将语音信号发送至语音服务器,由语音服务器对语音信号进行语义解析,即从语音信号中识别用户意图。B1: This step is a speech recognition process. After the voice application collects the voice signal input by the user, it sends the voice signal to the voice server, and the voice server performs semantic analysis on the voice signal, that is, recognizes the user's intention from the voice signal.
B2:语音服务器从语音信号中识别用户意图为接力服务后,调用AIOT服务器查询可接力设备(调用AIOT服务器时,语音服务器向AIOT服务器发送调用请求,调用请求携带用于查询可接力设备的业务信息)。B2: After the voice server recognizes the user's intention as a relay service from the voice signal, it calls the AIOT server to query the relayable equipment (when calling the AIOT server, the voice server sends a call request to the AIOT server, and the call request carries business information for querying the relayable device ).
B3:AIOT服务器接收到调用请求后,根据业务信息查询当前账号下,可接力当前业务的接力端设备。并将查询到的可接力设备的设备信息反馈至语音服务器。B3: After receiving the call request, the AIOT server queries the relay end device under the current account according to the business information that can relay the current business. And feed back the equipment information of the equipment that can be relayed to the voice server.
语音服务器可以只用于从语音信号中识别用户意图,之后将用户意图反馈至统一服务接力应用。之 后再由统一服务接力应用与AIOT服务器进行交互。本申请一些实施例通过语音服务器转发数据,能够缩短链路,提升系统反应速度。The voice server can only be used to identify the user's intention from the voice signal, and then feed back the user's intention to the unified service relay application. Afterwards, the unified service relay application interacts with the AIOT server. Some embodiments of the present application forward data through the voice server, which can shorten the link and improve the system response speed.
B4:语音服务器将从AIOT服务器查询到的设备信息返回至语音应用。B4: The voice server returns the device information queried from the AIOT server to the voice application.
B5:语音应用调用统一接力服务应用的接口,将语音识别到的信息和获取的设备信息传递给统一接力服务应用。语音识别的信息可以包括接力服务指令,设备信息包括设备ID。B5: The voice application calls the interface of the unified relay service application, and transmits the information recognized by the voice and the obtained device information to the unified relay service application. The voice recognition information may include a relay service instruction, and the device information includes a device ID.
B6:统一接力服务应用接收到接力端设备的设备信息后,结合业务信息,将以上信息(包括业务信息、设备信息、接力服务指令等)传递给AIOT服务器。可以是接力服务指令携带业务信息。B6: After receiving the device information of the relay terminal device, the unified relay service application combines the business information and transmits the above information (including business information, device information, relay service instructions, etc.) to the AIOT server. It may be that the relay service instruction carries service information.
B7:AIOT服务器将业务信息和服务接力指令发送至与设备信息对应的接力端设备。B7: The AIOT server sends the business information and service relay instructions to the relay end device corresponding to the device information.
B8:接力端设备的统一接力服务应用接到接力服务指令后,根据接力服务指令携带的业务信息,执行相应的接力动作,其中,接力动作与发起端设备当前业务应用的内容一致。B8: After receiving the relay service instruction, the unified relay service application of the relay terminal device executes the corresponding relay action according to the business information carried in the relay service command, wherein the relay action is consistent with the content of the current service application of the initiator device.
B9:接力端设备执行接力动作后,接力端设备的统一接力服务应用将接力执行结果再通过AIOT服务器反馈至发起端设备。B9: After the relay end device performs the relay action, the unified relay service application of the relay end device will feed back the relay execution result to the initiator device through the AIOT server.
B10:发起端设备接收接力执行结果,根据接力执行结果向用户展示不同的接力状态。例如,接力端设备成功执行接力动作,则展示接力成功状态。如果接力端设备还未成功执行接力动作,而是等待接力倒计时,则展示开始接力倒计时状态。B10: The initiator device receives the relay execution result, and displays different relay states to the user according to the relay execution result. For example, if the relay end device successfully performs the relay action, it will display the relay success status. If the relay end device has not successfully performed the relay action, but is waiting for the relay countdown, it will display the state of starting the relay countdown.
内容服务接力过程通常是用户在发起端设备上选择目标设备即接力端设备,确定触发接力后,由发起端设备向接力端设备发送服务接力指令。接力端设备再根据服务接力指令执行接力操作。The content service relay process is usually that the user selects the target device on the initiator device, that is, the relay device. After the relay is determined to be triggered, the initiator device sends a service relay command to the relay device. The relay terminal device then executes the relay operation according to the service relay command.
用户在发起端设备上选择接力端设备之前,需要将发起端设备和接力端设备进行设备匹配。而设备匹配是基于各个终端设备的业务能力。在一些实施例中,业务能力对应于终端设备上安装的应用的业务参数。例如,显示设备安装有视频播放应用,则具有的业务能力为视频播放能力。音箱安装有音频播放应用,则具有的业务能力为音频播放能力。平板电脑安装有视频通话应用,则具有的业务能力为视频通话能力。Before the user selects the relay device on the initiator device, the initiator device and the relay device need to be matched. Device matching is based on the service capabilities of each terminal device. In some embodiments, the service capability corresponds to a service parameter of an application installed on the terminal device. For example, if a video playback application is installed on a display device, the service capability it has is a video playback capability. If the speaker is installed with an audio playback application, the service capability it has is the audio playback capability. If the tablet computer is installed with a video call application, the business capability it has is the video call capability.
在一些实施例中,终端设备都存储有在同一局域网内的其他终端设备的业务能力信息。可以是终端设备开机后自动向其他终端设备发送的能力信息注册请求,该能力信息注册请求携带有该终端设备的业务能力信息。其他终端设备根据能力信息注册请求,存储该终端设备的业务能力信息。In some embodiments, all terminal devices store service capability information of other terminal devices in the same local area network. It may be a capability information registration request automatically sent to other terminal devices after the terminal device is turned on, and the capability information registration request carries the service capability information of the terminal device. Other terminal devices store the service capability information of the terminal device according to the capability information registration request.
例如,同一局域网中包括终端设备A、B、C三台设备,经过能力信息注册的过程之后,在终端设备A内存储有终端设备B的业务能力信息列表(b1、b2…bn)和终端设备C的业务能力信息列表(c1、c2…cn)。在终端设备B内存储有终端设备A的业务能力信息列表(a1、a2…an),终端设备C的业务能力信息列表(c1、c2…cn)。在终端设备C内存储有终端设备A的业务能力信息列表(a1、a2…an)和终端设备B的业务能力信息列表(b1、b2…bn)。For example, the same local area network includes three devices, terminal devices A, B, and C. After the process of capability information registration, the service capability information list (b1, b2...bn) of terminal device B and terminal device A are stored in terminal device A. C's service capability information list (c1, c2...cn). The service capability information list (a1, a2...an) of the terminal device A and the service capability information list (c1, c2...cn) of the terminal device C are stored in the terminal device B. The service capability information list (a1, a2...an) of the terminal device A and the service capability information list (b1, b2...bn) of the terminal device B are stored in the terminal device C.
各终端设备可以将本机的业务能力信息上报至服务器,也可以直接发送至其他终端设备。本申请一些实施例以终端设备将本机的业务能力信息上报至服务器为实例,对终端设备的业务能力信息上报进行详细的阐述。Each terminal device can report its own business capability information to the server, or directly send it to other terminal devices. In some embodiments of the present application, the report of the service capability information of the terminal device is described in detail by taking the terminal device reporting the service capability information of the terminal device to the server as an example.
终端设备可以向服务器上报业务能力信息,服务器可以是AIOT系统,也可以是能力管理系统。可以是终端设备系统启动时自动向服务器发送业务能力信息注册请求,该能力信息注册请求携带有该终端设备的业务能力信息,从而实现业务能力信息的上报。也可以是终端设备之间互相上报业务能力信息,终端设备之间互相上报业务能力信息的过程本申请不作详细的阐述。The terminal device can report service capability information to the server, and the server can be an AIOT system or a capability management system. It may be that the terminal device automatically sends a service capability information registration request to the server when the system is started, and the capability information registration request carries the service capability information of the terminal device, so as to realize the reporting of the service capability information. It may also be that the terminal devices report the service capability information to each other, and the process of the terminal devices reporting the service capability information to each other will not be described in detail in this application.
例如,终端设备A、B、C三台设备上分别安装有应用(A1、A2…An)、(B1、B2…Bn)以及应用(C1、C2…Cn),经过业务能力信息上报的过程后,在服务器上保存有终端设备A的业务能力信息列 表(a1、a2…an)、终端设备B的业务能力信息列表(b1、b2…bn)以及终端设备C的业务能力信息列表(c1、c2…cn)。其中,业务能力信息列表中的业务能力信息(a1、a2…an)分别对应于应用(A1、A2…An),业务能力信息(b1、b2…bn)分别对应于应用(B1、B2…Bn),业务能力信息(c1、c2…cn)分别对应于应用(C1、C2…Cn)。For example, the three terminal devices A, B, and C are respectively installed with applications (A1, A2...An), (B1, B2...Bn) and applications (C1, C2...Cn), after the process of reporting service capability information , the service capability information list (a1, a2...an) of terminal device A, the service capability information list (b1, b2...bn) of terminal device B and the service capability information list (c1, c2...bn) of terminal device C are saved on the server. ...cn). Among them, the business capability information (a1, a2...an) in the business capability information list corresponds to the application (A1, A2...An), and the business capability information (b1, b2...bn) corresponds to the application (B1, B2...Bn ), the service capability information (c1, c2...cn) corresponds to the application (C1, C2...Cn) respectively.
在一些实施例中,当终端设备A上的A1应用在前台运行时,根据A1应用的业务参数查找与A1应用对应的业务能力信息a1匹配的业务能力信息。如果查找到与业务能力信息a1匹配的其他业务能力信息,则相应的匹配到接力端设备。如果没有查找到与业务能力信息a1匹配的其他业务能力信息,则未匹配到接力端设备。例如,业务能力信息a1与b1匹配时,则终端设备B确定为接力端设备。业务能力信息a1与c2匹配时,则终端设备C确定为接力端设备。In some embodiments, when the A1 application on the terminal device A is running in the foreground, the service capability information matching the service capability information a1 corresponding to the A1 application is searched according to the service parameters of the A1 application. If other service capability information matching the service capability information a1 is found, the corresponding relay terminal device is matched. If no other service capability information matching the service capability information a1 is found, the relay terminal device is not matched. For example, when the service capability information a1 matches b1, the terminal device B is determined to be the relay terminal device. When the service capability information a1 matches c2, the terminal device C is determined to be the relay terminal device.
在一些实施例中,终端设备上正在运行视频播放应用A1,则可以确定终端设备A在进行视频播放的功能,视频播放能力可以在终端设备A的业务能力信息列表中被标记为a1,在确定可接力的设备时,发现b1和a1相匹配,即b1表征终端设备B可以进行视频的播放,则将B作为可接力设备。再例如,终端设备上正在运行视频播放应用A1,则可以确定终端设备A在进行视频播放的功能,视频播放应用A1对应第一授权信息,可以播放对应第一授权信息的视频播放能力可以在终端设备A的业务能力信息列表中被标记为a1,在确定可接力的设备时,发现b1和a1相匹配,即b1表征终端设备B可以进行对应第一授权信息的视频的播放,则将B作为可接力设备,发现c1表征终端设备C可以进行视频的播放,但播放的视频对应第二授权信息,则将C无法作为可接力设备。In some embodiments, if the video playback application A1 is running on the terminal device, it can be determined that the terminal device A is performing a video playback function, and the video playback capability can be marked as a1 in the service capability information list of the terminal device A. After determining When the device can be relayed, it is found that b1 and a1 match, that is, b1 indicates that terminal device B can play video, and B is regarded as the device that can be relayed. For another example, if the video playback application A1 is running on the terminal device, it can be determined that the terminal device A is playing video. The video playback application A1 corresponds to the first authorization information, and the video playback capability corresponding to the first authorization information can be played on the terminal The business capability information list of device A is marked as a1. When determining the device that can be relayed, it is found that b1 and a1 match, that is, b1 indicates that terminal device B can play the video corresponding to the first authorization information, and then B will be used as For the relayable device, it is found that c1 indicates that terminal device C can play video, but the played video corresponds to the second authorization information, then C cannot be regarded as the relayable device.
终端设备上安装应用的业务参数会随着用户使用发生变化。例如,随着应用的安装或卸载,终端设备支持的业务能力也会出现增加或减少。因此,本申请一些实施例的内容服务接力过程中,需要监测终端设备上安装的应用的业务参数是否发生变化,并根据变化后的结果进行上报。以避免内容服务接力过程不是按照终端设备的实际业务能力进行的。如果内容服务接力过程不是按照终端设备的实际业务能力进行的,有可能会产生终端设备具备某项业务能力,而系统判断该终端设备不为接力端设备的情况。或者,产生终端设备不具备某条业务能力,而由于业务能力信息列表未更新,系统误判断该终端设备为接力端设备的情况。The service parameters of applications installed on terminal devices will change as users use them. For example, as applications are installed or uninstalled, service capabilities supported by the terminal device will also increase or decrease. Therefore, in the content service relay process of some embodiments of the present application, it is necessary to monitor whether the service parameters of the applications installed on the terminal device change, and report according to the changed result. In order to avoid that the content service relay process is not carried out according to the actual service capability of the terminal equipment. If the content service relay process is not carried out according to the actual service capability of the terminal device, it may happen that the terminal device has a certain service capability, but the system judges that the terminal device is not a relay terminal device. Or, the terminal device does not have a certain service capability, but because the service capability information list has not been updated, the system misjudges that the terminal device is the relay terminal device.
在一些实施例中,如果确定终端设备上安装的应用的业务参数存在变化,根据该变化生成业务能力信息更新请求。更新请求中携带表中终端新增能力或新减能力的标识信息以及终端设备的标识,并将该业务能力信息更新请求发送至服务器,服务器根据该业务能力信息更新请求中的标识信息更新对应该设备的标识的业务能力信息列表。更新的业务能力信息列表用于记录该终端设备的业务能力信息,记录的业务能力信息对应于终端设备上安装的应用的业务参数。In some embodiments, if it is determined that there is a change in the service parameter of the application installed on the terminal device, a service capability information update request is generated according to the change. The update request carries the identification information of the newly added capability or the newly reduced capability of the terminal in the table and the identifier of the terminal device, and sends the service capability information update request to the server, and the server updates the corresponding A list of service capability information of device identifiers. The updated service capability information list is used to record the service capability information of the terminal device, and the recorded service capability information corresponds to the service parameters of the applications installed on the terminal device.
如果确定终端设备上安装的应用的业务参数不存在变化,则不生成业务能力信息更新请求。因此也不需要更新服务器上的业务能力信息列表。这样,终端设备之间内容服务接力时,则是按照终端设备的实际业务能力进行的,避免出现内容服务接力过程混乱的情况。If it is determined that there is no change in the service parameters of the applications installed on the terminal device, no service capability information update request is generated. Therefore, there is no need to update the service capability information list on the server. In this way, content service relay between terminal devices is carried out according to the actual service capabilities of the terminal devices, so as to avoid confusion in the process of content service relay.
在一些实施例中,终端设备上安装的应用的业务参数存在变化时,包括几种可能的情况:应用安装、应用版本变化以及应用卸载。应用安装、应用版本变化以及应用下载都会造成应用的业务参数发生变化。终端设备上安装的应用每一次变化,都可以将变化的数据发送至其他终端设备,以使其他终端设备上存储的该终端设备的业务能力信息也进行更新。局域网内,每一台终端设备具有的业务能力,在其他终端设备上被记录为一项记录。根据应用数据查找可接力设备时,遍历这些记录,将应用数据与记录中的业务能力信息进行匹配。In some embodiments, when there is a change in the service parameter of the application installed on the terminal device, there are several possible situations: application installation, application version change, and application uninstallation. Application installation, application version changes, and application downloads will all cause changes in application business parameters. Every time the application installed on the terminal device changes, the changed data can be sent to other terminal devices, so that the service capability information of the terminal device stored on other terminal devices is also updated. In the local area network, the business capabilities of each terminal device are recorded as a record on other terminal devices. When looking for relayable devices based on application data, traverse these records and match the application data with the service capability information in the records.
例如,终端设备A上安装有应用A1和A2,则在其他终端设备上存储有终端设备A的业务能力信 息a1和a2。当终端设备A上卸载了应用A1,则终端设备A不再具有业务能力信息a1表征的业务能力。同步将其他终端设备上存储的业务能力信息a1删除。当终端设备A上新安装了应用A3,则终端设备A具有了业务能力信息a3表征的业务能力。同步在其他终端设备上添加终端设备A的新的业务能力信息a3。For example, if applications A1 and A2 are installed on terminal device A, service capability information a1 and a2 of terminal device A are stored on other terminal devices. When the application A1 is uninstalled from the terminal device A, the terminal device A no longer has the service capability represented by the service capability information a1. Synchronously delete the service capability information a1 stored on other terminal devices. When the application A3 is newly installed on the terminal device A, the terminal device A has the service capability represented by the service capability information a3. Synchronously add new service capability information a3 of terminal device A to other terminal devices.
终端设备向服务器上报业务能力信息之后,在服务器中保存有该终端设备的业务能力信息列表。例如上述示例中的,终端设备A、B、C三台设备,上报业务能力信息后,在服务器保存有与终端设备设备信息对应的业务能力信息列表:终端设备A的业务能力信息列表(a1、a2…an)、终端设备B的业务能力信息列表(b1、b2…bn)以及终端设备C的业务能力信息列表(c1、c2…cn)。如果终端设备上安装的应用发生了应用安装、应用版本变化以及应用卸载中的至少一种变化,则相应的会更改应用的业务参数。经过上述业务能力信息更新请求后,业务能力信息列表中的记录也会作相应的更改。After the terminal device reports the service capability information to the server, the server stores the service capability information list of the terminal device. For example, in the above example, after the three terminal devices A, B, and C report the service capability information, the server stores a list of service capability information corresponding to the information of the terminal device: the list of service capability information of terminal device A (a1, a2...an), the service capability information list (b1, b2...bn) of the terminal device B, and the service capability information list (c1, c2...cn) of the terminal device C. If at least one of application installation, application version change, and application uninstallation occurs to the application installed on the terminal device, the service parameters of the application will be changed accordingly. After the above service capability information update request, the records in the service capability information list will also be changed accordingly.
如果业务参数变化为应用安装,则业务能力信息更新请求为业务能力信息增加请求。相应的服务器根据该业务能力信息增加请求向业务能力信息列表中增加业务能力信息。增加的业务能力信息对应于新安装的应用的业务参数。If the service parameter change is application installation, the service capability information update request is a service capability information increase request. The corresponding server adds service capability information to the service capability information list according to the service capability information addition request. The added service capability information corresponds to service parameters of newly installed applications.
如果业务参数变化为应用版本变化,则业务能力信息更新请求为业务能力信息修改请求。相应的服务器根据该业务能力信息修改请求修改业务能力信息列表中的业务能力信息。修改的业务能力信息对应于版本变化的应用的业务参数。If the service parameter change is an application version change, the service capability information update request is a service capability information modification request. The corresponding server modifies the service capability information in the service capability information list according to the service capability information modification request. The modified service capability information corresponds to the service parameter of the application whose version changes.
如果业务参数变化为应用卸载,则业务能力信息更新请求为业务能力信息删除请求。相应的服务器根据该业务能力信息删除请求阐述业务能力信息列表中的业务能力信息。删除的业务能力信息对应于卸载的应用的业务参数。If the service parameter change is application uninstallation, the service capability information update request is a service capability information deletion request. The corresponding server elaborates the service capability information in the service capability information list according to the service capability information deletion request. The deleted service capability information corresponds to the service parameter of the uninstalled application.
在一些实施例中,当终端设备A上安装了新的应用A3,则终端设备A的业务参数变化为应用安装,终端设备A新具备了业务能力信息a3表征的业务能力。同时终端设备A向服务器发送业务能力信息增加请求,服务器接收到业务能力信息增加请求后,在终端设备A的业务能力信息列表中增加业务能力信息a3。In some embodiments, when a new application A3 is installed on the terminal device A, the service parameter of the terminal device A changes to application installation, and the terminal device A newly has the service capability represented by the service capability information a3. At the same time, terminal device A sends a service capability information addition request to the server, and the server adds service capability information a3 to the service capability information list of terminal device A after receiving the service capability information addition request.
例如,终端设备A中原先没有播放广播应用,则不具有播放广播的业务能力。服务器中保存的终端设备A的业务能力信息列表也不包括播放广播的业务能力信息。如果在终端设备A中新安装播放广播应用后,终端设备A具有了播放广播的业务能力。同时终端设备A向服务器发生业务能力信息增加请求,服务器根据该请求向终端设备A的业务能力信息列表中增加播放广播的业务能力信息。这样,终端设备之间内容服务接力时,能够根据终端设备A的实际业务能力进行。For example, if there is no broadcasting application in the terminal device A, it does not have the service capability of playing broadcasting. The service capability information list of the terminal device A stored in the server also does not include the service capability information for broadcasting. If the application for broadcasting is newly installed in terminal device A, terminal device A has the service capability of playing broadcasting. At the same time, the terminal device A sends a service capability information adding request to the server, and the server adds service capability information for broadcasting to the service capability information list of the terminal device A according to the request. In this way, when the content service is relayed between terminal devices, it can be performed according to the actual service capability of terminal device A.
当终端设备B上的应用B1版本从1.0版本升级至2.0版本,则终端设备B的业务参数变化为版本变化。1.0版本的应用B1仅支持视频业务,2.0版本的应用B1则同时支持视频业务和音频业务,并且终端设备B上安装的其它应用也不支持音频业务。因此,终端设备B的业务能力新增加了音频播放业务能力信息。同样的,服务器接收到修改业务能力信息的请求,将终端设备B的业务能力信息列表修改为包括音频播放业务能力信息。When the version of the application B1 on the terminal device B is upgraded from version 1.0 to version 2.0, the change of the service parameter of the terminal device B is a version change. Application B1 of version 1.0 only supports video services, and application B1 of version 2.0 supports both video services and audio services, and other applications installed on terminal device B do not support audio services. Therefore, the service capability information of the terminal device B is newly added with audio playback service capability information. Similarly, the server receives the request to modify the service capability information, and modifies the service capability information list of the terminal device B to include the audio playback service capability information.
当在终端设备C上卸载应用C1,则终端设备C的业务参数变化为应用卸载,终端设备C失去了业务能力c1。同样的,服务器接收到删除业务能力信息的请求,从终端设备C的业务能力信息列表中将业务能力信息c1删除。When the application C1 is uninstalled on the terminal device C, the service parameter of the terminal device C changes to application uninstallation, and the terminal device C loses the service capability c1. Similarly, the server receives the request to delete the service capability information, and deletes the service capability information c1 from the service capability information list of the terminal device C.
在一些实施例中,当前终端设备的系统启动时,控制器自动查询终端设备上安装的应用的当前业务参数与上一次保存的业务参数是否存在差异。如果当前业务参数与上一次保存的业务参数存在差异,则确定终端上应用的业务参数存在变化。终端设备在系统启动时,不仅搜集开机自启动应用的业务参数信 息,还搜集不开机自启动应用的业务参数信息。In some embodiments, when the system of the current terminal device is started, the controller automatically inquires whether there is a difference between the current service parameters of the applications installed on the terminal device and the service parameters saved last time. If there is a difference between the current service parameter and the last saved service parameter, it is determined that there is a change in the service parameter applied on the terminal. When the terminal device starts the system, it not only collects the service parameter information of the boot-up self-starting application, but also collects the service parameter information of the non-boot-up self-starting application.
例如,终端设备A上安装有应用A1和应用A2,应用A1为开机自启动应用,应用A2为开机不自启动应用。终端设备A开机时,控制器自动搜集应用A1和应用A2的当前业务参数,并与上一次保存的业务参数进行比较。应用A1当前业务参数与上一次保存的业务参数存在差异,则将差异或者当前业务参数上报至服务器,以使在服务器中更新终端设备A与应用A1相关的业务能力信息。应用A2当前业务参数与上次保存的业务参数不存在差异,则不向服务器上报相关信息。For example, an application A1 and an application A2 are installed on the terminal device A, the application A1 is an application that starts automatically when booting, and the application A2 is an application that does not start automatically when booting. When the terminal device A is turned on, the controller automatically collects the current service parameters of the application A1 and the application A2, and compares them with the service parameters saved last time. If there is a difference between the current service parameters of the application A1 and the last saved service parameters, the difference or the current service parameters are reported to the server, so that the service capability information related to the terminal device A and the application A1 is updated in the server. If there is no difference between the current service parameters of the application A2 and the last saved service parameters, no relevant information will be reported to the server.
在一些实施例中,当前终端设备启动后,如果终端设备上安装应用发生变化,则会自动向服务器发送更新的相关业务参数。例如,终端设备A上安装的应用A1,应用A1可以是在前台运行的应用,也可以是在后台运行的应用,还可以是未启动的应用。无论应用处于哪种状态,如果应用A1的业务参数发生变化,则应用A1自动将变化后的业务参数上报至服务器。如果应用A1的业务参数未发生变化,则不向服务器上报相关信息。上述业务能力信息上报方法的实现过程为:In some embodiments, after the current terminal device is started, if the application installed on the terminal device changes, the updated relevant service parameters will be automatically sent to the server. For example, the application A1 installed on the terminal device A may be an application running in the foreground, an application running in the background, or an application that has not been started. No matter which state the application is in, if the service parameters of the application A1 change, the application A1 will automatically report the changed service parameters to the server. If the service parameters of the application A1 do not change, no relevant information is reported to the server. The implementation process of the above-mentioned business capability information reporting method is as follows:
终端设备上的各个应用在终端设备上安装后,会将当前版本的业务参数写到其APK的ANDROIDMANIFEST.XML文件,并放到META-DATA属性中。而业务能力信息的上报统一由统一接力服务应用完成。终端设备首次开机时,统一接力服务应用搜集全系统业务应用的业务能力信息,搜集完成后,将搜集的所有应用的业务能力信息上报至服务器,并在本地保存一份各应用的业务能力信息记录,该业务能力信息记录与服务器中保存的业务能力信息列表一致。After each application on the terminal device is installed on the terminal device, the service parameters of the current version will be written into the ANDROIDMANIFEST.XML file of the APK, and put into the META-DATA attribute. The reporting of business capability information is completed by the unified relay service application. When the terminal device is turned on for the first time, the unified relay service application collects the business capability information of the system-wide business applications. After the collection is completed, the collected business capability information of all applications is reported to the server, and a record of the business capability information of each application is saved locally. , the business capability information record is consistent with the business capability information list stored in the server.
终端设备的业务能力信息随着业务应用的业务参数变化而变化。业务应用的业务参数变化指的是应用的安装、版本更新、卸载等变化。应用发生这些变化时会向统一接力服务应用发送更新广播。统一接力服务应用接收到更新广播后,对发出更新广播的应用的业务参数重新搜集,并根据重新搜集的业务参数生成业务能力信息更新请求。统一接力服务应用将业务能力信息更新请求上报至服务器。服务器根据业务能力信息更新请求更新终端设备的业务能力信息列表。由于并不是所有的应用都是开启自启动应用,因此利用统一接力服务应用搜集各个应用业务参数,并根据业务参数统一向服务器上报业务能力信息,能够监测到终端设备上所有应用的更新变化情况。The service capability information of the terminal equipment changes as the service parameters of the service application change. Changes in service parameters of a service application refer to changes such as application installation, version update, and uninstallation. When these changes occur in the application, an update broadcast will be sent to the unified relay service application. After receiving the update broadcast, the unified relay service application re-collects the service parameters of the application that sent the update broadcast, and generates a service capability information update request according to the re-collected service parameters. The unified relay service application reports the service capability information update request to the server. The server updates the service capability information list of the terminal device according to the service capability information update request. Since not all applications are self-starting applications, the unified relay service application is used to collect the business parameters of each application, and uniformly report the business capability information to the server according to the business parameters, so as to monitor the updates and changes of all applications on the terminal device.
在一些实施例中,统一接力服务应用还搜集虽然卸载了、但是未清除数据应用的业务参数。例如,终端设备A上的应用A1虽然卸载了、但是未清除数据,那么终端设备B为发起端设备时,可以查询到应用A1,表示可以使得终端设备A具有业务能力信息a1表征的业务能力,而业务能力信息a1与终端设备B的前台运行的应用B1的业务参数匹配,则可以在终端设备A上弹出提示语,提示用户安装应用A1,使得终端设备A能够作为接力端设备,完成接力。这样,能够提高内容服务接力的成功率,进一步提升用户体验。In some embodiments, the unified relay service application also collects service parameters of applications that have been uninstalled but whose data has not been cleared. For example, although the application A1 on the terminal device A has been uninstalled, but the data has not been cleared, then when the terminal device B is the initiator device, the application A1 can be queried, indicating that the terminal device A can have the service capability represented by the service capability information a1, If the service capability information a1 matches the service parameters of the application B1 running in the foreground of the terminal device B, a prompt can be popped up on the terminal device A to prompt the user to install the application A1, so that the terminal device A can serve as the relay end device and complete the relay. In this way, the success rate of content service relay can be improved, and user experience can be further improved.
本申请一些实施例利用统一接力服务应用,统一搜集各个应用的参数。系统启动后,统一接力服务应用查询系统中所有的应用的信息,查询到后对所有的应用的信息进行存储。如果系统为刚启动的状态,则会重新开始一次全面查询应用信息的过程,如果本次查询的应用信息与上次保存的应用信息不同,则表示该应用发生变化。如果系统为保持启动的状态,当应用发生变化时,发生变化的应用自动向统一接力服务应用发送相应的广播。Some embodiments of the present application use a unified relay service application to uniformly collect parameters of each application. After the system is started, the unified relay service application queries the information of all applications in the system, and stores the information of all applications after querying. If the system is just started, it will restart the process of comprehensively querying the application information. If the application information queried this time is different from the application information saved last time, it means that the application has changed. If the system is kept on, when the application changes, the changed application will automatically send a corresponding broadcast to the unified relay service application.
在一些实施例中,服务端在终端设备的业务能力信息列表发生变化后,确定在变化前的预设时长内是否有给发起接力的终端反馈过可接力的终端设备,如果,反馈过,则重新反馈,反之则不重新反馈。这种情形主要是,在上次触发接力后的预设时长内,可接力设备所支持的能力新增或删除,可能是用户意图使用或不使用该可接力设备去执行当前进行的接力操作。因此通过主动提示更新后的可接力设备,可以方便用户的选择。在上次触发接力后的预设时长后,用户改变接力设备所支持的能力的操作和上一 次接力操作的关联性弱,可以不进行提醒变化后的可接力设备。In some embodiments, after the service capability information list of the terminal device is changed, the server determines whether there is any terminal device that can be relayed back to the terminal that initiates the relay within the preset time period before the change, and if so, then Re-feedback, otherwise no re-feedback. This situation is mainly due to the addition or deletion of the capabilities supported by the relayable device within the preset time period after the relay is triggered last time, and it may be that the user intends to use or not use the relayable device to perform the current relay operation. Therefore, it is convenient for the user to choose by proactively prompting the updated relayable device. After the preset time period after the last triggering of the relay, the user's operation to change the capability supported by the relay device is weakly related to the last relay operation, and the device that can be relayed after the change may not be reminded.
在一些实施例中,反馈更新后的可接力设备前,服务端还需要判定进行更新的应用,是否是用户上一次接力使用的应用,如果是则进行反馈,否则,则不反馈。这种情况下,上一次接力使用的应用是特定的应用,如果变化的不相关的应用,则和上一次接力的实现关联较弱,可以不进行提醒变化。如果是使用的应用进行了升级或降级,则和上一次接力的实现关联较强,需要进行变化的提醒。在一些实施例中,如果终端设备A中的A应用的V1版本不支持第一能力,终端设备B中的A应用的V2版本支持第一能力,因此在上一次接力过程中,终端设备B被作为可接力设备,反馈给了发起接力的终端。在终端设备A中的A应用从V1版本升级到V2版本时,终端设备A也可以作为可接力设备。这样可以将更新后的可接力设备的重新发送。在终端设备A中新增了C应用时,和上一次接力的实现关联较弱,可以不进行提醒变化。In some embodiments, before feeding back the updated device that can be relayed, the server needs to determine whether the updated application is the one that the user relayed last time, and if so, feedback is given; otherwise, no feedback is given. In this case, the application used in the last relay is a specific application. If the changed application is irrelevant, it is weakly related to the implementation of the last relay, and there is no need to remind the change. If the application being used has been upgraded or downgraded, it is strongly related to the implementation of the last relay, and a reminder of the change is required. In some embodiments, if the V1 version of the A application in the terminal device A does not support the first capability, the V2 version of the A application in the terminal device B supports the first capability, so in the last relay process, the terminal device B was As a relay-able device, it is fed back to the terminal that initiates the relay. When the A application in terminal device A is upgraded from version V1 to version V2, terminal device A can also be used as a relayable device. This enables the resend of the updated relayable device. When the application C is added to the terminal device A, it is weakly related to the realization of the last relay, and the reminder change may not be performed.
在一些实施例中,反馈更新后的可接力设备前,服务端还需要判定进行更新的能力,是否是用户上一次接力使用的能力相关,如果是则进行反馈,否则,则不反馈。In some embodiments, before feeding back the updated relay-capable device, the server needs to determine whether the updated capability is related to the capability of the user's last relay use, and if so, feedback is given; otherwise, no feedback is given.
在一些实施例中,反馈更新后的可接力设备前,服务端还需要判定更新后变化的能力,是否是用户上一次接力使用的能力,如果是则进行反馈,否则,则不反馈。这种情况下,上一次接力使用的应用是特定的能力,如果变化的不相关的能力,则和上一次接力的实现关联较弱,可以不进行提醒变化。如果是出现了相关能力的新增和减少,则和上一次接力的实现关联较强,需要进行变化的提醒。在一些实施例中,如果终端设备A中的A应用不支持第一能力,终端设备B中的B应用支持第一能力,因此在上一次接力过程中,终端设备B被作为可接力设备,反馈给了发起接力的终端。在终端设备A安装了B应用新增了第一能力,终端设备A也可以作为可接力设备。这样可以将更新后的可接力设备的重新发送。如果终端设备A安装了C应用新增了第二能力,终端设备仍无法作为可接力设备。这样可以不将更新后的可接力设备的重新发送。In some embodiments, before feeding back the updated device that can be relayed, the server needs to determine whether the capability changed after the update is the capability used by the user last time. If so, feedback is given; otherwise, no feedback is given. In this case, the application used in the last relay is a specific ability, and if the changed irrelevant ability is weakly related to the realization of the last relay, it is not necessary to remind the change. If there is an increase or decrease of relevant capabilities, it is strongly related to the realization of the last relay, and a reminder of the change is required. In some embodiments, if the A application in the terminal device A does not support the first capability, the B application in the terminal device B supports the first capability. Therefore, in the last relay process, the terminal device B was used as a relay capable device, and the feedback To the terminal that initiated the relay. The application B is installed on the terminal device A to add the first capability, and the terminal device A can also be used as a relayable device. This enables the resend of the updated relayable device. If terminal device A installs application C and adds a second capability, the terminal device still cannot be used as a relayable device. In this way, it is possible not to resend the updated relayable device.
在一些实施例中,接收更新后的可接力设备的终端可以是发起第一次接力的第一终端。以便于用户通过第一终端确定是否要进行接力设备的切换。In some embodiments, the terminal receiving the updated relay capable device may be the first terminal that initiates the first relay. It is convenient for the user to determine whether to switch the relay device through the first terminal.
在一些实施例中,接收更新后的可接力设备的终端可以是接收第一次接力的第二终端。这是考虑到第一终端可能已经脱离用户的使用,如休眠,关机等,第二终端正在被用户使用。因此,选在第二终端显示,以便于用户通过第二终端确定是否要进行接力设备的切换。In some embodiments, the terminal receiving the updated relay capable device may be the second terminal receiving the first relay. This is considering that the first terminal may have been out of use by the user, such as dormant, powered off, etc., and the second terminal is being used by the user. Therefore, it is selected to be displayed on the second terminal, so that the user can determine whether to switch the relay device through the second terminal.
和DLNA不同,由于DLNA是在用户发起后进行终端的发现,设备发现和用户操作时间上是强关联的,无需去预先设置可支持投屏的列表。Unlike DLNA, since DLNA discovers terminals after the user initiates them, device discovery and user operation time are strongly correlated, and there is no need to pre-set a list that supports screen projection.
本申请的一些实施例中,由于可接力设备的提醒是自动的提醒,在用户进行投屏前进行提醒,且可接力的设备不一定处于同一局域网,因此通过业务能力信息列表管理终端所支持的能力会更方便功能的实现。In some embodiments of the present application, since the reminder of the device that can be relayed is an automatic reminder, it is reminded before the user performs screen projection, and the device that can be relayed is not necessarily in the same local area network, so through the business capability information list management terminal supported Capabilities will facilitate the realization of functions.
经过上述业务能力信息上报过程,服务器中存储有各个终端设备的业务能力信息。这个业务能力信息可以用于在接收到接力请求后,为发起方展示可响应接力的设备列表。After the above process of reporting service capability information, the server stores service capability information of each terminal device. This service capability information can be used to display a list of devices that can respond to the relay for the initiator after receiving the relay request.
本申请一些实施例,具备接力服务功能的应用在前台运行,并且当前页面进入需要进行接力服务操作的特定页面时,会自动查询可接力设备。如果在前台运行的应用不具备接力服务功能,或者,虽然前台运行的应用具备接力服务功能,但是当前页面并未进入上可能需要进行接力服务操作的特定页面,则不自动查询可接力设备。In some embodiments of the present application, the application with the relay service function runs in the foreground, and when the current page enters a specific page requiring relay service operations, it will automatically query the relay-capable devices. If the application running in the foreground does not have the relay service function, or, although the application running in the foreground has the relay service function, but the current page does not enter a specific page that may need to perform relay service operations, then the device that can be relayed will not be automatically queried.
在一些实施例中,系统中的某台终端设备(即发起端设备)的前台正在运行应用的同时,根据该应用的应用数据查找接力端设备,即为设备的匹配过程。在接力服务操作的过程中,虽然终端设备之间可 以之间进行接力,但是本申请一些实施例是通过服务器进行接力服务操作。In some embodiments, while the foreground of a terminal device in the system (that is, the initiator device) is running an application, it searches for the relay device according to the application data of the application, which is the device matching process. In the process of relay service operation, although relay can be performed between terminal devices, some embodiments of the present application use a server to perform relay service operation.
在一种场景中,如图17所示的应用场景图,发起端设备为显示设备100-1,正在前台运行的应用为视频播放应用。则当前场景为显示设备的视频播放应用正在播放视频,该应用的应用数据即为播放视频相关数据。系统中还存在显示设备100-2、音箱100-3以及闹钟100-4等终端设备。在显示100-1中事先存储有显示设备100-2、音箱100-3以及闹钟100-4等终端设备的业务能力信息。In one scenario, as shown in the application scenario diagram of FIG. 17 , the initiator device is a display device 100 - 1 , and the application running in the foreground is a video playback application. Then the current scene is that the video playing application of the display device is playing the video, and the application data of the application is the data related to playing the video. There are also terminal devices such as a display device 100-2, a speaker 100-3, and an alarm clock 100-4 in the system. Service capability information of terminal devices such as the display device 100-2, the speaker 100-3, and the alarm clock 100-4 are stored in advance in the display 100-1.
其中,显示设备100-2的业务能力为播放视频和播放音频,音箱100-3的业务能力为播放音频,闹钟100-4的业务能力为闹钟提醒。显示设备100-1上的视频播放应用在前台运行后,在服务器中查找可执行播放视频操作的终端设备。此时应用数据为播放视频,则根据应用数据播放视频遍历存储的业务能力信息。最终查找到显示设备100-2的业务能力为播放视频,与当前应用数据匹配,则将显示设备100-2确定为接力端设备。Among them, the service capability of the display device 100-2 is to play video and play audio, the service capability of the speaker 100-3 is to play audio, and the service capability of the alarm clock 100-4 is an alarm clock reminder. After the video playing application on the display device 100-1 runs in the foreground, it searches the server for a terminal device capable of playing video. At this time, the application data is playing video, and the stored service capability information is traversed according to the application data playing video. Finally, if it is found that the service capability of the display device 100-2 is to play video and matches the current application data, the display device 100-2 is determined as the relay terminal device.
在一些实施例中,发起端设备在查找可接力设备时,不仅需要判断其他终端设备的业务能力信息是否与第一应用的应用数据匹配。还需要接收其他终端设备的在线信息。如果某台终端设备的业务能力信息与第一应用的应用数据匹配,但是该终端设备的状态为不在线,则不能将该终端设备确定为可接力设备。In some embodiments, when the initiating device searches for the relayable device, it not only needs to determine whether the service capability information of other terminal devices matches the application data of the first application. It is also necessary to receive online information of other terminal devices. If the service capability information of a certain terminal device matches the application data of the first application, but the state of the terminal device is offline, the terminal device cannot be determined as a relay-capable device.
接力服务可以有两种业务场景:按钮触发接力服务的场景和通过语音唤起接力服务的场景。在语音唤起接力服务的场景中,如果用户输入的语音信号包括明确的接力设备,则可将内容服务接力到该接力设备上进行。如果用户输入的语音信号不包括明确的接力设备,系统只能返回可接力的设备列表,用户需要在可接力设备列表中手动选择接力设备才能实现内容服务接力的目的,造成用户的使用体验较差。The relay service can have two business scenarios: the scenario where the button triggers the relay service and the scenario where the relay service is invoked by voice. In the scenario of voice-activated relay service, if the voice signal input by the user includes a specific relay device, the content service may be relayed to the relay device. If the voice signal input by the user does not include a specific relay device, the system can only return a list of devices that can be relayed, and the user needs to manually select a relay device in the list of devices that can be relayed to achieve the purpose of relaying content services, resulting in poor user experience .
设备能力,是指设备所支持的功能,例如音视频播放,音频播放,温度控制,照明灯的开关,洗衣机的运转等等。本申请中服务器端根据设备能力来进行可接力设备的筛选和反馈。和相关技术中的语音控制是不同的。现在使用的语音控制中,可以对应单设备,但在对应多设备时,需要用户明确操控的设备,例如:显示设备音量加、空调关闭、等等。以音箱为例。音箱会解析出指定的设备名称,然后根据设备名称去进行设备的控制。在对应多设备时,如果仅仅说音量加,则会难以确定调整的对象,或者只调整音箱(默认设置)本身。Device capability refers to the functions supported by the device, such as audio and video playback, audio playback, temperature control, lighting switch, washing machine operation, and so on. In this application, the server side performs screening and feedback of relayable devices according to device capabilities. It is different from the voice control in the related art. In the current voice control, it can correspond to a single device, but when it corresponds to multiple devices, the device needs to be explicitly controlled by the user, for example: increase the volume of the display device, turn off the air conditioner, and so on. Take speakers as an example. The speaker will parse out the specified device name, and then control the device according to the device name. When corresponding to multiple devices, if you only say volume up, it will be difficult to determine the object of adjustment, or only adjust the speaker (default setting) itself.
在本申请的一些实施例中,在语音唤起接力服务的场景中,终端设备可以包括声音采集器,声音采集器用于采集用户输入的语音信号。采集到用户输入的语音信号后,将语音信号发送至语音识别服务器,使得从语音信号中识别出语音文本。从语音信号中识别出语音文本可以采用常规技术,语音识别的过程本申请不作详细的阐述。In some embodiments of the present application, in a voice-activated relay service scenario, the terminal device may include a sound collector, and the sound collector is configured to collect a voice signal input by a user. After the voice signal input by the user is collected, the voice signal is sent to the voice recognition server, so that the voice text can be recognized from the voice signal. Conventional technology may be used to recognize the speech text from the speech signal, and the process of speech recognition will not be described in detail in this application.
在一些实施例中,如果语音文本中包括设备信息,则根据设备信息确定接力设备。设备信息指向唯一的接力设备。因此可以根据语音文本确定唯一的接力设备。设备信息可以是设备的位置信息、设备ID、设备名称、设备类型、设备能力等中的任意一种。确定唯一的接力设备后,将终端设备与该接力设备建立接力关系,从而完成设备的匹配过程,可以进一步进行内容服务接力的过程。In some embodiments, if the voice text includes device information, the relay device is determined according to the device information. The device information points to the only relay device. A unique relay device can thus be determined from the voice text. The device information may be any of device location information, device ID, device name, device type, device capability, and the like. After the unique relay device is determined, a relay relationship is established between the terminal device and the relay device, so as to complete the device matching process and further carry out the content service relay process.
在一些实施例中,上述过程可以有服务器实现,也可以由终端设备本身实现。在一些实施例中上述语音服务器可以是服务器中的一部分,也可以是独立的。In some embodiments, the above process may be implemented by a server, or by the terminal device itself. In some embodiments, the voice server mentioned above can be a part of the server, or it can be independent.
在一些实施例中,服务器可以根据语音文本解析出语音指令所需要的能力,然后根据确定出的能力来确定接力设备。例如。“送风”的语音指令可以解析出“送风”的能力,而对应“送风”能力的可以由空调,新风机,风扇等。“启动漂洗功能”可以解析出“漂洗”能力,而对应“漂洗”能力的可以有洗衣机,洗碗机等。对于“音量加”,可以解析出“声音调整”能力,而对应“声音调整”能力的可以有电视机,音箱,冰箱屏等。对于“开始扫地”,可以解析出“扫地”能力,而对应“扫地”能力的可以只有扫地机器人。In some embodiments, the server may analyze the capability required by the voice command according to the voice text, and then determine the relay device according to the determined capability. For example. The voice command of "supply air" can analyze the ability of "supply air", and the corresponding "supply air" capability can be air conditioner, fresh air fan, fan, etc. "Start rinsing function" can analyze the "rinsing" ability, and the corresponding "rinsing" ability can include washing machines, dishwashers, etc. For "volume plus", the ability of "sound adjustment" can be analyzed, and the corresponding "sound adjustment" ability can include TV sets, speakers, refrigerator screens, etc. For "start sweeping the floor", the "sweeping" ability can be analyzed, and the corresponding "sweeping" ability can only be the sweeping robot.
如果语音文本中只包括设备类型信息,根据设备类型信息不能够确定唯一的接力设备,只能确定至少两台接力端设备。之后根据这些接力端设备的接力维度信息和发起端设备的发起维度信息之间的关系从这些接力端设备中确定最终的接力设备。例如,语音文本只包括“电视机”,根据该语音文本可能确定出多台接力端设备。之后根据多台电视机的接力维度信息和发起端设备的发起维度信息确定最终接力的电视机为发起端设备的发起维度信息相同的电视机。这样,即使用户输入的语音信号不包括明确的接力设备,系统也可以自动确定出最终的接力设备以实现内容服务接力的目的,而不需要用户手动选择接力设备,从而提升用户使用体验。If only the device type information is included in the voice text, the only relay device cannot be determined based on the device type information, only at least two relay end devices can be determined. Then, the final relay device is determined from the relay devices according to the relationship between the relay dimension information of the relay devices and the originating dimension information of the initiator device. For example, the voice text only includes "television", and multiple relay devices may be determined according to the voice text. Then, according to the relay dimension information of multiple televisions and the originating dimension information of the initiating device, it is determined that the final relayed TV is a TV having the same initiating dimension information of the initiating device. In this way, even if the voice signal input by the user does not include a clear relay device, the system can automatically determine the final relay device to achieve the purpose of content service relay, without requiring the user to manually select the relay device, thereby improving user experience.
在一些场景中有可能接力端设备只有一台,则不需要再比对接力端设备的接力维度信息和发起端设备的发起维度信息,直接将该接力端设备确定为最终的接力设备。在另一些场景中,有可能根据接力端设备的接力维度信息和发起端设备的发起维度信息,确定出多台接力设备。此时可以根据用户对这些接力设备的使用频率,将使用频率最大的接力设备确定为最终的接力设备。或者,弹出对话框供用户从这些接力设备中选取需要的最终的接力设备。再或者,根据用户的位置从这些接力设备中选取需要的最终的接力设备,其中,位置可以是指当前的位置,也可以是根据用户移动路径确定的用户将要移动至的位置。在一些实施例中,用户的位置信息可以通过一台或多台设备上的传感器进行确定。In some scenarios, there may be only one relay device, so there is no need to compare the relay dimension information of the relay device with the initiation dimension information of the initiator device, and directly determine the relay device as the final relay device. In other scenarios, it is possible to determine multiple relay devices according to the relay dimension information of the relay device and the initiation dimension information of the initiator device. At this time, according to the frequency of use of these relay devices by the user, the relay device with the highest frequency of use may be determined as the final relay device. Alternatively, a dialog box is popped up for the user to select the desired final relay device from these relay devices. Alternatively, the desired final relay device is selected from these relay devices according to the user's location, where the location may refer to the current location, or the location to which the user will move determined according to the user's moving path. In some embodiments, the user's location information may be determined by sensors on one or more devices.
接力设备为最终从当前终端设备进行内容服务接力的终端设备,接力端设备为与语音文本匹配的设备。同时这里默认接力端设备为可执行在当前终端设备前台运行的应用的应用数据对应操作的终端设备。The relay device is a terminal device that finally relays the content service from the current terminal device, and the relay device is a device that matches the voice text. At the same time, the default relay terminal device here is a terminal device that can perform operations corresponding to the application data of the application running in the foreground of the current terminal device.
在一些实施例中,设备的维度信息包括第一维度、第二维度以及第三维度。第一维度包括第二维度,即第二维度在第一维度的范围之内。第二维度包括第三维度,即第三维度在第二维度的范围之内,同时第三维度也在第一维度的范围之内。根据接力端设备的接力维度信息和发起端设备的发起维度信息之间的关系确定接力设备,可以分为以下几种情形:In some embodiments, the dimension information of the device includes a first dimension, a second dimension and a third dimension. The first dimension includes the second dimension, that is, the second dimension is within the range of the first dimension. The second dimension includes the third dimension, that is, the third dimension is within the scope of the second dimension, and at the same time, the third dimension is also within the scope of the first dimension. The relay device can be determined according to the relationship between the relay dimension information of the relay end device and the initiation dimension information of the initiator device, which can be divided into the following situations:
如果存在第一维度、第二维度以及第三维度分别与发起端设备的第一维度、第二维度以及第三维度匹配的接力端设备,即该接力端设备的接力终端维度信息与发起端设备的发起维度信息完全匹配,则将该接力端设备确定为最终的接力设备。If there is a relay device whose first dimension, second dimension and third dimension respectively match the first dimension, second dimension and third dimension of the initiator device, that is, the relay terminal dimension information of the relay device is consistent with the originator device's If the originating dimension information completely matches, the relay end device is determined as the final relay device.
如果不存在第一维度、第二维度以及第三维度分别与发起端设备的第一维度、第二维度以及第三维度匹配的接力端设备,但是存在第一维度和第二维度与发起接力设备的第一维度和第二维度匹配的接力端设备,即该接力端设备和发起端设备只在同以第二维度范围内,但是在不同的第三维度范围内。但是不存在与发起端设备在同一第三维度范围内的接力端设备,则将该接力端设备确定为最终的接力设备。If there is no relay device whose first dimension, second dimension, and third dimension match the first dimension, second dimension, and third dimension of the initiating device, but there are The relay device whose first dimension and second dimension match, that is, the relay device and the initiator device are only within the same second dimension range, but different third dimension ranges. However, if there is no relay device within the same third-dimensional range as the initiator device, the relay device is determined as the final relay device.
如果不存在第一维度、第二维度以及第三维度分别与发起端设备的第一维度、第二维度以及第三维度匹配的接力端设备,同时不存在第一维度和第二维度分别与发起端设备的第一维度和第二维度匹配的接力端设备,但是存在第一维度和发起端设备的第一维度匹配的接力端设备,即只存在在同一第一维度范围的接力端设备,将该接力端设备确定为最终的接力设备。If there is no relay device whose first dimension, second dimension, and third dimension respectively match the first dimension, second dimension, and third dimension of the initiator device, and there is no first dimension and second dimension The first dimension of the end device matches the second dimension of the relay end device, but there is a relay end device whose first dimension matches the first dimension of the initiator device, that is, there are only relay end devices in the same first dimension range, and the The relay device is determined as the final relay device.
在一些实施例中,如图18、图21、图22、图23所示的维度场景图,第一维度为账号,第二维度为房间属性标识,例如可以是用户在不同地区的房子,第三维度为房间区域标识,例如可以是用户在不同房子中的不同房间。账号为用户在统一接力服务应用注册的账户ID。用户可在每个账号维度下创建多个家,例如,用户拥有多套房子,分别位于A地、B地以及C地。A地、B地以及C地的房子即为框架图中的第二维度。第三维度为基于家维度建立的多个物理空间,例如,主卧、客厅、次卧、厨房等空间。In some embodiments, as shown in Figure 18, Figure 21, Figure 22, and Figure 23, the first dimension is the account number, and the second dimension is the room attribute identifier, such as the user's house in a different region. The three dimensions identify room areas, for example, different rooms in different houses of the user. The account is the account ID registered by the user in the unified relay service application. Users can create multiple homes under each account dimension. For example, a user owns multiple houses, which are located in A, B, and C respectively. The houses on land A, land B, and land C are the second dimension in the frame diagram. The third dimension is a plurality of physical spaces established based on the home dimension, such as master bedroom, living room, second bedroom, kitchen and other spaces.
在图18所示的场景中,电视A和玄关屏A位于家A的主卧,玄关屏B位于家A的客厅,带屏冰箱A位于家A的厨房。电视B位于家B的客厅。玄关屏C位于家C的客厅,带屏冰箱B位于家C的 厨房。家A、家B以及家C均属于账号A。In the scene shown in Figure 18, TV A and entrance screen A are located in the master bedroom of home A, entrance screen B is located in the living room of home A, and refrigerator with screen A is located in the kitchen of home A. TV B is located in the living room of home B. The entrance screen C is located in the living room of home C, and the refrigerator with screen B is located in the kitchen of home C. Home A, home B, and home C all belong to account A.
如果语音文本包括设备信息,例如包括“接力到家B客厅中的电视B”,该语音文本包括明确的设备信息,则无论当前终端设备是哪一个,该设备信息指向唯一的接力设备,则最终的接力设备均是家B客厅中的电视B。If the voice text includes device information, such as "relay to TV B in the living room of home B", and the voice text includes clear device information, no matter which terminal device is the current device, the device information points to the only relay device, and the final The relay devices are TV B in the living room of home B.
上述实施例的信令处理时序为,如图19所示的信令图,发起端设备接收用户输入的语音信号。发起端设备将语音信号和业务信息发送至语音服务器,语音服务器从语音信号中识别出语音文本包括设备信息,该设备信息指向唯一的接力设备家B客厅中的电视B。语音服务器向AIOT服务器发送该设备信息和业务信息。AIOT服务器根据设备信息查找设备ID,根据设备ID向家B客厅中的电视B发送业务信息,以使家B客厅中的电视B根据业务信息执行相应的接力操作。The signaling processing sequence of the above embodiment is, as shown in the signaling diagram of FIG. 19 , the initiator device receives the voice signal input by the user. The initiator device sends the voice signal and business information to the voice server, and the voice server recognizes the voice text from the voice signal, including device information, and the device information points to the only relay device, TV B in the living room of home B. The voice server sends the device information and service information to the AIOT server. The AIOT server searches for the device ID based on the device information, and sends service information to TV B in the living room of home B according to the device ID, so that TV B in the living room of home B performs corresponding relay operations according to the service information.
在图18所示的场景中,如果语音文本只包括设备类型信息,例如用户向电视A输入语音信号,从该语音信号中识别的语音文本包括“接力到玄关屏”,此时该语音文本不包括明确的设备信息,只包括设备类型信息“玄关屏”。该设备类型信息“玄关屏”指向多台玄关屏。图18所示的场景中在家A的主卧存在玄关屏A,玄关屏A与电视A位于同一账号同一家同一物理空间中,即玄关屏A的第一维度、第二维度以及第三维度分别与电视A的第一维度、第二维度以及第三维度匹配。因此,将玄关屏A确定为最终的接力设备,最后实现内容服务接力的目的,内容服务接力可以是接力播放视频。In the scenario shown in Figure 18, if the voice text only includes device type information, for example, the user inputs a voice signal to TV A, and the voice text recognized from the voice signal includes "relay to the entrance screen", at this time the voice text does not Include explicit device information, including only the device type information "entrance screen". The device type information "entrance screen" points to multiple entrance screens. In the scene shown in Figure 18, there is an entrance screen A in the master bedroom of home A, and the entrance screen A and TV A are located in the same account, the same house, and the same physical space, that is, the first dimension, the second dimension and the third dimension of the entrance screen A are respectively Matches the first dimension, second dimension and third dimension of TV A. Therefore, the porch screen A is determined as the final relay device, and finally the purpose of content service relay is realized, and the content service relay can be relay playback of videos.
上述实施例的信令处理时序为,如图20所示的信令图,发起接力终端接收用户输入的语音信号。发起端设备将语音信号发送至语音服务器,语音服务器从语音信号中识别出语音文本包括设备类型信息,该设备类型信息指向多台接力设备。语音服务器向AIOT服务器发送多台设备的设备信息和业务信息。AIOT服务器将多台设备的维度信息与发起端设备的维度信息进行匹配,匹配后得到玄关屏为最终的接力设备。AIOT服务器查找玄关屏A的设备ID后,根据设备ID向玄关屏A发送业务信息,以使玄关屏A根据业务信息执行相应的接力操作。The signaling processing sequence of the above embodiment is, as shown in the signaling diagram of FIG. 20 , the initiating relay terminal receives the voice signal input by the user. The initiator device sends the voice signal to the voice server, and the voice server recognizes the voice text from the voice signal including device type information, and the device type information points to multiple relay devices. The voice server sends the device information and business information of multiple devices to the AIOT server. The AIOT server matches the dimension information of multiple devices with the dimension information of the originating device, and after matching, the entrance screen is obtained as the final relay device. After the AIOT server finds the device ID of the entrance screen A, it sends service information to the entrance screen A according to the device ID, so that the entrance screen A performs the corresponding relay operation according to the service information.
在图21所示的场景中,电视A位于家A的主卧,玄关屏B位于家A的客厅,带屏冰箱A位于家A的厨房。电视B位于家B的客厅。玄关屏C位于家C的客厅,带屏冰箱B位于家C的厨房。In the scene shown in Figure 21, TV A is located in the master bedroom of home A, entrance screen B is located in the living room of home A, and refrigerator with screen A is located in the kitchen of home A. TV B is located in the living room of home B. The entrance screen C is located in the living room of home C, and the refrigerator with screen B is located in the kitchen of home C.
如果语音文本只包括设备类型信息,例如用户向电视A输入语音信号,从该语音信号中识别的语音文本包括“接力到玄关屏”,此时该语音文本不包括明确的设备信息,只包括设备类型信息“玄关屏”。该设备类型信息“玄关屏”指向多台玄关屏。电视A位于家A的主卧,而在图21所示的场景中,家A主卧不存在玄关屏。因此在当前场景中不存在与电视A在同一账号同一家同一物理空间的接力端设备。则在当前场景中向上一维度查找是否存在与电视A在同一账号同一家但是不在同一物理空间的接力端设备。在当前场景中查找到家A客厅中存在玄关屏B,玄关屏B与电视A在同一账号同一家但是不在同一物理空间。因此在当前场景中将玄关屏B确定为最终的接力设备。If the voice text only includes device type information, for example, the user inputs a voice signal to TV A, and the voice text recognized from the voice signal includes "relay to the entrance screen". At this time, the voice text does not include clear device information, only includes Type information "entrance screen". The device type information "entrance screen" points to multiple entrance screens. TV A is located in the master bedroom of home A, and in the scene shown in Figure 21, there is no entrance screen in the master bedroom of home A. Therefore, in the current scene, there is no relay device in the same account, the same house, and the same physical space as TV A. In the current scene, it is searched in the upward dimension whether there is a relay terminal device in the same account as TV A but not in the same physical space. In the current scene, it is found that there is an entrance screen B in the living room of home A. The entrance screen B and TV A are in the same account and the same house but not in the same physical space. Therefore, in the current scene, the entrance screen B is determined as the final relay device.
上述实施例的信令处理时序与图20所示实施例的信令处理时序类似,根据本申请一些实施方式的信令处理时序不在赘述。The signaling processing sequence of the foregoing embodiment is similar to the signaling processing sequence of the embodiment shown in FIG. 20 , and the signaling processing sequence according to some implementation manners of the present application will not be repeated here.
在图22所示的场景中,电视A位于家A的主卧,带屏冰箱A位于家A的厨房。电视B位于家B的客厅。玄关屏C位于家C的客厅,带屏冰箱B位于家C的厨房。In the scene shown in FIG. 22 , TV A is located in the master bedroom of home A, and refrigerator A with a screen is located in the kitchen of home A. TV B is located in the living room of home B. The entrance screen C is located in the living room of home C, and the refrigerator with screen B is located in the kitchen of home C.
如果语音文本只包括设备类型信息,例如用户向电视A输入语音信号,从该语音信号中识别的语音文本包括“接力到玄关屏”,此时该语音文本不包括明确的设备信息,只包括设备类型信息“玄关屏”。该设备类型信息“玄关屏”指向多台玄关屏。电视A位于家A的主卧,而在图22所示的场景中,家A主卧不存在玄关屏。因此在当前场景中不存在与电视A在同一账号同一家同一物理空间的接力端设备。则在当前场景中向上一维度查找是否存在与电视A在同一账号同一家但是不在同一物理空间的接力端 设备。在当前场景中,家A的主卧、客厅以及厨房均不存在玄关屏。因此在当前场景中也不存在与电视A在同一账号同一家但是不在同一物理空间的接力端设备。则在当前场景中向上一维度查找是否存在与电视A在同一账号,但是不在同一家的接力端设备。在当前场景中查找到同一账号下家C中存在玄关屏C,玄关屏C与电视A在同一账号下,但是不在同一家下,同样也不在同一物理空间中。因此在当前场景中将玄关屏C确定为最终的接力设备。If the voice text only includes device type information, for example, the user inputs a voice signal to TV A, and the voice text recognized from the voice signal includes "relay to the entrance screen". At this time, the voice text does not include clear device information, only includes Type information "entrance screen". The device type information "entrance screen" points to multiple entrance screens. TV A is located in the master bedroom of home A, and in the scene shown in Figure 22, there is no entrance screen in the master bedroom of home A. Therefore, in the current scene, there is no relay device in the same account, the same house, and the same physical space as TV A. In the current scene, check whether there is a relay terminal device in the same account as TV A but not in the same physical space in the upward dimension. In the current scene, there is no entrance screen in the master bedroom, living room and kitchen of Home A. Therefore, in the current scene, there is no relay terminal device that is in the same account as TV A but not in the same physical space. In the current scene, check whether there is a relay terminal device that has the same account as TV A but is not in the same family. In the current scene, it is found that there is an entrance screen C in home C under the same account. The entrance screen C and TV A are under the same account, but not in the same family, nor in the same physical space. Therefore, in the current scene, the entrance screen C is determined as the final relay device.
在一些实施例中,如果不存在第一维度和当前终端设备的第一维度匹配的接力端设备,但是同时存在第二维度与当前设备的第二维度匹配的接力端设备,或者存在第三维度与当前设备的第三维度匹配的接力端设备,则生成提示信息,以使用户根据该提示信息将该接力端设备添加至第一维度之后,再将该接力端设备确定为接力设备。In some embodiments, if there is no relay device whose first dimension matches the first dimension of the current terminal device, but there is also a relay device whose second dimension matches the second dimension of the current device, or there is a third dimension A relay device that matches the third dimension of the current device generates prompt information, so that the user can determine the relay device as the relay device after adding the relay device to the first dimension according to the prompt information.
例如,在图23所示的场景中,电视A位于家A的主卧,带屏冰箱A位于家A的厨房。电视B位于家B的客厅。带屏冰箱B位于家C的厨房。玄关屏D位于家A的客厅中,但是电视A在账号A下,而玄关屏D在账号B下或者玄关屏D未添加到任何账号。在当前场景中,玄关屏D的第一维度与电视A的第一维度不匹配,但是玄关屏D匹配语音文本,属于接力端设备。此时可以在当前终端设备的显示器上弹出指示将玄关屏D添加到账号A的提示信息。用户可以根据提示信息进行操作,最终将玄关屏D添加到账号A下,使得玄关屏D的第一维度与电视A的第一维度匹配。同时由于玄关屏D位于家A的客厅中,将玄关屏D添加到账号A下之后,实现玄关屏D和电视A处于同一账号同一家中。也就是说,最终玄关屏D的第一维度和第二维度分别与电视A的第一维度和第二维度匹配。For example, in the scene shown in FIG. 23 , TV A is located in the master bedroom of home A, and refrigerator A with a screen is located in the kitchen of home A. TV B is located in the living room of home B. Refrigerator B with screen is located in the kitchen of home C. The entrance screen D is located in the living room of home A, but the TV A is under the account A, and the entrance screen D is under the account B or the entrance screen D has not been added to any account. In the current scenario, the first dimension of the entrance screen D does not match the first dimension of the TV A, but the entrance screen D matches the voice text and belongs to the relay terminal device. At this time, a prompt message indicating to add the entrance screen D to the account A may pop up on the display of the current terminal device. The user can operate according to the prompt information, and finally add the entrance screen D to the account A, so that the first dimension of the entrance screen D matches the first dimension of TV A. At the same time, since the entrance screen D is located in the living room of home A, after the entrance screen D is added to the account A, the entrance screen D and TV A are in the same account and the same home. That is to say, finally, the first dimension and the second dimension of the entrance screen D match the first dimension and the second dimension of the TV A respectively.
经过上述设备匹配的过程,如果存在接力端设备,显示设备100-1则生成接力提示,用于提示用户当前存在匹配的接力端设备。如果不存在接力终端设设备,可以不生成接力提示。如果发起端设备具有显示器,则可以在显示器上显示接力按钮控件,例如,如图7所示的用户界面示意图。用户可通过点击接力按钮控件触发内容服务接力进程。接力提示还可以是语音播报的形式。After the above-mentioned device matching process, if there is a relay device, the display device 100-1 generates a relay prompt, which is used to prompt the user that there is currently a matching relay device. If there is no relay terminal device, no relay prompt may be generated. If the initiator device has a display, the relay button control may be displayed on the display, for example, a schematic diagram of a user interface as shown in FIG. 7 . The user can trigger the content service relay process by clicking the relay button control. The relay prompt can also be in the form of voice broadcast.
一些实施例中,如果确定存在接力端设备,则在用户界面上显示接力按钮。当发起端设备接收到用户输入点击接力按钮的操作时,生成查询指令。发起端设备将查询指令发送至AIOT服务器,AIOT服务器根据查询指令查询系统中所有的可接力设备之后,再将所有的可接力设备反馈至发起端设备。再在接力端设备的用户界面上显示所有的可接力设备的信息,即显示接力端设备列表。In some embodiments, if it is determined that there is a relay device, a relay button is displayed on the user interface. When the initiator device receives an operation of clicking the relay button input by the user, it generates a query instruction. The initiator device sends the query command to the AIOT server, and the AIOT server queries all relayable devices in the system according to the query command, and then feeds back all relayable devices to the initiator device. Then, the information of all relay-capable devices is displayed on the user interface of the relay device, that is, the list of relay devices is displayed.
在一些实施例中,用户可以在特定应用的特定页面中设置添加显示接力按钮。例如,在视频播放应用的视频播放页面设置,如果存在接力端设备则显示接力按钮。在学习应用的教学相关页面设置,如果存在接力端设备则显示接力按钮,而在学习应用的自我学习相关页面上,则不设置如果存在接力端设备则显示接力按钮。In some embodiments, the user can set to add a relay button on a specific page of a specific application. For example, on the video playback page of the video playback application, if there is a relay device, a relay button will be displayed. On the teaching-related pages of the learning application, if there is a relay terminal device, the relay button will be displayed, and on the self-learning related pages of the learning application, it will not be set to display the relay button if there is a relay terminal device.
在一些实施例中,如果不存在接力端设备,可以在显示器上显示接力引导按钮控件。用户可通过点击接力引导按钮控件触发在显示器上显示内容服务接力引导信息。这里内容服务接力引导信息可以是对内容服务接力的介绍信息,也可以是引导用户进行内容服务接力下一步相关操作的信息。这样,如果不存在接力端设备,即使不显示接力按钮控件,也可以在第一应用的用户界面上显示与内容服务接力相关的内容,从而提升用户使用体验。In some embodiments, if relay equipment is not present, a relay guidance button control may be displayed on the display. The user can trigger the display of content service relay guidance information on the display by clicking the relay guidance button control. Here, the content service relay guidance information may be introduction information for the content service relay, or information that guides the user to perform a next step related operation of the content service relay. In this way, if there is no relay terminal device, even if the relay button control is not displayed, the content related to the content service relay can be displayed on the user interface of the first application, thereby improving user experience.
在如图8所示的应用场景中,用户通过选择目标设备显示设备100-2即接力端设备输入接力操作。显示设备100-1接收到用户输入的接力操作后,生成服务接力指令,该服务接力指令携带有视频播放应用的应用数据和媒资数据,服务接力指令还携带有接力端设备的设备ID。发起端设备通过AIOT服务器,根据设备ID将服务接力指令发送至显示设备100-2。显示设备100-2接收到服务接力指令后,根据视频播放应用的应用数据和媒资数据,继续播放视频。In the application scenario shown in FIG. 8 , the user inputs a relay operation by selecting the target device display device 100 - 2 , that is, the relay terminal device. After receiving the relay operation input by the user, the display device 100-1 generates a service relay command. The service relay command carries the application data and media data of the video playback application, and the service relay command also carries the device ID of the relay terminal device. The initiator device sends the service relay instruction to the display device 100-2 according to the device ID through the AIOT server. After receiving the service relay instruction, the display device 100-2 continues to play the video according to the application data and media asset data of the video playing application.
在一种场景中,如图10所示的应用场景图,发起端设备为平板电脑200-1,发起端设备前台当前正在运行的应用(以下称为第一应用)为视频通话应用。则当前场景为利用平板电脑的视频通话应用进行视频通话,第一应用的应用数据即为视频通话数据。在同一局域网内,还存在显示设备200-2、移动终端200-3等终端设备。在平板电脑200-1中事先存储有显示设备200-2和移动终端200-3的业务能力信息。In one scenario, as shown in the application scenario diagram of FIG. 10 , the initiating device is a tablet computer 200 - 1 , and the application currently running in the foreground of the initiating device (hereinafter referred to as the first application) is a video call application. Then the current scenario is to use the video call application of the tablet computer to make a video call, and the application data of the first application is the video call data. In the same local area network, there are also terminal devices such as the display device 200-2 and the mobile terminal 200-3. The business capability information of the display device 200-2 and the mobile terminal 200-3 is stored in advance in the tablet computer 200-1.
其中,显示设备200-2的业务能力为播放视频和播放音频,移动终端200-3的业务能力为播放视频、播放音频以及视频通话等。平板电脑200-1上的视频通话应用在前台运行,在局域网内查找可执行视频通话操作的终端设备。此时应用数据为视频通话,则根据应用数据视频通话遍历存储的业务能力信息。最终查找到移动终端200-3的业务能力为视频通话,与当前应用数据匹配。则将移动终端200-3确定为可接力设备。Among them, the service capabilities of the display device 200-2 are video playback and audio playback, and the service capabilities of the mobile terminal 200-3 are video playback, audio playback, and video calls. The video call application on the tablet computer 200-1 runs in the foreground, and searches for a terminal device capable of performing video call operations in the local area network. At this time, the application data is a video call, and the stored service capability information is traversed according to the application data video call. Finally, it is found that the service capability of the mobile terminal 200-3 is a video call, which matches the current application data. Then the mobile terminal 200-3 is determined as a relay-able device.
确定可接力设备后,平板电脑200-1生成接力提示,用户提示用户当前存在可接力设备,用户可根据接力提示输入服务接力指令。由于平板电脑200-1具有显示器,生成的接力提示可以是在显示器上显示的接力按钮。用户可通话选择接力按钮输入接力执行。这里,接力提示也可以是语音提示。例如,确定存在可接力设备后,通过语音播报“请输入接力语音开始接力”提示用户可通过语音输入触发接力。也可以通过语音播报“请摇一摇设备开始接力”提示用户可通过手势触发接力。这些提示语也可以同时在显示器上显示,便于用户执行相关操作。After the device that can be relayed is determined, the tablet computer 200-1 generates a relay prompt, and the user is prompted that there is currently a relayable device, and the user can input a service relay instruction according to the relay prompt. Since the tablet computer 200-1 has a display, the generated relay prompt may be a relay button displayed on the display. The user can call to select the relay button to input relay execution. Here, the relay prompt can also be a voice prompt. For example, after it is determined that there is a device that can be relayed, the user will be prompted to trigger the relay through voice input through the voice broadcast "Please enter the relay voice to start the relay". It is also possible to broadcast "Please shake the device to start the relay" through the voice broadcast to prompt the user to trigger the relay through gestures. These prompts can also be displayed on the display at the same time to facilitate the user to perform related operations.
按照上述方式触发接力,即用户输入服务接力指令之后,平板电脑200-1接收该服务接力指令,根据服务接力指令生成接力请求,并将接力请求发送至移动终端200-3。这里接力请求可以携带视频通话的指令,以及视频通话相关的数据。移动终端200-3接收到接力请求后,根据视频通话指令和视频通话数据,继续进行视频通话过程。The relay is triggered in the above manner, that is, after the user inputs the service relay command, the tablet computer 200-1 receives the service relay command, generates a relay request according to the service relay command, and sends the relay request to the mobile terminal 200-3. Here, the relay request may carry instructions for the video call and data related to the video call. After receiving the relay request, the mobile terminal 200-3 continues the video call process according to the video call instruction and video call data.
在一种场景中,如图11所示的应用场景图,发起端设备为闹钟300-1,第一应用为闹钟提示应用。则当前场景为闹钟的闹钟提示应用正在进行提示,第一应用的应用数据即为闹钟提示相关数据。在同一局域网内,还存在显示设备300-2、显示设备300-3等终端设备。在闹钟300-1中事先存储有显示设备300-2和显示设备300-3的业务能力信息。In one scenario, as shown in the application scenario diagram of FIG. 11 , the initiator device is an alarm clock 300 - 1 , and the first application is an alarm clock reminder application. Then the current scene is that the alarm clock notification application of the alarm clock is prompting, and the application data of the first application is related data of the alarm clock notification. In the same local area network, there are also terminal devices such as the display device 300-2 and the display device 300-3. The service capability information of the display device 300-2 and the display device 300-3 is stored in advance in the alarm clock 300-1.
其中,显示设备300-2的业务能力为播放视频和播放音频,显示设备300-3的业务能力为播放视频和播放音频。闹钟300-1上的闹钟应用在前台运行后,在局域网内存查找可执行闹钟提示操作的终端设备。此时应用数据为闹钟提示,则根据应用数据闹钟提示遍历存储的业务能力信息。由于在当前同一局域网内,没有其他终端设备的业务能力能够匹配当前应用数据闹钟提示,则在当前同一局域网内,不存在可执行闹钟提示操作的其他终端设备,即不存在可接力设备。在这种场景中,在闹钟上不生成接力提示,最终闹钟提示的操作仍然在闹钟300-1上进行。Wherein, the service capability of the display device 300-2 is to play video and play audio, and the service capability of the display device 300-3 is to play video and play audio. After the alarm clock application on the alarm clock 300-1 runs in the foreground, it searches the local area network memory for a terminal device that can perform the alarm clock prompt operation. At this time, the application data is an alarm clock prompt, and the stored service capability information is traversed according to the application data alarm clock prompt. Since there is no other terminal device in the current same local area network whose business capability can match the current application data alarm notification, there is no other terminal device that can perform the alarm clock notification operation in the same current local area network, that is, there is no relayable device. In this scenario, no relay notification is generated on the alarm clock, and the final operation of the alarm clock notification is still performed on the alarm clock 300-1.
在一些实施例中,可接力设备在接收到接力请求后,根据接力请求携带的应用数据,执行应用数据对应的操作。该可接力设备在接力之后,还向发起端设备反馈接力结果。接力结果用于指示可接力设备已开始根据应用数据执行对应操作。In some embodiments, after receiving the relay request, the relay-capable device executes an operation corresponding to the application data according to the application data carried in the relay request. After the relay, the relay capable device also feeds back the relay result to the initiating device. The relay result is used to indicate that the device that can be relayed has started to perform corresponding operations according to the application data.
在图10所示的场景中,平板电脑200-1的视频通话接力到移动终端200-3后,在移动终端200-3即继续进行视频通话过程。同时移动终端200-3向平板电脑200-1反馈接力结果。平板电脑200-1接收到反馈的接力结果后,可以在显示器上显示与接力结果相关的提示语。例如,显示“视频通过已在移动终端200-3上继续进行”的提示语。In the scenario shown in FIG. 10 , after the video call on the tablet computer 200-1 is relayed to the mobile terminal 200-3, the video call process continues on the mobile terminal 200-3. At the same time, the mobile terminal 200-3 feeds back the relay result to the tablet computer 200-1. After the tablet computer 200-1 receives the relay result feedback, it can display prompts related to the relay result on the display. For example, a prompt saying "Video passing has been continued on the mobile terminal 200-3" is displayed.
在一些实施例中,发起端设备在接收到接力端设备反馈的接力结果后,可以暂停第一应用的应用进程,也可以直接关闭第一应用。In some embodiments, after receiving the relay result fed back by the relay device, the initiating device may suspend the application process of the first application, or directly close the first application.
在图17所示的场景中,显示设备100-1的第一应用的视频播放接力到显示设备100-2后,在显示设备100-2上继续进行视频播放过程。同时显示设备100-2向显示设备100-1反馈接力结果。显示设备100-2接收到反馈的接力结果后,可以暂停视频播放应用的视频播放进程。显示设备100-2也可以根据接力结果直接关闭视频播放应用。In the scenario shown in FIG. 17 , after the video playback of the first application of the display device 100-1 is relayed to the display device 100-2, the video playback process continues on the display device 100-2. At the same time, the display device 100-2 feeds back the relay result to the display device 100-1. After receiving the feedback relay result, the display device 100-2 may suspend the video playing process of the video playing application. The display device 100-2 may also directly close the video playing application according to the relay result.
在一些实施例中,如果第一应用发起端设备为视频应用,则相应的接力按钮控件为视频接力按钮控件。如果第一应用为音频应用,则相应的接力按钮控件为音频接力按钮控件。如果第一应用为图片显示应用,则相应的接力按钮控件为图片显示接力按钮控件。视频接力按钮控件、音频接力按钮控件以及图片显示接力按钮控件可以以不同的形式展示。这样可以方便用户查看目前需要接力的应用类型。In some embodiments, if the first application initiator device is a video application, the corresponding relay button control is a video relay button control. If the first application is an audio application, the corresponding relay button control is an audio relay button control. If the first application is a picture display application, the corresponding relay button control is a picture display relay button control. The video relay button control, the audio relay button control and the picture display relay button control may be displayed in different forms. In this way, it is convenient for the user to view the application types that currently need to be relayed.
例如,如图24所示的音频应用的用户界面,如果存在接力端设备,则在音频应用的用户界面上显示音频接力按钮控件。音频接力按钮控件可以以音乐符号图标进行显示。同样的视频接力按钮控件可以以视频图标进行显示,图片显示接力按钮控件可以以图片符号图标进行显示。For example, as shown in FIG. 24 in the user interface of the audio application, if there is a relay device, an audio relay button control is displayed on the user interface of the audio application. Audio relay button controls can be displayed with musical notation icons. The same video relay button control can be displayed as a video icon, and the picture display relay button control can be displayed as a picture symbol icon.
上述实施例的信令处理时序,如图25所示的信令图,发起端设备在音频应用用户界面上时,通过统一接力服务应用向AIOT服务器发送接力端设备查询指令。该查询指令携带有音频应用的应用数据。AIOT服务器根据音频应用的应用数据查询是否有可执行相同或相似应用数据的终端设备,并将查询结果反馈至发起端设备。如果查询结果为存在可执行相同或相似应用数据的终端设备,则在发起端设备的音频应用用户界面上显示音频接力按钮控件。相反则不显示音频接力按钮控件。接力端设备上的音频应用于发起端设备上的应用可以是不同的应用,但是根据应用数据可以判断是具有相同功能的应用。The signaling processing sequence of the above embodiment is shown in the signaling diagram shown in Figure 25. When the initiator device is on the audio application user interface, it sends a relay device query command to the AIOT server through the unified relay service application. The query command carries application data of the audio application. The AIOT server queries whether there is a terminal device that can execute the same or similar application data according to the application data of the audio application, and feeds back the query result to the initiator device. If the query result shows that there is a terminal device capable of executing the same or similar application data, an audio relay button control is displayed on the audio application user interface of the initiator device. Conversely, the audio relay button controls are not displayed. The audio on the relay device may be applied to different applications on the initiator device, but it can be judged that they are applications with the same function according to the application data.
在一些实施例中,还可以在第一应用的用户界面上显示接力端设备上第二应用的名称。第二应用为执行第一应用的应用数据对应操作的应用。例如,如图26所示的用户界面,当前显示设备上的第一应用为YYY音乐,则安装有音频应用的设备为接力端设备。接力端设备上安装的音频应用如果为WW音乐,则在接力按钮控件的附近显示“WW音乐”字样。接力端设备上安装的音频应用如果为MM音乐,则在接力按钮控件的附近显示“MM音乐”字样。接力端设备上如果同时安装有WW音乐和MM音乐,则可以同时显示“WW音乐”字样和“MM音乐”字样。如果用户选择“WW音乐”,则相应的由接力端设备上的WW音乐执行接力操作。如果用户选择“MM音乐”,则相应的由接力端设备上的MM音乐执行接力操作。In some embodiments, the name of the second application on the relay device may also be displayed on the user interface of the first application. The second application is an application that executes operations corresponding to the application data of the first application. For example, in the user interface shown in FIG. 26 , if the first application on the currently displayed device is YYY music, then the device installed with the audio application is the relay device. If the audio application installed on the relay device is WW Music, the words "WW Music" will be displayed near the relay button control. If the audio application installed on the relay terminal device is MM Music, the word "MM Music" will be displayed near the relay button control. If both WW music and MM music are installed on the relay device, the words "WW music" and "MM music" can be displayed at the same time. If the user selects "WW Music", the corresponding relay operation will be performed by WW Music on the relay device. If the user selects "MM Music", the relay operation will be performed by MM Music on the relay device.
在一些实施例中,如果存在多台接力端设备可以执行接力操作,可以在接力按钮控件的上叠加显示加“加号“,以提示用户当前存在多台接力端设备。当用户点击接力按钮控件时,可以在接力按钮控件的一侧显示接力端设备列表。并且在接力端设备列表中包括设备名称,每个设备名称的一侧均显示可执行接力操作的应用名称。In some embodiments, if there are multiple relay devices that can perform the relay operation, a "plus sign" may be superimposed on the relay button control to prompt the user that there are currently multiple relay devices. When the user clicks on the relay button control, a relay end device list may be displayed on one side of the relay button control. And the device name is included in the relay terminal device list, and the name of the application that can perform the relay operation is displayed on one side of each device name.
例如,如图27所示的用户界面,当前显示设备上的第一应用为YYY音乐时,安装有音频应用的设备包括多台:设备A、设备B、以及设备C。在设备名称的一侧又分别显示可执行接力操作的应用名称:KK音乐、MM音乐以及WW音乐。进一步如果一台接力端设备上存在多个可执行接力操作的应用,则均在设备名称之后显示。For example, in the user interface shown in FIG. 27 , when the first application on the currently displayed device is YYY music, the devices installed with the audio application include multiple devices: device A, device B, and device C. On the side of the device name, the application names that can perform the relay operation are displayed respectively: KK music, MM music and WW music. Furthermore, if there are multiple applications that can perform relay operations on one relay device, all of them will be displayed after the device name.
在一些实施例中,还可以在第一应用的用户界面上显示第二应用的用户界面的缩略图。如图28所示的用户界面,当前显示设备上的第一应用为WWW音乐,接力端设备上安装的应用为WW音乐,则在接力按钮控件的一侧显示WW音乐用户界面的缩略图。这样用户可查看接力后的第二应用的用户界面,方便用户决定是否进行点击接力按钮控件的操作,以进行内容服务接力,进一步提升用户使用体验。In some embodiments, a thumbnail of the user interface of the second application may also be displayed on the user interface of the first application. In the user interface shown in Figure 28, the first application on the current display device is WWW music, and the application installed on the relay device is WW music, then a thumbnail of the WW music user interface is displayed on one side of the relay button control. In this way, the user can view the user interface of the second application after relaying, which is convenient for the user to decide whether to click the relaying button control, so as to relay the content service, and further improve the user experience.
如果发起端设备上的音频应用与接力端设备的音频应用为不同的应用软件时,接力操作可以根据音频媒资数据的名称、歌手、时间等信息进行传递。例如,发起端设备上的音频应用为YYY音乐,播放 的歌曲为“XXXXX”。接力到接力端设备时可以根据歌曲名、歌手名、时间“XXXX”年等信息,再在接力端设备的音频应用WW音乐上根据上述信息查找相应歌曲。并且根据该歌曲在发起端设备上的当前播放时间,继续播放该歌曲。If the audio application on the initiator device and the audio application on the relay device are different application software, the relay operation can be transmitted according to the name, singer, time and other information of the audio media data. For example, the audio application on the initiator device is YYY Music, and the played song is "XXXXX". When relaying to the relay device, you can search for the corresponding song on the audio application WW Music of the relay device based on the song name, singer name, time "XXXX" year and other information. And continue to play the song according to the current playing time of the song on the initiator device.
在显示第二应用的用户界面的缩略图方面,可以是AIOT服务器查询到接力端设备上的应用后,自动向接力端设备发送截图请求。接力端设备接收到截图请求后,发送事先保存的第二应用界面的截图至AIOT服务器。AIOT服务器将第二应用界面的截图反馈至发起端设备。发起端设备接收到第二应用界面的截图后,在第一应用界面上显示第二应用界面截图的缩略图。In terms of displaying the thumbnail of the user interface of the second application, the AIOT server may automatically send a screenshot request to the relay device after querying the application on the relay device. After receiving the screenshot request, the relay device sends the previously saved screenshot of the second application interface to the AIOT server. The AIOT server feeds back the screenshot of the second application interface to the initiator device. After receiving the screenshot of the second application interface, the initiator device displays a thumbnail of the screenshot of the second application interface on the first application interface.
在一些实施例中,显示设备和确定的接力端设备需要在同一账号下。将终端设备添加至同一账号为相关技术,本申请不作详细阐述。在进行内容服务接力过程中,只有在同一账号下的各个设备才能互相进行内容服务接力过程。这样可以避免不在同一账号下的设备的干扰。In some embodiments, the display device and the determined relay device need to be under the same account. Adding terminal devices to the same account is a related technology, and this application will not elaborate on it. During the content service relay process, only the devices under the same account can carry out the content service relay process with each other. This can avoid interference from devices that are not under the same account.
上述实施例中在第一应用的用户界面上显示接力按钮控件的实现过程为如图29所示的流程,包括:C1,终端设备前台运行的业务应用进入到接力业务场景(进入接力业务场景可以是用户界面进入特定的页面,例如视频播放应用从主页面进入视频播放页面)之后,业务应用携带其接力场景标识请求绑定统一接力服务应用,以使统一接力服务应用获知当前在接力业务场景中的业务应用。C2,统一接力服务应用接收到业务应用的绑定请求后,向AIOT服务器(可以是设备能力存储系统)发送查询请求(携带业务应用数据)。AIOT服务器根据该查询请求携带的业务应用数据查找同一账号下支持同样业务的终端设备,即查询接力端设备。C3,服务器向统一接力服务应用反馈查找到的接力端设备的设备信息和可执行接力的应用信息。C4,统一接力服务应用将查询到的接力端设备的设备信息和可执行接力的应用信息返回给业务应用。C5,业务应用根据接力端设备的设备信息和可执行接力的应用信息,在业务应用的用户界面上进行不同的UI展示。In the above embodiment, the implementation process of displaying the relay button control on the user interface of the first application is the process shown in Figure 29, including: C1, the service application running on the foreground of the terminal device enters the relay service scene (entering the relay service scene can be It is the user interface that enters a specific page, for example, after the video playback application enters the video playback page from the main page), the business application carries its relay scene identifier and requests to bind the unified relay service application, so that the unified relay service application can know that it is currently in the relay business scenario business applications. C2. After receiving the binding request of the business application, the unified relay service application sends a query request (carrying business application data) to the AIOT server (which may be a device capability storage system). The AIOT server searches for terminal devices supporting the same service under the same account according to the service application data carried in the query request, that is, queries the relay terminal device. C3. The server feeds back the found device information of the relay end device and the application information that can execute the relay to the unified relay service application. C4. The unified relay service application returns the queried device information of the relay end device and application information that can perform relay to the business application. C5. The business application displays different UIs on the user interface of the business application according to the device information of the relay terminal device and the application information that can execute the relay.
例如,如果发起端设备上在接力业务场景中的业务应用为视频应用,则查找的接力端设备的业务应用的应用信息也为视频应用,则进行视频接力控件的显示。如果发起端设备上在接力接力业务场景中的业务应用为音频应用,则查找的的接力端设备的业务应用的应用信息也为音频应用,则进行音频接力控件的显示。For example, if the service application in the relay service scenario on the initiator device is a video application, the searched application information of the service application of the relay device is also a video application, and the video relay control is displayed. If the service application on the initiator device in the relay service scenario is an audio application, then the searched application information of the service application of the relay device is also an audio application, and the audio relay control is displayed.
如果用户点击上述实施例中的接力按钮控件,还可以由图7所示的用户界面跳转至图9所示的用户界面。在一些实施例中,如果在局域网内存在至少两台可接力设备,并且发起端设备具有显示器,则在显示器上显示可接力设备列表。图9所示的用户界面中列出了至少两台接力端设备的名称(如果只存在一台可接力设备,接力端设备列表只显示一台可接力设备的信息),用户可以通过选择其中一台接力端设备,即从多台接力端设备中确定接力端设备。发起接力终端根据用户的操作生成服务接力指令。同时将服务接力指令发送至确定的接力端设备。服务接力指令中携带有内容服务接力数据(对应于发起端设备的前台运行的第一应用的应用数据)。接力终端接收到该内容服务接力数据之后,可执行该内容服务接力数据对应的内容服务接力操作。If the user clicks the relay button control in the above embodiment, the user interface shown in FIG. 7 can also be jumped to the user interface shown in FIG. 9 . In some embodiments, if there are at least two relayable devices in the local area network, and the initiator device has a display, a list of relayable devices is displayed on the display. The user interface shown in Figure 9 lists the names of at least two relay devices (if there is only one device that can be relayed, the list of relay devices only displays the information of one device that can be relayed), and the user can select one of them One relay device, that is, determine the relay device from multiple relay devices. The initiating relay terminal generates a service relay instruction according to the user's operation. At the same time, the service relay command is sent to the determined relay end device. The service relay instruction carries content service relay data (corresponding to the application data of the first application running in the foreground of the initiator device). After receiving the content service relay data, the relay terminal may execute the content service relay operation corresponding to the content service relay data.
如果当前的服务接力指令为用户误操作发送的指令,例如,用户误点击了接力按钮或者在图9中误点击某台接力端设备,则发起端设备向被选择的接力端设备发送服务接力指令,当前的接力端设备即为接力端设备。在可接力设备列表中显示的可接力设备的名称可以包括设备当前所在位置。接力端设备接收到接收服务接力指令,可执行服务接力指令携带的内容服务接力数据对应的内容服务接力操作。If the current service relay instruction is an instruction sent by the user’s misoperation, for example, the user mistakenly clicked the relay button or clicked a certain relay terminal device by mistake in Figure 9, the initiator device will send the service relay instruction to the selected relay terminal device , the current relay device is the relay device. The name of the relayable device displayed in the relayable device list may include the current location of the device. After receiving the service relay instruction, the relay terminal device may execute the content service relay operation corresponding to the content service relay data carried in the service relay instruction.
在一些实施例中,主卧音箱为发起端设备,第一应用为音频播放应用。则在家庭局域网查找到的可接力设备包括:二楼显示设备、次卧音箱等设备。如果用户当前有意向去向次卧,则通过在可接力设备列表中选择次卧音箱,输入服务接力指令,并将服务接力指令发送至次卧音箱。次卧音箱接收到服务接 力指令后,接力播放音频。In some embodiments, the master bedroom sound box is an initiator device, and the first application is an audio playback application. The relayable devices found in the home LAN include: display devices on the second floor, speakers in the second bedroom, and other devices. If the user currently intends to go to the second bedroom, then by selecting the second bedroom speaker in the relayable device list, input the service relay instruction, and send the service relay instruction to the second bedroom speaker. After the speaker in the second bedroom receives the service relay instruction, it will relay the audio.
如果发起端设备具备显示器,则可以在用户界面上显示“延迟5s播放”、“原设备继续播放”等功能选项选择栏。例如,在图9所示的用户界面,如果用户选择“延迟5s播放”选项,则发起端设备在接收到用户输入的服务接力指令后,需要等待5s,才将服务接力指令发送至可接力设备。在这5s的等待过程中,用户可以随时取消接力操作。例如,发起端设备为显示设备时,用户可以通过按压控制装置上的返回按键,输入取消服务接力指令。这样可以避免用户误发送服务接力指令的情况。经过5s的等待过程,如果未接收到用户输入的取消服务接力指令,则将服务接力指令发送至被选择的可接力设备。If the initiator device has a display, it can display function option selection bars such as "delay 5s playback" and "continue playback on the original device" on the user interface. For example, in the user interface shown in Figure 9, if the user selects the "Delay 5s Play" option, the initiator device needs to wait for 5 seconds after receiving the service relay command input by the user before sending the service relay command to the relayable device . During the 5s waiting process, the user can cancel the relay operation at any time. For example, when the initiator device is a display device, the user may input a command to cancel service relay by pressing a return button on the control device. In this way, the situation that the user sends the service relay instruction by mistake can be avoided. After a waiting process of 5 seconds, if the cancel service relay instruction input by the user is not received, the service relay instruction is sent to the selected relay capable device.
如果用户选择“原设备继续播放”,则被选择的可接力设备接收到服务接力指令,并开始执行接力操作的同时,发起端设备继续接力之前的操作。例如,在图17所示的应用场景中,显示设备100-2执行接力操作播放视频后,显示设备100-1页继续播放该视频。这样可以实现同一个视频在不同的终端设备上同时播放。此时,同一个视频在不同的终端设备上播放的过程和效果互不影响。If the user selects "the original device continues to play", the selected device that can be relayed receives the service relay command and starts to perform the relay operation. At the same time, the initiator device continues the operation before the relay. For example, in the application scenario shown in FIG. 17 , after the display device 100-2 performs a relay operation to play the video, the display device 100-1 continues to play the video. In this way, the same video can be played simultaneously on different terminal devices. At this time, the process and effect of playing the same video on different terminal devices do not affect each other.
在一些实施例中,发起端设备发送服务接力指令至接力端设备之后,接力端设备执行接力操作后。该接力端设备也可以作为发起端设备,发送服务接力指令到其他接力端设备,使得其他接力端设备同样可以执行接力操作。发起端设备也可以同时给多台接力端设备发送服务接力指令,以使多台接力端设备执行接力操作。In some embodiments, after the initiator device sends the service relay instruction to the relay device, the relay device performs the relay operation. The relay end device can also serve as an initiator device, and send a service relay command to other relay end devices, so that other relay end devices can also perform relay operations. The initiator device can also send a service relay command to multiple relay devices at the same time, so that multiple relay devices can perform relay operations.
在一些实施例中,家庭局域网内包括多台显示设备:客厅显示设备、主卧显示设备、次卧显示设备以及客卧显示设备。客厅显示设备作为发起端设备,利用视频播放应用播放视频时,可以同时向其他三台显示设备发送服务接力指令,使得其他三台显示设备接收服务接力指令后,执行接力操作,即执行播放视频操作。也可以是客厅显示设备首先向主卧显示设备发起接指令,主卧显示设备执行播放视频操作后,再由主卧显示设备向次卧显示设备发送服务接力指令,使得次卧显示设备执行播放视频操作。最后由次卧显示设备向客卧显示设备发送服务接力指令,使得客卧显示设备执行播放视频操作。用户可以在每台终端设备上设置自动发送服务接力指令,也可以由用户输入服务接力指令后,再根据服务接力指令向其他终端设备发送接力请求。In some embodiments, the home local area network includes multiple display devices: a display device in the living room, a display device in the master bedroom, a display device in the second bedroom, and a display device in the guest bedroom. The display device in the living room is used as the initiator device. When using the video playback application to play video, it can send service relay commands to the other three display devices at the same time, so that the other three display devices will perform the relay operation after receiving the service relay command, that is, perform the video playback operation. . It can also be that the display device in the living room first initiates a receiving command to the display device in the master bedroom, and after the display device in the master bedroom executes the video playback operation, the display device in the master bedroom sends a service relay command to the display device in the second bedroom, so that the display device in the second bedroom executes the video playback operation. operate. Finally, the display device in the second bedroom sends a service relay command to the display device in the guest bedroom, so that the display device in the guest bedroom executes the operation of playing video. The user can set each terminal device to automatically send the service relay command, or the user can input the service relay command, and then send a relay request to other terminal devices according to the service relay command.
当用户发现当前服务接力指令为误发送,则可继续输入接力打断操作,设备根据打断操作生成接收接力打断指令。接力打断指令携带有业务信息和接力端设备的设备ID,AIOT服务器根据设备ID将打断指令和业务信息发送至对应的接力端设备。接力端设备根据接力打断指令,不执行与内容服务接力数据对应的内容服务接力操作。接力端设备接收接力打断指令,需要在接力端设备执行内容服务接力数据对应的内容服务接力操作之前。另外,接力端设备上安装的用户执行接力操作的应用,可以是处于开启状态也可以是未开启状态。如果接受服务接力指令之后未接收到打断指令,则接力端设备根据接力服务指令开启未开启的接力应用,以使执行相应的接力操作。When the user finds that the current service relay command is sent by mistake, he can continue to input the relay interrupt operation, and the device generates and receives the relay interrupt command according to the interrupt operation. The relay interrupt command carries business information and the device ID of the relay device, and the AIOT server sends the interrupt command and business information to the corresponding relay device according to the device ID. The relay end device does not execute the content service relay operation corresponding to the content service relay data according to the relay interruption instruction. The relay terminal device needs to receive the relay interruption command before the relay terminal device executes the content service relay operation corresponding to the content service relay data. In addition, the application installed on the relay end device for the user to perform the relay operation may be in an open state or not in an open state. If the interruption instruction is not received after receiving the service relay instruction, the relay end device starts the unopened relay application according to the relay service instruction, so as to perform the corresponding relay operation.
在一些实施例中,接力打断指令可以是根据用户在接力端设备上输入的打断操作生成的指令。接力设备接收到接力服务指令后,可以在接力设备上显示接力对话框,接力对话框包括确认接力按钮控件和取消接力按钮控件。如果用户点击确认接力按钮控件,则执行与内容服务接力数据对应的内容服务接力操作。如果用户点击取消接力按钮控件,则根据用户操作,生成接力打断指令,接力设备根据该接力打断指令不执行与内容服务接力数据对应的内容服务接力操作。In some embodiments, the relay interruption instruction may be an instruction generated according to an interruption operation input by the user on the relay end device. After the relay device receives the relay service instruction, it can display a relay dialog box on the relay device, and the relay dialog box includes a relay confirmation button control and a relay cancel button control. If the user clicks the confirmation relay button control, the content service relay operation corresponding to the content service relay data is executed. If the user clicks the cancel relay button control, a relay interruption instruction is generated according to the user operation, and the relay device does not execute the content service relay operation corresponding to the content service relay data according to the relay interruption instruction.
在接力端设备上也可以显示接力倒计时对话框,接力倒计时对话框上显示倒计时时间确认接力按钮控件和取消接力按钮控件。用户点击确认接力按钮控件或取消接力按钮控件,输入确认接力或取消接力的操作,接力端设备相应的生成确认服务接力指令或接力打断指令。如果时间超过倒计时时间,用户未 点击任何按钮控件,则可以自动生成接力服务指令。The relay countdown dialog box can also be displayed on the relay end device, and the relay countdown time confirmation button control and the relay button control cancel button control are displayed on the relay countdown dialog box. The user clicks the confirm relay button control or the cancel relay button control, and inputs the operation of confirming relay or canceling relay, and the relay end device generates a confirmation service relay command or a relay interrupt command correspondingly. If the time exceeds the countdown time and the user does not click any button control, a relay service instruction can be automatically generated.
在一些实施例中,接力打断指令还可以是根据用户在发起端设备上输入的打断操作生成的指令。接力设备接收到接力服务指令后,在执行与内容服务接力数据对应的内容服务接力操作之前,在发起端设备上显示接力对话框(显示接力对话框的触发条件可以是接力端设备接收到接力服务指令之后,向发起端设备反馈接收到接力服务指令的结果,显示接力对话框的触发条件也可以是自身发出接力服务指令)。接力对话框上显示取消接力按钮控件和确认接力按钮控件。如果用户点击取消接力按钮控件,则根据用户操作,生成接力打断指令。并将接力打断指令发送至接力端设备。如果用户点击确认接力按钮控件,则根据用户操作,生成确认服务接力指令。接力对话框可以显示显示倒计时,例如5秒内用户未点击任何按钮控件,则取消显示接力对话框。本申请实施例中的打断操作均假设在接力端设备执行接力操作之前进行的。In some embodiments, the relay interruption instruction may also be an instruction generated according to an interruption operation input by the user on the initiator device. After the relay device receives the relay service instruction, before executing the content service relay operation corresponding to the content service relay data, the relay dialog box is displayed on the initiator device (the trigger condition for displaying the relay dialog box can be that the relay terminal device receives the relay service After the instruction, the result of receiving the relay service instruction is fed back to the initiator device, and the trigger condition for displaying the relay dialog box can also be that the relay service instruction is issued by itself). A Cancel Relay button control and a Confirm Relay button control are displayed on the relay dialog. If the user clicks the button control to cancel the relay, a relay interruption instruction is generated according to the user operation. And send the relay interruption command to the relay end device. If the user clicks the confirmation relay button control, a confirmation service relay instruction is generated according to the user operation. The relay dialog can display a countdown. For example, if the user does not click any button control within 5 seconds, the relay dialog will be canceled. The interruption operation in the embodiment of the present application is assumed to be performed before the relay operation is performed by the relay terminal device.
发起端设备上可以设置声音采集器,声音采集器接收用户输入的语音信号。例如,从用户输入的语音信号中识别出语音文本“取消接力”。发起端设备根据该语音文本生成接力打断指令携带有业务信息和接力端设备的设备ID,AIOT服务器根据设备ID将打断指令和业务信息发送至对应的接力端设备。接力端设备根据接力打断指令不执行与内容服务接力数据对应的内容服务接力操作。A sound collector can be set on the initiator device, and the sound collector receives voice signals input by the user. For example, the voice text "Cancel Handoff" is recognized from the voice signal input by the user. The initiating device generates a relay interrupt command based on the voice text, which carries business information and the device ID of the relay device, and the AIOT server sends the interrupt command and business information to the corresponding relay device according to the device ID. The relay end device does not execute the content service relay operation corresponding to the content service relay data according to the relay interruption instruction.
在一些实施例中,接力端设备在不执行与内容服务接力数据对应的内容服务接力操作之后,还向发起端设备反馈接力结果。发起端设备根据反馈的接力结果,可以继续执行内容服务接力数据对应的内容服务接力操作。即继续执行接力之前的操作。发起端设备向接力端设备发送服务接力指令之后,发起端设备可以中断之前的操作,也可以不中断之前的操作。In some embodiments, after the relay end device does not perform the content service relay operation corresponding to the content service relay data, it also feeds back the relay result to the initiator device. The initiator device may continue to perform the content service relay operation corresponding to the content service relay data according to the relay result fed back. That is, the operation before the relay is continued. After the initiating device sends a service relay instruction to the relaying device, the initiating device may or may not interrupt the previous operation.
例如,显示设备在接力之前正在播放视频,在向接力端设备发送服务接力指令时,可以中断播放视频的操作,也可以不中断播放视频的操作。如果中断播放视频的操作,在接收到接力端设备反馈的接力结果(未执行内容服务接力数据对应的内容服务接力操作)之后,可以继续播放视频的操作。也可以在发起端设备的显示器上弹出对话框,提示用户是否在发起端设备行继续播放视频的操作。在弹出的对话框上可以设置“是”按钮控件和“否”按钮控件。如果用户选择“是”按钮控件,则根据用户输入的操作,继续播放视频的操作。如果用户选择“否”按钮控件,则根据用户输入的操作,不继续播放视频的操作。For example, the display device is playing a video before the relay, and when sending a service relay command to the relay terminal device, the operation of playing the video may be interrupted, or the operation of playing the video may not be interrupted. If the operation of playing the video is interrupted, the operation of playing the video can be continued after receiving the relay result fed back by the relay end device (the content service relay operation corresponding to the content service relay data has not been executed). A dialog box may also pop up on the display of the initiator device to prompt the user whether to continue playing the video on the initiator device. A "Yes" button control and a "No" button control can be set on the pop-up dialog box. If the user selects the "Yes" button control, the operation of playing the video will continue according to the operation input by the user. If the user selects the "No" button control, according to the operation entered by the user, the operation of playing the video will not continue.
下面结合如图30所示的服务接力打断的实现过程图,对服务接力打断的过程进行阐述:首先系统启动后,由统一接力服务应用编译整个系统中各个业务应用的接力能力,并将各个业务应用的接力能力上报至AIOT服务器。The following describes the process of service relay interruption in combination with the implementation process diagram of service relay interruption as shown in Figure 30: First, after the system is started, the unified relay service application compiles the relay capabilities of each business application in the entire system, and The relay capability of each business application is reported to the AIOT server.
D1至D8与前文实施例中的B1至B8过程类似,本示例对D1至D8的过程不再赘述。D1 to D8 are similar to the processes of B1 to B8 in the foregoing embodiments, and the process of D1 to D8 will not be repeated in this example.
本申请实施例中,可以在接力端设备执行相应动作之前,对接力活动进行打断。如图31中的D9-D10,为在接力端设备打断服务接力的过程。In the embodiment of the present application, the relay activity may be interrupted before the relay device performs a corresponding action. As shown in D9-D10 in Figure 31, it is the process of interrupting the service relay at the relay end device.
D9:在进行D8进程之前,用户在接力端设备输入打断指令,则接力端设备不执行相应动作,即不执行D8进程。并由接力端设备的统一接力服务应用将打断后的组装数据发送至AIOT服务器。其中,组装数据包括打断结果信息、业务信息以及发起端设备的设备信息。D9: Before the D8 process, the user inputs an interrupt command on the relay device, and the relay device does not execute the corresponding action, that is, the D8 process is not executed. And the unified relay service application of the relay end device sends the interrupted assembly data to the AIOT server. Wherein, the assembly data includes interruption result information, service information, and device information of the initiator device.
D10:AIOT将打断结果信息和业务信息,根据设备信息发送至发起端设备的统一接力服务应用。之后根据打断结果信息和业务信息,在发起端设备上显示接力服务打断的提示信息。如果当前发起端设备上已经切换其他应用,同样也可以在发起端设备上显示与该打断结果信息和业务信息相关的接力服务打断的提示信息。D10: AIOT will interrupt the result information and business information, and send them to the unified relay service application of the initiator device according to the device information. Then, according to the interruption result information and the service information, the prompt information of the interruption of the relay service is displayed on the initiator device. If other applications have been switched on the current initiating device, the relay service interruption prompt information related to the interruption result information and service information may also be displayed on the initiating device.
如图21中的D11-D12,为在发起端设备打断服务接力的过程。As shown in D11-D12 in Figure 21, it is the process of interrupting the service relay at the initiator device.
D11:用户在发起端设备上通过打断接力按钮或者语音输入打断接力触发接力打断,并将接力打断 指令发送至AIOT服务器。接力打断指令携带有业务信息(应用服务ID)和接力端设备的设备信息。D11: The user interrupts the relay through the interrupt relay button or voice input on the initiator device to trigger the relay interruption, and sends the relay interruption command to the AIOT server. The relay interrupt command carries business information (application service ID) and device information of the relay end device.
D12:AIOT服务器根据设备信息查找到接力端设备后,向接力端设备发送该接力打断指令。接力端设备的统一接力服务应用根据应用服务接力ID查询到相应的应用服务,并取消该应用服务的启动,以使得接力端设备不执行相应的接力动作。D12: After the AIOT server finds the relay end device according to the device information, it sends the relay interrupt command to the relay end device. The unified relay service application of the relay end device queries the corresponding application service according to the application service relay ID, and cancels the activation of the application service, so that the relay end device does not perform the corresponding relay action.
接力端设备开始根据内容服务接力数据执行对应操作之后,用户可在任意时刻结束接力。例如,用户可以在接力端设备上输入结束服务接力指令,接力端设备接收到结束服务接力指令后,即停止根据内容服务接力数据执行对应操作。或者用户在发起端设备上输入结束服务接力指令,发起端设备再将结束服务接力指令发送至接力端设备。接力端设备从发起端设备接收到结束服务接力指令字后,停止根据内容服务接力数据执行对应操作。用户输入结束服务接力指令的方式,可以是语音输入、选择按钮输入以及手势输入等方式,本申请对此不作限制。After the relay end device starts to perform corresponding operations according to the content service relay data, the user can end the relay at any time. For example, the user may input an instruction to end service relay on the relay device, and the relay device will stop performing corresponding operations according to the content service relay data after receiving the end service relay instruction. Alternatively, the user inputs an end service relay command on the initiating device, and the initiating device sends the end service relay command to the relay device. After the relay end device receives the end service relay instruction word from the initiator device, it stops performing corresponding operations according to the content service relay data. The way for the user to input the command to end the service relay may be voice input, button selection input, gesture input, etc., which is not limited in this application.
在图17所示的应用场景中,显示设备100-2接收到接力请求后,接力播放视频。此时在显示设备100-1或者显示设备100-2上可以显示接力中断按钮。当用户选择显示设备100-1或者显示设备100-2上的接力中断按钮时,输入接力中断指令。如果在显示设备100-1上选择接力中断按钮,则在显示设备100-1上输入接力中断指令。显示设备100-1再将接力中断指令发送至显示设备100-2。显示设备100-2根据接力中断指令结束接力播放视频。如果在显示设备100-2上选择接力中断按钮,则是直接在显示设备100-2上输入接力中断指令。最终显示设备100-2根据接力中断指令结束接力播放视频。In the application scenario shown in FIG. 17 , the display device 100 - 2 plays the video in relay after receiving the relay request. At this time, a relay interruption button may be displayed on the display device 100-1 or the display device 100-2. When the user selects the relay interruption button on the display device 100-1 or the display device 100-2, a relay interruption instruction is input. If the relay interruption button is selected on the display device 100-1, a relay interruption instruction is input on the display device 100-1. The display device 100-1 then sends the relay interruption instruction to the display device 100-2. The display device 100-2 ends the relay play video according to the relay interruption instruction. If the relay interruption button is selected on the display device 100-2, the relay interruption instruction is directly input on the display device 100-2. Finally, the display device 100-2 ends the relay play video according to the relay interruption instruction.
在接力端设备结束根据内容服务接力数据执行对应操作之后,即结束内容服务接力操作之后,接力端设备可生成接力结束反馈结果,并将该接力结束反馈结果发送至发起端设备,以实现内容服务接力返回操作。该接力结束反馈结果包括接力端设备执行内容服务接力操作的执行进度数据,发起端设备可以根据执行进度数据继续执行内容服务接力操作。例如,可以根据媒资内容在接力端设备上的播放进度,在发起端设备上继续播放该媒资内容。After the relay end device finishes performing the corresponding operation according to the content service relay data, that is, after the content service relay operation ends, the relay end device can generate a relay end feedback result and send the relay end feedback result to the initiator device to realize the content service Relay operation. The relay end feedback result includes the execution progress data of the content service relay operation performed by the relay end device, and the initiator device can continue to execute the content service relay operation according to the execution progress data. For example, the media asset content can be played continuously on the initiator device according to the progress of the media asset content on the relay device.
在图17所示的应用场景中,显示设备100-2根据接力中断指令结束接力播放视频后,将当前视频的播放进度反馈至显示设备100-1。例如,结束接力时,在显示设备100-2上的视频M的播放进度为播放到1小时10分钟6秒。显示设备100-2将视频播放进度52%反馈至显示设备100-1。显示设备100-1接收到反馈的播放进度之后,继续从1小时10分6秒开始播放视频M。In the application scenario shown in FIG. 17 , after the display device 100 - 2 ends the relay play of the video according to the relay interruption instruction, it feeds back the playback progress of the current video to the display device 100 - 1 . For example, when the relay is over, the playing progress of the video M on the display device 100-2 is 1 hour, 10 minutes and 6 seconds. The display device 100-2 feeds back the video playback progress of 52% to the display device 100-1. After the display device 100-1 receives the feedback of the playback progress, it continues to play the video M from 1 hour, 10 minutes and 6 seconds.
在一些实施例中,如果发起端设备当前处于第一状态时,发起端设备可根据执行进度数据继续执行内容服务接力操作,则发起端设备根据执行进度数据继续执行内容服务接力操作。In some embodiments, if the originator device is currently in the first state, the originator device can continue to execute the content service relay operation according to the execution progress data, and then the originator device continues to execute the content service relay operation according to the execution progress data.
在一些实施例中,如果发起端设备当前处于第二状态时,发起端设备不可根据执行进度数据继续执行内容服务接力操作,则发起端设备不根据执行进度数据继续执行内容服务接力操作。In some embodiments, if the initiator device is currently in the second state, the initiator device cannot continue to execute the content service relay operation according to the execution progress data, then the originator device does not continue to execute the content service relay operation according to the execution progress data.
上述实施例的信令处理时序为,如图31所示的信令图:The signaling processing sequence of the above embodiment is as shown in the signaling diagram in Figure 31:
步骤一、发起端设备向AIOT服务器发送接力服务指令(携带有发起端设备当前前台运行应用的业务信息和接力端设备的设备信息)。 Step 1. The initiator device sends a relay service command (carrying the service information of the application currently running in the foreground of the initiator device and the device information of the relay device) to the AIOT server.
步骤二、AIOT服务器根据设备信息将业务信息和接力服务指令发送至对应的接力终端设设备。Step 2: The AIOT server sends the business information and relay service instructions to the corresponding relay terminal device according to the device information.
步骤三、接力端设备接收到业务信息,根据业务信息执行相应的接力操作。业务信息可以包括业务的基本信息和在接力端设备上业务的执行进度数据。Step 3: The relay terminal device receives the service information, and performs a corresponding relay operation according to the service information. The service information may include the basic information of the service and the execution progress data of the service on the relay device.
例如,如果发起端设备当前前台运行的应用为媒资播放相关应用,则业务信息可以包括媒资数据的名称等基本信息,还包括接力时该媒资在发起端设备播放时间点。接力端设备根据上述基本信息和播放时间点继续播放该媒资。For example, if the application currently running in the foreground of the initiator device is an application related to media asset playback, the service information may include basic information such as the name of the media asset data, as well as the time when the media asset is played on the initiator device during relay. The relay device continues to play the media asset according to the above basic information and playing time.
步骤四、接力端设备接收到中断接力操作的指令后,即不再继续执行相应的接力操作。中断执行接 力操作后,接力端设备生成接力结束反馈结果。接力结束反馈结果可以包括业务的基本信息和接力端设备中断执行接力操作时,业务的执行进度数据。Step 4: After receiving the instruction to interrupt the relay operation, the relay terminal device does not continue to perform the corresponding relay operation. After interrupting the execution of the relay operation, the device at the relay end generates a relay end feedback result. The feedback result of the completion of the relay may include basic information of the business and execution progress data of the business when the relay terminal device interrupts the execution of the relay operation.
例如,接力结束反馈结果包括业务信息和发起端设备的设备信息。此时的业务信息也可以包括媒资数据的名称,还包括接力端设备中断执行接力操作时,媒资在接力端设备上的播放时间点。For example, the feedback result of the relay end includes service information and device information of the initiator device. The service information at this time may also include the name of the media asset data, and also include the playing time of the media asset on the relay end device when the relay end device interrupts the relay operation.
步骤五、AIOT服务器接收接力端设备发送的接力结束反馈结果,并将接力结束反馈结果发送至发起端设备。Step 5: The AIOT server receives the relay end feedback result sent by the relay end device, and sends the relay end feedback result to the initiator device.
步骤六、如果接收到接力结束反馈结果时,发起端设备处于第一状态,根据执行进度数据继续执行接力操作,其中,在发起端设备处于第一状态时,发起端设备可根据执行进度数据继续执行内容服务接力操作。Step 6. If the initiator device is in the first state when receiving the relay end feedback result, continue to execute the relay operation according to the execution progress data, wherein, when the initiator device is in the first state, the initiator device can continue according to the execution progress data Perform content service relay operations.
步骤七、如果接收到接力结束反馈结果时,发起端设备处于第二状态,不根据执行进度数据继续执行接力操作,其中,在发起端设备处于第二状态时,发起端设备不可根据执行进度数据继续执行内容服务接力操作。Step 7. If the initiator device is in the second state when receiving the relay end feedback result, it does not continue to execute the relay operation according to the execution progress data. Proceed to the content service relay operation.
这样,在内容服务接力返回场景中,能够充分考虑发起端设备的当前状态,避免影响发起端设备的正常使用,从而提升用户使用体验。发起端设备于接力端设备之间可以直接传送指令和数据,也可以通过服务器转发指令和数据,本申请不作限制。In this way, in the content service relay return scenario, the current state of the initiator device can be fully considered to avoid affecting the normal use of the initiator device, thereby improving user experience. The initiator device and the relay device can directly transmit instructions and data, or forward instructions and data through the server, which is not limited in this application.
发起端设备处于第一状态时,可以为以下几种不同的情形:When the initiator device is in the first state, it may be in the following different situations:
第一种情形为,在接收到接力结束反馈结果时,发起端设备当前处于第一业务内容场景中,其中,第一业务内容场景为接力之前发起端设备处于的业务内容场景。The first situation is that when receiving the feedback result of the relay end, the initiating device is currently in the first service content scene, wherein the first service content scene is the service content scene in which the initiating device was in before the relay.
例如,在接力之前,发起端设备上正在前台运行的应用为视频应用。在接收到接力结束反馈结果时,发起端设备上正在前台运行的应用仍然为视频应用。则发起端设备可以根据执行进度数据继续执行内容服务接力操作,即继续进行媒资内容的播放。For example, before the relay, the application running in the foreground on the initiator device is a video application. When receiving the relay end feedback result, the application running in the foreground on the initiating device is still a video application. Then the initiator device can continue to execute the content service relay operation according to the execution progress data, that is, continue to play the media asset content.
如果发起端设备上正在前台运行的应用虽然为视频应用,但是发起端设备的视频应用播放的媒资内容,不为接力之前播放的媒资内容。可以在发起端设备播放完当前播放的媒资内容之后,再根据执行进度数据播放之前的媒资内容。If the application running in the foreground on the initiator device is a video application, the media content played by the video application on the initiator device is not the media content played before the relay. After the initiating device finishes playing the currently played media content, the previous media content can be played according to the execution progress data.
第二种情形为,在接收到接力结束反馈结果时,发起端设备当前未处于任何业务内容场景。例如,可以时发起端设备上没有正在前台运行的应用。则发起端设备可以根据执行进度数据继续执行内容服务接力操作。The second situation is that when receiving the relay end feedback result, the initiating device is not currently in any service content scene. For example, there may be no applications running in the foreground on the initiator device. Then the initiator device can continue to execute the content service relay operation according to the execution progress data.
发起端设备处于第二状态时,可以为以下几种不同的情形:When the initiator device is in the second state, it may be in the following different situations:
第一种情形为,在接收到接力结束反馈结果时,发起端设备当前处于第二业务内容场景中,第二业务内容场景与第一业务内容场景不同,第一业务内容场景为接力之前发起端设备处于的业务内容场景。例如,在接力之前,发起端设备上正在前台运行的应用为视频应用。在接收到接力结束反馈结果时,发起端设备上正在前台运行的应用为音频应用。则发起端设备不可以根据执行进度数据继续执行内容服务接力操作,即发起端设备不能继续进行媒资内容的播放。The first situation is that when receiving the feedback result of the end of the relay, the initiator device is currently in the second business content scene, the second business content scene is different from the first business content scene, and the first business content scene is the originating end device before the relay. The business content scenario in which the device is located. For example, before the relay, the application running in the foreground on the initiator device is a video application. When receiving the relay end feedback result, the application running in the foreground on the initiator device is an audio application. Then the initiator device cannot continue to execute the content service relay operation according to the execution progress data, that is, the initiator device cannot continue to play the media asset content.
第二种情形为,发起接力终端当前处于离线状态。此时发起接力终端也不可以根据执行进度数据继续执行内容服务接力操作,即发起端设备不能继续进行媒资内容的播放。接力结束反馈结果可以保存在服务器上,当发起端设备从离线状态进入在线状态时,可以向服务器发送状态更改请求。服务器接收到发起端设备的状态更改请求,确定发起端设备的状态为在线状态之后,再将接力结束反馈结果发送至发起端设备。进一步如果发起端设备进入在线状态之后,未处于任何业务内容场景或者处于第一业务内容场景,则可根据执行进度数据继续执行内容服务接力操作。The second situation is that the relay initiating terminal is currently offline. At this time, the initiating relay terminal cannot continue to execute the content service relay operation according to the execution progress data, that is, the initiating device cannot continue to play the media content. The feedback result of the relay end can be saved on the server, and when the initiator device enters the online state from the offline state, it can send a state change request to the server. After receiving the status change request of the initiator device, the server determines that the status of the initiator device is online, and then sends the relay end feedback result to the initiator device. Further, if the initiator device is not in any business content scene or in the first business content scene after entering the online state, it can continue to execute the content service relay operation according to the execution progress data.
在一些实施例中,在接收到接力结束反馈结果时,如果发起端设备当前虽然处于上述实施例中的第一状态,但是根据执行进度数据确定,接力端设备已经根据内容服务接力数据执行完对应的内容服务接力操作。则发起端设备同样不根据执行进度数据继续执行内容服务接力操作。In some embodiments, when receiving the relay end feedback result, if the initiating device is currently in the first state in the above embodiment, it is determined according to the execution progress data that the relay device has completed the corresponding execution based on the content service relay data. Content service relay operation. Then the initiator device also does not continue to execute the content service relay operation according to the execution progress data.
在一些实施例中,如果发起端设备处于第一状态,接收到接力结束反馈结果,发起端设备可以根据执行进度数据继续执行内容服务接力操作。则用户可以感知到发起端设备上的操作变化。例如,根据执行进度数据继续播放媒资内容,则用户能够在发起端设备上观看到继续播放的媒资内容。但是如果发起端设备处于第二状态,接收到接力结束反馈结果之后,发起端设备不可以根据执行进度数据继续执行内容服务接力操作。则用户不可以感知到发起端设备上的操作变化。In some embodiments, if the initiator device is in the first state and receives the feedback result of the completion of the relay, the initiator device may continue to execute the content service relay operation according to the execution progress data. Then the user can perceive the operation change on the initiator device. For example, if the media asset content continues to be played according to the execution progress data, the user can watch the media asset content that continues to be played on the initiator device. However, if the initiating device is in the second state, after receiving the relay end feedback result, the initiating device cannot continue to execute the content service relay operation according to the execution progress data. Then the user cannot perceive the operation change on the initiator device.
此时,可以在发起端设备上生成返回失败提示,用于提示用户当前内容服务接力返回失败。例如,可以在接力端设备和/或发起端设备上弹出对话框,对话框中包括提示语“内容服务接力返回失败“。接力端设备和/或发起端设备还可以语音播报返回失败提示,例如语音播报提示语”内容服务接力返回失败“,从而进一步提升用户的交互体验。At this point, a return failure prompt may be generated on the initiator device to prompt the user that the relay return of the current content service fails. For example, a dialog box may be popped up on the relay device and/or the initiator device, and the dialog box includes a prompt saying "relay return of content service failed". The relay end device and/or the originator device can also voice broadcast the return failure prompt, for example, the voice broadcast prompt "content service relay return failure", so as to further improve the user's interactive experience.
本申请还提供一种内容服务接力返回方法,如图32所示的内容服务接力返回方法流程图,所述方法包括以下步骤:This application also provides a content service relay return method, as shown in Figure 32, the flow chart of the content service relay return method, the method includes the following steps:
步骤S101、向接力端设备发送服务接力指令,服务接力指令携带有内容服务接力数据,以使接力端设备执行内容服务接力数据对应的内容服务接力操作。Step S101 , sending a service relay command to the relay device. The service relay command carries content service relay data, so that the relay device executes a content service relay operation corresponding to the content service relay data.
步骤S102、接收接力端设备发送的接力结束反馈结果,其中,接力结束反馈结果为接力端设备在结束内容服务接力操作后生成的结果,接力结束反馈结果包括接力端设备执行内容服务接力操作的执行进度数据。Step S102: Receive the relay end feedback result sent by the relay end device, wherein the relay end feedback result is the result generated by the relay end device after the content service relay operation is completed, and the relay end feedback result includes the execution of the content service relay operation by the relay end device progress data.
步骤S103、在发起端设备当前处于第一状态时,根据执行进度数据继续执行内容服务接力操作,其中,在发起端设备处于第一状态时,发起端设备可根据执行进度数据继续执行内容服务接力操作。Step S103, when the initiator device is currently in the first state, continue to execute the content service relay operation according to the execution progress data, wherein, when the originator device is in the first state, the initiator device can continue to execute the content service relay operation according to the execution progress data operate.
步骤S104、在发起端设备当前处于第二状态时,不根据执行进度数据继续执行内容服务接力操作,其中,在发起端设备处于第二状态时,发起端设备不可根据执行进度数据继续执行内容服务接力操作。Step S104, when the initiator device is currently in the second state, continue to execute the content service relay operation according to the execution progress data, wherein, when the initiator device is in the second state, the originator device cannot continue to execute the content service according to the execution progress data Relay operation.
这样,在内容服务接力返回场景中,能够充分考虑发起端设备的当前状态,避免影响发起端设备的正常使用,从而提升用户使用体验。发起端设备于接力端设备之间可以直接传送指令和数据,也可以通过服务器转发指令和数据,本申请不作限制。In this way, in the content service relay return scenario, the current state of the initiator device can be fully considered to avoid affecting the normal use of the initiator device, thereby improving user experience. The initiator device and the relay device can directly transmit instructions and data, or forward instructions and data through the server, which is not limited in this application.
在一些实施例中,在发起端设备当前处于第一状态时,发起端设备当前处于第一业务内容场景中,或者,发起端设备当前未处于任何业务内容场景。其中,第一业务内容场景为接力之前所述发起端设备处于的业务内容场景。In some embodiments, when the initiator device is currently in the first state, the initiator device is currently in the first service content scenario, or the initiator device is not currently in any service content scenario. Wherein, the first service content scene is the service content scene where the initiator device is in before the relay.
在一些实施例中,发起端设备当前处于第二状态时,述发起端设备当前处于第二业务内容场景中,或者,发起端设备当前处于离线状态。其中,第二业务内容场景与第一业务内容场景不相同。In some embodiments, when the initiator device is currently in the second state, the initiator device is currently in the second service content scenario, or the initiator device is currently in an offline state. Wherein, the second business content scenario is different from the first business content scenario.
本申请还提供一种显示设备的内容显示方法,如图33所示的方法流程图,所述方法包括以下步骤:The present application also provides a content display method of a display device, as shown in the flow chart of the method in FIG. 33 , the method includes the following steps:
步骤S201、在发起端设备上的前台运行第一应用,根据第一应用的应用数据查找可接力设备,其中,可接力设备为可执行第一应用的应用数据对应操作的终端设备。Step S201 , run the first application in the foreground on the initiator device, and search for a relayable device according to the application data of the first application, wherein the relayable device is a terminal device that can perform operations corresponding to the application data of the first application.
步骤S202、如果存在可接力设备,在第一应用的用户界面上显示接力按钮控件,其中,接力按钮控件用于触发内容服务接力进程。Step S202 , if there is a relayable device, display a relay button control on the user interface of the first application, wherein the relay button control is used to trigger a content service relay process.
步骤S203、如果不存在可接力设备,在第一应用的用户界面上显示接力引导按钮控件,其中,接力引导按钮控件用于触发显示内容服务接力引导信息。Step S203 , if there is no relay-capable device, display a relay guide button control on the user interface of the first application, wherein the relay guide button control is used to trigger display of content service relay guide information.
这样,能够在不存在可接力当前智能设备内容服务的终端设备时,在用户界面上显示接力引导按钮控件,能够引导用户进行与内容服务接力相关的下一步操作,从而提升用户使用体验。In this way, when there is no terminal device that can relay the content service of the current smart device, the relay guidance button control can be displayed on the user interface, and the user can be guided to perform the next step related to the content service relay, thereby improving the user experience.
在一些实施例中,可以根据第一应用的类型,显示不同的接力按钮控件。例如,如果第一应用为视频应用,则在第一应用的用户界面上显示视频接力按钮控件。如果第一应用为音频应用,则在第一应用的用户界面上显示音频接力按钮控件。如果第一应用为图片显示应用,则在第一应用的用户界面上显示图片显示接力按钮控件。In some embodiments, different relay button controls may be displayed depending on the type of the first application. For example, if the first application is a video application, a video relay button control is displayed on the user interface of the first application. If the first application is an audio application, an audio relay button control is displayed on the user interface of the first application. If the first application is a picture display application, a picture display relay button control is displayed on the user interface of the first application.
在一些实施例中,还可以在第一应用的用户界面上显示可接力设备上第二应用的名称,第二应用为可执行第一应用的应用数据对应操作的应用。In some embodiments, the name of the second application on the relay-capable device may also be displayed on the user interface of the first application, and the second application is an application that can perform operations corresponding to the application data of the first application.
在一些实施例中,还可以在第一应用的用户界面上显示可接力设备上第二应用的用户界面的缩略图,第二应用为可执行第一应用的应用数据对应操作的应用。In some embodiments, a thumbnail of a user interface of a second application on the relayable device may also be displayed on the user interface of the first application, and the second application is an application that can perform operations corresponding to the application data of the first application.
本申请还提供一种终端设备的匹配方法,应用于内容服务接力的场景中,如图34所示的方法流程图,所述方法包括以下步骤:The present application also provides a terminal device matching method, which is applied in the content service relay scenario, as shown in the method flow chart in Figure 34, and the method includes the following steps:
步骤S301、当前终端设备(发起端设备)从声音采集器接收语音信号,从语音信号中识别语音文本(通过语音服务器识别语音文本)。Step S301, the current terminal device (initiating device) receives the voice signal from the sound collector, and recognizes the voice text from the voice signal (recognition of the voice text through the voice server).
步骤S302、如果语音文本中包括设备信息,则根据设备信息确定接力设备,其中设备信息指向唯一的接力设备。Step S302, if the voice text includes device information, determine the relay device according to the device information, where the device information points to a unique relay device.
步骤S303、如果语音文本包括设备类型信息,则根据设备类型信息确定可接力设备,以及根据可接力设备的接力维度信息和当前终端设备的发起维度信息之间的关系从可接力设备中确定接力设备,其中,设备类型信息指向至少两台可接力设备。Step S303, if the voice text includes device type information, determine the relayable device according to the device type information, and determine the relayable device from among the relayable devices according to the relationship between the relay dimension information of the relayable device and the initiation dimension information of the current terminal device , where the device type information points to at least two relayable devices.
步骤S304、将确定的接力设备与当前终端设备建立接力关系。Step S304, establishing a relay relationship between the determined relay device and the current terminal device.
在一些实施例中,设备的维度信息包括第一维度、第二维度以及第三维度,第一维度包括第二维度,第二维度包括第三维度。第一维度为账号,第二维度为房间属性标识,例如可以是用户在不同地区的房子,第三维度为房间区域标识,例如可以是用户在不同房子中的不同房间。账号为用户在统一接力服务应用注册的账户ID。用户可在每个账号维度下创建多个家,例如,用户拥有多套房子,分别位于A地、B地以及C地。A地、B地以及C地的房子即为框架图中的第二维度。第三维度为基于家维度建立的多个物理空间,例如,主卧、客厅、次卧、厨房等空间。则根据可接力设备的接力维度信息和终端设备的第二空间之间的关系确定接力设备的步骤可以是:In some embodiments, the dimension information of the device includes a first dimension, a second dimension, and a third dimension, the first dimension includes the second dimension, and the second dimension includes the third dimension. The first dimension is the account number, the second dimension is the room attribute identification, for example, it can be the user's house in different regions, and the third dimension is the room area identification, for example, it can be the user's different rooms in different houses. The account is the account ID registered by the user in the unified relay service application. Users can create multiple homes under each account dimension. For example, a user owns multiple houses, which are located in A, B, and C respectively. The houses on land A, land B, and land C are the second dimension in the frame diagram. The third dimension is a plurality of physical spaces established based on the home dimension, such as master bedroom, living room, second bedroom, kitchen and other spaces. Then, the step of determining the relay device according to the relationship between the relay dimension information of the relayable device and the second space of the terminal device may be:
如果存在第一维度、第二维度以及第三维度分别与终端设备的第一维度、第二维度以及第三维度匹配的可接力设备时,将该可接力设备确定为接力设备;If there is a relayable device whose first dimension, second dimension, and third dimension respectively match the first dimension, second dimension, and third dimension of the terminal device, determine the relayable device as the relaying device;
或者,如果不存在第一维度、第二维度以及第三维度分别与终端设备的第一维度、第二维度以及第三维度匹配的可接力设备,且存在第一维度和第二维度分别与终端设备的第一维度和第二维度匹配的可接力设备,将该可接力设备确定为接力设备。Or, if there is no relayable device whose first dimension, second dimension, and third dimension respectively match the first dimension, second dimension, and third dimension of the terminal device, and there is a first dimension and second dimension that are respectively compatible with the terminal A relayable device whose first dimension and second dimension match the relayable device is determined as the relayable device.
或者,如果不存在第一维度、第二维度以及第三维度分别与终端设备的第一维度、第二维度以及第三维度匹配的可接力设备,且不存在第一维度和第二维度分别与终端设备的第一维度和第二维度匹配的可接力设备,同时存在第一维度和终端设备的第一维度匹配的可接力设备,将该可接力设备确定为接力设备。Or, if there is no relayable device whose first dimension, second dimension, and third dimension respectively match the first dimension, second dimension, and third dimension of the terminal device, and there is no first dimension, second dimension, and A relayable device whose first dimension matches the second dimension of the terminal device, and a relayable device whose first dimension matches the first dimension of the terminal device exists simultaneously, and the relayable device is determined as the relaying device.
也就是说在确定接力设备时,首先考虑第一维度、第二维度以及第三维度分别与当前终端设备的第一维度、第二维度以及第三维度匹配的可接力设备。如果不存在三个维度均匹配的可接力设备,则进一步考虑第一维度和第二维度分别与当前终端设备的第一维度和第二维度匹配的可接力设备。如果不存在 第一维度和第二维度分别与当前终端设备的第一维度和第二维度匹配的,则最后考虑第一维度与当前终端设备的第一维度匹配的可接力设备。如果不存在第一维度与当前终端设备的第一维度匹配的可接力设备,表示系统中不存在可接力操作的终端设备。这样,可以尽可能匹配到与当前设备在同一房间区域标识或者同一房间属性标识的接力设备。That is to say, when determining the relay device, the relay-capable devices whose first dimension, second dimension and third dimension respectively match the first dimension, second dimension and third dimension of the current terminal device are considered first. If there is no relayable device that matches all three dimensions, further consider a relayable device whose first dimension and second dimension respectively match the first dimension and the second dimension of the current terminal device. If there is no first dimension and second dimension matching the first dimension and the second dimension of the current terminal device respectively, finally consider the relayable device whose first dimension matches the first dimension of the current terminal device. If there is no relay capable device whose first dimension matches the first dimension of the current terminal device, it means that there is no relay capable terminal device in the system. In this way, a relay device with the same room area identifier or the same room attribute identifier as the current device can be matched as much as possible.
本申请还提供一种内容服务接力打断方法,如图35所示的方法流程图和图36所示的方法信令图,所述方法包括以下步骤:The present application also provides a content service relay interruption method, as shown in the method flowchart shown in FIG. 35 and the method signaling diagram shown in FIG. 36. The method includes the following steps:
步骤S401、接力端设备从发起端设备接收接力服务指令。接力服务指令携带有内容服务接力数据,接力端设备可执行内容服务接力数据对应的内容服务接力操作。Step S401, the relay end device receives a relay service instruction from the initiator device. The relay service command carries content service relay data, and the relay end device can perform the content service relay operation corresponding to the content service relay data.
步骤S402、在接力端设备执行内容服务接力数据对应的内容服务接力操作之前,接力端设备如果接收到接力打断指令,则接力端设备根据该接力打断指令,不执行与内容服务接力数据对应的内容服务接力操作。Step S402. Before the relay end device executes the content service relay operation corresponding to the content service relay data, if the relay end device receives the relay interruption instruction, the relay end device will not execute the corresponding content service relay data according to the relay interruption instruction. Content service relay operation.
这样,即使接力端设备已经接收到服务接力指令,也可以根据接力打断指令不执行接力操作,即实现如果用户误触发内容服务接力进程时,及时中断内容服务接力,从而提升用户使用体验。本申请的方法实施例中,终端设备之间,指令和数据可以通过服务器中转,也可以不通过服务器中转,而是终端设备之间直接进行指令和数据的传递。In this way, even if the relay terminal device has received the service relay command, it can not execute the relay operation according to the relay interruption command, that is, if the user accidentally triggers the content service relay process, the content service relay will be interrupted in time, thereby improving the user experience. In the method embodiment of the present application, between terminal devices, instructions and data may be transferred through a server, or may not be transferred through a server, but the instructions and data are directly transferred between terminal devices.
接力打断指令可以是根据用户在接力端设备上输入的打断操作生成的指令。例如,可以是接力设备接收到接力服务指令后,在接力设备上显示接力对话框,接力对话框包括确认接力按钮控件和取消接力按钮控件。如果用户点击确认接力按钮控件,则执行与内容服务接力数据对应的内容服务接力操作。如果用户点击取消接力按钮控件,则根据用户操作,生成接力打断指令。The relay interruption instruction may be an instruction generated according to an interruption operation input by the user on the relay end device. For example, after the relay device receives the relay service instruction, it may display a relay dialog box on the relay device, and the relay dialog box includes a relay confirmation button control and a relay relay button control. If the user clicks the confirmation relay button control, the content service relay operation corresponding to the content service relay data is executed. If the user clicks the button control to cancel the relay, a relay interruption instruction is generated according to the user operation.
接力打断指令还可以是根据用户在发起端设备上输入的打断操作生成的指令。例如,接力设备接收到接力服务指令后,在执行与内容服务接力数据对应的内容服务接力操作之前,在发起端设备上显示接力对话框。接力对话框上显示取消接力按钮控件。如果用户点击取消接力按钮控件,则根据用户操作,生成接力打断指令。并将接力打断指令发送至接力端设备。The relay interruption instruction may also be an instruction generated according to an interruption operation input by the user on the initiator device. For example, after receiving the relay service instruction, the relay device displays a relay dialog box on the initiator device before executing the content service relay operation corresponding to the content service relay data. A Cancel Relay button control is displayed on the relay dialog. If the user clicks the button control to cancel the relay, a relay interruption instruction is generated according to the user operation. And send the relay interruption command to the relay end device.
本申请还提供一种终端设备的业务能力信息上报方法,如图37所示的信令图,所述方法包括以下步骤:The present application also provides a method for reporting service capability information of a terminal device, as shown in the signaling diagram in FIG. 37 , the method includes the following steps:
步骤一、终端设备监测其系统上安装的应用的业务参数是否存在变化。 Step 1, the terminal device monitors whether there is a change in the service parameters of the applications installed on its system.
步骤二、如果业务参数存在变化,则根据变化生成业务能力信息更新请求,以及向服务器发送该业务能力信息更新请求。服务器根据该业务能力信息更新请求更新服务器上保存的业务能力信息列表。业务能力信息列表用于记录终端设备的业务能力信息,业务能力信息对应于业务参数。Step 2: If there is a change in the service parameter, a service capability information update request is generated according to the change, and the service capability information update request is sent to the server. The server updates the service capability information list stored on the server according to the service capability information update request. The service capability information list is used to record the service capability information of the terminal equipment, and the service capability information corresponds to service parameters.
步骤三、如果业务参数不存在变化,不生成业务能力信息更新请求。则服务器上保存的业务能力信息列表不发生变化。Step 3: If there is no change in the service parameters, no service capability information update request is generated. Then the business capability information list saved on the server does not change.
这样,可以使得终端设备之间的内容服务接力是按照终端设备的实际业务能力进行的,从而提升用户使用体验。In this way, content service relay between terminal devices can be performed according to the actual service capabilities of the terminal devices, thereby improving user experience.
本申请还提供一种终端设备的内容服务接力方法,如图38所示的信令图和图39所示的方法流程图,所述方法包括以下步骤:The present application also provides a content service relay method for a terminal device, such as the signaling diagram shown in FIG. 38 and the method flowchart shown in FIG. 39 , the method includes the following steps:
步骤S501、在发起端设备上的前台运行第一应用,根据第一应用的应用数据查找可接力设备,其中,可接力设备为可执行第一应用的应用数据对应操作的终端设备。Step S501 , run the first application in the foreground on the initiator device, and search for a relayable device according to the application data of the first application, wherein the relayable device is a terminal device that can perform operations corresponding to the application data of the first application.
步骤S502、如果存在可接力设备,生成接力提示,以使用户根据接力提示输入接力操作,根据接力操作生成服务接力指令,根据服务接力指令生成接力请求,将接力请求发送至可接力设备,以使可接 力设备根据接力请求携带的应用数据,执行应用数据对应操作。Step S502, if there is a relayable device, generate a relay prompt, so that the user can input a relay operation according to the relay prompt, generate a service relay command according to the relay operation, generate a relay request according to the service relay command, and send the relay request to the relayable device, so that The relay-capable device executes operations corresponding to the application data according to the application data carried in the relay request.
步骤S503、如果不存在可接力设备,不生成接力提示。Step S503, if there is no relay capable device, no relay prompt is generated.
上述实施例为基于局域网实现的方案,本申请的局域网内部整体结构如图40所示。图40所示的局域网内部结构示意图仅示例性的为两台终端设备,两台终端设备既可作为发起端设备,也可作为接力端设备。The above-mentioned embodiment is a solution implemented based on a local area network, and the internal overall structure of the local area network of the present application is shown in FIG. 40 . The schematic diagram of the internal structure of the local area network shown in FIG. 40 is only an example of two terminal devices, and the two terminal devices can be used as the initiator device or the relay device.
其中,接力组件向上为应用提供如下能力:Among them, the relay component provides the following capabilities for the application:
注册本终端设备的业务能力信息到其他终端,以及从其他终端设备获取业务能力信息。当某终端设备的某应用未启动时,也可以通过硬件支持组件将未启动的应用的能力参数发送至其他终端设备。还可以通过硬件支持组件向其他终端设备反馈终端设备的上下线基本信息。Register the service capability information of this terminal device to other terminals, and obtain service capability information from other terminal devices. When an application of a certain terminal device is not started, the capability parameter of the unstarted application may also be sent to other terminal devices through the hardware support component. It is also possible to feed back the basic online and offline information of the terminal device to other terminal devices through the hardware support component.
图41至图43为发起端设备的各组件和接力端设备的各组件进行交互的信令图,其中图41为能力信息注册的过程,图42为获取接力设备的过程,图43为视频接力播放的过程。终端设备的应用启动后(部分应用不是开机自启动,在整机启动后会搜集当前设备上安装的应用服务能力进行统一注册),通过接力组件向底层服务系统注册设备能力。并将注册结果发送至其他终端设备。同时接力组件还订阅设备上的应用变化。Figure 41 to Figure 43 are the signaling diagrams of the interaction between the components of the initiator device and the components of the relay device, in which Figure 41 is the process of registering capability information, Figure 42 is the process of obtaining the relay device, and Figure 43 is the video relay The process of playing. After the application of the terminal device is started (some applications are not self-started after booting, and after the whole machine is started, the application service capabilities installed on the current device will be collected for unified registration), register the device capabilities with the underlying service system through the relay component. And send the registration result to other terminal devices. At the same time, the relay component also subscribes to the application changes on the device.
以视频播放接力的过程为例,交互过程为:通过接力组件查询局域网内的可接力的终端设备,并通过应用展示可接力的终端设备列表。确定接力端设备之后,应用生成视频播放请求以向接力组件请求当前播放的视频的标识和播放进度,并根据视频的标识和播放进度生成播放数据后,通过接力组件和底层服务系统传递给对端。由于通过接力组件和底层系统服务进行接力端设备的查询。查询到了接力端设备,因此在接收到输入的触发接力的操作后,进行视频播放数据的转发。最后接力端设备接收发起端设备发送的视频播放数据后,接力设备中的应用进行解析和播放,并将接力结果反馈至发起端设备中的应用。Taking the video relay process as an example, the interaction process is: through the relay component, query the terminal devices that can be relayed in the LAN, and display the list of terminal devices that can be relayed through the application. After determining the relay device, the application generates a video playback request to request the identification and playback progress of the currently playing video from the relay component, and generates playback data according to the video identification and playback progress, and then passes it to the peer through the relay component and the underlying service system . Due to the query of the relay end device through the relay component and the underlying system service. The relay terminal device has been queried, so after receiving the input operation to trigger the relay, the video playback data is forwarded. Finally, after the relay device receives the video playback data sent by the initiator device, the application in the relay device analyzes and plays it, and feeds back the relay result to the application in the initiator device.
在一些实施例中,根据应用的应用数据查找可接力设备可以在应用启动后开始查找,这样可以提升系统效率,终端设备中可能包含多个不同的应用,如果应用未启动便进行可接力设备的查询,查询过程中产生的数据交互会提升终端设备和/或服务器和/或可接力设备的运行压力,因此在应用启动后进行根据应用的应用数据查找可接力设备可以缓解这一问题。In some embodiments, searching for the relayable device based on the application data of the application can start after the application is started, which can improve system efficiency. The terminal device may contain multiple different applications. If the application is not started, the relayable device will be searched. Query, the data interaction generated during the query process will increase the operating pressure of the terminal device and/or server and/or the relay device, so after the application is started, searching for the relay device based on the application data of the application can alleviate this problem.
在一些实施例中,应用数据表征当前的功能,有些应用在启动后可能不直接启动该功能,例如,视频类应用,一般在应用启动后会显示媒资的列表,只有在用户选中后才启动视频的播放,音频类应用也存在同样的问题。因此在一些实施例中,在应用启动后不直接根据应用的应用数据查找可接力设备,而是,检测到对应应用的功能的应用数据被调用时,再根据应用的应用数据查找可接力设备。例如视频类应用在检测到表征播放功能启动的应用数据时,根据应用的应用数据查找可接力设备;音频类应用在检测到表征放功能启动的应用数据时,根据应用的应用数据查找可接力设备;闹钟类应用在检测到表征闹钟启用的应用数据时,根据应用的应用数据查找可接力设备。这样,可以在应用启动后使得用户可以正常操作,不进行无效的查询,在用户启动对应的功能时,在根据应用的应用数据查找可接力设备,使得接力提示弹出的时机更加精准,提升了用户体验。In some embodiments, the application data represents the current function. Some applications may not directly start the function after starting. For example, a video application will generally display a list of media resources after the application is started, and start only after the user selects it. Video playback and audio applications also have the same problem. Therefore, in some embodiments, after the application is started, the relay-able device is not directly searched according to the application data of the application. Instead, when the application data corresponding to the function of the application is detected to be invoked, the relay-able device is searched according to the application data of the application. For example, when a video application detects the application data representing the activation of the playback function, it searches for relayable devices based on the application data of the application; when an audio application detects the application data representing the activation of the playback function, it searches for the relayable device based on the application data of the application ; When the alarm clock application detects the application data representing the activation of the alarm clock, it searches for the relayable device according to the application data of the application. In this way, after the application is started, the user can operate normally without invalid query. When the user activates the corresponding function, the device that can be relayed is searched according to the application data of the application, so that the timing of the pop-up of the relay prompt is more accurate, which improves the user experience. experience.
在一些实施例中,可以在应用启动后直接根据应用的应用数据查找可接力设备。In some embodiments, after the application is started, the device that can be relayed can be found directly according to the application data of the application.

Claims (44)

  1. 一种终端设备,包括:A terminal device comprising:
    控制器,被配置为:Controller, configured as:
    向接力端设备发送服务接力指令,所述服务接力指令携带有内容服务接力数据,以使所述接力端设备执行所述内容服务接力数据对应的内容服务接力操作;Sending a service relay command to the relay terminal device, the service relay command carrying content service relay data, so that the relay terminal device performs a content service relay operation corresponding to the content service relay data;
    接收所述接力端设备发送的接力结束反馈结果,其中,所述接力结束反馈结果为所述接力端设备在结束所述内容服务接力操作后生成的结果,所述接力结束反馈结果包括所述接力端设备执行内容服务接力操作的执行进度数据;receiving the relay end feedback result sent by the relay end device, wherein the relay end feedback result is a result generated by the relay end device after the content service relay operation is completed, and the relay end feedback result includes the relay end Execution progress data of the content service relay operation performed by the end device;
    其中,在所述终端设备当前处于第一状态时,所述终端设备是能够继续执行内容服务接力操作的,其中,在所述终端设备处于所述第一状态时,所述终端设备能够根据所述执行进度数据继续执行内容服务接力操作;Wherein, when the terminal device is currently in the first state, the terminal device can continue to perform content service relay operations, wherein, when the terminal device is in the first state, the terminal device can Continue to execute the content service relay operation according to the above execution progress data;
    其中,在所述终端设备当前处于第二状态时,所述终端设备是不能够继续执行内容服务接力操作的,其中,在所述终端设备处于所述第二状态时,所述终端设备不能够根据所述执行进度数据继续执行内容服务接力操作。Wherein, when the terminal device is currently in the second state, the terminal device cannot continue to perform content service relay operations, wherein, when the terminal device is in the second state, the terminal device cannot Continue to execute the content service relay operation according to the execution progress data.
  2. 根据权利要求1所述的终端设备,在所述终端设备当前处于第一状态时,所述终端设备当前处于第一业务内容场景中,其中,所述第一业务内容场景为接力之前所述终端设备处于的业务内容场景。According to the terminal device according to claim 1, when the terminal device is currently in the first state, the terminal device is currently in the first service content scene, wherein the first service content scene is the terminal before the relay The business content scenario in which the device is located.
  3. 根据权利要求1所述的终端设备,在所述终端设备当前处于第一状态时,所述终端设备当前未处于业务内容场景中。According to the terminal device according to claim 1, when the terminal device is currently in the first state, the terminal device is not currently in a service content scene.
  4. 根据权利要求1所述的终端设备,在所述终端设备当前处于第二状态时,所述终端设备当前处于第二业务内容场景中,其中,所述第二业务内容场景与第一业务内容场景不相同,所述第一业务内容场景为接力之前所述终端设备处于的业务内容场景。According to the terminal device according to claim 1, when the terminal device is currently in the second state, the terminal device is currently in the second service content scene, wherein the second service content scene is different from the first service content scene Not the same, the first service content scene is the service content scene that the terminal device is in before the relay.
  5. 根据权利要求1所述的终端设备,在所述终端设备当前处于第二状态时,所述终端设备当前处于离线状态。According to the terminal device according to claim 1, when the terminal device is currently in the second state, the terminal device is currently in an offline state.
  6. 根据权利要求1所述的终端设备,在所述终端设备当前处于第一状态,且所述执行进度数据指示所述内容服务接力数据对应的内容服务接力操作已执行完成,不根据所述执行进度数据继续执行内容服务接力操作。The terminal device according to claim 1, when the terminal device is currently in the first state, and the execution progress data indicates that the content service relay operation corresponding to the content service relay data has been executed, the execution progress is not performed according to the execution progress. Data continues to perform content service relay operations.
  7. 根据权利要求1所述的终端设备,所述控制器,还被配置为:在所述终端设备当前处于第二状态时,The terminal device according to claim 1, the controller is further configured to: when the terminal device is currently in the second state,
    生成返回失败提示,其中,所述返回失败提示用于提示用户当前内容服务接力返回失败。A return failure prompt is generated, wherein the return failure prompt is used to prompt the user that the current content service relay fails to return.
  8. 根据权利要求1所述的终端设备,所述控制器,还被配置为:The terminal device according to claim 1, the controller is further configured to:
    确定可接力设备。Determine relayable equipment.
  9. 根据权利要求8所述的终端设备,所述控制器,还被配置为:According to the terminal device according to claim 8, the controller is further configured to:
    根据第一应用的应用数据查找可接力设备,其中,所述第一应用为正在所述终端设备前台运行的应用,所述可接力设备为可执行所述应用数据对应操作的终端设备。Finding the relayable device according to the application data of the first application, wherein the first application is an application running in the foreground of the terminal device, and the relayable device is a terminal device capable of performing operations corresponding to the application data.
  10. 根据权利要求8所述的终端设备,所述控制器,还被配置为:According to the terminal device according to claim 8, the controller is further configured to:
    从声音采集器接收语音信号;Receive voice signals from the sound collector;
    从所述语音信号中识别语音文本;recognizing speech text from said speech signal;
    在所述语音文本中包括设备类型信息时,根据所述设备类型信息确定可接力设备。When the voice text includes device type information, determine the relayable device according to the device type information.
  11. 根据权利要求8所述的终端设备,所述控制器,还被配置为:According to the terminal device according to claim 8, the controller is further configured to:
    从其他终端设备接收业务能力信息,所述业务能力信息对应于在其他终端设备中安装的应用的参数;receiving service capability information from other terminal devices, the service capability information corresponding to parameters of applications installed in other terminal devices;
    将所述业务能力信息与所述应用数据进行匹配;matching the business capability information with the application data;
    在所述业务能力信息与所述应用数据匹配时,确定其他终端设备为所述可接力设备。When the service capability information matches the application data, it is determined that another terminal device is the relayable device.
  12. 根据权利要求8所述的终端设备,所述控制器,还被配置为:According to the terminal device according to claim 8, the controller is further configured to:
    在存在所述可接力设备时,在所述第一应用的用户界面上显示接力按钮控件,其中,所述接力按钮控件用于触发内容服务接力进程;When there is the relayable device, displaying a relay button control on the user interface of the first application, wherein the relay button control is used to trigger a content service relay process;
    在不存在所述可接力设备时,在所述第一应用的用户界面上显示接力引导按钮控件,其中,所述接力引导按钮控件用于触发显示内容服务接力引导信息。When there is no relay capable device, a relay guide button control is displayed on the user interface of the first application, wherein the relay guide button control is used to trigger display of content service relay guide information.
  13. 根据权利要求9所述的终端设备,A terminal device according to claim 9,
    在所述第一应用为视频应用时,所述接力按钮控件为视频接力按钮控件;When the first application is a video application, the relay button control is a video relay button control;
    在所述第一应用为音频应用时,所述接力按钮控件为音频接力按钮控件;When the first application is an audio application, the relay button control is an audio relay button control;
    在所述第一应用为图片显示应用时,所述接力按钮控件为图片显示接力按钮控件。When the first application is a picture display application, the relay button control is a picture display relay button control.
  14. 根据权利要求9所述的终端设备,所述控制器,还被配置为:在存在所述可接力设备时,According to the terminal device according to claim 9, the controller is further configured to: when there is the relayable device,
    在所述第一应用的用户界面上显示所述可接力设备上第二应用的名称,其中,所述第二应用为可执行所述应用数据对应操作的应用。Displaying the name of the second application on the relay capable device on the user interface of the first application, wherein the second application is an application that can execute the operation corresponding to the application data.
  15. 根据权利要求9所述的终端设备,所述控制器,还被配置为:在存在所述可接力设备时,According to the terminal device according to claim 9, the controller is further configured to: when there is the relayable device,
    在所述第一应用的用户界面上显示所述可接力设备上第二应用的用户界面的缩略图,其中,所述第二应用为可执行所述应用数据对应操作的应用。Displaying a thumbnail image of a user interface of a second application on the relayable device on the user interface of the first application, wherein the second application is an application capable of executing an operation corresponding to the application data.
  16. 根据权利要求8所述的终端设备,所述终端设备和所述可接力设备在同一账号下。According to the terminal device according to claim 8, the terminal device and the relayable device are under the same account.
  17. 根据权利要求8所述的终端设备,所述控制器,还被配置为:According to the terminal device according to claim 8, the controller is further configured to:
    在同一局域网内存在所述可接力设备时,生成接力提示;When the relayable device exists in the same local area network, a relay prompt is generated;
    在同一局域网内不存在所述可接力设备时,不生成所述接力提示。When the relay capable device does not exist in the same local area network, the relay prompt is not generated.
  18. 根据权利要求1所述的终端设备,所述控制器,还被配置为:The terminal device according to claim 1, the controller is further configured to:
    根据输入的指示结束接力的操作生成结束服务接力指令,将所述结束服务接力指令发送至所述接力端设备,以使所述接力端设备根据所述结束服务接力指令,结束根据所述应用数据执行对应操作。Generate an end service relay instruction according to the input instruction to end the relay, and send the end service relay instruction to the relay end device, so that the relay end device ends according to the application data according to the end service relay instruction Perform corresponding operations.
  19. 根据权利要求18所述的终端设备,所述控制器,还被配置为:在所述接力端设备结束根据所述应用数据执行对应操作之后,According to the terminal device according to claim 18, the controller is further configured to: after the relay terminal device finishes performing corresponding operations according to the application data,
    接收所述接力端设备发送的执行进度数据,其中,所述执行进度数据用于指示所述接力端设备在结束根据所述应用数据执行对应操作时,所述应用数据对应操作的执行进度;receiving the execution progress data sent by the relay device, wherein the execution progress data is used to indicate the execution progress of the operation corresponding to the application data when the relay device finishes executing the corresponding operation according to the application data;
    根据所述执行进度数据,在所述终端设备上继续执行所述应用数据对应操作。Continue to execute the operation corresponding to the application data on the terminal device according to the execution progress data.
  20. 根据权利要求8所述的终端设备,在所述终端设备还包括显示器,且存在至少两个所述可接力设备时,在所述显示器上显示可接力设备列表,所述可接力设备列表包括至少两个所述可接力设备。According to the terminal device according to claim 8, when the terminal device further includes a display, and there are at least two relayable devices, a list of relayable devices is displayed on the display, and the list of relayable devices includes at least Two of said relayable devices.
  21. 根据权利要求8所述的终端设备,所述控制器,还被配置为:确定接力端设备。According to the terminal device according to claim 8, the controller is further configured to: determine the relay terminal device.
  22. 根据权利要求21所述的终端设备,所述服务接力指令为用户通过选择可接力设备列表中的一个所述可接力设备而输入的指令,被选择的所述可接力设备为接收所述接力请求的终端设备。According to the terminal device according to claim 21, the service relay instruction is an instruction input by the user by selecting one of the relayable devices in the relayable device list, and the selected relayable device is to receive the relay request terminal equipment.
  23. 根据权利要求21所述的终端设备,所述终端设备还存储有所述可接力设备的使用频率,使用频率最多的所述可接力设备为接收所述接力请求的接力端设备。According to the terminal device according to claim 21, the terminal device further stores the frequency of use of the relayable devices, and the relayable device with the highest frequency of use is the relay terminal device that receives the relay request.
  24. 根据权利要求21所述的终端设备,所述控制器,还被配置为:The terminal device according to claim 21, the controller is further configured to:
    从所述声音采集器接收所述语音信号,从所述语音信号中识别语音文本;receiving the speech signal from the sound collector, and recognizing speech text from the speech signal;
    在所述语音文本中包括设备信息时,根据所述设备信息确定接力端设备,其中,所述设备信息指向唯一的所述接力端设备。When the voice text includes device information, the relay device is determined according to the device information, wherein the device information points to the unique relay device.
  25. 根据权利要求22所述的终端设备,所述控制器,还被配置为:The terminal device according to claim 22, the controller is further configured to:
    根据所述可接力设备的接力维度信息和所述终端设备发起的维度信息之间的关系从所述可接力设备中确定接力端设备,determining the relay end device from the relay capable devices according to the relationship between the relay dimension information of the relay capable device and the dimension information initiated by the terminal device,
    其中,所述维度信息用于表征设备的位置区域,包括分别用于表征设备的第一位置区域、第二位置区域和第三位置区域的第一维度、第二维度以及第三维度,其中,根据第一维度确定第一位置区域,根据第二维度而从确定的所述第一位置区域中确定相应的第二位置区域,以及根据第三维度而从确定的所述第二位置区域中确定相应的第三位置区域。Wherein, the dimension information is used to characterize the location area of the device, including the first dimension, the second dimension, and the third dimension respectively used to characterize the first location area, the second location area, and the third location area of the device, wherein, Determining a first location area according to a first dimension, determining a corresponding second location area from said first location area determined according to a second dimension, and determining from said second location area determined according to a third dimension corresponding third location area.
  26. 根据权利要求25所述的终端设备,其中,如果存在第一维度、第二维度以及第三维度均与发起的第一维度、第二维度以及第三维度匹配的可接力设备,则所述可接力设备被确定为所述接力端设备。The terminal device according to claim 25, wherein if there is a relayable device whose first dimension, second dimension and third dimension all match the initiated first dimension, second dimension and third dimension, then the relayable A relay device is determined as the relay terminal device.
  27. 根据权利要求25所述的终端设备,其中,当不存在所述第一维度、所述第二维度以及所述第三维度均与发起的所述第一维度、所述第二维度以及所述第三维度匹配的所述可接力设备时,如果存在所述第一维度和所述第二维度均与发起的所述第一维度和所述第二维度匹配的所述可接力设备,则所述可接力设备被确定为所述接力端设备。The terminal device according to claim 25, wherein when the first dimension, the second dimension and the third dimension do not exist, they are related to the initiated first dimension, the second dimension and the When the relayable device matches the third dimension, if there is the relayable device whose first dimension and the second dimension both match the initiated first dimension and the second dimension, then the The relay capable device is determined as the relay terminal device.
  28. 根据权利要求27所述的终端设备,其中,当不存在所述第一维度和所述第二维度均与所述终端设备的所述第一维度和所述第二维度匹配的所述可接力设备时,如果存在所述第一维度和发起的所述第一维度匹配的可接力设备,则所述可接力设备被确定为所述接力端设备。The terminal device according to claim 27, wherein, when there is no said first dimension and said second dimension matching said first dimension and said second dimension of said terminal device, said relayable When connecting a device, if there is a relayable device whose first dimension matches the initiated first dimension, the relayable device is determined to be the relay terminal device.
  29. 根据权利要求28所述的终端设备,其中,当不存在所述第一维度和所述终端设备的所述第一维度匹配的所述可接力设备时,如果存在所述第二维度和所述终端设备的所述第二维度匹配的所述可接力设备,或者,如果存在所述第三维度和所述终端设备的所述第三维度匹配的所述可接力设备,则生成提示信息,以使用户根据所述提示信息将所述可接力设备添加至所述第一维度之后,确定所述可接力设备为所述接力端设备。The terminal device according to claim 28, wherein when there is no relayable device that matches the first dimension of the terminal device, if there is the second dimension and the The relayable device whose second dimension matches the terminal device, or if there is the relayable device whose third dimension matches the third dimension of the terminal device, generating prompt information to After the user is made to add the relayable device to the first dimension according to the prompt information, the relayable device is determined as the relay terminal device.
  30. 一种终端设备,包括:A terminal device comprising:
    控制器,被配置为:Controller, configured as:
    从发起端设备接收服务接力指令,其中,所述服务接力指令携带有内容服务接力数据,所述终端设备可执行所述内容服务接力数据对应的内容服务接力操作;receiving a service relay instruction from the initiator device, wherein the service relay instruction carries content service relay data, and the terminal device can execute a content service relay operation corresponding to the content service relay data;
    接收接力打断指令,以及根据所述接力打断指令,不执行与所述内容服务接力数据对应的内容服务接力操作。Receiving a relay interruption instruction, and according to the relay interruption instruction, not executing a content service relay operation corresponding to the content service relay data.
  31. 根据权利要求30所述的终端设备,所述接力打断指令为所述发起端设备根据输入的打断操作生成的指令。According to the terminal device according to claim 30, the relay interruption instruction is an instruction generated by the initiator device according to an input interruption operation.
  32. 根据权利要求30所述的终端设备,所述接力打断指令为所述终端设备根据输入的打断操作生成的指令。According to the terminal device according to claim 30, the relay interruption instruction is an instruction generated by the terminal device according to an input interruption operation.
  33. 根据权利要求32所述的终端设备,所述终端设备还包括显示器,所述控制器,被配置为:The terminal device according to claim 32, the terminal device further comprising a display, and the controller is configured to:
    在所述显示器上显示确认接力对话框,其中,所述确认接力对话框包括确认接力按钮控件和取消接力按钮控件;Displaying a confirmation relay dialog box on the display, wherein the confirmation relay dialog box includes a confirmation relay button control and a cancel relay button control;
    在所述取消接力按钮控件被选择时,生成所述接力打断指令。When the relay cancel button control is selected, the relay interruption instruction is generated.
  34. 根据权利要求30所述的终端设备,所述控制器,还被配置为:According to the terminal device according to claim 30, the controller is further configured to:
    在不执行与所述内容服务接力数据对应的内容服务接力操作之后,向所述发起端设备反馈接力结果,以使所述发起端设备根据所述接力结果继续执行所述内容服务接力数据对应的内容服务接力操作。After not executing the content service relay operation corresponding to the content service relay data, feed back the relay result to the initiator device, so that the initiator device continues to execute the content service relay operation corresponding to the content service relay data according to the relay result. Content service relay operation.
  35. 根据权利要求30所述的终端设备,所述控制器,还被配置为:According to the terminal device according to claim 30, the controller is further configured to:
    在所述终端设备上安装的应用的业务参数存在变化时,根据所述变化生成业务能力信息更新请求,以及向服务器发送所述业务能力信息更新请求,以使所述服务器根据所述业务能力信息更新请求更新业务能力信息列表,其中,所述业务能力信息列表用于记录所述终端设备的业务能力,所述业务能力信息对应于所述业务参数;When there is a change in the service parameter of the application installed on the terminal device, generate a service capability information update request according to the change, and send the service capability information update request to the server, so that the server can use the service capability information according to the change. The update request updates the service capability information list, where the service capability information list is used to record the service capability of the terminal device, and the service capability information corresponds to the service parameter;
    在所述终端设备上安装的应用的业务参数不存在变化时,不生成所述业务能力信息更新请求。When there is no change in the service parameters of the applications installed on the terminal device, the service capability information update request is not generated.
  36. 根据权利要求35所述的终端设备,所述控制器,被配置为:在确定所述终端设备上安装的应用的业务参数是否存在更新时,According to the terminal device according to claim 35, the controller is configured to: when determining whether there is an update of the service parameters of the application installed on the terminal device,
    在所述终端设备的系统启动时,查询所述终端设备上安装的应用的当前的所述业务参数,在当前的所述业务参数与上一次保存的所述业务参数存在差异时,确定所述终端上安装的应用的业务参数存在变化。When the system of the terminal device is started, query the current service parameters of the applications installed on the terminal device, and determine the There are changes in the service parameters of the applications installed on the terminal.
  37. 根据权利要求36所述的终端设备,所述控制器,被配置为:The terminal device according to claim 36, the controller is configured to:
    在所述终端设备的系统启动时,接收系统发送的开机广播,以及根据所述开机广播查询所述终端设备上安装的应用的当前的所述业务参数。When the system of the terminal device is started, a start-up broadcast sent by the system is received, and the current service parameters of the applications installed on the terminal device are inquired according to the start-up broadcast.
  38. 根据权利要求36或37所述的终端设备,在所述终端设备的系统启动时,所述终端设备上安装的至少一个应用的启动模式不是开机自启动模式。According to the terminal device according to claim 36 or 37, when the system of the terminal device is started, the startup mode of at least one application installed on the terminal device is not the boot-up self-startup mode.
  39. 根据权利要求35所述的终端设备,所述控制器,被配置为:在确定所述终端设备上安装的应用的业务参数是否存在变化时,According to the terminal device according to claim 35, the controller is configured to: when determining whether there is a change in a service parameter of an application installed on the terminal device,
    在所述终端设备的系统启动后,在接收到所述终端设备上安装的应用发送的更新广播时,确定所述终端上安装的应用的业务参数存在变化。After the system of the terminal device is started, when an update broadcast sent by the application installed on the terminal device is received, it is determined that there is a change in the service parameter of the application installed on the terminal device.
  40. 根据权利要求35所述的终端设备,所述控制器,被配置为:The terminal device according to claim 35, the controller is configured to:
    在所述变化为应用安装时,所述业务能力信息更新请求为业务能力信息增加请求,以使所述服务器根据所述业务能力信息增加请求向所述业务能力信息列表增加业务能力信息,其中,增加的所述业务能力信息对应于安装的应用的所述业务参数。When the change is application installation, the service capability information update request is a service capability information addition request, so that the server adds service capability information to the service capability information list according to the service capability information addition request, wherein, The added service capability information corresponds to the service parameter of the installed application.
  41. 根据权利要求35所述的终端设备,所述控制器,被配置为:The terminal device according to claim 35, the controller is configured to:
    在所述变化为应用版本变化时,所述业务能力信息更新请求为业务能力信息修改请求,以使所述服务器根据所述业务能力信息修改请求修改所述业务能力信息列表中的业务能力信息,其中,修改的所述业务能力信息对应于版本变化的应用的所述业务参数。When the change is an application version change, the service capability information update request is a service capability information modification request, so that the server modifies the service capability information in the service capability information list according to the service capability information modification request, Wherein, the modified service capability information corresponds to the service parameter of the application whose version changes.
  42. 根据权利要求35所述的终端设备,所述控制器,被配置为:The terminal device according to claim 35, the controller is configured to:
    在所述变化为应用卸载时,所述业务能力信息更新请求为业务能力信息删除请求,以使所述服务器根据所述业务能力信息删除请求从所述业务能力信息列表中删除业务能力信息,其中,删除的所述业务能力信息对应于卸载的应用的所述业务参数。When the change is application uninstallation, the service capability information update request is a service capability information deletion request, so that the server deletes the service capability information from the service capability information list according to the service capability information deletion request, wherein , the deleted service capability information corresponds to the service parameter of the uninstalled application.
  43. 一种内容服务接力方法,包括:A content service relay method, comprising:
    终端设备向接力端设备发送服务接力指令,所述服务接力指令携带有内容服务接力数据,以使所述接力端设备执行所述内容服务接力数据对应的内容服务接力操作;The terminal device sends a service relay command to the relay terminal device, the service relay command carries content service relay data, so that the relay terminal device performs a content service relay operation corresponding to the content service relay data;
    所述终端设备接收所述接力端设备发送的接力结束反馈结果,其中,所述接力结束反馈结果为所述接力端设备在结束所述内容服务接力操作后生成的结果,所述接力结束反馈结果包括所述接力端设备执行内容服务接力操作的执行进度数据;The terminal device receives the relay end feedback result sent by the relay end device, wherein the relay end feedback result is a result generated by the relay end device after the content service relay operation is completed, and the relay end feedback result Including the execution progress data of the content service relay operation performed by the relay terminal device;
    其中,在所述终端设备当前处于第一状态时,所述终端设备是能够继续执行内容服务接力操作的,其中,在所述终端设备处于所述第一状态时,所述终端设备能够根据所述执行进度数据继续执行内容服务接力操作;Wherein, when the terminal device is currently in the first state, the terminal device can continue to perform content service relay operations, wherein, when the terminal device is in the first state, the terminal device can Continue to execute the content service relay operation according to the above execution progress data;
    其中,在所述终端设备当前处于第二状态时,所述终端设备是不能够继续执行内容服务接力操作的,其中,在所述终端设备处于所述第二状态时,所述终端设备不能够根据所述执行进度数据继续执行内容服务接力操作。Wherein, when the terminal device is currently in the second state, the terminal device cannot continue to perform content service relay operations, wherein, when the terminal device is in the second state, the terminal device cannot Continue to execute the content service relay operation according to the execution progress data.
  44. 一种内容服务接力打断方法,包括:A content service relay interruption method, comprising:
    终端设备从发起端设备接收服务接力指令,其中,所述服务接力指令携带有内容服务接力数据,所述终端设备可执行所述内容服务接力数据对应的内容服务接力操作;The terminal device receives a service relay instruction from the initiator device, wherein the service relay instruction carries content service relay data, and the terminal device can perform a content service relay operation corresponding to the content service relay data;
    接收接力打断指令,以及根据所述接力打断指令,不执行与所述内容服务接力数据对应的内容服务接力操作。Receiving a relay interruption instruction, and according to the relay interruption instruction, not executing a content service relay operation corresponding to the content service relay data.
PCT/CN2022/096018 2021-08-05 2022-05-30 Terminal device, content service relay method, and content service relay interruption method WO2023010976A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202280050096.5A CN118120240A (en) 2021-08-05 2022-05-30 Terminal device, content service relay method and content service relay interruption method

Applications Claiming Priority (14)

Application Number Priority Date Filing Date Title
CN202110896120.4 2021-08-05
CN202110896120 2021-08-05
CN202111120885.5A CN115706815A (en) 2021-08-05 2021-09-24 Terminal device matching method and terminal device
CN202111120885.5 2021-09-24
CN202111120881.7A CN115706814A (en) 2021-08-05 2021-09-24 Content service relay returning method and terminal equipment
CN202111122128.1 2021-09-24
CN202111121095.9 2021-09-24
CN202111120453.4 2021-09-24
CN202111121095.9A CN115706823A (en) 2021-08-05 2021-09-24 Service capability reporting method of terminal equipment and terminal equipment
CN202111120453.4A CN115842939A (en) 2021-08-05 2021-09-24 Content display method of display device and display device
CN202111120881.7 2021-09-24
CN202111122128.1A CN115706824A (en) 2021-08-05 2021-09-24 Content service relay interruption method and terminal equipment
CN202111126832.4A CN115705220A (en) 2021-08-05 2021-09-26 Content service relay method of terminal equipment and terminal equipment
CN202111126832.4 2021-09-26

Publications (1)

Publication Number Publication Date
WO2023010976A1 true WO2023010976A1 (en) 2023-02-09

Family

ID=85154226

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096018 WO2023010976A1 (en) 2021-08-05 2022-05-30 Terminal device, content service relay method, and content service relay interruption method

Country Status (1)

Country Link
WO (1) WO2023010976A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3125537A1 (en) * 2015-07-28 2017-02-01 Ricoh Company, Ltd. Information processing apparatus, image display method, and communications system
CN108076369A (en) * 2018-01-12 2018-05-25 四川斐讯信息技术有限公司 Mobile terminal, terminal device and its video the throwing screen method that video throws screen can be achieved
CN112258086A (en) * 2020-11-13 2021-01-22 Oppo广东移动通信有限公司 Cross-device task relay method and device, cloud platform and storage medium
CN112286473A (en) * 2020-10-26 2021-01-29 宁波阶梯教育科技有限公司 Screen-casting content processing method and information control center equipment
CN112738575A (en) * 2019-10-28 2021-04-30 阿里巴巴集团控股有限公司 Screen projection implementation method, device and system
CN113037929A (en) * 2019-12-24 2021-06-25 腾讯科技(深圳)有限公司 Information relay output method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3125537A1 (en) * 2015-07-28 2017-02-01 Ricoh Company, Ltd. Information processing apparatus, image display method, and communications system
CN108076369A (en) * 2018-01-12 2018-05-25 四川斐讯信息技术有限公司 Mobile terminal, terminal device and its video the throwing screen method that video throws screen can be achieved
CN112738575A (en) * 2019-10-28 2021-04-30 阿里巴巴集团控股有限公司 Screen projection implementation method, device and system
CN113037929A (en) * 2019-12-24 2021-06-25 腾讯科技(深圳)有限公司 Information relay output method and device, electronic equipment and storage medium
CN112286473A (en) * 2020-10-26 2021-01-29 宁波阶梯教育科技有限公司 Screen-casting content processing method and information control center equipment
CN112258086A (en) * 2020-11-13 2021-01-22 Oppo广东移动通信有限公司 Cross-device task relay method and device, cloud platform and storage medium

Similar Documents

Publication Publication Date Title
CN113766036B (en) Display equipment and information interaction method
US9805132B2 (en) Apparatus, method and system to select content from history information representing previously reproduced content
WO2021164177A1 (en) Method for playing media resource, display device, and mobile terminal
CN113489700A (en) Method, server and terminal equipment for acquiring media asset data
CN114968031A (en) Task management method and display device
WO2023010976A1 (en) Terminal device, content service relay method, and content service relay interruption method
CN115037970A (en) Control validity detection method and display device
CN115706823A (en) Service capability reporting method of terminal equipment and terminal equipment
CN114928760B (en) Key setting method of control device and display equipment
CN114915810B (en) Media resource pushing method and intelligent terminal
CN118120240A (en) Terminal device, content service relay method and content service relay interruption method
CN116320564A (en) Display device, terminal device, and device control method
CN114785913B (en) Display device and device information processing method
WO2022100261A1 (en) Mobile terminal, server, display device, and control method for remote timed shutdown
WO2024174648A1 (en) Source device, relay device, and device control method
CN114915818B (en) Media resource pushing method and intelligent terminal
CN115705220A (en) Content service relay method of terminal equipment and terminal equipment
CN114489532B (en) Terminal equipment and method for linking terminal equipment and display equipment
WO2023216684A1 (en) Terminal device and data relay method
WO2024087824A1 (en) Display device and channel data processing method for display device
WO2022166349A1 (en) Media asset push method and smart terminal
CN115150299A (en) Terminal device online state detection method and terminal device
US20130121661A1 (en) Method of playing content on a digital media renderer and related computer system
CN115407911A (en) Display device and external audio device
CN116382822A (en) Homepage display method and display equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22851692

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202280050096.5

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/05/2024)