CN113703364A - Data transmission method, device and medium - Google Patents

Data transmission method, device and medium Download PDF

Info

Publication number
CN113703364A
CN113703364A CN202110985489.2A CN202110985489A CN113703364A CN 113703364 A CN113703364 A CN 113703364A CN 202110985489 A CN202110985489 A CN 202110985489A CN 113703364 A CN113703364 A CN 113703364A
Authority
CN
China
Prior art keywords
receiving device
receiving
data transmission
data
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110985489.2A
Other languages
Chinese (zh)
Inventor
秦瑜瀚
聂超
赵丽菲
马珵
陈铁砺
杨永贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202110985489.2A priority Critical patent/CN113703364A/en
Publication of CN113703364A publication Critical patent/CN113703364A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

The application discloses a data transmission method, equipment and a medium, wherein the method comprises the following steps: the method comprises the steps that a first receiving device receives a data packet sent by a control terminal or other receiving devices which are in the same local area network with the first receiving device; the first receiving device analyzes the data packet; and the first receiving equipment sends the data packet to second receiving equipment based on the analysis result, wherein the second receiving equipment is the receiving equipment which is positioned in the same local area network as the first receiving equipment and does not receive the data packet. According to the embodiment of the application, the receiving equipment is connected with other receiving equipment in the same local area network, and then the obtained data packet is transmitted to other receiving equipment connected with the receiving equipment, so that other receiving equipment can further transmit the obtained data packet to other receiving equipment, a data transmission path is formed between the receiving equipment, the data processing pressure of the control terminal is reduced, and the data transmission efficiency is finally improved.

Description

Data transmission method, device and medium
Technical Field
The present application relates generally to the field of communications technologies, and in particular, to a data transmission method, device, and medium.
Background
With the wide application of communication technology in various fields, the information transmission is very convenient, so that the efficiency of daily life and work is improved, and particularly, in some application scenes of data transmission, such as large activity places like commodity exhibition or tourist attractions, corresponding data needs to be distributed to receiving equipment arranged in the receiving equipment according to the places.
At present, data to be transmitted is mainly sent to receiving equipment through a background server, or connection is established between the data to be transmitted and all receiving equipment through a control terminal, and then the corresponding data to be transmitted is transmitted to the receiving equipment.
In the data transmission mode under the above scenario, data transmission is complex, and the data processing pressure of the control terminal is large, which results in low data transmission efficiency.
Disclosure of Invention
In view of the above-mentioned defects or shortcomings in the prior art, it is desirable to provide a data transmission method, device and medium, which implement transmission of data to be transmitted by establishing connection between devices in the same lan, so as to simplify the data transmission process, reduce the data processing pressure of the control terminal, and improve the data transmission efficiency.
In a first aspect, an embodiment of the present application provides a data transmission method, where the method includes:
the method comprises the steps that a first receiving device receives a data packet sent by a control terminal or other receiving devices which are in the same local area network with the first receiving device;
the first receiving device analyzes the data packet;
and the first receiving equipment sends the data packet to second receiving equipment based on the analysis result, wherein the second receiving equipment is the receiving equipment which is positioned in the same local area network as the first receiving equipment and does not receive the data packet.
In a second aspect, an embodiment of the present application provides a data transmission method, where the method includes:
sending a data transmission message to a first receiving device;
receiving a feedback message of the first receiving device;
and when the feedback message indicates that the first receiving device does not receive the data packet or does not establish a data transmission link with other receiving devices in the same local area network, sending the data packet to the receiving device.
In a third aspect, embodiments of the present application provide a processing device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the processor implements the method according to the first aspect or the second aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program for implementing the method according to the first or second aspect.
According to the data transmission method, the data transmission device and the data transmission medium, the receiving device for obtaining the data packet to be transmitted is connected with other receiving devices in the same local area network, and then the obtained data packet is transmitted to other receiving devices connected with the receiving device, so that the other receiving devices can further transmit the obtained data packet to other receiving devices, a data transmission path is formed between the receiving devices, the data processing pressure of a control terminal is reduced, and the data transmission efficiency is finally improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic view of a scene architecture of data transmission according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a data transmission method according to further embodiments of the present application;
fig. 4 is a schematic flow chart of a data transmission method according to further embodiments of the present application;
fig. 5 is a schematic view of a data transmission scenario according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer that processes a receiving device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only the portions relevant to the disclosure are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
It can be understood that in some large-scale commodity exhibition or science and technology museum exhibition activities, or tourist attraction construction, or street advertisement putting, in order to improve the interest of the construction site, the commodities, exhibits or corresponding advertisement information corresponding to different exhibition areas or areas are usually animated through configured electronic display devices, or broadcasted by voice. In the above audio data display scenario, the server needs to transmit different or the same audio to be played to each corresponding display device in advance through a wireless connection technology.
Or in the terminal express sorting scene in the logistics field, in order to improve the express sorting efficiency, express information destined to the same network point or distributed point can be distributed to the handheld terminal of the sorter through the background server or the distributor.
It can be understood that, in the data distribution process in the above scenario, the control end or the built distributor needs to send data to each receiving device one by one, so that the data transmission cost is high, the data processing capacity of the control end is large, and the data transmission efficiency is low.
In the embodiment of the present application, in order to implement fast distribution of data in the above scenario, a data transmission architecture as shown in fig. 1 is provided. The architecture may include a plurality of receiving devices, and at least one control terminal.
The control end in the data transmission architecture shown in fig. 1 may be a mobile terminal, such as an electronic device with data storage and transmission functions, such as a mobile phone, a tablet computer, or a notebook computer. The receiving device can be a terminal device with data processing capability, such as an electronic receiving device with voice data, image data or audio/video data playing function, such as a display screen or a sound device and other receiving devices; or a hand-held terminal of a sorter of a logistics scene.
For example, in the application scenario described above, the receiving device in fig. 1 may be a playing device with an audio data playing function, and the playing devices configured in different positions or areas play different contents. In the exhibition hall of the science and technology products, the products exhibited in each exhibition area are different. Therefore, the audio data played on the playing device configured for each exhibition area is different. And different or the same audio to be played is transmitted to each corresponding playing device in advance through the configured control end.
The control terminal in the framework is wirelessly connected with each receiving device, and if the control terminal and the receiving devices are connected through a websocket wireless technology, so that the control terminal and the receiving devices are in the same local area network, the control terminal can be connected with the control terminal to send data packets to the receiving device, and the receiving device analyzes the received data packets to execute corresponding operations, such as playing corresponding audio data or displaying express information to be sorted.
It can be understood that, in the embodiment of the present application, the wireless communication mode between the control end and the multiple receiving devices may also adopt other close-range communication modes besides the websocket, and data transmission between the receiving devices and between the control end and the receiving devices may be implemented, which is not limited in this embodiment of the present application.
In the embodiment of the application, when the control end transmits data to different receiving devices, in order to improve the transmission efficiency of the data, each receiving device can be wirelessly connected, so that the receiving device receiving the data packet can be used as a transmitting end, and the data is transmitted to other receiving devices in the same local area network based on a wireless connection technology, so that the data to be transmitted can be efficiently transmitted.
For example, in the exhibition scene of the above-mentioned scientific and technological products, each playing device may be connected to another through the websocket wireless technology, so as to transmit the audio data to be played.
In order to better understand the data transmission method, apparatus, receiving device and medium provided in the embodiments of the present application, detailed descriptions are provided below with reference to fig. 2 to 8.
Fig. 2 is a schematic flowchart of a data transmission method provided in an embodiment of the present application, and as shown in fig. 2, the method may be executed by the receiving device in fig. 1, where the method specifically includes:
s110, a first receiving device receives a data packet sent by a control end or other receiving devices in the same lan as the first receiving device.
S120, the first receiving device parses the data packet.
S130, the first receiving device sends the data packet to a second receiving device based on the parsing result, where the second receiving device is a receiving device that is in the same local area network as the first receiving device and does not receive the data packet.
Specifically, in the embodiment of the present application, by using the receiving device as a data interaction party, all receiving devices located in the same local area network can be used as a data receiving end and also can be used as a data sending end, so as to improve data transmission efficiency. That is, after receiving a data packet to be transmitted, a first receiving device in the architecture shown in fig. 1 may serve as a data transmitting end to transmit the data packet to other receiving devices, such as a second receiving device, in the architecture shown in fig. 1.
The first receiving device may specifically analyze the received data packet, and determine any receiving device capable of receiving the data packet, that is, the second receiving device, according to an analysis result. And further transmitting the received data packet to the determined second receiving device so as to realize data transmission among all the receiving devices in the same local area network.
The first receiving device is any one receiving device located in the same local area network, and the received data packet may be sent by a control end or sent by other receiving devices located in the same local area network, so that each receiving device in the same local area network can serve as a distributor for intermediate transmission, that is, serve as a distributor for data distribution.
The data package may include data to be transmitted, such as audio data to be played, program content such as voice data, picture data, or video disc data.
The data packet may also include an identification of the receiving device. The identification of the receiving device may be a MAC address, an IP address, etc. of the receiving device, which can uniquely determine the identity of the receiving device.
Optionally, the data packet may further include a data transmission policy, a data execution policy, a key, and the like. The specific content in the data packet may be determined according to an actual scene, which is not limited in this application example.
It will be appreciated that when distributing transmission data, the receiving device that is currently transmitting or has already transmitted, i.e. is receiving data or has already received data packets, will not be repeatedly distributed. And, the reception apparatus that has already received the data packet may further transmit the reception apparatus that has not started receiving the data packet at present.
In the embodiment of the application, when data are transmitted to a plurality of receiving devices located in the same local area network, any one receiving device in the local area network can be used as a receiving end to receive the data packet and then can be used as a data transmitting end to transmit the data packet to other receiving devices which do not receive the data packet, so that the data can be rapidly distributed, the data transmission pressure of a control end is reduced, and the data transmission efficiency is improved.
Optionally, in this embodiment of the application, when the first receiving device receives the data packet and sends data to the second receiving device according to an analysis result of the data packet, the data may be specifically implemented by using the analysis result.
The process of sending data to the second receiving device based on the parsing result specifically includes:
s131, the first receiving device establishes a data transmission link with the second receiving device based on the receiving device identification obtained by analysis;
s132, the first receiving device sends the data packet to the second receiving device based on the established data transmission link.
Specifically, after the first receiving device analyzes the received data packet to obtain the content in the data packet, a link may be established with the second receiving device according to the identifier of the receiving device included in the analysis result, and then the data packet is sent to the second receiving device after the link is established.
For example, in a product display scenario, when a certain playback device that receives a data packet is used as a data sending end to distribute data, based on a wireless communication mechanism, a data transmission link may be established with a receiving end, that is, a second receiving device, and then the established link may be used to perform data transmission.
Optionally, when establishing a data transmission link with the second receiving device, the method may be performed by using the method shown in fig. 3, and specifically includes:
s01, the first receiving device sends a data transmission link request message to the second receiving device based on the identified rank order.
S02, the first receiving device receives the first feedback message of the second receiving device.
S03, when the first feedback message indicates that the second receiving device does not receive the data packet or does not establish a data transmission link with other receiving devices, the first receiving device establishes a data transmission link with the second receiving device.
Specifically, after the first receiving device analyzes the data packet, the first receiving device may obtain other contents, such as an identifier, an asymmetric key, and the like, of all receiving devices that need to receive the data packet, which are included in the data packet. And then according to the arrangement sequence of the identifiers of the receiving devices, the receiving device corresponding to one identifier is used as a transmission object, namely the second receiving device, so as to establish a data transmission link. I.e. a data transfer link acknowledgement message is generated and sent to the second receiving device. After receiving the data transmission link confirmation message, the second receiving device can send a feedback message to the first receiving device based on the current state of the second receiving device.
And when the second receiving equipment does not receive the data packet currently and does not establish the data transmission link with other receiving equipment and the control end, sending a feedback message to the first receiving equipment to indicate that the data transmission link can be established.
At this time, the first receiving device may transmit a link establishment message to the second receiving device to establish a data transmission link with the second receiving device.
Or, when the second receiving device has received the data packet, or a connection is currently established at the control end or other receiving devices for data transmission, a message is fed back to the first receiving device to indicate that the first receiving device is not required to transmit the data packet.
At this time, the first receiving device may return to the step of S131, and re-determine a receiving device corresponding to the receiving device identifier from the identifiers of the receiving devices, as a transmission object, that is, a third receiving device, to establish a data transmission link, and repeat the above operations.
It is to be understood that the third receiving device is also a receiving device in the same local area network as the first receiving device and the second receiving device.
Optionally, in some embodiments, all fields of the identifiers of the receiving devices may be sequentially stored in the corresponding data packets. For example, the identifiers of all playback devices in a certain product display area may be encapsulated in a data packet according to a certain sequence.
It can also be understood that, in this embodiment of the application, since all receiving devices in the same local area network may serve as both a receiving end and a data sending end, in the data distribution process, the first receiving device may also receive a data transmission link request message sent by another receiving device.
Namely, the method may further comprise:
s06, the first receiving device receives the data connection request sent by the fourth receiving device.
S07, the first receiving device sends a second feedback message to the fourth receiving device, where the second feedback message indicates that the first receiving device has received the data packet.
Specifically, the first receiving device may also receive a data connection request sent by another receiving device, such as a fourth receiving device, in the same local area network while distributing data to the other receiving device, so as to send data to the first receiving device.
It can be understood that, since the first receiving device has currently acquired the data packet, a second feedback message indicating that it has received the data packet may be sent to the fourth receiving device.
It can also be understood that, in this embodiment of the application, after the receiving devices corresponding to the identifiers of all the receiving devices encapsulated in the data packet acquire the data packet, that is, all the feedback messages indicate that the data packet has been currently received, or the data packet is currently connected to other receiving devices or a control end for data transmission connection, the method ends.
In the embodiment of the application, the display device which obtains the data to be displayed is connected with other display devices, and the obtained audio data to be displayed is transmitted to the display device which is connected with the display device, so that a data transmission path is formed between the display devices, the data processing pressure of the control terminal is reduced, and the data transmission efficiency is finally improved.
On the other hand, as shown in fig. 4, an embodiment of the present application further provides a data transmission method, where the method is executed by a control end, and specifically includes:
s210, the control end sends a data transmission message to the first receiving device;
s220, the control end receives a feedback message of the first receiving device;
s230, when the feedback message indicates that the first receiving device does not receive a data packet or does not establish a data transmission link with other receiving devices in the same local area network, the control end sends a data packet to the receiving device.
Specifically, after the data packet to be transmitted is loaded on the control end, for example, after the data packet to be transmitted is acquired from the server or acquired in other manners, a connection may be established with the first receiving device in the same local area network that needs to receive the data packet, and the data packet is transmitted to the first receiving device that establishes the connection.
For example, when the control end establishes a link with the receiving device, the control end may recognize a barcode or a two-dimensional code including an identifier of the receiving device.
It can be understood that, according to the above embodiment, after receiving the data packet, the first receiving device may serve as a data sending end to transmit the data packet to other receiving devices that do not receive the data packet.
It is also understood that the first receiving device is any receiving device within the same lan as the control terminal that needs to receive the data packet. After the first receiving device completes the data packet transmission, the first receiving device may continue to establish a data transmission link with other receiving devices in the same local area network, so as to continue to transmit data to other receiving devices. Namely, the control end and the receiving equipment receiving the data packet are both used as data sending ends to distribute the data packet, and the method is ended until the receiving equipment corresponding to all the identifiers in the data packet receives the data packet.
Optionally, in order to better understand data transmission between all receiving devices in the same local area network in the embodiment of the present application, the following is illustrated and explained by using the scenario shown in fig. 5.
For example, in a product display scenario, for a data packet of a certain product, the identifiers of the receiving devices included in the data packet are the identifiers of the receiving devices of all display devices in the product display area.
If 12 playback devices, such as 10 display screens, are included in the same lan. Moreover, the No. 1-7 display screens are positioned in the same exhibition area, the No. 8-10 display screens are positioned in the same exhibition area, and the No. 11 and No. 12 display screens are positioned in the same exhibition area. That is, display screens 1-7 play the same audio data, display screens 8-10 play the same audio data, and display screens 11 and 12 play the same audio data.
The audio data that can be sent to the display screen at the control end includes three data packets, and the first data packet may include audio data to be played of display screens No. 1-7 and identifiers of display screens No. 1-7 sequentially arranged in sequence; the second data packet can include audio data to be played of No. 8-10 display screens and identifications of No. 8-10 display screens sequentially arranged in sequence; the third data packet may include audio data to be played for display screens No. 11 and No. 12, and identifiers of display screens No. 11 and No. 12 sequentially arranged in sequence.
Further, if after the display screen 1 receives the first data packet sent by the control terminal, it can be known that the data packet can also be sent to the display screen 2-7 by parsing. At this time, the display screen No. 1 may use the display screen No. 2 as a second receiving device, that is, a target receiving device, to prepare for transmitting data to the display screen No. 2, according to the arrangement sequence of the identification field of the receiving device of the display screen in the data packet, if the identification field of the display screen No. 1 is followed by the identification field of the display screen No. 2.
First, the display screen No. 1 may generate a data transmission connection request message based on the identifier of the display screen No. 2, and send the message to the display screen No. 2.
Further, after receiving the request message sent by the display screen 1, the display screen 2 can reply a feedback message to the display screen 1 according to the current state of the display screen.
It can be understood that, since the display screen No. 1 completes the reception of the data packet, that is, the control end completes the transmission of the data packet to the display screen No. 1. A connection may be further established with display screen No. 2 to distribute the data package to display screen No. 2.
Therefore, if the display screen 2 receives the request message sent by the control terminal first, the message fed back to the control terminal indicates that the establishment of the data transmission link is confirmed, so as to achieve the acquisition of the data packet. Correspondingly, since the No. 2 display screen is ready to establish a data transmission link with the control terminal, the message fed back to the No. 1 display screen indicates that the link establishment is refused.
Alternatively, in other embodiments, the display screen No. 2 may not feed back any messages to the first receiving device.
Then, when the first receiving device, that is, the display screen No. 1, does not receive the feedback message of the second receiving device within the preset time period, or receives a message indicating that the link establishment is rejected, which is fed back by the second receiving device, the first receiving device returns to S131, that is, establishes a data transmission link with another receiving device according to the identifier.
As shown in fig. 5, after the display screen No. 1 does not receive the feedback message of the display screen No. 2 in the preset time period or receives the feedback message indicating that the link establishment is rejected, further, according to the analyzed identifier of the receiving device, the display screen No. 3 is used as a second receiving device, that is, a target transmission object, in sequence, and the above actions are repeated. At this time, since the display screen No. 3 does not receive the data packet, a confirmation message that the data transmission link can be established can be fed back to the display screen No. 1. After receiving the feedback message, the display screen 1 can establish a data link with the display screen 3, and complete the transmission of the data packet.
Further, after the data packet is received by the display screen No. 3, the data packet and the display screen No. 1 can be used as a data sender at the same time, and the same action as the display screen No. 1 is executed, that is, the display screen No. 1 and the display screen No. 2 can try to perform data interaction with the display screen No. 4, so as to establish a data transmission link. In the process, the No. 4 display screen can establish a data transmission link with a sender of the first received request message, if the request message of the No. 1 display screen is received first, the No. 4 display screen is connected with the No. 1 display screen, the No. 3 display screen can continue to perform data interaction with the No. 5 display screen, and when the No. 5 display screen does not receive the data packet and is not connected with other terminals, such as the No. 5 display screen does not have other display screens and a control terminal, the data transmission link can be established and data transmission is performed.
Further, after receiving the data packet, the display screen 1-5 may continue to serve as a data sending end to send the data packet to other display screens, for example, the display screen 1-5 that receives the data packet tries to establish a connection with the display screen 6 and the display screen 7, so as to distribute the data.
In the process, after the control end completes the data packet distribution of the display screen No. 2, the control end can continue to establish data transmission links to other display screens to distribute the data packets.
And finally, all the display screens No. 1-7 in the same exhibition area receive the data packets so as to complete data sharing among all the receiving devices.
It can be understood that, for the other two groups of display screens shown in fig. 5, i.e. display screens No. 8-10 and display screens No. 11-12, which play the same audio data, the above-mentioned splitting distribution mode can also be adopted to quickly achieve the acquisition of the audio data.
According to the data transmission method provided by the embodiment of the application, each receiving device can be used as a distributor through data interaction between the receiving devices in the same local area network, and the data packets are automatically and synchronously transmitted to the screen-side receiving device which is not yet transmitted in a plan. In the transmission process, the control end and the screen end realize the distribution of the data packets in the 1-N mode, and the screen end adopt the distribution of the data packets in the N-N mode.
On the other hand, as shown in fig. 6, an embodiment of the present application provides a data transmission apparatus 500, where the apparatus 500 includes:
a first receiving module 510, configured to receive, by a first receiving device, a data packet sent by a control end or other receiving devices in the same local area network as the first receiving device;
a parsing module 520, configured to parse the data packet by the first receiving device;
a first transmission module 530, configured to send, by the first receiving device, the data packet to a second receiving device based on the parsing result, where the second receiving device is a receiving device that is in the same local area network as the first receiving device and does not receive the data packet.
Optionally, in the data transmission apparatus according to the embodiment of the present application, the data packet further includes identifiers of all receiving devices that receive the data packet.
Optionally, in the data transmission apparatus according to the embodiment of the present application, the transmission module 530 includes:
a first link establishing unit 531, configured to establish a data transmission link with the second receiving device based on the identifier obtained through the analysis;
a transmitting unit 532, configured to send the data packet to the second receiving device based on the established data transmission link.
Optionally, in the data transmission apparatus according to the embodiment of the present application, the link establishing unit 531 includes:
a sending subunit 01, configured to send a data transmission link request message to the second receiving device based on the permutation order of the identifiers;
a receiving subunit 02, configured to receive the first feedback message of the second receiving apparatus;
a establishing subunit 03, configured to establish a data transmission link with the second receiving apparatus when the first feedback message indicates that the second receiving apparatus does not receive the data packet or does not establish a data transmission link with other receiving apparatuses.
Optionally, in the data transmission apparatus according to this embodiment of the present application, when the first feedback message indicates that the second receiving device has received the data packet, or establishes a data transmission link with another receiving device or the control end, the apparatus further includes:
a second link establishing unit 532, configured to establish a data transmission link with the third receiving device based on the identifier obtained through the analysis, where the third receiving device is a receiving device in the same local area network as the first receiving device and the second receiving device.
Optionally, the data transmission apparatus in the embodiment of the present application, further includes:
a second receiving module 540, configured to receive a data transmission link request message sent by a fourth receiving device;
a second transmission module 550, configured to send a second feedback message to the fourth receiving device, where the second feedback message indicates that the first receiving device has received the data packet.
Optionally, in the data transmission apparatus according to the embodiment of the present application, the data packet includes audio data and a playing policy, all the receiving devices in the same lan are playing devices, and the playing policy includes a playing duration and/or a playing sequence of the audio data.
On the other hand, as shown in fig. 7, an embodiment of the present application further provides a data transmission apparatus, where the apparatus 700 includes:
a sending module 710, configured to send a data transmission message to a first receiving device in the same local area network as the first receiving device;
a receiving module 720, configured to receive a feedback message of the first receiving device;
a transmission module 730, configured to send a data packet to the receiving device when the feedback message indicates that the first receiving device does not receive the data packet or does not establish a data transmission link with another receiving device in the same local area network.
On the other hand, the embodiment of the present application further provides a processing receiving device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor is configured to implement the data transmission method of the foregoing embodiment when executing the program.
Referring now to fig. 8, fig. 8 is a schematic diagram of a structure of a computer electronic receiving device that processes the receiving device according to an embodiment of the present application.
As shown in fig. 8, the computer electronic reception device 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 602 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic receiving apparatus 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The above-described functions defined in the electronic receiving apparatus of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic receiving device, apparatus, or device in electronic, magnetic, optical, electromagnetic, infrared, or semiconductor form, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution electronic receiving device, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution electronic receiving device, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of processing receiving devices, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based electronic receiving devices that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, and may be described as: a processor, comprising: the device comprises a first receiving module, an analysis module and a first transmission module. The names of these units or modules do not form a limitation on the units or modules themselves in some cases, for example, the first transmission module may also be described as "a receiving device for the first receiving device to send the data packet to the second receiving device based on the parsing result, where the second receiving device is located in the same local area network as the first receiving device and does not receive the data packet".
As another aspect, the present application also provides a computer-readable storage medium, which may be contained in the electronic receiving apparatus described in the above embodiments; or may exist separately without being assembled into the electronic receiving device. The computer-readable storage medium stores one or more programs that, when executed by one or more processors, perform the data transmission method described in the present application:
a first receiving device receives a data packet sent by a control terminal or other receiving devices which are in the same local area network as the first receiving device;
the first receiving device analyzes the data packet;
and the first receiving equipment sends the data packet to second receiving equipment based on the analysis result, wherein the second receiving equipment is the receiving equipment which is positioned in the same local area network as the first receiving equipment and does not receive the data packet.
Or, a data transmission method for performing another embodiment:
a first receiving device receives a data packet sent by a control terminal or other receiving devices which are in the same local area network as the first receiving device;
the first receiving device analyzes the data packet;
and the first receiving equipment sends the data packet to second receiving equipment based on the analysis result, wherein the second receiving equipment is the receiving equipment which is positioned in the same local area network as the first receiving equipment and does not receive the data packet.
To sum up, according to the data transmission method, the receiving device and the storage medium provided in the embodiment of the present application, the receiving device that obtains the data packet to be transmitted establishes a connection with another receiving device that is in the same local area network, and then transmits the obtained data packet to another receiving device that establishes a connection with the receiving device, so that the other receiving device can further transmit the obtained data packet to another receiving device, and thus a data transmission path is formed between the receiving devices, so as to reduce the data processing pressure of the control terminal, and finally improve the data transmission efficiency.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A method of data transmission, the method comprising:
a first receiving device receives a data packet sent by a control terminal or other receiving devices which are in the same local area network as the first receiving device;
the first receiving device analyzes the data packet;
and the first receiving equipment sends the data packet to second receiving equipment based on the analysis result, wherein the second receiving equipment is the receiving equipment which is positioned in the same local area network as the first receiving equipment and does not receive the data packet.
2. The data transmission method according to claim 1, wherein the data packet includes an identification of all receiving devices that receive the data packet.
3. The data transmission method according to claim 2, wherein the sending, by the first receiving device, the data packet to the second receiving device based on the parsing result comprises:
establishing a data transmission link with the second receiving device based on the identifier obtained by analysis;
and sending the data packet to the second receiving equipment based on the established data transmission link.
4. The data transmission method according to claim 3, wherein the establishing a data transmission link with the second receiving device based on the parsed identifier comprises:
sending a data transmission link request message to the second receiving device based on the arrangement sequence of the identifiers;
receiving a first feedback message of the second receiving device;
and when the first feedback message indicates that the second receiving equipment does not receive the data packet or does not establish the data transmission link with other receiving equipment, establishing the data transmission link with the second receiving equipment.
5. The data transmission method according to claim 3, wherein when the first feedback message indicates that the second receiving device has received the data packet, or establishes a data transmission link with another receiving device or the control end, the method further comprises:
and establishing a data transmission link with the third receiving device based on the identifier obtained by analysis, wherein the third receiving device is a receiving device which is positioned in the same local area network with the first receiving device and the second receiving device.
6. The data transmission method according to any one of claims 1 to 5, characterized in that the method further comprises:
receiving a data transmission link request message sent by a fourth receiving device;
sending a second feedback message to the fourth receiving device, wherein the second feedback message indicates that the first receiving device has received the data packet.
7. The data transmission method according to any one of claims 1 to 5, wherein the data packet includes audio data and a playing policy, all the receiving devices in the same local area network are playing devices, and the playing policy includes a playing duration and/or a playing order of the audio data.
8. A method of data transmission, the method comprising:
sending a data transmission message to a first receiving device in the same local area network with the first receiving device;
receiving a feedback message of the first receiving device;
and when the feedback message indicates that the first receiving device does not receive the data packet or does not establish a data transmission link with other receiving devices in the same local area network, sending the data packet to the receiving devices.
9. A processing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor being configured to implement the method of any one of claims 1 to 8 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, the computer program being for implementing the method according to any one of claims 1-8.
CN202110985489.2A 2021-08-25 2021-08-25 Data transmission method, device and medium Pending CN113703364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110985489.2A CN113703364A (en) 2021-08-25 2021-08-25 Data transmission method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110985489.2A CN113703364A (en) 2021-08-25 2021-08-25 Data transmission method, device and medium

Publications (1)

Publication Number Publication Date
CN113703364A true CN113703364A (en) 2021-11-26

Family

ID=78654900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110985489.2A Pending CN113703364A (en) 2021-08-25 2021-08-25 Data transmission method, device and medium

Country Status (1)

Country Link
CN (1) CN113703364A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000147A1 (en) * 2015-06-30 2017-01-05 深圳走天下科技有限公司 Data transmission method and apparatus, and data reception method and apparatus
CN107094113A (en) * 2017-04-24 2017-08-25 江苏中科羿链通信技术有限公司 Standard mobile terminal data forwarding system and method under a kind of wireless multi-hop topological network
CN111212126A (en) * 2019-12-27 2020-05-29 百度在线网络技术(北京)有限公司 Data transmission method, device, equipment and medium of block chain network
CN111988221A (en) * 2020-08-31 2020-11-24 网易(杭州)网络有限公司 Data transmission method, data transmission device, storage medium and electronic equipment
CN212083951U (en) * 2020-05-22 2020-12-04 珠海格力电器股份有限公司 Fire control detection equipment and fire control alarm control system
CN112118222A (en) * 2020-08-11 2020-12-22 深圳市欣博跃电子有限公司 Data forwarding method and device, electronic equipment and storage medium
CN112367259A (en) * 2021-01-15 2021-02-12 广州技象科技有限公司 Internet of things data message distribution method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000147A1 (en) * 2015-06-30 2017-01-05 深圳走天下科技有限公司 Data transmission method and apparatus, and data reception method and apparatus
CN107094113A (en) * 2017-04-24 2017-08-25 江苏中科羿链通信技术有限公司 Standard mobile terminal data forwarding system and method under a kind of wireless multi-hop topological network
CN111212126A (en) * 2019-12-27 2020-05-29 百度在线网络技术(北京)有限公司 Data transmission method, device, equipment and medium of block chain network
CN212083951U (en) * 2020-05-22 2020-12-04 珠海格力电器股份有限公司 Fire control detection equipment and fire control alarm control system
CN112118222A (en) * 2020-08-11 2020-12-22 深圳市欣博跃电子有限公司 Data forwarding method and device, electronic equipment and storage medium
CN111988221A (en) * 2020-08-31 2020-11-24 网易(杭州)网络有限公司 Data transmission method, data transmission device, storage medium and electronic equipment
CN112367259A (en) * 2021-01-15 2021-02-12 广州技象科技有限公司 Internet of things data message distribution method and device

Similar Documents

Publication Publication Date Title
CN111867001B (en) Intelligent equipment batch network distribution method, system and storage medium
US10701451B2 (en) Program interaction system, method, client, and backend server
CN103069755B (en) Use the method and system that the instant message of multiple client instance transmits
CN106027679A (en) Implementing method, apparatus and system for video conference and cloud desktop terminal
US20090300162A1 (en) System and method for performing mobile services, in particular push services in a wireless communication
CN111224792B (en) Conference access method and device
US11452156B2 (en) Configuration system, client device, embedded device configuration method, and storage medium
CN110851035B (en) Session message display method and device, electronic equipment and storage medium
CN105207867A (en) Equipment connecting method and equipment connecting device
CN106921634B (en) Multimedia stream multicast method and device
CN106302093B (en) Communication method, system and server
CN114979984A (en) Message transmission method and device
CN105323714A (en) Notification message processing method and terminal
CN109729061A (en) Message treatment method, device, equipment and readable storage medium storing program for executing
CN113703364A (en) Data transmission method, device and medium
CN110471776B (en) Application data communication method, device and system
CN111884905A (en) Message management method and system
CN104283762A (en) Method, system, client-side and server for transmitting instant messaging conversation content
CN109005250B (en) Method and device for accessing server
CN113014544B (en) Method and device for establishing centerless media link based on webRtc
CN114679602A (en) Data processing method and device, electronic equipment and storage medium
CN110704207B (en) Data processing method and device of business application middleware and storage medium
CN106559832B (en) Data transmission method and control manager
CN103092611B (en) The interactive system of a kind of moving advertising API and method
CN106790329B (en) Multi-terminal interaction method, device and server based on same webpage application

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