WO2016202202A1 - Device connection method and apparatus, and smart television system - Google Patents

Device connection method and apparatus, and smart television system Download PDF

Info

Publication number
WO2016202202A1
WO2016202202A1 PCT/CN2016/085211 CN2016085211W WO2016202202A1 WO 2016202202 A1 WO2016202202 A1 WO 2016202202A1 CN 2016085211 W CN2016085211 W CN 2016085211W WO 2016202202 A1 WO2016202202 A1 WO 2016202202A1
Authority
WO
WIPO (PCT)
Prior art keywords
service providing
application
providing device
information
client
Prior art date
Application number
PCT/CN2016/085211
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
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016202202A1 publication Critical patent/WO2016202202A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • 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
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method and apparatus for connecting devices, and a smart television system.
  • a digital video conversion box (STB, also commonly referred to as a set top box or a set-top box) is a device that connects a television terminal with an external signal source.
  • the digital video converter box converts the compressed digital signal into television content and displays it on the television terminal.
  • Embodiments of the present invention provide a method and apparatus for device connection, and a smart television system to solve the problem that in the current television program system, when the digital video conversion box cannot meet the update change of the application, the television terminal cannot be continued normally. The issue of providing services.
  • an embodiment of the present invention discloses a method for device connection, including:
  • device capability information that is matched with the client, where the device capability information includes: device capability information of at least one service providing device that has established a connection with the client;
  • the device capability information includes: application information used to identify an application installed in the service providing device;
  • the method further includes:
  • the application in the service providing device is updated according to the application information for characterizing the application installed in the service providing device.
  • updating the application in the service providing device according to the application information used to identify the application installed in the service providing device including:
  • the method further includes:
  • the service providing device After receiving the indication information reported by the service providing device, updating the device capability information of the service providing device, where the indication information is used to indicate that the service providing device successfully completes according to the to-be-updated application information.
  • the service provides an update to the application in the device.
  • the to-be-updated application information includes at least one of the following information: the uninstallation information used to indicate the uninstalled application, the installation information used to indicate the installed application, and the upgrade information used to indicate the application version of the upgraded application.
  • the application information includes:
  • the version number corresponding to the application set installed in the service providing device is the version number corresponding to the application set installed in the service providing device.
  • determining a service providing device according to the device capability information including:
  • Determining a service providing device according to the identification information of the application of each application installed in the service providing device, and/or the version number of the application, wherein the determined application installed in the service providing device and the identifier of the application Information matching, and/or, determining that the version number of the application installed in the service providing device is not lower than the version number of the application on which the application is based; or
  • the method for connecting the device is applied to a smart television system; wherein the smart television system comprises: at least one server, at least one client, at least one service providing device; wherein the server is configured to The client allocates a service providing device; the client is set in a smart TV, and the service providing device is disposed on the network side for providing an Internet service for the connected client through the network.
  • the smart television system further includes at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different clients respectively User data corresponding to the end.
  • the service providing device includes: a network set top box; the internet service includes at least one of the following:
  • Live TV, audio and video services, web services, and game services are examples of Live TV, audio and video services, web services, and game services.
  • the embodiment of the invention further discloses a device connecting device, comprising:
  • An acquiring module configured to acquire, according to the request information, device capability information that matches the client, where the device capability information includes: a device capability of at least one service providing device that has established a connection with the client information;
  • a determining module configured to determine, according to the device capability information, a service providing device, where the determined device providing device has a device capability that is not lower than the device capability indicated by the device capability information;
  • a sending module configured to send the device information of the determined service providing device to the client, where the device information is used to indicate that the client establishes the determined service according to the device information Provide a connection between devices.
  • the device capability information includes: application information used to identify an application installed in the service providing device;
  • the device connected to the device further includes:
  • an update module configured to update an application in the service providing device according to the application information used to characterize the application installed in the service providing device.
  • the update module includes:
  • An application information obtaining module configured to obtain application information of an installed application in the service providing device
  • a generating module configured to generate application information to be updated according to application information of the installed application and application information used to represent an application installed in the service providing device;
  • a notification module configured to notify the service providing device to update an application in the service providing device according to the to-be-updated application information.
  • the device connected to the device further includes:
  • a capability information update module configured to: after the notification module notifies the service providing device that the application in the service providing device is updated according to the application information to be updated, after receiving the indication information reported by the service providing device, And updating the device capability information of the service providing device; wherein the indication information is used to indicate that the service providing device successfully completes updating of an application in the service providing device according to the to-be-updated application information.
  • the to-be-updated application information includes at least one of the following information: the uninstallation information used to indicate the uninstalled application, the installation information used to indicate the installed application, and the upgrade information used to indicate the application version of the upgraded application.
  • the application information includes:
  • the version number corresponding to the application set installed in the service providing device is the version number corresponding to the application set installed in the service providing device.
  • the determining module is configured to determine, according to the identifier information of the application of each application installed in the service providing device, and/or the version number of the application, a service providing device, where the determined service providing The application installed in the device matches the identification information of the application, and/or the determined version number of the application installed in the service providing device is not lower than the version number of the application according to the application; or
  • the embodiment of the invention further discloses a smart television system, comprising: at least one server, at least one client, at least one service providing device; wherein the server comprises a device connected as described above; the server is used for The service providing device is allocated to the client; the client is set in a smart TV, and the service providing device is disposed on the network side for providing an Internet service for the connected client through the network.
  • the smart television system further includes at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different clients respectively User data corresponding to the end.
  • the service providing device includes: a network set top box; the internet service includes at least one of the following:
  • Live TV, audio and video services, web services, and game services are examples of Live TV, audio and video services, web services, and game services.
  • the embodiments of the invention include the following advantages:
  • the server may obtain the device capability information that matches the client, where the device capability information includes: establishing a connection with the client. At least one service provides device capability information of the device; then, a service providing device is determined according to the device capability information. In other words, the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established the connection with the client. After the client successfully connects with the determined service providing device, the determined service providing device can normally provide services for the client.
  • connection between the client and the service providing device is not unique, and the device providing the device capable of satisfying the service provided by the client can be connected to the client according to the actual situation. Adapt to the constant changes and changes of the application to ensure the normal operation of the smart TV system.
  • FIG. 1 is a flow chart showing the steps of a method for connecting devices according to Embodiment 1 of the present invention
  • FIG. 2 is a flow chart showing the steps of a method for connecting devices according to Embodiment 2 of the present invention
  • FIG. 3 is a structural diagram of a smart television system according to Embodiment 3 of the present invention.
  • FIG. 4 is a flow chart showing the steps of connecting a client to a service providing device in a smart television system according to Embodiment 3 of the present invention.
  • FIG. 5 is a structural block diagram of an apparatus for connecting devices according to Embodiment 4 of the present invention.
  • FIG. 6 is a structural block diagram of an apparatus for connecting devices according to Embodiment 5 of the present invention.
  • the method for device connection according to the embodiment of the present invention can be applied to a system including a client and a service providing device, wherein the service providing device can provide various services to the client.
  • a smart television system comprising: at least one server, at least one client, at least one service providing device; wherein the server is configured to allocate a service providing device to the client; the client The terminal is disposed in the smart TV, and the service providing device is disposed on the network side, and is configured to provide an Internet service for the connected client through the network.
  • the smart television system may further include at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different User data corresponding to the client.
  • the service providing device includes: a network set top box; the internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
  • FIG. 1 a flow chart of steps of a method for device connection in Embodiment 1 of the present invention is shown.
  • the method for connecting the devices in this embodiment will be described in the perspective of a server in the above-described smart television system architecture.
  • the method for connecting the device in this embodiment may specifically include the following steps:
  • Step 102 Receive request information reported by the client for requesting allocation of the service providing device.
  • the embodiment provides a network data service for the smart television terminal by using the service providing device and the client, wherein the service providing device may be a hardware terminal disposed on the network side, and various data required for the network service provided by the service providing device, the client One form of presentation may be an APP (Application) installed on the smart TV terminal, and the client decodes and displays the data provided by the network.
  • APP Application
  • each service providing device and the client may not have a unique correspondence, but temporarily allocate a service providing device to the client when the client requests the network server to be provided by the service providing device, and allocate the service providing device and After the client establishes a connection, the service providing device provides data services for the client during the connection.
  • the server may receive request information reported by the client for requesting allocation of the service providing device.
  • Step 104 Obtain device capability information that matches the client according to the request information.
  • the device capability information may include: device capability information of at least one service providing device that has established a connection with the client.
  • the server may determine, according to the historical connection record of the client, at least one service providing device that has established a connection with the client, and obtain device capability information corresponding to each of the determined at least one service providing device.
  • the history connection record may be carried in the request information and reported to the server, or may be obtained by the server after receiving the request information.
  • the server allocates a service to the client each time. After the device is provided, the record of the corresponding client and the assigned service providing device is saved, which is not limited in this embodiment.
  • Step 106 Determine a service providing device according to the device capability information.
  • the device capability information may be understood as information indicating a device capability that the service providing device can provide the service.
  • the device capabilities of a service-providing device can be determined according to the services it can provide. For example, if the device capability of the service providing device A is higher than the device capability of the service providing device B, it can generally be considered that the service providing device A can provide services in addition to all the services that the service providing device B can provide. It can further include other services.
  • the device capability of the service providing device determined according to the device capability information is not lower than the device capability indicated by the device capability information.
  • the determined device capability of the service providing device is not lower than the device capability of any one of the service providing devices that have established a connection with the client.
  • the assigned service providing device can provide the client with a quality of service that is not lower than the service provided by the previously provided service providing device, thereby improving the user experience.
  • Step 108 Send device information of the determined service providing device to the client.
  • the device information is used to instruct the client to establish a connection with the determined service providing device according to the device information.
  • the client may establish a connection with the determined service providing device according to the device information.
  • the device information includes, but is not limited to, a UUID (Universally Unique Identifier) of the service providing device, an IP of the service providing device (Internet Protocol), and a service providing At least one of the ports of the device.
  • UUID Universalally Unique Identifier
  • IP Internet Protocol
  • service providing At least one of the ports of the device For example, after the server sends the device information of the determined service providing device to the client, the client establishes and determines the UUID, the IP address, and the port corresponding to the determined service providing device.
  • the outgoing service provides a connection between the devices.
  • the server may acquire device capability information that matches the client, where the device capability information includes: The device establishes device capability information of the at least one service providing device that is connected; and then determines a service providing device according to the device capability information.
  • the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing device can normally provide services for the client.
  • the connection between the client and the service providing device is not unique, and the device providing the device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
  • This embodiment is based on the device connection scheme of the first embodiment, and the device connection scheme of the first embodiment is performed. Further optimization.
  • FIG. 2 a flow chart of steps of a method for device connection in Embodiment 2 of the present invention is shown.
  • the method of connecting the devices in this embodiment is still described in the perspective of the server in the smart TV system architecture.
  • the method for connecting the device in this embodiment may specifically include the following steps:
  • Step 202 The server receives request information reported by the client for requesting allocation of the service providing device.
  • Step 204 The server acquires device capability information that matches the client according to the request information.
  • the device capability information includes: device capability information of at least one service providing device that has established a connection with the client. Further, in this embodiment, the device capability information may include application information for characterizing an application installed in the service providing device.
  • the application information includes, but is not limited to, identification information of an application of each application installed in the service providing device, and/or a version number of the application; or the application information includes but is not limited to the application set installed in the service providing device. The corresponding version number.
  • the element in the application set installed in the service providing device may be: each application installed in the service providing device (including but not limited to application credit of each application); the application set may correspond to a version number, when the application is set
  • the version number of the application collection is also updated, for example, based on the original version number: the original version number is 1.0, and the new version number is updated. Is 2.0.
  • Step 206 The server determines a service providing device according to the device capability information.
  • the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information.
  • the obtained device capability information that matches the client may include: at least establishing a connection with the client.
  • a service provides device capability information for a device.
  • the server may sequentially compare device capability information of the at least one service providing device to determine a service providing device.
  • the device capability of the service providing device selected at the previous connection is generally less than or equal to the device capability of the service providing device selected at the time of the last connection, and therefore, according to the last time
  • the device capability information of the service providing device connected to the client determines a service providing device, thereby reducing the number of comparisons and improving processing efficiency.
  • a feasible way to determine a service provider can be as follows:
  • the server determines, according to the identification information of the application of each application installed in the service providing device, and/or the version number of the application, a service providing device, where the determined application installed in the service providing device and the application are determined
  • the identification information matches, and/or, the determined version number of the application installed in the service providing device is not lower than the The version number of the application;
  • the server determines, according to the version number corresponding to the application set installed in the service providing device, a service providing device, where the determined version number of the application set installed in the service providing device is not lower than the used application set. The corresponding version number.
  • the server determines a service providing device as an example according to the version number corresponding to the application set installed in the service providing device, and details the specific step procedure of determining a service providing device.
  • the application set installed in the service providing device may have a corresponding version number
  • the server may obtain the version number (for example, 1.0) of the application set in the service providing device that the client has recently connected, and then The server may select one service providing device from the at least one service providing device that satisfies the first setting requirement as the determined one of the service providing devices.
  • the at least one service providing device that satisfies the first setting requirement may be that the version number of the application set in the at least one service providing device that meets the first setting requirement is greater than or equal to 1.0.
  • the server may also determine a service providing device according to the identification information of the application of each application installed in the service providing device, and/or the version number of the application.
  • the server may obtain identification information of an application of each application installed in the service providing device that the client has recently connected, and then the server may select one service offering from at least one service providing device that meets the second setting requirement.
  • the device serves as the determined service providing device.
  • the at least one service providing device that satisfies the second setting requirement may be: the identification information of the application of each application installed in the at least one service providing device that meets the second setting requirement, and the latest connection
  • the identification information of the applications of the applications installed in the service providing device is matched (consistent) one by one.
  • the server may obtain a version number of an application of each application installed by the service providing device that the client has recently connected, and then the server may select one service provider from at least one service providing device that meets the third setting requirement.
  • the device serves as the determined service providing device.
  • the at least one service providing device that meets the third setting requirement may be: the version number of the application of each application installed in the at least one service providing device that meets the third setting requirement is not lower than the corresponding one.
  • each service providing device may have a corresponding version number, and the service providing device A is taken as an example.
  • the version number corresponding to the service providing device A is 1.0, when the service providing device
  • the application installed in A changes (for example, adding an application, uninstalling an application, or upgrading an application, etc.)
  • the service provides The version number corresponding to the device A is also updated.
  • the version number corresponding to the service providing device A can be updated from 1.0 to 2.0.
  • the server may also obtain the version number of all service providing devices that have established a connection with the client, and then select a service providing device whose version number is greater than or equal to any one that has established a connection with the client.
  • the service providing device of the version number is used as the service providing device. The embodiment does not limit this.
  • the server may obtain the version number (such as 3.0) of the service providing device that the client has recently connected, and then the server may select a service capable service from at least one service providing device whose version number is greater than or equal to 3.0.
  • a device is provided as the determined one of the service providing devices.
  • the service providing device having the service capability can be understood as a service providing device that can be allocated and used, for example, a service providing device in an idle state; correspondingly, the service providing device that cannot be allocated and used can be regarded as not
  • a service providing device having a service capability for example, a service providing device in a busy state, wherein an idle state means that the service providing device is not currently allocated, that is, no service is provided for the client; and the working state refers to the service.
  • the provisioning device is currently assigned, ie it is already serving the client and cannot be further allocated.
  • Step 208 The server sends the device information of the determined service providing device to the client, so that the client establishes a connection with the determined service providing device according to the device information.
  • the device information is used to instruct the client to establish a connection with the determined service providing device according to the device information.
  • the application in the service providing device may be updated in real time by using the following steps to ensure that each service providing device can provide high-quality services for the client and improve the user experience.
  • Step 210 The server updates the application in the service providing device according to the application information used to characterize the application installed in the service providing device.
  • the application information for characterizing the application installed in the service providing device may be understood as requiring the application installed in the service providing device to be updated, and/or the application installed in the service providing device. Way to update.
  • a setting application list is taken as an example.
  • the setting application list may refer to: a set of all applications that should be installed theoretically in each service providing device so far; however, in practical applications
  • the update of each service providing device is not completely synchronized, and the application installed in a part of the service providing device may match the application in the set application list, and the other part does not match. Therefore, the set application list may be It is considered to be used to characterize application information that requires an application installed in the service providing device.
  • the set application list may have a version number of 3.0, and the version number of the application set installed in the service providing device A is 2.0; then the service may be provided according to the set application list with the version number of 3.0.
  • the application installed in the device A is updated: for example, the application installed in the service providing device A is updated according to the application information in the setting application list with the version number 3.0.
  • the setting application list may record identification information (eg, an application name) of the plurality of applications, for example, the setting application list may include the following information: application A, application B, and application C. .
  • the application installed in the service providing device A may be updated according to the identification information recorded in the setting application list: for example, the identification information recorded in the application list (application A, application B, and application C) may be set. Comparing with the application name of the installed application in the service providing device A, respectively, determining that the application A and the application B are installed in the service providing device A, but the application C is not installed, the service providing may be updated.
  • Application in device A new application C).
  • the application version number of the plurality of applications may be recorded in the set application list, for example, the application version number of the application A is 1.0, the application version number of the application B is 2.0, and the application version number of the application C is 3.0;
  • the application installed in the service providing device A may be updated according to the application version number recorded in the setting application list: for example, the application version number recorded in the application list may be set (the application version number of the application A) If the application version number of the application B is 2.0, the application version number of the application C is 3.0, and the application version number of the installed application in the service providing device A is compared, and it is determined that the service providing device A has been Application A with application version number 1.0, application B with version 1.0, and application C are not installed.
  • the application in service provider A can be updated: application B to version 2.0 will be upgraded, and an application version will be installed.
  • the foregoing step 210 may specifically include:
  • Sub-step 2102 the server acquires application information of an installed application in the service providing device.
  • the application information of the installed application in the service providing device may be obtained in any suitable manner.
  • application information of an application installed in the service providing device may be acquired from a list or log information for recording application information of an application installed in the service providing device.
  • Sub-step 2104 The server generates application information to be updated according to the application information of the installed application and the application information used to represent the application installed in the service providing device.
  • the application for providing services to the user is continuously updated, and the server may record and save the application information of the application corresponding to each moment in the service providing device.
  • the previous time of the current moment may also be recorded after the application information of the application in the smart television system is recorded at the current moment.
  • the application information of the application in the smart television system is deleted.
  • the application information of the application at each moment in the smart television system may be recorded in the form of an application list, and whenever there is an application update in the smart television system (eg, new application, application version upgrade, and Application deletion, etc., the application list is also updated: the application information of the application maintained in the application list is updated according to the update of the application. More preferably, after the application list is updated, the version number of the updated application list may also be updated (eg, the version number is increased).
  • the application information for characterizing the application installed in the service providing device may include: application information of the application in the smart TV system at the current moment (eg, an application list of the latest version number maintained in the server).
  • the server may compare the installed application in the obtained service providing device with the application information used to represent the application installed in the service providing device, thereby generating the application information to be updated.
  • the application information to be updated includes at least one of the following information: an uninstallation information for indicating an uninstalled application, installation information for indicating installation of the application, and upgrade information for indicating an application version of the upgraded application.
  • the application information of the installed application in the service providing device that is acquired by the server includes: application A, version number 1.0; and application information for characterizing the application installed in the service providing device, including: application A, version number 2.0, visible,
  • the application A needs to be upgraded, and the application information to be updated generated according to the foregoing information may include information for upgrading the application A.
  • Sub-step 2106 the server notifies the service providing device to update an application in the service providing device according to the to-be-updated application information.
  • the method for connecting the device may further include:
  • Step 212 After receiving the indication information reported by the service providing device, the server updates the device capability information of the service providing device.
  • the indication information may be used to indicate that the service providing device successfully completes updating of an application in the service providing device according to the to-be-updated application information.
  • the server may update the device capability information of the service providing device, including but not limited to updating the version number of the service providing device.
  • steps 210-212 may be performed before or after any of the foregoing steps 202-208, or may be performed at the same time, which is not limited in this embodiment.
  • the server may acquire device capability information that matches the client, where the device capability information includes: Establishing device capability information of the at least one service providing device that is connected; and then determining, according to the device capability information, A service provider is provided.
  • the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing device can normally provide services for the client.
  • the connection between the client and the service providing device is not unique, and the device providing the device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
  • the application may be installed in the service providing device, and the service providing device provides the service to the client, and the service providing device is disposed on the network side, so the server may In the cloud, the application in the service providing device is uniformly updated and managed, and the maintenance is convenient; the user's time and download resources are not occupied, the update efficiency is improved, and the user cost is saved.
  • the server can update the application in the service providing device at any time when the service providing device is in an idle state (the service is not provided), thereby further improving resource utilization and update efficiency.
  • a smart television system may be employed: the smart television system may include at least one client, at least one dispatch server, and at least one service providing device.
  • the client is a terminal that can use the APP application provided by the service providing device, such as a set top box, a smart mobile terminal, a PAD (Portable Android Device tablet), a smart TV with a decoding function, and the like.
  • the service providing device can be set as a server in the cloud to remotely provide services for the client.
  • the scheduling server may select one of the plurality of service providing devices in the cloud to allocate to the client according to the set allocation policy.
  • the service providing device can be set in the cloud as a hardware device
  • the software (application) can be installed in the service providing device
  • the service providing device can be used in the cloud to set the user interface of various applications.
  • UI User Interface
  • the client needs to have basic decoding capabilities to present the user interface of the application to the user, and to operate on various applications.
  • the software (application) may not be installed in the set top box, may be installed in the service providing device, and provide services to the user through the service providing device. . Since the software can no longer be installed in the set top box, the set top box can no longer be set separately.
  • the smart mobile terminal (or a smart TV with decoding function) can be directly connected to the service providing device, and the user does not need to Separate purchase/setting of set-top boxes, saving users
  • the intelligent mobile terminal (or the smart TV with decoding function) directly interacts with the service providing device, which improves the interaction efficiency, reduces the maintenance steps for the set top box, and reduces the occupation of resources.
  • the scheduling server may refer to a server, or may refer to a server group composed of multiple servers equivalent to the scheduling server function.
  • the user interface displayed on the client side is capable of providing various network services for the user, for example, the user interface may include various menu options or icons, such as: high definition video, ultra clear television , software downloads, games, life services (such as payment, shopping, etc.), so that the client users can watch HD movies and TV, play somatosensory games, popular large 3D games, online shopping, pay for water and electricity, etc. on the TV for free. And other functions.
  • the user can continue to enter the corresponding UI interface to perform operations, such as local or network resources when playing HD video.
  • the user can control through the external device of the remote controller, such as selecting a certain function and entering the next level interface, and the UI interface is displayed based on the transport stream of the service providing device. Therefore, the control response to the UI interface is also performed by the service providing device.
  • the service providing device virtualizes an input device in the user space, simulates a hardware input signal through the virtual input device, and injects an input signal of the user into the system to input an event and distribute the image, thereby realizing The service provides the device's response to user control.
  • an architecture of a preferred smart television system is shown in FIG. 3.
  • the smart television system may specifically include: at least one device server (such as the device server 301 shown in FIG. 3), at least one scheduling server (such as the scheduling server 302 shown in FIG. 3), and at least one client. End (client 303 shown in Figure 3).
  • Each device server includes at least one service providing device (such as the service providing device 304 in the device server 301 shown in FIG. 3).
  • the smart television system may further include: at least one management server (such as the management server 305 shown in FIG. 3) and at least one user data information storage device (such as the user data information storage device 306 shown in FIG. 3). ).
  • the user data information storage device is configured to store user data information, one user may correspond to a dedicated user data information storage device, and multiple users may share the same user data information storage device. This is not a limitation.
  • the user data information storage device may be a physical device, a logical device, or a combination of physical and logical devices.
  • the user data information storage device may include at least one user partition (such as the user partition 307 shown in FIG. 3), each user The partition corresponds to storing user data information of one user.
  • the client 303 may be a hardware device as described above, such as a set top box, a smart mobile terminal, a PAD, a smart TV with a decoding function, and the like.
  • the client 303 may also be in the form of a smart TV terminal, which may be presented in the form of an APP (Application) installed in the smart TV terminal.
  • the smart TV terminal herein may specifically include: a set top box and a mobile terminal. , smart TV, etc.
  • the client 303 can be used to play a user interface parsed by a transport stream (TS) sent by the service providing device 304, and play multimedia data (such as video signals, audio signals, etc.) acquired from other network servers.
  • TS transport stream
  • the client 303 can be used to listen to an input message generated by the user through an input device such as a remote controller, and send the input message to the service providing device 304 or the dispatch server 302.
  • an input device such as a remote controller
  • the client 303 only parses and displays, and the input message controlled by the client 303 to the user interface is also forwarded to the service providing device 304 to enable It adjusts the user interface accordingly.
  • the service providing device 304 is located on the network side, and each of the service providing devices may specifically include: a software module carried by the hardware board and the hardware board. It should be noted that, in this embodiment, various applications may be directly installed in the service providing device, and the user may perform the application in the service providing device 304 through the user interface corresponding to the application displayed by the client 303. In the operation, it is no longer necessary to separately install an application in the client 303, so that the technician can perform unified maintenance on the smart television system, thereby reducing the workload and improving the maintenance efficiency.
  • the user partition 307 is located on the network side. Generally, each user applies a user partition, and user data information of each user is saved under the corresponding user partition. Further, each user partition has a unique address information, and the address information may indicate a specific address of the corresponding user partition, and the user information may be quickly found through the address information to complete the call of the user data information.
  • the dispatch server 302 (or the management server 305) can perform maintenance only on address information (small data amount) without maintaining the entire user data information (large amount of data), reducing the maintained data. The quantity reduces the resource occupation, improves the system running speed, and the data information is easy to find.
  • the scheduling server 302 is located on the network side, and is mainly configured to allocate an idle, stateful service providing device 304 to the client 303 according to the request message sent by the client 303.
  • the user partition corresponding to the user ID may be mounted to the The assigned service providing device 304, that is, each user partition may correspond to a unique user ID, such as user partition A corresponding to user A, etc., such that user A is at client 303 with the last assigned, After the service provider device with the number 001 is disconnected, even if the service provider device with the number 002 is connected next time, the user A can still use the user partition A, and can use data such as the previous history.
  • the management server 305 is located on the network side and can be used to manage all the service providing devices.
  • the management may include: status reporting, heartbeat management, setting attributes, obtaining attributes, network wake-up, soft restart, hard restart, etc.; visible, management
  • the server 305 can be used as a remote server to implement network wake-up of the service providing device in the wide area network by using the technical solution of the present invention.
  • the service providing device adopts a reusable mechanism, that is, one service providing device serves to continue servicing another client after the client resets. That is, after the service providing device establishes a connection with the client, the two are the only corresponding interaction relationship, and when the completion of the service is disconnected, the service providing device does not have a direct correspondence with the client, but waits for the system to be It allocates other clients. Therefore, the service providing device can serve one client at a time, and if the service providing device is not used for a set length of time, it will enter a power-saving sleep state.
  • the Idle state that is, the idle state, in which the service providing device system can directly allocate it to the required service providing device;
  • the Busy state that is, the busy state, the service providing device in this state has been connected to the client and is in the service client, and can no longer be allocated;
  • Sleep state that is, a sleep state, when a service providing device having no redundant idle state in the system can be allocated, the system can wake up the service providing device in the state and allocate a client to it;
  • the Exception state that is, the exception state, in which the allocation cannot be performed
  • the management state that is, the management state, indicates that the service providing device is in the server management state and cannot be allocated.
  • the method for connecting the client and the service providing device in the smart television system is taken as an example, and the method for connecting the device is described in detail.
  • the server may update each service providing device in the smart television system, including but not limited to, updating an application installed in each service providing device.
  • the server may obtain application information of the installed application in the service providing device; and then generate, to be updated, the application information according to the installed application and the application information used to represent the application installed in the service providing device Using the information; finally, notifying the service providing device to update the application in the service providing device according to the application information to be updated.
  • a feasible implementation manner may be as follows: the server maintains an application list, and the application list may be used to identify application information that requires an application installed in the service providing device; the server may obtain the obtained service provided in the device. The application list of the installed application is compared, the difference between the two is determined, and the difference between the two is sent to the service providing device as the application information to be updated.
  • the version number of the application list maintained in the server is also constantly changing. For example, after the application list is updated, the version number of the application list is also incremented by one, and those skilled in the art should understand that in the selection.
  • the application list with the highest version number is generally selected as the application list when the service providing device is updated.
  • the device capability information of the service providing device will also be updated accordingly.
  • the device capability of the service providing device may be characterized by, but not limited to, using the device version number of the service providing device as the device capability information.
  • FIG. 4 a flow chart of steps for connecting a client to a service providing device in a smart television system according to Embodiment 3 of the present invention is shown.
  • Step 402 The server receives request information reported by the client for requesting allocation of the service providing device.
  • step S412 After the server receives the request information reported by the client, at least one of the following steps 404, 406, 408, and 410 may be used to determine a service providing device, and then step S412 is performed.
  • step 402 the following step 404 can be performed:
  • Step 404 The server obtains the identification information of the application of each application installed in the service providing device A according to the request information, and determines a service providing according to the identification information of the application of each application installed in the service providing device A. device.
  • the service providing device A may be a service providing device that the client has recently connected.
  • the server may select one service providing device B from the at least one service providing device in the smart television system as the determined one of the service providing devices.
  • the identification information of the application of each application installed in the service providing device B matches the identification information of the application of each application installed in the service providing device A; meanwhile, the service providing device B is a service A service providing device that has capabilities (eg, in an idle state).
  • step 406 can be performed:
  • Step 406 The server obtains the version number of the application of each application installed in the service providing device A according to the request information, and determines a service providing according to the version number of the application of each application installed in the service providing device A. device.
  • the service providing device A may be a service providing device that the client has recently connected.
  • the server may select one service providing device B from the at least one service providing device in the smart television system as the determined one of the service providing devices.
  • the version number of the application of each application installed in the service providing device B is not lower than the version number of the application of each application installed in the service providing device A; meanwhile, the service providing device B is a service A service providing device that has capabilities (eg, in an idle state).
  • step 402 the following step 408 can be performed:
  • Step 408 The server obtains a version number corresponding to the application set installed in the service providing device A according to the request information, and determines a service providing device according to the version number corresponding to the application set installed in the service providing device A.
  • the service providing device A may be a service providing device that the client has recently connected.
  • the server may select one service providing device B from the at least one service providing device in the smart television system as the determined one of the service providing devices.
  • the version number corresponding to the application set installed in the service providing device B is not lower than the version number corresponding to the application set installed in the service providing device A; meanwhile, the service providing device B is a service capable ( For example, a service providing device in an idle state.
  • step 410 Another preferably, after step 402, the following step 410 can be performed:
  • Step 410 The server obtains the device version number of the service providing device A according to the request information, and determines a service providing device according to the device version number of the service providing device A.
  • the service providing device A may be a service providing device that the client has recently connected.
  • the server may select one service providing device B from the at least one service providing device in the smart television system as the determined one of the service providing devices.
  • the device version number of the service providing device B is not lower than the device version number of the service providing device A; meanwhile, the service providing device B is a service providing device having a service capability (eg, in an idle state) .
  • the solution of this embodiment can be performed by selecting at least one step from the above steps 404-410 to determine a service providing device. After determining a service providing device, the following step 412 can be continued.
  • Step 412 The server sends the device information of the determined service providing device to the client, so that the client establishes a connection with the determined service providing device according to the device information.
  • the device information includes, but is not limited to, at least one of a UUID, an IP address, and a port of the determined service providing device.
  • the client may establish a connection with the determined service providing device according to at least one of the determined UUID, IP address, and port of the service providing device.
  • the server may acquire device capability information that matches the client, where the device capability information includes: The device establishes device capability information of the at least one service providing device that is connected; and then determines a service providing device according to the device capability information.
  • the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing device can normally provide services for the client.
  • the connection between the client and the service providing device is not unique, and the device providing the device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
  • the embodiment of the present invention further provides a device for connecting devices.
  • the server in the smart television system described in the foregoing embodiment may include a device connected to the device, that is, the device connected to the device may be used to implement the foregoing.
  • Method embodiments therefore, the features in the above method embodiments can be applied to the embodiment.
  • the device connected to the device may include:
  • the receiving module 502 is configured to receive request information reported by the client for requesting allocation of the service providing device.
  • the obtaining module 504 is configured to obtain, according to the request information, device capability information that matches the client.
  • the device capability information may include: device capability information of at least one service providing device that has established a connection with the client.
  • the determining module 506 is configured to determine a service providing device according to the device capability information.
  • the determined device capability of the service providing device is generally not lower than the device capability information. Indicated device capabilities.
  • the sending module 508 is configured to send, to the client, the device information of the determined service providing device, where the device information is used to indicate that the client establishes the determined information according to the device information.
  • the service provides a connection between the devices.
  • the device connected to the device may obtain device capability information that matches the client, where the device capability information includes: The client establishes device capability information of the at least one service providing device that is connected; and then determines a service providing device according to the device capability information.
  • the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing device can normally provide services for the client.
  • the connection between the client and the service providing device is not unique, and the device providing device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
  • the device connected to the device may include:
  • the receiving module 602 is configured to receive request information reported by the client for requesting to allocate the service providing device.
  • the obtaining module 604 is configured to obtain, according to the request information, device capability information that matches the client.
  • the device capability information that matches the client may include: device capability information of at least one service providing device that has established a connection with the client.
  • the determining module 606 is configured to determine a service providing device according to the device capability information.
  • the determined device capability of the service providing device is generally not lower than the device capability indicated by the device capability information.
  • the device capability information may include: application information for characterizing an application installed in the service providing device. More preferably, the application information may include: identification information of an application of each application installed in the service providing device, and/or a version number of the application; or a version number corresponding to the application set installed in the service providing device.
  • the determining module 606 is specifically configured to determine, according to the identifier information of the application of each application installed in the service providing device, and/or the version number of the application, to determine a service providing.
  • the device wherein the determined application installed in the service providing device matches the identification information of the application, and/or determines The version number of the application installed in the service providing device is not lower than the version number of the application on which the application is based; or
  • a sending module 608 configured to send, to the client, the device information of the determined service providing device, so that the client establishes a connection with the determined service providing device according to the device information.
  • the device connected to the device may further include:
  • the update module 610 is configured to update an application in the service providing device according to the application information used to characterize the application installed in the service providing device.
  • the update module 610 may specifically include:
  • the application information obtaining module 6102 is configured to obtain application information of an installed application in the service providing device.
  • the generating module 6104 is configured to generate application information to be updated according to the application information of the installed application and the application information used to represent the application installed in the service providing device.
  • the to-be-updated application information includes, but is not limited to, at least one of the following: an uninstallation information for indicating an uninstalled application, installation information for indicating installation of the application, and an application for indicating an upgraded application. Version upgrade information.
  • the notification module 6106 is configured to notify the service providing device to update an application in the service providing device according to the application information to be updated.
  • the device connected to the device may further include:
  • the capability information update module 612 is configured to: after the notification module 6106 notifies the service providing device that the application in the service providing device is updated according to the to-be-updated application information, receive the indication information reported by the service providing device And updating the device capability information of the service providing device, where the indication information is used to instruct the service providing device to successfully complete the update of the application in the service providing device according to the to-be-updated application information.
  • the device connected to the device may obtain device capability information that matches the client, where the device capability information includes: The client establishes device capability information of the at least one service providing device that is connected; and then determines a service providing device according to the device capability information.
  • the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing The device can serve the client normally.
  • the connection between the client and the service providing device is not unique, and the device providing device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
  • the application may be installed in the service providing device, and the service providing device provides the service to the client, and the service providing device is disposed on the network side, and therefore, the device is connected.
  • the device can perform unified update management on the application in the service providing device in the cloud, and the maintenance is convenient; the user's time and download resources are not occupied, the update efficiency is improved, and the user cost is saved.
  • the device connected to the device can update the application in the service providing device at any time when the service providing device is in an idle state (no service is provided), thereby further improving resource utilization and update efficiency.
  • the embodiment of the invention further discloses a smart television system, comprising: at least one server, at least one client, at least one service providing device; wherein the server is configured to allocate a service providing device to the client; the client The terminal is disposed in the smart TV, and the service providing device is disposed on the network side, and is configured to provide an Internet service for the established client through the network;
  • the server may include the device connected to the device in the fifth embodiment, or the device connected in the sixth embodiment.
  • the system further includes: one less user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is respectively configured to store user data corresponding to different clients .
  • the service providing device includes: a network set top box; the internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
  • the smart television system is basically the same as the system described in FIG. 3 above, and therefore will not be described again.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • Embodiments of the invention are applicable to a wide variety of general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor based systems, set-top boxes, programmable consumer electronics devices, network PCs, small computers, mainframe computers, including A distributed computing environment of any of the above systems or devices, and the like.
  • Embodiments of the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • Embodiments of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.
  • a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable component, a thread of execution, a program, and/or a computer.
  • an application or script running on a server, or a server can be a component.
  • One or more components can be executed in a process and/or thread, and the components can be localized on a single computer and/or distributed between two or more computers and can be run by various computer readable media.
  • the component may also pass signals based on data having one or more data packets, for example, from a signal interacting with another component in the local system, the distributed system, and/or interacting with other systems over the network of the Internet. Local and/or remote processes to communicate.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Therefore, embodiments of the present invention may employ an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Provided are a device connection method and apparatus, and a smart television system. The method comprises: receiving request information reported by a client for requesting to allocate a service providing device; obtaining, according to the request information, device capability information matching the client; determining a service providing device according to the device capability information, wherein a device capability of the determined service providing device is not weaker than a device capability indicated by the device capability information; and sending device information of the determined service providing device to the client, wherein the device information is used to instruct the client to establish a connection with the determined service providing device according to the device information. Embodiments of the present invention are adaptive to continuous updates and changes of applications, and can ensure normal operation of a smart television system.

Description

设备连接的方法和装置、以及智能电视***Method and device for connecting devices, and smart television system
本申请要求2015年06月17日递交的申请号为201510338189.X、发明名称为“设备连接的方法和装置、以及智能电视***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510338189.X filed on Jun. 17, 2015, entitled,,,,,,,,,,,,,,,,,,, In the application.
技术领域Technical field
本发明涉及互联网技术领域,具体涉及一种设备连接的方法和装置,以及一种智能电视***。The present invention relates to the field of Internet technologies, and in particular, to a method and apparatus for connecting devices, and a smart television system.
背景技术Background technique
随着互联网技术的发展,智能电视、数字视频变换盒的出现,使得电视节目***也越来越智能化,除了传统的电视节目的播出之外,还可以进行互联网活动。With the development of Internet technology, the emergence of smart TV and digital video converter boxes has made the TV program system more and more intelligent. In addition to the broadcast of traditional TV programs, Internet activities can also be carried out.
以基于数字视频变换盒实现的电视节目***为例,数字视频变换盒(Set Top Box,简称STB,通常也可以称作机顶盒或机上盒)是一个连接电视终端与外部信号源的设备。数字视频变换盒可以将压缩的数字信号转成电视内容,并在电视终端上显示出来。Taking a television program system based on a digital video conversion box as an example, a digital video conversion box (STB, also commonly referred to as a set top box or a set-top box) is a device that connects a television terminal with an external signal source. The digital video converter box converts the compressed digital signal into television content and displays it on the television terminal.
可见,在目前电视节目***中,数字视频变换盒与电视机的连接是相对固定的,即,一个数字视频变换盒固定为一个电视机提供服务。然而,互联网技术的发展日新月异的、各种应用也在不断更新变化,当数字视频变换盒不能满足应用的更新变化时,则将不能正常为电视终端提供服务。It can be seen that in the current television program system, the connection between the digital video conversion box and the television set is relatively fixed, that is, a digital video conversion box is fixed to provide a service for a television set. However, the development of Internet technology is changing with each passing day, and various applications are constantly changing. When the digital video converter box cannot meet the update changes of the application, it will not be able to provide services for the TV terminal normally.
发明内容Summary of the invention
本发明实施例提供了一种设备连接的方法和装置,以及一种智能电视***,以解决在目前电视节目***中,当数字视频变换盒不能满足应用的更新变化时,不能继续正常为电视终端提供服务的问题。Embodiments of the present invention provide a method and apparatus for device connection, and a smart television system to solve the problem that in the current television program system, when the digital video conversion box cannot meet the update change of the application, the television terminal cannot be continued normally. The issue of providing services.
为了解决上述问题,本发明实施例公开了一种设备连接的方法,包括:In order to solve the above problem, an embodiment of the present invention discloses a method for device connection, including:
接收客户端上报的用于请求分配服务提供设备的请求信息;Receiving request information reported by the client for requesting allocation of the service providing device;
根据所述请求信息,获取与所述客户端相匹配的设备能力信息;其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;Obtaining, according to the request information, device capability information that is matched with the client, where the device capability information includes: device capability information of at least one service providing device that has established a connection with the client;
根据所述设备能力信息确定出一个服务提供设备,其中,确定出的服务提供设备的设备能力不低于所述设备能力信息所指示的设备能力; Determining, according to the device capability information, a service providing device, where the determined device providing device has a device capability that is not lower than the device capability indicated by the device capability information;
将所述确定出的服务提供设备的设备信息发送至所述客户端,其中,所述设备信息用于指示所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。Sending, to the client, the device information of the determined service providing device, where the device information is used to indicate that the client establishes a relationship with the determined service providing device according to the device information. connection.
可选地,所述设备能力信息,包括:用于表征服务提供设备中安装的应用的应用信息;Optionally, the device capability information includes: application information used to identify an application installed in the service providing device;
所述方法还包括:The method further includes:
根据用于表征要求服务提供设备中安装的应用的应用信息,更新服务提供设备中的应用。The application in the service providing device is updated according to the application information for characterizing the application installed in the service providing device.
可选地,根据用于表征要求服务提供设备中安装的应用的应用信息,更新服务提供设备中的应用,包括:Optionally, updating the application in the service providing device according to the application information used to identify the application installed in the service providing device, including:
获取服务提供设备中已安装的应用的应用信息;Obtain application information of an installed application in the service providing device;
根据所述已安装的应用的应用信息和所述用于表征要求服务提供设备中安装的应用的应用信息,生成待更新应用信息;Generating application information to be updated according to application information of the installed application and application information for characterizing an application installed in the service providing device;
通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用。Notifying the service providing device to update an application in the service providing device according to the to-be-updated application information.
可选地,在通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用的步骤之后,所述方法还包括:Optionally, after the step of notifying the service providing device to update the application in the service providing device according to the to-be-updated application information, the method further includes:
在接收到所述服务提供设备上报的指示信息后,更新所述服务提供设备的设备能力信息;其中,所述指示信息用于指示所述服务提供设备根据所述待更新应用信息成功完成所述服务提供设备中的应用的更新。After receiving the indication information reported by the service providing device, updating the device capability information of the service providing device, where the indication information is used to indicate that the service providing device successfully completes according to the to-be-updated application information. The service provides an update to the application in the device.
可选地,所述待更新应用信息包括如下信息中的至少一种:用于指示卸载应用的卸载信息、用于指示安装应用的安装信息、和用于指示升级应用的应用版本的升级信息。Optionally, the to-be-updated application information includes at least one of the following information: the uninstallation information used to indicate the uninstalled application, the installation information used to indicate the installed application, and the upgrade information used to indicate the application version of the upgraded application.
可选地,所述应用信息,包括:Optionally, the application information includes:
服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号;或The identification information of the application of each application installed in the service providing device, and/or the version number of the application; or
服务提供设备中安装的应用集合对应的版本号。The version number corresponding to the application set installed in the service providing device.
可选地,根据所述设备能力信息确定出一个服务提供设备,包括:Optionally, determining a service providing device according to the device capability information, including:
根据所述服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用与所述应用的标识信息匹配、和/或,确定出的服务提供设备中安装的应用的版本号不低于所根据的所述应用的版本号;或Determining a service providing device according to the identification information of the application of each application installed in the service providing device, and/or the version number of the application, wherein the determined application installed in the service providing device and the identifier of the application Information matching, and/or, determining that the version number of the application installed in the service providing device is not lower than the version number of the application on which the application is based; or
根据所述服务提供设备中安装的应用集合对应的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用集合的版本号不低于所根据的所述应用集合 对应的版本号。Determining, according to a version number corresponding to the application set installed in the service providing device, a service providing device, where the determined version number of the application set installed in the service providing device is not lower than the used application set The corresponding version number.
可选地,所述设备连接的方法应用于智能电视***;其中,所述智能电视***包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。Optionally, the method for connecting the device is applied to a smart television system; wherein the smart television system comprises: at least one server, at least one client, at least one service providing device; wherein the server is configured to The client allocates a service providing device; the client is set in a smart TV, and the service providing device is disposed on the network side for providing an Internet service for the connected client through the network.
可选地,所述智能电视***,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。Optionally, the smart television system further includes at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different clients respectively User data corresponding to the end.
可选地,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:Optionally, the service providing device includes: a network set top box; the internet service includes at least one of the following:
电视直播、音视频服务、网页服务、游戏服务。Live TV, audio and video services, web services, and game services.
本发明实施例还公开了一种设备连接的装置,包括:The embodiment of the invention further discloses a device connecting device, comprising:
接收模块,用于接收客户端上报的用于请求分配服务提供设备的请求信息;a receiving module, configured to receive, by the client, request information for requesting allocation of the service providing device;
获取模块,用于根据所述请求信息,获取与所述客户端相匹配的设备能力信息;其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;An acquiring module, configured to acquire, according to the request information, device capability information that matches the client, where the device capability information includes: a device capability of at least one service providing device that has established a connection with the client information;
确定模块,用于根据所述设备能力信息确定出一个服务提供设备,其中,确定出的服务提供设备的设备能力不低于所述设备能力信息所指示的设备能力;a determining module, configured to determine, according to the device capability information, a service providing device, where the determined device providing device has a device capability that is not lower than the device capability indicated by the device capability information;
发送模块,用于将所述确定出的服务提供设备的设备信息发送至所述客户端,其中,所述设备信息用于指示所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。a sending module, configured to send the device information of the determined service providing device to the client, where the device information is used to indicate that the client establishes the determined service according to the device information Provide a connection between devices.
可选地,所述设备能力信息,包括:用于表征服务提供设备中安装的应用的应用信息;Optionally, the device capability information includes: application information used to identify an application installed in the service providing device;
所述设备连接的装置还包括:The device connected to the device further includes:
更新模块,用于根据用于表征要求服务提供设备中安装的应用的应用信息,更新服务提供设备中的应用。And an update module, configured to update an application in the service providing device according to the application information used to characterize the application installed in the service providing device.
可选地,所述更新模块,包括:Optionally, the update module includes:
应用信息获取模块,用于获取服务提供设备中已安装的应用的应用信息;An application information obtaining module, configured to obtain application information of an installed application in the service providing device;
生成模块,用于根据所述已安装的应用的应用信息和所述用于表征要求服务提供设备中安装的应用的应用信息,生成待更新应用信息; a generating module, configured to generate application information to be updated according to application information of the installed application and application information used to represent an application installed in the service providing device;
通知模块,用于通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用。And a notification module, configured to notify the service providing device to update an application in the service providing device according to the to-be-updated application information.
可选地,所述设备连接的装置还包括:Optionally, the device connected to the device further includes:
能力信息更新模块,用于在所述通知模块通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用之后,在接收到所述服务提供设备上报的指示信息后,更新所述服务提供设备的设备能力信息;其中,所述指示信息用于指示所述服务提供设备根据所述待更新应用信息成功完成所述服务提供设备中的应用的更新。a capability information update module, configured to: after the notification module notifies the service providing device that the application in the service providing device is updated according to the application information to be updated, after receiving the indication information reported by the service providing device, And updating the device capability information of the service providing device; wherein the indication information is used to indicate that the service providing device successfully completes updating of an application in the service providing device according to the to-be-updated application information.
可选地,所述待更新应用信息包括如下信息中的至少一种:用于指示卸载应用的卸载信息、用于指示安装应用的安装信息、和用于指示升级应用的应用版本的升级信息。Optionally, the to-be-updated application information includes at least one of the following information: the uninstallation information used to indicate the uninstalled application, the installation information used to indicate the installed application, and the upgrade information used to indicate the application version of the upgraded application.
可选地,所述应用信息,包括:Optionally, the application information includes:
服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号;或The identification information of the application of each application installed in the service providing device, and/or the version number of the application; or
服务提供设备中安装的应用集合对应的版本号。The version number corresponding to the application set installed in the service providing device.
可选地,所述确定模块,用于根据所述服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用与所述应用的标识信息匹配、和/或,确定出的服务提供设备中安装的应用的版本号不低于所根据的所述应用的版本号;或Optionally, the determining module is configured to determine, according to the identifier information of the application of each application installed in the service providing device, and/or the version number of the application, a service providing device, where the determined service providing The application installed in the device matches the identification information of the application, and/or the determined version number of the application installed in the service providing device is not lower than the version number of the application according to the application; or
根据所述服务提供设备中安装的应用集合对应的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用集合的版本号不低于所根据的所述应用集合对应的版本号。Determining, according to the version number corresponding to the application set installed in the service providing device, a service providing device, where the determined version number of the application set installed in the service providing device is not lower than the corresponding application set according to the Version number.
本发明实施例还公开了一种智能电视***,包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器包括如上所述的设备连接的装置;所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。The embodiment of the invention further discloses a smart television system, comprising: at least one server, at least one client, at least one service providing device; wherein the server comprises a device connected as described above; the server is used for The service providing device is allocated to the client; the client is set in a smart TV, and the service providing device is disposed on the network side for providing an Internet service for the connected client through the network.
可选地,所述智能电视***,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。Optionally, the smart television system further includes at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different clients respectively User data corresponding to the end.
可选地,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:Optionally, the service providing device includes: a network set top box; the internet service includes at least one of the following:
电视直播、音视频服务、网页服务、游戏服务。Live TV, audio and video services, web services, and game services.
与现有技术相比,本发明实施例包括以下优点: Compared with the prior art, the embodiments of the invention include the following advantages:
在本发明实施例中,服务器在接收到客户端上报的请求信息之后,可以获取与所述客户端相匹配的设备能力信息,其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;然后,根据所述设备能力信息确定出一个服务提供设备。换而言之,确定出的服务提供设备的设备能力不低于所述与所述客户端建立过连接的至少一个服务提供设备的设备能力信息所指示的设备能力。当所述客户端与所述确定出的服务提供设备成功连接之后,所述确定出的服务提供设备可以正常为客户端提供服务。可见,本发明实施例所述的方案,客户端与服务提供设备的连接并不唯一,可以根据实际情况选择一个设备能力满足为客户端提供服务的服务提供设备与所述客户端进行连接,以适应应用的不断更新变化,保证智能电视***的正常运行。In the embodiment of the present invention, after receiving the request information reported by the client, the server may obtain the device capability information that matches the client, where the device capability information includes: establishing a connection with the client. At least one service provides device capability information of the device; then, a service providing device is determined according to the device capability information. In other words, the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established the connection with the client. After the client successfully connects with the determined service providing device, the determined service providing device can normally provide services for the client. It can be seen that, in the solution of the embodiment of the present invention, the connection between the client and the service providing device is not unique, and the device providing the device capable of satisfying the service provided by the client can be connected to the client according to the actual situation. Adapt to the constant changes and changes of the application to ensure the normal operation of the smart TV system.
附图说明DRAWINGS
图1是本发明实施例一中一种设备连接的方法的步骤流程图;1 is a flow chart showing the steps of a method for connecting devices according to Embodiment 1 of the present invention;
图2是本发明实施例二中一种设备连接的方法的步骤流程图;2 is a flow chart showing the steps of a method for connecting devices according to Embodiment 2 of the present invention;
图3是本发明实施例三中的一种智能电视***的架构图;3 is a structural diagram of a smart television system according to Embodiment 3 of the present invention;
图4是本发明实施例三中一种智能电视***中客户端与服务提供设备的连接的步骤流程图;4 is a flow chart showing the steps of connecting a client to a service providing device in a smart television system according to Embodiment 3 of the present invention;
图5是本发明实施例四中一种设备连接的装置的结构框图;5 is a structural block diagram of an apparatus for connecting devices according to Embodiment 4 of the present invention;
图6是本发明实施例五中一种设备连接的装置的结构框图。FIG. 6 is a structural block diagram of an apparatus for connecting devices according to Embodiment 5 of the present invention.
具体实施方式detailed description
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。The present invention will be further described in detail with reference to the accompanying drawings and specific embodiments.
本发明实施例的设备连接的方法可以应用于包括客户端以及服务提供设备的***中,其中,服务提供设备可以向客户端提供各类服务。例如,智能电视***;其中,所述智能电视***包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。The method for device connection according to the embodiment of the present invention can be applied to a system including a client and a service providing device, wherein the service providing device can provide various services to the client. For example, a smart television system; wherein the smart television system comprises: at least one server, at least one client, at least one service providing device; wherein the server is configured to allocate a service providing device to the client; the client The terminal is disposed in the smart TV, and the service providing device is disposed on the network side, and is configured to provide an Internet service for the connected client through the network.
可选地,所述智能电视***,还可以包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。 Optionally, the smart television system may further include at least one user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is used to store different User data corresponding to the client.
可选地,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:电视直播、音视频服务、网页服务、游戏服务。Optionally, the service providing device includes: a network set top box; the internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
以下,基于上述智能电视***架构,对本发明实施例中的设备连接方案进行说明。但本领域技术人员应当明了,在实际使用中,本领域技术人员根据实际需要,依照上述智能电视***架构所做的等同替换或容易想到的改变,均在本发明的保护范围内。Hereinafter, the device connection scheme in the embodiment of the present invention will be described based on the above-described smart television system architecture. However, it should be apparent to those skilled in the art that, in actual use, those skilled in the art, according to actual needs, equivalent replacements or conceivable changes made in accordance with the above-described smart television system architecture are within the scope of the present invention.
实施例一Embodiment 1
参照图1,示出了本发明实施例一中一种设备连接的方法的步骤流程图。Referring to FIG. 1, a flow chart of steps of a method for device connection in Embodiment 1 of the present invention is shown.
在本实施例中,以上述智能电视***架构中的服务器的角度,对本实施例的设备连接的方法进行说明。本实施例的所述设备连接的方法具体可以包括如下步骤:In this embodiment, the method for connecting the devices in this embodiment will be described in the perspective of a server in the above-described smart television system architecture. The method for connecting the device in this embodiment may specifically include the following steps:
步骤102,接收客户端上报的用于请求分配服务提供设备的请求信息。Step 102: Receive request information reported by the client for requesting allocation of the service providing device.
本实施例采用服务提供设备和客户端为智能电视终端提供网络数据服务,其中,服务提供设备可以是设置在网络侧的硬件终端,由服务提供设备提供网络服务所需的各种数据,客户端的一种呈现形式可以是安装于智能电视终端的APP(Application,应用程序),客户端对网络提供的数据进行解码并显示。其中,每个服务提供设备和客户端可以不具有唯一的对应关系,而是在客户端请求由服务提供设备提供网络服务器时为客户端临时分配一个服务提供设备,在分配了服务提供设备且与客户端建立连接后,在连接期间服务提供设备为该客户端提供数据服务。The embodiment provides a network data service for the smart television terminal by using the service providing device and the client, wherein the service providing device may be a hardware terminal disposed on the network side, and various data required for the network service provided by the service providing device, the client One form of presentation may be an APP (Application) installed on the smart TV terminal, and the client decodes and displays the data provided by the network. Wherein, each service providing device and the client may not have a unique correspondence, but temporarily allocate a service providing device to the client when the client requests the network server to be provided by the service providing device, and allocate the service providing device and After the client establishes a connection, the service providing device provides data services for the client during the connection.
在本实施例中,服务器可以接收客户端上报的用于请求分配服务提供设备的请求信息。In this embodiment, the server may receive request information reported by the client for requesting allocation of the service providing device.
步骤104,根据所述请求信息,获取与所述客户端相匹配的设备能力信息。Step 104: Obtain device capability information that matches the client according to the request information.
在本实施例中,所述设备能力信息可以包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息。例如,服务器可以根据所述客户端的历史连接记录,确定与所述客户端建立过连接的至少一个服务提供设备,进而获取所述确定的至少一个服务提供设备各自对应的设备能力信息。其中,所述历史连接记录可以是携带在所述请求信息中上报给所述服务器的,也可以是服务器在接收到所述请求信息之后主动获取得到的,例如,服务器每次为客户端分配服务提供设备后,保存相应的客户端与分配的服务提供设备的记录,本实施例对此不作限制。In this embodiment, the device capability information may include: device capability information of at least one service providing device that has established a connection with the client. For example, the server may determine, according to the historical connection record of the client, at least one service providing device that has established a connection with the client, and obtain device capability information corresponding to each of the determined at least one service providing device. The history connection record may be carried in the request information and reported to the server, or may be obtained by the server after receiving the request information. For example, the server allocates a service to the client each time. After the device is provided, the record of the corresponding client and the assigned service providing device is saved, which is not limited in this embodiment.
步骤106,根据所述设备能力信息确定出一个服务提供设备。Step 106: Determine a service providing device according to the device capability information.
在本实施例中,所述设备能力信息可以理解为指示服务提供设备所能提供服务的设备能力的信息。一般地,服务提供设备的设备能力的高低可以根据其所能提供的服务确 定,例如,若服务提供设备A的设备能力高于服务提供设备B的设备能力,则一般地可以认为,服务提供设备A所能提供服务除了包括服务提供设备B所能提供的所有服务之外,还可以进一步包括其他服务。In this embodiment, the device capability information may be understood as information indicating a device capability that the service providing device can provide the service. In general, the device capabilities of a service-providing device can be determined according to the services it can provide. For example, if the device capability of the service providing device A is higher than the device capability of the service providing device B, it can generally be considered that the service providing device A can provide services in addition to all the services that the service providing device B can provide. It can further include other services.
在本实施例中,根据所述设备能力信息确定出的服务提供设备的设备能力不低于所述设备能力信息所指示的设备能力。换而言之,所述确定出的服务提供设备的设备能力不低于与所述客户端建立过连接的任意一个服务提供设备的设备能力。这样,当基于客户端的请求向该客户端分配服务提供设备后,分配的服务提供设备能够为客户端提供不低于本次之前分配的服务提供设备提供的服务的服务质量,提高用户体验。In this embodiment, the device capability of the service providing device determined according to the device capability information is not lower than the device capability indicated by the device capability information. In other words, the determined device capability of the service providing device is not lower than the device capability of any one of the service providing devices that have established a connection with the client. In this way, after the service providing device is allocated to the client based on the client's request, the assigned service providing device can provide the client with a quality of service that is not lower than the service provided by the previously provided service providing device, thereby improving the user experience.
步骤108,将所述确定出的服务提供设备的设备信息发送至所述客户端。Step 108: Send device information of the determined service providing device to the client.
其中,所述设备信息用于指示所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。The device information is used to instruct the client to establish a connection with the determined service providing device according to the device information.
也即,将所述确定出的服务提供设备的设备信息发送至客户端后,所述客户端可以根据所述设备信息建立与所述确定出的服务提供设备之间的连接。That is, after the device information of the determined service providing device is sent to the client, the client may establish a connection with the determined service providing device according to the device information.
在本实施例中,设备信息包括但不限于:服务提供设备的UUID(通用唯一识别码,Universally Unique Identifier)、服务提供设备的IP(网络之间互连的协议,Internet Protocol)地址和服务提供设备的端口中的至少一种。例如,服务器将所述确定出的服务提供设备的设备信息发送至所述客户端之后,所述客户端根据所述确定出的服务提供设备对应的UUID、IP地址和端口,建立与所述确定出的服务提供设备之间的连接。In this embodiment, the device information includes, but is not limited to, a UUID (Universally Unique Identifier) of the service providing device, an IP of the service providing device (Internet Protocol), and a service providing At least one of the ports of the device. For example, after the server sends the device information of the determined service providing device to the client, the client establishes and determines the UUID, the IP address, and the port corresponding to the determined service providing device. The outgoing service provides a connection between the devices.
综上所述,在本实施例中,服务器在接收到客户端上报的请求信息之后,可以获取与所述客户端相匹配的设备能力信息,其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;然后,根据所述设备能力信息确定出一个服务提供设备。换而言之,确定出的服务提供设备的设备能力不低于所述与所述客户端建立过连接的至少一个服务提供设备的设备能力信息所指示的设备能力,当所述客户端与所述确定出的服务提供设备成功连接之后,所述确定出的服务提供设备可以正常为客户端提供服务。In summary, in this embodiment, after receiving the request information reported by the client, the server may acquire device capability information that matches the client, where the device capability information includes: The device establishes device capability information of the at least one service providing device that is connected; and then determines a service providing device according to the device capability information. In other words, the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing device can normally provide services for the client.
可见,通过本实施例所述的设备连接的方法,客户端与服务提供设备的连接并不唯一,可以根据实际情况选择一个设备能力满足为客户端提供服务的服务提供设备与所述客户端进行连接,以适应应用的不断更新变化,保证智能电视***的正常运行。It can be seen that, by using the device connection method in this embodiment, the connection between the client and the service providing device is not unique, and the device providing the device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
实施例二Embodiment 2
本实施例基于上述实施例一的设备连接方案,并对实施例一的设备连接方案进行了 进一步的优化。This embodiment is based on the device connection scheme of the first embodiment, and the device connection scheme of the first embodiment is performed. Further optimization.
参照图2,示出了本发明实施例二中一种设备连接的方法的步骤流程图。Referring to FIG. 2, a flow chart of steps of a method for device connection in Embodiment 2 of the present invention is shown.
在本实施例中,仍以上述智能电视***架构中的服务器的角度,对本实施例的设备连接的方法进行说明。本实施例的设备连接的方法具体可以包括如下步骤:In this embodiment, the method of connecting the devices in this embodiment is still described in the perspective of the server in the smart TV system architecture. The method for connecting the device in this embodiment may specifically include the following steps:
步骤202,服务器接收客户端上报的用于请求分配服务提供设备的请求信息。Step 202: The server receives request information reported by the client for requesting allocation of the service providing device.
步骤204,服务器根据所述请求信息,获取与所述客户端相匹配的设备能力信息。Step 204: The server acquires device capability information that matches the client according to the request information.
其中,设备能力信息包括:与客户端建立过连接的至少一个服务提供设备的设备能力信息。进一步地,在本实施例中,所述设备能力信息可以包括用于表征服务提供设备中安装的应用的应用信息。其中,所述应用信息包括但不仅限于服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号;或者,所述应用信息包括但不仅限于服务提供设备中安装的应用集合对应的版本号。其中,服务提供设备中安装的应用集合中的元素可以是:服务提供设备中安装的各个应用(包括但不仅限于各个应用的应用信用);所述应用集合可以对应有一个版本号,当应用集合中的元素发生改变(如,新增应用,应用版本升级等)时,应用集合的版本号也随之更新,如,在原有的版本号基础上递增:原版本号为1.0,新版本号更新为2.0。The device capability information includes: device capability information of at least one service providing device that has established a connection with the client. Further, in this embodiment, the device capability information may include application information for characterizing an application installed in the service providing device. The application information includes, but is not limited to, identification information of an application of each application installed in the service providing device, and/or a version number of the application; or the application information includes but is not limited to the application set installed in the service providing device. The corresponding version number. The element in the application set installed in the service providing device may be: each application installed in the service providing device (including but not limited to application credit of each application); the application set may correspond to a version number, when the application is set When the elements in the content change (for example, new applications, application version upgrades, etc.), the version number of the application collection is also updated, for example, based on the original version number: the original version number is 1.0, and the new version number is updated. Is 2.0.
步骤206,服务器根据所述设备能力信息确定出一个服务提供设备。Step 206: The server determines a service providing device according to the device capability information.
在本实施例中,确定出的服务提供设备的设备能力不低于所述设备能力信息所指示的设备能力。In this embodiment, the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information.
在实际应用过程中,由于客户端可能与多个服务提供设备建立过连接,因此,所述获取的与所述客户端相匹配的设备能力信息可以包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息。服务器可以依次比较所述至少一个服务提供设备的设备能力信息,进而确定出一个服务提供设备。优选地,由于客户端与服务提供设备进行连接时,前一次连接时选择的服务提供设备的设备能力一般是小于或等于后一次连接时选择的服务提供设备的设备能力,因此,可以根据最后一次与所述客户端进行连接的服务提供设备的设备能力信息确定出一个服务提供设备,从而减少比对次数,提高处理效率。In the actual application process, since the client may establish a connection with multiple service providing devices, the obtained device capability information that matches the client may include: at least establishing a connection with the client. A service provides device capability information for a device. The server may sequentially compare device capability information of the at least one service providing device to determine a service providing device. Preferably, when the client connects with the service providing device, the device capability of the service providing device selected at the previous connection is generally less than or equal to the device capability of the service providing device selected at the time of the last connection, and therefore, according to the last time The device capability information of the service providing device connected to the client determines a service providing device, thereby reducing the number of comparisons and improving processing efficiency.
一种可行的确定出一个服务提供设备的方式可以如下:A feasible way to determine a service provider can be as follows:
服务器根据所述服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用与所述应用的标识信息匹配、和/或,确定出的服务提供设备中安装的应用的版本号不低于所根据的 所述应用的版本号;The server determines, according to the identification information of the application of each application installed in the service providing device, and/or the version number of the application, a service providing device, where the determined application installed in the service providing device and the application are determined The identification information matches, and/or, the determined version number of the application installed in the service providing device is not lower than the The version number of the application;
或者,or,
服务器根据所述服务提供设备中安装的应用集合对应的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用集合的版本号不低于所根据的所述应用集合对应的版本号。The server determines, according to the version number corresponding to the application set installed in the service providing device, a service providing device, where the determined version number of the application set installed in the service providing device is not lower than the used application set. The corresponding version number.
下面以服务器根据所述服务提供设备中安装的应用集合对应的版本号,确定出一个服务提供设备为例,对所述确定出一个服务提供设备的具体步骤流程进行详细说明。In the following, the server determines a service providing device as an example according to the version number corresponding to the application set installed in the service providing device, and details the specific step procedure of determining a service providing device.
如前所述,服务提供设备中安装的应用集合可以有一个对应的版本号,服务器可以获取所述客户端最近一次连接过的服务提供设备中的应用集合的版本号(如,1.0),然后,服务器可以从至少一个满足第一设定要求的服务提供设备中选择一个服务提供设备作为所述确定出的一个服务提供设备。其中,所述至少一个满足第一设定要求的服务提供设备可以是指:所述至少一个满足第一设定要求的服务提供设备中的应用集合的版本号大于或等于1.0。As described above, the application set installed in the service providing device may have a corresponding version number, and the server may obtain the version number (for example, 1.0) of the application set in the service providing device that the client has recently connected, and then The server may select one service providing device from the at least one service providing device that satisfies the first setting requirement as the determined one of the service providing devices. The at least one service providing device that satisfies the first setting requirement may be that the version number of the application set in the at least one service providing device that meets the first setting requirement is greater than or equal to 1.0.
这里需要说明的是,服务器也可也根据所述服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号,确定出一个服务提供设备。It should be noted that the server may also determine a service providing device according to the identification information of the application of each application installed in the service providing device, and/or the version number of the application.
例如,服务器可以获取所述客户端最近一次连接过的服务提供设备中安装的各应用的应用的标识信息,然后,服务器可以从至少一个满足第二设定要求的服务提供设备中选择一个服务提供设备作为所述确定出的一个服务提供设备。其中,所述至少一个满足第二设定要求的服务提供设备可以是指:所述至少一个满足第二设定要求的服务提供设备中安装的各应用的应用的标识信息与所述最近一次连接过的服务提供设备中安装的各应用的应用的标识信息一一匹配(一致)。For example, the server may obtain identification information of an application of each application installed in the service providing device that the client has recently connected, and then the server may select one service offering from at least one service providing device that meets the second setting requirement. The device serves as the determined service providing device. The at least one service providing device that satisfies the second setting requirement may be: the identification information of the application of each application installed in the at least one service providing device that meets the second setting requirement, and the latest connection The identification information of the applications of the applications installed in the service providing device is matched (consistent) one by one.
又例如,服务器可以获取所述客户端最近一次连接过的服务提供设备安装的各应用的应用的版本号,然后,服务器可以从至少一个满足第三设定要求的服务提供设备中选择一个服务提供设备作为所述确定出的一个服务提供设备。其中,所述至少一个满足第三设定要求的服务提供设备可以是指:所述至少一个满足第三设定要求的服务提供设备中安装的各应用的应用的版本号不低于对应的所述最近一次连接过的服务提供设备中安装的各应用的应用的版本号。For another example, the server may obtain a version number of an application of each application installed by the service providing device that the client has recently connected, and then the server may select one service provider from at least one service providing device that meets the third setting requirement. The device serves as the determined service providing device. The at least one service providing device that meets the third setting requirement may be: the version number of the application of each application installed in the at least one service providing device that meets the third setting requirement is not lower than the corresponding one. The version number of the application of each application installed in the service provider device that has been connected last time.
进一步地,在本实施例中,各个服务提供设备可以各自有一个对应的版本号,以服务提供设备A为例,某时刻,所述服务提供设备A对应的版本号为1.0,当服务提供设备A中安装的应用发生改变时(如,新增应用、卸载应用或应用升级等),所述服务提 供设备A对应的版本号也随之更新,如,所述服务提供设备A对应的版本号可以从1.0更新至2.0。基于此,一优选地,服务器也可以获取与所述客户端建立过连接的所有服务提供设备的版本号,然后选择一个版本号大于或等于任意一个与所述客户端建立过连接的服务提供设备的版本号的服务提供设备,以作为所述确定出的一个服务提供设备,本实施例对此不作限制。Further, in this embodiment, each service providing device may have a corresponding version number, and the service providing device A is taken as an example. At a certain moment, the version number corresponding to the service providing device A is 1.0, when the service providing device When the application installed in A changes (for example, adding an application, uninstalling an application, or upgrading an application, etc.), the service provides The version number corresponding to the device A is also updated. For example, the version number corresponding to the service providing device A can be updated from 1.0 to 2.0. Based on this, preferably, the server may also obtain the version number of all service providing devices that have established a connection with the client, and then select a service providing device whose version number is greater than or equal to any one that has established a connection with the client. The service providing device of the version number is used as the service providing device. The embodiment does not limit this.
例如,服务器可以获取所述客户端最近一次连接过的服务提供设备的版本号(如3.0),然后,服务器可以从版本号大于或等于3.0的至少一个服务提供设备中选择一个具备服务能力的服务提供设备作为所述确定出的一个服务提供设备。其中,具备服务能力的服务提供设备可以理解为能够被分配使用的服务提供设备,如,处于空闲状态的服务提供设备;与之相对应的,不能被分配使用的服务提供设备则可以视为不具备服务能力的服务提供设备,如,处于工作(busy)状态的服务提供设备,其中,空闲状态指该服务提供设备当前没有被分配出去,也即没有为客户端提供服务;工作状态指该服务提供设备当前已被分配出去,也即已经在为客户端提供服务,不能被进一步分配。For example, the server may obtain the version number (such as 3.0) of the service providing device that the client has recently connected, and then the server may select a service capable service from at least one service providing device whose version number is greater than or equal to 3.0. A device is provided as the determined one of the service providing devices. The service providing device having the service capability can be understood as a service providing device that can be allocated and used, for example, a service providing device in an idle state; correspondingly, the service providing device that cannot be allocated and used can be regarded as not A service providing device having a service capability, for example, a service providing device in a busy state, wherein an idle state means that the service providing device is not currently allocated, that is, no service is provided for the client; and the working state refers to the service. The provisioning device is currently assigned, ie it is already serving the client and cannot be further allocated.
步骤208,服务器将所述确定出的服务提供设备的设备信息发送至所述客户端,以使所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。Step 208: The server sends the device information of the determined service providing device to the client, so that the client establishes a connection with the determined service providing device according to the device information.
其中,所述设备信息用于指示客户端根据所述设备信息建立与确定出的服务提供设备之间的连接。The device information is used to instruct the client to establish a connection with the determined service providing device according to the device information.
可选地,在本实施例中,还可以通过如下步骤对服务提供设备中的应用进行实时更新,保证各个服务提供设备可以为客户端提供高质量的服务,提高用户体验。Optionally, in this embodiment, the application in the service providing device may be updated in real time by using the following steps to ensure that each service providing device can provide high-quality services for the client and improve the user experience.
本实施例的设备连接的方法还可以包括如下步骤:The method for connecting the device in this embodiment may further include the following steps:
步骤210,服务器根据用于表征要求服务提供设备中安装的应用的应用信息,更新服务提供设备中的应用。Step 210: The server updates the application in the service providing device according to the application information used to characterize the application installed in the service providing device.
在本实施例中,用于表征要求服务提供设备中安装的应用的应用信息,可以理解为,要求更新服务提供设备中安装的应用,和/或,要求服务提供设备中安装的应用按照何种方式去进行更新。In this embodiment, the application information for characterizing the application installed in the service providing device may be understood as requiring the application installed in the service providing device to be updated, and/or the application installed in the service providing device. Way to update.
例如,以一个设定应用列表为例进行说明,所述设定应用列表中可以是指:截止到目前为止,各个服务提供设备中理论上应该安装有的所有应用的集合;然而,在实际应用中,各个服务提供设备的更新并不完全同步,可能一部分服务提供设备中安装的应用与所述设定应用列表中的应用是匹配,另一部分则不匹配,故,所述设定应用列表可以视为:用于表征要求服务提供设备中安装的应用的应用信息。 For example, a setting application list is taken as an example. The setting application list may refer to: a set of all applications that should be installed theoretically in each service providing device so far; however, in practical applications The update of each service providing device is not completely synchronized, and the application installed in a part of the service providing device may match the application in the set application list, and the other part does not match. Therefore, the set application list may be It is considered to be used to characterize application information that requires an application installed in the service providing device.
具体地,specifically,
一优选地,所述设定应用列表可以有一个版本号3.0,一服务提供设备A中安装的应用集合的版本号为2.0;则可以根据版本号为3.0的设定应用列表对所述服务提供设备A中安装的应用进行更新:如,根据版本号为3.0的设定应用列表中的应用信息对所述服务提供设备A中安装的应用进行更新。Preferably, the set application list may have a version number of 3.0, and the version number of the application set installed in the service providing device A is 2.0; then the service may be provided according to the set application list with the version number of 3.0. The application installed in the device A is updated: for example, the application installed in the service providing device A is updated according to the application information in the setting application list with the version number 3.0.
又一优选地,所述设定应用列表中可以记录有多个应用的标识信息(如,应用名称),如,所述设定应用列表中可以包括如下信息:应用A、应用B和应用C。则可以根据所述设定应用列表中记录的的标识信息对服务提供设备A中安装的应用进行更新:如,可以将设定应用列表中记录的标识信息(应用A、应用B和应用C)分别与所述服务提供设备A中已安装的应用的应用名称进行比较,确定出所述服务提供设备A中已安装有应用A和应用B,但是未安装应用C,则可以更新所述服务提供设备A中的应用(新增应用C)。Further preferably, the setting application list may record identification information (eg, an application name) of the plurality of applications, for example, the setting application list may include the following information: application A, application B, and application C. . Then, the application installed in the service providing device A may be updated according to the identification information recorded in the setting application list: for example, the identification information recorded in the application list (application A, application B, and application C) may be set. Comparing with the application name of the installed application in the service providing device A, respectively, determining that the application A and the application B are installed in the service providing device A, but the application C is not installed, the service providing may be updated. Application in device A (new application C).
另一优选地,所述设定应用列表中可以记录有多个应用的应用版本号,如,应用A的应用版本号为1.0,应用B的应用版本号为2.0,应用C的应用版本号为3.0;则可以根据所述设定应用列表中记录的应用版本号对服务提供设备A中安装的应用进行更新:如,可以将设定应用列表中记录的应用版本号(应用A的应用版本号为1.0,应用B的应用版本号为2.0,应用C的应用版本号为3.0)与所述服务提供设备A中已安装的应用的应用版本号进行比较,确定出所述服务提供设备A中已安装有应用版本号为1.0的应用A,应用版本号为1.0的应用B,未安装应用C;则可以更新所述服务提供设备A中的应用:将升级应用B至2.0版本,安装一应用版本号为3.0的应用C。Alternatively, the application version number of the plurality of applications may be recorded in the set application list, for example, the application version number of the application A is 1.0, the application version number of the application B is 2.0, and the application version number of the application C is 3.0; The application installed in the service providing device A may be updated according to the application version number recorded in the setting application list: for example, the application version number recorded in the application list may be set (the application version number of the application A) If the application version number of the application B is 2.0, the application version number of the application C is 3.0, and the application version number of the installed application in the service providing device A is compared, and it is determined that the service providing device A has been Application A with application version number 1.0, application B with version 1.0, and application C are not installed. The application in service provider A can be updated: application B to version 2.0 will be upgraded, and an application version will be installed. Application C with the number 3.0.
在本实施例中,上述步骤210具体可以包括:In this embodiment, the foregoing step 210 may specifically include:
子步骤2102,服务器获取服务提供设备中已安装的应用的应用信息。Sub-step 2102, the server acquires application information of an installed application in the service providing device.
在本实施例中,可以采用任意一种适当的方式获取服务提供设备中已安装的应用的应用信息。例如,可以从用于记录服务提供设备中已安装的应用的应用信息的列表或日志信息中获取所述服务提供设备中已安装的应用的应用信息。In this embodiment, the application information of the installed application in the service providing device may be obtained in any suitable manner. For example, application information of an application installed in the service providing device may be acquired from a list or log information for recording application information of an application installed in the service providing device.
子步骤2104,服务器根据所述已安装的应用的应用信息和所述用于表征要求服务提供设备中安装的应用的应用信息,生成待更新应用信息。Sub-step 2104: The server generates application information to be updated according to the application information of the installed application and the application information used to represent the application installed in the service providing device.
在本实施例中,为用户提供服务的应用是在不断更新变化的,服务器可以记录并保存服务提供设备中各个时刻对应的应用的应用信息。优选地,为了减少资源占用,也可以在记录当前时刻智能电视***中的应用的应用信息之后,将所述当前时刻的之前时刻 智能电视***中的应用的应用信息删除。In this embodiment, the application for providing services to the user is continuously updated, and the server may record and save the application information of the application corresponding to each moment in the service providing device. Preferably, in order to reduce resource occupation, the previous time of the current moment may also be recorded after the application information of the application in the smart television system is recorded at the current moment. The application information of the application in the smart television system is deleted.
在本实施例中,优选地,可以以应用列表的形式对智能电视***中各个时刻的应用的应用信息进行记录,每当智能电视***中有应用更新(如,新增应用、应用版本升级和应用删除等),则应用列表也随之更新:应用列表中维护的应用的应用信息根据应用的更新而更新。更优选地,当应用列表更新之后,可以对更新后的应用列表的版本号也进行更新(如,版本号增加)。需要说明的是,所述用于表征要求服务提供设备中安装的应用的应用信息可以包括:当前时刻智能电视***中的应用的应用信息(如,服务器中维护的最新版本号的应用列表)。In this embodiment, preferably, the application information of the application at each moment in the smart television system may be recorded in the form of an application list, and whenever there is an application update in the smart television system (eg, new application, application version upgrade, and Application deletion, etc., the application list is also updated: the application information of the application maintained in the application list is updated according to the update of the application. More preferably, after the application list is updated, the version number of the updated application list may also be updated (eg, the version number is increased). It should be noted that the application information for characterizing the application installed in the service providing device may include: application information of the application in the smart TV system at the current moment (eg, an application list of the latest version number maintained in the server).
在本实施例中,服务器可以将获取的服务提供设备中已安装的应用与所述用于表征要求服务提供设备中安装的应用的应用信息进行比较,进而生成待更新应用信息。其中,所述待更新应用信息包括如下信息中的至少一种:用于指示卸载应用的卸载信息、用于指示安装应用的安装信息、和用于指示升级应用的应用版本的升级信息。In this embodiment, the server may compare the installed application in the obtained service providing device with the application information used to represent the application installed in the service providing device, thereby generating the application information to be updated. The application information to be updated includes at least one of the following information: an uninstallation information for indicating an uninstalled application, installation information for indicating installation of the application, and upgrade information for indicating an application version of the upgraded application.
例如,服务器获取的服务提供设备中已安装的应用的应用信息包括:应用A,版本号1.0;用于表征要求服务提供设备中安装的应用的应用信息包括:应用A,版本号2.0,可见,应用A需要升级,根据上述信息生成的待更新应用信息可以包括升级应用A的信息。For example, the application information of the installed application in the service providing device that is acquired by the server includes: application A, version number 1.0; and application information for characterizing the application installed in the service providing device, including: application A, version number 2.0, visible, The application A needs to be upgraded, and the application information to be updated generated according to the foregoing information may include information for upgrading the application A.
子步骤2106,服务器通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用。Sub-step 2106, the server notifies the service providing device to update an application in the service providing device according to the to-be-updated application information.
进一步优选地,所述设备连接的方法还可以包括:Further preferably, the method for connecting the device may further include:
步骤212,服务器在接收到所述服务提供设备上报的指示信息后,更新所述服务提供设备的设备能力信息。Step 212: After receiving the indication information reported by the service providing device, the server updates the device capability information of the service providing device.
在本实施例中,所述指示信息可以用于指示所述服务提供设备根据所述待更新应用信息成功完成所述服务提供设备中的应用的更新。换而言之,服务器在服务提供设备完成应用的更新之后,可以更新服务提供设备的设备能力信息,包括但不仅限于更新服务提供设备的版本号。In this embodiment, the indication information may be used to indicate that the service providing device successfully completes updating of an application in the service providing device according to the to-be-updated application information. In other words, after the service providing device completes the update of the application, the server may update the device capability information of the service providing device, including but not limited to updating the version number of the service providing device.
需要说明的是,上述步骤210-步骤212可以在上述步骤202-步骤208中的任一步骤之前或之后执行,或者同时执行,本实施例对此不作限制。It should be noted that the foregoing steps 210-212 may be performed before or after any of the foregoing steps 202-208, or may be performed at the same time, which is not limited in this embodiment.
综上所述,在本实施例中,服务器在接收到客户端上报的请求信息之后,可以获取与所述客户端相匹配的设备能力信息,其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;然后,根据所述设备能力信息确定 出一个服务提供设备。换而言之,确定出的服务提供设备的设备能力不低于所述与所述客户端建立过连接的至少一个服务提供设备的设备能力信息所指示的设备能力,当所述客户端与所述确定出的服务提供设备成功连接之后,所述确定出的服务提供设备可以正常为客户端提供服务。可见,通过本实施例所述的设备连接的方法,客户端与服务提供设备的连接并不唯一,可以根据实际情况选择一个设备能力满足为客户端提供服务的服务提供设备与所述客户端进行连接,以适应应用的不断更新变化,保证智能电视***的正常运行。In summary, in this embodiment, after receiving the request information reported by the client, the server may acquire device capability information that matches the client, where the device capability information includes: Establishing device capability information of the at least one service providing device that is connected; and then determining, according to the device capability information, A service provider is provided. In other words, the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing device can normally provide services for the client. It can be seen that, by using the device connection method in this embodiment, the connection between the client and the service providing device is not unique, and the device providing the device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
进一步地,在本实施例中,应用可以是安装在服务提供设备中,由所述服务提供设备为所述客户端提供服务,而所述服务提供设备是设置在网络侧的,因此,服务器可以在云端对服务提供设备中的应用进行统一的更新管理,维护方便;不占用用户的时间和下载资源,提高了更新效率,节约了用户成本。Further, in this embodiment, the application may be installed in the service providing device, and the service providing device provides the service to the client, and the service providing device is disposed on the network side, so the server may In the cloud, the application in the service providing device is uniformly updated and managed, and the maintenance is convenient; the user's time and download resources are not occupied, the update efficiency is improved, and the user cost is saved.
此外,服务器可以在服务提供设备处于空闲状态(未提供服务)时,随时对服务提供设备中的应用进行更新,进一步提高了资源利用率和更新效率。In addition, the server can update the application in the service providing device at any time when the service providing device is in an idle state (the service is not provided), thereby further improving resource utilization and update efficiency.
实施例三Embodiment 3
在本实施例中,可以采用如下的智能电视***:该智能电视***可以包括:至少一个客户端、至少一个调度服务器和至少一个服务提供设备。其中,客户端是一种可以使用服务提供设备提供的APP应用程序的终端,如,机顶盒、智能移动终端、PAD(Portable Android Device平板电脑)、具有解码功能的智能电视等。所述服务提供设备可以作为服务端设置在云端,远程为所述客户端提供服务。调度服务器在接收到客户端申请服务提供设备的请求之后,可以根据设定分配策略从云端的多个服务提供设备中选择一个服务提供设备分配给所述客户端。In this embodiment, a smart television system may be employed: the smart television system may include at least one client, at least one dispatch server, and at least one service providing device. The client is a terminal that can use the APP application provided by the service providing device, such as a set top box, a smart mobile terminal, a PAD (Portable Android Device tablet), a smart TV with a decoding function, and the like. The service providing device can be set as a server in the cloud to remotely provide services for the client. After receiving the request of the client to apply for the service providing device, the scheduling server may select one of the plurality of service providing devices in the cloud to allocate to the client according to the set allocation policy.
这里需要说明的是,在本实施例中,服务提供设备可以作为硬件设备设置在云端,软件(应用程序)可以安装在服务提供设备中,服务提供设备可以在云端将各类应用程序的用户界面(User Interface,UI)进行压缩编码,客户端需要有基本解码能力即可向用户展现应用程序的用户界面,实现对各类应用程序的操作。换而言之,与传统的智能电视***所不同的是,在本实施例中,软件(应用程序)可以不安装在机顶盒中,可以安装在服务提供设备中,通过服务提供设备为用户提供服务。由于可以不再需要将软件安装在机顶盒中,故可以不再单独设置机顶盒。例如,若所述客户端为智能移动终端、或具有解码功能的智能电视时,则可以直接将智能移动终端(或具有解码功能的智能电视)与所述服务提供设备进行连接,用户可以不需要单独购买/设置机顶盒,节约了用户 成本;同时,智能移动终端(或具有解码功能的智能电视)与所述服务提供设备直接进行交互,提高了交互效率,减少了对机顶盒的维护步骤,降低了对资源的占用。当然,对有现有机顶盒来说,其具有基本解码能力,本发明的方案也仍然适用。进一步地,所述调度服务器可以是指一个服务器,也可以是指等同于所述调度服务器功能的多个服务器组成的服务器群组。It should be noted that, in this embodiment, the service providing device can be set in the cloud as a hardware device, the software (application) can be installed in the service providing device, and the service providing device can be used in the cloud to set the user interface of various applications. (User Interface, UI) for compression coding, the client needs to have basic decoding capabilities to present the user interface of the application to the user, and to operate on various applications. In other words, unlike the conventional smart television system, in the embodiment, the software (application) may not be installed in the set top box, may be installed in the service providing device, and provide services to the user through the service providing device. . Since the software can no longer be installed in the set top box, the set top box can no longer be set separately. For example, if the client is a smart mobile terminal or a smart TV with a decoding function, the smart mobile terminal (or a smart TV with decoding function) can be directly connected to the service providing device, and the user does not need to Separate purchase/setting of set-top boxes, saving users At the same time, the intelligent mobile terminal (or the smart TV with decoding function) directly interacts with the service providing device, which improves the interaction efficiency, reduces the maintenance steps for the set top box, and reduces the occupation of resources. Of course, for existing set top boxes, which have basic decoding capabilities, the solution of the present invention still applies. Further, the scheduling server may refer to a server, or may refer to a server group composed of multiple servers equivalent to the scheduling server function.
本发明实施例中,客户端侧所显示的用户界面是能够为用户提供各种网络服务,例如在用户界面上可以包括各种菜单选项或图标等服务功能,例如包括:高清视频,超清电视、软件下载、游戏、生活服务(如缴费、购物等)等,从而通过该客户端用户可在电视上免费观看高清电影电视、玩体感游戏、热门大型3D游戏、网络购物、支付水电煤费用等等功能。在用户选择某一功能的图标或菜单后,可以继续进入相应的UI界面执行操作,例如播放高清视频时可以选择本地或网络资源等。In the embodiment of the present invention, the user interface displayed on the client side is capable of providing various network services for the user, for example, the user interface may include various menu options or icons, such as: high definition video, ultra clear television , software downloads, games, life services (such as payment, shopping, etc.), so that the client users can watch HD movies and TV, play somatosensory games, popular large 3D games, online shopping, pay for water and electricity, etc. on the TV for free. And other functions. After the user selects an icon or menu of a certain function, the user can continue to enter the corresponding UI interface to perform operations, such as local or network resources when playing HD video.
针对客户端所显示的UI界面,用户可以通过遥控器的外置设备进行控制,如选择某个功能,进入下一级界面等,而由于UI界面是基于服务提供设备的传送流解析显示的,因此对UI界面的控制响应也由服务提供设备执行。本实施例中服务提供设备在与客户端建立连接后,预先在用户空间虚拟一输入设备,通过该虚拟输入设备模拟硬件输入信号,在***注入用户的输入信号对应输入事件并进行分发,从而实现服务提供设备对用户控制的响应。For the UI interface displayed by the client, the user can control through the external device of the remote controller, such as selecting a certain function and entering the next level interface, and the UI interface is displayed based on the transport stream of the service providing device. Therefore, the control response to the UI interface is also performed by the service providing device. In this embodiment, after establishing a connection with the client, the service providing device virtualizes an input device in the user space, simulates a hardware input signal through the virtual input device, and injects an input signal of the user into the system to input an event and distribute the image, thereby realizing The service provides the device's response to user control.
本实施例中,一种优选的智能电视***的架构如图3所示,参照图3,示出了本发明实施例三中的一种智能电视***的架构图。在本实施例中,所述智能电视***具体可以包括:至少一个设备服务器(如图3所示的设备服务器301)、至少一个调度服务器(如图3所示的调度服务器302)和至少一个客户端(如图3所示的客户端303)。其中,每个设备服务器中包括至少一个服务提供设备(如图3所示的设备服务器301中的服务提供设备304)。In this embodiment, an architecture of a preferred smart television system is shown in FIG. 3. Referring to FIG. 3, an architecture diagram of a smart television system in Embodiment 3 of the present invention is shown. In this embodiment, the smart television system may specifically include: at least one device server (such as the device server 301 shown in FIG. 3), at least one scheduling server (such as the scheduling server 302 shown in FIG. 3), and at least one client. End (client 303 shown in Figure 3). Each device server includes at least one service providing device (such as the service providing device 304 in the device server 301 shown in FIG. 3).
此外,优选地,所述智能电视***还可以包括:至少一个管理服务器(如图3所示的管理服务器305)和至少一个用户数据信息存储设备(如图3所示的用户数据信息存储设备306)。需要说明的是,所述用户数据信息存储设备用于存储用户数据信息,一个用户可以对应一个专用的用户数据信息存储设备,多个用户也可以共有同一个用户数据信息存储设备,本实施例对此不作限制。其中,所述用户数据信息存储设备可以是物理设备,也可以是逻辑设备,还可以是物理和逻辑相结合的设备。例如,所述用户数据信息存储设备中可以包括至少一个用户分区(如图3所示的用户分区307),每个用户 分区对应存储一个用户的用户数据信息。Moreover, preferably, the smart television system may further include: at least one management server (such as the management server 305 shown in FIG. 3) and at least one user data information storage device (such as the user data information storage device 306 shown in FIG. 3). ). It should be noted that the user data information storage device is configured to store user data information, one user may correspond to a dedicated user data information storage device, and multiple users may share the same user data information storage device. This is not a limitation. The user data information storage device may be a physical device, a logical device, or a combination of physical and logical devices. For example, the user data information storage device may include at least one user partition (such as the user partition 307 shown in FIG. 3), each user The partition corresponds to storing user data information of one user.
在本实施例中,客户端303可以是如上所述的硬件设备,如,机顶盒、智能移动终端、PAD、具有解码功能的智能电视等。优选地,所述客户端303也可以是位于智能电视终端侧,其可以呈现为智能电视终端中装载的APP(应用程序,Application)的形式,这里的智能电视终端具体可以包括:机顶盒、移动终端、智能电视机等。一方面,客户端303可用于播放服务提供设备304发送的传送流(Transport Stream,TS)所解析出的用户界面,以及播放从其他网络服务器中获取的多媒体数据(如视频信号、音频信号等);另一方面,客户端303可用于监听用户通过遥控器等输入装置产生的输入消息,并将该输入消息发送给服务提供设备304或者调度服务器302。从而客户端303所显示的用户界面由服务提供设备304推送,客户端303仅解析并显示,且客户端303所接收的用户对用户界面控制的输入消息,也会转发给服务提供设备304以使其据此调整用户界面。In this embodiment, the client 303 may be a hardware device as described above, such as a set top box, a smart mobile terminal, a PAD, a smart TV with a decoding function, and the like. Preferably, the client 303 may also be in the form of a smart TV terminal, which may be presented in the form of an APP (Application) installed in the smart TV terminal. The smart TV terminal herein may specifically include: a set top box and a mobile terminal. , smart TV, etc. In one aspect, the client 303 can be used to play a user interface parsed by a transport stream (TS) sent by the service providing device 304, and play multimedia data (such as video signals, audio signals, etc.) acquired from other network servers. On the other hand, the client 303 can be used to listen to an input message generated by the user through an input device such as a remote controller, and send the input message to the service providing device 304 or the dispatch server 302. Thus, the user interface displayed by the client 303 is pushed by the service providing device 304, the client 303 only parses and displays, and the input message controlled by the client 303 to the user interface is also forwarded to the service providing device 304 to enable It adjusts the user interface accordingly.
服务提供设备304位于网络侧,其中,每个服务提供设备具体可以包括:硬件板卡和硬件板卡所承载的软件模块。需要说明的是,在本实施例中,各类应用程序可以直接安装在服务提供设备中,用户可以通过客户端303展现的应用程序对应的用户界面,对服务提供设备304中的应用程序进行各项操作,不再需要在客户端303中单独安装应用程序,便于技术人员对所述智能电视***进行统一维护,减少了工作量,提高了维护效率。The service providing device 304 is located on the network side, and each of the service providing devices may specifically include: a software module carried by the hardware board and the hardware board. It should be noted that, in this embodiment, various applications may be directly installed in the service providing device, and the user may perform the application in the service providing device 304 through the user interface corresponding to the application displayed by the client 303. In the operation, it is no longer necessary to separately install an application in the client 303, so that the technician can perform unified maintenance on the smart television system, thereby reducing the workload and improving the maintenance efficiency.
用户分区307位于网络侧,一般地,每个用户对应用一个用户分区,各个用户的用户数据信息被保存在对应的用户分区下。进一步地,每个用户分区具有唯一一个地址信息,所述地址信息可以指示对应的用户分区的具体地址,通过所述地址信息可以快速查找到用户分区,完成用户数据信息的调用。换而言之,调度服务器302(或,管理服务器305)可以仅对地址信息(数据量较小)进行维护,而不用对整个用户数据信息(数据量较大)进行维护,降低了维护的数据量,减少了资源占用,提高了***运行速度,且,数据信息便于查找。The user partition 307 is located on the network side. Generally, each user applies a user partition, and user data information of each user is saved under the corresponding user partition. Further, each user partition has a unique address information, and the address information may indicate a specific address of the corresponding user partition, and the user information may be quickly found through the address information to complete the call of the user data information. In other words, the dispatch server 302 (or the management server 305) can perform maintenance only on address information (small data amount) without maintaining the entire user data information (large amount of data), reducing the maintained data. The quantity reduces the resource occupation, improves the system running speed, and the data information is easy to find.
调度服务器302位于网络侧,主要用于依据客户端303发送的请求消息,分配一个空闲的、状态良好的服务提供设备304与客户端303对接;同时,可以将用户ID对应的用户分区挂载到所分配的服务提供设备304上,也即,每个用户分区可以与唯一的用户ID相对应,如用户分区A对应用户A等等,这样,用户A在客户端303在与上次分配的、编号为001的服务提供设备断开连接后,即使下次连接的是编号为002的服务提供设备,用户A仍然可以使用用户分区A,并且可以使用之前的历史记录等数据。 The scheduling server 302 is located on the network side, and is mainly configured to allocate an idle, stateful service providing device 304 to the client 303 according to the request message sent by the client 303. At the same time, the user partition corresponding to the user ID may be mounted to the The assigned service providing device 304, that is, each user partition may correspond to a unique user ID, such as user partition A corresponding to user A, etc., such that user A is at client 303 with the last assigned, After the service provider device with the number 001 is disconnected, even if the service provider device with the number 002 is connected next time, the user A can still use the user partition A, and can use data such as the previous history.
管理服务器305位于网络侧,可用于对所有的服务提供设备进行管理,所述管理具体可以包括:状态上报、心跳管理、设置属性、获取属性、网络唤醒、软重启、硬重启等;可见,管理服务器305可以作为远程服务器,采用本发明的技术方案在广域网实现对服务提供设备的网络唤醒。The management server 305 is located on the network side and can be used to manage all the service providing devices. The management may include: status reporting, heartbeat management, setting attributes, obtaining attributes, network wake-up, soft restart, hard restart, etc.; visible, management The server 305 can be used as a remote server to implement network wake-up of the service providing device in the wide area network by using the technical solution of the present invention.
需要说明的是,本实施例所述的设备连接的方法可以应用于基于图3中所示的智能电视***中。但本领域技术人员应当明了,任意需要类似设备连接的***或服务器,均可参照本实施例实现设备连接的方案,而不仅限于上述架构下的应用场景。It should be noted that the method for device connection described in this embodiment can be applied to the smart television system based on FIG. However, it should be understood by those skilled in the art that any system or server that requires a device connection may refer to the solution for implementing device connection in this embodiment, and is not limited to the application scenario in the foregoing architecture.
本实施例中,在智能电视***中,服务提供设备采用的是可复用机制,即是一个服务提供设备服务完一个客户端重置后继续服务另一个客户端。即在服务提供设备与客户端建立连接后二者是唯一对应交互的关系,而当完成服务两者断开后,服务提供设备与客户端并不具有直接的对应关系,而是要等待***为其分配其他客户端。因此,服务提供设备同一时间能服务一个客户端,如果服务提供设备在设定时间长度内未被使用,将进入省电休眠状态。In this embodiment, in the smart television system, the service providing device adopts a reusable mechanism, that is, one service providing device serves to continue servicing another client after the client resets. That is, after the service providing device establishes a connection with the client, the two are the only corresponding interaction relationship, and when the completion of the service is disconnected, the service providing device does not have a direct correspondence with the client, but waits for the system to be It allocates other clients. Therefore, the service providing device can serve one client at a time, and if the service providing device is not used for a set length of time, it will enter a power-saving sleep state.
基于服务提供设备的上述特征,可以为服务提供设备设定几个状态以进行管理分配:Based on the above characteristics of the service providing device, several states can be set for the service providing device for management allocation:
Idle状态,即空闲状态,处于该状态的服务提供设备***可将其直接分配给需要的服务提供设备;The Idle state, that is, the idle state, in which the service providing device system can directly allocate it to the required service providing device;
Busy状态,即忙碌状态,处于该状态的服务提供设备已经与客户端连接并在服务客户端,无法再进行分配;The Busy state, that is, the busy state, the service providing device in this state has been connected to the client and is in the service client, and can no longer be allocated;
Sleep状态,即睡眠状态,当***中没有多余空闲状态的服务提供设备可分配时,***可唤醒处于该状态的服务提供设备并为其分配客户端;Sleep state, that is, a sleep state, when a service providing device having no redundant idle state in the system can be allocated, the system can wake up the service providing device in the state and allocate a client to it;
Exception状态,即异常状态,处于该异常状态无法进行配分;The Exception state, that is, the exception state, in which the allocation cannot be performed;
Management状态,即管理状态,表征该服务提供设备处在被服务器管理状态,无法进行分配。The management state, that is, the management state, indicates that the service providing device is in the server management state and cannot be allocated.
结合前述实施例,本实施例以对智能电视***中的客户端与服务提供设备之间的连接流程为例,对所述设备连接的方法进行详细说明。In the embodiment, the method for connecting the client and the service providing device in the smart television system is taken as an example, and the method for connecting the device is described in detail.
在本实施例中,服务器可以对所述智能电视***中的各个服务提供设备进行更新,包括但不限于,对各个服务提供设备中安装的应用进行更新。In this embodiment, the server may update each service providing device in the smart television system, including but not limited to, updating an application installed in each service providing device.
具体地:specifically:
服务器可以获取服务提供设备中已安装的应用的应用信息;然后,根据所述已安装的应用的应用信息和用于表征要求服务提供设备中安装的应用的应用信息生成待更新应 用信息;最后,通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用。The server may obtain application information of the installed application in the service providing device; and then generate, to be updated, the application information according to the installed application and the application information used to represent the application installed in the service providing device Using the information; finally, notifying the service providing device to update the application in the service providing device according to the application information to be updated.
例如,一种可行的实现方式可以如下:服务器中维护有一个应用列表,所述应用列表可以用于表征要求服务提供设备中安装的应用的应用信息;服务器可以将获取的服务提供设备中的已安装应用的应用列表进行比较,确定两者的差异部分,并将两者的差异部分作为待更新应用信息发送给服务提供设备。需要说明的是,服务器中维护的应用列表的版本号也是在不断变化的,例如,应用列表更新后,则应用列表的版本号也随之加1,本领域技术人员应当明了的是,在选择应用列表时,一般选择版本号最高的应用列表作为对服务提供设备进行更新时的应用列表。For example, a feasible implementation manner may be as follows: the server maintains an application list, and the application list may be used to identify application information that requires an application installed in the service providing device; the server may obtain the obtained service provided in the device. The application list of the installed application is compared, the difference between the two is determined, and the difference between the two is sent to the service providing device as the application information to be updated. It should be noted that the version number of the application list maintained in the server is also constantly changing. For example, after the application list is updated, the version number of the application list is also incremented by one, and those skilled in the art should understand that in the selection. When applying a list, the application list with the highest version number is generally selected as the application list when the service providing device is updated.
进一步地,服务提供设备根据所述待更新应用信息完成应用的更新之后,所述服务提供设备的设备能力信息也将随之更新。如,可以包括但不仅限于使用服务提供设备的设备版本号作为所述设备能力信息,来表征所述服务提供设备的设备能力。Further, after the service providing device completes the update of the application according to the application information to be updated, the device capability information of the service providing device will also be updated accordingly. For example, the device capability of the service providing device may be characterized by, but not limited to, using the device version number of the service providing device as the device capability information.
参照图4,示出了本发明实施例三中一种智能电视***中客户端与服务提供设备的连接的步骤流程图。Referring to FIG. 4, a flow chart of steps for connecting a client to a service providing device in a smart television system according to Embodiment 3 of the present invention is shown.
在本实施例中,以具体实例的形式,对通过服务器建立所述客户端与服务提供设备之间的连接的方案进行说明,但本领域技术人员应当明了,在实际使用中,可参照本实例,实现前述多个实施例中的多个可选或优选方式下的设备连接方案。In this embodiment, a scheme for establishing a connection between the client and the service providing device by using a server is described in the form of a specific example, but those skilled in the art should understand that in actual use, reference may be made to this example. A device connection scheme in a plurality of optional or preferred modes of the foregoing plurality of embodiments is implemented.
本实施例的智能电视***中客户端与服务提供设备的连接可以包括如下步骤:The connection between the client and the service providing device in the smart television system of this embodiment may include the following steps:
步骤402,服务器接收客户端上报的用于请求分配服务提供设备的请求信息。Step 402: The server receives request information reported by the client for requesting allocation of the service providing device.
在服务器接收到客户端上报的请求信息后,可以采用下述步骤404、步骤406、步骤408、和步骤410中的至少一个,以确定出一个服务提供设备,进而执行步骤S412。After the server receives the request information reported by the client, at least one of the following steps 404, 406, 408, and 410 may be used to determine a service providing device, and then step S412 is performed.
一优选地,在步骤402之后可以执行下述步骤404:Preferably, after step 402, the following step 404 can be performed:
步骤404,服务器根据所述请求信息,获取服务提供设备A中安装的各应用的应用的标识信息;并,根据所述服务提供设备A中安装的各应用的应用的标识信息确定出一个服务提供设备。Step 404: The server obtains the identification information of the application of each application installed in the service providing device A according to the request information, and determines a service providing according to the identification information of the application of each application installed in the service providing device A. device.
在本实施例中,所述服务提供设备A可以是所述客户端最近一次连接过的服务提供设备。服务器可以从智能电视***中的至少一个服务提供设备中选择一个服务提供设备B作为所述确定出的一个服务提供设备。其中,所述服务提供设备B中安装的各应用的应用的标识信息与所述服务提供设备A中安装的各应用的应用的标识信息相匹配;同时,所述服务提供设备B是一个具备服务能力(如,处于空闲状态)的服务提供设备。 In this embodiment, the service providing device A may be a service providing device that the client has recently connected. The server may select one service providing device B from the at least one service providing device in the smart television system as the determined one of the service providing devices. The identification information of the application of each application installed in the service providing device B matches the identification information of the application of each application installed in the service providing device A; meanwhile, the service providing device B is a service A service providing device that has capabilities (eg, in an idle state).
又一优选地,在步骤402之后可以执行下述步骤406:Still preferably, after step 402, the following step 406 can be performed:
步骤406,服务器根据所述请求信息,获取服务提供设备A中安装的各应用的应用的版本号;并,根据所述服务提供设备A中安装的各应用的应用的版本号确定出一个服务提供设备。Step 406: The server obtains the version number of the application of each application installed in the service providing device A according to the request information, and determines a service providing according to the version number of the application of each application installed in the service providing device A. device.
在本实施例中,所述服务提供设备A可以是所述客户端最近一次连接过的服务提供设备。服务器可以从智能电视***中的至少一个服务提供设备中选择一个服务提供设备B作为所述确定出的一个服务提供设备。其中,所述服务提供设备B中安装的各应用的应用的版本号不低于所述服务提供设备A中安装的各应用的应用的版本号;同时,所述服务提供设备B是一个具备服务能力(如,处于空闲状态)的服务提供设备。In this embodiment, the service providing device A may be a service providing device that the client has recently connected. The server may select one service providing device B from the at least one service providing device in the smart television system as the determined one of the service providing devices. The version number of the application of each application installed in the service providing device B is not lower than the version number of the application of each application installed in the service providing device A; meanwhile, the service providing device B is a service A service providing device that has capabilities (eg, in an idle state).
再一优选地,在步骤402之后可以执行下述步骤408:Still preferably, after step 402, the following step 408 can be performed:
步骤408,服务器根据所述请求信息,获取服务提供设备A中安装的应用集合对应的版本号;并,根据所述服务提供设备A中安装的应用集合对应的版本号确定出一个服务提供设备。Step 408: The server obtains a version number corresponding to the application set installed in the service providing device A according to the request information, and determines a service providing device according to the version number corresponding to the application set installed in the service providing device A.
在本实施例中,所述服务提供设备A可以是所述客户端最近一次连接过的服务提供设备。服务器可以从智能电视***中的至少一个服务提供设备中选择一个服务提供设备B作为所述确定出的一个服务提供设备。其中,所述服务提供设备B中安装的应用集合对应的版本号不低于所述服务提供设备A中安装的应用集合对应的版本号;同时,所述服务提供设备B是一个具备服务能力(如,处于空闲状态)的服务提供设备。In this embodiment, the service providing device A may be a service providing device that the client has recently connected. The server may select one service providing device B from the at least one service providing device in the smart television system as the determined one of the service providing devices. The version number corresponding to the application set installed in the service providing device B is not lower than the version number corresponding to the application set installed in the service providing device A; meanwhile, the service providing device B is a service capable ( For example, a service providing device in an idle state.
另一优选地,在步骤402之后可以执行下述步骤410:Another preferably, after step 402, the following step 410 can be performed:
步骤410,服务器根据所述请求信息,获取服务提供设备A的设备版本号;并,根据所述服务提供设备A的设备版本号确定出一个服务提供设备。Step 410: The server obtains the device version number of the service providing device A according to the request information, and determines a service providing device according to the device version number of the service providing device A.
在本实施例中,所述服务提供设备A可以是所述客户端最近一次连接过的服务提供设备。服务器可以从智能电视***中的至少一个服务提供设备中选择一个服务提供设备B作为所述确定出的一个服务提供设备。其中,所述服务提供设备B的设备版本号不低于所述服务提供设备A的设备版本号;同时,所述服务提供设备B是一个具备服务能力(如,处于空闲状态)的服务提供设备。In this embodiment, the service providing device A may be a service providing device that the client has recently connected. The server may select one service providing device B from the at least one service providing device in the smart television system as the determined one of the service providing devices. The device version number of the service providing device B is not lower than the device version number of the service providing device A; meanwhile, the service providing device B is a service providing device having a service capability (eg, in an idle state) .
可见,本实施例的方案可以从上述步骤404-410中选择至少一个步骤执行,确定出一个服务提供设备。在确定出一个服务提供设备之后,可以继续执行下述步骤412。It can be seen that the solution of this embodiment can be performed by selecting at least one step from the above steps 404-410 to determine a service providing device. After determining a service providing device, the following step 412 can be continued.
步骤412,服务器将所述确定出的服务提供设备的设备信息发送至所述客户端,以使所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。 Step 412: The server sends the device information of the determined service providing device to the client, so that the client establishes a connection with the determined service providing device according to the device information.
在本实施例中,所述设备信息包括但不仅限于所述确定出的服务提供设备的UUID、IP地址和端口中的至少一种。客户端可以根据所述确定出的服务提供设备的UUID、IP地址和端口中的至少一种建立与所述确定出的服务提供设备之间的连接。In this embodiment, the device information includes, but is not limited to, at least one of a UUID, an IP address, and a port of the determined service providing device. The client may establish a connection with the determined service providing device according to at least one of the determined UUID, IP address, and port of the service providing device.
综上所述,在本实施例中,服务器在接收到客户端上报的请求信息之后,可以获取与所述客户端相匹配的设备能力信息,其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;然后,根据所述设备能力信息确定出一个服务提供设备。换而言之,确定出的服务提供设备的设备能力不低于所述与所述客户端建立过连接的至少一个服务提供设备的设备能力信息所指示的设备能力,当所述客户端与所述确定出的服务提供设备成功连接之后,所述确定出的服务提供设备可以正常为客户端提供服务。In summary, in this embodiment, after receiving the request information reported by the client, the server may acquire device capability information that matches the client, where the device capability information includes: The device establishes device capability information of the at least one service providing device that is connected; and then determines a service providing device according to the device capability information. In other words, the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing device can normally provide services for the client.
可见,通过本实施例所述的设备连接的方法,客户端与服务提供设备的连接并不唯一,可以根据实际情况选择一个设备能力满足为客户端提供服务的服务提供设备与所述客户端进行连接,以适应应用的不断更新变化,保证智能电视***的正常运行。It can be seen that, by using the device connection method in this embodiment, the connection between the client and the service providing device is not unique, and the device providing the device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the embodiments of the present invention are not limited by the described action sequence, because In accordance with embodiments of the invention, certain steps may be performed in other sequences or concurrently. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
实施例四Embodiment 4
本发明实施例还提供了一种设备连接的装置,上述实施例中所述的智能电视***中的服务器可以包括所述设备连接的装置,也即,所述设备连接的装置可以用于实现上述方法实施例,故,上述方法实施例中的特征都可以应用到本实施例中。The embodiment of the present invention further provides a device for connecting devices. The server in the smart television system described in the foregoing embodiment may include a device connected to the device, that is, the device connected to the device may be used to implement the foregoing. Method embodiments, therefore, the features in the above method embodiments can be applied to the embodiment.
参照图5,示出了本发明实施例四中一种设备连接的装置的结构框图。在本实施例中,所述设备连接的装置可以包括:Referring to FIG. 5, a block diagram of a device for connecting a device in Embodiment 4 of the present invention is shown. In this embodiment, the device connected to the device may include:
接收模块502,用于接收客户端上报的用于请求分配服务提供设备的请求信息。The receiving module 502 is configured to receive request information reported by the client for requesting allocation of the service providing device.
获取模块504,用于根据所述请求信息,获取与所述客户端相匹配的设备能力信息。The obtaining module 504 is configured to obtain, according to the request information, device capability information that matches the client.
在本实施例中,所述设备能力信息可以包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息。In this embodiment, the device capability information may include: device capability information of at least one service providing device that has established a connection with the client.
确定模块506,用于根据所述设备能力信息确定出一个服务提供设备。The determining module 506 is configured to determine a service providing device according to the device capability information.
在本实施例中,确定出的服务提供设备的设备能力一般不低于所述设备能力信息所 指示的设备能力。In this embodiment, the determined device capability of the service providing device is generally not lower than the device capability information. Indicated device capabilities.
发送模块508,用于将所述确定出的服务提供设备的设备信息发送至所述客户端,其中,所述设备信息用于指示所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。The sending module 508 is configured to send, to the client, the device information of the determined service providing device, where the device information is used to indicate that the client establishes the determined information according to the device information. The service provides a connection between the devices.
综上所述,在本实施例中,设备连接的装置在接收到客户端上报的请求信息之后,可以获取与所述客户端相匹配的设备能力信息,其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;然后,根据所述设备能力信息确定出一个服务提供设备。换而言之,确定出的服务提供设备的设备能力不低于所述与所述客户端建立过连接的至少一个服务提供设备的设备能力信息所指示的设备能力,当所述客户端与所述确定出的服务提供设备成功连接之后,所述确定出的服务提供设备可以正常为客户端提供服务。可见,通过本实施例所述的设备连接的装置,使得客户端与服务提供设备的连接并不唯一,可以根据实际情况选择一个设备能力满足为客户端提供服务的服务提供设备与所述客户端进行连接,以适应应用的不断更新变化,保证智能电视***的正常运行。In summary, in this embodiment, after receiving the request information reported by the client, the device connected to the device may obtain device capability information that matches the client, where the device capability information includes: The client establishes device capability information of the at least one service providing device that is connected; and then determines a service providing device according to the device capability information. In other words, the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing device can normally provide services for the client. It can be seen that, by using the device connected to the device in this embodiment, the connection between the client and the service providing device is not unique, and the device providing device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
实施例五Embodiment 5
参照图6,示出了本发明实施例五中一种设备连接的装置的结构框图。在本实施例中,所述设备连接的装置可以包括:Referring to FIG. 6, a structural block diagram of an apparatus for connecting devices in Embodiment 5 of the present invention is shown. In this embodiment, the device connected to the device may include:
接收模块602,用于接收客户端上报的用于请求分配服务提供设备的请求信息。The receiving module 602 is configured to receive request information reported by the client for requesting to allocate the service providing device.
获取模块604,用于根据所述请求信息,获取与所述客户端相匹配的设备能力信息。The obtaining module 604 is configured to obtain, according to the request information, device capability information that matches the client.
在本实施例中,与所述客户端相匹配的设备能力信息可以包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息。In this embodiment, the device capability information that matches the client may include: device capability information of at least one service providing device that has established a connection with the client.
确定模块606,用于根据所述设备能力信息确定出一个服务提供设备。The determining module 606 is configured to determine a service providing device according to the device capability information.
在本实施例中,确定出的服务提供设备的设备能力一般不低于所述设备能力信息所指示的设备能力。In this embodiment, the determined device capability of the service providing device is generally not lower than the device capability indicated by the device capability information.
优选地,所述设备能力信息可以包括:用于表征服务提供设备中安装的应用的应用信息。更优选地,所述应用信息可以包括:服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号;或,服务提供设备中安装的应用集合对应的版本号。Preferably, the device capability information may include: application information for characterizing an application installed in the service providing device. More preferably, the application information may include: identification information of an application of each application installed in the service providing device, and/or a version number of the application; or a version number corresponding to the application set installed in the service providing device.
在本实施例的一优选方案中,所述确定模块606,具体可以用于根据所述服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用与所述应用的标识信息匹配、和/或,确定出 的服务提供设备中安装的应用的版本号不低于所根据的所述应用的版本号;或In a preferred implementation of the embodiment, the determining module 606 is specifically configured to determine, according to the identifier information of the application of each application installed in the service providing device, and/or the version number of the application, to determine a service providing. The device, wherein the determined application installed in the service providing device matches the identification information of the application, and/or determines The version number of the application installed in the service providing device is not lower than the version number of the application on which the application is based; or
根据所述服务提供设备中安装的应用集合对应的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用集合的版本号不低于所根据的所述应用集合对应的版本号。Determining, according to the version number corresponding to the application set installed in the service providing device, a service providing device, where the determined version number of the application set installed in the service providing device is not lower than the corresponding application set according to the Version number.
发送模块608,用于将所述确定出的服务提供设备的设备信息发送至所述客户端,以使所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。a sending module 608, configured to send, to the client, the device information of the determined service providing device, so that the client establishes a connection with the determined service providing device according to the device information. .
在本实施例的一优选方案中,所述设备连接的装置还可以包括:In a preferred solution of the embodiment, the device connected to the device may further include:
更新模块610,用于根据用于表征要求服务提供设备中安装的应用的应用信息,更新服务提供设备中的应用。The update module 610 is configured to update an application in the service providing device according to the application information used to characterize the application installed in the service providing device.
在本实施例中,可选地,所述更新模块610具体可以包括:In this embodiment, the update module 610 may specifically include:
应用信息获取模块6102,用于获取服务提供设备中已安装的应用的应用信息。The application information obtaining module 6102 is configured to obtain application information of an installed application in the service providing device.
生成模块6104,用于根据所述已安装的应用的应用信息和所述用于表征要求服务提供设备中安装的应用的应用信息,生成待更新应用信息。The generating module 6104 is configured to generate application information to be updated according to the application information of the installed application and the application information used to represent the application installed in the service providing device.
在本实施例中,所述待更新应用信息包括但不限于如下信息中的至少一种:用于指示卸载应用的卸载信息、用于指示安装应用的安装信息、和用于指示升级应用的应用版本的升级信息。In this embodiment, the to-be-updated application information includes, but is not limited to, at least one of the following: an uninstallation information for indicating an uninstalled application, installation information for indicating installation of the application, and an application for indicating an upgraded application. Version upgrade information.
通知模块6106,用于通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用。The notification module 6106 is configured to notify the service providing device to update an application in the service providing device according to the application information to be updated.
又一可选地,所述设备连接的装置还可以包括:Still alternatively, the device connected to the device may further include:
能力信息更新模块612,用于在所述通知模块6106通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用之后,在接收到所述服务提供设备上报的指示信息后,更新所述服务提供设备的设备能力信息;其中,所述指示信息用于指示所述服务提供设备根据所述待更新应用信息成功完成所述服务提供设备中的应用的更新。The capability information update module 612 is configured to: after the notification module 6106 notifies the service providing device that the application in the service providing device is updated according to the to-be-updated application information, receive the indication information reported by the service providing device And updating the device capability information of the service providing device, where the indication information is used to instruct the service providing device to successfully complete the update of the application in the service providing device according to the to-be-updated application information.
综上所述,在本实施例中,设备连接的装置在接收到客户端上报的请求信息之后,可以获取与所述客户端相匹配的设备能力信息,其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;然后,根据所述设备能力信息确定出一个服务提供设备。换而言之,确定出的服务提供设备的设备能力不低于所述与所述客户端建立过连接的至少一个服务提供设备的设备能力信息所指示的设备能力,当所述客户端与所述确定出的服务提供设备成功连接之后,所述确定出的服务提供 设备可以正常为客户端提供服务。可见,通过本实施例所述的设备连接的装置,使得客户端与服务提供设备的连接并不唯一,可以根据实际情况选择一个设备能力满足为客户端提供服务的服务提供设备与所述客户端进行连接,以适应应用的不断更新变化,保证智能电视***的正常运行。In summary, in this embodiment, after receiving the request information reported by the client, the device connected to the device may obtain device capability information that matches the client, where the device capability information includes: The client establishes device capability information of the at least one service providing device that is connected; and then determines a service providing device according to the device capability information. In other words, the determined device capability of the service providing device is not lower than the device capability indicated by the device capability information of the at least one service providing device that has established a connection with the client, when the client and the device After the determined service providing device is successfully connected, the determined service providing The device can serve the client normally. It can be seen that, by using the device connected to the device in this embodiment, the connection between the client and the service providing device is not unique, and the device providing device capable of satisfying the service provided by the client and the client may be selected according to actual conditions. Connect to adapt to the constantly changing changes of the application to ensure the normal operation of the smart TV system.
进一步地,在本实施例中,应用可以是安装在服务提供设备中,由所述服务提供设备为所述客户端提供服务,而所述服务提供设备是设置在网络侧的,因此,设备连接的装置可以在云端对服务提供设备中的应用进行统一的更新管理,维护方便;不占用用户的时间和下载资源,提高了更新效率,节约了用户成本。Further, in this embodiment, the application may be installed in the service providing device, and the service providing device provides the service to the client, and the service providing device is disposed on the network side, and therefore, the device is connected. The device can perform unified update management on the application in the service providing device in the cloud, and the maintenance is convenient; the user's time and download resources are not occupied, the update efficiency is improved, and the user cost is saved.
此外,设备连接的装置可以在服务提供设备处于空闲状态(未提供服务)时,随时对服务提供设备中的应用进行更新,进一步提高了资源利用率和更新效率。In addition, the device connected to the device can update the application in the service providing device at any time when the service providing device is in an idle state (no service is provided), thereby further improving resource utilization and update efficiency.
实施例六Embodiment 6
本发明实施例还公开了一种智能电视***,包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务;The embodiment of the invention further discloses a smart television system, comprising: at least one server, at least one client, at least one service providing device; wherein the server is configured to allocate a service providing device to the client; the client The terminal is disposed in the smart TV, and the service providing device is disposed on the network side, and is configured to provide an Internet service for the established client through the network;
其中,所述服务器可以包括上述实施例五所述的设备连接的装置,或实施例六优化后的设备连接的装置。The server may include the device connected to the device in the fifth embodiment, or the device connected in the sixth embodiment.
所述的***还包括:少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。The system further includes: one less user data information storage device; the at least one user data information storage device includes: at least one user partition; wherein the at least one user partition is respectively configured to store user data corresponding to different clients .
所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:电视直播、音视频服务、网页服务、游戏服务。The service providing device includes: a network set top box; the internet service includes at least one of the following: a live television, an audio and video service, a web service, and a game service.
其中,该智能电视***与上述图3所述的***基本一致,因此不再赘述。The smart television system is basically the same as the system described in FIG. 3 above, and therefore will not be described again.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments can be referred to each other.
本领域技术人员易于想到的是:上述各个实施例的任意组合应用都是可行的,故上述各个实施例之间的任意组合都是本发明的实施方案,但是由于篇幅限制,本说明书在此就不一一详述了。 It will be readily apparent to those skilled in the art that any combination of the above embodiments is possible, and any combination between the above embodiments is an embodiment of the present invention, but due to space limitations, the present specification is hereby Not detailed one by one.
本发明实施例可用于众多通用或专用的计算***环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器***、基于微处理器的***、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何***或设备的分布式计算环境等等。Embodiments of the invention are applicable to a wide variety of general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor based systems, set-top boxes, programmable consumer electronics devices, network PCs, small computers, mainframe computers, including A distributed computing environment of any of the above systems or devices, and the like.
本发明实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。Embodiments of the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. Embodiments of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.
在本发明实施例中,“组件”、“装置”、“***”等等指应用于计算机的相关实体,如硬件、硬件和软件的组合、软件或执行中的软件等。详细地说,例如,组件可以、但不限于是运行于处理器的过程、处理器、对象、可执行组件、执行线程、程序和/或计算机。还有,运行于服务器上的应用程序或脚本程序、服务器都可以是组件。一个或多个组件可在执行的过程和/或线程中,并且组件可以在一台计算机上本地化和/或分布在两台或多台计算机之间,并可以由各种计算机可读介质运行。组件还可以根据具有一个或多个数据包的信号,例如,来自一个与本地***、分布式***中另一组件交互的,和/或在因特网的网络通过信号与其它***交互的数据的信号通过本地和/或远程过程来进行通信。In the embodiments of the present invention, "component", "device", "system" and the like refer to related entities applied to a computer, such as hardware, a combination of hardware and software, software or software in execution, and the like. In particular, for example, a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable component, a thread of execution, a program, and/or a computer. Also, an application or script running on a server, or a server, can be a component. One or more components can be executed in a process and/or thread, and the components can be localized on a single computer and/or distributed between two or more computers and can be run by various computer readable media. . The component may also pass signals based on data having one or more data packets, for example, from a signal interacting with another component in the local system, the distributed system, and/or interacting with other systems over the network of the Internet. Local and/or remote processes to communicate.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”,不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Moreover, the terms "comprising" and "comprising" are intended to include not only those elements, but also other elements that are not explicitly listed, or the elements that are inherent to the process, method, item, or device. An element that is defined by the phrase "comprising", without limiting the invention, does not exclude the presence of additional elements in the process, method, article, or device.
而且,上文中的“和/或”表示本文既包含了“和”的关系,也包含了“或”的关系,其中:如果方案A与方案B是“和”的关系,则表示某实施例中可以同时包括方案A和方案B;如果方案A与方案B是“或”的关系,则表示某实施例中可以单独包括方案A,或者单独包括方案B。Moreover, "and/or" in the above means that both the relationship of "and" and the relationship of "or" are included herein, wherein: if the relationship between the scheme A and the scheme B is "and", it indicates an embodiment. The scheme A and the scheme B may be included at the same time; if the relationship between the scheme A and the scheme B is "or", it means that the scheme A may be separately included in an embodiment, or the scheme B may be separately included.
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬 件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Therefore, embodiments of the present invention may employ an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. The form of an embodiment of the aspect. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although the preferred embodiment of the invention has been described, it will be apparent to those skilled in the < Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
以上对本发明所提供的一种设备连接的方法和装置,以及一种智能电视***进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The method and device for connecting a device and the smart television system provided by the present invention are described in detail above. The principles and embodiments of the present invention are described in the following. The description of the above embodiment is only The method for understanding the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The description should not be construed as limiting the invention.

Claims (20)

  1. 一种设备连接的方法,其特征在于,包括:A method for device connection, comprising:
    接收客户端上报的用于请求分配服务提供设备的请求信息;Receiving request information reported by the client for requesting allocation of the service providing device;
    根据所述请求信息,获取与所述客户端相匹配的设备能力信息;其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;Obtaining, according to the request information, device capability information that is matched with the client, where the device capability information includes: device capability information of at least one service providing device that has established a connection with the client;
    根据所述设备能力信息确定出一个服务提供设备,其中,确定出的服务提供设备的设备能力不低于所述设备能力信息所指示的设备能力;Determining, according to the device capability information, a service providing device, where the determined device providing device has a device capability that is not lower than the device capability indicated by the device capability information;
    将所述确定出的服务提供设备的设备信息发送至所述客户端,其中,所述设备信息用于指示所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。Sending, to the client, the device information of the determined service providing device, where the device information is used to indicate that the client establishes a relationship with the determined service providing device according to the device information. connection.
  2. 根据权利要求1所述的方法,其特征在于,所述设备能力信息,包括:用于表征服务提供设备中安装的应用的应用信息;The method according to claim 1, wherein the device capability information comprises: application information for characterizing an application installed in the service providing device;
    所述方法还包括:The method further includes:
    根据用于表征要求服务提供设备中安装的应用的应用信息,更新服务提供设备中的应用。The application in the service providing device is updated according to the application information for characterizing the application installed in the service providing device.
  3. 根据权利要求2所述的方法,其特征在于,根据用于表征要求服务提供设备中安装的应用的应用信息,更新服务提供设备中的应用,包括:The method according to claim 2, wherein the updating the application in the service providing device according to the application information for characterizing the application installed in the service providing device comprises:
    获取服务提供设备中已安装的应用的应用信息;Obtain application information of an installed application in the service providing device;
    根据所述已安装的应用的应用信息和所述用于表征要求服务提供设备中安装的应用的应用信息,生成待更新应用信息;Generating application information to be updated according to application information of the installed application and application information for characterizing an application installed in the service providing device;
    通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用。Notifying the service providing device to update an application in the service providing device according to the to-be-updated application information.
  4. 根据权利要求3所述的方法,其特征在于,在通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用的步骤之后,所述方法还包括:The method according to claim 3, after the step of notifying the service providing device to update the application in the service providing device according to the to-be-updated application information, the method further includes:
    在接收到所述服务提供设备上报的指示信息后,更新所述服务提供设备的设备能力信息;其中,所述指示信息用于指示所述服务提供设备根据所述待更新应用信息成功完成所述服务提供设备中的应用的更新。After receiving the indication information reported by the service providing device, updating the device capability information of the service providing device, where the indication information is used to indicate that the service providing device successfully completes according to the to-be-updated application information. The service provides an update to the application in the device.
  5. 根据权利要求3所述的方法,其特征在于,所述待更新应用信息包括如下信息中的至少一种:用于指示卸载应用的卸载信息、用于指示安装应用的安装信息、和用于指示升级应用的应用版本的升级信息。The method according to claim 3, wherein the to-be-updated application information comprises at least one of: information for indicating uninstallation of an uninstalled application, installation information for indicating installation of an application, and for indicating Upgrade information for the app version of the app.
  6. 根据权利要求2所述的方法,其特征在于,所述应用信息,包括:The method according to claim 2, wherein the application information comprises:
    服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号;或 The identification information of the application of each application installed in the service providing device, and/or the version number of the application; or
    服务提供设备中安装的应用集合对应的版本号。The version number corresponding to the application set installed in the service providing device.
  7. 根据权利要求6所述的方法,其特征在于,根据所述设备能力信息确定出一个服务提供设备,包括:The method according to claim 6, wherein determining a service providing device according to the device capability information comprises:
    根据所述服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用与所述应用的标识信息匹配、和/或,确定出的服务提供设备中安装的应用的版本号不低于所根据的所述应用的版本号;或Determining a service providing device according to the identification information of the application of each application installed in the service providing device, and/or the version number of the application, wherein the determined application installed in the service providing device and the identifier of the application Information matching, and/or, determining that the version number of the application installed in the service providing device is not lower than the version number of the application on which the application is based; or
    根据所述服务提供设备中安装的应用集合对应的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用集合的版本号不低于所根据的所述应用集合对应的版本号。Determining, according to the version number corresponding to the application set installed in the service providing device, a service providing device, where the determined version number of the application set installed in the service providing device is not lower than the corresponding application set according to the Version number.
  8. 根据权利要求1-6任一权利要求所述的方法,其特征在于,所述设备连接的方法应用于智能电视***;其中,所述智能电视***包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。The method according to any one of claims 1 to 6, wherein the method of device connection is applied to a smart television system; wherein the smart television system comprises: at least one server, at least one client, at least a service providing device; wherein the server is configured to allocate a service providing device to the client; the client is set in a smart TV, and the service providing device is disposed on a network side for establishing a connection through a network The client provides internet services.
  9. 根据权利要求8所述的方法,其特征在于,所述智能电视***,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。The method according to claim 8, wherein said smart television system further comprises at least one user data information storage device; said at least one user data information storage device comprising: at least one user partition; wherein said at least A user partition is used to store user data corresponding to different clients.
  10. 根据权利要求8所述的方法,其特征在于,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:The method according to claim 8, wherein said service providing device comprises: a network set top box; said internet service comprising at least one of:
    电视直播、音视频服务、网页服务、游戏服务。Live TV, audio and video services, web services, and game services.
  11. 一种设备连接的装置,其特征在于,包括:A device for connecting devices, comprising:
    接收模块,用于接收客户端上报的用于请求分配服务提供设备的请求信息;a receiving module, configured to receive, by the client, request information for requesting allocation of the service providing device;
    获取模块,用于根据所述请求信息,获取与所述客户端相匹配的设备能力信息;其中,所述设备能力信息包括:与所述客户端建立过连接的至少一个服务提供设备的设备能力信息;An acquiring module, configured to acquire, according to the request information, device capability information that matches the client, where the device capability information includes: a device capability of at least one service providing device that has established a connection with the client information;
    确定模块,用于根据所述设备能力信息确定出一个服务提供设备,其中,确定出的服务提供设备的设备能力不低于所述设备能力信息所指示的设备能力;a determining module, configured to determine, according to the device capability information, a service providing device, where the determined device providing device has a device capability that is not lower than the device capability indicated by the device capability information;
    发送模块,用于将所述确定出的服务提供设备的设备信息发送至所述客户端,其中, 所述设备信息用于指示所述客户端根据所述设备信息建立与所述确定出的服务提供设备之间的连接。a sending module, configured to send device information of the determined service providing device to the client, where The device information is used to instruct the client to establish a connection with the determined service providing device according to the device information.
  12. 根据权利要求11所述的设备连接的装置,其特征在于,所述设备能力信息,包括:用于表征服务提供设备中安装的应用的应用信息;The device connection device according to claim 11, wherein the device capability information comprises: application information for characterizing an application installed in the service providing device;
    所述设备连接的装置还包括:The device connected to the device further includes:
    更新模块,用于根据用于表征要求服务提供设备中安装的应用的应用信息,更新服务提供设备中的应用。And an update module, configured to update an application in the service providing device according to the application information used to characterize the application installed in the service providing device.
  13. 根据权利要求12所述的设备连接的装置,其特征在于,所述更新模块,包括:The device for connecting a device according to claim 12, wherein the updating module comprises:
    应用信息获取模块,用于获取服务提供设备中已安装的应用的应用信息;An application information obtaining module, configured to obtain application information of an installed application in the service providing device;
    生成模块,用于根据所述已安装的应用的应用信息和所述用于表征要求服务提供设备中安装的应用的应用信息,生成待更新应用信息;a generating module, configured to generate application information to be updated according to application information of the installed application and application information used to represent an application installed in the service providing device;
    通知模块,用于通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用。And a notification module, configured to notify the service providing device to update an application in the service providing device according to the to-be-updated application information.
  14. 根据权利要求13所述的设备连接的装置,其特征在于,还包括:The device for connecting a device according to claim 13, further comprising:
    能力信息更新模块,用于在所述通知模块通知所述服务提供设备根据所述待更新应用信息更新所述服务提供设备中的应用之后,在接收到所述服务提供设备上报的指示信息后,更新所述服务提供设备的设备能力信息;其中,所述指示信息用于指示所述服务提供设备根据所述待更新应用信息成功完成所述服务提供设备中的应用的更新。a capability information update module, configured to: after the notification module notifies the service providing device that the application in the service providing device is updated according to the application information to be updated, after receiving the indication information reported by the service providing device, And updating the device capability information of the service providing device; wherein the indication information is used to indicate that the service providing device successfully completes updating of an application in the service providing device according to the to-be-updated application information.
  15. 根据权利要求13所述的设备连接的装置,其特征在于,所述待更新应用信息包括如下信息中的至少一种:用于指示卸载应用的卸载信息、用于指示安装应用的安装信息、和用于指示升级应用的应用版本的升级信息。The device connection device according to claim 13, wherein the to-be-updated application information comprises at least one of the following information: an uninstallation information for indicating an uninstallation application, installation information for indicating installation of the application, and Upgrade information used to indicate the version of the app that upgrades the app.
  16. 根据权利要求12所述的设备连接的装置,其特征在于,所述应用信息,包括:The apparatus for device connection according to claim 12, wherein the application information comprises:
    服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号;或The identification information of the application of each application installed in the service providing device, and/or the version number of the application; or
    服务提供设备中安装的应用集合对应的版本号。The version number corresponding to the application set installed in the service providing device.
  17. 根据权利要求16所述的设备连接的装置,其特征在于,Apparatus for connecting a device according to claim 16 wherein:
    所述确定模块,用于根据所述服务提供设备中安装的各应用的应用的标识信息,和/或应用的版本号,确定出一个服务提供设备,其中,确定出的服务提供设备中安装的应用与所述应用的标识信息匹配、和/或,确定出的服务提供设备中安装的应用的版本号不低于所根据的所述应用的版本号;或The determining module is configured to determine, according to the identification information of the application of each application installed in the service providing device, and/or the version number of the application, a service providing device, where the determined service providing device is installed The application matches the identification information of the application, and/or the determined version number of the application installed in the service providing device is not lower than the version number of the application according to the application; or
    根据所述服务提供设备中安装的应用集合对应的版本号,确定出一个服务提供设 备,其中,确定出的服务提供设备中安装的应用集合的版本号不低于所根据的所述应用集合对应的版本号。Determining a service providing setting according to a version number corresponding to the application set installed in the service providing device The version number of the application set installed in the determined service providing device is not lower than the version number corresponding to the application set according to the device.
  18. 一种智能电视***,其特征在于,包括:至少一个服务器、至少一个客户端、至少一个服务提供设备;其中,所述服务器包括权利要求11至17任一项所述的设备连接的装置;所述服务器用于向所述客户端分配服务提供设备;所述客户端设置在智能电视中,所述服务提供设备设置在网络侧,用于通过网络为建立连接的客户端提供互联网服务。A smart television system, comprising: at least one server, at least one client, at least one service providing device; wherein the server comprises the device connected according to any one of claims 11 to 17; The server is configured to allocate a service providing device to the client; the client is disposed in a smart TV, and the service providing device is disposed on a network side, and is configured to provide an Internet service for the connected client through the network.
  19. 根据权利要求18所述的智能电视***,其特征在于,所述智能电视***,还包括至少一个用户数据信息存储设备;所述至少一个用户数据信息存储设备包括:至少一个用户分区;其中,所述至少一个用户分区分别用于存储不同客户端对应的用户数据。The smart television system according to claim 18, wherein the smart television system further comprises at least one user data information storage device; the at least one user data information storage device comprises: at least one user partition; The at least one user partition is respectively used to store user data corresponding to different clients.
  20. 根据权利要求18所述的智能电视***,其特征在于,所述服务提供设备包括:网络机顶盒;所述互联网服务,包括如下中的至少一个:The smart television system according to claim 18, wherein said service providing device comprises: a network set top box; said internet service comprising at least one of:
    电视直播、音视频服务、网页服务、游戏服务。 Live TV, audio and video services, web services, and game services.
PCT/CN2016/085211 2015-06-17 2016-06-08 Device connection method and apparatus, and smart television system WO2016202202A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510338189.X 2015-06-17
CN201510338189.XA CN106331774A (en) 2015-06-17 2015-06-17 Equipment connection method and device and intelligent television system

Publications (1)

Publication Number Publication Date
WO2016202202A1 true WO2016202202A1 (en) 2016-12-22

Family

ID=57544832

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085211 WO2016202202A1 (en) 2015-06-17 2016-06-08 Device connection method and apparatus, and smart television system

Country Status (2)

Country Link
CN (1) CN106331774A (en)
WO (1) WO2016202202A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426624A (en) * 2017-05-26 2017-12-01 北京视博云科技有限公司 Video game realization method and system, television terminal, cloud server, medium
CN109240764B (en) * 2018-08-23 2021-08-24 每日互动股份有限公司 Method for server to acquire unloaded APP of mobile terminal
CN111346370B (en) * 2020-02-18 2021-10-12 腾讯科技(深圳)有限公司 Method, device, equipment and medium for operating battle kernel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616169A (en) * 2008-06-23 2009-12-30 华为技术有限公司 Select service that method, system, services selection entity, the Service Management entity of entity are provided
US20110185045A1 (en) * 2006-08-07 2011-07-28 Time Warner Cable, Inc. System and method for establishing and enforcing service rules in a service provider network
US20120158999A1 (en) * 2010-12-16 2012-06-21 Electronics And Telecommunications Research Institute Method and apparatus for terminal capability information based incompatible media contents transformation
CN103685491A (en) * 2013-12-04 2014-03-26 华为技术有限公司 Application service providing method, system and related equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100463491C (en) * 2006-12-31 2009-02-18 北京视博数字电视科技有限公司 Software staging management method and system of set-top box
CN101883254A (en) * 2010-06-22 2010-11-10 上海大亚科技有限公司 IP unicast loading upgrading device and method for interactive television set top box

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110185045A1 (en) * 2006-08-07 2011-07-28 Time Warner Cable, Inc. System and method for establishing and enforcing service rules in a service provider network
CN101616169A (en) * 2008-06-23 2009-12-30 华为技术有限公司 Select service that method, system, services selection entity, the Service Management entity of entity are provided
US20120158999A1 (en) * 2010-12-16 2012-06-21 Electronics And Telecommunications Research Institute Method and apparatus for terminal capability information based incompatible media contents transformation
CN103685491A (en) * 2013-12-04 2014-03-26 华为技术有限公司 Application service providing method, system and related equipment

Also Published As

Publication number Publication date
CN106331774A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US10298721B2 (en) Method and system to determine a work distribution model for an application deployed on a cloud
CN106301865B (en) Data processing method and device applied to service providing device
WO2016197864A1 (en) Connection-status detection method and apparatus, and smart television system
US8621069B1 (en) Provisioning a computing application executing on a cloud to a client device
WO2016197876A1 (en) Remote control method, remote server, management device, and terminal
WO2014021125A1 (en) Reception device, reception method, transmission device, and transmission method
CN106303674B (en) Data transmission method, device and intelligent television system
US20020032754A1 (en) Method and apparatus for profiling in a distributed application environment
US20130137511A1 (en) Distributed server system and method for streaming game service
CN106533713B (en) Application deployment method and device
WO2016202201A1 (en) Resource allocation method and apparatus, and smart television system
US10921948B1 (en) Dynamic resource management for cloud-based services
WO2016202200A1 (en) Data verification method and apparatus, and smart television system
WO2016197863A1 (en) Client, smart television system, and corresponding data transmission method
CN111643889A (en) Game control method, device, storage medium and electronic equipment
CN104349177A (en) Method for turning to play multimedia file under desktop cloud, virtual machine and system
US9479804B2 (en) Digital video recorder program to mobile device
WO2016202202A1 (en) Device connection method and apparatus, and smart television system
US20200314162A1 (en) Techniques for modifying a rules engine in a highly-scaled computing environment
WO2015077983A1 (en) Device and method for playing media in home network
WO2018000621A1 (en) Communication data synchronization method and electronic device
WO2016202203A1 (en) Device connection method and apparatus, and smart television system
US11323499B2 (en) Bandwidth efficient streaming and synching multimedia content at a desired quality of experience
US9501528B2 (en) Efficient response of common information model (CIM) server
CN117768552A (en) General monitoring video history video downloading method based on Internet of things operating system

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: 16810943

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16810943

Country of ref document: EP

Kind code of ref document: A1