CN110519164B - Signal transmission method, system and computer readable storage medium - Google Patents

Signal transmission method, system and computer readable storage medium Download PDF

Info

Publication number
CN110519164B
CN110519164B CN201910639167.5A CN201910639167A CN110519164B CN 110519164 B CN110519164 B CN 110519164B CN 201910639167 A CN201910639167 A CN 201910639167A CN 110519164 B CN110519164 B CN 110519164B
Authority
CN
China
Prior art keywords
value
node
communication
primary
signal transmission
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
CN201910639167.5A
Other languages
Chinese (zh)
Other versions
CN110519164A (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.)
MIGU Culture Technology Co Ltd
Original Assignee
MIGU Culture 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 MIGU Culture Technology Co Ltd filed Critical MIGU Culture Technology Co Ltd
Priority to CN201910639167.5A priority Critical patent/CN110519164B/en
Publication of CN110519164A publication Critical patent/CN110519164A/en
Application granted granted Critical
Publication of CN110519164B publication Critical patent/CN110519164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics

Abstract

The invention relates to the field of communication, and discloses a signal transmission method, a signal transmission system and a computer readable storage medium. The signal transmission method comprises the following steps: determining a plurality of primary nodes in communication connection with a current node, and determining a target node; acquiring channels connecting the current node and each primary node to obtain a plurality of primary channels; acquiring a channel value of each primary channel as a primary channel value, wherein the channel value is used for representing a maximum return value of a signal transmitted from the current node to the target node through the primary node; and transmitting the signal to the primary node with the largest primary channel value. The signal transmission method, the signal transmission system and the computer-readable storage medium provided by the embodiment of the invention have the advantage of selecting the optimal transmission channel for signal transmission.

Description

Signal transmission method, system and computer readable storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a signal transmission method, system, and computer readable storage medium.
Background
With the continuous development of communication technology, the network architecture of the global mobile communication system is becoming huge, so that a reasonable network topology planning needs to be performed on the mobile communication system, so as to improve the utilization rate of network resources and realize the reasonable allocation of the network resources.
The inventor of the present invention finds that, in the prior art, when a signal is transmitted from a signal source to a signal sink through a network, multiple communication nodes are usually required to perform relaying, multiple different transmission paths may be formed in the relaying process, and how to select an optimal transmission path becomes an urgent problem due to different factors such as transmission cost and transmission rate of each transmission path.
Disclosure of Invention
An object of embodiments of the present invention is to provide a signal transmission method, system and computer readable storage medium, which can select an optimal transmission channel for signal transmission.
In order to solve the above technical problem, an embodiment of the present invention provides a signal transmission method, including: determining a plurality of primary nodes in communication connection with a current node, and determining a target node; acquiring channels connecting the current node and each primary node to obtain a plurality of primary channels, and acquiring a channel value of each primary channel as a primary channel value, wherein the channel value is used for representing a maximum return value of a signal transmitted from the current node to the target node through the primary node; and transmitting the signal to the primary node with the largest primary channel value.
The embodiment of the invention also provides a signal transmission system, which comprises a plurality of communication nodes which are mutually communicated and connected; the communication node is configured to perform the signal transmission method as described above.
The embodiment of the present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program is used for implementing the signal transmission method when being executed by a processor.
Compared with the prior art, the method and the device have the advantages that the multiple primary nodes in communication connection with the current node are obtained, the primary channels of the current node and the primary nodes are obtained, and the signals are transmitted to the primary nodes with the largest channel values by obtaining the channel values of the primary channels; the channel value of each primary channel represents the maximum return value of a signal transmitted from the current node to the target node through the primary node; the return value of the signal transmitted to the target node via the primary node with the largest channel value is also the largest, which indicates that the maximum return value can be obtained from the transmission of the signal from the primary node, i.e., that the primary node belongs to one communication node in the optimal transmission path, and the signal can be transmitted along the optimal transmission path by transmitting the signal to the primary node.
In addition, the acquiring the channel value of each primary channel as a primary channel value specifically includes: acquiring the communication value of each primary node, wherein the communication value is used for representing the maximum return value of a signal transmitted from the primary node to the target node; acquiring a first preset communication return value for communication between the current node and each primary node; and solving the value of the primary channel according to the first preset communication return value and the communication value of the primary node.
In addition, the acquiring the communication value of each level one node specifically includes: acquiring all secondary nodes in communication connection with the primary node; acquiring the communication value of each secondary node; acquiring a second preset communication return value of the communication between the primary node and each secondary node; and calculating the communication value of the primary node according to the communication value of each secondary node and the second preset communication return value.
In addition, the calculating the communication value of the primary node according to the communication value of each secondary node and the second preset communication return value specifically includes: summing the communication value of each secondary node and the second preset communication return value respectively to obtain a plurality of sum values; and taking the maximum value of the plurality of sum values as the communication value of the primary node.
In addition, before summing up the communication value of each secondary node and the second preset communication return value, the method further includes: solving the product of the communication value of each secondary node and a preset discount factor to obtain a plurality of first products, wherein the discount factor is a constant which is larger than 0 and smaller than 1; and taking the first product as the new communication value of each secondary node. By setting the discount factor, the communication value of the secondary node is reduced after being multiplied by the discount factor due to the fact that the discount factor is a constant larger than 0 and smaller than 1, so that the influence of the secondary node on the current node is reduced, and cyclic transmission is avoided in the communication transmission process.
In addition, the calculating the primary channel value according to the first preset communication return value and the communication value of the primary node specifically includes: calculating the product of the communication value of each primary node and the discount factor to obtain a plurality of second products; and calculating the sum of the second product and each first preset communication return value as the channel value of the current node and each first-level node.
In addition, the calculating the primary channel value according to the first preset communication return value and the communication value of the primary node specifically includes: and calculating the sum of each first preset communication return value and the communication value of the primary node as the primary channel value.
In addition, the preset communication return values of the current node and each primary node are obtained according to one or more of bandwidth, power consumption and transmission price.
In addition, the current node is a camera device, the target node is a live broadcast server, and the primary node is a live broadcast director.
Further, the camera and the live broadcast station are connected to each other by communication via a D2D network.
Drawings
Fig. 1 is a flowchart of a signal transmission method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a procedure for acquiring a primary channel value in a signal transmission method according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a signal transmission network illustrated in a first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a signal transmission system according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a signal transmission method. The specific flow is shown in fig. 1, and comprises the following steps;
step S101: a plurality of primary nodes which are in communication connection with the current node are determined, and a target node is determined.
Specifically, in this embodiment, the current node is a node where the signal is currently located, which may be a signal source generating the signal or an intermediate node for signal transmission, and is not limited herein, and the target node is a destination node where the signal needs to be transmitted. For example, in the present embodiment, the current node and the target node may be an image pickup apparatus and a live broadcast server, a live broadcast station and a user terminal connected to the image pickup apparatus, or any relay station and a live broadcast server connected to the image pickup apparatus, and the like.
In the present embodiment, the primary node is a communication node directly connected to the current node, and for example, the primary node may be a live broadcast station connected to the image pickup apparatus, a relay station connected to the image pickup apparatus, or the like.
Step S102: and acquiring channels connecting the current node and each primary node to obtain a plurality of primary channels.
Step S103: and acquiring the channel value of each primary channel as the primary channel value.
Specifically, in this step, the primary channel value is a virtual value that is used to represent the maximum return value of the signal transmitted from the current node to the target node via the primary node.
Further, a specific implementation of obtaining the primary channel value is described below, but it should be understood that the following is only an example of a specific implementation of obtaining the primary channel value in the present embodiment, and is not limited thereto. The specific process is shown in fig. 2, and comprises the following steps:
step S201: and acquiring the communication value of each primary node.
Specifically, in this step, the communication value of the node is used to represent the maximum return value of the signal transmitted from the node to the target node.
Further, in this embodiment, the obtaining the communication value of the primary node specifically includes:
the method comprises the steps of obtaining all secondary nodes in communication connection with a primary node, obtaining the communication value of each secondary node, obtaining a second preset communication return value of the primary node in communication with each secondary node, and obtaining the communication value of the primary node according to the communication value of each secondary node and the second preset return value.
Preferably, in this embodiment, the calculating the communication value of the primary node according to the communication value of each secondary node and the second preset return value specifically includes: and summing the second preset communication return values of the communication values of the secondary nodes respectively to obtain a plurality of sum values, and taking the maximum value of the sum values as the communication value of the primary node. It is understood that, in the present embodiment, the communication value of the secondary node may be obtained in the same manner from the tertiary node communicatively connected to the secondary node to the target node. It should be noted that, since the target node is not connected to the next node, the communication value of the target node is zero. It should be understood that the above is only a specific example for determining the communication value of the primary node in the present embodiment, and is not limited thereto, and other methods may be used in other embodiments of the present invention, and are not listed here.
Preferably, in this embodiment, before summing the communication value of the secondary node and the second preset communication return value, the communication value of each secondary node is multiplied by a preset discount factor to obtain a plurality of first products, and each first product is used as a new communication value of each secondary node. Wherein the predetermined discount factor is a constant greater than 0 and less than 1. By setting the discount factor to be multiplied by the communication value of each secondary node, the communication value is lower as the number of transmission times is larger and the discount factor is a constant larger than 0 and smaller than 1, so that a ring-shaped path is prevented from being formed in a signal transmission network, and a signal can be transmitted to a target node.
Specifically, in this embodiment, the second preset communication report value is a preset report value for the communication between the primary node and the secondary node, and may be set according to one or more of the factors of the transmission bandwidth, the power consumption of the transmission process, the transmission price, and the like. For example, the higher the transmission bandwidth, the higher the communication return value, the higher the power consumption, the lower the communication return value, the lower the transmission price, and the higher the transmission return value.
Step S202: and acquiring a first preset communication return value for communication between the current node and each primary node.
Specifically, in this embodiment, the first preset communication report value is a preset report value for communication between the current node and the primary node, and may be set according to one or more of the factors of the transmission bandwidth, the power consumption of the transmission process, the transmission price, and the like. For example, the higher the transmission bandwidth, the higher the communication return value, the higher the power consumption, the lower the communication return value, the lower the transmission price, and the higher the transmission return value.
It should be understood that the above is only a specific example of the preset communication return value in the present embodiment, and is not limited thereto, and other methods may be used in other embodiments of the present invention, and are not listed here.
Step S203: and solving a primary channel value according to the first preset communication return value and the communication value of the primary node.
Specifically, in this step, the sum of the communication value of each primary node and the first preset communication return value is obtained, so as to obtain a plurality of sum values, and the largest sum value among the plurality of sum values is obtained as the primary channel value. It should be understood that the above is only a specific example for obtaining the primary channel value in the present embodiment, and is not limited thereto, and other methods may be used in other embodiments of the present invention, and are not listed here.
Preferably, in the present embodiment, before the sum of the communication value of each primary node and the first preset communication return value is obtained, the communication value of each primary node is multiplied by the discount factor to obtain a plurality of second products, and the second products are used as new communication values of each primary node.
Step S104: and transmitting the signal to a primary node with the largest primary channel value.
Specifically, in this step, the channel values of the primary channels are compared to obtain a primary channel with the largest primary channel value, and a signal is transmitted from the current node to the corresponding primary node along the primary channel.
Compared with the prior art, the signal transmission method provided by the first embodiment of the present invention transmits the signal to the communication node with the largest channel value by obtaining the channel value corresponding to each communication node, and since the channel communication value can be used to represent the maximum return value of the signal transmitted from the channel to the target node, the optimal transmission node is sequentially selected to form an optimal transmission path, and the signal is ensured to propagate along the optimal transmission path.
The following description is given by way of example of a signal transmission method provided in the present embodiment, and it should be understood that the following description is only one specific example of the present embodiment and is not intended to limit the present embodiment. Specifically, as shown in fig. 3, if node a is the current node and node d is the target node, nodes b1, b2, and b3 are the first-level nodes, and nodes c1, c2, c3, and c4 are the second-level nodes. Setting the preset communication return values between a and b1, b2 and b3 as 8, 3 and 10 respectively,
the preset communication return value between b1 and c1 is 6;
the preset communication reply value between b1 and c2 is 7;
the preset communication return value between b2 and c2 is 3;
the preset communication reply value between b2 and c3 is 7;
the preset communication return value between b3 and c3 is 6;
the preset communication return value between b3 and c4 is 5;
the preset communication return value between c1 and d is 5;
the preset communication return value between c2 and d is 10;
the preset communication return value between c3 and d is 8;
the preset communication return value between c4 and d is 7;
v (x) represents the communication value of the x node, q (x1, x2) represents the channel value between the x1 node and the x2 node, and R (x1, x2) represents the preset communication reply value between the x1 node and the x2 node.
V (d) =0;
v(c1)=q(c1,d)= v(d)+ R(c1,d)=0+5=5;
v(c2)=q(c2,d)= v(d)+ R(c2,d)=0+10=10;
v(c3)=q(c3,d)= v(d)+ R(c3,d)=0+8=8;
v(c4)=q(c4,d)= v(d)+ R(c4,d)=0+7=7;
v(b1)=max{q(b1,c1), q(b1,c2)}=max{ [v(c1)+ R(b1,c1)],[ v(c2)+ R(b1,c2)]}=max{[5+6],[10+7]}=17;
v(b2)=max{q(b2,c2), q(b2,c3)}=max{ [v(c2)+ R(b2,c2)],[ v(c3)+ R(b2,c3)]}= max{[3+10],[7+8]}=15;
v(b3)=max{q(b3,c3), q(b3,c4)}=max{ [v(c3)+ R(b3,c3)],[ v(c4)+ R(b3,c4)]}=max{[6+8],[5+7]}=14;
q(a,b1)= v(b1)+ R(a,b1)]=8+17=25;
q(a,b2)= v(b2)+ R(a,b2)]=3+15=18;
q(a,b3)= v(b3)+ R(a,b3)]=10+14=24。
as can be seen from the above formula, the current node a and the primary node b1 have the largest channel value, and transmit the signal from node a to node b 1; when the signal is transmitted to the node b1, the channel value between the node b1 and the node c2 is the largest, and the signal is transmitted to the node c2 and finally to the target node d. That is, the transmission channel is a-b1-c2-d, and the sum of the predetermined communication reports of the transmission channel is the maximum, which is the optimal transmission path.
A second embodiment of the present invention relates to a signal transmission system, as shown in fig. 4, including: a plurality of communicatively interconnected communication nodes s; wherein the communication node s is adapted to perform the signal transmission method as in the first embodiment.
A third embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A signal transmission method, comprising:
determining a plurality of primary nodes in communication connection with a current node, and determining a target node;
acquiring channels connecting the current node and each primary node to obtain a plurality of primary channels;
acquiring a channel value of each primary channel as a primary channel value, wherein the channel value is used for representing a maximum return value of a signal transmitted from the current node to the target node through the primary node;
transmitting the signal to a primary node with the largest primary channel value;
the obtaining of the channel value of each primary channel as a primary channel value specifically includes: acquiring the communication value of each primary node, wherein the communication value is used for representing the maximum return value of a signal transmitted from the primary node to the target node; acquiring a first preset communication return value for communication between the current node and each primary node; obtaining the value of the primary channel according to the first preset communication return value and the communication value of the primary node;
the obtaining of the communication value of each level one node specifically includes: acquiring all secondary nodes in communication connection with the primary node; acquiring the communication value of each secondary node; acquiring a second preset communication return value of the communication between the primary node and each secondary node; and calculating the communication value of the primary node according to the communication value of each secondary node and the second preset communication return value.
2. The signal transmission method according to claim 1, wherein the calculating the communication value of the primary node according to the communication value of each secondary node and the second preset communication return value specifically includes:
summing the communication value of each secondary node and the second preset communication return value respectively to obtain a plurality of sum values;
and taking the maximum value of the plurality of sum values as the communication value of the primary node.
3. The signal transmission method according to claim 2, wherein before summing the communication cost value of each of the secondary nodes and the second predetermined communication return value, the method further comprises:
solving the product of the communication value of each secondary node and a preset discount factor to obtain a plurality of first products, wherein the discount factor is a constant which is larger than 0 and smaller than 1;
and taking the first product as the new communication value of each secondary node.
4. The signal transmission method according to claim 3, wherein the calculating the primary channel value according to the first preset communication reply value and the communication value of the primary node specifically includes:
calculating the product of the communication value of each primary node and the discount factor to obtain a plurality of second products;
and calculating the sum of the second product and each first preset communication return value as the channel value of the current node and each first-level node.
5. The signal transmission method according to claim 1, wherein the calculating the primary channel value according to the first preset communication reply value and the communication value of the primary node specifically includes:
and calculating the sum of each first preset communication return value and the communication value of the primary node as the primary channel value.
6. The signal transmission method according to claim 1, wherein the first preset communication reply value for the current node to communicate with each of the primary nodes is set according to one or more of bandwidth, power consumption, and transmission price.
7. The signal transmission method according to claim 1, wherein the current node is a camera, the target node is a live server, and the primary node is a live program director.
8. The signal transmission method according to claim 7, wherein the camera and the live director are communicatively connected via a D2D network.
9. A signal transmission system, comprising: a plurality of communicatively coupled communication nodes;
the communication node is configured to perform the signal transmission method according to any of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, implements the signal transmission method according to any one of claims 1 to 8.
CN201910639167.5A 2019-07-16 2019-07-16 Signal transmission method, system and computer readable storage medium Active CN110519164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910639167.5A CN110519164B (en) 2019-07-16 2019-07-16 Signal transmission method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910639167.5A CN110519164B (en) 2019-07-16 2019-07-16 Signal transmission method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110519164A CN110519164A (en) 2019-11-29
CN110519164B true CN110519164B (en) 2022-02-22

Family

ID=68623622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910639167.5A Active CN110519164B (en) 2019-07-16 2019-07-16 Signal transmission method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110519164B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123087B (en) * 2011-02-18 2014-01-08 天津博宇铭基信息科技有限公司 Method for quickly calibrating multi-level forwarding load balance and multi-level forwarding network system
CN102571570A (en) * 2011-12-27 2012-07-11 广东电网公司电力科学研究院 Network flow load balancing control method based on reinforcement learning
CN106102112B (en) * 2016-05-19 2019-06-11 东华大学 A kind of mobile Sink node method of data capture based on ant group algorithm
US10873529B2 (en) * 2017-12-01 2020-12-22 Futurewei Technologies, Inc. Method and apparatus for low latency data center network
CN108322925B (en) * 2018-01-29 2021-02-19 东北大学 Transmission path calculation method for distinguishing service types in ultra-density heterogeneous convergence network

Also Published As

Publication number Publication date
CN110519164A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
WO2021051905A1 (en) Positioning method and apparatus, terminal device and storage medium
CN110443375B (en) Method and device for federated learning
CN107872806B (en) Routing node position selection method and device and terminal equipment
JP6374518B2 (en) Information processing method, user equipment, and base station
CN104067581A (en) Multiple gateway device, multiple line communication system, multiple line communication method and program
EP3313143A1 (en) Data transmission method, device and system, and computer storage medium
CN104620658A (en) Method for transmitting data signals and user device
CN112737939A (en) Network self-healing method and network architecture based on cooperative communication of Internet of things
US9722914B2 (en) Heterogeneous network system, network apparatus, and rendezvous path selection method thereof
CN101808167A (en) Method for procedure tracking, device and system
CN103179045B (en) Support the resource node selecting method of P2P flow optimization
US9009248B2 (en) Apparatus and method of performing discovery based on priority level in distributed network, and method of determining discovery back-off time
CN110519164B (en) Signal transmission method, system and computer readable storage medium
CN112714146A (en) Resource scheduling method, device, equipment and computer readable storage medium
CN102123010B (en) Data transmission method for medium access control (MAC) layer in wireless local area network
CN104104597A (en) Data transmission method, device and system
CN112866897B (en) Positioning measurement method, terminal and network node
CN107534479A (en) Management frame antenna selecting method and device based on master-slave type network
CN103619025A (en) Method and device for calculating network capacity
CN107005296A (en) A kind of precoding information collection method and transmission equipment
CN105519007B (en) A kind of information transferring method, equipment and system
CN110875886A (en) Data transmission method, device and system for transmission network
CN108288986A (en) A kind of beamforming transmission method and the network equipment
WO2023236094A1 (en) Sensing result information sending method and apparatus, sensing result information receiving method and apparatus, and device and storage medium
CN116886475B (en) Channel estimation method, device 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
GR01 Patent grant
GR01 Patent grant