CN111147613A - Method, device, electronic equipment and medium based on direct communication of video network - Google Patents

Method, device, electronic equipment and medium based on direct communication of video network Download PDF

Info

Publication number
CN111147613A
CN111147613A CN201911216382.0A CN201911216382A CN111147613A CN 111147613 A CN111147613 A CN 111147613A CN 201911216382 A CN201911216382 A CN 201911216382A CN 111147613 A CN111147613 A CN 111147613A
Authority
CN
China
Prior art keywords
terminal
address
direct communication
video networking
networking number
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
CN201911216382.0A
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911216382.0A priority Critical patent/CN111147613A/en
Publication of CN111147613A publication Critical patent/CN111147613A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2557Translation policies or rules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method, a device, electronic equipment and a storage medium based on direct communication of a video network, wherein the method is applied to a first terminal provided with a VVoE application program and comprises the following steps: the first terminal acquires a video networking number of the second terminal; the first terminal acquires the IP address of the second terminal through the video networking number; and the first terminal directly communicates with the second terminal through the IP address. In the embodiment of the invention, the first terminal acquires the video networking number based on the VVoE application program, acquires the corresponding IP address of the second terminal through the video networking number, and then can directly communicate among the terminals based on the IP address, namely the first terminal acquires the video networking number without the help of a video networking server and realizes the direct communication of an opposite terminal through the video networking number, so that the communication efficiency among the terminals is effectively improved, and the experience of a user in the direct communication through the video networking number is also improved.

Description

Method, device, electronic equipment and medium based on direct communication of video network
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and an apparatus for direct communication based on video networking, an electronic device, and a computer-readable storage medium.
Background
In the related technology, communication between video network terminals based on video network can be realized only by forwarding through a video network server, each video network terminal has a video network number, and the video network number refers to a number which is defined in the video network, is 20 bits, 11 bits, 8 bits or the like and consists of pure numbers (0-9). That is to say, the video network terminals need to forward with the help of the video network server, and the video network terminals can realize the communication with the opposite terminal through the video network number of the opposite terminal.
However, in the technology related to the internet of view, if there is no server of the internet of view in the internet of view or the server of the internet of view fails, how to perform direct communication through the internet of view by a common terminal is a technical problem to be solved at present.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a method based on direct communication over a video network, an apparatus based on direct communication over a video network, an electronic device and a computer readable storage medium, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for direct communication based on a video network, where the method is applied to a first terminal installed with a VVoE application, and the method includes:
the first terminal acquires a video networking number of a second terminal;
the first terminal acquires the IP address of the second terminal through the video networking number;
and the first terminal directly communicates with the second terminal through the IP address.
Optionally, the obtaining, by the first terminal, the IP address of the second terminal through the video networking number includes:
the first terminal establishes direct communication connection with the second terminal through the video networking number;
the first terminal sends a request message for acquiring the IP address of the second terminal to the second terminal through the connection;
the first terminal receives a response message which is sent by the second terminal and comprises an own IP address;
and the first terminal analyzes the response message to obtain the IP address of the second terminal.
Optionally, the obtaining, by the first terminal, the video networking number of the second terminal includes:
the first terminal receives the video networking number of the second terminal, which is input by a user through a preset window; or
And the first terminal receives a video networking number selected from a locally stored video networking number set by a user through a preset window.
A second aspect provides a method for direct communication based on a video network, the method being applied to a second terminal installed with a VVoE application, the method comprising:
the second terminal receives a request message sent by the first terminal for acquiring the IP address of the second terminal;
the second terminal inquires the IP address of the second terminal from a local cache according to the request message;
the second terminal encapsulates the IP address into a response message;
the second terminal sends the response message to the first terminal;
and the second terminal carries out direct communication with the first terminal when receiving the direct communication initiated by the first terminal through the IP address.
A third aspect provides an apparatus for direct communication based on a video network, the apparatus being applied to a first terminal installed with a VVoE application, wherein the apparatus comprises:
the first acquisition module is used for acquiring the video networking number of the second terminal;
the second acquisition module is used for acquiring the IP address of the second terminal through the video networking number;
and the communication module is used for realizing the direct communication between the first terminal and the second terminal through the IP address.
Optionally, the second obtaining module includes:
the establishing module is used for establishing direct communication connection with a second terminal through the video networking number;
a sending module, configured to send a request message for acquiring an IP address of the second terminal to the second terminal through the connection;
a first receiving module, configured to receive a response message including an own IP address sent by the second terminal;
and the analysis module is used for analyzing the response message to obtain the IP address of the second terminal.
Optionally, the first obtaining module includes:
the second receiving module is used for receiving the video networking number of the second terminal, which is input by a user through a preset window; and/or
And the third receiving module is used for receiving one video networking number selected from the locally stored video networking number set by the user through a preset window.
A fourth aspect provides an apparatus for direct communication based on a video network, the apparatus being applied to a second terminal installed with a VVoE application, the apparatus comprising:
the first receiving module is used for receiving a request message for acquiring the IP address of the second terminal, which is sent by a first terminal;
the query module is used for querying the IP address of the second terminal from a local cache according to the request message;
an encapsulation module for encapsulating the IP address into a response message;
a sending module, configured to send the response message to the first terminal;
a second receiving module, configured to receive a direct communication request initiated by the first terminal through the IP address;
and the communication module is used for realizing the direct communication between the second terminal and the first terminal when the second receiving module receives the direct communication request initiated by the first terminal through the IP address.
A fifth aspect provides an electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the direct communication over video network method as described above.
A sixth aspect provides a computer-readable storage medium, in which instructions, when executed by a processor in an electronic device, enable the electronic device to perform a method of direct communication based on a visual networking as described above.
The embodiment of the invention at least comprises the following advantages:
in the embodiment of the invention, after the first terminal installed with the VVoE application acquires the video networking number of the second terminal, the first terminal can acquire the IP address of the second terminal through the video networking number, and establish direct communication with the second terminal through the IP address. That is to say, in the embodiment of the present invention, the first terminal may first obtain the video networking number of the peer end through the VVoE application, and obtain the IP address of the corresponding second terminal through the video networking number based on the video networking, and then the first terminal implements direct communication with the second terminal based on the IP address, that is, the first terminal may obtain the video networking number of the peer end without using a video networking server, and implement direct communication of the peer end through the video networking number, thereby implementing direct communication between the common terminals through the video networking number, and then obtaining the IP address of the peer end through the video networking number, thereby improving communication efficiency between the common terminals, and user experience of direct communication through the video networking number.
Drawings
Fig. 1 is a flowchart of a method for direct communication based on a video network according to an embodiment of the present invention;
fig. 2 is another flowchart of a method for direct communication based on a video network according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device based on direct communication of a video network according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a second obtaining module according to an embodiment of the present invention;
FIG. 5 is another structural diagram of a device for direct communication based on video networking according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a direct communication system based on video networking according to an embodiment of the present invention;
fig. 7 is a flowchart of an application example provided in the embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
In the embodiment of the invention, in the video network, when the video network server or the video network server fails, the video network terminals can directly communicate with the opposite terminal through the video network number of the opposite terminal, such as accessing services such as web and ftp built by the opposite terminal. That is to say, the embodiment of the present invention mainly does not rely on forwarding by the video networking server, and the terminal can obtain the video networking number of the opposite terminal through the VVoE application program, and realizes direct communication (referred to as direct communication) with the opposite terminal through the video networking number.
In the video network, direct communication is carried out between video network terminals and an opposite terminal through a video network number of the opposite terminal, and in the video network, in order to realize direct communication between common terminals (such as PC terminals and the like) through the video network number, the embodiment of the invention provides that a VVoE application program is installed in the terminals (namely a first terminal, a second terminal and the like) in advance, the terminals can acquire the video network number of the opposite terminal through the VVoE application program, the IP address of the opposite terminal is acquired based on the video network number, direct communication is carried out with the opposite terminal based on the IP address, and the direct communication between the common terminals is realized based on the video network number.
In the VVoE application in this embodiment, since the video networking number of the peer is stored in advance, the user can select the video networking number of the peer that needs to communicate through the VVoE application, and a platform is provided for direct communication between common terminals through the video networking number. Furthermore, maintenance personnel can add or delete the video networking number of the opposite terminal stored in the VVoE application program according to needs.
Referring to fig. 1, a flowchart of a method for direct communication based on a video network according to an embodiment of the present invention is applied to a first terminal installed with a VVoE application, and the method includes:
in step 101, the first terminal obtains a video networking number of a second terminal;
in step 102, the first terminal obtains the IP address of the second terminal through the video networking number;
in step 103, the first terminal communicates directly with the second terminal through the IP address.
The method based on the direct communication of the video network in the embodiment of the invention can be applied to mobile terminals, servers, clients and the like in the video network, and is not limited herein.
The following describes in detail specific implementation steps of a method based on direct communication over video network according to an embodiment of the present disclosure with reference to fig. 1.
Firstly, step 101 is executed, and the first terminal acquires the video networking number of the second terminal:
in the step, a VVoE application program is pre-installed on a first terminal, and then the first terminal receives a video networking number of a second terminal, which is input by a user through a preset window, based on the VVoE application program; or the first terminal receives one video networking number selected by a user from a locally stored video networking number set through a preset window. That is, a user may input a video networking number of a second terminal that wants to communicate through a preset window on a first terminal, and a VVoE application on the first terminal may detect the video networking number of the second terminal input by the user, and then initiate a connection with an opposite terminal through the video networking number. Of course, in this embodiment, the VVoE application stores, in advance, the video networking numbers of the opposite terminals (i.e., the second terminal), all the video networking numbers of the opposite terminals are collectively referred to as a video networking number set, and when the user wants to communicate with the second terminal, the user may select, from the video networking number set, the video networking number of the second terminal that needs to communicate by receiving the video networking number of the user based on the VVoE application, and click the video networking number to initiate a connection with the opposite terminal, that is, the first terminal receives one video networking number selected by the user from the locally stored video networking number set by the VVoE application.
In this embodiment, the preset window may be a query box (for example, a CMD window of the win7 system) of a system on the ordinary terminal, or any application program (for example, a browser) on the ordinary terminal, which is not limited to this, and may also be other similar application programs, which is not limited in this embodiment.
In this step, for example, a user inputs a CMD in a search box at the lower left corner of the first terminal, then opens a CMD window, and then the user can input a video network number of a second terminal that wants to communicate on the CMD window, at this time, the VVoE application on the first terminal detects and acquires the video network number of the second terminal input by the user.
Secondly, executing step 102, the first terminal obtaining the IP address of the second terminal through the video networking number;
in this step, one of the acquisition processes is:
1) the first terminal establishes direct communication connection with the second terminal through the video networking number;
in the step, after acquiring the video networking number of the second terminal, the first terminal establishes direct communication connection with the second terminal through the video networking number;
2) the first terminal sends a request message for acquiring the IP address of the second terminal to the second terminal;
in this step, the first terminal initiates a request message for acquiring the IP address of the second terminal to the second terminal through the connection, where the request message includes request information for requesting the IP address of the second terminal, a video network number of the first terminal, and the like, and of course, other parameters may also be included, which is not limited in this embodiment.
After receiving the request message, the second terminal queries its own IP address from the local cache, constructs (i.e. encapsulates by the video networking protocol) a response message including its own IP address, and sends the response message including its IP address to the first terminal via the video networking number of the first terminal.
3) And the first terminal receives a response message which is sent by the second terminal and comprises the own IP address.
In this step, the second terminal sends a response message including its own IP address to the first terminal through the video networking number of the first terminal, that is, the first terminal receives the response message including its own IP address sent by the second terminal. Of course, in the response message, in addition to the IP address of the second terminal, other parameters, such as the video network number of the second terminal, etc., may be included.
4) And the first terminal analyzes the response message to obtain the IP address of the second terminal.
In this step, the parsing process is a process of decapsulating the response message, and a specific implementation process thereof is well known to those skilled in the art and will not be described herein again.
Finally, step 103 is executed, and the first terminal directly communicates with the second terminal through the IP address.
In this step, after the first terminal acquires the IP address of the second terminal, direct communication is performed with the second terminal corresponding to the IP address, where the direct communication may also be referred to as direct communication.
It should be noted that each terminal may be bound to an IP address, for example, the first terminal may be bound to an IP address of a browser, and the like. Of course, multiple IP addresses may be bound as desired.
In the embodiment of the invention, after the first terminal acquires the video networking number of the second terminal through the VVoE application program, the IP address of the second terminal can be acquired through the video networking number, and direct communication is established with the second terminal through the IP address. That is to say, in the embodiment of the present invention, without using a video networking server, the video networking number of the peer end can be obtained through the VVoE application program, then the IP address of the peer end is obtained through the video networking number, and based on the IP address, the terminals can directly communicate with each other, which not only effectively improves the communication efficiency between the terminals, but also improves the experience of the user in performing direct communication through the video networking number.
Referring to fig. 2, another flowchart of a method for direct communication based on a video network according to an embodiment of the present invention is shown, where the method is applied to the video network, and the method includes:
step 201: the second terminal receives a request message for acquiring the own IP address sent by the first terminal;
in this step, after the first terminal establishes a direct communication connection with the second terminal through the video networking number of the second terminal, a request message requesting to acquire an IP address of the second terminal is sent to the second terminal, that is, the second terminal receives the request message sent by the first terminal to acquire its own IP address, where the request message may include: the request information for requesting the IP address of the second terminal may further include parameters such as the video network number of the first terminal.
Step 202: the second terminal inquires the IP address of the second terminal from a local cache according to the request message;
in this step, the terminal inquires the IP address bound to itself from the local cache according to the request message. It should be noted that, in this embodiment, services such as a web and an ftp established by an opposite terminal need to bind an IP address of the web or the ftp with a video networking number of the second terminal in advance.
Correspondingly, if the second terminal does not bind the corresponding IP address in advance, the corresponding IP address cannot be queried here, i.e., the lookup fails.
Step 203: the second terminal encapsulates the IP address into a response message;
in this step, after the second terminal finds the IP address, a response message is constructed, that is, the IP address is encapsulated in the response message through the video networking protocol, and the specific encapsulation process is well known to those skilled in the art and will not be described herein again.
Of course, if no IP address is found, the search failure information is encapsulated into the response message.
Step 204: the second terminal sends the response message to the first terminal;
in this step, the second terminal may send a response message including the IP address to the first terminal through the connection, or the second terminal sends a response message including the IP address to the first terminal through the video network number of the first terminal; of course, if the search is found, the second terminal may also send a response message including the search failure information to the first terminal through the connection or the video network number of the first terminal.
Step 205: and the second terminal carries out direct communication with the first terminal when receiving the direct communication initiated by the first terminal through the IP address.
In this step, the second terminal can directly communicate with the first terminal through the IP address.
In the embodiment of the invention, when receiving a request message sent by a first terminal, a second terminal encapsulates the searched IP address into a response message according to the request message, sends the response message to the first terminal, and directly communicates with the first terminal when receiving direct communication initiated by the first terminal through the IP address. That is to say, in the embodiment of the present invention, based on the video networking, the terminal may also obtain the video networking number of the peer end through the VVoE application program without forwarding by the video networking server, and then obtain the IP address of the peer end through the video networking number, and directly communicate with the peer end based on the IP address.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a device for direct communication based on a video network according to an embodiment of the present invention is applied to a first terminal installed with a VVoE application, and the device includes: a first acquisition module 301, a second acquisition module 302, and a communication module 303, wherein,
the first obtaining module 301 is configured to obtain a video networking number of a second terminal;
the second obtaining module 302 is configured to obtain an IP address of the second terminal through the video networking number;
the communication module 303 is configured to implement direct communication between the first terminal and the second terminal through the IP address.
Optionally, in another embodiment, on the basis of the foregoing embodiment, the second obtaining module 302 includes: the building module 401, the sending module 402, the first receiving module 403 and the parsing module 404 are schematically shown in fig. 4, wherein,
the establishing module 401 is configured to establish a direct communication connection with a second terminal through the video networking number;
the sending module 402 is configured to send a request message for acquiring an IP address of the second terminal to the second terminal through the connection;
the first receiving module 403 is configured to receive a response message that includes an own IP address and is sent by the second terminal;
the parsing module 404 is configured to parse the response message to obtain the IP address of the second terminal.
Optionally, in another embodiment, on the basis of the above embodiment, the first obtaining module 301 includes: a second receiving module and/or a third receiving module (not shown), wherein,
the second receiving module is used for receiving the video networking number of the second terminal, which is input by a user through a preset window;
the third receiving module is used for receiving one video networking number selected by a user from a locally stored video networking number set through the VVoE application program.
Optionally, the apparatus may be integrated on the first terminal, or another terminal having a similar function to the first terminal, or may be deployed independently, which is not limited in this embodiment.
Referring to fig. 5, a schematic structural diagram of an apparatus for direct communication based on a video network according to an embodiment of the present invention is further provided, where the apparatus is applied to a second terminal installed with a VVoE application, and the apparatus includes: a first receiving module 501, a query module 502, an encapsulation module 503, a sending module 504, a second receiving module 505, and a communication module 506, wherein,
the first receiving module 501 is configured to receive a request message sent by a first terminal to acquire an IP address of the second terminal;
the query module 502 is configured to query the IP address of the second terminal from a local cache according to the request message;
the encapsulating module 503 is configured to encapsulate the IP address into a response message;
the sending module 504 is configured to send the response message to the first terminal;
the second receiving module 505 is configured to receive a direct communication request initiated by the first terminal through the IP address;
the communication module 506 is configured to implement direct communication between the second terminal and the first terminal when the second receiving module receives a direct communication request initiated by the first terminal through the IP address.
Optionally, the apparatus may be integrated on the second terminal, or another terminal having a similar function to the second terminal, or may be deployed independently, which is not limited in this embodiment.
Referring to fig. 6, a schematic structural diagram of a system based on direct communication in a video network according to an embodiment of the present invention is shown, where the system is applied to the video network, and the system includes: the terminal comprises a first terminal 601 and a second terminal 602, wherein the first terminal 601 and the second terminal 602 are connected through a video network 600, and a VVoE application is installed in each of the first terminal 601 and the second terminal 602. Wherein the content of the first and second substances,
the first terminal 601 is configured to acquire a video networking number of a second terminal, and establish a direct communication connection with the second terminal through the video networking number; sending a request message for acquiring the IP address of the second terminal to the second terminal through the connection;
the second terminal 602 is configured to receive a request message sent by the first terminal to obtain an IP address of the second terminal, query an IP address of the second terminal from a local cache according to the request message, and encapsulate the IP address into a response message; and sending the response message to the first terminal;
the first terminal 601 is further configured to receive a response message that includes its own IP address and is sent by the second terminal; analyzing the response message to obtain the IP address of the second terminal, and directly communicating with the second terminal through the IP address;
the second terminal 602 is further configured to perform direct communication with the first terminal when receiving a direct communication request initiated by the first terminal through the IP address. That is, the first terminal 601 directly communicates with the second terminal 602 through the IP address of the second terminal 602.
Optionally, in another embodiment, on the basis of the above embodiment, functions and actions of the first terminal and the second terminal are detailed in the corresponding parts, and are not described herein again.
In the embodiment of the invention, after acquiring the video networking number of the second terminal, the first terminal sends the request message for acquiring the IP address of the second terminal to the second terminal through the video networking number, and when receiving the request message sent by the first terminal, the second terminal encapsulates the searched IP address into the response message according to the request message, sends the response message to the first terminal, and directly communicates with the first terminal when receiving the direct communication initiated by the first terminal through the IP address. That is to say, in the embodiment of the present invention, based on the video networking, the terminals can acquire the video networking number of the opposite terminal without forwarding by the video networking server, and acquire the IP address of the opposite terminal through the video networking number, and implement direct communication between the terminals based on the IP address.
For easy understanding, please refer to fig. 7, which is a flowchart of an application example provided in an embodiment of the present invention, where the method involves an apparatus including: the terminal comprises a first terminal 701, a video network 702 and a second terminal 703, wherein the first terminal 601 and the second terminal 703 are respectively provided with a VVoE application program, and the first terminal 701 and the second terminal 703 are communicated with each other through the video network 702.
As shown in fig. 7, in this embodiment, a first terminal takes a terminal a and a second terminal takes a terminal B as an example, in this embodiment, a video network number of the terminal B takes 0010000100 as an example, and an IP address pre-bound with the terminal B takes 192.168.95.10 as an example, the method includes the steps of:
step 701: the terminal A acquires the video networking number 0010000100 of the terminal B;
in this step, the terminal a needs to directly communicate with the terminal B, and the video network number of the terminal B needs to be acquired through the VVoE application program first, and the specific acquisition manner is described above and will not be described herein again.
Step 702: the terminal A sends a request packet for requesting the IP address of the terminal B to the terminal B with the video networking number of 0010000100 through the video networking;
step 703: a terminal B receives a request packet sent by a terminal A;
step 704: the terminal B constructs a response packet containing the local IP (192.168.95.10) address;
in this step, the process of construction is the process of encapsulating the IP address.
Step 705: the terminal B sends the response packet including the IP address to the terminal A through the video network;
step 706: the terminal A receives the response packet sent by the terminal B, analyzes the response packet and knows that the IP address corresponding to the video networking number 0010000100 corresponding to the terminal B is 192.168.95.10;
step 707: terminal a can communicate directly with terminal B (video networking number 0010000100) through an IP address (192.168.95.10).
In the embodiment of the invention, in the video network, when no video network server or video network server has a fault, the terminal can acquire the video network number of the opposite terminal through the VVoE application program, inquire the IP address of the opposite terminal according to the video network number and then directly communicate with the opposite terminal through the IP address, so that the communication efficiency between the terminals is effectively improved, and the experience of the user in direct communication through the video network number is also improved.
An embodiment of the present invention further provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the direct communication over video network method as described above.
Embodiments of the present invention also provide a computer-readable storage medium, where instructions of the storage medium, when executed by a processor in an electronic device, enable the electronic device to perform the method based on direct communication over a video network as described above.
Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which 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.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, the device, the electronic device and the computer-readable storage medium for direct communication based on video networking according to the present invention are described in detail, and the principles and embodiments of the present invention are explained herein by using specific examples, which are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.

Claims (10)

1. A method for direct communication based on a video network, the method being applied to a first terminal installed with a VVoE application, the method comprising:
the first terminal acquires a video networking number of a second terminal;
the first terminal acquires the IP address of the second terminal through the video networking number;
and the first terminal directly communicates with the second terminal through the IP address.
2. The method according to claim 1, wherein the first terminal obtains the IP address of the second terminal through the video networking number, comprising:
the first terminal establishes direct communication connection with the second terminal through the video networking number;
the first terminal sends a request message for acquiring the IP address of the second terminal to the second terminal through the connection;
the first terminal receives a response message which is sent by the second terminal and comprises an own IP address;
and the first terminal analyzes the response message to obtain the IP address of the second terminal.
3. The method according to claim 1 or 2, wherein the first terminal obtaining the video network number of the second terminal comprises:
the first terminal receives the video networking number of the second terminal, which is input by a user through a preset window; or
And the first terminal receives a video networking number selected from a locally stored video networking number set by a user through the VVoE application program.
4. A method for direct communication based on a video network, the method being applied to a second terminal installed with a VVoE application, the method comprising:
the second terminal receives a request message sent by the first terminal for acquiring the IP address of the second terminal;
the second terminal inquires the IP address of the second terminal from a local cache according to the request message;
the second terminal encapsulates the IP address into a response message;
the second terminal sends the response message to the first terminal;
and the second terminal carries out direct communication with the first terminal when receiving a direct communication request initiated by the first terminal through the IP address.
5. An apparatus for direct communication based on a video network, the apparatus being applied to a first terminal installed with a VVoE application, wherein the apparatus comprises:
the first acquisition module is used for acquiring the video networking number of the second terminal;
the second acquisition module is used for acquiring the IP address of the second terminal through the video networking number;
and the communication module is used for realizing the direct communication between the first terminal and the second terminal through the IP address.
6. The apparatus of claim 5, wherein the second obtaining module comprises:
the establishing module is used for establishing direct communication connection with a second terminal through the video networking number;
a sending module, configured to send a request message for acquiring an IP address of the second terminal to the second terminal through the connection;
a first receiving module, configured to receive a response message including an own IP address sent by the second terminal;
and the analysis module is used for analyzing the response message to obtain the IP address of the second terminal.
7. The apparatus of claim 5 or 6, wherein the first obtaining module comprises:
the second receiving module is used for receiving the video networking number of the second terminal, which is input by a user through a preset window; and/or
And the third receiving module is used for receiving one video networking number selected from the locally stored video networking number set by the user through the VVoE application program.
8. An apparatus for direct communication based on a video network, the apparatus being applied to a second terminal installed with a VVoE application, the apparatus comprising:
the first receiving module is used for receiving a request message which is sent by a first terminal and used for acquiring the IP address of the second terminal;
the query module is used for querying the IP address of the second terminal from a local cache according to the request message;
an encapsulation module for encapsulating the IP address into a response message;
a sending module, configured to send the response message to the first terminal;
a second receiving module, configured to receive a direct communication request initiated by the first terminal through the IP address;
and the communication module is used for realizing the direct communication between the second terminal and the first terminal when the second receiving module receives the direct communication request initiated by the first terminal through the IP address.
9. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the direct communication over video network method of any of claims 1 to 4.
10. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor in an electronic device, enable the electronic device to perform the method for direct communication based on visual networking of any of claims 1-4.
CN201911216382.0A 2019-12-02 2019-12-02 Method, device, electronic equipment and medium based on direct communication of video network Pending CN111147613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911216382.0A CN111147613A (en) 2019-12-02 2019-12-02 Method, device, electronic equipment and medium based on direct communication of video network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911216382.0A CN111147613A (en) 2019-12-02 2019-12-02 Method, device, electronic equipment and medium based on direct communication of video network

Publications (1)

Publication Number Publication Date
CN111147613A true CN111147613A (en) 2020-05-12

Family

ID=70517513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911216382.0A Pending CN111147613A (en) 2019-12-02 2019-12-02 Method, device, electronic equipment and medium based on direct communication of video network

Country Status (1)

Country Link
CN (1) CN111147613A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN109302455A (en) * 2018-09-06 2019-02-01 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking
CN110224991A (en) * 2019-05-13 2019-09-10 视联动力信息技术股份有限公司 Depending on the networked terminals means of communication and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication
CN108881147A (en) * 2017-12-29 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN109302455A (en) * 2018-09-06 2019-02-01 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking
CN110224991A (en) * 2019-05-13 2019-09-10 视联动力信息技术股份有限公司 Depending on the networked terminals means of communication and device

Similar Documents

Publication Publication Date Title
CN108200165B (en) Request Transmission system, method, apparatus and storage medium
KR101362384B1 (en) The method and system for browsing things of internet of things on ip using web platform
CN102783119B (en) Access control method and system, and access terminal
CN107463453B (en) Method, device, equipment and storage medium for communication between different applications of same terminal
CN101262478A (en) Method and device for penetrating NAT
CN109391704B (en) Cross-private-network access method and device for video monitoring equipment
WO2020206660A1 (en) Network resource request method and apparatus, electronic device and storage medium
CN104283723A (en) Network access log processing method and device
CN108418847A (en) A kind of network traffic cache system, method and device
US20160094423A1 (en) Systems and Methods for Detecting Device Identity at a Proxy Background
CN110392069B (en) CDN service scheduling processing method and CDN server
CN104978358A (en) Method for displaying web page fragment on desktop and system for capturing web page fragment to desktop for displaying
CN108200158A (en) Ask Transmission system, method, apparatus and storage medium
US20140359004A1 (en) Method, Terminal, and Server for Restoring Transmission of Session Content
CN110933193B (en) Domain name resolution method and device, electronic equipment and computer readable storage medium
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN102547553B (en) Method, system and device for accessing service based on wireless application protocol (WAP)
DE102014115895A1 (en) Providing source insights to web applications through Session Traversal Utilities for Network Address Translation (STUN) messages and related methods, systems, and computer-readable media
US9203704B2 (en) Discovering a server device, by a non-DLNA device, within a home network
CN106911732A (en) A kind of website visiting accelerating method and device
WO2017211302A1 (en) Application program development method, apparatus and system
CN109495362B (en) Access authentication method and device
CN105657077A (en) Network address translation traversal method and network address translation equipment
CN113285920B (en) Service access method, device, equipment and storage medium
US20160285946A1 (en) Qos improvement method, apparatus, and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200512

RJ01 Rejection of invention patent application after publication