WO2018107461A1 - 用于投影的方法、装置、系统及电子设备 - Google Patents

用于投影的方法、装置、系统及电子设备 Download PDF

Info

Publication number
WO2018107461A1
WO2018107461A1 PCT/CN2016/110318 CN2016110318W WO2018107461A1 WO 2018107461 A1 WO2018107461 A1 WO 2018107461A1 CN 2016110318 W CN2016110318 W CN 2016110318W WO 2018107461 A1 WO2018107461 A1 WO 2018107461A1
Authority
WO
WIPO (PCT)
Prior art keywords
projection
request
access point
projection device
wireless access
Prior art date
Application number
PCT/CN2016/110318
Other languages
English (en)
French (fr)
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 深圳前海达闼云端智能科技有限公司
Priority to PCT/CN2016/110318 priority Critical patent/WO2018107461A1/zh
Priority to CN201680002689.9A priority patent/CN107079383B/zh
Publication of WO2018107461A1 publication Critical patent/WO2018107461A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]

Definitions

  • Embodiments of the present disclosure relate to the field of electronic technologies, and in particular, to a method, an apparatus, a system, and an electronic device for projection.
  • the projection device needs to be manually connected through the hardware interface. If the projection device is connected via wireless WiFi or Bluetooth, the user needs to manually search for a projection device supporting WiFi or Bluetooth connection and manually input a verification code or password to complete and project. The device's authentication connection works, which makes the preparation work before projection more cumbersome.
  • Embodiments of the present disclosure provide a method, apparatus, system, and electronic device for projection, which are mainly used to reduce the difficulty of projection preparation work.
  • a method for projection comprising: at a terminal,
  • the projection request including information for requesting access by the projection device and access authentication information of the wireless access point;
  • the content to be projected is transmitted to the projection device via the established communication connection.
  • the sending the projection request comprises: sending the projection request by means of a broadcast.
  • An embodiment of the present disclosure also provides an apparatus for projection, the apparatus comprising: at a terminal,
  • a wireless access point establishing module configured to establish a wireless access point after monitoring that the projection needs to be performed
  • a projection request sending module configured to send a projection request, where the projection request includes information for requesting access by the projection device and access authentication information of the wireless access point;
  • a communication connection establishing module configured to establish a communication connection between the projection device and the wireless access point when receiving a connection request sent by the projection device and the connection request includes the access authentication information
  • a projection content transmission module configured to transmit content to be projected to the projection device through the established communication connection.
  • the projection request sending module sends the projection request by means of a broadcast.
  • Embodiments of the present disclosure also provide a method for projection, the method comprising: at a projection device,
  • the projection request including information for requesting access by the projection device and access authentication information of the wireless access point;
  • connection request includes the access authentication information
  • the projection request is sent by the wireless access point by way of broadcast.
  • An embodiment of the present disclosure also provides an apparatus for projection, the apparatus comprising: at a projection device,
  • a projection request receiving module configured to receive a projection request, where the projection request includes information for requesting access by the projection device and access authentication information of the wireless access point;
  • connection request sending module configured to send a connection request to the wireless access point, where the connection request includes the access authentication information
  • a projection module configured to receive and project the content to be projected through the communication connection after establishing a communication connection with the wireless access point based on the connection request.
  • the projection request is sent by the wireless access point by way of broadcast.
  • Embodiments of the present disclosure also provide a method for projection, the method comprising:
  • the terminal establishing a wireless access point after monitoring that projection is required, and transmitting a projection request to the server, the projection request including information for requesting access of the projection device and access authentication information of the wireless access point ;
  • At the server receiving the projection request, looking up an available projection device and forwarding the projection request to the found available projection device;
  • the terminal when receiving a connection request sent by the projection device and the connection request includes the access authentication information, establish a communication connection between the projection device and the wireless access point, and pass the Establishing a communication connection to transmit content to be projected to the projection device;
  • the projection device After establishing a communication connection with the wireless access point based on the connection request, content to be projected is received through the communication connection and projected.
  • the method further includes:
  • the information including the verification code is captured to confirm the presence of an available projection device for projection.
  • the information including the verification code is one of screen display information including the verification code, radio information including the verification code, and voice information including the verification code.
  • Embodiments of the present disclosure also provide a system for projection, the system comprising:
  • a terminal module configured to establish a wireless access point after detecting that the projection needs to be performed, and send a projection request to the server, where the projection request includes information for requesting access of the projection device and the wireless access Point access authentication information;
  • a server module configured to receive the projection request, find an available projection device, and forward the projection request to the found available projection device;
  • a module at the projection device configured to receive the projection request forwarded by the module at the server, and send a connection request to the wireless access point, where the connection request includes the access authentication information
  • the terminal module is further configured to establish communication between the projection device and the wireless access point when receiving a connection request sent by the module at the projection device and the connection request includes the access authentication information Connecting and transmitting content to be projected to the projection device through the established communication connection;
  • the module at the projection device is further configured to receive and project a content to be projected through the communication connection after establishing a communication connection with the wireless access point based on the connection request.
  • the terminal module is further configured to send a verification code to the module at the server; the server module is further configured to forward the verification code to the found available projection device; the projection device a module, configured to receive the verification code forwarded by the module at the server and send information including the verification code; the terminal module is further configured to capture the information including the verification code to confirm There are available projection devices for projection.
  • the information including the verification code is one of screen display information including the verification code, radio information including the verification code, and voice information including the verification code.
  • Embodiments of the present disclosure also provide a computer program product comprising a computer program executable by a programmable device, the computer program having a means for performing for projection when executed by the programmable device The code part of the method.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium including one or more programs for performing the The method of projection.
  • An embodiment of the present disclosure further provides an electronic device, comprising: the non-transitory computer readable storage medium described above; and one or more processors for performing the non-transitory A program in a computer readable storage medium.
  • the communication connection between the projection device and the wireless access point is a projection request for transmitting the access authentication information including the wireless access point by the terminal, and then receiving the access authentication information transmitted by the projection device at the terminal
  • the connection request is automatically established, so it does not need to manually connect the projection device as in the prior art, so that the tedious work before the projection preparation can be avoided.
  • FIG. 1 is a flow chart of a method for projection in accordance with an embodiment of the present disclosure.
  • FIG. 2 is a schematic block diagram of an apparatus for projection, in accordance with an embodiment of the present disclosure.
  • FIG. 3 is a flow chart of a method for projection in accordance with yet another embodiment of the present disclosure.
  • FIG. 4 is a schematic block diagram of an apparatus for projection in accordance with yet another embodiment of the present disclosure.
  • FIG. 5 is a flowchart of a method for projection according to still another embodiment of the present disclosure.
  • FIG. 6 is a schematic block diagram of a system for projection, in accordance with an embodiment of the present disclosure.
  • FIG. 7 is a schematic block diagram of an apparatus for projection according to still another embodiment of the present disclosure.
  • a method for projection which can be applied to various terminal devices that need to be projected, which can be terminal devices using any operating system, such as an Android system, Apple Any one of the system and the Windows system.
  • these terminal devices may also be various types of terminal devices, such as a robot, a mobile phone, a tablet computer, a portable computer, a desktop computer, and the like.
  • these terminal devices may or may not have a display. That is to say, the embodiment of the present disclosure does not limit the type of the terminal device.
  • the method for projection according to this embodiment may include the following steps S101 to S104, that is, at the terminal:
  • step S101 after monitoring that the projection needs to be performed, establishing a wireless access point
  • step S102 a projection request is sent, where the projection request includes information for requesting access by the projection device and access authentication information of the wireless access point;
  • step S103 when receiving a connection request sent by the projection device and the connection request includes the access authentication information, establishing a communication connection between the projection device and the wireless access point;
  • step S104 the content to be projected is transmitted to the projection device through the established communication connection.
  • the communication connection between the projection device and the wireless access point is a projection request for transmitting the access authentication information including the wireless access point by the terminal, and then receiving the access authentication information transmitted by the projection device at the terminal
  • the connection request is automatically established, so it does not need to manually connect the projection device as in the prior art, so that the tedious work before the projection preparation can be avoided.
  • the projection request sent in step S102 may further include information such as a current location of the terminal device, a decoding capability requirement of the projection device, a decryption capability requirement of the projection device, and the like, so as to be matched by the matching projection device.
  • the projection request sent by the terminal device responds.
  • the sending the projection request in step S102 may include: transmitting the projection request by means of a broadcast.
  • the terminal device that needs to be projected can A projection device that broadcasts its projection requirements so that it receives the projection needs can respond.
  • the transmitting the content to be projected to the projection device through the established communication connection in step S104 may be completed by using a real-time streaming protocol.
  • the point-to-point communication between the projection device and the terminal device not only effectively ensures the security of the data transmission, but also ensures the low latency of the streaming transmission.
  • the terminal device may start a Real Time Streaming Protocol (RTSP) streaming service and send the access address of the RTSP streaming service to the projection device via the established communication connection. Then, the projection device creates a streaming media session through the RTSP, and sends an RTSP description request to the terminal device. After the terminal device receives the RTSP description request, the encoding algorithm and the encoding parameter of the content to be projected are sent to the projection device through the established communication connection.
  • the encryption algorithm and the decryption key used for real-time stream encryption transmission, wherein the decryption algorithm and the decryption key can be transmitted through a Session Description Protocol (SDP) carried by the RTSP.
  • SDP Session Description Protocol
  • the projection device transmits an RTSP establishment request to the terminal device through the established communication connection, and the RTSP establishment request includes a transmission mode and a reception address of the real-time stream. Then, the projection device sends an RTSP play request to the terminal device through the established communication connection, and after the terminal device receives the RTSP play request, the content to be projected is encrypted and transmitted to the projection device through the established communication connection, wherein the content can be The Secure Real Time Transport Protocol (SRTP) is used to encrypt the content to be projected.
  • SRTP Secure Real Time Transport Protocol
  • the method according to the embodiment may further include: receiving, by the established communication connection, an RTSP stop request sent by the projection device; stopping receiving the established communication after receiving the RTSP stop request
  • the connection transmits the content to be projected to the projection device in real time stream.
  • the apparatus may include the following modules, that is, at the terminal:
  • a wireless access point establishing module 201 configured to establish a wireless access point after monitoring that the projection needs to be performed
  • a projection request sending module 202 configured to send a projection request, where the projection request includes information for requesting access by the projection device and access authentication information of the wireless access point;
  • a communication connection establishing module 203 configured to establish a communication connection between the projection device and the wireless access point when receiving a connection request sent by the projection device and the connection request includes the access authentication information
  • the projection content transmission module 204 is configured to transmit content to be projected to the projection device through the established communication connection.
  • the communication connection between the projection device and the wireless access point is a projection request for transmitting the access authentication information including the wireless access point through the projection request transmitting module 202 and then receiving the projection at the communication connection establishing module 203
  • the connection request sent by the device including the access authentication information is automatically established by the communication connection establishing module 203, so that it does not need to manually connect the projection device manually as in the prior art, and thus the tedious work before the projection preparation can be avoided.
  • the projection request sent by the projection request sending module 202 may further include information such as a current location of the terminal device, a decoding capability of the projection device, a decryption capability requirement of the projection device, and the like, so as to be matched by the required projection.
  • the device responds to the projection request sent by the projection request sending module 202.
  • the projection request sending module 202 may send the projection request by means of a broadcast.
  • the terminal device that needs to be projected can broadcast its projection requirements so that the projection device receiving the projection demand can respond.
  • a method for projection is provided, which method can be applied to a projection device.
  • the method according to this embodiment may include the following steps S301 to S303, that is, at the projection device:
  • step S301 a projection request is received, where the projection request includes information for requesting access by the projection device and access authentication information of the wireless access point;
  • step S302 a connection request is sent to the wireless access point, where the connection request includes the access authentication information
  • step S303 after establishing a communication connection with the wireless access point based on the connection request, content to be projected is received through the communication connection and projected.
  • the communication connection between the projection device and the wireless access point is a projection request that receives the access authentication information including the wireless access point through the projection device and then transmits a connection request including the access authentication information, the connection is automatically established. Therefore, it is not necessary to manually connect the projection device manually as in the prior art, and thus it is possible to avoid the tedious work before the projection preparation.
  • the projection request received in step S301 may further include information such as a current location of the terminal device, a decoding capability requirement of the projection device, a decryption capability requirement of the projection device, and the like, such that the projection device that receives the projection request is Ability to determine if they meet the projection requirements and respond to the received projection request when the projection requirements are met.
  • the projection request is sent by the wireless access point by way of broadcast.
  • the terminal device that needs to be projected can broadcast its projection requirements so that the projection device receiving the projection demand can respond.
  • an apparatus for projection the apparatus being applicable to a projection apparatus, as shown in FIG. 4, the apparatus may include:
  • the projection request receiving module 401 is configured to receive a projection request, where the projection request includes information for requesting access by the projection device and access authentication information of the wireless access point;
  • connection request sending module 402 configured to send a connection request to the wireless access point, where the connection request includes the access authentication information
  • the projection module 403 is configured to receive and project the content to be projected through the communication connection after establishing a communication connection with the wireless access point based on the connection request.
  • the communication connection between the projection device and the wireless access point is a projection request for receiving the access authentication information including the wireless access point through the projection request receiving module 401 and then transmitted by the connection request sending module 402,
  • the connection request for the authentication information is automatically established, so that it is not necessary to manually connect the projection device manually as in the prior art, so that the troublesome work before the projection preparation can be avoided.
  • the projection request received by the projection request receiving module 401 may further include information such as a current location of the terminal device, a projection device decoding capability requirement, a projection device decryption capability requirement, and the like, such that the projection of the projection request is received.
  • the device is able to determine if it meets the projection requirements and responds to the received projection request when it meets the projection requirements.
  • the projection request is sent by the wireless access point by way of broadcast.
  • the terminal device that needs to be projected can broadcast its projection requirements so that the projection device receiving the projection demand can respond.
  • the projection module 403 receives the content to be projected through the established communication connection and performs projection has been described in detail in the first embodiment according to the present disclosure, and details are not described herein again.
  • a method for projection which method can be applied to a system including a terminal device, a server, and a projection device, as shown in FIG. 5, the method may include The following steps S501 to S505.
  • step S501 at the terminal, establishing a wireless access point after monitoring that projection is required, and transmitting a projection request to the server, the projection request including information for requesting access of the projection device and the wireless access point Access authentication information;
  • step S502 at the server, receiving the projection request, searching for available projection devices, and forwarding the projection request to the found available projection device;
  • step S503 at the projection device, receiving the projection request forwarded by the server, and sending a connection request to the wireless access point, where the connection request includes the access authentication information;
  • step S504 at the terminal, when receiving a connection request sent by the projection device and the connection request includes the access authentication information, establishing communication between the projection device and the wireless access point Connecting and transmitting content to be projected to the projection device through the established communication connection;
  • step S505 at the projection device, after establishing a communication connection with the wireless access point based on the connection request, content to be projected is received through the communication connection and projected.
  • the projection request sent in step S501 may further include information such as a current location of the terminal device, a decoding capability requirement of the projection device, a decryption capability requirement of the projection device, and the like, so that the server can receive the projection request after receiving the projection request.
  • the terminal device establishes a communication connection.
  • the cloud server can be based on a virtual private network (Virtual Private Network, VPN) technology implements a secure private network to maintain communication with terminal devices and projection devices to grasp information about terminal devices and projection devices, such as the current location of the terminal device, the projection request of the terminal device, and the projection requirements of the terminal device (eg, projection device The decoding capability, decryption capability, etc.), the current state of the projection device (idle or projection in use), the projection capability of the projection device (eg, decoding capability, decryption capability, supported audio and video formats, etc.).
  • VPN Virtual Private Network
  • the server can find the projection device that meets its projection requirements for the terminal device, and can effectively ensure that the unauthenticated control command on the public network is not executed.
  • the server can also communicate with the terminal device and the projection device through a wireless communication network such as GSM, CDMA, LTE, or the like.
  • the server may receive the projection request of multiple terminal devices at the same time, the server may process the received multiple projection requests through the internal message queue or the internal interface, and through the internal message queue or internal interface. The form forwards the projection request to the required projection device, thus smoothing the real-time pressure of the server.
  • the method according to the embodiment may further include: sending, at the terminal, a verification code to the server; and at the server, forwarding the verification code to the found available a projection device, at the projection device, receiving the verification code forwarded by the server and transmitting information including the verification code; at the terminal, capturing the information including the verification code to confirm presence Available projection devices are used for projection.
  • the terminal device can effectively confirm whether there is an available projection device for projection. If these steps occur before the establishment of the wireless access point at the terminal device, then the terminal device can establish the wireless access point only if it is confirmed that the available projection device is available, thereby improving the efficiency of the terminal device.
  • the verification code described above may include various forms such as a two-dimensional code, a barcode, a voice, a text, and the like.
  • the information including the verification code sent at the projection device may be used as screen display information including the verification code (in this case, the terminal device may identify the screen by visual recognition technology) Curtain display information), radio information including the verification code (in this case, the terminal device can verify whether there is an available projection device by receiving the radio information and matching) and voice information including the verification code ( In this case, the terminal device may identify one of the voice information sent by the projection device including the verification code transmitted by the projection device by using a voice recognition technology.
  • the projection end request may be sent to the server through the secure private network between the terminal device and the server, and then the server forwards the projection end request to the projection device, and then After receiving the projection end request, the projection device can end the projection, disconnect the communication connection with the terminal device, and return to the interface before projection or the main interface of the screen.
  • control signaling such as a projection request
  • a projection end request is forwarded between the terminal device and the projection device by the server, and regarding the content to be projected.
  • the media stream is transmitted through a communication connection between the terminal device and the projection device, which can improve the efficiency of projection.
  • a system for projection is provided, as shown in FIG. 6, the system may include:
  • a terminal module 601 configured to establish a wireless access point after the terminal needs to be monitored, and send a projection request to the server, where the projection request includes information for requesting access of the projection device and the wireless connection Access authentication information of the entry point;
  • a server module 602 configured to receive the projection request, find an available projection device, and forward the projection request to the found available projection device;
  • the projection device module 603 is configured to receive the projection request forwarded by the module 602 at the server, and send a connection request to the wireless access point, where the connection request includes the access authentication information;
  • the terminal module 601 is further configured to: when receiving the connection request sent by the module 603 at the projection device, and the connection request includes the access authentication information, establishing the projection device and the Determining a communication connection of the wireless access point and transmitting the content to be projected to the projection device through the established communication connection;
  • the module 603 at the projection device is further configured to receive and project the content to be projected through the communication connection after establishing a communication connection with the wireless access point based on the connection request.
  • the projection request sent by the module 601 at the terminal may further include information such as a current location of the terminal device, a decoding capability requirement of the projection device, a decryption capability requirement of the projection device, and the like, so that the server module 602 receives the projection.
  • the terminal device can find the projection device that meets its projection requirements, and then forward the projection request to the found projection device, so that the found projection device can utilize the access authentication included in the received projection request.
  • the server module 602 can maintain communication with the terminal module 601 and the projector device module 603 through a secure private network implemented based on a virtual private network (VPN) technology to grasp information of the terminal device and the projection device.
  • VPN virtual private network
  • the current location of the terminal device, the projection request of the terminal device, the projection requirements of the terminal device such as the decoding capability of the projection device, the decryption capability, etc.
  • the current state of the projection device free or in use
  • the projection capability of the projection device eg, decoding capabilities, decryption capabilities, supported audio and video formats, etc.
  • the server module 602 can find the projection device that meets its projection requirements for the terminal device, and can effectively ensure that the unauthenticated control command on the public network is not executed.
  • the server module 602 can also communicate with the terminal module 601 and the projection device module 603 through a wireless communication network such as GSM, CDMA, LTE, or the like.
  • the server module 602 can process the received multiple projection requests through an internal message queue or an internal interface, and forward the projection request to the qualified projection device through an internal message queue or an internal interface. This will smooth the real-time pressure of the module 602 at the server.
  • the terminal module 601 is further configured to send a verification code to the server module 602.
  • the server module 602 is further configured to forward the verification code to the found one.
  • a projection device is provided; the module 603 is further configured to receive the verification code forwarded by the module 602 at the server and send information including the verification code; the terminal module 601 is further configured to capture
  • the information including the verification code is described to confirm that there is an available projection device for projection. In this way, the terminal device can effectively confirm whether there is an available projection device for projection. If these operations occur before the establishment of the wireless access point at the terminal device, the terminal device can establish the wireless access point only if it is confirmed that the projection device is available, thereby improving the efficiency of the terminal device.
  • the verification code described above may include various forms such as a two-dimensional code, a barcode, a voice, a text, and the like.
  • the information including the verification code sent by the module 603 at the projection device may be used as screen display information including the verification code (in this case, the terminal device may identify the screen display information by visual recognition technology), including Radio information of the verification code (in this case, the terminal device can verify whether there is an available projection device by receiving the radio information and matching) and voice information including the verification code (in this case, the terminal The device may identify one of the voice messages sent by the projection device including the verification code sent by the voice recognition technology.
  • the projection end request may be sent to the server module 602 through the secure private network between the terminal module 601 and the server module 602, and then the server module 602 Forwarding the projection end request to the projection device
  • the module 603 at the projection device can end the projection, disconnect the communication connection with the module 601 at the terminal, and return to the interface before the projection or the main interface of the screen after receiving the projection end request.
  • control signaling such as a projection request
  • a projection end request is forwarded between the terminal module 601 and the projection device module 603 through the server module 602.
  • the media stream about the content to be projected is transmitted through the communication connection between the module 601 at the terminal and the module 603 at the projection device, which can improve the efficiency of projection.
  • FIG. 7 is a block diagram of an apparatus 500 for projection, which may be an electronic device, according to an exemplary embodiment.
  • the apparatus 500 can include a processor 501, a memory 502, a multimedia component 503, an input/output (I/O) interface 504, and a communication component 505.
  • the processor 501 is configured to control the overall operation of the apparatus 500 to perform all or part of the above steps for projection.
  • Memory 502 is used to store various types of data to support operations at the device 500, such as may include instructions for any application or method operating on the device 500, as well as application related data, such as Contact data, sent and received messages, pictures, audio, video, and more.
  • the memory 502 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read Only Read-Only Memory (ROM), magnetic memory, flash memory, disk or optical disk.
  • the multimedia component 503 can include a screen and audio components.
  • the screen may be, for example, a touch screen, and the audio component is used to output and/or input an audio signal.
  • the audio component can include a microphone for receiving an external audio signal.
  • the received audio signal can It is further stored in the memory 502 or transmitted through the communication component 505.
  • the audio component also includes at least one speaker for outputting an audio signal.
  • the I/O interface 504 provides an interface between the processor 501 and other interface modules, such as a keyboard, a mouse, a button, and the like. These buttons can be virtual buttons or physical buttons.
  • Communication component 505 is used for wired or wireless communication between the device 500 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 505 can include: Wi-Fi module, Bluetooth module, NFC module.
  • the device 500 may be configured by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), and digital signal processing devices (Digital Signal Processors).
  • ASICs Application Specific Integrated Circuits
  • DSPs Digital Signal Processors
  • Digital Signal Processors Digital Signal Processors
  • DSPD Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller
  • microprocessor or other electronic components For performing the above method for projection.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 502 comprising instructions executable by processor 501 of apparatus 500 to perform the above-described electronics The method of control of the device.
  • the non-transitory computer readable storage medium can be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a computer program product comprising a computer program executable by a programmable device, the computer program having when executed by the programmable device The code portion of the method for projection described is performed.
  • a non-transitory computer readable storage medium includes one or more programs for performing the method for projection.
  • an electronic device comprising: the non-transitory computer readable storage medium described above; and one or more processors for executing the non-transitory computer Read the program in the storage medium.

Abstract

一种用于投影的方法、装置和系统以及电子设备,属于电子技术领域,能够避免投影前的繁琐工作,该方法包括:在终端处,在监测到需要进行投影后,建立无线接入点(S101);发送投影请求,该投影请求包括用于请求投影设备接入的信息和该无线接入点的接入认证信息(S102);在接收到投影设备发送的连接请求且该连接请求包括该接入认证信息时,建立该投影设备与该无线接入点的通信连接(S103);通过所建立的通信连接向该投影设备传输要被投影的内容(S104)。

Description

用于投影的方法、装置、系统及电子设备 技术领域
本公开实施例涉及电子技术领域,具体地,涉及一种用于投影的方法、装置、系统及电子设备。
背景技术
目前,如果需要投影,则需要通过硬件接口手动连接投影设备,如果是通过无线WiFi或蓝牙连接投影设备,则需要用户手动搜索支持WiFi或蓝牙连接的投影设备并手动输入验证码或密码完成与投影设备的认证连接工作,这使得投影之前的准备工作较为繁琐。
发明内容
本公开实施例提供一种用于投影的方法、装置、系统及电子设备,主要用以降低投影准备工作的难度。
根据本公开实施例的一个方面,提供一种用于投影的方法,该方法包括:在终端处,
在监测到需要进行投影后,建立无线接入点;
发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
在接收到投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接;
通过所建立的通信连接向所述投影设备传输要被投影的内容。
可选地,所述发送投影请求包括:通过广播的方式发送所述投影请求。
本公开实施例还提供一种用于投影的装置,该装置包括:在终端处,
无线接入点建立模块,用于在监测到需要进行投影后,建立无线接入点;
投影请求发送模块,用于发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
通信连接建立模块,用于在接收到投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接;
投影内容传输模块,用于通过所建立的通信连接向所述投影设备传输要被投影的内容。
可选地,所述投影请求发送模块通过广播的方式发送所述投影请求。
本公开实施例还提供一种用于投影的方法,该方法包括:在投影设备处,
接收投影请求,所述投影请求包括用于请求投影设备接入的信息和无线接入点的接入认证信息;
向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
可选地,所述投影请求通过广播的方式被所述无线接入点发送。
本公开实施例还提供一种用于投影的装置,该装置包括:在投影设备处,
投影请求接收模块,用于接收投影请求,所述投影请求包括用于请求投影设备接入的信息和无线接入点的接入认证信息;
连接请求发送模块,用于向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
投影模块,用于在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
可选地,所述投影请求通过广播的方式被所述无线接入点发送。
本公开实施例还提供一种用于投影的方法,该方法包括:
在终端处,在监测到需要进行投影之后建立无线接入点,并向服务器发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
在服务器处,接收所述投影请求,查找可用的投影设备并向查找到的可用投影设备转发所述投影请求;
在投影设备处,接收所述服务器转发的所述投影请求,并向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
在所述终端处,在接收到所述投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接,并通过所建立的通信连接向所述投影设备传输要被投影的内容;
在所述投影设备处,在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
可选地,该方法还包括:
在所述终端处,向所述服务器发送验证码;
在所述服务器处,将所述验证码转发给查找到的可用投影设备;
在所述投影设备处,接收所述服务器转发的所述验证码并发出包括所述验证码的信息;
在所述终端处,捕获所述包括所述验证码的信息,以确认存在可用的投影设备用于投影。
可选地,所述包括所述验证码的信息为包括所述验证码的屏幕显示信息、包括所述验证码的无线电信息和包括所述验证码的语音信息中的一者。
本公开实施例还提供一种用于投影的系统,该系统包括:
终端处模块,用于在所述终端处监测到需要进行投影之后建立无线接入点,并向服务器发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
服务器处模块,用于接收所述投影请求,查找可用的投影设备并向查找到的可用投影设备转发所述投影请求;
投影设备处模块,用于接收所述服务器处模块转发的所述投影请求,并向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
所述终端处模块,还用于在接收到所述投影设备处模块发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接,并通过所建立的通信连接向所述投影设备传输要被投影的内容;
所述投影设备处模块,还用于在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
可选地,所述终端处模块,还用于向所述服务器处模块发送验证码;所述服务器处模块,还用于将所述验证码转发给查找到的可用投影设备;所述投影设备处模块,还用于接收所述服务器处模块转发的所述验证码并发出包括所述验证码的信息;所述终端处模块,还用于捕获所述包括所述验证码的信息,以确认存在可用的投影设备用于投影。
可选地,所述包括所述验证码的信息为包括所述验证码的屏幕显示信息、包括所述验证码的无线电信息和包括所述验证码的语音信息中的一者。
本公开实施例还提供一种计算机程序产品,所述计算机程序产品包含能够由可编程的装置执行的计算机程序,所述计算机程序具有当由所述可编程的装置执行时用于执行用于投影的方法的代码部分。
本公开实施例还提供一种非临时性计算机可读存储介质,所述非临时性计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行所述的用于投影的方法。
本公开实施例还提供一种电子设备,所述电子设备包括:上述的非临时性计算机可读存储介质;以及一个或者多个处理器,用于执行所述非临时性 计算机可读存储介质中的程序。
通过上述技术方案,由于投影设备与无线接入点之间的通信连接是通过终端发送包括无线接入点的接入认证信息的投影请求且然后在终端接收到投影设备发送的包括接入认证信息的连接请求时自动建立的,因此其不需要像现有技术那样人工手动连接投影设备,因此能够避免投影准备前的繁琐工作。
本公开实施例的其他特征和优点将在随后的具体实施方式部分予以详细说明
附图说明
附图是用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开实施例,但并不构成对本公开实施例的限制。在附图中:
图1是根据本公开一种实施例的用于投影的方法的流程图。
图2是根据本公开一种实施例的用于投影的装置的示意框图。
图3是根据本公开又一实施例的用于投影的方法的流程图。
图4是根据本公开又一实施例的用于投影的装置的示意框图。
图5是根据本公开又一实施例的用于投影的方法的流程图。
图6是根据本公开一种实施例的用于投影的系统的示意框图。
图7是根据本公开又一实施例的用于投影的装置的示意框图。
具体实施方式
以下结合附图对本公开实施例的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开实施例,并不用于限制本公开实施例。
根据本公开的第一实施例,提供一种用于投影的方法,该方法可以应用于需要进行投影的各种终端设备,这些终端设备可以是使用任何操作系统的终端设备,例如安卓系统、苹果系统、Windows系统中的任意一者。另外,这些终端设备也可以是各种类型的终端设备,例如,机器人、手机、平板电脑、便携式电脑、台式计算机等。另外,这些终端设备可以具有显示器,也可以不具有显示器。也就是说,本公开实施例对终端设备的类型不做限制。
如图1所示,根据该实施例的用于投影的方法可以包括以下步骤S101至S104,也即,在终端处:
在步骤S101中,在监测到需要进行投影后,建立无线接入点;
在步骤S102中,发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
在步骤S103中,在接收到投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接;
在步骤S104中,通过所建立的通信连接向所述投影设备传输要被投影的内容。
通过上述技术方案,由于投影设备与无线接入点之间的通信连接是通过终端发送包括无线接入点的接入认证信息的投影请求且然后在终端接收到投影设备发送的包括接入认证信息的连接请求时自动建立的,因此其不需要像现有技术那样人工手动连接投影设备,因此能够避免投影准备前的繁琐工作。
在一种可能的实施方式中,步骤S102中发送的投影请求中还可以包括所述终端设备的当前位置、投影设备解码能力要求、投影设备解密能力要求等信息,以便由符合要求的投影设备对终端设备发送的投影请求做出回应。
在一种可能的实施方式中,步骤S102中的所述发送投影请求可以包括:通过广播的方式发送所述投影请求。这样,需要进行投影的终端设备就能够 广播其投影需求,以便接收到投影需求的投影设备能够做出回应。
在一种可能的实施方式中,步骤S104中的所述通过所建立的通信连接向所述投影设备传输要被投影的内容,可以利用实时流传输协议来完成。这样,投影设备与终端设备之间通过点对点的方式进行通信,不仅有效保障了数据传输的安全性,还保障了流传输的低时延。
例如,终端设备可以启动实时流传输协议(Real Time Streaming Protocol,RTSP)流媒体服务,并将RTSP流媒体服务的访问地址经由所建立的通信连接发送给投影设备。然后,投影设备通过RTSP创建流媒体会话,向终端设备发送RTSP描述请求,在终端设备接收到RTSP描述请求之后,通过所建立的通信连接向投影设备发送要被投影的内容的编码算法、编码参数、实时流加密传输所使用的加密算法和解密密钥,其中解密算法及解密密钥可以通过RTSP携带的会话描述协议(Session Description Protocol,SDP)进行传递。然后,投影设备通过所建立的通信连接向终端设备发送RTSP建立请求,该RTSP建立请求包括实时流的传输方式和接收地址。然后,投影设备通过所建立的通信连接向终端设备发送RTSP播放请求,在终端设备接收到RTSP播放请求之后,通过所建立的通信连接向投影设备实时流加密传输要被投影的内容,其中可以通过安全实时传输协议(Secure Real Time Transport Protocol,SRTP)来加密传输要被投影的内容。
在一种可能的实施方式中,根据该实施例的方法还可以包括:通过所建立的通信连接接收投影设备发送的RTSP停止请求;在接收到所述RTSP停止请求之后,停止通过所建立的通信连接向投影设备实时流加密传输要被投影的内容。这样,在投影设备请求停止投影时,终端设备就能够及时地进行处理。
根据本公开的第二实施例,还提供一种用于投影的装置,该装置可以应 用于终端设备,其中已经在根据本公开的第一实施例中对终端设备进行了详细描述,此处不再赘述。如图2所示,该装置可以包括以下模块,也即,在终端处:
无线接入点建立模块201,用于在监测到需要进行投影后,建立无线接入点;
投影请求发送模块202,用于发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
通信连接建立模块203,用于在接收到投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接;
投影内容传输模块204,用于通过所建立的通信连接向所述投影设备传输要被投影的内容。
通过上述技术方案,由于投影设备与无线接入点之间的通信连接是通过投影请求发送模块202发送包括无线接入点的接入认证信息的投影请求且然后在通信连接建立模块203接收到投影设备发送的包括接入认证信息的连接请求时由通信连接建立模块203自动建立的,因此其不需要像现有技术那样人工手动连接投影设备,因此能够避免投影准备前的繁琐工作。
在一种可能的实施方式中,投影请求发送模块202发送的投影请求中还可以包括所述终端设备的当前位置、投影设备解码能力要求、投影设备解密能力要求等信息,以便由符合要求的投影设备对投影请求发送模块202发送的投影请求做出回应。
在一种可能的实施方式中,所述投影请求发送模块202可以通过广播的方式发送所述投影请求。这样,需要进行投影的终端设备就能够广播其投影需求,以便接收到投影需求的投影设备能够做出回应。
根据本公开第二实施例的用于投影的装置中各个模块做执行的操作的 具体实施方式已经在根据本公开第一实施例的用于投影的方法中进行了详细描述,此处不再赘述。
根据本公开的第三实施例,提供一种用于投影的方法,该方法可以应用于投影设备。如图3所示,根据该实施例的方法可以包括以下步骤S301至S303,也即,在投影设备处:
在步骤S301中,接收投影请求,所述投影请求包括用于请求投影设备接入的信息和无线接入点的接入认证信息;
在步骤S302中,向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
在步骤S303中,在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
通过上述技术方案,由于投影设备与无线接入点之间的通信连接是通过投影设备接收包括无线接入点的接入认证信息的投影请求且然后发送包括接入认证信息的连接请求时自动建立的,因此其不需要像现有技术那样人工手动连接投影设备,因此能够避免投影准备前的繁琐工作。
在一种可能的实施方式中,步骤S301中接收到的投影请求中还可以包括终端设备的当前位置、投影设备解码能力要求、投影设备解密能力要求等信息,这样接收到投影请求的投影设备就能够判断自己是否符合投影要求,并在符合投影要求时对接收到的投影请求做出回应。
在一种可能的实施方式中,所述投影请求通过广播的方式被所述无线接入点发送。这样,需要进行投影的终端设备就能够广播其投影需求,以便接收到投影需求的投影设备能够做出回应。
另外,投影设备如何通过所建立的通信连接接收要被投影的内容并进行投影已经在根据本公开的第一实施例中进行了详细描述,此处不再赘述。
根据本公开的第四实施例,提供一种用于投影的装置,该装置可以应用于投影设备,如图4所示,该装置可以包括:
投影请求接收模块401,用于接收投影请求,所述投影请求包括用于请求投影设备接入的信息和无线接入点的接入认证信息;
连接请求发送模块402,用于向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
投影模块403,用于在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
通过上述技术方案,由于投影设备与无线接入点之间的通信连接是通过投影请求接收模块401接收包括无线接入点的接入认证信息的投影请求且然后由连接请求发送模块402发送包括接入认证信息的连接请求而自动建立的,因此其不需要像现有技术那样人工手动连接投影设备,因此能够避免投影准备前的繁琐工作。
在一种可能的实施方式中,投影请求接收模块401接收到的投影请求中还可以包括终端设备的当前位置、投影设备解码能力要求、投影设备解密能力要求等信息,这样接收到投影请求的投影设备就能够判断自己是否符合投影要求,并在符合投影要求时对接收到的投影请求做出回应。
在一种可能的实施方式中,所述投影请求通过广播的方式被所述无线接入点发送。这样,需要进行投影的终端设备就能够广播其投影需求,以便接收到投影需求的投影设备能够做出回应。
另外,投影模块403如何通过所建立的通信连接接收要被投影的内容并进行投影已经在根据本公开的第一实施例中进行了详细描述,此处不再赘述。
根据本公开的第五实施例,提供一种用于投影的方法,该方法可以应用于包括终端设备、服务器和投影设备的系统,如图5所示,该方法可以包括 以下步骤S501至S505。
在步骤S501中,在终端处,在监测到需要进行投影之后建立无线接入点,并向服务器发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
在步骤S502中,在服务器处,接收所述投影请求,查找可用的投影设备并向查找到的可用投影设备转发所述投影请求;
在步骤S503中,在投影设备处,接收所述服务器转发的所述投影请求,并向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
在步骤S504中,在所述终端处,在接收到所述投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接,并通过所建立的通信连接向所述投影设备传输要被投影的内容;
在步骤S505中,在所述投影设备处,在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
通过上述技术方案,由于投影设备与作为无线接入点的终端设备之间的通信连接可以借助作为中继的服务器来完成,因此其不需要像现有技术那样人工手动连接投影设备,因此能够避免投影准备前的繁琐工作。
在一种可能的实施方式中,步骤S501中发送的投影请求中还可以包括终端设备的当前位置、投影设备解码能力要求、投影设备解密能力要求等信息,这样服务器在接收到投影请求之后就能够为终端设备查找到符合其投影要求的投影设备,并然后将投影请求转发给查找到的投影设备,这样查找到的投影设备就能够利用接收到的投影请求中包括的接入认证信息来请求与终端设备建立通信连接。
另外,云服务器可以通过基于虚拟专用网络(Virtual Private Network, VPN)技术实现的安全专用网络来与终端设备和投影设备保持通信,以掌握终端设备和投影设备的信息,例如终端设备的当前位置、终端设备的投影请求、终端设备的投影要求(例如投影设备的解码能力、解密能力等要求)、投影设备的当前状态(空闲还是投影使用中)、投影设备的投影能力(例如,解码能力、解密能力、支持的音视频格式等)。这样,在终端设备有投影需求时,服务器就能够为终端设备查找到符合其投影需求的投影设备,而且能够有效保证不执行公共网络上的未经认证的控制指令。当然,除了安全专用网络,服务器还可以通过例如GSM、CDMA、LTE等的无线通信网络与终端设备、投影设备进行通信。
另外,由于服务器处有可能会同时接收到多个终端设备的投影请求,因此服务器可以对接收到的多个投影请求通过内部消息队列或内部接口的形式进行处理,以及通过内部消息队列或内部接口的形式向符合要求的投影设备转发投影请求,这样就能够平缓服务器的实时压力。
在一种可能的实施方式中,根据该实施例的方法还可以包括:在所述终端处,向所述服务器发送验证码;在所述服务器处,将所述验证码转发给查找到的可用投影设备;在所述投影设备处,接收所述服务器转发的所述验证码并发出包括所述验证码的信息;在所述终端处,捕获所述包括所述验证码的信息,以确认存在可用的投影设备用于投影。这样,终端设备就能够有效地确认是否存在可用的投影设备用于投影。如果这些步骤是发生在在终端设备处建立无线接入点之前,那么终端设备就可以仅在确认有可用投影设备的情况下才建立无线接入点,从而提高终端设备的效率。
另外,上面所述的验证码可以包括各种形式,例如二维码、条形码、语音、文本等。
另外,投影设备处发出的包括所述验证码的信息可用为包括所述验证码的屏幕显示信息(在这种情况下,终端设备可以通过视觉识别技术来识别屏 幕显示信息)、包括所述验证码的无线电信息(在这种情况下,终端设备可以通过接收无线电信息并进行匹配的方式来验证是否存在可用投影设备)和包括所述验证码的语音信息(在这种情况下,终端设备可以通过语音识别技术来识别投影设备发出的语音信息中是否包括其发送的验证码)中的一者。
在一种可能的实施方式中,在终端设备处希望结束投影时,可以通过终端设备与服务器之间的安全专用网络向服务器发送投影结束请求,然后服务器将该投影结束请求转发给投影设备,然后投影设备在接收到投影结束请求之后就能够结束投影、断开与终端设备的通信连接并返回到投影前的界面或者屏幕主界面。另外,由于媒体流和控制信令通常是分开的,所以诸如投影请求、投影结束请求之类的控制信令是通过服务器在终端设备和投影设备之间转发的,而关于要被投影的内容的媒体流则是通过终端设备与投影设备之间的通信连接传输的,这样能够提高投影的效率。
根据本公开的第六实施例,提高一种用于投影的系统,如图6所示,该系统可以包括:
终端处模块601,用于在所述终端处监测到需要进行投影之后建立无线接入点,并向服务器发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
服务器处模块602,用于接收所述投影请求,查找可用的投影设备并向查找到的可用投影设备转发所述投影请求;
投影设备处模块603,用于接收所述服务器处模块602转发的所述投影请求,并向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
所述终端处模块601,还用于在接收到所述投影设备处模块603发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所 述无线接入点的通信连接,并通过所建立的通信连接向所述投影设备传输要被投影的内容;
所述投影设备处模块603,还用于在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
通过上述技术方案,由于投影设备与作为无线接入点的终端设备之间的通信连接可以借助作为中继的服务器来完成,因此其不需要像现有技术那样人工手动连接投影设备,因此能够避免投影准备前的繁琐工作。
在一种可能的实施方式中,终端处模块601发送的投影请求中还可以包括终端设备的当前位置、投影设备解码能力要求、投影设备解密能力要求等信息,这样服务器处模块602在接收到投影请求之后就能够为终端设备查找到符合其投影要求的投影设备,并然后将投影请求转发给查找到的投影设备,这样查找到的投影设备就能够利用接收到的投影请求中包括的接入认证信息来请求与终端设备建立通信连接。
另外,服务器处模块602可以通过基于虚拟专用网络(Virtual Private Network,VPN)技术实现的安全专用网络来与终端处模块601和投影设备处模块603保持通信,以掌握终端设备和投影设备的信息,例如终端设备的当前位置、终端设备的投影请求、终端设备的投影要求(例如投影设备的解码能力、解密能力等要求)、投影设备的当前状态(空闲还是投影使用中)、投影设备的投影能力(例如,解码能力、解密能力、支持的音视频格式等)。这样,在终端设备有投影需求时,服务器处模块602就能够为终端设备查找到符合其投影需求的投影设备,而且能够有效保证不执行公共网络上的未经认证的控制指令。当然,除了安全专用网络,服务器处模块602还可以通过例如GSM、CDMA、LTE等的无线通信网络与终端处模块601、投影设备处模块603进行通信。
另外,由于服务器处模块602处有可能会同时接收到多个终端处模块 601的投影请求,因此服务器处模块602可以对接收到的多个投影请求通过内部消息队列或内部接口的形式进行处理,以及通过内部消息队列或内部接口的形式向符合要求的投影设备转发投影请求,这样就能够平缓服务器处模块602的实时压力。
在一种可能的实施方式中,所述终端处模块601,还用于向所述服务器处模块602发送验证码;所述服务器处模块602,还用于将所述验证码转发给查找到的可用投影设备;所述投影设备处模块603,还用于接收所述服务器处模块602转发的所述验证码并发出包括所述验证码的信息;所述终端处模块601,还用于捕获所述包括所述验证码的信息,以确认存在可用的投影设备用于投影。这样,终端设备就能够有效地确认是否存在可用的投影设备用于投影。如果这些操作是发生在在终端设备处建立无线接入点之前,那么终端设备就可以仅在确认有可用投影设备的情况下才建立无线接入点,从而提高终端设备的效率。
另外,上面所述的验证码可以包括各种形式,例如二维码、条形码、语音、文本等。
另外,投影设备处模块603发出的包括所述验证码的信息可用为包括所述验证码的屏幕显示信息(在这种情况下,终端设备可以通过视觉识别技术来识别屏幕显示信息)、包括所述验证码的无线电信息(在这种情况下,终端设备可以通过接收无线电信息并进行匹配的方式来验证是否存在可用投影设备)和包括所述验证码的语音信息(在这种情况下,终端设备可以通过语音识别技术来识别投影设备发出的语音信息中是否包括其发送的验证码)中的一者。
在一种可能的实施方式中,在终端设备处希望结束投影时,可以通过终端处模块601与服务器处模块602之间的安全专用网络向服务器处模块602发送投影结束请求,然后服务器处模块602将该投影结束请求转发给投影设 备处模块603,然后投影设备处模块603在接收到投影结束请求之后就能够结束投影、断开与终端处模块601的通信连接并返回到投影前的界面或者屏幕主界面。另外,由于媒体流和控制信令通常是分开的,所以诸如投影请求、投影结束请求之类的控制信令是通过服务器处模块602在终端处模块601和投影设备处模块603之间转发的,而关于要被投影的内容的媒体流则是通过终端处模块601与投影设备处模块603之间的通信连接传输的,这样能够提高投影的效率。
图7是根据一示例性实施例示出的一种用于投影的装置500的框图,该装置500可以是电子设备。如图7所示,该装置500可以包括:处理器501,存储器502,多媒体组件503,输入/输出(I/O)接口504,以及通信组件505。
其中,处理器501用于控制该装置500的整体操作,以完成上述的用于投影的方法中的全部或部分步骤。存储器502用于存储各种类型的数据以支持在该装置500的操作,这些数据的例如可以包括用于在该装置500上操作的任何应用程序或方法的指令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该存储器502可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件503可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可 以被进一步存储在存储器502或通过通信组件505发送。音频组件还包括至少一个扬声器,用于输出音频信号。I/O接口504为处理器501和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件505用于该装置500与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near Field Communication,简称NFC),2G、3G或4G,或它们中的一种或几种的组合,因此相应的该通信组件505可以包括:Wi-Fi模块,蓝牙模块,NFC模块。
在一示例性实施例中,装置500可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的用于投影的方法。
在另一示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器502,上述指令可由装置500的处理器501执行以完成上述的用于电子设备的控制方法。示例地,该非临时性计算机可读存储介质可以是ROM、随机存取存储器(Random Access Memory,简称RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
根据本公开的又一实施例,提供一种计算机程序产品,所述计算机程序产品包含能够由可编程的装置执行的计算机程序,所述计算机程序具有当由所述可编程的装置执行时用于执行所述的用于投影的方法的代码部分。
根据本公开的又一实施例,提供一种非临时性计算机可读存储介质,所 述非临时性计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行所述的用于投影的方法。
根据本公开的又一实施例,提供一种电子设备,所述电子设备包括:上述的非临时性计算机可读存储介质;以及一个或者多个处理器,用于执行所述非临时性计算机可读存储介质中的程序。
以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。
此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。

Claims (17)

  1. 一种用于投影的方法,其特征在于,该方法包括:在终端处,
    在监测到需要进行投影后,建立无线接入点;
    发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
    在接收到投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接;
    通过所建立的通信连接向所述投影设备传输要被投影的内容。
  2. 根据权利要求1所述的方法,其特征在于,所述发送投影请求包括:
    通过广播的方式发送所述投影请求。
  3. 一种用于投影的装置,其特征在于,该装置包括:在终端处,
    无线接入点建立模块,用于在监测到需要进行投影后,建立无线接入点;
    投影请求发送模块,用于发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
    通信连接建立模块,用于在接收到投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接;
    投影内容传输模块,用于通过所建立的通信连接向所述投影设备传输要被投影的内容。
  4. 根据权利要求3所述的装置,其特征在于,所述投影请求发送模块通过广播的方式发送所述投影请求。
  5. 一种用于投影的方法,其特征在于,该方法包括:在投影设备处,
    接收投影请求,所述投影请求包括用于请求投影设备接入的信息和无线接入点的接入认证信息;
    向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
    在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
  6. 根据权利要求5所述的方法,其特征在于,所述投影请求通过广播的方式被所述无线接入点发送。
  7. 一种用于投影的装置,其特征在于,该装置包括:在投影设备处,
    投影请求接收模块,用于接收投影请求,所述投影请求包括用于请求投影设备接入的信息和无线接入点的接入认证信息;
    连接请求发送模块,用于向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
    投影模块,用于在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
  8. 根据权利要求7所述的装置,其特征在于,所述投影请求通过广播的方式被所述无线接入点发送。
  9. 一种用于投影的方法,其特征在于,该方法包括:
    在终端处,在监测到需要进行投影之后建立无线接入点,并向服务器发送投影请求,所述投影请求包括用于请求投影设备接入的信息和所述无线接入点的接入认证信息;
    在服务器处,接收所述投影请求,查找可用的投影设备并向查找到的可用投影设备转发所述投影请求;
    在投影设备处,接收所述服务器转发的所述投影请求,并向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
    在所述终端处,在接收到所述投影设备发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接,并通过所建立的通信连接向所述投影设备传输要被投影的内容;
    在所述投影设备处,在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
  10. 根据权利要求9所述的方法,其特征在于,该方法还包括:
    在所述终端处,向所述服务器发送验证码;
    在所述服务器处,将所述验证码转发给查找到的可用投影设备;
    在所述投影设备处,接收所述服务器转发的所述验证码并发出包括所述验证码的信息;
    在所述终端处,捕获所述包括所述验证码的信息,以确认存在可用的投影设备用于投影。
  11. 根据权利要求10所述的方法,其特征在于,所述包括所述验证码的信息为包括所述验证码的屏幕显示信息、包括所述验证码的无线电信息和包括所述验证码的语音信息中的一者。
  12. 一种用于投影的系统,其特征在于,该系统包括:
    终端处模块,用于在所述终端处监测到需要进行投影之后建立无线接入点,并向服务器发送投影请求,所述投影请求包括用于请求投影设备接入的 信息和所述无线接入点的接入认证信息;
    服务器处模块,用于接收所述投影请求,查找可用的投影设备并向查找到的可用投影设备转发所述投影请求;
    投影设备处模块,用于接收所述服务器处模块转发的所述投影请求,并向所述无线接入点发送连接请求,所述连接请求包括所述接入认证信息;
    所述终端处模块,还用于在接收到所述投影设备处模块发送的连接请求且所述连接请求包括所述接入认证信息时,建立所述投影设备与所述无线接入点的通信连接,并通过所建立的通信连接向所述投影设备传输要被投影的内容;
    所述投影设备处模块,还用于在基于所述连接请求建立与所述无线接入点的通信连接之后,通过所述通信连接接收要被投影的内容并进行投影。
  13. 根据权利要求12所述的系统,其特征在于,
    所述终端处模块,还用于向所述服务器处模块发送验证码;
    所述服务器处模块,还用于将所述验证码转发给查找到的可用投影设备;
    所述投影设备处模块,还用于接收所述服务器处模块转发的所述验证码并发出包括所述验证码的信息;
    所述终端处模块,还用于捕获所述包括所述验证码的信息,以确认存在可用的投影设备用于投影。
  14. 根据权利要求13所述的系统,其特征在于,所述包括所述验证码的信息为包括所述验证码的屏幕显示信息、包括所述验证码的无线电信息和包括所述验证码的语音信息中的一者。
  15. 一种计算机程序产品,其特征在于,所述计算机程序产品包含能够 由可编程的装置执行的计算机程序,所述计算机程序具有当由所述可编程的装置执行时用于执行权利要求1、2、5、6和9-11中任一项所述的方法的代码部分。
  16. 一种非临时性计算机可读存储介质,其特征在于,所述非临时性计算机可读存储介质中包括一个或多个程序,所述一个或多个程序用于执行权利要求1、2、5、6和9-11中任一项所述的方法。
  17. 一种电子设备,其特征在于,所述电子设备包括:
    权利要求16中所述的非临时性计算机可读存储介质;以及
    一个或者多个处理器,用于执行所述非临时性计算机可读存储介质中的程序。
PCT/CN2016/110318 2016-12-16 2016-12-16 用于投影的方法、装置、系统及电子设备 WO2018107461A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/110318 WO2018107461A1 (zh) 2016-12-16 2016-12-16 用于投影的方法、装置、系统及电子设备
CN201680002689.9A CN107079383B (zh) 2016-12-16 2016-12-16 用于投影的方法、装置、系统及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/110318 WO2018107461A1 (zh) 2016-12-16 2016-12-16 用于投影的方法、装置、系统及电子设备

Publications (1)

Publication Number Publication Date
WO2018107461A1 true WO2018107461A1 (zh) 2018-06-21

Family

ID=59623427

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/110318 WO2018107461A1 (zh) 2016-12-16 2016-12-16 用于投影的方法、装置、系统及电子设备

Country Status (2)

Country Link
CN (1) CN107079383B (zh)
WO (1) WO2018107461A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770319A (zh) * 2019-10-18 2020-10-13 北京沃东天骏信息技术有限公司 投影方法、装置、系统和存储介质
CN112738011A (zh) * 2019-10-28 2021-04-30 阿里巴巴集团控股有限公司 投屏实现方法、装置及系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714612A (zh) * 2019-03-05 2019-05-03 华数传媒网络有限公司 一种异构网络的跨屏投影方法和装置
CN110795740B (zh) * 2019-09-29 2023-05-19 深圳市火乐科技发展有限公司 一种开机方法和相关装置
CN113316128B (zh) * 2020-02-26 2022-04-05 杭州海康威视数字技术股份有限公司 一种投屏方法、接收端设备及发送端设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1833237A (zh) * 2003-06-02 2006-09-13 富可视公司 图像捕捉方法、系统和装置
CN102346647A (zh) * 2011-09-19 2012-02-08 盛乐信息技术(上海)有限公司 投影仪控制方法及系统
CN103345855A (zh) * 2013-07-11 2013-10-09 北京信息科技大学 一种用于教学的投影切换系统和投影切换方法
CN104104929A (zh) * 2014-02-11 2014-10-15 中兴通讯股份有限公司 一种远程投影方法、装置及系统
JP2015158596A (ja) * 2014-02-24 2015-09-03 株式会社リコー 投影装置、投影システム及び無線接続方法
CN105472283A (zh) * 2014-08-27 2016-04-06 中兴通讯股份有限公司 一种投影控制方法及投影设备、移动终端

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414894A (zh) * 2013-07-29 2013-11-27 上海凯统信息科技有限公司 一种无线实时传屏设备及方法
CN103957218B (zh) * 2014-05-14 2018-09-28 刘瑞雪 共享媒体播放的方法和系统
CN105306851B (zh) * 2014-06-27 2019-02-01 中兴通讯股份有限公司 投影的方法及移动热点设备
CN104244455A (zh) * 2014-09-01 2014-12-24 小米科技有限责任公司 无线局域网络的接入信息的分享方法和装置
CN107404639B (zh) * 2014-09-08 2019-07-26 厦门市三槐集成系统工程有限公司 增强会议的互动性和效率、采用软ap控制的投影仪
CN104754563A (zh) * 2015-03-06 2015-07-01 广东欧珀移动通信有限公司 一种无线热点接入共享方法、移动终端及系统
CN104808419A (zh) * 2015-03-17 2015-07-29 上海青葱网络科技有限公司 一种汽车投影交流方法
CN105491361A (zh) * 2016-01-14 2016-04-13 深圳拓美中电科技有限公司 无线同步多媒体投影机
CN105843573B (zh) * 2016-03-22 2019-06-04 惠州Tcl移动通信有限公司 一种主屏幕同步分享至多个副屏幕的实现方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1833237A (zh) * 2003-06-02 2006-09-13 富可视公司 图像捕捉方法、系统和装置
CN102346647A (zh) * 2011-09-19 2012-02-08 盛乐信息技术(上海)有限公司 投影仪控制方法及系统
CN103345855A (zh) * 2013-07-11 2013-10-09 北京信息科技大学 一种用于教学的投影切换系统和投影切换方法
CN104104929A (zh) * 2014-02-11 2014-10-15 中兴通讯股份有限公司 一种远程投影方法、装置及系统
JP2015158596A (ja) * 2014-02-24 2015-09-03 株式会社リコー 投影装置、投影システム及び無線接続方法
CN105472283A (zh) * 2014-08-27 2016-04-06 中兴通讯股份有限公司 一种投影控制方法及投影设备、移动终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770319A (zh) * 2019-10-18 2020-10-13 北京沃东天骏信息技术有限公司 投影方法、装置、系统和存储介质
CN112738011A (zh) * 2019-10-28 2021-04-30 阿里巴巴集团控股有限公司 投屏实现方法、装置及系统
CN112738011B (zh) * 2019-10-28 2024-04-05 阿里巴巴集团控股有限公司 投屏实现方法、装置及系统

Also Published As

Publication number Publication date
CN107079383A (zh) 2017-08-18
CN107079383B (zh) 2021-01-08

Similar Documents

Publication Publication Date Title
US11418388B2 (en) Method for network configuration, and electronic device
WO2018107461A1 (zh) 用于投影的方法、装置、系统及电子设备
US10038772B2 (en) Communication systems and methods
US9769667B2 (en) Methods for controlling smart device
KR101779484B1 (ko) 기기 바인딩 방법, 장치, 프로그램 및 기록매체
CN107483715B (zh) 终端与设备通信的方法和系统、终端、存储介质
WO2017092417A1 (zh) 基于智能终端设备的网络接入的方法和装置
JP6330103B2 (ja) ネットワーク接続方法及び装置、プログラム及び記録媒体
WO2016127667A1 (zh) 设备绑定方法和装置
US9503893B2 (en) Communication management system, relay device, communication control system, communication system, communication method, and recording medium storing communication control program
US10579244B2 (en) Simplified sharing of content among computing devices
JP6404486B2 (ja) 接続確立方法、装置、プログラム、及び記録媒体
WO2016173190A1 (zh) 信息提供方法和装置
WO2017107550A1 (zh) 网络连接方法和装置
WO2016155231A1 (zh) 网络接入方法及装置
WO2018228051A1 (zh) 设备接入方法、装置及系统
WO2017101508A1 (zh) 传输路由信息的方法及装置
WO2016119493A1 (zh) 接入网络的方法及装置
WO2020019258A1 (zh) 下行控制信息发送方法、接收方法、装置及存储介质
WO2020044088A1 (zh) 一种文件传输的方法及其装置、设备/终端/服务器
US20150365133A1 (en) Touch and Talk Auto-Configuring of Video Conferences Using Near Field Communication (NFC)
WO2016177257A1 (zh) 一种数据分享的方法和装置
US9338821B2 (en) Content transmission terminal, service providing device, communication system, communication method, and computer-readable recording device for recording program
WO2016169208A1 (zh) 控制智能设备接入的方法和装置
KR101528268B1 (ko) 콘텐츠를 원격 위치들에 스트리밍하기 위한 시스템과 방법

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/11/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16923753

Country of ref document: EP

Kind code of ref document: A1