WO2016115915A1 - 终端上应用程序的推送、获取方法及装置 - Google Patents
终端上应用程序的推送、获取方法及装置 Download PDFInfo
- Publication number
- WO2016115915A1 WO2016115915A1 PCT/CN2015/090041 CN2015090041W WO2016115915A1 WO 2016115915 A1 WO2016115915 A1 WO 2016115915A1 CN 2015090041 W CN2015090041 W CN 2015090041W WO 2016115915 A1 WO2016115915 A1 WO 2016115915A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- application
- login request
- data stream
- multimedia data
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000012545 processing Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 10
- 230000001960 triggered effect Effects 0.000 claims description 7
- 230000000977 initiatory effect Effects 0.000 claims description 4
- 230000003213 activating effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 8
- 238000009434 installation Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004936 stimulating effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
Definitions
- the present invention relates to the field of communications, and in particular to a method and device for pushing and acquiring an application on a terminal.
- IPTV Internet TV
- the second terminal may be limited in its use range and service life because it may not be able to install or upgrade the application itself. Even in the first terminal, due to different processing capabilities or different types of applications installed, in a specific scenario, there are situations in which other first terminals need to be used to complete a specific service in time.
- the related art lacks a solution in which a terminal implements a specific function by means of an application installed on another terminal.
- the embodiment of the invention provides a method and a device for pushing and acquiring an application on a terminal, so as to at least solve the problem that the related application cannot be used by one terminal to use an application installed on another terminal.
- a push method of an application on a terminal is provided.
- the method for pushing an application on a terminal includes: the first terminal receives a login request from the second terminal, wherein the login request is used by the second terminal to request to use an application installed on the first terminal; A terminal sends a multimedia data stream corresponding to the application to the second terminal according to the login request.
- the method further includes: the first terminal authenticating the second terminal, determining whether the identifier information corresponding to the second terminal is stored on the first terminal; No, the first terminal adds identification information and allocates an application for the second terminal and configures a time period and duration for using the application; if so, the first terminal determines a restriction condition for the application.
- the sending, by the first terminal, the multimedia data stream according to the login request comprises: the first terminal is in the login request When the verification passes, the virtual machine is started and the application is copied to the virtual machine, wherein the virtual machine is used to output the multimedia data stream; the first terminal encodes the multimedia data stream, and returns the multimedia data to the second terminal.
- a uniform resource locator (URL) of the stream wherein the URL is used by the second terminal to acquire the multimedia data stream.
- a method for acquiring an application on a terminal is provided.
- the acquiring method of the application on the terminal includes: the second terminal initiates a login request to the first terminal, where the login request is used by the second terminal to request to use the application installed on the first terminal; the second terminal Receiving a multimedia data stream corresponding to the application returned by the first terminal according to the login request.
- the receiving, by the second terminal, the multimedia data stream returned by the first terminal according to the login request comprises: receiving, by the second terminal, a URL of the played multimedia data stream returned by the first terminal according to the login request; the second terminal acquiring the multimedia from the first terminal according to the URL data flow.
- the method further includes: the second terminal responding to the user-triggered control event; the second terminal sending the control event to the first terminal and receiving the first terminal Response to control events.
- a push device for an application on a terminal is provided.
- the push device of the application on the terminal includes: a receiving module configured to receive a login request from the second terminal, wherein the login request is used by the second terminal to request to use the application installed on the first terminal
- the push module is configured to send the multimedia data stream corresponding to the application to the second terminal according to the login request.
- the device further includes: a determining module, configured to perform authentication on the second terminal, determining whether the identifier information corresponding to the second terminal is stored on the first terminal; and the first executing module is configured to output the Otherwise, the identification information is added and the application is allocated to the second terminal and the time period and duration of the configuration application are used; the second execution module is configured to determine the restriction condition on the application when the determination module output is YES.
- a determining module configured to perform authentication on the second terminal, determining whether the identifier information corresponding to the second terminal is stored on the first terminal
- the first executing module is configured to output the Otherwise, the identification information is added and the application is allocated to the second terminal and the time period and duration of the configuration application are used
- the second execution module is configured to determine the restriction condition on the application when the determination module output is YES.
- the pushing module comprises: a starting unit, configured to start the virtual machine and copy the application to the virtual machine if the verification of the login request is passed, wherein the virtual machine is used to output the multimedia data stream; The encoding process is performed on the multimedia data stream, and the URL of the multimedia data stream is returned to the second terminal, where the URL is used by the second terminal to acquire the multimedia data stream.
- an apparatus for acquiring an application on a terminal is provided.
- the acquiring device of the application on the terminal includes: an initiating module, configured to initiate a login request to the first terminal, wherein the login request is used by the second terminal to request to use an application installed on the first terminal; And a module, configured to receive a multimedia data stream corresponding to the application returned by the first terminal according to the login request.
- the receiving module includes: a receiving unit configured to receive a URL of the played multimedia data stream returned by the first terminal according to the login request; and an acquiring unit configured to acquire the multimedia data stream from the first terminal according to the URL.
- the apparatus further includes: a response module configured to respond to a user-triggered control event; and the processing module configured to send the control event to the first terminal and receive a response of the first terminal to the control event.
- a response module configured to respond to a user-triggered control event
- the processing module configured to send the control event to the first terminal and receive a response of the first terminal to the control event.
- the first terminal receives the login request from the second terminal, wherein the login request is used by the second terminal to request to use the application installed on the first terminal; and the first terminal is in the second request according to the login request.
- the terminal sends the multimedia data stream corresponding to the application, and solves the problem that the related technology cannot use the application installed on the other terminal through one terminal, thereby being able to implement the DLNA in the home LAN without the application in a simple and effective manner.
- FIG. 1 is a flowchart of a method for pushing an application on a terminal according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for acquiring an application on a terminal according to an embodiment of the present invention
- FIG. 3 is a structural block diagram of a push device of an application on a terminal according to an embodiment of the present invention.
- FIG. 4 is a block diagram showing the structure of a push device of an application on a terminal according to a preferred embodiment of the present invention
- FIG. 5 is a structural block diagram of an apparatus for acquiring an application on a terminal according to an embodiment of the present invention
- FIG. 6 is a structural block diagram of an apparatus for acquiring an application on a terminal according to a preferred embodiment of the present invention.
- FIG. 7 is a schematic diagram of a connection between a second terminal and a first terminal according to a preferred embodiment of the present invention.
- FIG. 1 is a flow chart of a method of pushing an application on a terminal according to an embodiment of the present invention. As shown in FIG. 1, the method may include the following processing steps:
- Step S102 The first terminal receives a login request from the second terminal, where the login request is used for the second The terminal requests to use an application installed on the first terminal;
- Step S104 The first terminal sends a multimedia data stream corresponding to the application to the second terminal according to the login request.
- the application installed on the first terminal cannot be used by the second terminal.
- the first terminal is connected to the second terminal by the Digital Living Network Alliance (DLNA), and the second terminal can detect the first terminal and initiate a login request to the first terminal; the first terminal Sending a multimedia data stream corresponding to the application to the second terminal according to the login request. Therefore, the problem that the application installed on the first terminal cannot be used by the second terminal in the related art is solved, thereby being capable of simply and effectively implementing the application installation capability through the DLNA in the home local area network or not yet installing such an application. Use the smart system application on the terminal of the program.
- DLNA Digital Living Network Alliance
- the second terminal may be a terminal lacking the installation capability of the application but having the capability of decoding the data stream received from the first terminal, or may have the installation capability of the application but not yet A terminal that installs such an application.
- the first terminal may further include the following operations:
- Step S1 The first terminal performs authentication on the second terminal, and determines whether the identifier information corresponding to the second terminal is stored on the first terminal.
- Step S2 If no, the first terminal adds the identification information and allocates the application to the second terminal and configures the time period and duration of using the application;
- Step S3 If yes, the first terminal determines a restriction condition for the application.
- the first terminal is responsible for implementing remote terminal information maintenance, and may include: adding and deleting terminals, allocating available applications to the terminal, setting a time period and duration that can be used, and not within the limit. Can be used normally.
- After receiving the login request sent by the remote terminal it is determined whether it is already in the terminal list. If it does not exist, the terminal is added and set accordingly. If it already exists, the time period is verified, and the verification is passed to enter the next time. A process.
- step S104 the sending, by the first terminal, the multimedia data stream according to the login request may include the following steps:
- Step S4 The first terminal starts the virtual machine and copies the application to the virtual machine in the case that the login request is verified, wherein the virtual machine is used to output the multimedia data stream;
- Step S5 The first terminal performs encoding processing on the multimedia data stream, and returns a uniform resource locator (URL) for playing the multimedia data stream to the second terminal, where the URL is used by the second terminal to acquire the multimedia data stream.
- URL uniform resource locator
- the first terminal starts the virtual machine of the smart operating system for the remote terminal, and copies the installed and distributed application in the first terminal to the virtual machine, and then Output images and sounds to the encoder.
- the encoder is responsible for encoding the image and sound output by the virtual machine, converting the encoded content into a media stream and publishing it to the network, and returning to the second terminal to play a uniform resource locator (URL).
- URL uniform resource locator
- FIG. 2 is a flow chart of a method for acquiring an application on a terminal according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following processing steps:
- Step S202 The second terminal initiates a login request to the first terminal, where the login request is used by the second terminal to request to use the application installed on the first terminal;
- Step S204 The second terminal receives the multimedia data stream corresponding to the application returned by the first terminal according to the login request.
- the second terminal receiving the multimedia data stream returned by the first terminal according to the login request may include the following operations:
- Step S6 The second terminal receives the URL of the played multimedia data stream returned by the first terminal according to the login request
- Step S7 The second terminal acquires the multimedia data stream from the first terminal according to the URL.
- the first terminal may activate the remote terminal virtual machine after the authentication is passed, and the output image and sound are encoded by the encoder and returned to the second terminal for the media stream play URL.
- the second terminal can play the media stream, and the image and sound are output to the display device.
- the second terminal may further include the following steps:
- Step S8 the second terminal responds to a control event triggered by the user
- Step S9 The second terminal sends a control event to the first terminal and receives a response of the first terminal to the control event.
- control event may be triggered by the user, and after receiving the control event, the second terminal sends the control event to the first terminal, and the first terminal responds to the remote terminal virtual machine of the user, thereby implementing The first terminal provides the function of the intelligent system application for the second terminal.
- the terminal should The program push device is applied to a smart terminal having the capability of installing the above application and having such an application installed on the terminal, and also ensuring that the upgrade and maintenance are performed according to a specific cycle, as shown in FIG.
- the pushing device of the application may include: a receiving module 10 configured to receive a login request from the second terminal, wherein the login request is for the second terminal to request to use an application installed on the first terminal; the pushing module 20, setting The multimedia data stream corresponding to the application is sent to the second terminal according to the login request.
- the device shown in FIG. 3 solves the problem that the related application cannot be used by the second terminal in the related art, so that the application can be easily and effectively implemented in the home LAN through DLNA in the absence of an application.
- the foregoing apparatus may further include: a determining module 30, configured to perform authentication on the second terminal, and determine whether the identifier information corresponding to the second terminal is stored on the first terminal; 40. Set, when the judgment module output is no, add identification information, allocate an application for the second terminal, and configure a time period and a duration of using the application; and the second execution module 50 is configured to: when the output of the determination module is YES, Determine the restrictions on the application.
- the pushing module 20 may include: a starting unit (not shown) configured to start the virtual machine and copy the application to the virtual machine if the login request is verified, wherein the virtual machine is used Outputting a multimedia data stream; a return unit (not shown) configured to encode the multimedia data stream and return a URL for playing the multimedia data stream to the second terminal, wherein the URL is used by the second terminal to acquire the multimedia data stream .
- FIG. 5 is a structural block diagram of an apparatus for acquiring an application on a terminal according to an embodiment of the present invention.
- the acquiring device of the application on the terminal is applied to a non-intelligent terminal lacking the ability to install the above application but having the ability to decode the data stream received from other terminals or having the ability to install the above application but having the ability to install the above application
- the smart terminal of the application is not installed, as shown in FIG. 5, the acquiring device of the application on the terminal may include: an initiating module 60, configured to initiate a login request to the first terminal, where the login request is used for the second terminal The request is to use an application installed on the first terminal; the receiving module 70 is configured to receive the multimedia data stream corresponding to the application returned by the first terminal according to the login request.
- the receiving module 70 may include: a receiving unit (not shown) configured to receive a URL of the played multimedia data stream returned by the first terminal according to the login request, and an obtaining unit (not shown) configured to be The URL acquires a multimedia data stream from the first terminal.
- a receiving unit (not shown) configured to receive a URL of the played multimedia data stream returned by the first terminal according to the login request
- an obtaining unit (not shown) configured to be The URL acquires a multimedia data stream from the first terminal.
- the apparatus may further include: a response module 80 configured to respond to a user-triggered control event; the processing module 90 configured to send the control event to the first terminal and receive the first terminal-to-control event the response to.
- a response module 80 configured to respond to a user-triggered control event
- the processing module 90 configured to send the control event to the first terminal and receive the first terminal-to-control event the response to.
- FIG. 7 is a schematic diagram of a connection between a second terminal and a first terminal according to a preferred embodiment of the present invention.
- the first terminal scanning module on the second terminal can be universal plug and play (Universal Plug and play, simple A discovery mechanism called UPnP) detects the first terminal present in the network and establishes a connection.
- the remote login module (equivalent to the above-mentioned initiating module) on the second terminal is that the second terminal initiates a login request to the remote terminal management module of the first terminal, and carries the required parameters.
- the remote terminal management module on the first terminal (corresponding to the above-mentioned determining module, the first executing module, the second executing module, and the receiving module of the pushing device of the application on the first terminal) is responsible for realizing remote terminal information maintenance, which may include : Adding and deleting terminals, assigning available applications to the terminal, setting the available time period and duration, and not working within the limits.
- remote terminal information maintenance may include : Adding and deleting terminals, assigning available applications to the terminal, setting the available time period and duration, and not working within the limits.
- After receiving the login request sent by the remote terminal it is determined whether it is in the terminal list, if not in the terminal list, the adding prompt is popped up, and the available application is allocated after the addition, and the available time period is set. And the length of use. If it already exists in the terminal list, it is checked whether there is a time limit. If the check passes, the next process is entered.
- connection duration is judged in real time, and if the set value is reached, the connection is broken.
- the remote terminal virtual machine on the first terminal is responsible for the virtual terminal of the smart operating system being started for the remote terminal after the remote terminal successfully logs in, and the application installed and allocated in the first terminal is copied into the virtual machine. , then output the image and sound to the encoder.
- the encoder on the first terminal is responsible for encoding the image and sound output by the virtual machine, and transmitting the encoded content to the digital media server (equivalent to the above-mentioned push module).
- the digital media server on the first terminal that is, the streaming media server, is responsible for converting the content sent by the encoder into a media stream and publishing it to the network, and returning to the second terminal to play a uniform resource locator (URL).
- the digital media player on the second terminal (equivalent to the receiving module of the acquisition device of the application on the first terminal described above) is responsible for finding and playing or outputting any media stream provided by the digital media server.
- a remote event sender (equivalent to the above processing module) on the second terminal, that is, the remote terminal transmits the received control event to the first terminal.
- the remote event handler on the first terminal is responsible for responding to the remote terminal virtual machine of the user (eg, focus movement, application selection) upon receiving the control event sent by the remote event sender.
- the preferred mode of operation for the interaction of the various functional modules is as follows:
- the second terminal runs the first terminal scanning module to find the first terminal
- the first terminal scanning module transmits the found address information of the first terminal to the remote login module of the second terminal;
- the remote login module of the second terminal initiates a login request to the remote terminal management module of the first terminal, where the login request carries the information of the second terminal;
- the remote terminal management module performs terminal authentication, and starts the remote terminal virtual machine for the terminal after the authentication is passed;
- the remote terminal virtual machine outputs the image and sound to the encoder
- the encoder encodes the image and sound into a media stream and sends it to the digital media server, and the digital media server returns the media stream play URL to the remote terminal;
- the digital media player initiates a play request to the digital media server, starts playing, and outputs the image and sound to the display device;
- the remote event sender sends the received control event to the first terminal
- the remote event processor After receiving the control event, the remote event processor sends to the remote terminal virtual machine, and the remote terminal virtual machine responds to the control event, and enters (5), and the user can see the response to the control event from the display device ( For example: focus movement, application selection).
- the Living Network Alliance connects the first terminal with the second terminal, and the second terminal can detect the first terminal through the UPnP, and initiate a login request to the remote terminal management module of the first terminal through the remote login module.
- the first terminal starts the remote terminal virtual machine, and the output image and sound are encoded by the encoder and sent to the digital media server, and the media stream play URL is returned to the second terminal.
- the digital media player of the second terminal plays the media stream, and the image and sound are output to the display device.
- the user triggers a control event, and after receiving the control event, the second terminal is sent by the remote event sender to the first terminal, and is received by the remote event processor of the first terminal and then responded to the remote terminal virtual machine of the user.
- the first terminal provides the function of the intelligent system application for the second terminal, and then the first terminal and the second terminal are connected by using the DLNA, and the second terminal can then use the application installed on the first terminal, and the first terminal
- the second terminal does not need to have strong hardware processing capability, but only needs to have basic decoding and playback capability, thereby improving device utilization and stimulating the user's willingness to purchase the first terminal.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the method and device for pushing and acquiring an application on a terminal provided by the embodiment of the present invention have the following beneficial effects: the ability to install an application in a home LAN without DLNA in a lack of application or not installed is simple and effective.
- the smart system application is used on the terminal of the class application.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种终端上应用程序的推送、获取方法及装置,在上述方法中,第一终端接收来自于第二终端的登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;第一终端根据登陆请求向第二终端发送与应用程序对应的多媒体数据流。根据本发明提供的技术方案,能够简单、有效地实现在家庭局域网内通过DLNA在缺乏应用程序安装能力或者尚未安装此类应用程序的终端上使用智能系统应用程序。
Description
本发明涉及通信领域,具体而言,涉及一种终端上应用程序的推送、获取方法及装置。
截至2014年1月份,中国交互式网络电视(IPTV)用户已经达到近3000万,其使用的基本上都是非智能系统的终端。然而,随着OTT业务的飞速发展,非智能终端已经无法适应这类新业务,因此,使用智能终端已经成为大势所趋,那么如何引导这些存量市场的用户购买智能终端逐步成为一大难题。
然而,无论是第一终端还是第二终端,其自身的处理能力和存储能力可能存在差异,第二终端由于自身可能无法安装或升级应用程序,其使用范围和使用寿命均会受到限制。即便是第一终端之间,由于处理能力差异或各自安装的应用程序的类型不同,在特定场景下,也存在需要借助其他第一终端来及时完成特定业务的情况发生。
综上所述,相关技术中缺乏一个终端借助另外一个终端上安装的应用程序实现特定功能的解决方案。
发明内容
本发明实施例提供了一种终端上应用程序的推送、获取方法及装置,以至少解决相关技术中无法通过一个终端来使用另外一个终端上安装的应用程序的问题。
根据本发明实施例的一个方面,提供了一种终端上应用程序的推送方法。
根据本发明实施例的终端上应用程序的推送方法包括:第一终端接收来自于第二终端的登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;第一终端根据登陆请求向第二终端发送与应用程序对应的多媒体数据流。
优选地,在第一终端接收来自于第二终端的登陆请求之后,还包括:第一终端对第二终端进行认证,判断在第一终端上是否存储有与第二终端对应的标识信息;如果否,则第一终端添加标识信息并为第二终端分配应用程序以及配置使用应用程序的时间段和时长;如果是,则第一终端确定对应用程序的限制条件。
优选地,第一终端根据登陆请求发送多媒体数据流包括:第一终端在对登陆请求
校验通过的情况下,启动虚拟机并将应用程序复制到虚拟机,其中,虚拟机用于输出多媒体数据流;第一终端对多媒体数据流进行编码处理,并向第二终端返回播放多媒体数据流的统一资源定位符(URL),其中,URL用于第二终端获取多媒体数据流。
根据本发明实施例的另一方面,提供了一种终端上应用程序的获取方法。
根据本发明实施例的终端上应用程序的获取方法包括:第二终端向第一终端发起登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;第二终端接收第一终端根据登陆请求返回的与应用程序对应的多媒体数据流。
优选地,第二终端接收第一终端根据登陆请求返回的多媒体数据流包括:第二终端接收第一终端根据登陆请求返回的播放多媒体数据流的URL;第二终端根据URL向第一终端获取多媒体数据流。
优选地,在第二终端接收第一终端根据登陆请求返回的多媒体数据流之后,还包括:第二终端响应用户触发的控制事件;第二终端将控制事件发送至第一终端并接收第一终端对控制事件的响应。
根据本发明实施例的又一方面,提供了一种终端上应用程序的推送装置。
根据本发明实施例的终端上应用程序的推送装置包括:接收模块,设置为接收来自于第二终端的登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;推送模块,设置为根据登陆请求向第二终端发送与应用程序对应的多媒体数据流。
优选地,上述装置还包括:判断模块,设置为对第二终端进行认证,判断在第一终端上是否存储有与第二终端对应的标识信息;第一执行模块,设置为在判断模块输出为否时,添加标识信息并为第二终端分配应用程序以及配置使用应用程序的时间段和时长;第二执行模块,设置为在判断模块输出为是时,确定对应用程序的限制条件。
优选地,推送模块包括:启动单元,设置为在对登陆请求校验通过的情况下,启动虚拟机并将应用程序复制到虚拟机,其中,虚拟机用于输出多媒体数据流;返回单元,设置为对多媒体数据流进行编码处理,并向第二终端返回播放多媒体数据流的URL,其中,URL用于第二终端获取多媒体数据流。
根据本发明实施例的再一方面,提供了一种终端上应用程序的获取装置。
根据本发明实施例的终端上应用程序的获取装置包括:发起模块,设置为向第一终端发起登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;接收模块,设置为接收第一终端根据登陆请求返回的与应用程序对应的多媒体数据流。
优选地,接收模块包括:接收单元,设置为接收第一终端根据登陆请求返回的播放多媒体数据流的URL;获取单元,设置为根据URL向第一终端获取多媒体数据流。
优选地,上述装置还包括:响应模块,设置为响应用户触发的控制事件;处理模块,设置为将控制事件发送至第一终端并接收第一终端对控制事件的响应。
通过本发明实施例,采用第一终端接收来自于第二终端的登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;第一终端根据登陆请求向第二终端发送与应用程序对应的多媒体数据流,解决了相关技术中无法通过一个终端来使用另外一个终端上安装的应用程序的问题,进而能够简单、有效地实现在家庭局域网内通过DLNA在缺乏应用程序安装能力或者尚未安装此类应用程序的终端上使用智能系统应用程序。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的终端上应用程序的推送方法的流程图;
图2是根据本发明实施例的终端上应用程序的获取方法的流程图;
图3是根据本发明实施例的终端上应用程序的推送装置的结构框图;
图4是根据本发明优选实施例的终端上应用程序的推送装置的结构框图;
图5是根据本发明实施例的终端上应用程序的获取装置的结构框图;
图6是根据本发明优选实施例的终端上应用程序的获取装置的结构框图;
图7是根据本发明优选实施例的第二终端与第一终端的连接示意图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
图1是根据本发明实施例的终端上应用程序的推送方法的流程图。如图1所示,该方法可以包括以下处理步骤:
步骤S102:第一终端接收来自于第二终端的登陆请求,其中,登陆请求用于第二
终端请求使用在第一终端上安装的应用程序;
步骤S104:第一终端根据登陆请求向第二终端发送与应用程序对应的多媒体数据流。
相关技术中无法通过第二终端来使用第一终端上安装的应用程序。采用如图1所示的方法,通过数字生活网络联盟(DLNA)将第一终端与第二终端进行连接,第二终端可以检测到第一终端,并向第一终端发起登陆请求;第一终端根据登陆请求向第二终端发送与应用程序对应的多媒体数据流。由此解决了相关技术中无法通过第二终端来使用第一终端上安装的应用程序的问题,进而能够简单、有效地实现在家庭局域网内通过DLNA在缺乏应用程序安装能力或者尚未安装此类应用程序的终端上使用智能系统应用程序。
需要说明的是,上述第一终端需要具备安装上述应用程序的能力并且在该第一终端上已经安装有此类应用程序,同时还可以确保按照特定周期进行升级维护。上述第二终端既可以是缺乏对上述应用程序的安装能力但是却具备对从第一终端接收到的数据码流进行解码能力的终端,也可以是虽然具备对上述应用程序的安装能力但是却尚未安装此类应用程序的终端。
优选地,在步骤S102,第一终端接收来自于第二终端的登陆请求之后,还可以包括以下操作:
步骤S1:第一终端对第二终端进行认证,判断在第一终端上是否存储有与第二终端对应的标识信息;
步骤S2:如果否,则第一终端添加标识信息并为第二终端分配应用程序以及配置使用应用程序的时间段和时长;
步骤S3:如果是,则第一终端确定对应用程序的限制条件。
在优选实施例中,第一终端负责实现远程终端信息维护,其中,可以包括:终端的添加与删除,为该终端分配可用的应用程序,设置可以使用的时间段和时长,不在限制范围内便可以正常使用。当接收到远程终端发送的登陆请求后,判断是否已在终端列表中,如果不存在,则添加该终端并进行相应地设置,如果已经存在,则校验时间段,校验通过便可进入下一个流程。
优选地,在步骤S104中,第一终端根据登陆请求发送多媒体数据流可以包括以下步骤:
步骤S4:第一终端在对登陆请求校验通过的情况下,启动虚拟机并将应用程序复制到虚拟机,其中,虚拟机用于输出多媒体数据流;
步骤S5:第一终端对多媒体数据流进行编码处理,并向第二终端返回播放多媒体数据流的统一资源定位符(URL),其中,URL用于第二终端获取多媒体数据流。
在优选实施例中,在第二终端登陆成功后,第一终端会为该远程终端启动智能操作系统的虚拟机,并将第一终端内安装并且分配的应用程序复制到虚拟机中,然后再将图像和声音输出至编码器。编码器负责将虚拟机输出的图像和声音进行编码处理,并将编码后的内容转换成媒体流发布到网络,并向第二终端返回播放统一资源定位符(URL)。
图2是根据本发明实施例的终端上应用程序的获取方法的流程图。如图2所示,该方法可以包括以下处理步骤:
步骤S202:第二终端向第一终端发起登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;
步骤S204:第二终端接收第一终端根据登陆请求返回的与应用程序对应的多媒体数据流。
优选地,在步骤S204中,第二终端接收第一终端根据登陆请求返回的多媒体数据流可以包括以下操作:
步骤S6:第二终端接收第一终端根据登陆请求返回的播放多媒体数据流的URL;
步骤S7:第二终端根据URL向第一终端获取多媒体数据流。
在优选实施例中,在认证通过后第一终端可以启动远程终端虚拟机,其输出的图像和声音由编码器进行编码处理并向第二终端返回媒体流播放URL。第二终端可以播放媒体流,图像和声音输出到显示设备。
优选地,在步骤S204,第二终端接收第一终端根据登陆请求返回的多媒体数据流之后,还可以包括以下步骤:
步骤S8:第二终端响应用户触发的控制事件;
步骤S9:第二终端将控制事件发送至第一终端并接收第一终端对控制事件的响应。
在优选实施例中,可以由用户触发控制事件,第二终端在接收到控制事件后,将控制事件发送至第一终端,由第一终端在该用户的远程终端虚拟机进行响应,由此实现第一终端为第二终端提供智能系统应用程序的功能。
图3是根据本发明实施例的终端上应用程序的推送装置的结构框图。该终端上应
用程序的推送装置应用于具备安装上述应用程序的能力并且在该终端上已经安装有此类应用程序,同时还可以确保按照特定周期进行升级维护的智能终端,如图3所示,该终端上应用程序的推送装置可以包括:接收模块10,设置为接收来自于第二终端的登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;推送模块20,设置为根据登陆请求向第二终端发送与应用程序对应的多媒体数据流。
采用如图3所示的装置,解决了相关技术中无法通过第二终端来使用第一终端上安装的应用程序的问题,进而能够简单、有效地实现在家庭局域网内通过DLNA在缺乏应用程序安装能力或者尚未安装此类应用程序的终端上使用智能系统应用程序。
优选地,如图4所示,上述装置还可以包括:判断模块30,设置为对第二终端进行认证,判断在第一终端上是否存储有与第二终端对应的标识信息;第一执行模块40,设置为在判断模块输出为否时,添加标识信息并为第二终端分配应用程序以及配置使用应用程序的时间段和时长;第二执行模块50,设置为在判断模块输出为是时,确定对应用程序的限制条件。
优选地,推送模块20可以包括:启动单元(图中未示出),设置为在对登陆请求校验通过的情况下,启动虚拟机并将应用程序复制到虚拟机,其中,虚拟机用于输出多媒体数据流;返回单元(图中未示出),设置为对多媒体数据流进行编码处理,并向第二终端返回播放多媒体数据流的URL,其中,URL用于第二终端获取多媒体数据流。
图5是根据本发明实施例的终端上应用程序的获取装置的结构框图。该终端上应用程序的获取装置应用于缺乏对上述应用程序的安装能力但是却具备对从其他终端接收到的数据码流进行解码能力的非智能终端或虽然具备对上述应用程序的安装能力但是却尚未安装此类应用程序的智能终端,如图5所示,该终端上应用程序的获取装置可以包括:发起模块60,设置为向第一终端发起登陆请求,其中,登陆请求用于第二终端请求使用在第一终端上安装的应用程序;接收模块70,设置为接收第一终端根据登陆请求返回的与应用程序对应的多媒体数据流。
优选地,接收模块70可以包括:接收单元(图中未示出),设置为接收第一终端根据登陆请求返回的播放多媒体数据流的URL;获取单元(图中未示出),设置为根据URL向第一终端获取多媒体数据流。
优选地,如图6所示,上述装置还可以包括:响应模块80,设置为响应用户触发的控制事件;处理模块90,设置为将控制事件发送至第一终端并接收第一终端对控制事件的响应。
图7是根据本发明优选实施例的第二终端与第一终端的连接示意图。如图7所示,第二终端上的第一终端扫描模块可以通过通用即插即用(Universal Plug and play,简
称为UPnP)的发现机制来检测网络中存在的第一终端,并建立连接。第二终端上的远程登陆模块(相当于上述发起模块)即为第二终端向第一终端的远程终端管理模块发起登陆请求,并携带所需参数。第一终端上的远程终端管理模块(相当于上述判断模块、第一执行模块、第二执行模块以及第一终端上应用程序的推送装置的接收模块)负责实现远程终端信息维护,其中,可以包括:终端的添加与删除,为该终端分配可用的应用程序,设置可以使用的时间段和时长,不在限制范围内便可以正常使用。当接收到远程终端发送的登陆请求后,判断是否已在终端列表中,如果未在终端列表中,则弹出添加提示,并在添加后再分配可以使用的应用程序,以及设置可以使用的时间段和使用时长。如果已经存在于终端列表中,则校验是否存在时间段限制,若校验通过则进入下一个流程。实时判断连接时长,如果达到设置值,则中断连接。第一终端上的远程终端虚拟机负责在远程终端登陆成功后,第一终端会为该远程终端启动智能操作系统的虚拟机,并将第一终端内安装并且分配的应用程序复制到虚拟机中,然后再将图像和声音输出至编码器。第一终端上的编码器负责将虚拟机输出的图像和声音进行编码处理,并将编码后的内容发送至数字媒体服务器(相当于上述推送模块)。第一终端上的数字媒体服务器,即流媒体服务器,负责将编码器发送过来的内容转换成媒体流发布到网络,并向第二终端返回播放统一资源定位符(URL)。第二终端上的数字媒体播放器(相当于上述第一终端上应用程序的获取装置的接收模块)负责查找并播放或输出任何由数字媒体服务器所提供的媒体流。第二终端上的远程事件发送器(相当于上述处理模块),即远程终端将接收到的控制事件发送至第一终端。第一终端上的远程事件处理器负责在接收到远程事件发送器发送的控制事件后在该用户的远程终端虚拟机进行响应(例如:焦点移动、应用选择)。
在该优选实施例中,各个功能模块相互作用的优选工作方式如下:
(1)第二终端运行第一终端扫描模块,查找到第一终端;
(2)第一终端扫描模块将查找到的第一终端的地址信息传递至第二终端的远程登录模块;
(3)第二终端的远程登录模块向第一终端的远程终端管理模块发起登陆请求,其中,该登陆请求中携带有第二终端的信息;
(4)远程终端管理模块进行终端认证,并在认证通过后为该终端启动远程终端虚拟机;
(5)远程终端虚拟机将图像和声音输出至编码器;
(6)编码器将图像和声音编码成媒体流发送至数字媒体服务器,数字媒体服务器向远程终端返回媒体流播放URL;
(7)数字媒体播放器向数字媒体服务器发起播放请求,开始播放,图像和声音输出到显示设备;
(8)用户触发控制事件;
(9)远程事件发送器将接收到的控制事件发送至第一终端;
(10)远程事件处理器在接收到控制事件之后,发送至远程终端虚拟机,由远程终端虚拟机响应该控制事件,进入(5),用户可以从显示设备上看到对控制事件的响应(例如:焦点移动、应用选择)。
从以上的描述中,可以看出,上述实施例实现了如下技术效果(需要说明的是这些效果是某些优选实施例可以达到的效果):采用本发明实施例所提供的技术方案,通过数字生活网络联盟(DLNA)将第一终端与第二终端进行连接,第二终端可以通过UPnP检测到第一终端,并通过远程登陆模块向第一终端的远程终端管理模块发起登陆请求。在认证通过后第一终端启动远程终端虚拟机,其输出的图像和声音由编码器进行编码处理后发送至数字媒体服务器,并向第二终端返回媒体流播放URL。第二终端的数字媒体播放器播放媒体流,图像和声音输出到显示设备。用户触发控制事件,第二终端在接收到控制事件后,由远程事件发送器发送至第一终端,由第一终端的远程事件处理器接收后在该用户的远程终端虚拟机进行响应,由此实现第一终端为第二终端提供智能系统应用程序的功能,进而可以通过DLNA将第一终端和第二终端进行连接,第二终端随之便可以使用第一终端上安装的应用程序,并且第二终端无需具备很强的硬件处理能力,而只需要具备基本的解码播放能力即可,从而可以提高设备利用率,激发用户购买第一终端的意愿。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
如上所述,本发明实施例提供的一种终端上应用程序的推送、获取方法及装置具有以下有益效果:能够简单、有效地实现在家庭局域网内通过DLNA在缺乏应用程序安装能力或者尚未安装此类应用程序的终端上使用智能系统应用程序。
Claims (12)
- 一种终端上应用程序的推送方法,包括:第一终端接收来自于第二终端的登陆请求,其中,所述登陆请求用于所述第二终端请求使用在所述第一终端上安装的应用程序;所述第一终端根据所述登陆请求向所述第二终端发送与所述应用程序对应的多媒体数据流。
- 根据权利要求1所述的方法,其中,在所述第一终端接收来自于所述第二终端的所述登陆请求之后,还包括:所述第一终端对所述第二终端进行认证,判断在所述第一终端上是否存储有与所述第二终端对应的标识信息;如果否,则所述第一终端添加所述标识信息并为所述第二终端分配所述应用程序以及配置使用所述应用程序的时间段和时长;如果是,则所述第一终端确定对所述应用程序的限制条件。
- 根据权利要求1所述的方法,其中,所述第一终端根据所述登陆请求发送所述多媒体数据流包括:所述第一终端在对所述登陆请求校验通过的情况下,启动虚拟机并将所述应用程序复制到所述虚拟机,其中,所述虚拟机用于输出所述多媒体数据流;所述第一终端对所述多媒体数据流进行编码处理,并向所述第二终端返回播放所述多媒体数据流的统一资源定位符URL,其中,所述URL用于所述第二终端获取所述多媒体数据流。
- 一种终端上应用程序的获取方法,包括:第二终端向第一终端发起登陆请求,其中,所述登陆请求用于所述第二终端请求使用在所述第一终端上安装的应用程序;所述第二终端接收所述第一终端根据所述登陆请求返回的与所述应用程序对应的多媒体数据流。
- 根据权利要求4所述的方法,其中,所述第二终端接收所述第一终端根据所述登陆请求返回的所述多媒体数据流包括:所述第二终端接收所述第一终端根据所述登陆请求返回的播放所述多媒体数据流的统一资源定位符URL;所述第二终端根据所述URL向所述第一终端获取所述多媒体数据流。
- 根据权利要求4所述的方法,其中,在所述第二终端接收所述第一终端根据所述登陆请求返回的所述多媒体数据流之后,还包括:所述第二终端响应用户触发的控制事件;所述第二终端将所述控制事件发送至所述第一终端并接收所述第一终端对所述控制事件的响应。
- 一种终端上应用程序的推送装置,包括:接收模块,设置为接收来自于第二终端的登陆请求,其中,所述登陆请求用于所述第二终端请求使用在第一终端上安装的应用程序;推送模块,设置为根据所述登陆请求向所述第二终端发送与所述应用程序对应的多媒体数据流。
- 根据权利要求7所述的装置,其中,所述装置还包括:判断模块,设置为对所述第二终端进行认证,判断在所述第一终端上是否存储有与所述第二终端对应的标识信息;第一执行模块,设置为在所述判断模块输出为否时,添加所述标识信息并为所述第二终端分配所述应用程序以及配置使用所述应用程序的时间段和时长;第二执行模块,设置为在所述判断模块输出为是时,确定对所述应用程序的限制条件。
- 根据权利要求7所述的装置,其中,所述推送模块包括:启动单元,设置为在对所述登陆请求校验通过的情况下,启动虚拟机并将所述应用程序复制到所述虚拟机,其中,所述虚拟机用于输出所述多媒体数据流;返回单元,设置为对所述多媒体数据流进行编码处理,并向所述第二终端返回播放所述多媒体数据流的统一资源定位符URL,其中,所述URL用于所述第二终端获取所述多媒体数据流。
- 一种终端上应用程序的获取装置,包括:发起模块,设置为向第一终端发起登陆请求,其中,所述登陆请求用于第二终端请求使用在所述第一终端上安装的应用程序;接收模块,设置为接收所述第一终端根据所述登陆请求返回的与所述应用程 序对应的多媒体数据流。
- 根据权利要求10所述的装置,其中,所述接收模块包括:接收单元,设置为接收所述第一终端根据所述登陆请求返回的播放所述多媒体数据流的统一资源定位符URL;获取单元,设置为根据所述URL向所述第一终端获取所述多媒体数据流。
- 根据权利要求10所述的装置,其中,所述装置还包括:响应模块,设置为响应用户触发的控制事件;处理模块,设置为将所述控制事件发送至所述第一终端并接收所述第一终端对所述控制事件的响应。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510037239.0 | 2015-01-23 | ||
CN201510037239.0A CN105871965B (zh) | 2015-01-23 | 2015-01-23 | 终端上应用程序的推送、获取方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016115915A1 true WO2016115915A1 (zh) | 2016-07-28 |
Family
ID=56416383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/090041 WO2016115915A1 (zh) | 2015-01-23 | 2015-09-18 | 终端上应用程序的推送、获取方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105871965B (zh) |
WO (1) | WO2016115915A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107493296A (zh) * | 2017-09-07 | 2017-12-19 | 西安万像电子科技有限公司 | 服务处理方法、终端及服务器 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547394A (zh) * | 2011-12-27 | 2012-07-04 | 福建升腾资讯有限公司 | Vdi环境下云接入设备通用的音视频重定向方法 |
CN103997410A (zh) * | 2014-05-23 | 2014-08-20 | 北京鸿达以太文化发展有限公司 | 面向移动终端的多媒体数据虚拟直播系统和方法 |
-
2015
- 2015-01-23 CN CN201510037239.0A patent/CN105871965B/zh active Active
- 2015-09-18 WO PCT/CN2015/090041 patent/WO2016115915A1/zh active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102547394A (zh) * | 2011-12-27 | 2012-07-04 | 福建升腾资讯有限公司 | Vdi环境下云接入设备通用的音视频重定向方法 |
CN103997410A (zh) * | 2014-05-23 | 2014-08-20 | 北京鸿达以太文化发展有限公司 | 面向移动终端的多媒体数据虚拟直播系统和方法 |
Also Published As
Publication number | Publication date |
---|---|
CN105871965A (zh) | 2016-08-17 |
CN105871965B (zh) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6396005B2 (ja) | アプリケーションを発見する方法 | |
WO2018161807A1 (zh) | 用户身份校验方法及装置 | |
JP2019207710A (ja) | スマート音声機器間のインタラクション方法、装置、機器及び記憶媒体 | |
WO2018196733A1 (zh) | 数据分享方法及装置、存储介质和电子装置 | |
CN106685947B (zh) | 一种智能电视私有云设备的访问方法及系统 | |
WO2016202200A1 (zh) | 数据校验方法、装置和智能电视系统 | |
JP2013041408A (ja) | 情報処理装置、リソース提供装置および情報処理システム | |
CN102833365A (zh) | 基于dlna的文件播放方法及系统、主、从dlan设备 | |
CN111643889A (zh) | 一种游戏控制方法、装置、存储介质和电子设备 | |
JP7048557B2 (ja) | 音声デバイス用のネットワーク接続方法、装置及び記憶媒体 | |
US20110196915A1 (en) | Method and apparatus for using service of home network device based on remote access | |
CN112188277B (zh) | 投屏控制方法、装置、电子设备和计算机程序介质 | |
US20060206561A1 (en) | Personal multimedia on-line broadcasting system and method thereof | |
WO2015101303A1 (zh) | 频道处理方法和装置 | |
CN113612861B (zh) | 远程访问方法、系统及计算机可读存储介质 | |
CN112584200B (zh) | 投屏方法、系统、电子设备及存储介质 | |
CN113926185A (zh) | 一种数据处理方法、装置、设备及存储介质 | |
US9807450B2 (en) | Apparatus and method for media play in home network | |
CN103648056A (zh) | 一种智能电视的点对点传输方法和装置 | |
CN116261021B (zh) | 一种视频流播放方法、装置、电子设备及存储介质 | |
WO2016115915A1 (zh) | 终端上应用程序的推送、获取方法及装置 | |
WO2015081716A1 (zh) | 一种应用服务提供方法、系统及相关设备 | |
US20100088732A1 (en) | Method and apparatus for using service based on objects for implementing different functions of service | |
CN108965939B (zh) | 媒体数据处理方法、装置、系统及可读存储介质 | |
CN114338383B (zh) | 一种视频设备简化配置方法及系统 |
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: 15878584 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: 15878584 Country of ref document: EP Kind code of ref document: A1 |