CN112055365B - Method and device for terminal networking, terminal and readable storage medium - Google Patents

Method and device for terminal networking, terminal and readable storage medium Download PDF

Info

Publication number
CN112055365B
CN112055365B CN202010983690.2A CN202010983690A CN112055365B CN 112055365 B CN112055365 B CN 112055365B CN 202010983690 A CN202010983690 A CN 202010983690A CN 112055365 B CN112055365 B CN 112055365B
Authority
CN
China
Prior art keywords
terminal
networking
terminals
video
central
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
CN202010983690.2A
Other languages
Chinese (zh)
Other versions
CN112055365A (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.)
Sumavision Technologies Co Ltd
Original Assignee
Sumavision Technologies 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 Sumavision Technologies Co Ltd filed Critical Sumavision Technologies Co Ltd
Priority to CN202010983690.2A priority Critical patent/CN112055365B/en
Publication of CN112055365A publication Critical patent/CN112055365A/en
Application granted granted Critical
Publication of CN112055365B publication Critical patent/CN112055365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools

Landscapes

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

Abstract

The application provides a method and device for terminal networking, a terminal and a readable storage medium. The method for networking the terminals comprises the following steps: sending the exploration information to a plurality of terminals in a preset terminal list; receiving terminal level information responded by the plurality of terminals; determining a center terminal with the highest terminal level based on the terminal level information and the terminal level information of the center terminal; if the central terminal is not self, establishing a networking relation with the central terminal. The method is used for improving the flexibility of terminal networking in the terminal command system.

Description

Method and device for terminal networking, terminal and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for terminal networking, a terminal, and a readable storage medium.
Background
The current terminal command system, such as wireless video command system, is composed of proxy server, domain name resolution server, registration server, signaling forwarding server, video encoder terminal and video decoder terminal. The using method comprises the following steps: after the server is erected and configured, each terminal is respectively registered to a registration server, then the registration server and a domain name resolution server are matched with each other in a networking way to form a communication network, and communication (such as video conference) among network terminals is completed by forwarding the signaling by units such as a proxy server, a center server and the like, so that the system needs to rely on the server to be networked, the server is usually mounted on a fixed non-task terminal, and when a task is changed, the networking strategy cannot be flexibly changed, and the flexibility is poor.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and apparatus for terminal networking, a terminal, and a readable storage medium, so as to improve flexibility of terminal networking in a terminal command system.
In a first aspect, an embodiment of the present application provides a method for terminal networking, including: sending the exploration information to a plurality of terminals in a preset terminal list; receiving terminal level information responded by the plurality of terminals; determining a center terminal with the highest terminal level based on the terminal level information and the terminal level information of the center terminal; if the central terminal is not self, establishing a networking relation with the central terminal.
In the embodiment of the application, by pre-configuring the terminal level of each terminal, when the communication networking is performed, for the terminal with the non-highest terminal level, only the networking relation with the terminal with the highest terminal level is needed to be established, and the terminal with the highest terminal level can be regarded as a command center so as to ensure that the subsequent command tasks can be smoothly executed. Compared with the prior art, each terminal is configured with a terminal level, based on the terminal level, each terminal can establish a networking relation with the terminal with the highest terminal level, and the networking relation in the terminal command system is associated with the terminal level in a mode that only the terminal level exists, so that each terminal in the system can flexibly select a central terminal to carry out networking based on the terminal level at any time, the central terminal is further used as a command center, and the central terminal and each terminal of the networking execute related command tasks, so that the flexibility of terminal networking in the terminal command system is ensured.
As a possible implementation manner, the method further includes: if the center terminal is self, when the probe information sent by the plurality of terminals is received, the terminal level information of the center terminal is sent to the plurality of terminals; receiving networking requests sent by the plurality of terminals; and establishing a networking relation with the plurality of terminals based on the networking request.
In the embodiment of the application, for the central terminal, if the probe information sent by other terminals is received, after the terminal level information is fed back, the other terminals initiate a networking request, and the central terminal establishes a networking relationship with the other terminals based on the networking request, so that flexible networking is realized.
As a possible implementation manner, after the networking relation is established with the plurality of terminals based on the networking request, the method further includes: receiving an initiating request of a viewing audio conference; creating a video-audio conference corresponding to the initiation request; and generating invitation information corresponding to the video-audio conference, and sending the invitation information to the plurality of terminals so that the plurality of terminals join the video-audio conference through the invitation information.
In the embodiment of the application, after the networking relation is established between the central terminal and other terminals, each terminal of the networking can be invited to join in the video-audio conference, so that the video command function is realized, and the high efficiency and convenience of command are improved.
As a possible implementation manner, after the generating the invitation information corresponding to the video-audio conference and sending the invitation information to the plurality of terminals, so that the plurality of terminals join the video-audio conference through the invitation information, the method further includes: receiving video and audio data sent by the plurality of terminals; the video and audio data are played after being combined according to preset rules; and sending the screen combination data to the plurality of terminals, wherein the sound data corresponding to the screen combination data received by the plurality of terminals are removed.
In the embodiment of the application, for the central terminal, the video and audio data of each terminal can be subjected to screen combination processing, the central terminal receives each path of data and sends the screen combination data, so that the pressure of the central terminal is reduced, and the stability of the networking relationship in the command system can be ensured under the condition of smaller pressure of the central terminal.
As a possible implementation manner, after the establishing a networking relationship with the central terminal if the central terminal is not the central terminal itself, the method further includes: receiving invitation information of the video-audio conference sent by the center terminal; responding to the invitation information and joining the video-audio conference; and sending the video and audio data acquired in real time to the center terminal.
In the embodiment of the application, for the non-central terminal, after the networking relation is established, after the invitation information of the video-audio conference is received, the video-audio conference is added by responding to the invitation information, and the video-audio data acquired in real time is sent to the central terminal, so that the video command function is realized, and the high efficiency and convenience of command are improved.
As a possible implementation manner, the method further includes: receiving the screen combination data sent by the center terminal; the screen combination data are data obtained after screen combination is carried out on video and audio data acquired by each terminal participating in the video and audio conference, and the screen combination data do not comprise sound data in the video and audio data acquired by the terminal; and playing the video and audio corresponding to the screen combination data.
In the embodiment of the application, for the non-center terminal, the received combined screen data does not include the sound data in the video and audio data acquired by the non-center terminal, and when the non-center terminal plays, the mixed video and audio data can be prevented from having an echo effect (the sound in the current environment appears).
As a possible implementation manner, the method further includes: when the group gateway system with the center terminal fails, sending a probe message to terminals except the center terminal in a preset terminal list; receiving terminal level information of the terminal responses except the center terminal; determining a new center terminal with the highest terminal level in terminals except the center terminal based on the terminal level information and the terminal level information of the center terminal; and if the new central terminal is not self, establishing a networking relation with the new central terminal.
In the embodiment of the application, after the group gateway system with the central terminal fails, a new central terminal can be determined again based on the terminal level information, so that a new group gateway system is established, and based on the new networking relation, the command task is continuously executed.
As a possible implementation manner, the method further includes: if the new center terminal is self, when the probe information sent by the terminal except the center terminal is received, the terminal level of the new center terminal is sent to the terminal except the center terminal; receiving networking requests sent by terminals except the center terminal; and establishing a networking relation with terminals except the center terminal based on the networking request.
In the embodiment of the application, for the new central terminal, based on the networking request of other terminals, the networking relation is established with other terminals, so that flexible networking is realized.
In a second aspect, an embodiment of the present application provides an apparatus for terminal networking, including a functional module configured to implement the method described in the first aspect and any one possible implementation manner of the first aspect.
In a third aspect, an embodiment of the present application provides a terminal, including: a receiver, a transmitter, a memory, a processor, and a display; the memory is used for storing computer instructions; the processor is configured to execute the computer instructions stored in the memory to implement the method of the first aspect and any one of the possible implementation manners of the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a computer program which, when executed by a computer, performs a method as described in the first aspect and any one of the possible implementations of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a vehicle command system provided in an embodiment of the present application;
Fig. 2 is a flowchart of a method for terminal networking according to an embodiment of the present application;
fig. 3 is a schematic diagram of a communication command vehicle C according to an embodiment of the present application when probing information;
fig. 4 is a schematic diagram of communication command vehicle D probing information provided in the embodiment of the present application;
fig. 5 is a first topology diagram of a networking network provided in an embodiment of the present application;
fig. 6 is a second topology diagram of a networking network provided in an embodiment of the present application;
fig. 7 is a third topology diagram of a networking network provided in an embodiment of the present application;
fig. 8 is a functional block diagram of a device for terminal networking according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Icon: 200-a device for terminal networking; 201-a transmitting module; 202-a receiving module; 203-a determination module; 204-networking module; 300-terminal; 301-a receiver; 302-a transmitter; 303-memory; 304-a processor; 305-a display; 306-input-output module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The terminal networking method provided by the embodiment of the application can be applied to any terminal in various terminal command systems. For example: the application scene of the vehicle command system can be as follows: the plurality of vehicles are configured as task vehicles for executing tasks, the plurality of task vehicles form a vehicle command system, and networking relations are required to be established among the vehicles in the process of executing the tasks in an outgoing mode so as to complete various command tasks. For another example: the application scenario of the user terminal command system may be: the user terminals (such as mobile phones and computers) are respectively used by different users, and form a user terminal command system, and the users complete various command tasks through the corresponding user terminals, so that networking relations among the user terminals are also required to be established. For another example: the terminal command system is a hybrid terminal command system, which comprises different types of terminals (such as vehicles and mobile phones), and networking relations can be established among the different types of terminals so as to execute more complex command tasks.
For example, referring to fig. 1, a schematic diagram of a vehicle command system provided in an embodiment of the present application is shown, where the vehicle command system includes communication command vehicles a-F, and the networking method described in the embodiment of the present application may be applied to any one of the communication command vehicles a-F. It should be noted that, before the group gateway system is not established, communication can be performed between the communication command vehicles, and more stable and more convenient intercommunication can be realized by establishing the networking relationship.
Regardless of the form of the terminal, in order to ensure that the terminal can complete the corresponding command task, the functions of the terminal may include: video/audio decoding and encoding functions, video/audio acquisition functions, video/audio playing (displaying) functions, and the like. The video and audio decoding and encoding can be realized by a video and audio comprehensive module, and the processes of video receiving, encoding, decoding, transmitting and the like can be completed, and the receiving interface can be as follows: HDMI (High Definition Multimedia Interface )/VGA (Video Graphics Array, video graphics array)/SDI (serial digital interface, digital component serial) and the like, the video formats that can be encoded and decoded can be: H264/H265/MPEG2 (Moving Picture Experts Group ), etc. Video and audio acquisition, including video acquisition and sound acquisition, the video acquisition can be realized through the camera, and sound acquisition can be realized through sound acquisition module (such as microphone). Playing (displaying) the video and audio may be accomplished by a display. How these functions are implemented in particular will be described in connection with embodiments of the method.
In addition, in the embodiment of the present application, the communication manner between the terminals may be satellite communication, and the influence of external factors (such as distance) on the satellite communication is small. In order to realize satellite communication, each terminal needs to perform communication channel configuration and satellite information configuration in advance, and in the communication process, the channel state needs to be monitored in real time so as to realize stable satellite communication.
Based on the above application scenario, please refer to fig. 2, which is a flowchart of a method for terminal networking provided in an embodiment of the present application, where the method may be applied to any one terminal in a terminal command system, and the method includes:
step 101: and sending the exploration information to a plurality of terminals in a preset terminal list.
Step 102: terminal level information of a plurality of terminal responses is received.
Step 103: and determining the center terminal with the highest terminal level based on the terminal level information and the terminal level information of the center terminal.
Step 104: if the central terminal is not self, establishing a networking relation with the central terminal.
In the embodiment of the application, by pre-configuring the terminal level of each terminal, when the communication networking is performed, for the terminal with the non-highest terminal level, only the networking relation with the terminal with the highest terminal level is needed to be established, and the terminal with the highest terminal level can be regarded as a command center so as to ensure that the subsequent command tasks can be smoothly executed. Compared with the prior art, each terminal is configured with a terminal level, based on the terminal level, each terminal can establish a networking relation with the terminal with the highest terminal level, and the networking relation in the terminal command system is associated with the terminal level in a mode that only the terminal level exists, so that each terminal in the system can flexibly select a central terminal to carry out networking based on the terminal level at any time, the central terminal is further used as a command center, and the central terminal and each terminal of the networking execute related command tasks, so that the flexibility of terminal networking in the terminal command system is ensured.
Next, a detailed implementation procedure of the networking method and steps 101-104 will be described.
In step 101, the terminal sends probe information to a plurality of terminals in a preset terminal list. The preset terminal list may be understood as that before executing the command task, each terminal required by the command task is already determined, then a terminal list is generated according to the determined information of each terminal, and then the terminal list is imported into each terminal, so that the information of the terminal executing the task is stored on each terminal. The information of the terminal includes, but is not limited to: the ID (Identity document, identity) of each terminal, IP (Internet Protocol ) address, audio and video parameters, channel status, satellite information configuration, and the like.
Further, based on the preset terminal list, each terminal sequentially sends probe information to each terminal in the terminal list according to the IP address in the terminal list, wherein the probe information can comprise the IP address of the terminal and a terminal level information acquisition request, so that the terminal receiving the probe information can respond according to the probe information and feed back corresponding terminal level information.
On each terminal, terminal level information is stored in addition to the terminal list. For the terminal level information, it is understood that the higher the level, the more rights the respective terminals have in all the terminals participating in the task at this time. Since the scheme in the embodiment of the application relates to the central terminal, in order to ensure the uniqueness of the central terminal, the level of each terminal is unique, i.e. no terminal with the same terminal level exists. Each terminal can store the terminal level information and the height relation of the terminal level, so that each terminal can determine the terminal with the highest level according to different terminal levels.
In addition, there may be different setting manners for the terminal level information. Such as: assuming a total of 10 terminals, the terminal levels of each of the 10 terminals may be determined by: 001 002, 003, 004, 005, 006, 007, 008, 009, 010. Correspondingly, the terminal level may be: the higher the level of the terminal before the serial number, or the higher the level of the terminal after the serial number. In practical application, the setting can be flexibly performed according to the practical application scene, and the setting is not limited to the examples in the embodiment of the application.
Taking the vehicle command system shown in fig. 1 as an example, before a plurality of communication command vehicles go out of a task, a communication command vehicle list of the task, namely basic information of the communication command vehicles A-F and the communication command vehicles A-F, is uniformly imported into each communication command vehicle. And importing its own vehicle level information on each communication command vehicle, such as: the communication command vehicle A has the highest vehicle level, and is followed by the communication command vehicle B, the communication command vehicle C, the communication command vehicle D, the communication command vehicle E and the communication command vehicle F in sequence. Taking the communication command vehicle C as an example after each communication command vehicle arrives at a task site (such as a specific combat or drill site), the communication command vehicle C sends probe information to the communication command vehicle a, the communication command vehicle B, the communication command vehicle D, the communication command vehicle E and the communication command vehicle F according to the information of other communication command vehicles which are imported in advance.
Further, after the step 101 is performed, each terminal that receives the probe information responds to the probe information based on its own terminal level information, that is, sends its own terminal level information to the sending end of the probe information, at this time, the terminal performs step 102 to receive terminal level information responded by multiple terminals.
Taking the vehicle commanding system shown in fig. 1 as an example, the communication commanding vehicle a, the communication commanding vehicle B, the communication commanding vehicle D, the communication commanding vehicle E and the communication commanding vehicle F send respective vehicle level information to the communication commanding vehicle C after receiving the probe information. Referring to fig. 3 and fig. 4, which are schematic diagrams of communication links of the communication command vehicle C and the communication command vehicle D when probing the vehicle level information, it can be seen that the communication command vehicles C and D respectively communicate with other communication command vehicles to obtain corresponding vehicle level information.
Further, after step 102, step 103 is performed to determine the center terminal with the highest terminal level based on the terminal level information and the terminal level information of itself. As an alternative embodiment, the step comprises: and determining the center terminal with the highest level according to the preset relation between the terminal level and the low level. Such as: assume that terminal levels of other terminals are respectively: 001 003, 004, 005, 006, 007, 008, 009, 010, the terminal level of itself is 002, and the terminal level height relationship is: the terminal with terminal level 001 can be determined as the center terminal as the terminal with the higher sequence number is.
Taking a vehicle command system as an example, for the communication command vehicle C, assuming that the vehicle level of the communication command vehicle a-communication command vehicle F is higher than the communication command vehicle level preceding according to the serial number, the center vehicle determined by the communication command vehicle is: communication command car a.
It will be appreciated that for each terminal, there are two cases for the determined central terminal, one being: the terminal with the highest level is the center terminal; another case is: the central terminal is the other terminal.
For the second case, the central terminal is another terminal, step 104 is executed at this time, and if the central terminal is not itself, a networking relationship is established with the central terminal. When establishing the networking relation, as an optional implementation manner, the terminal sends the registration signaling to the central terminal, and after the central terminal receives the registration signaling, the terminal needing to establish the networking relation is added into the command network to establish the networking relation. After the networking relation is established, each terminal keeps heartbeat connection with the central vehicle at any time while carrying out service, and monitors the state of the networking relation in real time.
Taking a vehicle command system as an example, assuming that the communication command vehicle C determines the communication command vehicle A as a central vehicle, the communication command vehicle C sends registration signaling to the communication command vehicle A, and the communication command vehicle C is added into a command network after receiving the registration signaling to establish a networking relationship. Meanwhile, for the rest communication command vehicles, the rest communication command vehicles are added into the command network of the communication command vehicle A in the same way as the communication command vehicle C, and the final formed network topology diagram can be shown in figure 5.
For the first case, the operations performed on the terminal at this time may be: if the central terminal is self, when the probe information sent by a plurality of terminals is received, the terminal level information of the central terminal is sent to the plurality of terminals; receiving networking requests sent by a plurality of terminals; based on the networking request, a networking relationship is established with the plurality of terminals.
In this case, even if the terminal is the center terminal, the probe information sent by each terminal is received, after the terminal level information is fed back, the other terminals determine that the terminal is the center terminal, send a networking request (i.e., the registration signaling described in the foregoing embodiment), and then add the terminal that sends the networking request to the command network according to the networking request, so as to realize establishment of the networking relationship.
It should be understood that, since the central terminal in the embodiment of the present application may not be fixed, for each terminal, there are two cases after determining the central terminal each time, which case is satisfied, and which case corresponds to the execution of the flow corresponding to which case.
In the embodiment of the application, for the central terminal, if the probe information sent by other terminals is received, after the terminal level information is fed back, the other terminals initiate a networking request, and the central terminal establishes a networking relationship with the other terminals based on the networking request, so that flexible networking is realized.
Further, in the foregoing embodiment, it is mentioned that the central terminal may exit the command network halfway for some reason (such as a failure) and cannot override the role of the central terminal. Because each terminal monitors the network topology state in real time through heartbeat connection after networking is established, the exit condition of the central terminal can also be monitored, and when the condition occurs, the method further comprises the following steps: when the group gateway system with the center terminal fails, sending the probing information to terminals except the center terminal in a preset terminal list; receiving terminal level information of a terminal response except for a center terminal; determining a new center terminal with the highest terminal level in terminals except the center terminal based on the terminal level information and the terminal level information of the new center terminal; if the new center terminal is not self, establishing a networking relation with the new center terminal.
It should be noted that this embodiment is limited to non-central terminal execution, and for central terminals, no operation is performed after exiting the network, so this procedure is only applicable to the subsequent procedure of the case defined in step 104.
When the group gateway system with the central terminal fails, although the level information of each terminal acquired before is stored in each terminal, the situation that each other non-central terminal exits is possible, so that more accurate terminal level information needs to be acquired again through the probe information at the moment, and the situation that the determined new central terminal may also exit the task is avoided.
The above-described embodiment of determining a new central terminal and establishing a network is the same as that of the foregoing embodiment, and will not be repeated here.
In the embodiment of the application, after the group gateway system with the central terminal fails, a new central terminal can be determined again based on the terminal level information, so that a new group gateway system is established, and based on the new networking relation, the command task is continuously executed.
In addition, for the new central terminal, the implementation flow is as follows: if the new center terminal is self, when the probe information sent by the terminal except the center terminal is received, the terminal level of the self is sent to the terminal except the center terminal; receiving networking requests sent by terminals except the center terminal; based on the networking request, a networking relationship is established with terminals other than the center terminal.
In the embodiment of the application, for the new central terminal, based on the networking request of other terminals, the networking relation is established with other terminals, so that flexible networking is realized.
Taking the vehicle command system shown in fig. 1 as an example, after the communication command vehicle a exits the task, the new central vehicle is the communication command vehicle B, and the network topology diagram at this time can be shown in fig. 6; further, if the communication command vehicle B also exits the task for some reason, the new center vehicle is the communication command vehicle C, and the network topology diagram at this time may be as shown in fig. 7. It can be seen that after the central vehicle gets off the network, a new central vehicle takes over, so that the stable and flexible networking relation in the vehicle command system can be completely ensured.
In addition, for the terminal which has moved out of the network, since the command tasks are all planned in advance, even if the terminal which subsequently moves out of the network is in a state of being restored, the terminal which has moved out of the network is inconvenient to be re-added into the command network, and therefore, the terminal which has moved out of the network cannot be added into the previous command tasks, but can be assigned to participate in new tasks.
Based on the networking method introduced in the foregoing embodiment, after the terminals in the terminal command system establish the networking relationship, their respective command tasks may be started. In the process of conducting command tasks, video and audio communication is a common command mode, namely, the networking method can provide networking support for the service. An embodiment of the video/audio communication based on the gateway system of the center terminal-other terminal group will be described.
Assuming the terminal is a central terminal, after establishing the networking relationship, the method further comprises: receiving an initiating request of a viewing audio conference; creating a video-audio conference corresponding to the initiation request; and generating invitation information corresponding to the video-audio conference, and sending the invitation information to the plurality of terminals so that the plurality of terminals join the video-audio conference through the invitation information.
The initiation request may be a request initiated by a user corresponding to the central terminal, where the initiation request may include information of the video-audio conference, for example: meeting time, meeting topic, etc. After the central terminal receives the request, a corresponding video-audio conference is created based on the information, such as: and the conference time is 9:00-12:00, and when the central terminal is 9:00, the video-audio conference is created. Further, after creation, corresponding invitation information is generated, and in the invitation information, may include: indication information for joining an audio-visual conference, such as: video audio conference links, or addresses, etc. After the invitation information is generated, the central terminal synchronizes the invitation information to each terminal in a signaling manner so that each terminal can join in the video-audio conference through the invitation information. This section is consistent with the implementation of video-audio conferences in the art, and the implementation principles thereof are not specifically described herein.
In the embodiment of the application, after the networking relation is established between the central terminal and other terminals, each terminal of the networking can be invited to join in the video-audio conference, so that the video command function is realized, and the high efficiency and convenience of command are improved.
Further, assuming that the terminal is not a central terminal, after establishing the networking relationship, the method further includes: receiving invitation information of a video-audio conference sent by a center terminal; responding to the invitation information, and joining a video-audio conference; and sending the video and audio data acquired in real time to a center terminal.
In this embodiment, the non-central terminal may display the invitation information after receiving the invitation information, and the user corresponding to the non-central terminal may choose to receive the request, and after receiving the acknowledgement of the user, respond to the invitation information based on the acknowledgement of the user, for example: and jumping to the video-audio conference corresponding to the link to realize the joining of the video-audio conference.
In the embodiment of the application, for the non-central terminal, after the networking relation is established, after the invitation information of the video-audio conference is received, the video-audio conference is added by responding to the invitation information, and the video-audio data acquired in real time is sent to the central terminal, so that the video command function is realized, and the high efficiency and convenience of command are improved.
Whether the terminal is a central terminal or a non-central terminal, after the video-audio conference starts, corresponding prompt options can be displayed on the corresponding user interface, for example: camera on/off, microphone on/off, etc., as a conference initiation terminal, a higher authority prompt option like whole person silence, etc. may also be presented for the center terminal. For these prompt options, after the user makes a selection or confirmation, the terminal or the center terminal performs an operation corresponding to the option.
Based on the selection of each prompt option by the user, the terminal can execute operations of starting the camera, starting the microphone and the like, and after the camera, the microphone and the like are started, the terminal can acquire video and audio data in real time. For the central terminal, the collected video and audio data are directly displayed; for the non-central terminal, the video and audio data collected in real time are sent to the central terminal. It will be appreciated that the non-central terminal may encode the video and audio data to obtain an encoded stream, send the data to the central terminal in the form of a code stream, and after receiving the code stream data, the central terminal decodes the code stream data and then displays or plays the code stream data.
Further, the executable procedure on the central terminal further includes: receiving video and audio data sent by a plurality of terminals; the video and audio data are played after being combined according to preset rules; and sending the screen combination data to a plurality of terminals, and eliminating the sound data corresponding to the screen combination data received by the terminals.
In this embodiment, since the plurality of terminals transmit the plurality of video and audio data, in order to improve the viewing experience, the plurality of video and audio data may be played after being combined with the screen. When the screen is closed, the screen can be closed based on a preset rule. The preset rule may be understood as a rule that different pictures are combined and displayed on one screen. Such as: there are a number of ways in which 5 frames are arranged on a screen, and these ways can be understood as the rule of combining screens. The screen combination rule may be set according to the number of video and audio data, for example: if the video and audio data of the central terminal are added, and a total of 9 video and audio data are added, the screen combining rule may be nine Gong Gege screen rules, namely, 9 grid areas are defined in advance, then the playing areas of the 9 video and audio data are sequentially limited to all areas of the 9 grid areas, and when playing, the corresponding video and audio data can be played in all areas. Wherein, the playing area of the video and audio data of the central terminal can be arranged in the middle area of the 9-grid area. In the embodiment of the application, for the central terminal, the central terminal performs the screen closing processing according to the preset rule and then plays the screen closing processing, and the corresponding user of the central terminal can adjust the area of each played picture at any time later, namely, the preset rule is only a default rule, and the subsequent processing process can perform real-time updating.
Further, the central terminal also needs to send the screen combination data to a plurality of terminals, and the sound data corresponding to the screen combination data received by the terminals are removed. In this embodiment, the central terminal completes the screen combination, encodes based on the video and audio data played by the screen combination, and generates secondary video and audio data encoded by the screen combination. And the central terminal also performs sound eliminating processing on the screen combination data sent to each terminal. For example: the communication command vehicle A sends the screen combination data of the communication command vehicle B, the sound data of the communication command vehicle B is not generated, and the screen combination data of the communication command vehicle C is sent to the screen combination data of the communication command vehicle C, so that the sound data of the communication command vehicle C is not generated.
When rejecting, because the data sent by each terminal is sent through a specific channel or port, the center terminal can directly reject the data according to the channel or port source of each sound data. Such as: aiming at the screen combination data to be sent to the communication command vehicle B, the communication command vehicle A removes the sound data of the source and the communication command vehicle B.
In the embodiment of the application, for the central terminal, the video and audio data of each terminal can be subjected to screen combination processing, the central terminal receives each path of data and sends the screen combination data, so that the pressure of the central terminal is reduced, and the stability of the networking relationship in the command system can be ensured under the condition of smaller pressure of the central terminal.
Further, for the non-central terminal, the executable flow further includes: receiving the screen combination data sent by the center terminal; the screen combination data are data obtained after screen combination is carried out on video and audio data acquired by each terminal participating in the video and audio conference, and the screen combination data do not comprise sound data in the video and audio data acquired by the terminal; and playing the video and audio corresponding to the screen-closing data.
In this embodiment, after receiving the screen combination data, the non-central terminal decodes the screen combination data and plays the screen combination data, and the audio and video data played at this time cannot include sound data in the audio and video data acquired by itself due to the fact that the audio and video data are removed.
In the embodiment of the application, for the non-center terminal, the received combined screen data does not include the sound data in the video and audio data acquired by the non-center terminal, and when the non-center terminal plays, the mixed video and audio data can be prevented from having an echo effect (the sound in the current environment appears).
In the process of the video-audio conference, assuming that the central terminal is out of the network, each terminal can immediately re-determine a new central vehicle, then establish a network with the new central vehicle, and the new central vehicle can replace the out-of-network central vehicle to re-organize the video-audio conference, so that the normal operation of command tasks is ensured.
Through the description of the embodiment, it can be seen that the networking mode without the fixed center terminal provided by the embodiment of the application can stably and flexibly help the completion of various command tasks.
Based on the same inventive concept, please refer to fig. 8, in this embodiment, a device 200 for terminal networking is further provided, including: a transmitting module 201, a receiving module 202, a determining module 203 and a networking module 204.
The sending module 201 is configured to: sending the exploration information to a plurality of terminals in a preset terminal list; the receiving module 202 is configured to: receiving terminal level information responded by the plurality of terminals; the determining module 203 is configured to: determining a center terminal with the highest terminal level based on the terminal level information and the terminal level information of the center terminal; the networking module 204 is configured to: if the central terminal is not self, establishing a networking relation with the central terminal.
Optionally, the sending module 201 is further configured to: if the center terminal is self, when the probe information sent by the plurality of terminals is received, the terminal level information of the center terminal is sent to the plurality of terminals; the receiving module 202 is further configured to: receiving networking requests sent by the plurality of terminals; networking module 204 is also configured to: and establishing a networking relation with the plurality of terminals based on the networking request.
Optionally, the terminal networking device 200 further includes: and the video-audio conference module is used for: receiving an initiating request of a viewing audio conference; creating a video-audio conference corresponding to the initiation request; and generating invitation information corresponding to the video-audio conference, and sending the invitation information to the plurality of terminals so that the plurality of terminals join the video-audio conference through the invitation information.
Optionally, the audio-visual conference module is further configured to: receiving video and audio data sent by the plurality of terminals; the video and audio data are played after being combined according to preset rules; and sending the screen combination data to the plurality of terminals, wherein the sound data corresponding to the screen combination data received by the plurality of terminals are removed.
Optionally, the audio-visual conference module is further configured to: receiving invitation information of the video-audio conference sent by the center terminal; responding to the invitation information and joining the video-audio conference; and sending the video and audio data acquired in real time to the center terminal.
Optionally, the audio-visual conference module is further configured to: receiving the screen combination data sent by the center terminal; the screen combination data are data obtained after screen combination is carried out on video and audio data acquired by each terminal participating in the video and audio conference, and the screen combination data do not comprise sound data in the video and audio data acquired by the terminal; and playing the video and audio corresponding to the screen combination data.
Optionally, the sending module 201 is further configured to: when the group gateway system with the center terminal fails, sending a probe message to terminals except the center terminal in a preset terminal list; the receiving module 202 is further configured to: receiving terminal level information of the terminal responses except the center terminal; the determining module 203 is further configured to: determining a new center terminal with the highest terminal level in terminals except the center terminal based on the terminal level information and the terminal level information of the center terminal; the networking module 204 is further configured to establish a networking relationship with the new central terminal if the new central terminal is not itself.
Optionally, the sending module 201 is further configured to: if the new center terminal is self, when the probe information sent by the terminal except the center terminal is received, the terminal level of the new center terminal is sent to the terminal except the center terminal; the receiving module 202 is further configured to: receiving networking requests sent by terminals except the center terminal; networking module 204 is also configured to: and establishing a networking relation with terminals except the center terminal based on the networking request.
The embodiments and specific examples of the method for terminal networking in the foregoing embodiments are applicable to the apparatus of fig. 8, and the implementation method of the apparatus 200 for terminal networking in fig. 8 will be clearly known to those skilled in the art from the foregoing detailed description of the method for terminal networking, so that they will not be described in detail herein for brevity of description.
Based on the same inventive concept, please refer to fig. 9, the embodiment of the present application further provides a terminal 300, and the method for terminal networking described in the foregoing embodiment may be applied to the terminal 300. The terminal 300 includes: a receiver 301, a transmitter 302, a memory 303, a processor 304, a display 305, an input output module 306; and a device 200 for terminal networking.
The elements of the receiver 301, the transmitter 302, the memory 303, the processor 304, the display 305 and the input/output module 306 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, electrical connections may be made between these elements through one or more communication buses or signal buses. The method of terminal networking comprises at least one software function module, which may be stored in the memory 303 in the form of software or firmware (firmware), such as the software function module or the computer program comprised by the device 200 of terminal networking, respectively.
The receiver 301 may receive various types of data transmitted to the terminal 300, and the transmitter 302 may transmit various types of data that the terminal 300 needs to transmit. Both receiver 301 and transmitter 302 may perform corresponding flows of receiving and transmitting data under the invocation of processor 304.
The memory 303 may store various software programs and modules, such as program instructions/modules corresponding to the method and apparatus for terminal networking provided in the embodiments of the present application. The processor 304 executes various functional applications and data processing, i.e., implements the methods in the embodiments of the present application, by running software programs and modules stored in the memory 303. In addition, the memory 303 may store data such as terminal level information, a terminal list, and the like.
The Memory 303 may include, but is not limited to, RAM (Random Access Memory ), ROM (Read Only Memory), PROM (Programmable Read-Only Memory, programmable Read Only Memory), EPROM (Erasable Programmable Read-Only Memory, erasable Read Only Memory), EEPROM (Electric Erasable Programmable Read-Only Memory, electrically erasable Read Only Memory), and the like.
The processor 304 may be an integrated circuit chip with signal processing capabilities. The processor 304 may be a general-purpose processor including a CPU (Central Processing Unit ), NP (Network Processor, network processor), etc.; but may be a digital signal processor, an application specific integrated circuit, an off-the-shelf programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. Which may implement or perform the disclosed methods, steps, and logic blocks in embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Display 305 provides an interactive interface (e.g., a user interface) between terminal 300 and the user or is used to display results generated during the process to the user for reference. In the embodiment of the present application, the display 305 may be a liquid crystal display or a touch display. In the case of a touch display, the touch display may be a capacitive touch screen or a resistive touch screen, etc. supporting single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display screen can sense touch operations simultaneously generated from one or more positions on the touch display screen, and the sensed touch operations are passed to the processor 304 for calculation and processing. For example, in embodiments of the present application, the display 305 may be used to play audio-visual data, and the like.
The input/output module 306 is used for providing user input data to enable user interaction with the terminal 300. The input/output module 306 may be, but is not limited to, a mouse, a keyboard, and the like. For example, a user inputs related data or information, etc. through the input output module 306.
It is to be understood that the configuration shown in fig. 9 is merely illustrative, and that the terminal 300 may also include more or fewer components than those shown in fig. 9, or have a different configuration than that shown in fig. 9. Such as: in the embodiment of the present application, the terminal 300 further includes a camera, a microphone, and the like. If the terminal 300 is a vehicle, it may further include basic components of the vehicle. The components shown in fig. 9 may be implemented in hardware, software, or a combination thereof.
Based on the same inventive concept, the embodiments of the present application also provide a readable storage medium, on which a computer program is stored, which when executed by a computer performs the method of terminal networking of any of the above embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
In this document, 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.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application, and various modifications and variations may be suggested to one skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. The method for networking the terminals is characterized by being applied to any terminal in a terminal command system; the method comprises the following steps:
sending the exploration information to a plurality of terminals in a preset terminal list;
receiving terminal level information responded by the plurality of terminals;
determining a center terminal with the highest terminal level based on the terminal level information and the terminal level information of the center terminal;
If the central terminal is not self, sending a networking request to the central terminal, and establishing a networking relation with the central terminal;
if the central terminal is self, responding to networking requests sent by the terminals, adding the terminals sending the networking requests into a command network, and establishing networking relations with the terminals.
2. The method of claim 1, wherein after the establishing a networking relationship with the plurality of terminals, the method further comprises:
receiving an initiating request of a viewing audio conference;
creating a video-audio conference corresponding to the initiation request;
and generating invitation information corresponding to the video-audio conference, and sending the invitation information to the plurality of terminals so that the plurality of terminals join the video-audio conference through the invitation information.
3. The method of claim 2, wherein after the generating the invitation information corresponding to the audio-visual conference and transmitting the invitation information to the plurality of terminals, so that the plurality of terminals join the audio-visual conference through the invitation information, the method further comprises:
receiving video and audio data sent by the plurality of terminals;
The video and audio data are played after being combined according to preset rules;
and sending the screen combination data to the plurality of terminals, wherein the sound data corresponding to the screen combination data received by the plurality of terminals are removed.
4. The method of claim 1, wherein after the sending a networking request to the central terminal if the central terminal is not itself, the method further comprises:
receiving invitation information of the video-audio conference sent by the center terminal;
responding to the invitation information and joining the video-audio conference;
and sending the video and audio data acquired in real time to the center terminal.
5. The method according to claim 4, wherein the method further comprises:
receiving the screen combination data sent by the center terminal; the screen combination data are data obtained after screen combination is carried out on video and audio data acquired by each terminal participating in the video and audio conference, and the screen combination data do not comprise sound data in the video and audio data acquired by the terminal;
and playing the video and audio corresponding to the screen combination data.
6. The method according to claim 1, wherein the method further comprises:
When the group gateway system with the center terminal fails, sending a probe message to terminals except the center terminal in a preset terminal list;
receiving terminal level information of the terminal responses except the center terminal;
determining a new center terminal with the highest terminal level in terminals except the center terminal based on the terminal level information and the terminal level information of the center terminal;
and if the new central terminal is not self, establishing a networking relation with the new central terminal.
7. The method of claim 6, wherein the method further comprises:
if the new center terminal is self, when the probe information sent by the terminal except the center terminal is received, the terminal level of the new center terminal is sent to the terminal except the center terminal;
receiving networking requests sent by terminals except the center terminal;
and establishing a networking relation with terminals except the center terminal based on the networking request.
8. The device for terminal networking is characterized by being applied to any terminal in a terminal command system; the device comprises:
the sending module is used for sending the exploration information to a plurality of terminals in a preset terminal list;
The receiving module is used for receiving the terminal level information responded by the plurality of terminals;
the determining module is used for determining a center terminal with the highest terminal level based on the terminal level information and the terminal level information of the center terminal;
the networking module is used for sending a networking request to the central terminal if the central terminal is not the central terminal, and establishing a networking relationship with the central terminal;
and the networking module is further used for responding to the networking requests sent by the plurality of terminals if the central terminal is self, adding the plurality of terminals sending the networking requests into a command network, and establishing a networking relationship with the plurality of terminals.
9. A terminal, comprising:
a receiver, a transmitter, a memory, a processor, and a display;
the memory is used for storing computer instructions; the processor is configured to execute the computer instructions stored in the memory to implement the method for networking a terminal according to any one of claims 1-7.
10. A readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a computer, performs the method according to any of claims 1-7.
CN202010983690.2A 2020-09-16 2020-09-16 Method and device for terminal networking, terminal and readable storage medium Active CN112055365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010983690.2A CN112055365B (en) 2020-09-16 2020-09-16 Method and device for terminal networking, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010983690.2A CN112055365B (en) 2020-09-16 2020-09-16 Method and device for terminal networking, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN112055365A CN112055365A (en) 2020-12-08
CN112055365B true CN112055365B (en) 2024-04-09

Family

ID=73603704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010983690.2A Active CN112055365B (en) 2020-09-16 2020-09-16 Method and device for terminal networking, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN112055365B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010083754A1 (en) * 2009-01-22 2010-07-29 华为终端有限公司 Conference control method, control equipment and management equipment
US8570898B1 (en) * 2008-10-24 2013-10-29 Marvell International Ltd. Method for discovering devices in a wireless network
CN103415026A (en) * 2013-07-03 2013-11-27 深圳Tcl新技术有限公司 Networking method and device of wireless local area network
US9485159B1 (en) * 2012-12-17 2016-11-01 Juniper Networks, Inc. Rules-based network service management with on-demand dependency insertion
CN109327544A (en) * 2018-11-21 2019-02-12 新华三技术有限公司 A kind of determination method and apparatus of leader node
CN109413665A (en) * 2018-10-31 2019-03-01 中国船舶工业系统工程研究院 A kind of unmanned surface vehicle collaboration network-building method
CN109788236A (en) * 2019-04-01 2019-05-21 北京百度网讯科技有限公司 Audio/video conference control method, device, equipment and storage medium
CN110832947A (en) * 2018-04-12 2020-02-21 华为技术有限公司 Networking method and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10012945A1 (en) * 2000-03-16 2001-09-20 Alcatel Sa Process, terminal and infrastructure device for forming terminal groups in a mobile telecommunications network
KR102008208B1 (en) * 2018-02-02 2019-08-07 서울대학교 산학협력단 Method for configuring wireless network
US10986506B2 (en) * 2018-02-16 2021-04-20 Lenovo (Singapore) Pte. Ltd. Network slice selection assistance information configuration
WO2019211662A1 (en) * 2018-04-30 2019-11-07 Lenovo (Singapore) Pte. Ltd. Establishing an ip multimedia subsystem session
US10915116B2 (en) * 2018-12-06 2021-02-09 International Business Machines Corporation Distributed traffic scheduling for autonomous self-driving vehicles

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8570898B1 (en) * 2008-10-24 2013-10-29 Marvell International Ltd. Method for discovering devices in a wireless network
WO2010083754A1 (en) * 2009-01-22 2010-07-29 华为终端有限公司 Conference control method, control equipment and management equipment
US9485159B1 (en) * 2012-12-17 2016-11-01 Juniper Networks, Inc. Rules-based network service management with on-demand dependency insertion
CN103415026A (en) * 2013-07-03 2013-11-27 深圳Tcl新技术有限公司 Networking method and device of wireless local area network
CN110832947A (en) * 2018-04-12 2020-02-21 华为技术有限公司 Networking method and equipment
CN109413665A (en) * 2018-10-31 2019-03-01 中国船舶工业系统工程研究院 A kind of unmanned surface vehicle collaboration network-building method
CN109327544A (en) * 2018-11-21 2019-02-12 新华三技术有限公司 A kind of determination method and apparatus of leader node
CN109788236A (en) * 2019-04-01 2019-05-21 北京百度网讯科技有限公司 Audio/video conference control method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"S2-2002296_wasS2-2002017_was2000264__CR_MT-EDT 23.502_v3".3GPP tsg_sa\wg2_arch.2020,全文. *
车载自组织网络通信协议;李彤;牛敏杰;吕军;;科技导报;20170313(05);全文 *

Also Published As

Publication number Publication date
CN112055365A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
US7760659B2 (en) Transmission optimization for application-level multicast
CN112235121B (en) Method, device, equipment and storage medium for realizing online conference
US7417959B2 (en) Audio/video-conferencing using content based messaging
US8849900B2 (en) Method and system supporting mobile coalitions
US20140006502A1 (en) System and Method for Clustering of Mobile Devices and Applications
CN111478905B (en) Communication data acquisition method and device, electronic equipment and storage medium
CN111432158B (en) Load balancing method and device for media nodes, storage medium and electronic device
US20150030150A1 (en) Systems, Methods, and Computer Programs for Transitioning from a Phone-Only Mode to a Web Conference Mode
JP7463552B2 (en) SESSION CREATION METHOD, ELECTRONIC DEVICE, AND READABLE STORAGE MEDIUM
US10462197B2 (en) On Demand in-band signaling for conferences
CN110769380A (en) Video distribution method and device
CN112788053A (en) Real-time communication method, device, server, system and storage medium
CN106454206A (en) Conference access method and device
JP6699862B2 (en) Remote conference system, remote conference server, remote conference method and program
US20110069141A1 (en) Communication Between Scheduled And In Progress Event Attendees
CN114257572B (en) Data processing method, device, computer readable medium and electronic equipment
CN112055365B (en) Method and device for terminal networking, terminal and readable storage medium
CN111405308B (en) Method and device for sending live audio and video data
CN113726534A (en) Conference control method, conference control device, electronic equipment and storage medium
WO2018122100A1 (en) Identifying user devices for interactive media broadcast participation
JP2017092647A (en) Information processing system, information processing apparatus, information processing method, and program
CN112637542B (en) Call connection establishment method, device, computer equipment and storage medium
US20160373491A1 (en) Initiating a server-directed communication session
CN115776554A (en) Conference processing method, conference processing device, electronic equipment and storage medium
CN117336432A (en) Conference control method, device, equipment and storage medium

Legal Events

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