Nothing Special   »   [go: up one dir, main page]

CN114115775A - Information screen projection method and device, terminal device, display device and storage medium - Google Patents

Information screen projection method and device, terminal device, display device and storage medium Download PDF

Info

Publication number
CN114115775A
CN114115775A CN202111338612.8A CN202111338612A CN114115775A CN 114115775 A CN114115775 A CN 114115775A CN 202111338612 A CN202111338612 A CN 202111338612A CN 114115775 A CN114115775 A CN 114115775A
Authority
CN
China
Prior art keywords
information
display device
equipment
displayed
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111338612.8A
Other languages
Chinese (zh)
Inventor
张继雄
黄颂扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Innovation Technology Co ltd
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Innovation Technology Co ltd
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Innovation Technology Co ltd, Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Innovation Technology Co ltd
Priority to CN202111338612.8A priority Critical patent/CN114115775A/en
Publication of CN114115775A publication Critical patent/CN114115775A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application provides a screen projection method and device for information, terminal equipment, display equipment and a storage medium, wherein the method is applied to information source equipment and comprises the following steps: when the information source equipment detects at least one display equipment providing wireless direct connection service based on the wireless direct connection service, the network access identification of the at least one display equipment is obtained based on the wireless direct connection service; when the information source device detects a selection operation on at least one display device, determining a selected target display device based on the selection operation; when the information source device and the target display device are determined to be in different local area networks, accessing to the local area network corresponding to the target display device based on the network access identifier; and the information source equipment sends the information to be displayed to the target display equipment through the accessed local area network so that the target display equipment displays the information to be displayed. According to the embodiment of the application, the screen projection efficiency is greatly improved by the automatic acquisition of the network access identification and the efficient transmission of the information to be displayed.

Description

Information screen projection method and device, terminal device, display device and storage medium
Technical Field
The application belongs to the technical field of screen projection, and particularly relates to a screen projection method and device for information, terminal equipment, display equipment and a storage medium.
Background
In the current screen projection scheme, the screen projection device is required to be directionally connected to a certain receiving device in an operation and perception mode. The connection mode is such as scanning code, inputting connection code, matching with the receiving device in advance. In fact, both of these approaches require the user to operate the transmitting device in advance. The process of pre-operation is time-consuming and labor-consuming, and connection failure may be caused by misoperation of a user, so that screen projection cannot be effectively performed. Therefore, the conventional screen projection is inefficient.
Disclosure of Invention
The embodiment of the application provides an information screen projection method and device, terminal equipment, display equipment and a storage medium, and aims to solve the problem of low screen projection efficiency in the prior art.
In a first aspect, an embodiment of the present application provides a method for projecting information, including:
when the information source equipment detects at least one display equipment providing wireless direct connection service based on the wireless direct connection service, acquiring a network access identifier of the at least one display equipment based on the wireless direct connection service;
when the information source device detects a selection operation on the at least one display device, determining a selected target display device from the at least one display device based on the selection operation;
when the information source device and the target display device are determined to be in different local area networks, accessing to the local area network corresponding to the target display device based on the network access identifier;
and the information source equipment sends information to be displayed to the target display equipment through the accessed local area network, so that the target display equipment displays the information to be displayed.
Optionally, when it is determined that the target display device is in a different local area network, accessing to the local area network corresponding to the target display device based on the network access identifier includes:
acquiring first local area network information of a currently accessed local area network;
acquiring second local area network information of a local area network accessed by the target display equipment according to the network access identifier;
when the first local area network information does not correspond to the second local area network information, determining that the target display device is in a different local area network;
and accessing to a local area network corresponding to the target display equipment based on the network access identifier.
Optionally, the network access identifier includes a router identifier;
the accessing to the local area network corresponding to the target display device based on the network access identifier includes:
obtaining a router identification of a target router connected with the target display equipment based on the network access identification; the target display equipment is positioned in a local area network controlled by the target router;
and establishing connection with the target router based on the router identification of the target router so as to access the local area network controlled by the target router.
Optionally, the sending information to be displayed to the target display device through the accessed local area network, so that the target display device displays the information to be displayed, includes:
acquiring the content currently displayed by a display screen to obtain the information to be displayed;
and sending the information to be displayed to the target display equipment through the target router so as to enable the target display equipment to display the information to be displayed.
Optionally, the sending, by the target router, the information to be displayed to the target display device, so that the target display device displays the information to be displayed, includes:
acquiring a transmission interface identifier of the target display device based on the wireless direct connection service provided by the target display device;
and sending the information to be displayed to a transmission interface of the target display equipment through the target router based on the transmission interface identifier so that the target display equipment displays the information to be displayed.
Optionally, the sending, by the target router, the information to be displayed to the target display device, so that the target display device displays the information to be displayed, includes:
acquiring a check identifier broadcasted by the target display equipment based on the wireless direct connection service provided by the target display equipment;
and sending the information to be displayed and the check identifier to the target display equipment through the target router, so that the target display equipment displays the information to be displayed after the check identifier passes the check.
Optionally, after determining the selected target display device from the at least one display device based on the selection operation, the method further includes:
establishing a point-to-point connection with the target display device based on the wireless direct connection service;
the sending information to be displayed to the target display device through the accessed local area network so that the target display device displays the information to be displayed includes:
closing the wireless direct connection service to disconnect the point-to-point connection with the target display device;
and sending information to be displayed to the target display equipment through the accessed local area network so that the target display equipment displays the information to be displayed.
Optionally, after detecting at least one display device providing the wireless direct service based on the wireless direct service, the method further includes:
respectively acquiring the wireless service names broadcasted by the at least one display device in a call-back device;
filtering out display equipment of which the wireless service name is not matched with the preset character string to obtain filtered equipment of which the wireless service name is matched with the preset character string;
and displaying a selection control corresponding to the filtered equipment in a display screen so as to detect the selection operation aiming at the filtered equipment through the selection control.
Optionally, after determining the selected target display device from the at least one display device based on the selection operation, the method further includes:
and when the target display device and the target display device are in the same local area network, sending information to be displayed to the target display device, so that the target display device displays the information to be displayed.
In a second aspect, an embodiment of the present application further provides a screen projection method for information, which is applied to a display device, and the method includes:
the display equipment starts a wireless direct connection service;
when the display equipment receives a connection request sent by information source equipment based on the started wireless direct connection service, point-to-point connection is established with the information source equipment;
receiving information to be displayed sent by the information source equipment through a local area network of the display equipment;
and displaying the information to be displayed.
Optionally, before receiving, by the local area network of the display device, the information to be displayed sent by the information source device, the method further includes:
and the display equipment closes the wireless direct connection service so as to disconnect the point-to-point connection with the information source equipment.
Optionally, when the display device receives a connection request sent by an information source device based on the started wireless direct connection service, before establishing a point-to-point connection with the information source device, the method further includes:
the display equipment acquires an equipment identifier of the display equipment;
transmitting the device identification to the information source device based on a wireless direct connection service, so that the information source device transmits a connection request to the display device based on the device identification when detecting a selection operation for the display device.
Optionally, receiving, by a local area network of a display device, information to be displayed sent by the information source device includes:
the display equipment acquires a router identifier of a connected target router to obtain a network access identifier;
sending the network access identification to the information source device so that the information source device is accessed to the local area network where the target router is located based on the network access identification;
and receiving information to be displayed, which is sent by the information source equipment based on the local area network where the target router is located, through the local area network of the display equipment.
In a third aspect, an embodiment of the present application further provides an information screen projection apparatus, which is applied to information source equipment, and the apparatus includes:
the access identifier acquisition module is used for acquiring a network access identifier of at least one display device based on the wireless direct connection service when the information source device detects the at least one display device providing the wireless direct connection service based on the wireless direct connection service;
a display device selection module, configured to, when the information source device detects a selection operation on the at least one display device, determine a selected target display device from the at least one display device based on the selection operation;
the local area network access module is used for accessing to a local area network corresponding to the target display device based on the network access identifier when the information source device and the target display device are determined to be in different local area networks;
the first information display module is used for sending information to be displayed to the target display equipment by the information source equipment through the accessed local area network so that the target display equipment can display the information to be displayed.
In a fourth aspect, an embodiment of the present application further provides a screen projection apparatus for information, which is applied to a display device, and the apparatus includes:
the service starting module is used for starting the wireless direct connection service by the display equipment;
the connection establishing module is used for establishing point-to-point connection with the information source equipment when the display equipment receives a connection request sent by the information source equipment based on the started wireless direct connection service;
the information receiving module is used for receiving the information to be displayed sent by the information source equipment through a local area network of the display equipment;
and the second information display module is used for displaying the information to be displayed by the display equipment.
In a fifth aspect, an embodiment of the present application further provides a terminal device, including: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform operations comprising:
when the information source equipment detects at least one display equipment providing wireless direct connection service based on the wireless direct connection service, acquiring a network access identifier of the at least one display equipment based on the wireless direct connection service;
when the information source device detects a selection operation on the at least one display device, determining a selected target display device from the at least one display device based on the selection operation;
when the information source device and the target display device are in different local area networks, accessing to the local area network corresponding to the target display device based on the network access identifier;
and sending information to be displayed to the target display equipment through the accessed local area network so that the target display equipment displays the information to be displayed.
In a sixth aspect, an embodiment of the present application further provides a display device, including: the touch screen comprises a memory, a display screen with a touch function and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to perform operations comprising:
starting wireless direct connection service;
when the display equipment receives a connection request sent by information source equipment based on the started wireless direct connection service, point-to-point connection is established with the information source equipment;
receiving information to be displayed sent by the information source equipment through a local area network of the display equipment;
and displaying the information to be displayed.
In a seventh aspect, embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the following steps:
when the information source equipment detects at least one display equipment providing wireless direct connection service based on the wireless direct connection service, acquiring a network access identifier of the at least one display equipment based on the wireless direct connection service;
when the information source device detects a selection operation on the at least one display device, determining a selected target display device from the at least one display device based on the selection operation;
when the information source device and the target display device are in different local area networks, accessing to the local area network corresponding to the target display device based on the network access identifier;
and sending information to be displayed to the target display equipment through the accessed local area network so that the target display equipment displays the information to be displayed.
In an eighth aspect, embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the steps of:
starting wireless direct connection service;
when the display equipment receives a connection request sent by information source equipment based on the started wireless direct connection service, point-to-point connection is established with the information source equipment;
receiving information to be displayed sent by the information source equipment through a local area network of the display equipment;
and displaying the information to be displayed.
According to the information screen projection method and device, the terminal device, the display device and the storage medium, under the condition that manual operation is not needed on the display device, the information source device can automatically acquire the network access identifiers of the display devices based on the wireless direct connection service when the display devices providing the wireless direct connection service are detected; the selected target display equipment is determined from the display equipment based on the selection operation, when the target display equipment is determined to be in a different local area network, the target display equipment and the target display equipment are accessed into the same local area network based on the network access identification, meanwhile, the information to be displayed is sent to the target display equipment under the same local area network, so that the target display equipment displays the information to be displayed, the transmission efficiency of the information to be displayed across equipment is effectively guaranteed through the transmission of the same local area network, and the screen projection efficiency is greatly improved through the automatic acquisition of the network access identification and the efficient transmission of the information to be displayed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that other drawings can be derived from these drawings by a person skilled in the art without inventive effort.
For a more complete understanding of the present application and its advantages, reference is now made to the following descriptions taken in conjunction with the accompanying drawings. Wherein like reference numerals refer to like parts in the following description.
Fig. 1 is an application scene diagram of a screen projection method of information provided in an embodiment of the present application.
Fig. 2 is a flowchart of a screen projection method of information provided in an embodiment of the present application.
Fig. 3 is a schematic diagram illustrating a connection between an information source device and a target display device in an embodiment of the present application.
Fig. 4 is a flowchart of a screen projection method of information according to another embodiment of the present application.
Fig. 5 is a timing diagram of a screen projection method of information provided in an embodiment of the present application.
FIG. 6 is a swim lane diagram of a screen projection method of information provided by an embodiment of the present application.
Fig. 7 is a structural diagram of a screen projection device for information provided in an embodiment of the present application.
Fig. 8 is a structural diagram of a screen projection device for information according to another embodiment of the present application.
Fig. 9 is a structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an information screen projection method and device, terminal equipment, display equipment and a storage medium, and aims to solve the problem of low screen projection efficiency in the prior art. The following description will be made with reference to the accompanying drawings.
The screen projection method of the information provided by the embodiment of the application can be applied to the application scene shown in fig. 1. The application scenario includes an information source device 101 and a display device 102. It should be noted that only one display device is shown in fig. 1, and in an actual application scenario, more display devices may be included. In the application scenario, the information source device detects display devices providing wireless direct connection services based on the wireless direct connection services, when at least one display device is detected, the network access identifier of the detected at least one display device is obtained based on the wireless direct connection services, the selected target display device is determined based on the selection operation, and when the target display device is determined to be in a different local area network, the target display device is accessed to the local area network corresponding to the target display device based on the network access identifier. At this time, as shown in fig. 1, the information source device and the display device are in the same local area network. And the information source equipment sends the information to be displayed to the target display equipment through the accessed local area network so that the target display equipment displays the information to be displayed. And screen projection from the information source device to the target display device is realized.
Illustratively, as shown in fig. 2, the embodiment of the present application provides a screen projection method of information. The embodiment may be performed by an information source device, where the information source device may be implemented in a software and/or hardware manner, and the information source device may be formed by two or more physical entities, or may be formed by one physical entity. The information source equipment can be a computer, a mobile phone, a tablet, a projector, an intelligent screen or an interactive intelligent tablet and the like. The information source device can be an integrated device which controls the content displayed on the display panel through a touch technology and realizes man-machine interaction operation, and integrates one or more functions of an intelligent screen, a sound box, a television and the like. The information source device may also have a network connection device, and thus may also serve as a display device.
The information screen projection method provided by the embodiment of the application comprises the following steps:
s201, when the information source device detects at least one display device providing wireless direct connection service based on the wireless direct connection service, the network access identifier of the at least one display device is obtained based on the wireless direct connection service.
The wireless direct connection service is a service for establishing connection in a wireless mode. Through the wireless direct connection service, connection can be established between the network devices, and communication and data transmission between the connected network devices are ensured. In the embodiment of the present application, the network device may be an information source device and a display device. The Wireless direct connection service may be a network connection service implemented based on at least one of Wi-Fi (Wireless Fidelity, Wireless communication technology) direct connection, bluetooth, and Wi-Fi Beacon frames. Wi-Fi Direct (Wi-Fi Direct) is called Wi-Fi Peer-to-Peer (Wi-Fi Peer-to-Peer), and is a software protocol, so that a Wi-Fi device (i.e., a Network device capable of connecting Wi-Fi) can be directly connected with another Wi-Fi device in a Peer-to-Peer manner without passing through an Access Point (AP), and the connected Wi-Fi devices form a Network Group (P2P Network, also called P2P Group) and can perform data transmission at high speed. For an already constructed network group, other network devices may be discovered and invited to join the network group as a Client. In addition, the network device may also be unable to discover the network group based on the peer-to-peer connection and send a connection request to the network group to join the network group. For example, the information source device may acquire a network access identifier corresponding to a network group based on a network group that provides a wireless direct connection service based on wireless direct connection service detection, and access to a local area network in which the network group is located based on the network access identifier, so as to perform network communication with each display device in the network group. Illustratively, the display device detected by the information source device may be a single display device or may be a network group. For convenience of description, the following embodiments are described with the display device as a single example.
The display device may be a computer device capable of connecting to a network and performing network communication with the information source device. The display device may be various electronic devices having display and network connection functions, and may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, electronic whiteboard devices, smart screens, smart interactive tablets, and portable wearable devices. Illustratively, the information source device is a notebook computer, and the display device is a smart screen.
The network access identifier is identification information required for the information source device to access to a corresponding local area network, and may be a router identifier, a Socket (Socket), and the like connected thereto. The router identifier may be an IP (Internet Protocol) Address, an MAC (Media Access Control Address, which is translated into a Media Access Control Address, also referred to as a local area network Address), and the like corresponding to the router.
For example, the information source device may start the wireless direct connection service after being powered on, so as to detect surrounding display devices that also start the wireless direct connection service, and when detecting the display devices, may receive the network access identifier broadcast by the display devices.
For example, when detecting a display device providing a wireless direct connection service, an information source device may establish a point-to-point connection with the corresponding display device, or may temporarily acquire information sent by the corresponding display device through the wireless direct connection service without establishing the point-to-point connection with the corresponding display device.
S202, when the information source device detects the selection operation of the at least one display device, the selected target display device is determined from the at least one display device based on the selection operation.
For example, when detecting at least one display device providing wireless direct connection service, the information source device may display a selection control for selecting the display devices in a display screen, and when a certain selection control is triggered, determine that a selection operation for the corresponding display device is detected.
For example, the information source device may start timing when detecting the first display device and stop detecting the display device when the timing time arrives. If only one display device is detected at this time, the information source device may directly determine the display device as the target display device. If two or more than two display devices are detected, the selection control corresponding to each display device can be displayed in the display screen, so that the selection operation of selecting the display devices is received through the selection control, and the display devices corresponding to the selection operation are determined as target display devices.
For example, the information source device may also display a selection control corresponding to the display device in a list manner on the display screen each time the display device is detected. And when the next display device is detected, adding a selection control corresponding to the display device in the list. And if the selection operation aiming at a certain display device is received, determining the display device corresponding to the selection operation as the target display device.
For example, the determined target display device may be one, or two or more. When the number of the target display devices is two or more, the function that the information source device shares the information to be displayed to the plurality of target display devices can be realized, and then the corresponding information to be displayed is displayed in the target display devices.
S203, when the information source device and the target display device are determined to be in different local area networks, accessing to the local area network corresponding to the target display device based on the network access identifier.
The local area network may be a network environment where the display device is connected to the internet. In some cases, the local area network may be replaced with other network environments. For example, the information source device determines whether the information source device and the target display device are in the same local area network, and if not, the information source device accesses the local area network corresponding to the target display device based on the network access identifier.
Illustratively, when the information source device and the target display device are in different local area networks, the information source device and the target display device are accessed into the same local area network through the network access identifier.
For example, when the local area network is determined, if the information source device and the target display device have established a point-to-point connection, the connection may be disconnected, so as to reduce network card resources on the electronic device. It should be noted that, after the point-to-point connection is established, the information source device and the corresponding display device can communicate with each other, or can be connected to the same local area network, and at this time, even if the point-to-point connection is disconnected, the information source device and the corresponding display device can perform data transmission based on the local area network, so as to implement screen projection.
For example, after the information source device establishes the peer-to-peer connection with the target display device, the connection request with other display devices may be rejected, that is, the information source device only performs network communication with the target display device. In this case, even if the point-to-point connection between the information source device and the target display device is disconnected, the information source device can be accurately positioned to the target display device through the local area network, and then the information to be displayed is sent to the target display device for displaying.
S204, the information source device sends information to be displayed to the target display device through the accessed local area network, so that the target display device displays the information to be displayed.
The information to be displayed may be information capable of being transmitted, displayed and played in a network medium, and may be network files, audio, video and the like. For example, the information to be displayed may be content displayed on a display screen of the information source device, content that needs to be displayed on the display screen and is output by the information source device, or audio that needs to be output and is generated by the information source device.
In the same local area network, efficient data transmission can be performed between the information source device and the display device, for example, data transmission can be realized through a router in the local area network, and data transmission efficiency is high because switching is not required in other local area networks.
Illustratively, the information source device sends information to be displayed to the target display device through a router in the accessed local area network, so that the target display device displays the information to be displayed, at this time, cross-device sharing of the information to be displayed from the information source device to the target display device is achieved, and then the information to be displayed on the information source device is released to the target display device.
For example, the information source device may obtain information to be displayed in real time, and then send the information to be displayed to the target display device through the accessed local area network, so that the target display device displays the information to be displayed in real time, and screen projection from the information source device to the target display device is achieved. In addition, the information source device may also periodically obtain various information that needs to be projected within a specific time period as information to be displayed, and then send the information to be displayed to the target display device through the accessed local area network, so that the target display device displays the information to be displayed.
According to the screen projection method of the information, under the condition that manual operation is not needed on the display equipment, the information source equipment can automatically acquire the network access identifiers of the display equipment based on the wireless direct connection service when the display equipment providing the wireless direct connection service is detected; the selected target display equipment is determined from the display equipment based on the selection operation, when the target display equipment is determined to be in a different local area network, the target display equipment and the target display equipment are accessed into the same local area network based on the network access identification, meanwhile, the information to be displayed is sent to the target display equipment under the same local area network, so that the target display equipment displays the information to be displayed, the transmission efficiency of the information to be displayed across equipment is effectively guaranteed through the transmission of the same local area network, the screen projection efficiency is greatly improved through the automatic acquisition of the network access identification and the efficient transmission of the information to be displayed, and the screen projection efficiency of the information source equipment to the target display equipment can be further improved.
For example, when it is determined that the information source device and the target display device are in different local area networks, accessing to a local area network corresponding to the target display device based on the network access identifier includes: acquiring first local area network information of a currently accessed local area network; acquiring second local area network information of a local area network accessed by the target display equipment according to the network access identifier; when the first local area network information does not correspond to the second local area network information, determining that the target display device is in a different local area network; and accessing to a local area network corresponding to the target display equipment based on the network access identifier.
The local area network information may be identification information corresponding to the local area network, such as a router identification, a bluetooth identification, and the like.
Illustratively, when the first local area network information and the second local area network information are acquired, the information source device performs matching comparison on the first local area network information and the second local area network information. And if the two correspondences are consistent, for example, the corresponding router identifications are consistent, the information source device and the target display device are judged to be in the same local area network. And if the two devices are inconsistent, for example, the corresponding router identifications are inconsistent, the information source device and the target display device are judged to be in different local area networks.
For example, when the information source device and the target display device are in different local area networks, the data transmission efficiency may be affected, and therefore, it is necessary for the information source device to access the local area network in which the target display device is located, and based on this, the information source device and the target display device access the same local area network through the network access identifier.
In the above embodiment, whether the information source device and the target display device are in the same local area network is determined by comparing local area network information. When the information source device and the target display device are in different local area networks, the information source device is accessed into the local area network where the target display device is located, transmission to be displayed can be carried out between the information source device and the display device in the same local area network, and transmission efficiency of information to be displayed is guaranteed.
Illustratively, after determining the selected target display device from the at least one display device based on the selection operation, the method further comprises: and when the information source equipment determines that the information source equipment and the target display equipment are in the same local area network, sending information to be displayed to the target display equipment so that the target display equipment displays the information to be displayed.
According to the embodiment, the information source device directly sends the information to be displayed to the target display device when determining that the information source device and the target display device are in the same local area network, so that the information to be displayed can be quickly sent, and the screen projection efficiency is effectively guaranteed.
Illustratively, the network access identification comprises a router identification; the accessing to the local area network corresponding to the target display device based on the network access identifier includes: obtaining a router identification of a target router connected with the target display equipment based on the network access identification; the target display equipment is positioned in a local area network controlled by the target router; and establishing connection with the target router based on the router identification of the target router so as to access the local area network controlled by the target router.
The router is a device which is required to be connected when the display device is connected to the network.
Illustratively, the information source device establishes a connection with the target router through the router identifier of the target router, and at this time, the information source device is in a local area network controlled by the target router, that is, in the same local area network as the target display device.
According to the embodiment, the information source device and the target display device are connected into the same local area network based on the target router identification, the local area network is identical, the information source device and the target display device can conveniently transmit information to be displayed, and therefore screen projection efficiency is improved.
Illustratively, the sending information to be displayed to the target display device through the accessed local area network, so that the target display device displays the information to be displayed, includes: acquiring the content currently displayed by a display screen to obtain the information to be displayed; and sending the information to be displayed to the target display equipment through the target router so as to enable the target display equipment to display the information to be displayed.
For example, the information source device may perform screen recording on content currently displayed on the display screen, use the recorded information as information to be displayed, and after sending the information to be displayed to the target display device, the target display device may display the recorded content on the display screen, that is, the information to be displayed on the display screen of the information source device is projected onto the target display device.
For example, the information source device may also obtain screen display window information and currently displayed screen information, which are used together as information to be displayed, and after sending the information to be displayed to the target display device, the target display device may display a screen display window in the display screen and display corresponding information to be displayed in the screen display window, so as to display information displayed on the display screen of the information source device on the display screen of the target display device, that is, project the information source device onto the target display device.
Illustratively, as shown in fig. 3, an information source device 301 detects a target display device 302 based on a wireless direct connection service, and a router to which the target display device is connected is a target router 303. Based on this, the information source device 301 accesses the same local area network 304 through the target router 303 and the target display device 302. At this time, the information source device 301 may transmit information to be displayed to the target display device 302 through the target router 303 to cause the target display device to display the information to be displayed.
According to the embodiment, the content displayed on the display screen of the target display equipment is displayed on the display screen of the target display equipment, the information to be displayed is transmitted in the same local area network, the transmission efficiency is high, and the screen projection efficiency can be effectively guaranteed.
Illustratively, the sending, by the target router, the information to be displayed to the target display device, so that the target display device displays the information to be displayed includes: the information source equipment acquires a transmission interface identifier of the target display equipment based on the wireless direct connection service provided by the target display equipment; and sending the information to be displayed to a transmission interface of the target display equipment through the target router based on the transmission interface identifier so that the target display equipment displays the information to be displayed.
The transmission interface identifier is an identifier of an interface for data transmission, and may be represented by an IP address and/or a port number. Illustratively, the transport interface identification may be represented by a socket.
Illustratively, the information source device obtains a socket of the target display device through the wireless direct connection service, obtains an IP address and a port number corresponding to the target display device based on the socket, and further sends information to be displayed to the corresponding IP address and port, so as to achieve the purpose of sending the information to be displayed to the target display device.
In the above embodiment, in the same local area network, the information source device sends the information to be displayed to the target display device through the transmission interface identifier. The transmission of the information to be displayed is accurate and reliable, the condition of mistakenly transmitting the information to other display equipment can not occur, and the reliability of cross-equipment display of the information to be displayed can be effectively ensured.
Illustratively, the sending, by the target router, the information to be displayed to the target display device, so that the target display device displays the information to be displayed includes: acquiring a check identifier broadcasted by the target display equipment based on the wireless direct connection service provided by the target display equipment; and sending the information to be displayed and the check identifier to the target display equipment through the target router, so that the target display equipment displays the information to be displayed after the check identifier passes the check.
Wherein, the check mark is a mark for checking. This may be implemented by a check code, which may be a check string or the like.
Illustratively, when receiving a check identifier broadcast by the target display device, the information source device checks the target display device based on the check identifier, and when the check identifier conforms to a check rule, determines that the target display device is a legal display device. And then sending information to be displayed to the target display equipment, wherein the information source equipment also carries the check mark broadcasted by the target display equipment while sending the information to be displayed. And after receiving the information sent by the information source equipment, the target display equipment verifies the verification identifier, and when the verification identifier is determined to be sent by the target display equipment, or after the verification of the verification identifier is passed, the target display equipment displays the information to be displayed.
According to the embodiment, the reliability check between the information source device and the target display device can be realized through the check identifier, and the safety of cross-device transmission of the information to be displayed is effectively ensured.
For example, the information source device may establish a peer-to-peer connection with the target display device based on the wireless direct service after determining the target display device. Based on the established connection, the information source device and the target display device may perform data transmission, for example, the information source device sends information to be displayed to the target display device. However, the inventor finds that if the wireless direct service is turned on for a long time, the bandwidth of the information source device or the target display device is stressed greatly. Taking the information source device as an example, the information source device may occupy more bandwidth of the wireless network card, which is equivalent to that one wireless network card is used to connect Wi-Fi and Wi-Fi P2P for use at the same time, and the bandwidth may have a certain influence. Accordingly, the inventor believes that the point-to-point connection can be disconnected after the information source device and the target display device establish the point-to-point connection to release the bandwidth of the wireless network card. At this time, if data transmission with the target display device is required, the data transmission is performed by other means, for example, the information to be displayed may be transmitted by means of a router or the like.
Illustratively, after determining the selected target display device from the at least one display device based on the selection operation, the method further comprises: establishing a point-to-point connection with the target display device based on the wireless direct connection service; the sending information to be displayed to the target display device through the accessed local area network so that the target display device displays the information to be displayed includes: closing the wireless direct connection service to disconnect the point-to-point connection with the target display device; and sending information to be displayed to the target display equipment through the accessed local area network so that the target display equipment displays the information to be displayed.
In the above embodiment, the information source device discovers the display device through the wireless direct connection service, after determining the target display device, the information source device is disconnected from the target display device, and simultaneously, the information to be displayed is sent to the target display device through the accessed local area network. Namely, the discovery of the display device and the sending of the information to be displayed are realized through different network connections, and the pressure of the wireless network card of the information source device is effectively reduced.
For example, after detecting at least one display device providing a wireless direct service based on the wireless direct service, the information source device may perform the following steps: whether the corresponding display equipment meets the filtering condition is determined based on the information broadcast by the display equipment, the display equipment meeting the filtering condition is filtered, the rest display equipment is determined as filtered equipment, and then the selection operation aiming at the filtered equipment is received.
Wherein the filtering condition may be at least one of: 1) whether the name of the service is a certain negotiated character string, 2) whether the display device is connectable to the information source device.
For example, after detecting at least one display device providing a wireless direct service based on the wireless direct service, the method further comprises: the information source equipment respectively acquires the wireless service names broadcasted by the at least one display equipment in the callback device; filtering out display equipment of which the wireless service name is not matched with the preset character string to obtain filtered equipment of which the wireless service name is matched with the preset character string; and displaying a selection control corresponding to the filtered equipment in a display screen so as to detect the selection operation aiming at the filtered equipment through the selection control.
The wireless service name may be a name of a wireless direct connection service provided by the display device, and the name may be represented in a form of a character string or the like.
The preset character string may be a character string of a specific format negotiated in advance by the information source device and the target display device.
Illustratively, when the wireless service name is received, comparing a character string corresponding to the wireless service name with a character string negotiated in advance, and if the character string corresponding to the wireless service name is not consistent with the character string negotiated in advance, filtering the corresponding display device. And when the detected wireless service names of all the display devices are compared, determining the display devices which are not filtered out as filtered devices. And further displaying selection controls of the filtered devices in a display screen of the information source device to prompt a user to select a target display device from the display devices.
According to the embodiment, the information source equipment displays the selection control only when the display equipment meets the filtering condition, invalid display equipment can be effectively filtered, the information to be displayed is prevented from being sent to the invalid display equipment by the information source equipment, and the safety of the information to be displayed is ensured.
Illustratively, as shown in fig. 4, the embodiment of the present application provides a screen projection method of information. The screen projection method of the information is an embodiment corresponding to the foregoing embodiment, and the related implementation manner, the term interpretation and the like can be referred to each other. The present embodiment may be performed by a display device. The information screen projection method provided by the embodiment of the application comprises the following steps:
s401, the display device starts wireless direct connection service.
For example, after being powered on, the display device may start the wireless direct service to detect a surrounding information source device that also starts the wireless direct service, or be detected by a surrounding information source device that also starts the wireless direct service.
S402, when the display device receives a connection request sent by information source equipment based on the started wireless direct connection service, point-to-point connection is established with the information source equipment.
For example, the information source device sends a connection request to the display device when detecting a selection operation for the display device, and the display device establishes a peer-to-peer connection with the information source device when receiving the connection request. At this time, the display apparatus and the information source apparatus can perform network communication.
For example, the connection request may be transmitted by the information source device upon detecting a selection operation for the display device.
And S403, receiving the information to be displayed sent by the information source equipment through the local area network of the display equipment.
After the point-to-point connection is established, the display device and the information source device can be communicated with each other and can also be accessed into the same local area network, and at the moment, the information source device and the corresponding display device can perform data transmission based on the local area network to realize screen projection.
For example, when the display device detects the information source device, the display device may broadcast a network access identifier to the information source device, so that the information source device and the display device access to the same local area network based on the network access identifier and send information to be displayed to the information source device based on the accessed local area network.
S404, the display device displays the information to be displayed.
According to the screen projection method of the information, the display device starts the wireless direct connection service, under the condition that manual operation is not needed on the display device, the display device can establish point-to-point connection with the information source device based on the started wireless direct connection service, meanwhile, the display device receives the information to be displayed sent by the information source device under the same local area network, screen projection is achieved on the information to be displayed, screen projection efficiency is greatly improved due to efficient transmission of the information to be displayed, and therefore screen projection efficiency of the information source device to the target display device can be improved.
Before receiving, by a local area network of a display device, information to be displayed sent by the information source device, the method further includes: and the display equipment closes the wireless direct connection service so as to disconnect the point-to-point connection with the information source equipment.
In the embodiment, after the point-to-point connection is established between the display device and the information source device, the wireless direct connection service can be closed, and the point-to-point connection between the display device and the information source device is further disconnected. The method not only ensures the convenience of connection between the display equipment and the information source equipment, but also does not occupy the bandwidth of the wireless network card all the time after the connection is established, and can ensure the network response speed of the display equipment and the information source equipment.
For example, when the display device receives a connection request sent by an information source device based on the turned-on wireless direct connection service, before establishing a peer-to-peer connection with the information source device, the method further includes: the display equipment acquires an equipment identifier of the display equipment; transmitting the device identification to the information source device based on a wireless direct connection service, so that the information source device transmits a connection request to the display device based on the device identification when detecting a selection operation for the display device.
The device identifier is identification information that can uniquely represent the display device, and may be a device serial number, an IP address, an MAC address, a port number, and the like of the display device.
In the above embodiment, the display device obtains the device identifier of itself, and sends the device identifier to the information source device based on the wireless direct connection service, at this time, the information source device may locate the display device based on the device identifier when detecting the selection operation for the display device, and send the connection request to the display device. A reliable connection between the information source device and the display device can be ensured based on the device identification.
Illustratively, the receiving, by a local area network of a display device, information to be displayed sent by the information source device includes: the display equipment acquires a router identifier of a connected target router to obtain a network access identifier; sending the network access identification to the information source device so that the information source device is accessed to the local area network where the target router is located based on the network access identification; and receiving information to be displayed, which is sent by the information source equipment based on the local area network where the target router is located, through the local area network of the display equipment.
Illustratively, the display device sends the network access identification to the information source device before or after establishing the point-to-point connection with the information source device.
According to the embodiment, the information source device and the display device are connected into the same local area network based on the router identification of the target router, so that the identity of the local area network is realized, the information source device and the display device can conveniently transmit information to be displayed, and the screen projection efficiency is improved.
For example, as shown in fig. 5, an embodiment of the present application provides an information screen projection method, and a specific implementation process may be:
1. display device preparation data: the Android platform stores data by creating a WifiP2pDnsSdServiceInfo entity, and stores the data to be published in the form of key value pairs Map. The data may be, but is not limited to: and displaying information such as the IP address, the port, the equipment name, the check code, the subnet mask, AP information (such as Wi-Fi SSID (wireless fidelity identifier) of a corresponding router, a connection password and the like) and the like of the wired/wireless networking of the equipment.
2. The display device registers wireless direct connection service: registering the local service to support service discovery by a method of wifip2pm agent.
3. The information source equipment carries out wireless direct connection service discovery: Wi-Fi P2P service discovery is turned on in the information source device by the method of wifip2P manager.
4. The information source equipment acquires data: the information source device acquires the data issued by the display device in the set DnsdSdTextRecord Lister callback, and the data is packed in the form of key-value pairs Map.
5. The information source equipment analyzes the data: and (4) analyzing the key value Map in the step (4), and acquiring information such as an IP address, a port, an equipment name, a check code, a subnet mask, AP information and the like corresponding to the display equipment according to the previously agreed key. In the foregoing steps, when there are multiple display devices nearby, the information source device may acquire information distributed by the multiple display devices, and at this time, the information source device may display the information in the form of a list on the software of the information source device, with the device name as a division, for the user to select.
6. The information source equipment and the corresponding display equipment are connected: if the user selects a display device in step 5, the information source device first determines whether the information source device and the display device are in the same local area network, and if the information source device and the display device are in the same local area network, the information source device establishes connection with the display device and performs Socket connection communication to realize screen projection. If the information is found not to be in the same local area network, Socket connection communication can be established with the display device based on the network application program through the analyzed AP information and the AP where the specified display device is located, so that the information to be displayed is transmitted to the display device, and the display device displays the corresponding information to be displayed. In this way, the information source device can be made to be in the same local area network as the display device.
The process of establishing Socket connection communication with the display device may be: through the IP and the port analyzed in the step 5, the information source equipment can quickly perform Socket connection and send data. In addition, in order to avoid illegal connection, the information source device needs to send the acquired check code to the display device for checking. If the verification is successful, the display equipment returns a result of successful verification, the connection is established, otherwise, the connection is directly disconnected, and the process is ended.
In the existing connection scheme of the screen transmission, if the screen transmission needs to be connected to the receiving equipment, a Pin code (number + letter, certainly, a mode of scanning the code through a two-dimensional code) displayed on software of the receiving equipment needs to be input, and the principle of the screen transmission is that the corresponding IP is separated out through digital Pin code decoding/two-dimensional code, and Socket connection is established to transmit data. However, this method has at least the following problems:
1) if the Pin code is longer, the user input time is longer, and the connection is not good due to the easy error input, the connection efficiency is low, and the error rate is high.
2) The wireless network access control system needs to be connected to the same network in advance, is easy to drop under the Wi-Fi starting condition, and is unstable in connection.
3) Inconvenient place in operation: the screen can be put out when receiving equipment is idle, information such as the two-dimensional code and the connection code can not be seen, a user needs to light up near the receiving equipment and operate to jump to a page prompting the two-dimensional code and the screen transmission code, and the connection operation is complex.
The embodiment of the application relates to a screen transmission connection function on a whole machine, and a screen projection list can be directly presented to a user. The Wi-Fi P2P mode is started only by the information source device serving as the sending device and the display device serving as the receiving device, the information source device can quickly find nearby screen-projection devices, the process that a user inputs a Pin code or scans the code is omitted, errors can be reduced, and the connection speed and success rate are improved. The user only needs to operate one step to see the equipment list needing to be projected, and the screen can be projected by clicking once.
For example, as shown in fig. 6, an embodiment of the present application provides an information screen projection method, and a specific implementation process may be:
the receiving device (which may be the display device in the foregoing embodiment) performs the following steps:
1. and collecting local network information. After the program is started, local network information (including wired/wireless networking IP, subnet mask, hotspot SSID, password and the like) is collected.
2. Feature data is generated. The characteristic data belonging to the receiving device is generated in a specific way, such as encrypting the network information by an encryption method such as AES.
3. Discovered as a Wi-Fi P2P device turn on. Specifically, a Wi-Fi P2P group is created that other Wi-Fi P2P devices can discover.
4. Registering for Wi-Fi P2P web services.
5. The generated feature data is written in the service.
6. And monitoring the connection. And monitoring the connection request sent by the sending equipment, and establishing connection with the corresponding sending equipment.
7. And when the display information sent by the sending equipment is received, displaying the corresponding display information to realize screen projection.
The sending device (which may be the information source device in the foregoing embodiment) performs the following steps:
1. discover Wi-Fi P2P devices. The procedure is initiated to discover surrounding Wi-Fi P2P devices.
2. Discover Wi-Fi P2P services. Discovering the network service registered by the Wi-Fi P2P device.
3. Feature data in the service is obtained. The name of the service and other information carried by it are obtained.
4. And judging whether the filtering condition is met. And judging whether the discovered Wi-Fi P2P device is connectable to the sending device according to the filtering condition, such as judging whether the name of the service is a certain negotiated character string. And if the filtering condition is met, the next step is carried out, otherwise, the first step is returned, and other Wi-Fi P2P devices are continuously discovered.
5. And analyzing the characteristic data to obtain the receiving equipment information. And analyzing the acquired characteristic data to generate information of the receiving equipment capable of projecting the screen.
6. And adding the receiving device into a projectable screen list.
7. A projectable screen list of the receiving device is displayed.
8. A receiving device is selected to send a connection request.
9. And judging whether the connection is successful. When the connection is successful, screen projection to the receiving device is started. When the connection is unsuccessful, it continues to wait for the receiving device selected by the user. When the screen is projected, the Wi-Fi P2P connection between the screen and the receiving device can be disconnected, and the transmission of the screen projection data is realized through a router in the same local area network.
Illustratively, as shown in fig. 7, an embodiment of the present application provides a screen projection device 700 for information. Applied to the information source equipment, the device comprises:
an access identifier obtaining module 701, configured to obtain, based on a wireless direct connection service, a network access identifier of at least one display device that provides the wireless direct connection service when the at least one display device is detected based on the wireless direct connection service.
A display device selection module 702, configured to, when a selection operation on the at least one display device is detected, determine a selected target display device from the at least one display device based on the selection operation.
A local area network access module 703, configured to access to a local area network corresponding to the target display device based on the network access identifier when it is determined that the local area network is different from the target display device.
A first information display module 704, configured to send information to be displayed to the target display device through the accessed local area network, so that the target display device displays the information to be displayed.
The screen projection device of the information can automatically acquire the network access identifiers of the display equipment based on the wireless direct connection service when the display equipment providing the wireless direct connection service is detected under the condition that manual operation is not needed on the display equipment; the selected target display equipment is determined from the display equipment based on the selection operation, when the target display equipment is determined to be in a different local area network, the target display equipment and the target display equipment are accessed into the same local area network based on the network access identification, meanwhile, the information to be displayed is sent to the target display equipment under the same local area network, so that the target display equipment displays the information to be displayed, the transmission efficiency of the information to be displayed across equipment is effectively guaranteed through the transmission of the same local area network, and the screen projection efficiency is greatly improved through the automatic acquisition of the network access identification and the efficient transmission of the information to be displayed.
Illustratively, the local area network access module includes: the first local area network information acquisition submodule is used for acquiring first local area network information of a currently accessed local area network; the second local area network information acquisition submodule is used for acquiring second local area network information of the local area network accessed by the target display equipment according to the network access identification; a local area network determining submodule for determining that the local area network is different from the target display device when the first local area network information does not correspond to the second local area network information; and the local area network access sub-module is used for accessing to the local area network corresponding to the target display equipment based on the network access identifier.
Illustratively, the network access identification comprises a router identification; the local area network access module comprises: a router identification determining submodule, configured to obtain, based on the network access identification, a router identification of a target router to which the target display device is connected; the target display equipment is positioned in a local area network controlled by the target router; and the device connection sub-module is used for establishing connection with the target router based on the router identification of the target router so as to access the local area network controlled by the target router.
Illustratively, the first information display module includes: the first information acquisition submodule is used for acquiring the content currently displayed by the display screen to obtain the information to be displayed; and the first information sending submodule is used for sending the information to be displayed to the target display equipment through the target router so as to enable the target display equipment to display the information to be displayed.
Illustratively, the first information sending submodule includes: an interface identifier obtaining unit, configured to obtain a transmission interface identifier of the target display device based on a wireless direct connection service provided by the target display device; and the first information sending unit is used for sending the information to be displayed to a transmission interface of the target display equipment through the target router based on the transmission interface identifier so as to enable the target display equipment to display the information to be displayed.
Illustratively, the first information display module includes: the verification identifier obtaining sub-module is used for obtaining the verification identifier broadcasted by the target display equipment based on the wireless direct connection service provided by the target display equipment; and the information sending submodule is used for sending the information to be displayed and the check identifier to the target display equipment through the target router so that the target display equipment displays the information to be displayed after the check identifier passes the check.
Illustratively, the apparatus further comprises: a point-to-point connection establishing module, configured to establish a point-to-point connection with the target display device based on the wireless direct connection service; the information display module to be displayed comprises: a connection service closing submodule, configured to close a wireless direct connection service to disconnect a point-to-point connection with the target display device; and the second information sending submodule is used for sending the information to be displayed to the target display equipment through the accessed local area network so that the target display equipment can display the information to be displayed.
Illustratively, the apparatus further comprises: the service name acquisition module is used for respectively acquiring the wireless service names broadcasted by the at least one display device in the call-back device; the display equipment filtering module is used for filtering the display equipment of which the wireless service name is not matched with the preset character string to obtain the filtered equipment of which the wireless service name is matched with the preset character string; and the selection control display module is used for displaying a selection control corresponding to the filtered equipment in a display screen so as to detect the selection operation aiming at the filtered equipment through the selection control.
Illustratively, the apparatus further comprises: and the third information display module is used for sending information to be displayed to the target display equipment when the target display equipment and the target display equipment are in the same local area network, so that the target display equipment displays the information to be displayed.
Illustratively, as shown in fig. 8, an embodiment of the present application provides a screen projection apparatus 800 for information. Applied to a display device, the apparatus comprising:
a service starting module 801, configured to start a wireless direct connection service for the display device.
A connection establishing module 802, configured to establish a point-to-point connection with an information source device when the display device receives a connection request sent by the information source device based on the started wireless direct connection service.
An information receiving module 803, configured to receive, through a local area network of a display device, information to be displayed sent by the information source device.
A second information display module 804, configured to display the information to be displayed by the display device.
According to the screen projection method of the information, the display device starts the wireless direct connection service, under the condition that manual operation is not needed on the display device, the display device can establish point-to-point connection with the information source device based on the started wireless direct connection service, meanwhile, the display device receives the information to be displayed sent by the information source device under the same local area network, screen projection is achieved on the information to be displayed, screen projection efficiency is greatly improved due to efficient transmission of the information to be displayed, and therefore screen projection efficiency of the information source device to the target display device can be improved.
Illustratively, the apparatus further comprises: and the service disconnection module is used for the display equipment to close the wireless direct connection service so as to disconnect the point-to-point connection with the information source equipment.
Illustratively, the apparatus further comprises:
the device identifier acquisition module is used for the display device to acquire the device identifier of the display device;
and the device identifier sending module is used for sending the device identifier to the information source device based on the wireless direct connection service so that the information source device sends a connection request to the display device based on the device identifier when detecting the selection operation aiming at the display device.
Illustratively, an information receiving module includes:
an access identifier obtaining submodule, configured to obtain, by the display device, a router identifier of a connected target router, to obtain a network access identifier;
an access identifier sending submodule, configured to send the network access identifier to the information source device, so that the information source device accesses a local area network where the target router is located based on the network access identifier;
and the information receiving submodule is used for receiving the information to be displayed, which is sent by the information source equipment based on the local area network where the target router is located, through the local area network of the display equipment.
Illustratively, a terminal device is provided. As shown in fig. 9, the terminal device includes: a processor 900, a memory 901, a display 902 with touch functionality, an input device 903, an output device 904, and a communication device 905. The number of the processors 900 in the terminal device may be one or more, and one processor 900 is taken as an example in fig. 9. The number of the memory 901 in the terminal device may be one or more, and one memory 901 is taken as an example in fig. 9. The processor 900, the memory 901, the display 902, the input device 903, the output device 904, and the communication device 905 of the terminal apparatus may be connected by a bus or by other means, and fig. 9 illustrates an example of connection by a bus. In an embodiment, the terminal device may be a computer, a mobile phone, a tablet, a projector, a smart screen, or an interactive smart tablet.
The memory 901 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the screen projection method of information according to any embodiment of the present invention.
The memory 901 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 901 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 901 may further include memory located remotely from the processor 900, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The display 902 is a display 902 with touch function, which may be a capacitive screen, an electromagnetic screen, or an infrared screen. Generally, the display screen 902 is used for displaying data according to instructions of the processor 900, and is also used for receiving touch operations applied to the display screen 902 and sending corresponding signals to the processor 900 or other devices. Optionally, when the display screen 902 is an infrared screen, the display screen 902 further includes an infrared touch frame, and the infrared touch frame is disposed around the display screen 902, and may also be configured to receive an infrared signal and send the infrared signal to the processor 900 or other devices.
The communication device 905 is used for establishing a communication connection with other devices, and may be a wired communication device and/or a wireless communication device.
The input device 903 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control, and may also be a camera for acquiring images and a sound pickup apparatus for acquiring audio data. The output device 904 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 903 and the output device 904 can be set according to actual conditions.
The processor 900 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 901, that is, implements the above-described screen projection method of information.
Specifically, for example, when the processor 900 executes one or more programs stored in the memory 901, the steps in the above embodiments of the methods are implemented, and the corresponding functions and advantages are provided.
Illustratively, a display device is provided. The display device includes: the touch screen comprises a processor, a memory, a display screen with a touch function, an input device, an output device and a communication device. Fig. 9 may be referred to for a schematic diagram of the display device, and details are not repeated here. The number of processors in the display device may be one or more. The number of memories in the terminal device may be one or more. The processor, memory, display screen, input means, output means and communication means of the display device may be connected by a bus or other means. In an embodiment, the display device may be a computer, a mobile phone, a tablet, a projector, a smart screen, or an interactive smart tablet, etc. Specifically, the steps in the above embodiments of the methods are implemented, for example, when the processor executes one or more programs stored in the memory, and have corresponding functions and advantages.
By way of example, a storage medium containing computer-executable instructions for performing the steps in the above-described method embodiments when executed by a computer processor is provided with corresponding functions and advantages.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the description of the present application, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features.
The screen projection method of the information provided by the embodiment of the present application is described in detail above, a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium and sold or used as a stand-alone product. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or (module) elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-described examples merely represent several embodiments of the present invention and should not be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A screen projection method of information is applied to information source equipment and comprises the following steps:
when the information source equipment detects at least one display equipment providing wireless direct connection service based on the wireless direct connection service, acquiring a network access identifier of the at least one display equipment based on the wireless direct connection service;
when the information source device detects a selection operation on the at least one display device, determining a selected target display device from the at least one display device based on the selection operation;
when the information source device and the target display device are determined to be in different local area networks, accessing to the local area network corresponding to the target display device based on the network access identifier;
and the information source equipment sends information to be displayed to the target display equipment through the accessed local area network, so that the target display equipment displays the information to be displayed.
2. The screen projection method of information according to claim 1, wherein the network access identifier comprises a router identifier;
the accessing to the local area network corresponding to the target display device based on the network access identifier includes:
obtaining a router identification of a target router connected with the target display equipment based on the network access identification; the target display equipment is positioned in a local area network controlled by the target router;
and establishing connection with the target router based on the router identification of the target router so as to access the local area network controlled by the target router.
3. The information screen projection method according to claim 2, wherein the sending information to be displayed to the target display device through the accessed local area network so that the target display device displays the information to be displayed comprises:
acquiring the content currently displayed by a display screen to obtain the information to be displayed;
and sending the information to be displayed to the target display equipment through the target router so as to enable the target display equipment to display the information to be displayed.
4. The information screen projection method according to claim 3, wherein the sending, by the target router, the information to be displayed to the target display device so that the target display device displays the information to be displayed comprises:
acquiring a check identifier broadcasted by the target display equipment based on the wireless direct connection service provided by the target display equipment;
and sending the information to be displayed and the check identifier to the target display equipment through the target router, so that the target display equipment displays the information to be displayed after the check identifier passes the check.
5. The method of any of claims 1-4, wherein after determining the selected target display device from the at least one display device based on the selection operation, the method further comprises:
establishing a point-to-point connection with the target display device based on the wireless direct connection service;
the sending information to be displayed to the target display device through the accessed local area network so that the target display device displays the information to be displayed includes:
closing the wireless direct connection service to disconnect the point-to-point connection with the target display device;
and sending information to be displayed to the target display equipment through the accessed local area network so that the target display equipment displays the information to be displayed.
6. The method of any of claims 1-4, wherein after determining the selected target display device from the at least one display device based on the selection operation, the method further comprises:
and when the target display device and the target display device are in the same local area network, sending information to be displayed to the target display device, so that the target display device displays the information to be displayed.
7. A screen projection method of information is applied to a display device, and comprises the following steps:
the display equipment starts a wireless direct connection service;
when the display equipment receives a connection request sent by information source equipment based on the started wireless direct connection service, point-to-point connection is established with the information source equipment;
receiving information to be displayed sent by the information source equipment through a local area network of the display equipment;
and the display equipment displays the information to be displayed.
8. The information screen projection method according to claim 7, wherein before receiving the information to be displayed sent by the information source device through a local area network of a display device, the method further comprises:
and the display equipment closes the wireless direct connection service so as to disconnect the point-to-point connection with the information source equipment.
9. The screen projection method of information according to claim 7, wherein when the display device receives a connection request sent by an information source device based on the turned-on wireless direct connection service, before establishing a peer-to-peer connection with the information source device, the method further comprises:
the display equipment acquires an equipment identifier of the display equipment;
transmitting the device identification to the information source device based on a wireless direct connection service, so that the information source device transmits a connection request to the display device based on the device identification when detecting a selection operation for the display device.
10. The information screen projection method according to claim 7, wherein receiving the information to be displayed sent by the information source device through a local area network of a display device comprises:
the display equipment acquires a router identifier of a connected target router to obtain a network access identifier;
sending the network access identification to the information source device so that the information source device is accessed to the local area network where the target router is located based on the network access identification;
and receiving the information to be displayed sent by the information source equipment through the local area network where the target router is located.
11. A screen projection device of information is characterized in that the device is applied to information source equipment, and the device comprises:
the access identifier acquisition module is used for acquiring a network access identifier of at least one display device based on the wireless direct connection service when the information source device detects the at least one display device providing the wireless direct connection service based on the wireless direct connection service;
a display device selection module, configured to, when the information source device detects a selection operation on the at least one display device, determine a selected target display device from the at least one display device based on the selection operation;
the local area network access module is used for accessing to a local area network corresponding to the target display device based on the network access identifier when the information source device and the target display device are determined to be in different local area networks;
the first information display module is used for sending information to be displayed to the target display equipment by the information source equipment through the accessed local area network so that the target display equipment can display the information to be displayed.
12. A screen projection device of information is characterized in that the device is applied to a display device and comprises:
the service starting module is used for starting the wireless direct connection service by the display equipment;
the connection establishing module is used for establishing point-to-point connection with the information source equipment when the display equipment receives a connection request sent by the information source equipment based on the started wireless direct connection service;
the information receiving module is used for receiving the information to be displayed sent by the information source equipment through a local area network of the display equipment;
and the second information display module is used for displaying the information to be displayed by the display equipment.
13. A terminal device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of screen projection of information as recited in any of claims 1-6.
14. A display device, comprising: the touch screen comprises a memory, a display screen with a touch function and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of screen projection of information as claimed in any one of claims 7-10.
15. A storage medium containing computer-executable instructions for performing a method of screen projection of information as claimed in any one of claims 1-6 or 7-10 when executed by a computer processor.
CN202111338612.8A 2021-11-12 2021-11-12 Information screen projection method and device, terminal device, display device and storage medium Pending CN114115775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111338612.8A CN114115775A (en) 2021-11-12 2021-11-12 Information screen projection method and device, terminal device, display device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111338612.8A CN114115775A (en) 2021-11-12 2021-11-12 Information screen projection method and device, terminal device, display device and storage medium

Publications (1)

Publication Number Publication Date
CN114115775A true CN114115775A (en) 2022-03-01

Family

ID=80379276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111338612.8A Pending CN114115775A (en) 2021-11-12 2021-11-12 Information screen projection method and device, terminal device, display device and storage medium

Country Status (1)

Country Link
CN (1) CN114115775A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554262A (en) * 2022-03-08 2022-05-27 四川长虹电器股份有限公司 Method for projecting screen between mobile equipment and smart television
CN115834942A (en) * 2022-11-23 2023-03-21 北京奇艺世纪科技有限公司 Screen projection method, device, equipment, server and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130043336A (en) * 2011-10-20 2013-04-30 엘지전자 주식회사 Display device, and access point connection method of a display device
CN104657099A (en) * 2015-01-15 2015-05-27 小米科技有限责任公司 Method, device and system for screen projection
WO2017101419A1 (en) * 2015-12-15 2017-06-22 乐视控股(北京)有限公司 Screen projection method
CN107949037A (en) * 2018-01-11 2018-04-20 北京小米移动软件有限公司 Method for network access, apparatus and system, storage medium
CN108901024A (en) * 2018-06-25 2018-11-27 北京小鱼在家科技有限公司 Control throws screen receiving device networking and throws screen receiving device networking methods, equipment
WO2019184533A1 (en) * 2018-03-29 2019-10-03 深圳市九洲电器有限公司 Method and apparatus for remotely configuring control panel of intelligent device
CN110333836A (en) * 2019-07-05 2019-10-15 网易(杭州)网络有限公司 Throwing screen method, apparatus, storage medium and the electronic device of information
CN110515572A (en) * 2018-05-21 2019-11-29 腾讯科技(深圳)有限公司 Throw screen method, apparatus, storage medium and computer equipment
CN110602087A (en) * 2019-09-10 2019-12-20 腾讯科技(深圳)有限公司 Intelligent screen projection method and device, intelligent terminal and server
CN110830841A (en) * 2019-12-04 2020-02-21 郑州华视美达信息技术有限公司 Screen projection method, system and intelligent device under different local area networks
CN111459433A (en) * 2020-03-30 2020-07-28 广州视源电子科技股份有限公司 Screen transmission method, equipment and storage medium
CN111556553A (en) * 2020-05-11 2020-08-18 天翼电信终端有限公司 Wireless screen projection method, terminal, electronic equipment and storage medium
CN112040304A (en) * 2020-09-04 2020-12-04 上海阅目科技有限公司 Hard disk video recorder system supporting wireless screen projection
CN112242980A (en) * 2019-07-19 2021-01-19 腾讯科技(武汉)有限公司 Screen projection method and device
CN113050901A (en) * 2021-03-30 2021-06-29 联想(北京)有限公司 Control method and device and electronic equipment
CN113507517A (en) * 2021-07-07 2021-10-15 北京字节跳动网络技术有限公司 Screen projection equipment discovery method and device, electronic equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130043336A (en) * 2011-10-20 2013-04-30 엘지전자 주식회사 Display device, and access point connection method of a display device
CN104657099A (en) * 2015-01-15 2015-05-27 小米科技有限责任公司 Method, device and system for screen projection
WO2017101419A1 (en) * 2015-12-15 2017-06-22 乐视控股(北京)有限公司 Screen projection method
CN107949037A (en) * 2018-01-11 2018-04-20 北京小米移动软件有限公司 Method for network access, apparatus and system, storage medium
WO2019184533A1 (en) * 2018-03-29 2019-10-03 深圳市九洲电器有限公司 Method and apparatus for remotely configuring control panel of intelligent device
CN110515572A (en) * 2018-05-21 2019-11-29 腾讯科技(深圳)有限公司 Throw screen method, apparatus, storage medium and computer equipment
CN108901024A (en) * 2018-06-25 2018-11-27 北京小鱼在家科技有限公司 Control throws screen receiving device networking and throws screen receiving device networking methods, equipment
CN110333836A (en) * 2019-07-05 2019-10-15 网易(杭州)网络有限公司 Throwing screen method, apparatus, storage medium and the electronic device of information
CN112242980A (en) * 2019-07-19 2021-01-19 腾讯科技(武汉)有限公司 Screen projection method and device
CN110602087A (en) * 2019-09-10 2019-12-20 腾讯科技(深圳)有限公司 Intelligent screen projection method and device, intelligent terminal and server
CN110830841A (en) * 2019-12-04 2020-02-21 郑州华视美达信息技术有限公司 Screen projection method, system and intelligent device under different local area networks
CN111459433A (en) * 2020-03-30 2020-07-28 广州视源电子科技股份有限公司 Screen transmission method, equipment and storage medium
CN111556553A (en) * 2020-05-11 2020-08-18 天翼电信终端有限公司 Wireless screen projection method, terminal, electronic equipment and storage medium
CN112040304A (en) * 2020-09-04 2020-12-04 上海阅目科技有限公司 Hard disk video recorder system supporting wireless screen projection
CN113050901A (en) * 2021-03-30 2021-06-29 联想(北京)有限公司 Control method and device and electronic equipment
CN113507517A (en) * 2021-07-07 2021-10-15 北京字节跳动网络技术有限公司 Screen projection equipment discovery method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554262A (en) * 2022-03-08 2022-05-27 四川长虹电器股份有限公司 Method for projecting screen between mobile equipment and smart television
CN115834942A (en) * 2022-11-23 2023-03-21 北京奇艺世纪科技有限公司 Screen projection method, device, equipment, server and storage medium

Similar Documents

Publication Publication Date Title
US11490323B2 (en) Method and device for accessing a network hotspot device by an unconfigured device
US10038772B2 (en) Communication systems and methods
CN107483715B (en) Method and system for communication between terminal and equipment, terminal and storage medium
EP3484196B1 (en) Method and apparatus for registering wireless device in wireless communication system
WO2017107470A1 (en) Method and device for establishing wireless connection
US9826021B2 (en) Communication apparatus and method for controlling the same
WO2022089088A1 (en) Display device, mobile terminal, screen-casting data transmission method, and transmission system
CN112261604B (en) Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium
CN114115775A (en) Information screen projection method and device, terminal device, display device and storage medium
CN110972161B (en) Automatic networking method, device, equipment and readable medium
US20140254581A1 (en) Communication apparatus, communication system, and computer program
KR102036686B1 (en) Apparatus and method for selecting channel in wireless communication system
EP3051772B1 (en) Method and apparatus for accessing network
US11974351B2 (en) Device for wireless communication with other devices
CN106453370B (en) Method and device for registering IPC (inter-programmable logic controller) to NVR (network video recorder)
WO2021042612A1 (en) Wireless screen projection method and apparatus, device and storage medium
CN105933469B (en) Network access method and device for intelligent equipment and intelligent equipment
CN102904938A (en) Sharing method, associated device and system of image data
CN105307288A (en) Disconnecting method and device
CN108200658A (en) The method of connection is established between terminal and applies its terminal
US10873680B2 (en) Communication apparatus, communication method and storage medium storing program
JP6303431B2 (en) Image projection apparatus and image processing apparatus
CN212660337U (en) Wireless network connection system
CN114501406A (en) Method and system for realizing rapid interconnection of equipment based on NFC
WO2022094852A1 (en) Device connection method and apparatus, and hardware device and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination