CN111200760A - Data processing method and device and electronic equipment - Google Patents

Data processing method and device and electronic equipment Download PDF

Info

Publication number
CN111200760A
CN111200760A CN201911173575.2A CN201911173575A CN111200760A CN 111200760 A CN111200760 A CN 111200760A CN 201911173575 A CN201911173575 A CN 201911173575A CN 111200760 A CN111200760 A CN 111200760A
Authority
CN
China
Prior art keywords
data
data packet
size
terminal
sending
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.)
Withdrawn
Application number
CN201911173575.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.)
Anhui Wenxiang Information Technology Co Ltd
Original Assignee
Anhui Wenxiang Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Wenxiang Information Technology Co Ltd filed Critical Anhui Wenxiang Information Technology Co Ltd
Priority to CN201911173575.2A priority Critical patent/CN111200760A/en
Publication of CN111200760A publication Critical patent/CN111200760A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data processing method, a data processing device and electronic equipment, wherein the data processing method comprises the following steps: sending a data query instruction based on the target interval duration; when a data packet is received, analyzing the data packet to obtain the actual size and the theoretical size of the currently received data packet, wherein the data packet comprises a data packet size description field; and when the actual size of the data packet is smaller than the theoretical size, determining that the data terminal has communication abnormity. By acquiring the data packet containing the data size description field and determining whether the terminal is abnormal or not according to the analysis result, the operation condition of the interactive terminal can be known in time, and the influence on the playing effect caused by the communication fault of the interactive terminal for playing is avoided.

Description

Data processing method and device and electronic equipment
Technical Field
The invention relates to the technical field of communication, in particular to a data processing method and device and electronic equipment.
Background
With the development of internet communication technology, multi-terminal communication technology has been widely used in many fields. For example, in the field of recording and broadcasting based on multi-port data interaction, each frame data packet needs to be accurately transmitted and received in real time during the data interaction process, so as to ensure the recording and playing quality of recorded and broadcast video. In the prior art, when a network failure occurs in a play terminal, if other terminals interacting with the play terminal cannot timely know the condition of the play terminal, the play terminal may lose packets due to the network failure, which causes the play terminal to have a play jam and poor video smoothness, and affects the play effect of watching recorded and broadcast videos, so a data processing method is urgently needed to find the failure of the record and broadcast terminal in time.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect that the fault of the interactive terminal cannot be found in time, so as to provide a data processing method, an apparatus and an electronic device.
According to a first aspect, an embodiment of the present invention discloses a data processing method, including: sending a data query instruction based on the target interval duration; when a data packet is received, analyzing the data packet to obtain the actual size and the theoretical size of the currently received data packet, wherein the data packet comprises a data packet size description field; and when the actual size of the data packet is smaller than the theoretical size, determining that the data terminal has communication abnormity.
With reference to the first aspect, in a first implementation manner of the first aspect, after determining that a communication abnormality occurs in the data terminal when the actual size of the data packet is smaller than the theoretical size, the method further includes: and when the communication abnormality is network abnormality, sending a command for reducing the data transmission rate.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, after the sending of the data query instruction based on the target interval duration, the method further includes: and when the data packet is not received within the target time length, determining that the communication abnormality occurs in the terminal.
According to a second aspect, an embodiment of the present invention discloses a data processing method, including: when a data query instruction is received, adding a data size description field in a data packet; and sending a data packet containing the data size description field.
With reference to the second aspect, in a first implementation manner of the second aspect, the sending the data packet including the data size description field includes: when receiving the instruction of reducing the data transmission rate, processing the data packet into a target size; and sending the data packet.
With reference to the first aspect or the second aspect, in a third implementation manner of the first aspect or a second implementation manner of the second aspect, before the sending a data query instruction based on the target interval duration or adding a data size description field in a data packet when the data query instruction is received, the method further includes: monitoring a data port; when an attribute query instruction is received, sending a terminal identifier to a server, so that the server determines the authority of the terminal according to the terminal identifier; receiving authority configuration information; and performing function configuration according to the permission configuration information configuration.
With reference to the third implementation manner of the first aspect or the second implementation manner of the second aspect, in the fourth implementation manner of the first aspect or the third implementation manner of the second aspect, after the configuring the function according to the permission configuration information, the method further includes: receiving an online terminal list; and when receiving the selection operation of the online terminal list, establishing communication connection with the terminal obtained by the selection operation.
According to a third aspect, an embodiment of the present invention discloses a data processing apparatus, including: the first sending module is used for sending a data query instruction based on the target interval duration; the analysis module is used for analyzing the data packet when the data packet is received to obtain the actual size and the theoretical size of the currently received data packet, wherein the data packet comprises a data packet size description field; and the determining module is used for determining that the data terminal has communication abnormity when the actual size of the data packet is smaller than the theoretical size.
According to a fourth aspect, an embodiment of the present invention discloses a data processing apparatus, including: the adding module is used for adding a data size description field in the data packet when a data query instruction is received; and the second sending module is used for sending the data packet containing the data size description field.
According to a fifth aspect, an embodiment of the present invention discloses an electronic device, including: a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the data processing method according to any one of the first aspect or the first aspect, or the second aspect when executing the program.
According to a sixth aspect, an embodiment of the present invention discloses a readable computer storage medium, on which computer instructions are stored, and the instructions, when executed by a processor, implement the steps of the data processing method described in the first aspect or any of the embodiments of the first aspect, or any of the embodiments of the second aspect or the second aspect.
The technical scheme provided by the embodiment of the invention has the following advantages:
according to the data processing method, the data processing device and the electronic equipment provided by the embodiment of the invention, the data query instruction is sent to the data sending end, so that the data sending end sends the data packet containing the data size description field to the data receiving end according to the received data query instruction, the data receiving end analyzes the received data packet to obtain the actual size and the theoretical size of the currently received data packet, and when the actual size of the data packet is smaller than the theoretical size, the data terminal is represented to have communication abnormity. By acquiring the data packet containing the data size description field and determining whether the terminal is abnormal or not according to the analysis result, the operation condition of the interactive terminal can be known in time, and the influence on the playing effect caused by the communication fault of the interactive terminal for playing is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a data processing method according to embodiment 1 of the present invention;
fig. 2 is a flowchart of a data processing method according to embodiment 2 of the present invention;
fig. 3 is a block diagram of a data processing apparatus according to embodiment 3 of the present invention;
fig. 4 is a block diagram of a data processing apparatus according to embodiment 4 of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
The embodiment of the application provides a data processing method, and takes a recording and broadcasting system as an example, the recording and broadcasting system can comprise a plurality of data acquisition terminals (such as cameras and voice acquisition equipment), a video playing terminal and a recording and broadcasting server, and a multimedia information switch is integrated in the recording and broadcasting server. The data processing method provided by the embodiment of the application can be applied to a terminal or a server, and the embodiment of the application takes the terminal as an example for description, and data transmission can be performed among a plurality of terminals in a wired or wireless communication mode. As shown in fig. 1, the data processing method includes:
step 101, sending a data query instruction based on the target interval duration.
The target interval duration may be several seconds or several minutes, and the embodiment of the present application does not limit the target interval duration, and a person skilled in the art may determine the target interval duration according to actual needs, and the target interval duration is one second in the embodiment of the present application. The data query instruction may include any one or more of a data stream ID, a timestamp, a number of video frames, a number of bytes of a video frame, a timestamp corresponding to a last frame of video, a pixel of a video frame, a video frame rate, and a video code rate.
Step 102, when a data packet is received, analyzing the data packet to obtain an actual size and a theoretical size of the currently received data packet, wherein the data packet includes a data packet size description field.
For example, in the embodiment of the present application, an analysis method used for analyzing a received data packet is not limited, and a transmission format of the data packet may be determined according to an existing multi-port interaction protocol or may be determined according to a custom protocol, which is not limited in the embodiment of the present application. And analyzing and extracting the data packet containing the data packet size description field according to the matched protocol to obtain the theoretical size of the corresponding data packet, and analyzing the actually transmitted data of the data packet to obtain the actual size of the data packet. When the data is video data, the data describing the size of the video data packet may be the frame rate of the video, or the bit rate of the video, or the total number of bytes of the video.
And 103, when the actual size of the data packet is smaller than the theoretical size, determining that the data terminal has communication abnormity.
Illustratively, when the actual size of the obtained data packet is smaller than the theoretical size of the data packet, it is characterized that a packet loss phenomenon occurs in the transmission process of the data packet, and the occurrence of the packet loss phenomenon may be that a network anomaly occurs at a data transmitting end and/or a data receiving end, and further, a troubleshooting can be performed on the terminal according to the detected possible anomaly.
According to the data processing method provided by the embodiment of the application, the data sending end sends the data packet containing the data size description field to the data receiving end according to the received data query instruction by sending the data query instruction to the data sending end, the data receiving end analyzes the received data packet to obtain the actual size and the theoretical size of the currently received data packet, and when the actual size of the data packet is smaller than the theoretical size, the data terminal is represented to have communication abnormity. By acquiring the data packet containing the data size description field and determining whether the terminal is abnormal or not according to the analysis result, the operation condition of the interactive terminal can be known in time, and the influence on the playing effect caused by the communication fault of the interactive terminal for playing is avoided.
As an optional embodiment of the present application, after step 104, the method further includes: and when the communication abnormality is network abnormality, sending a command for reducing the data transmission rate.
Illustratively, when it is determined that the communication abnormality is a network abnormality such as network delay through the actual size and the theoretical size of the obtained data packet, in order to ensure that the video played by the data receiving end can exhibit normal playing efficiency and avoid the phenomenon that the played video is jammed, a data transmission rate reduction instruction may be sent to the data sending end to reduce the rate or the size of the data stream of the data sent by the data sending end, and it is ensured that the data receiving end can realize the real-time performance of data reception as much as possible under the condition of network delay and reduce the phenomenon of jamming. When the data transmitted by the data packet contains video data and audio data, the video frame rate and/or the video code rate of the video data in the data packet are/is reduced, the audio data are prevented from being processed, and the accuracy of the audio data in the received data packet is ensured.
As an optional embodiment of the present application, after step 101, the method further includes: and when the data packet is not received within the target time length, determining that the communication abnormality occurs in the terminal.
The target time length may be, for example, on the order of seconds or minutes, and the target time length is not limited in the embodiment of the present application, and may be determined by a person skilled in the art according to actual needs, and the target time length may be, for example, 10 seconds in the embodiment of the present application. When a data packet sent by the data sending terminal is not received within 10 seconds, the data sending terminal in communication connection with the data receiving terminal is indicated to have abnormal communication, the abnormal communication can be abnormal power failure or shutdown of the data sending terminal, and the abnormal communication condition can be sent to related personnel for further troubleshooting.
As an optional implementation manner of the present application, before step 101, the method further includes:
firstly, monitoring a data port;
the data port may be any communication port of a data receiving terminal, and the embodiment of the present application does not limit the type of the data port.
Then, when an attribute query instruction is received, sending a terminal identifier to a server, so that the server determines the authority of the terminal according to the terminal identifier;
illustratively, when the communication port of the data receiving terminal receives the attribute query instruction sent by the server, the terminal identification is sent to the server, so that the server can determine the authority of the terminal according to the received terminal identification. The terminal identifier may be an account number registered in the server by the data receiving terminal, and the account number and the opened authority are bound in the server in advance, so that when the server receives the account number sent by the data receiving terminal, the authority corresponding to the account number can be obtained according to the binding relationship, and the configuration information corresponding to the authority is sent to the data receiving terminal. The server can send the attribute query instruction to all the terminals in a broadcast mode, and the transmission format of the attribute query instruction can be determined according to the custom protocol format.
Secondly, receiving authority configuration information;
illustratively, after the permission configuration information is received, it is indicated that the data receiving terminal and the server complete a handshake operation, the server may send corresponding data to the data receiving terminal according to a user request, the data receiving terminal may also send a data query instruction to the server, when the server does not reply data within a target duration, it may be indicated that the server has an exception such as unexpected power off, shutdown, and the like, and at this time, the data receiving terminal may receive prompt information such as "system busy" and the like.
And thirdly, performing function configuration according to the permission configuration information configuration.
Illustratively, the data receiving terminal performs function configuration according to the received permission configuration information, and the function configuration may include a data transmission function, a data receiving function, a process ending function, a process pausing function, a browsing function, and a parameter obtaining function. The embodiment of the present application does not limit the kind of the configured functions, and those skilled in the art can determine the functions according to actual needs.
As an optional implementation manner of this application, after performing function configuration according to the permission configuration information configuration, the method further includes:
firstly, receiving an online terminal list;
for example, after the terminal and the server complete the handshake operation, an online terminal list may be generated at the server, and the online terminal list may be sent to each terminal that is online.
And secondly, when receiving the selection operation of the online terminal list, establishing communication connection with the terminal obtained by the selection operation.
For example, the terminal receiving the online terminal list may receive a selection operation of the user, and establish a communication connection with the terminal obtained by the selection operation according to a result of the selection operation.
Example 2
The embodiment of the application provides a data processing method, and takes a recording and broadcasting system as an example, the recording and broadcasting system can comprise a plurality of data acquisition terminals (such as cameras and voice acquisition equipment), a video playing terminal and a recording and broadcasting server, and a multimedia information switch is integrated in the recording and broadcasting server. The data processing method provided by the embodiment of the application can be applied to a terminal or a server, and the embodiment of the application takes the terminal as an example for description, and data transmission can be performed among a plurality of terminals in a wired or wireless communication mode. As shown in fig. 2, the data processing method includes:
step 201, when a data query instruction is received, adding a data size description field in a data packet. For the explanation of the data query instruction in the embodiment of the present application, reference is made to the above embodiment, and details are not described herein again. The data size description field can be added at any position of the packet head of the data packet to represent the theoretical size of the IP data transmitted by the current data packet.
Step 202, sending the data packet containing the data size description field. The transmission protocol used for sending the data packet is not limited in the embodiments of the present application, and for specific reference, the above embodiments are not described herein again.
According to the data processing method provided by the embodiment of the application, when a data query instruction sent by a data receiving end is received, a data size description field is added in a data packet by a data sending end, and the data packet containing the data size description field is sent to the data receiving end, so that the data receiving end analyzes the received data packet to obtain the actual size and the theoretical size of the currently received data packet, and when the actual size of the data packet is smaller than the theoretical size, the communication abnormality of a data terminal is represented. By acquiring the data packet containing the data size description field and determining whether the terminal is abnormal or not according to the analysis result, the operation condition of the interactive terminal can be known in time, and the influence on the playing effect caused by the communication fault of the interactive terminal for playing is avoided.
As an alternative embodiment of the present application, step 202 includes:
first, when a data rate reduction command is received, a data packet is processed to a target size.
For example, the target size may be obtained by parsing the received command for decreasing the data transmission rate, and obtaining data of a size of a data packet that can be received by the data receiving end included in the command. The size of the data packet indicated in the data rate reduction command may be determined according to a ratio or a difference between an actual size of the data packet received by the data receiving end and a theoretical size. For example, taking the packet loss ratio obtained by the ratio of the actual size of the data packet to the theoretical size as an example, when the packet loss ratio is between (0,0.5), the data sending end may process the data packet to 50% of the initial size; when the packet loss rate is between [0.5,1), the data sending end may process the data packet to 80% of the initial size. The embodiment of the present application does not limit the target size corresponding to different packet loss rates, and those skilled in the art can determine the target size according to actual needs.
Next, the data packet is transmitted.
As an optional implementation manner of the present application, before step 201, the method further includes: monitoring a data port; when an attribute query instruction is received, sending a terminal identifier to a server, so that the server determines the authority of the terminal according to the terminal identifier; receiving authority configuration information; and performing function configuration according to the permission configuration information configuration. For details, refer to the description of the corresponding steps in the above embodiment, which is not repeated herein.
As an optional implementation manner of this application, after performing function configuration according to the permission configuration information configuration, the method further includes: receiving an online terminal list; and when receiving the selection operation of the online terminal list, establishing communication connection with the terminal obtained by the selection operation. For details, refer to the description of the corresponding steps in the above embodiment, which is not repeated herein.
Example 3
An embodiment of the present application further provides a data processing apparatus, as shown in fig. 3, including:
a first sending module 301, configured to send a data query instruction based on the target interval duration;
an analysis module 302, configured to, when a data packet is received, analyze the data packet to obtain an actual size and a theoretical size of the currently received data packet, where the data packet includes a data packet size description field;
a determining module 303, configured to determine that a communication abnormality occurs in the data terminal when the actual size of the data packet is smaller than the theoretical size.
The data processing device provided by the embodiment of the application sends the data query instruction to the data sending end, so that the data sending end sends the data packet containing the data size description field to the data receiving end according to the received data query instruction, the data receiving end analyzes the received data packet to obtain the actual size and the theoretical size of the currently received data packet, and when the actual size of the data packet is smaller than the theoretical size, the data terminal is represented to have communication abnormity. By acquiring the data packet containing the data size description field and determining whether the terminal is abnormal or not according to the analysis result, the operation condition of the interactive terminal can be known in time, and the influence on the playing effect caused by the communication fault of the interactive terminal for playing is avoided.
As an optional embodiment of the present application, the determining module 304 is further configured to send a command to decrease the data transmission rate when the communication anomaly is a network anomaly.
As an optional implementation manner of the present application, the first sending module is further configured to determine that a communication abnormality occurs in the terminal when the data packet is not received within the target duration.
As an optional embodiment of the present application, the first sending module 301 is further configured to listen to a data port; when an attribute query instruction is received, sending a terminal identifier to a server, so that the server determines the authority of the terminal according to the terminal identifier; receiving authority configuration information; and performing function configuration according to the permission configuration information configuration.
As an optional implementation manner of this application, the first sending module 301 is further configured to receive an online terminal list; and when receiving the selection operation of the online terminal list, establishing communication connection with the terminal obtained by the selection operation.
Example 4
An embodiment of the present application further provides a data processing apparatus, as shown in fig. 4, including:
an adding module 401, configured to add a data size description field in a data packet when a data query instruction is received;
a second sending module 402, configured to send a data packet including the data size description field.
According to the data processing device provided by the embodiment of the application, when a data query instruction sent by a data receiving end is received, a data size description field is added in a data packet by a data sending end, and the data packet containing the data size description field is sent to the data receiving end, so that the data receiving end analyzes the received data packet to obtain the actual size and the theoretical size of the currently received data packet, and when the actual size of the data packet is smaller than the theoretical size, the data terminal is represented to have communication abnormity. By acquiring the data packet containing the data size description field and determining whether the terminal is abnormal or not according to the analysis result, the operation condition of the interactive terminal can be known in time, and the influence on the playing effect caused by the communication fault of the interactive terminal for playing is avoided.
As an optional embodiment of the present application, the second sending module 402 is configured to, when receiving the instruction to decrease the data transmission rate, process the data packet to a target size; and sending the data packet.
As an optional embodiment of the present application, the adding module 401 is further configured to monitor a data port; when an attribute query instruction is received, sending a terminal identifier to a server, so that the server determines the authority of the terminal according to the terminal identifier; receiving authority configuration information; and performing function configuration according to the permission configuration information configuration.
As an optional embodiment of the present application, the adding module 401 is further configured to receive an online terminal list; and when receiving the selection operation of the online terminal list, establishing communication connection with the terminal obtained by the selection operation.
Example 5
An embodiment of the present application further provides an electronic device, as shown in fig. 5, the electronic device includes: a processor 501 and a memory 502, and a computer program stored in the memory 502 and capable of running on the processor 501, wherein the processor 501 and the memory 502 may be connected by a bus or other means, and fig. 5 may be taken as an example, when the processor 501 executes the program, the steps of the data processing method according to the above embodiments are implemented.
Processor 501 may be a Central Processing Unit (CPU). The Processor 501 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 502, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the data processing methods in the embodiments of the present invention. The processor 501 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 502, that is, implements the data processing method in the above method embodiment.
The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 501, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 502 optionally includes memory located remotely from processor 501, which may be connected to processor 501 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 502 and when executed by the processor 501, perform the data processing method in the embodiment shown in fig. 1 and 2.
The details of the electronic device may be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 1 and fig. 2, which are not described herein again.
Example 6
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the data processing method in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (11)

1. A data processing method, comprising:
sending a data query instruction based on the target interval duration;
when a data packet is received, analyzing the data packet to obtain the actual size and the theoretical size of the currently received data packet, wherein the data packet comprises a data packet size description field;
and when the actual size of the data packet is smaller than the theoretical size, determining that the data terminal has communication abnormity.
2. The method according to claim 1, wherein after the data terminal is determined to have abnormal communication when the actual size of the data packet is smaller than the theoretical size, the method further comprises:
and when the communication abnormality is network abnormality, sending a command for reducing the data transmission rate.
3. The method of claim 1, wherein after sending the data query instruction based on the target interval duration, the method further comprises:
and when the data packet is not received within the target time length, determining that the communication abnormality occurs in the terminal.
4. A data processing method, comprising:
when a data query instruction is received, adding a data size description field in a data packet;
and sending a data packet containing the data size description field.
5. The method of claim 4, wherein sending the data packet containing the data size description field comprises:
when receiving the instruction of reducing the data transmission rate, processing the data packet into a target size;
and sending the data packet.
6. The method according to claim 1 or 4, wherein the sending of the data query instruction based on the target interval duration or before adding the data size description field in the data packet when receiving the data query instruction further comprises:
monitoring a data port;
when an attribute query instruction is received, sending a terminal identifier to a server, so that the server determines the authority of the terminal according to the terminal identifier;
receiving authority configuration information;
and performing function configuration according to the permission configuration information configuration.
7. The method according to claim 6, wherein after configuring the function according to the permission configuration information, the method further comprises:
receiving an online terminal list;
and when receiving the selection operation of the online terminal list, establishing communication connection with the terminal obtained by the selection operation.
8. A data processing apparatus, comprising:
the first sending module is used for sending a data query instruction based on the target interval duration;
the analysis module is used for analyzing the data packet when the data packet is received to obtain the actual size and the theoretical size of the currently received data packet, wherein the data packet comprises a data packet size description field;
and the determining module is used for determining that the data terminal has communication abnormity when the actual size of the data packet is smaller than the theoretical size.
9. A data processing apparatus, comprising:
the adding module is used for adding a data size description field in the data packet when a data query instruction is received;
and the second sending module is used for sending the data packet containing the data size description field.
10. An electronic device, comprising: processor, memory and computer program stored on the memory and executable on the processor, the processor implementing the steps of the data processing method according to any one of claims 1 to 7 when executing the program.
11. A readable computer storage medium, having stored thereon computer instructions, characterized in that the instructions, when executed by a processor, carry out the steps of the data processing method according to any one of claims 1 to 7.
CN201911173575.2A 2019-11-26 2019-11-26 Data processing method and device and electronic equipment Withdrawn CN111200760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911173575.2A CN111200760A (en) 2019-11-26 2019-11-26 Data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911173575.2A CN111200760A (en) 2019-11-26 2019-11-26 Data processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111200760A true CN111200760A (en) 2020-05-26

Family

ID=70746434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911173575.2A Withdrawn CN111200760A (en) 2019-11-26 2019-11-26 Data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111200760A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671742A (en) * 2020-12-17 2021-04-16 北京百度网讯科技有限公司 Audio card pause processing method and device, electronic equipment and storage medium
CN112866065A (en) * 2021-01-07 2021-05-28 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and computer readable medium
CN114501522A (en) * 2020-10-27 2022-05-13 三菱电机株式会社 Center device, communication system, communication method, and computer-readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004312501A (en) * 2003-04-09 2004-11-04 Matsushita Electric Ind Co Ltd Packet receiving method and packet receiver
CN104811751A (en) * 2015-04-28 2015-07-29 深圳市优网科技有限公司 Streaming media playing blockage pause recognition method and streaming media playing blockage pause recognition device
CN106412695A (en) * 2016-10-28 2017-02-15 青岛海信宽带多媒体技术有限公司 Business issuing method and terminal
CN106658225A (en) * 2016-10-31 2017-05-10 广州日滨科技发展有限公司 Video extension code setting and video playing method and system
CN107317795A (en) * 2017-05-08 2017-11-03 贵阳朗玛信息技术股份有限公司 The code rate adjustment method and device of packet
CN107734282A (en) * 2017-08-25 2018-02-23 北京元心科技有限公司 Video communication method and device
CN109257355A (en) * 2018-09-26 2019-01-22 郑州云海信息技术有限公司 One kind being based on Transmission Control Protocol data transmission method, system and associated component
CN109996086A (en) * 2019-03-19 2019-07-09 视联动力信息技术股份有限公司 A kind of view networking service method for inquiring status and device
TWI686062B (en) * 2018-10-18 2020-02-21 神雲科技股份有限公司 Data-generation device, switch and data-generation method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004312501A (en) * 2003-04-09 2004-11-04 Matsushita Electric Ind Co Ltd Packet receiving method and packet receiver
CN104811751A (en) * 2015-04-28 2015-07-29 深圳市优网科技有限公司 Streaming media playing blockage pause recognition method and streaming media playing blockage pause recognition device
CN106412695A (en) * 2016-10-28 2017-02-15 青岛海信宽带多媒体技术有限公司 Business issuing method and terminal
CN106658225A (en) * 2016-10-31 2017-05-10 广州日滨科技发展有限公司 Video extension code setting and video playing method and system
CN107317795A (en) * 2017-05-08 2017-11-03 贵阳朗玛信息技术股份有限公司 The code rate adjustment method and device of packet
CN107734282A (en) * 2017-08-25 2018-02-23 北京元心科技有限公司 Video communication method and device
CN109257355A (en) * 2018-09-26 2019-01-22 郑州云海信息技术有限公司 One kind being based on Transmission Control Protocol data transmission method, system and associated component
TWI686062B (en) * 2018-10-18 2020-02-21 神雲科技股份有限公司 Data-generation device, switch and data-generation method
CN109996086A (en) * 2019-03-19 2019-07-09 视联动力信息技术股份有限公司 A kind of view networking service method for inquiring status and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501522A (en) * 2020-10-27 2022-05-13 三菱电机株式会社 Center device, communication system, communication method, and computer-readable storage medium
CN114501522B (en) * 2020-10-27 2024-03-01 三菱电机株式会社 Center device, communication system, communication method, and computer-readable storage medium
CN112671742A (en) * 2020-12-17 2021-04-16 北京百度网讯科技有限公司 Audio card pause processing method and device, electronic equipment and storage medium
CN112866065A (en) * 2021-01-07 2021-05-28 珠海格力电器股份有限公司 Equipment network distribution method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
US8677425B2 (en) Method and system for implementing interaction between set-top box (STB) and home gateway
JP6743192B2 (en) Video service quality evaluation method and apparatus
CN111200760A (en) Data processing method and device and electronic equipment
JP5572225B2 (en) Method and apparatus for processing ECM packets
CN109104380B (en) Method for transmitting information to identify network camera and improve transmission quality
CN107743228A (en) Video quality detection method, monitoring device and storage medium
CN103166808B (en) A monitoring method for IPTV service quality, Apparatus and system
US10440087B2 (en) Estimation of losses in a video stream
WO2014110911A1 (en) Fault processing method and apparatus in iptv system
JP4687590B2 (en) Information distribution system and failure determination method
KR20200116504A (en) Data processing methods, servers and data collection devices
CN111741328B (en) Video analysis method, electronic device, storage medium and system
CN106549794A (en) A kind of mass monitoring system of OTT business, apparatus and method
CN114900662A (en) Method, system, device and medium for determining video stream transmission quality information
CN111372071B (en) Method and device for collecting video image abnormal information
CN107623847B (en) Video quality evaluation method and device for video service
US9743037B2 (en) Method for transmitting device indicator data in network-based AV system
US11695584B2 (en) Stateful IGMP fastleave
CN116781975B (en) Media stream detection method, device, terminal equipment and storage medium
CN117763418A (en) Fault diagnosis and data playback method and system for electric power Internet of things
CN118118624A (en) Signaling server, streaming media system and media stream control method
CN114173148A (en) Real-time charging system based on H5 player
CN117354600A (en) Real-time audio and video playing method, device, equipment and medium
CN116367254A (en) Terminal application performance monitoring method, device and system and electronic equipment
CN116866181A (en) Server management method and device

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200526

WW01 Invention patent application withdrawn after publication