CN105578391B - Information processing method, device and system and terminal equipment - Google Patents

Information processing method, device and system and terminal equipment Download PDF

Info

Publication number
CN105578391B
CN105578391B CN201510959237.7A CN201510959237A CN105578391B CN 105578391 B CN105578391 B CN 105578391B CN 201510959237 A CN201510959237 A CN 201510959237A CN 105578391 B CN105578391 B CN 105578391B
Authority
CN
China
Prior art keywords
terminal
router
tdls
transmission
distance
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.)
Active
Application number
CN201510959237.7A
Other languages
Chinese (zh)
Other versions
CN105578391A (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510959237.7A priority Critical patent/CN105578391B/en
Publication of CN105578391A publication Critical patent/CN105578391A/en
Application granted granted Critical
Publication of CN105578391B publication Critical patent/CN105578391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure relates to an information processing method, an information processing device, an information processing system and terminal equipment, wherein the method is applied to a first terminal with the transmission capability of a tunnel direct connection channel (TDLS), and comprises the following steps: determining whether a second terminal in the wireless local area network has TDLS transmission capability; if the second terminal is determined to have TDLS transmission capability, the TDLS is established with the second terminal; and sending the screen information of the first terminal to the second terminal through the TDLS, so that the second terminal displays the screen information. The screen projection information is transmitted through the TDLS, the transmission efficiency of the screen projection information is improved, the diversity of transmission paths is expanded, and network blockage caused by overweight load of a router in traditional transmission is avoided.

Description

Information processing method, device and system and terminal equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an information processing method, apparatus, system, and terminal device.
Background
With the development of communication technology, more and more terminals have a screen projection function. Further, in the case where the original terminal has a limited display screen, the screen information on the original terminal can be displayed through the terminal having a large screen.
Therefore, the screen projection mode can change the size of the display size, can realize the co-watching of a plurality of people, and provides a screen display method with better display effect for scenes such as family entertainment, office meetings and the like.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide an information processing method, apparatus, system, and terminal device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, an information processing method is provided, where the method is applied to a first terminal with a tunnel direct connection channel TDLS transmission capability, and the method includes:
determining whether a second terminal in the wireless local area network has TDLS transmission capability;
if the second terminal is determined to have TDLS transmission capability, the TDLS is established with the second terminal;
and sending the screen information of the first terminal to the second terminal through the TDLS, so that the second terminal displays the screen information.
The method for determining whether the second terminal in the wireless local area network has the TDLS transmission capability includes:
sending a broadcast message carrying a TDLS transmission identifier to the wireless local area network;
and if a response message which carries the TDLS transmission identification and is fed back by the second terminal according to the broadcast message is received, determining that the second terminal has the TDLS transmission capability.
The method for determining whether the second terminal in the wireless local area network has the TDLS transmission capability includes:
scanning broadcast messages sent by other terminals in the wireless local area network;
and if the broadcast message carrying the TDLS transmission identifier sent by the second terminal is obtained, determining that the second terminal has TDLS transmission capability.
The method for determining whether the second terminal in the wireless local area network has the TDLS transmission capability includes:
sending a TDLS transmission capability query request of the second terminal to a router of the wireless local area network;
and if the TDLS transmission identification which is sent by the router and corresponds to the second terminal is obtained, determining that the second terminal has TDLS transmission capacity.
The method for establishing the TDLS with the second terminal includes:
sending a request message carrying TDLS transmission information to the second terminal through the router of the wireless local area network;
receiving a TDLS establishment response returned by the second terminal through the router;
and sending confirmation information to the second terminal through the router.
As described above, the TDLS transmission information includes:
terminal identification, supported rate, and channel identification.
The method as described above, before the TDLS is established with the second terminal, further comprising:
measuring a first transmission distance with the second terminal;
measuring a second transmission distance between a router passing through the wireless local area network and the second terminal;
and comparing the first transmission distance with the second transmission distance, and determining the information transmission mode between the first terminal and the second terminal.
The method for comparing the first transmission distance with the second transmission distance to determine the information transmission mode with the second terminal includes:
if the first transmission distance is less than or equal to the second transmission distance, performing information transmission with the second terminal through the TDLS;
and if the first transmission distance is greater than the second transmission distance, carrying out information transmission with the second terminal through the router.
The method as described above, before the TDLS is established with the second terminal, further comprising:
and if the second terminal is in the dormant state, awakening the second terminal through the router of the wireless local area network.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing apparatus applied to a first terminal having a tunnel direct connection channel TDLS transmission capability, the apparatus including:
a determining module configured to determine whether a second terminal within the wireless local area network has TDLS transmission capability;
the establishing module is configured to establish the TDLS with the second terminal if the second terminal is determined to have TDLS transmission capacity;
a sending module configured to send the screen information of the first terminal to the second terminal through the TDLS, so that the second terminal displays the screen information.
The apparatus as described above, the determining module configured to:
sending a broadcast message carrying a TDLS transmission identifier to the wireless local area network;
and if a response message which carries the TDLS transmission identification and is fed back by the second terminal according to the broadcast message is received, determining that the second terminal has the TDLS transmission capability.
The apparatus as described above, the determining module configured to:
scanning broadcast messages sent by other terminals in the wireless local area network;
and if the broadcast message carrying the TDLS transmission identifier sent by the second terminal is obtained, determining that the second terminal has TDLS transmission capability.
The apparatus as described above, the determining module configured to:
sending a TDLS transmission capability query request of the second terminal to a router of the wireless local area network;
and if the TDLS transmission identification which is sent by the router and corresponds to the second terminal is obtained, determining that the second terminal has TDLS transmission capacity.
The apparatus as described above, the establishing module comprising:
a request unit configured to send a request message carrying TDLS transmission information to the second terminal through a router of the wireless local area network;
a receiving unit configured to receive a TDLS setup response returned by the second terminal through the router;
a confirmation unit configured to transmit confirmation information to the second terminal through the router.
The apparatus as described above, the TDLS transmission information comprising:
terminal identification, supported rate, and channel identification.
The apparatus as described above, further comprising:
a measurement module configured to measure a first transmission distance with the second terminal and to measure a second transmission distance with the second terminal through a router of the wireless local area network;
and the processing module is configured to compare the first transmission distance and the second transmission distance and determine an information transmission mode with the second terminal.
The apparatus as described above, the processing module configured to:
if the first transmission distance is less than or equal to the second transmission distance, performing information transmission with the second terminal through the TDLS;
and if the first transmission distance is greater than the second transmission distance, carrying out information transmission with the second terminal through the router.
The apparatus as described above, further comprising:
and the awakening module is configured to awaken the second terminal through the router of the wireless local area network if the second terminal is in the dormant state.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing system including: the router comprises a first terminal connected with a router of a wireless local area network and at least one second terminal, wherein the first terminal comprises the information processing device.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a terminal device, the device including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
determining whether a second terminal in the wireless local area network of the terminal has TDLS transmission capability or not;
if the second terminal is determined to have TDLS transmission capability, the TDLS is established with the second terminal;
and sending the screen information of the terminal to the second terminal through the TDLS, so that the second terminal displays the screen information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when the first terminal determines that a second terminal in the wireless local area network has the transmission capability of a tunnel direct connection channel TDLS, the TDLS is established between the first terminal and the second terminal, and screen information is sent to the second terminal through the TDLS, so that the second terminal displays the screen information. The screen projection information is transmitted through the TDLS, the transmission efficiency of the screen projection information is improved, the diversity of transmission paths is expanded, and network blockage caused by overweight load of a router in traditional transmission is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, are configured to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating an information processing method according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of information processing according to another exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of information processing according to another exemplary embodiment;
FIG. 4 is a block diagram illustrating an information processing apparatus according to an example embodiment;
fig. 5 is a block diagram illustrating an information processing apparatus according to another exemplary embodiment;
fig. 6 is a block diagram illustrating an information processing apparatus according to another exemplary embodiment;
FIG. 7 is a block diagram illustrating an information handling system in accordance with an exemplary embodiment;
fig. 8 is a block diagram illustrating a terminal device according to an example embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flow chart illustrating an information processing method according to an example embodiment. As shown in fig. 1, the information processing method may include the following steps:
in step 101, it is determined whether a second terminal in the wireless local area network has a tunnel direct connection channel TDLS transmission capability.
Specifically, the information processing method provided in this embodiment is applied to a first terminal that supports a transmission capability of a Tunnel Direct Link Setup (TDLS).
It should be explained that TDLS means that a secure, direct point-to-point interconnection can be created between two terminals supporting TDLS transmission capability in the wireless local area network. That is to say, a TDLS connection can be directly established between first terminals such as a mobile phone, a tablet computer, a television, a digital camera or a projector, which support TDLS transmission capability in the wireless local area network, to transmit information. Therefore, delay and interference caused by high transmission quantity of router load in the network are reduced, and transmission efficiency between terminals is improved.
Therefore, when the first terminal needs to transmit the screen information displayed by the terminal to the second terminal supporting the screen projection function in the wireless local area network through the TDLS, and display the screen information through the second terminal, whether the second terminal has the transmission capability of the TDLS, which is a tunnel direct connection channel, needs to be determined.
It should be noted that, according to a specific application scenario, it may be determined in multiple ways whether a second terminal in the wireless lan has a transmission capability of a tunnel direct connection channel TDLS, for example, as follows:
the first example specifically includes the following steps:
s1: sending a broadcast message carrying a TDLS transmission identifier to the wireless local area network;
s2: and if a response message which carries the TDLS transmission identification and is fed back by the second terminal according to the broadcast message is received, determining that the second terminal has the TDLS transmission capability.
Specifically, the first terminal sends a broadcast message carrying a TDLS transmission identifier to the wireless local area network, where the types of the broadcast message are many and may be selected according to application needs, and this embodiment does not limit this. Examples are as follows:
the types of broadcast messages may include: system broadcast messages, broadcast messages sent according to pre-negotiated protocols, broadcast messages sent using existing protocols, such as: broadcast messages sent over the MDNS protocol.
After other terminals in the wireless local area network receive the broadcast message which is sent by the first terminal and carries the TDLS transmission identifier, if the other terminals also have the TDLS transmission capability, a response message which carries the TDLS transmission identifier is fed back to the first terminal according to the broadcast message.
And if the first terminal receives a response message which carries the TDLS transmission identification and is fed back by the second terminal according to the broadcast message, determining that the second terminal has the TDLS transmission capability. And if the first terminal does not receive the response message which is fed back by the second terminal according to the broadcast message and carries the TDLS transmission identification, determining that the second terminal does not have the TDLS transmission capability.
The second example specifically includes the following steps:
s1: scanning broadcast messages sent by other terminals in the wireless local area network;
s2: and if the broadcast message carrying the TDLS transmission identifier sent by the second terminal is obtained, determining that the second terminal has TDLS transmission capability.
Specifically, the first terminal scans broadcast messages sent by other terminals in the wireless local area network. And judging whether the acquired broadcast message contains the broadcast message which is sent by the second terminal and carries the TDLS transmission identification.
If the first terminal acquires the broadcast message which is sent by the second terminal and carries the TDLS transmission identification, the second terminal is determined to have TDLS transmission capability; and if the first terminal does not acquire the broadcast message which is sent by the second terminal and carries the TDLS transmission identification, determining that the second terminal does not have the TDLS transmission capability.
The third example specifically includes the following steps:
s1: sending a TDLS transmission capability query request of the second terminal to a router of the wireless local area network;
s2: and if the TDLS transmission identification which is sent by the router and corresponds to the second terminal is obtained, determining that the second terminal has TDLS transmission capacity.
Specifically, the first terminal sends a TDLS transmission capability query request of the second terminal to the affiliated wireless local area network router. And after receiving the query request sent by the first terminal, the router queries the pre-stored terminal registration information supporting the transmission capability.
If the terminal registration information contains the second terminal, sending a TDLS transmission identifier corresponding to the second terminal to the first terminal; and if the terminal registration information does not contain the second terminal, sending a TDLS unsupported response message to the first terminal.
When the first terminal acquires the TDLS transmission identifier which is sent by the router and corresponds to the second terminal, the second terminal is determined to have TDLS transmission capability; and when the first terminal acquires that the TDLS sent by the router does not support the response message, determining that the second terminal does not have the TDLS transmission capability.
It should be noted that the above examples are only examples, and different manners may be selected to determine whether the second terminal has the transmission capability of the tunnel direct connection channel TDLS according to actual application situations.
In step 102, if it is determined that the second terminal has TDLS transmission capability, the TDLS is established with the second terminal.
Specifically, when the first terminal determines that the second terminal has the TDLS transmission capability, the TDLS transmission information supported by the second terminal is interacted with the first terminal through the router according to a preset TDLS protocol. The TDLS transmission information specifically includes: terminal identification, supported rate, and channel identification. And further, a TDLS connection is established between the first terminal and the second terminal.
In step 103, screen information is sent to the second terminal through the TDLS, so that the second terminal displays the screen information.
The first terminal sends the screen information to the second terminal through the TDLS between the first terminal and the second terminal, and the second terminal supporting screen projection displays the received screen information. For example:
the first terminal in the above embodiments may be a mobile phone, a tablet computer, a personal computer, or the like, and the second terminal in the above embodiments may be a television, a projector, or the like, which may be selected according to specific application requirements, which is not limited in this embodiment.
In summary, in the information processing method provided in this embodiment, if the first terminal determines that the second terminal in the wireless lan has the TDLS transmission capability, the TDLS is established with the second terminal, and the screen information is sent to the second terminal through the TDLS, so that the second terminal displays the screen information. The screen projection information is transmitted through the TDLS, the transmission efficiency of the screen projection information is improved, the diversity of transmission paths is expanded, and network blockage caused by overweight load of a router in traditional transmission is avoided.
Figure 2 is a flow chart illustrating an information processing method according to another exemplary embodiment,
as shown in fig. 2, for step 102 shown in fig. 1, several steps may be included as follows:
in step 201, if it is known that the second terminal is in a dormant state, the second terminal is awakened through the router of the wireless lan.
Specifically, if the first terminal learns that the second terminal is in the sleep state, the router of the wireless lan is instructed to wake up the second terminal. Therefore, the router sends the awakening instruction to the second terminal, and the second terminal is switched to a working state according to the awakening instruction so as to establish TDLS with the first terminal.
In step 202, a request message carrying TDLS transmission information is sent to the second terminal through the router of the wireless local area network.
Specifically, after the first terminal obtains the wakeup response sent by the router, it is known that the second terminal is currently in the working state. And further, sending a request message carrying the TDLS transmission information to the second terminal through a router of the wireless local area network.
Wherein the TDLS transmission information includes: terminal identification, supported rate, and channel identification. Therefore, the second terminal can acquire the transmission information of the first terminal requesting to establish the TDLS, and determine whether to agree with the establishment of the connection with the first terminal according to the transmission information.
In step 203, a TDLS setup response returned by the second terminal through the router is received.
In step 204, an acknowledgement is sent to the second terminal via the router.
Specifically, if the second terminal agrees to establish the TDLS connection with the first terminal, a TDLS setup response is returned to the router, and the router sends the TDLS setup response to the first terminal.
And then, after the first terminal receives the TDLS establishment response sent by the router, the first terminal sends confirmation information to the second terminal through the router. Thus, the first terminal establishes a TDLS connection with the second terminal, and the first terminal can transmit screen information to the second terminal through the TDLS.
In summary, in the information processing method provided in this embodiment, if the first terminal learns that the second terminal is in the dormant state, the router wakes up the second terminal, and then the TDLS is established with the second terminal through the router. The reliability of screen projection information transmission through TDLS is achieved, the transmission efficiency of the screen projection information is improved, the diversity of transmission paths is expanded, and network blockage caused by overweight load of a router in traditional transmission is avoided.
Figure 3 is a flow chart illustrating an information processing method according to another exemplary embodiment,
as shown in fig. 3, before step 102 of the above embodiment, the following steps may also be included:
in step 301, a first transmission distance to the second terminal is measured.
In particular, the first terminal measures a first transmission distance with the second terminal. The measurement mode of the first transmission distance is many, and can be selected according to application requirements, for example:
when the first terminal receives the broadcast message sent by the second terminal, the first transmission distance between the second terminal and the first terminal can be determined according to the signal strength of the broadcast message and the transmission power included in the broadcast message.
In step 302, a second transmission distance between a router through the wireless local area network and the second terminal is measured.
Specifically, the first terminal measures a second transmission distance between the router through the wireless local area network and the second terminal. The measurement mode of the second transmission distance is many, and can be selected according to the application requirement, for example:
the first terminal sends a first heartbeat signal to the router, and the distance between the first terminal and the router is determined according to the first heartbeat response signal returned by the router.
And the router determines the distance between the second terminal and the router according to a second heartbeat response signal returned by the second terminal.
And then, the first terminal determines a second transmission distance between the router of the first terminal and the second terminal according to the distance between the router of the first terminal and the router and the distance between the router of the second terminal and the second terminal.
In step 303, the first transmission distance and the second transmission distance are compared to determine an information transmission mode with the second terminal.
Specifically, the comparing, by the first terminal, the first transmission distance with the second transmission distance to determine the information transmission mode with the second terminal includes:
if the first terminal knows that the first transmission distance is less than or equal to the second transmission distance, the first terminal transmits information with the second terminal through TDLS;
and if the first terminal knows that the first transmission distance is greater than the second transmission distance, the first terminal transmits information with the second terminal through the router.
In summary, in the information processing method provided in this embodiment, the first terminal determines the information transmission manner with the second terminal by measuring the first transmission distance with the second terminal and measuring the second transmission distance between the router of the wireless local area network and the second terminal, and comparing the first transmission distance with the second transmission distance. The switching of the transmission paths of the screen projection information is realized, and the transmission efficiency of the screen projection information is improved.
Described below are disclosed apparatus embodiments that may be configured to perform disclosed method embodiments. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 4 is a block diagram illustrating an information processing apparatus, which may be implemented by software, hardware, or a combination of both, according to an exemplary embodiment.
The information processing device is applied to a first terminal with the transmission capability of a tunnel direct connection channel TDLS. As shown in fig. 4, the apparatus includes: a determination module 11, a setup module 12 and a sending module 13, wherein,
a determining module 11 configured to determine whether a second terminal in the wireless local area network has TDLS transmission capability;
as an example, the determining module 11 is configured to:
sending a broadcast message carrying a TDLS transmission identifier to the wireless local area network;
and if a response message which carries the TDLS transmission identification and is fed back by the second terminal according to the broadcast message is received, determining that the second terminal has the TDLS transmission capability.
As another example, the determination module 11 is configured to:
scanning broadcast messages sent by other terminals in the wireless local area network;
and if the broadcast message carrying the TDLS transmission identifier sent by the second terminal is obtained, determining that the second terminal has TDLS transmission capability.
As another example, the determination module 11 is configured to:
sending a TDLS transmission capability query request of the second terminal to a router of the wireless local area network;
and if the TDLS transmission identification which is sent by the router and corresponds to the second terminal is obtained, determining that the second terminal has TDLS transmission capacity.
A setup module 12 configured to, if it is determined that the second terminal has TDLS transmission capability, setup the TDLS with the second terminal;
a sending module 13 configured to send the screen information of the first terminal to the second terminal through the TDLS, so that the second terminal displays the screen information.
It should be noted that the foregoing explanation of the embodiment of the information processing method is also applicable to the information processing apparatus of the embodiment, and the implementation principle is similar, and is not described herein again.
In summary, in the information processing apparatus provided in this embodiment, if the first terminal determines that the second terminal in the wireless lan has the TDLS transmission capability, the TDLS is established with the second terminal, and the screen information is sent to the second terminal through the TDLS, so that the second terminal displays the screen information. The screen projection information is transmitted through the TDLS, the transmission efficiency of the screen projection information is improved, the diversity of transmission paths is expanded, and network blockage caused by overweight load of a router in traditional transmission is avoided.
Fig. 5 is a block diagram illustrating an information processing apparatus according to another exemplary embodiment, which may be implemented by software, hardware, or a combination of both,
as shown in fig. 5, based on fig. 4, the establishing module 12 includes: a requesting unit 121, a receiving unit 122, and a confirming unit 123, wherein,
a requesting unit 121, configured to send, to the second terminal, a request message carrying TDLS transmission information through a router of the wireless local area network;
wherein the TDLS transmission information includes: terminal identification, supported rate, and channel identification.
A receiving unit 122 configured to receive a TDLS setup response returned by the second terminal through the router;
a confirmation unit 123 configured to send confirmation information to the second terminal through the router.
Further, the apparatus further comprises:
and the wake-up module 14 is configured to wake up the second terminal through a router of the wireless local area network if it is known that the second terminal is in a dormant state.
It should be noted that the foregoing explanation of the embodiment of the information processing method is also applicable to the information processing apparatus of the embodiment, and the implementation principle is similar, and is not described herein again.
In summary, in the information processing apparatus provided in this embodiment, if the first terminal learns that the second terminal is in the dormant state, the router wakes up the second terminal, and then the TDLS is established with the second terminal through the router. The reliability of screen projection information transmission through TDLS is achieved, the transmission efficiency of the screen projection information is improved, the diversity of transmission paths is expanded, and network blockage caused by overweight load of a router in traditional transmission is avoided.
Fig. 6 is a block diagram illustrating an information processing apparatus, which may be implemented by software, hardware, or a combination of both, according to another exemplary embodiment.
Referring to fig. 6, based on the above embodiment, taking fig. 5 as an example, the apparatus further includes: a measurement module 15 and a processing module 16, wherein,
a measurement module 15 configured to measure a first transmission distance with the second terminal and measure a second transmission distance with the second terminal through a router of the wireless local area network;
and the processing module 16 is configured to compare the first transmission distance and the second transmission distance, and determine an information transmission mode with the second terminal.
Wherein the processing module 16 is configured to:
if the first transmission distance is less than or equal to the second transmission distance, performing information transmission with the second terminal through the TDLS;
and if the first transmission distance is greater than the second transmission distance, carrying out information transmission with the second terminal through the router.
It should be noted that the foregoing explanation of the embodiment of the information processing method is also applicable to the information processing apparatus of the embodiment, and the implementation principle is similar, and is not described herein again.
In summary, in the information processing apparatus provided in this embodiment, the first terminal determines the information transmission manner with the second terminal by measuring the first transmission distance with the second terminal and measuring the second transmission distance between the router of the wireless local area network and the second terminal, and comparing the first transmission distance with the second transmission distance. The switching of the transmission paths of the screen projection information is realized, and the transmission efficiency of the screen projection information is improved.
FIG. 7 is a block diagram illustrating an information handling system that may be implemented in software, hardware, or a combination of both, according to an example embodiment.
Referring to fig. 7, the system includes: a first terminal 2 connected to a router 1 of a wireless local area network, and at least one second terminal 3, wherein the first terminal 2 comprises: an information processing apparatus 4. The router 1, the first terminal 2, and the second terminal 3 of the wireless lan may employ the router, the first terminal, and the second terminal described in the above embodiments, and the information processing apparatus 4 may employ the information processing apparatus provided in the above embodiments.
It should be noted that the foregoing explanation of the embodiment of the information processing method is also applicable to the information processing system of the embodiment, and the implementation principle thereof is similar and will not be described herein again.
In summary, in the information processing system provided in this embodiment, if the first terminal determines that the second terminal in the wireless lan has the TDLS transmission capability, the TDLS is established with the second terminal, and the screen information is sent to the second terminal through the TDLS, so that the second terminal displays the screen information. The screen projection information is transmitted through the TDLS, the transmission efficiency of the screen projection information is improved, the diversity of transmission paths is expanded, and network blockage caused by overweight load of a router in traditional transmission is avoided.
Fig. 8 is a block diagram illustrating a terminal device according to an example embodiment. For example, the terminal device may be a mobile phone, a computer, a tablet device, a medical device, a television, etc.
Referring to fig. 8, terminal device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316.
The processing component 1302 generally controls overall operation of the device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operation at the device 1300. Examples of such data include instructions for any application or method configured to operate on device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 1306 provides power to the various components of device 1300. Power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1300.
The multimedia component 1308 includes a touch-sensitive display screen that provides an output interface between the device 1300 and a user. In some embodiments, the touch display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the back-facing camera may receive external multimedia data when the device 1300 is in an operational mode, such as a capture mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the device 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, audio component 1310 also includes a speaker configured to output audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1314 includes one or more sensors configured to provide various aspects of state assessment for the device 1300. For example, the sensor assembly 1314 may detect the open/closed state of the device 1300, the relative positioning of components, such as a display and keypad of the device 1300, the sensor assembly 1314 may also detect a change in the position of the device 1300 or a component of the device 1300, the presence or absence of user contact with the device 1300, orientation or acceleration/deceleration of the device 1300, and a change in the temperature of the device 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, configured for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the device 1300 and other devices in a wired or wireless manner. The device 1300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described information processing methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the device 1300 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform an information processing method, the method comprising:
determining whether a second terminal in the wireless local area network of the terminal has TDLS transmission capability or not;
if the second terminal is determined to have TDLS transmission capability, the TDLS is established with the second terminal;
and sending the screen information of the terminal to the second terminal through the TDLS, so that the second terminal displays the screen information.
It should be noted that the foregoing explanation of the embodiment of the information processing method is also applicable to the terminal device of the embodiment, and the implementation principle is similar, and is not described herein again.
In summary, in the terminal device provided in this embodiment, if the first terminal determines that the second terminal in the wireless local area network has the TDLS transmission capability, the TDLS is established between the first terminal and the second terminal, and the screen information is sent to the second terminal through the TDLS, so that the second terminal displays the screen information. The screen projection information is transmitted through the TDLS, the transmission efficiency of the screen projection information is improved, the diversity of transmission paths is expanded, and network blockage caused by overweight load of a router in traditional transmission is avoided.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An information processing method is applied to a first terminal with the transmission capability of a tunnel direct connection channel (TDLS), and the method comprises the following steps:
sending a TDLS transmission capability query request of a second terminal to a router of the wireless local area network, wherein the router prestores terminal registration information supporting transmission capability;
if the TDLS transmission identifier which is sent by the router and corresponds to the second terminal is obtained, the second terminal is determined to have TDLS transmission capacity;
receiving a broadcast message sent by the second terminal;
determining a first transmission distance between the first terminal and the second terminal according to the signal strength and the transmitting power of the broadcast message;
sending a first heartbeat signal to the router, and determining a first distance between the first terminal and the router according to a first heartbeat response signal returned by the router;
the router is instructed to send a second heartbeat signal to the second terminal, and a second distance between the router and the second terminal is determined according to a second heartbeat response signal returned by the second terminal;
determining a second transmission distance between a router of the wireless local area network and the second terminal according to the first distance and the second distance;
if the second terminal is determined to have TDLS transmission capability and the first transmission distance is smaller than or equal to the second transmission distance, the TDLS is established between the second terminal and the second terminal;
sending the screen information of the first terminal to the second terminal through the TDLS, so that the second terminal displays the screen information;
before establishing the TDLS with the second terminal, the method further comprises:
and if the second terminal is in the dormant state, awakening the second terminal through the router of the wireless local area network.
2. The method of claim 1, wherein establishing the TDLS with the second terminal comprises:
sending a request message carrying TDLS transmission information to the second terminal through the router of the wireless local area network;
receiving a TDLS establishment response returned by the second terminal through the router;
and sending confirmation information to the second terminal through the router.
3. The method of claim 2, wherein the TDLS transmission information comprises:
terminal identification, supported rate, and channel identification.
4. The method of claim 1, wherein the method further comprises:
and if the first transmission distance is greater than the second transmission distance, carrying out information transmission with the second terminal through the router.
5. An information processing apparatus applied to a first terminal having a transmission capability of a tunnel direct connection channel, TDLS, the apparatus comprising:
the determining module is configured to send a TDLS transmission capability query request of a second terminal to a router of the wireless local area network, wherein the router prestores terminal registration information supporting transmission capability; if the TDLS transmission identifier which is sent by the router and corresponds to the second terminal is obtained, the second terminal is determined to have TDLS transmission capacity;
the measurement module is configured to receive a broadcast message sent by the second terminal, determine a first transmission distance between the router and the second terminal according to the signal strength and the transmission power of the broadcast message, send a first heartbeat signal to the router, determine a first distance between the router and the first terminal according to a first heartbeat response signal returned by the router, instruct the router to send a second heartbeat signal to the second terminal, determine a second distance between the router and the second terminal according to a second heartbeat response signal returned by the second terminal, and determine a second transmission distance between the router and the second terminal through the wireless local area network according to the first distance and the second distance;
the wake-up module is configured to wake up the second terminal through a router of the wireless local area network if the second terminal is in a dormant state;
the establishing module is configured to establish the TDLS with the second terminal if the second terminal is determined to have TDLS transmission capacity and the first transmission distance is smaller than or equal to the second transmission distance;
a sending module configured to send the screen information of the first terminal to the second terminal through the TDLS, so that the second terminal displays the screen information.
6. The apparatus of claim 5, wherein the establishing module comprises:
a request unit configured to send a request message carrying TDLS transmission information to the second terminal through a router of the wireless local area network;
a receiving unit configured to receive a TDLS setup response returned by the second terminal through the router;
a confirmation unit configured to transmit confirmation information to the second terminal through the router.
7. The apparatus of claim 6, wherein the TDLS transmission information comprises:
terminal identification, supported rate, and channel identification.
8. The apparatus of claim 5, wherein the apparatus further comprises:
a processing module configured to perform information transmission with the second terminal through the router if the first transmission distance is greater than the second transmission distance.
9. An information processing system, comprising: the router comprises a first terminal connected with a router of a wireless local area network and at least one second terminal, wherein the first terminal comprises: an information processing apparatus according to any one of claims 5 to 8.
10. A terminal device, characterized in that the terminal device comprises:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
sending a TDLS transmission capability query request of a second terminal to a router of the wireless local area network, wherein the router prestores terminal registration information supporting transmission capability;
if the TDLS transmission identifier which is sent by the router and corresponds to the second terminal is obtained, the second terminal is determined to have TDLS transmission capacity;
receiving a broadcast message sent by the second terminal; determining a first transmission distance between the first terminal and the second terminal according to the signal strength and the transmitting power of the broadcast message; sending a first heartbeat signal to the router, and determining a first distance between the terminal equipment and the router according to a first heartbeat response signal returned by the router; the router is instructed to send a second heartbeat signal to the second terminal, and a second distance between the router and the second terminal is determined according to a second heartbeat response signal returned by the second terminal; determining a second transmission distance between a router of the wireless local area network and the second terminal according to the first distance and the second distance;
if the second terminal is determined to have TDLS transmission capability and the first transmission distance is smaller than or equal to the second transmission distance, the TDLS is established between the second terminal and the second terminal;
sending the screen information of the terminal to the second terminal through the TDLS, so that the second terminal displays the screen information;
before establishing the TDLS with the second terminal, the processor is further configured to:
and if the second terminal is in the dormant state, awakening the second terminal through the router of the wireless local area network.
CN201510959237.7A 2015-12-18 2015-12-18 Information processing method, device and system and terminal equipment Active CN105578391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510959237.7A CN105578391B (en) 2015-12-18 2015-12-18 Information processing method, device and system and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510959237.7A CN105578391B (en) 2015-12-18 2015-12-18 Information processing method, device and system and terminal equipment

Publications (2)

Publication Number Publication Date
CN105578391A CN105578391A (en) 2016-05-11
CN105578391B true CN105578391B (en) 2020-03-17

Family

ID=55887962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510959237.7A Active CN105578391B (en) 2015-12-18 2015-12-18 Information processing method, device and system and terminal equipment

Country Status (1)

Country Link
CN (1) CN105578391B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561340B (en) * 2017-09-25 2021-08-10 北京小鸟听听科技有限公司 Multimedia service processing method, device, multimedia service group and storage medium
CN111540219B (en) * 2020-05-06 2021-08-06 亚哲科技股份有限公司 Bidirectional bus signal priority coordination method based on artificial intelligence bus-road coordination
CN111565442A (en) * 2020-05-27 2020-08-21 西安万像电子科技有限公司 Screen projection method, equipment and system
CN115209212A (en) * 2021-04-13 2022-10-18 北京小米移动软件有限公司 System chip, electronic equipment and screen projection method of electronic equipment
CN114501090B (en) * 2022-01-30 2023-09-05 深圳创维-Rgb电子有限公司 Screen projection method, device, equipment and computer readable storage medium
CN117707448A (en) * 2023-05-08 2024-03-15 荣耀终端有限公司 Screen projection method, system, electronic equipment, network equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102076107A (en) * 2009-11-24 2011-05-25 索尼公司 Radio communication device, radio communication system, radio communication method, and program
CN102474890A (en) * 2009-08-10 2012-05-23 高通股份有限公司 Setting up a direct link in a peer to peer wireless network
CN102907125A (en) * 2009-11-04 2013-01-30 高通股份有限公司 Method and apparatus for peer discovery in a wireless communication network
WO2014051403A1 (en) * 2012-09-28 2014-04-03 Samsung Electronics Co., Ltd. Method and system for streaming multimedia content in a wireless fidelity display network environment
CN104219551A (en) * 2014-09-29 2014-12-17 武汉诚迈科技有限公司 Method for screen sharing and remote control of intelligent device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474890A (en) * 2009-08-10 2012-05-23 高通股份有限公司 Setting up a direct link in a peer to peer wireless network
CN102907125A (en) * 2009-11-04 2013-01-30 高通股份有限公司 Method and apparatus for peer discovery in a wireless communication network
CN102076107A (en) * 2009-11-24 2011-05-25 索尼公司 Radio communication device, radio communication system, radio communication method, and program
WO2014051403A1 (en) * 2012-09-28 2014-04-03 Samsung Electronics Co., Ltd. Method and system for streaming multimedia content in a wireless fidelity display network environment
CN104219551A (en) * 2014-09-29 2014-12-17 武汉诚迈科技有限公司 Method for screen sharing and remote control of intelligent device

Also Published As

Publication number Publication date
CN105578391A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
US12114262B2 (en) Wake-up method, wake-up apparatus, electronic device and computer-readable storage medium
EP3771261B1 (en) Paging synchronization indication method and device, paging synchronization method, and device and base station
US10237901B2 (en) Method and apparatus for connecting with controlled smart device, and storage medium
CN105578391B (en) Information processing method, device and system and terminal equipment
US11178637B2 (en) Paging message receiving method and device, and paging configuration method and device
CN112114765A (en) Screen projection method and device and storage medium
CN109451877B (en) Unmanned aerial vehicle control method and device, unmanned aerial vehicle and remote control equipment
CN107071862B (en) Account number binding method and device and intelligent equipment
CN110622616A (en) Control method and device of inactivity timer
US11284398B2 (en) Communication link configuration method and device
JP2017530489A (en) Terminal test method, apparatus, program, and recording medium
WO2022021017A1 (en) Capability reporting method and apparatus, and capability determination method and apparatus
WO2019028730A1 (en) Information generating method and device, signal transmitting method and device
JP2017513416A (en) Data transmission method, apparatus, facility, program, and recording medium
EP3565374A1 (en) Region configuration method and device
US20230276381A1 (en) Processing capability request, processing capability sending, and processing capability receiving methods and apparatuses
WO2020199080A1 (en) Network separation method and apparatus
CN108347718B (en) Method, device and storage medium for monitoring communication packet
US20240125917A1 (en) Ranging method and apparatus, and user equipment and storage medium
CN105472006A (en) File transfer method, device and system
CN112702803A (en) Channel determination method and device, terminal equipment and computer readable storage medium
US11089537B2 (en) Method and device for broadcasting system information for supporting network communication of terminal
CN108401518B (en) Channel coordination method and device
US11064415B2 (en) Wireless communication method and apparatus
US20220346083A1 (en) Methods and apparatuses for determining network allocation vector, and storage media

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant