CN108462602A - Data transfer control method, control system and storage device - Google Patents

Data transfer control method, control system and storage device Download PDF

Info

Publication number
CN108462602A
CN108462602A CN201810001185.6A CN201810001185A CN108462602A CN 108462602 A CN108462602 A CN 108462602A CN 201810001185 A CN201810001185 A CN 201810001185A CN 108462602 A CN108462602 A CN 108462602A
Authority
CN
China
Prior art keywords
data
network interface
standby network
backup
standby
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.)
Granted
Application number
CN201810001185.6A
Other languages
Chinese (zh)
Other versions
CN108462602B (en
Inventor
谢明璞
孙兴红
严振航
吴振志
吴涵渠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Aoto Electronics Co Ltd
Original Assignee
Shenzhen Aoto Electronics 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 Shenzhen Aoto Electronics Co Ltd filed Critical Shenzhen Aoto Electronics Co Ltd
Priority to CN201810001185.6A priority Critical patent/CN108462602B/en
Priority to PCT/CN2018/095889 priority patent/WO2019134358A1/en
Publication of CN108462602A publication Critical patent/CN108462602A/en
Application granted granted Critical
Publication of CN108462602B publication Critical patent/CN108462602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0079Formats for control data
    • H04L1/0082Formats for control data fields explicitly indicating existence of error in data being transmitted, e.g. so that downstream stations can avoid decoding erroneous packet; relays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/23Bit dropping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of data transfer control method, control system and storage devices.The data transfer control method, is used for the data transmission of control electronics, and electronic equipment has major network mouth and standby network interface, includes the following steps:By the major network mouth master data is obtained from data source;The master data of acquisition is sent to electronic equipment to present, master data flows back to data source after presentation through the standby network interface;When standby network interface receives master data, Backup Data is obtained by the standby network interface.Above-mentioned data transfer control method, control system can be to avoid the packet loss problems when switching to Backup Data, while can correct wrong data accidental in master data by being switched to Backup Data.

Description

Data transfer control method, control system and storage device
Technical field
The present invention relates to data transmission technologies, more particularly to a kind of data transfer control method, control system and storage Equipment.
Background technology
Existing redundancy technique, the transmitting two paths data flow in the data link of system, one of them is primary traffic, another A is Backup Data stream.After primary traffic interrupts, switches to from Backup Data stream and obtain data.However above-mentioned data transmission control Method processed cannot correct wrong data accidental in primary traffic, and in handoff procedure, it is existing also inevitably to will appear frame losing As.
Invention content
Based on this, it is necessary to be directed to frame losing problem of the existing data transfer control method in handoff procedure, provide one Kind data transfer control method, control system and storage device.
First aspect present invention provides a kind of data transfer control method, is used for the data transmission of control electronics, electricity Sub- equipment has major network mouth and standby network interface, includes the following steps:
By the major network mouth master data is obtained from data source;
The master data of acquisition is sent to electronic equipment to present, master data flows back to number after presentation through the standby network interface According to source;
When standby network interface receives master data, Backup Data is obtained by the standby network interface.
Further include step in one of the embodiments,:
Abnormal signal is received, and after receiving abnormal signal, data frame is obtained from Backup Data and presented.
The presentation data that obtained from Backup Data include in one of the embodiments,:
Data frame is obtained from Backup Data;
Judge whether the data frame currently presented is equal to the abnormal data frame in master data;
If so, next frame is switched to obtains data frame presentation from master data.
Further include step in one of the embodiments,:
According to the transmission frequency of abnormal signal, it sets standby network interface to new major network mouth, former major network mouth is set as new standby Network interface.
The data frame of the master data includes a vertical synchronization packet in one of the embodiments, when standby network interface receives After the vertical synchronization packet of master data, control electronics obtain Backup Data by standby network interface.
Further include step in one of the embodiments,:
After standby network interface acquisition master data in preset time, if standby network interface does not receive master data, standby network interface is set as new Major network mouth, former major network mouth are set as new standby network interface;
Master data is obtained from new major network mouth.
It is described in one of the embodiments, to include by the standby network interface acquisition Backup Data:
Backup Data is obtained from the standby network interface;Or
By the standby network interface Backup Data is obtained from data source.
In one of the embodiments, when primary traffic is through the standby network interface, the standby network interface caches master data, is formed Buffer queue;
When obtaining Backup Data by standby network interface, Backup Data is obtained from the buffer queue.
Second aspect of the present invention provides a kind of data transfer control system, is used for the data transmission of control electronics, institute Stating data transfer control system includes:
Major network mouth, for obtaining master data from data source;
Standby network interface, for obtaining Backup Data;
Display unit, the data frame obtained from master data or Backup Data for rendering;And
Control unit obtains data for controlling display unit by major network mouth and standby network interface;
After the presented unit of master data reaches standby network interface, described control unit obtains backup number by the standby network interface According to.
Further include in one of the embodiments,:
Testing agency is sent to control unit, control unit for obtaining abnormal signal, and by the abnormal signal got After receiving abnormal signal, data frame is obtained from Backup Data, and presented by the display unit.
Further include in one of the embodiments,:
Switch unit, for major network mouth to be switched to standby network interface and standby network interface is switched to major network mouth.
Above-mentioned data transfer control method and data transfer control system obtain master data by major network mouth, pass through standby net Mouth obtains Backup Data, and two-way cascade system, the control list of electronic equipment are formed between major network mouth, control unit, standby network interface Member just obtains Backup Data only after standby network interface receives master data from standby network interface, so master data is reached with Backup Data The time existence time of control unit is poor, so as to avoid the packet loss problem when switching to Backup Data, while can lead to It crosses and is switched to wrong data accidental in Backup Data correction master data.
Third aspect present invention provides a kind of storage device, a plurality of instruction of storage device stored, and described instruction is suitable for It is loaded by processor and executes data transmission method described in any one of the above embodiments.
Description of the drawings
Fig. 1 is the flow chart of the data transfer control method of one embodiment of the invention;
Fig. 2 is the flow chart of the data transfer control method of further embodiment of this invention;
Fig. 3 is the flow chart of the data transfer control method of one embodiment of the invention;
Fig. 4 is the flow chart of the data transfer control method of one embodiment of the invention;
Fig. 5 is the flow chart of the data transfer control method of one embodiment of the invention;
Fig. 6 is the structure diagram of the data transfer control system of one embodiment of the invention;
Fig. 7 is the structure diagram of the data transfer control system of further embodiment of this invention;
Fig. 8 is the structure diagram of the data transfer control system of further embodiment of this invention.
Specific implementation mode
To facilitate the understanding of the present invention, below with reference to relevant drawings to invention is more fully described.In attached drawing Give the better embodiment of the present invention.But the present invention can realize in many different forms, however it is not limited to herein Described embodiment.On the contrary, the purpose of providing these embodiments is that making to understand more the disclosure Add thorough and comprehensive.
It should be noted that when element is referred to as " being fixed on " another element, it can be directly on another element Or there may also be elements placed in the middle.When an element is considered as " connection " another element, it can be directly connected to To another element or it may be simultaneously present centering elements.Term as used herein " vertical ", " horizontal ", " left side ", " right side " and similar statement for illustrative purposes only, are not offered as being unique embodiment.
Unless otherwise defined, all of technologies and scientific terms used here by the article and belong to the technical field of the present invention The normally understood meaning of technical staff is identical.Used term is intended merely to description tool in the description of the invention herein The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term " and or " used herein includes one or more Any and all combinations of relevant Listed Items.
The present invention provides a kind of data transfer control method, is used for the data transmission of control electronics, and the electronics is set Standby can be the mobile terminals such as LED display, liquid crystal display, earth station, radio, recording pen and mobile phone, PAD, transmission Data can be video data, can also be audio data, can also be audio and video blended data.Although hereinafter, data Transfer control method may be described as the video data transmission control method of LED display, but this should not be construed as limiting Property, but the exemplary statement provided for the ease of elaboration technical solution.
The electronic equipment has major network mouth and a standby network interface, and by major network mouth and standby network interface connection in a data source, Electronic equipment can obtain data by major network mouth and standby network interface from data source, and be presented by electronic equipment, illustratively, Data source can be video sending card, when electronic equipment is LED display, LED display by major network mouth and standby network interface from Video sending card obtains video data, and by the video data of the video data obtained from major network mouth or the acquisition of standby network interface include On LED display.
Referring to Fig. 1, one embodiment of the invention provides a kind of data transfer control method, include the following steps:
S110:By the major network mouth master data is obtained from data source;
S120:The master data of acquisition is sent to electronic equipment to present, master data is after presentation through the standby network interface Flow back to data source;
S130:When standby network interface receives master data, Backup Data is obtained by the standby network interface;
By taking the video data transmission of LED display as an example, LED display can be sent out by major network mouth and standby network interface with video Card feed connects, and then the transmission of video data may be implemented.In general, the control unit of LED display passes through major network Mouth obtains main video data from video sending card, and is shown on each babinet module of LED display, finally passes through standby Network interface passes back to video sending card, and after standby network interface receives master data, control unit obtains backup video data from standby network interface, After being transmitted to each babinet module of LED display, it is back to video sending card through major network mouth, in major network mouth, control unit, standby Two-way cascade system is formed between network interface.
Specifically, control unit after major network mouth obtains main video data, according to the position of each babinet module and is divided Resolution information, handles main video data, forms the display data with babinet module quantity equal parts, and aobvious to every part Registration identifies by identification information the display data corresponding to itself in order to babinet module according to assigning an identification information.Babinet Module captures a display data by identification information and is shown, the display picture of several babinet modules collectively constitutes completely Display image.
Under normal conditions, control unit obtains video frame as presentation data, on LED display from main video data It has been shown that, when the abnormal conditions such as packet loss, wrong packet occur for main video data, control unit obtains video frame conduct from Backup Data Data are presented, are shown on LED display, since control unit is after standby network interface receives main video data, just from standby net Mouth obtains backup video data, so the time of the arrival control unit of backup video data is later than main video data, to control Unit processed having time after receiving abnormal signal carries out the switching of Backup Data, and main video data is reached with backup video data The time difference of control unit provides buffer time for the switching of data channel so that control unit is switching to backup video counts According to rear, frame losing phenomenon not will produce.
The data frame of the master data includes a vertical synchronization packet, when standby network interface receives the vertical synchronization packet of master data Afterwards, control electronics obtain Backup Data by standby network interface.
The video frame of main video data includes a video vertical synchronization packet and several data packets, and wherein data packet is transferred to Control unit is handled, and is distributed to each babinet module and shown, video vertical synchronization packet is direct after control unit It is transmitted to standby network interface, for standby network interface after receiving video vertical synchronization packet, control unit obtains backup video counts by standby network interface According to.
In some embodiments, described to include by the standby network interface acquisition Backup Data:
Backup Data is obtained from the standby network interface;Or
By the standby network interface Backup Data is obtained from data source.
It can directly obtain backup video data from standby network interface that control unit obtains backup video data by standby network interface, Can also be that backup video data is obtained to video sending card by standby network interface.If desired directly backup video is obtained from standby network interface Data are then configured with a buffer for network interface, and to cache backup video data, and lock cache data can not be read It takes, when the video vertical synchronization packet of main video data reaches, or backup network interface is switched to the switching command arrival of major network mouth When, the backup video data of caching is unlocked, and control unit is allowed to read.
In a specific embodiment, when primary traffic is through the standby network interface, the standby network interface caches master data, shape At buffer queue;
When obtaining Backup Data by standby network interface, data are obtained as Backup Data from the buffer queue.
When the video vertical synchronization packet and data packet of main video data reach standby network interface, standby network interface caches main video data In both the buffers, and buffer queue is formed, when the vertical synchronization packet of next video frame reaches standby network interface, will delayed in buffer queue The main video data deposited is used as backup video data, controlled unit to read.
In other implementations, data cached directly to be obtained from data source.
Please continue to refer to Fig. 2, in some embodiments, the data transfer control method further includes step:
S140:Abnormal signal is received, and after receiving abnormal signal, data frame is obtained from Backup Data and presented.
The abnormal signal can be realized by a testing agency of control unit, can also be by manually triggering.When When testing agency detects that LED display has display exception information, an abnormal signal, control unit are provided to control unit After receiving the abnormal signal, it is switched to from backup video data and obtains data frame as the data frame presented, and be in It is existing.The testing agency can also with one control switch connection, and control switch be pressed or touch when, testing agency active to Control unit sends abnormal signal, to realize switching of the manual control main video data channel to backup video data channel. Illustratively, when there are when accidental wrong data, by artificial correction, reaching and show in wrong data in main video data It is switched to before screen from backup video data acquisition video frame and is shown, since main video data and backup video data are reached and controlled The time of unit processed, there are a differences, so as to avoid showing wrong data on a display screen.
In some embodiments, after control unit receives abnormal signal, video frame is obtained from backup video data, and After video frame is handled, all babinet modules for controlling LED display obtain new display data and are shown.Another In a little embodiments, when transmitting abnormal signal to control unit, the position including babinet module is believed in abnormal signal for testing agency Breath, to obtain video frame being switched to from backup video data, and after being handled, the babinet module of control display exception connects New display data is received, and other babinet modules maintain the display data that display is received from main video data.
Please continue to refer to Fig. 3, in some embodiments, it is described from Backup Data obtain data frame and present include:
S141:Data frame is obtained from Backup Data, and is presented after treatment;
S143:Judge whether the data frame currently presented is equal to the abnormal data frame in master data;
S145:If so, next frame is switched to obtains data frame presentation from master data.
Control unit is switched to after receiving abnormal signal and obtains video frame from backup video data, handled After be assigned to each babinet module and shown.Control unit when handling video frame, by currently processed video frame with cut It is compared from the anomalous video frame of main video acquisition before changing, judges whether the two is identical, if identical, based on next frame switching Video frame of the video frame as display is obtained in video data.It can be shown in this way to avoid using backup video data to be used as always It cannot again be carried out the problem of error correction when data.
Further include step in some embodiments please continue to refer to Fig. 4:
S150:According to the transmission frequency of abnormal signal, it sets standby network interface to new major network mouth, former major network mouth is set as new Standby network interface.
If within the preset time, the frequency of abnormity of main video data is more than preset value, then carries out major network mouth, standby network interface Switching, i.e., using former standby network interface as new major network mouth, former major network mouth is as new standby network interface, due to former major network mouth, former standby network interface Video data reach display screen time existence time it is poor, therefore not will produce packet loss problem.Those skilled in the art can manage Solution, after the switching for carrying out major network mouth, standby network interface, control unit, which will be suspended from new standby network interface, obtains backup video counts According to until the first frame video data that new major network mouth obtains reaches new standby network interface.
It is cut in time when can have excessive mistake in main video data by the switching of major network mouth, standby network interface It changes, simultaneously because the time existence time that the video data of former major network mouth, former standby network interface reaches display screen is poor, with current display Interface can accomplish smoothly to accept.
It will be appreciated by persons skilled in the art that the major network mouth is also equipped with buffer, in order to major network mouth, standby net When switching between mouthful, major network mouth is used as standby network interface to use.
Further include step in some embodiments please continue to refer to Fig. 5:
S160:After standby network interface obtains master data preset time, if standby network interface does not receive master data, standby network interface is set as new Major network mouth, former major network mouth is set as new standby network interface;
Master data is obtained from new major network mouth.
If standby network interface is not received by next video after the vertical synchronization packet for receiving a upper video frame in preset time The vertical synchronization packet of frame then judges that main video data receives failure, carries out the switching of major network mouth, standby network interface, specific switching rule It is then identical as previously described major network mouth, the standby switching law of network interface.
Above-mentioned data transfer control method obtains master data by major network mouth, Backup Data is obtained by standby network interface, in master Two-way cascade system is formed between network interface, control unit, standby network interface, the control unit of electronic equipment is only received in standby network interface After master data, Backup Data just is obtained from standby network interface, so in the presence of the time that master data reaches control unit with Backup Data Between it is poor, so as to avoid the packet loss problem when switching to Backup Data, while can be corrected by being switched to Backup Data Accidental wrong data in master data.
Please after refering to Fig. 6, one embodiment of the invention also provides a kind of data transfer control system, is used for control electronics Data transmission, the data transfer control system includes:
Major network mouth 110, for obtaining master data from data source;
Standby network interface 120, for obtaining Backup Data;
Display unit 130, the data frame obtained from master data or Backup Data for rendering;And
Control unit 140 obtains data for controlling display unit 130 by major network mouth 110 and standby network interface 120;
After the presented unit of master data 130 reaches standby network interface 120, described control unit 140 passes through the standby network interface 120 Obtain Backup Data.
By taking the video data transmission of LED display as an example, LED display can by major network mouth 110 and standby network interface 120 with Video sending card connects, and then the transmission of video data may be implemented.In general, the control unit 140 of LED display Main video data is obtained from video sending card by major network mouth 110, and is shown on each babinet module of LED display Come, finally pass back to video sending card by standby network interface 120, after standby network interface 120 receives master data, control unit 140 from Standby network interface 120 obtains backup video data and is back to and regards through major network mouth 110 after being transmitted to each babinet module of LED display Take place frequently card feed, and two-way cascade system is formed between major network mouth 110, control unit 140, standby network interface 120.
Specifically, control unit 140 from major network mouth 110 obtain main video data after, according to the position of each babinet module And resolution information, main video data is handled, forms the display data with babinet module quantity equal parts, and give Every part of display data assigns an identification information, and the display number corresponding to itself is identified by identification information in order to babinet module According to.Babinet module captures a display data by identification information and is shown, the display picture of several babinet modules is common The complete display image of composition.
Under normal conditions, control unit 140 obtains video frame as data are presented from main video data, is shown in LED Screen display, when the abnormal conditions such as packet loss, wrong packet occur for main video data, control unit 140 is obtained from Backup Data and is regarded Frequency frame is shown as data are presented on LED display, since control unit 140 is to receive main view frequency in standby network interface 120 According to rear, backup video data just is obtained from standby network interface 120, so evening time of the arrival control unit 140 of backup video data In main video data, to the switching of the having time progress Backup Data after receiving abnormal signal of control unit 140, main view frequency The time difference that data reach control unit 140 with backup video data provides buffer time for the switching of data channel so that Control unit 140 not will produce frame losing phenomenon after switching to backup video data.
The data frame of the master data includes a vertical synchronization packet, when standby network interface 120 receives the vertical synchronization of master data Bao Hou, control electronics obtain Backup Data by standby network interface.
Specifically, the video frame of main video data includes a video vertical synchronization packet and several data packets, wherein data packet It is transferred to control unit 140 to be handled, and distributes to each babinet module and shown, video vertical synchronization packet is through control Standby network interface 120 is directly transferred to after unit 140, for standby network interface 120 after receiving video vertical synchronization packet, control unit 140 is logical It crosses and obtains backup video data for network interface 120.
It can directly obtain backup from standby network interface 120 that control unit 140 obtains backup video data by standby network interface 120 Video data can also be to obtain backup video data to video sending card by standby network interface 120.If desired directly from standby network interface 120 obtain backup video data, then are configured with a buffer for network interface 120, to cache backup video data, and lock It is calmly data cached to be read, when the video vertical synchronization packet of main video data reaches, or based on the switching of backup network interface When the switching command of network interface 110 reaches, the backup video data of caching is unlocked, and control unit 140 is allowed to read.
In a specific embodiment, when primary traffic is through the standby network interface 120, the standby caching of network interface 120 master Data form buffer queue;
When obtaining Backup Data by standby network interface 120, data are obtained as Backup Data from the buffer queue.
When the video vertical synchronization packet and data packet of main video data reach standby network interface 120, standby network interface 120 is by main view frequency In both the buffers according to caching, and buffer queue is formed, when the vertical synchronization packet of next video frame reaches standby network interface 120, will delayed Depositing the main video data cached in queue is used as backup video data, controlled unit 140 to read.
In other implementations, data cached directly to be obtained from data source.
Please continue to refer to Fig. 7, further include in one of the embodiments,:
Testing agency 150 is sent to control unit 140 for obtaining abnormal signal, and by the abnormal signal got, control Unit 140 processed obtains data frame, and presented by the display unit 130 after receiving abnormal signal from Backup Data.
The abnormal signal can be realized by a testing agency 150 of control unit 140, can also be by manually touching Hair.When testing agency 150 detects that LED display has display exception information, an abnormal letter is provided to control unit 140 Number, control unit 140 is switched to from backup video data after receiving the abnormal signal and obtains presentation data.The detection machine Structure 150 can also be with a control switch connection, and when control switch is pressed or touches, 150 active of testing agency is to control Unit 140 sends abnormal signal, to realize switching of the manual control main view frequency to backup video data.Illustratively, when There are when accidental wrong data in main video data, by artificial correction, it is switched to before wrong data is reached and is shown Display data is obtained from backup video data to be shown, since main video data and backup video data reach control unit 140 time, there are a differences, so as to avoid showing wrong data on a display screen.
In some embodiments, after control unit 140 receives abnormal signal, video is obtained from backup video data Frame, and after video frame is split processing, all babinet modules for controlling LED display obtain new display data and are shown Show.In further embodiments, testing agency 150 includes case in abnormal signal when transmitting abnormal signal to control unit 140 The location information of body module, to obtain video frame being switched to from backup video data, and after carrying out dividing processing, control is shown Show that abnormal babinet module receives new display data, and other babinet modules maintain to show that is received from main video data shows Registration evidence.
Control unit 140 is switched to after receiving abnormal signal and obtains video frame from backup video data, located Each babinet module is assigned to after reason to be shown.Control unit 140 is when handling video frame, by currently processed video frame It is compared from the anomalous video frame of main video acquisition with before switching, judges whether the two is identical, if identical, next frame switching To obtain video frame of the video frame as display in main video data.It in this way can be to avoid using backup video data conduct always It cannot again be carried out the problem of error correction when display data.
It can directly obtain backup from standby network interface 120 that control unit 140 obtains backup video data by standby network interface 120 Video data can also be to obtain backup video data to video sending card by standby network interface 120.If desired directly from standby network interface 120 obtain backup video data, then are configured with a buffer for network interface 120, to cache backup video data, caching Afterwards, lock cache device, when the video vertical synchronization packet of main video data reaches, or backup network interface is switched to major network mouth 110 Switching command reach when, unlock the backup video data of caching, and allow control unit 140 read.
It will be appreciated by persons skilled in the art that the major network mouth 110 is also equipped with buffer, in order to major network mouth When 110, for the switching between network interface 120, major network mouth 110 is used as standby network interface 120.
In a specific embodiment, when primary traffic is through the standby network interface 120, the standby caching of network interface 120 master Data form buffer queue;
When obtaining Backup Data by standby network interface 120, data are obtained as Backup Data from the buffer queue.
When the video vertical synchronization packet and data packet of main video data reach standby network interface 120, standby network interface 120 is by main view frequency In both the buffers according to caching, and buffer queue is formed, when the vertical synchronization packet of next video frame reaches standby network interface 120, will delayed Depositing the main video data cached in queue is used as backup video data, controlled unit 140 to read.
Please continue to refer to Fig. 8, further include in one of the embodiments,:
Switch unit 160, for major network mouth 110 to be switched to standby network interface 120 and standby network interface 120 is switched to major network mouth 110。
If within the preset time, the exception of main video data is more than preset value herein, then by major network mouth 110, standby network interface 120 switch over, i.e., regard former standby network interface 120 as new major network mouth 110, former major network mouth 110 as standby network interface 120 newly, by The time existence time that display screen is reached in the video data of former major network mouth 110, former standby network interface 120 is poor, therefore not will produce packet loss Problem.It will be appreciated by persons skilled in the art that after the switching for carrying out major network mouth 110, standby network interface 120, control unit 140 Pause is obtained into backup video data from new standby network interface 120, until the first frame video data that new major network mouth 110 obtains reaches To new standby network interface 120.
By the switching of major network mouth 110, standby network interface 120, when can have excessive mistake in main video data, in time into Row switching, simultaneously because the time existence time that the video data of former major network mouth 110, former standby network interface 120 reaches display screen is poor, with Current display interface can be accomplished smoothly to accept.
In some embodiments, if standby network interface 120 is after the vertical synchronization packet for receiving a upper video frame, in preset time It is not received by the vertical synchronization packet of next video frame, then judges that main video data receives failure, carries out major network mouth 110, standby net The switching of mouth 120, specific switching law are identical as the switching law of previously described major network mouth 110, standby network interface 120.
Above-mentioned data transfer control system obtains master data by major network mouth 110, and backup number is obtained by standby network interface 120 According to forming two-way cascade system, the control unit of electronic equipment between major network mouth 110, control unit 140, standby network interface 120 140 only after standby network interface 120 receives master data, just obtain Backup Data from standby network interface 120, so master data and backup number It is poor according to the time existence time for reaching control unit 140, so as to avoid the packet loss problem when switching to Backup Data, together When can correct accidental wrong data in master data by being switched to Backup Data.
The present invention also provides a kind of storage device, a plurality of instruction of storage device stored, described instruction is suitable for by handling Device loads and executes data transmission method described in any one of the above embodiments.
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of data transfer control method, it to be used for the data transmission of control electronics, electronic equipment has major network mouth and standby Network interface, which is characterized in that include the following steps:
By the major network mouth master data is obtained from data source;
The master data of acquisition is sent to electronic equipment to present, master data flows back to data source after presentation through the standby network interface End;
When standby network interface receives master data, Backup Data is obtained by the standby network interface.
2. data transfer control method according to claim 1, which is characterized in that further include step:
Abnormal signal is received, and after receiving abnormal signal, data frame is obtained from Backup Data and presented.
3. data transfer control method according to claim 2, which is characterized in that described obtained from Backup Data is presented Data include:
Data frame is obtained from Backup Data;
Judge whether the data frame currently presented is equal to the abnormal data frame in master data;
If so, next frame is switched to obtains data frame presentation from master data.
4. data transfer control method according to claim 2 or 3, which is characterized in that further include step:
According to the transmission frequency of abnormal signal, it sets standby network interface to new major network mouth, former major network mouth is set as new standby network interface.
5. data transfer control method according to claim 1, which is characterized in that the data frame of the master data includes one Vertical synchronization packet, after standby network interface receives the vertical synchronization packet of master data, control electronics obtain backup by standby network interface Data.
6. data transfer control method according to claim 1, which is characterized in that further include step:
After standby network interface acquisition master data in preset time, if standby network interface does not receive master data, it sets standby network interface to new major network Mouthful, former major network mouth is set as new standby network interface;
Master data is obtained from new major network mouth.
7. data transfer control method according to claim 1, which is characterized in that described standby by the standby network interface acquisition Part data include:
Backup Data is obtained from the standby network interface;Or
By the standby network interface Backup Data is obtained from data source.
8. a kind of data transfer control system is used for the data transmission of control electronics, which is characterized in that the data transmission Control system includes:
Major network mouth, for obtaining master data from data source;
Standby network interface, for obtaining Backup Data;
Display unit, the data frame obtained from master data or Backup Data for rendering;And
Control unit obtains data for controlling display unit by major network mouth and standby network interface;
After the presented unit of master data reaches standby network interface, described control unit obtains Backup Data by the standby network interface.
9. data transfer control system according to claim 8, which is characterized in that further include:
Testing agency is sent to control unit for obtaining abnormal signal, and by the abnormal signal got, and control unit is connecing After receiving abnormal signal, data frame is obtained from Backup Data, and presented by the display unit;And
Switch unit, for major network mouth to be switched to standby network interface and standby network interface is switched to major network mouth.
10. a kind of storage device, which is characterized in that a plurality of instruction of storage device stored, described instruction are suitable for by processor It loads and executes data transmission method as described in any one of claim 1 to 7.
CN201810001185.6A 2018-01-02 2018-01-02 Data transmission control method, control system and storage device Active CN108462602B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810001185.6A CN108462602B (en) 2018-01-02 2018-01-02 Data transmission control method, control system and storage device
PCT/CN2018/095889 WO2019134358A1 (en) 2018-01-02 2018-07-17 Data transmission control method and control system and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810001185.6A CN108462602B (en) 2018-01-02 2018-01-02 Data transmission control method, control system and storage device

Publications (2)

Publication Number Publication Date
CN108462602A true CN108462602A (en) 2018-08-28
CN108462602B CN108462602B (en) 2021-07-27

Family

ID=63221417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810001185.6A Active CN108462602B (en) 2018-01-02 2018-01-02 Data transmission control method, control system and storage device

Country Status (2)

Country Link
CN (1) CN108462602B (en)
WO (1) WO2019134358A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113126938A (en) * 2020-01-15 2021-07-16 西安诺瓦星云科技股份有限公司 Image display control method and device, display box and display system
CN113225600A (en) * 2021-04-30 2021-08-06 卡莱特云科技股份有限公司 Method and device for preventing LED display screen from flickering
CN113747206A (en) * 2020-05-27 2021-12-03 西安诺瓦星云科技股份有限公司 Data return control method and system, display screen controller and display control card
CN114039622A (en) * 2021-11-06 2022-02-11 四川恒湾科技有限公司 Method for realizing switching of synchronization plane between network ports on radio frequency unit
CN113126938B (en) * 2020-01-15 2024-06-04 西安诺瓦星云科技股份有限公司 Image display control method and device, display box and display system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097739A1 (en) * 2001-01-22 2002-07-25 Viagate Technologies, Inc. Local switch for a broadband multimedia telecommunications system
US20020172508A1 (en) * 2001-05-21 2002-11-21 Gabbi Zennou System and method for multichannel short range media transfer and storage
CN101035057A (en) * 2007-03-30 2007-09-12 华为技术有限公司 Method for establishing the multicast share tree and data transfer method and communication network
CN101389013A (en) * 2008-10-16 2009-03-18 中兴通讯股份有限公司 Main and standby code stream switching implementing device, method and system for mobile multimedia broadcast system
CN103686196A (en) * 2013-12-31 2014-03-26 北京中科大洋科技发展股份有限公司 Seamless switching system and method for ensuring normal broadcast of audio frequency
CN106452668A (en) * 2016-08-31 2017-02-22 许继集团有限公司 IED double-channel data transmission and double-logic verification system and method based on FPGA
CN107395396A (en) * 2017-06-22 2017-11-24 中国科学院西安光学精密机械研究所 The double network interfaces of redundancy based on FPGA can configure Ethernet IP kernel

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571535B (en) * 2010-12-22 2015-02-18 深圳市恒扬科技股份有限公司 Device and method for delaying data and communication system
US9330007B2 (en) * 2012-11-30 2016-05-03 Dell Products, Lp Systems and methods for dynamic optimization of flash cache in storage devices
CN106648963B (en) * 2016-10-11 2020-10-20 广东工业大学 Method and system for recovering synchronous backup of data
CN106453128A (en) * 2016-10-19 2017-02-22 中国工商银行股份有限公司 Data message buffer communication method and apparatus thereof
CN106648984A (en) * 2016-12-20 2017-05-10 上海银禾油信息技术有限公司 Data backup method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097739A1 (en) * 2001-01-22 2002-07-25 Viagate Technologies, Inc. Local switch for a broadband multimedia telecommunications system
US20020172508A1 (en) * 2001-05-21 2002-11-21 Gabbi Zennou System and method for multichannel short range media transfer and storage
CN101035057A (en) * 2007-03-30 2007-09-12 华为技术有限公司 Method for establishing the multicast share tree and data transfer method and communication network
CN101389013A (en) * 2008-10-16 2009-03-18 中兴通讯股份有限公司 Main and standby code stream switching implementing device, method and system for mobile multimedia broadcast system
CN103686196A (en) * 2013-12-31 2014-03-26 北京中科大洋科技发展股份有限公司 Seamless switching system and method for ensuring normal broadcast of audio frequency
CN106452668A (en) * 2016-08-31 2017-02-22 许继集团有限公司 IED double-channel data transmission and double-logic verification system and method based on FPGA
CN107395396A (en) * 2017-06-22 2017-11-24 中国科学院西安光学精密机械研究所 The double network interfaces of redundancy based on FPGA can configure Ethernet IP kernel

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113126938A (en) * 2020-01-15 2021-07-16 西安诺瓦星云科技股份有限公司 Image display control method and device, display box and display system
CN113126938B (en) * 2020-01-15 2024-06-04 西安诺瓦星云科技股份有限公司 Image display control method and device, display box and display system
CN113747206A (en) * 2020-05-27 2021-12-03 西安诺瓦星云科技股份有限公司 Data return control method and system, display screen controller and display control card
CN113747206B (en) * 2020-05-27 2024-03-15 西安诺瓦星云科技股份有限公司 Data feedback control method and system, display screen controller and display control card
CN113225600A (en) * 2021-04-30 2021-08-06 卡莱特云科技股份有限公司 Method and device for preventing LED display screen from flickering
CN113225600B (en) * 2021-04-30 2022-08-26 卡莱特云科技股份有限公司 Method and device for preventing LED display screen from flickering
CN114039622A (en) * 2021-11-06 2022-02-11 四川恒湾科技有限公司 Method for realizing switching of synchronization plane between network ports on radio frequency unit
CN114039622B (en) * 2021-11-06 2023-07-28 四川恒湾科技有限公司 Method for realizing switching of synchronous surface between network ports on radio frequency unit

Also Published As

Publication number Publication date
WO2019134358A1 (en) 2019-07-11
CN108462602B (en) 2021-07-27

Similar Documents

Publication Publication Date Title
CN111314033B (en) Transmission method and terminal of uplink control information UCI
JP7258041B2 (en) Sidelink transmission method and terminal
CN108462602A (en) Data transfer control method, control system and storage device
WO2019143133A1 (en) Method and apparatus for configuration and deployment of media processing in the network
JP3017925B2 (en) Mobile communication terminal and mobile communication method
CN109076410A (en) The program of network slice is supported in a wireless communication system
CN106598524A (en) Method, system and mobile terminal for controlling display content in multi-display-equipment environment
CN111130722B (en) Bearing control method, terminal and network side equipment
CN110300404A (en) A kind of network control method and mobile terminal
US20150178227A1 (en) Cooperation of device and display
KR102613334B1 (en) Information instruction method, information acquisition method, terminal and network node
US20150201249A1 (en) Method and apparatus for receiving broadcasting channel
EP3149951A1 (en) Interactive display telecommunication method and system
US20100172335A1 (en) Data transmission method and apparatus based on Wi-Fi multimedia
CN113163342B (en) Bearer establishing method, configuration method, terminal and network side equipment
WO2020088178A1 (en) Processing method and terminal
US20240147305A1 (en) Data processing method, information configuration method, terminal, and network device
US20150373230A9 (en) Networked programmable timecode and metadata transfer system
US20230039646A1 (en) Data retransmission method, data retransmission apparatus, target node, source node, and terminal
JP4492435B2 (en) Redundant configuration system, communication processing apparatus, and delivery unconfirmed connection switching method used therefor
KR20080101808A (en) Method of comparing state variable or packet sequence number for a wireless communications system and related apparatus
CN103686300B (en) The synchronous method and system of business guide
CN109818967B (en) Notification method, server, mobile terminal and computer readable storage medium
US11523428B2 (en) Random access method, terminal device and network device
CN110475367A (en) A kind of transmission method, mobile communication terminal and network side equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 1805, tower 2, Shenye Jinyuan Building, No.112, Qingshuihe 1st Road, Qingshuihe community, Luohu District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN AOTO ELECTRONICS Co.,Ltd.

Address before: 518000 9th Floor, United Headquarters Building, No. 63 Xuefu Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: SHENZHEN AOTO ELECTRONICS Co.,Ltd.

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhao Lihong

Inventor after: Xie Mingpu

Inventor after: Sun Xinghong

Inventor after: Yan Zhenhang

Inventor after: Wu Zhenzhi

Inventor after: Wu Hanqu

Inventor before: Xie Mingpu

Inventor before: Sun Xinghong

Inventor before: Yan Zhenhang

Inventor before: Wu Zhenzhi

Inventor before: Wu Hanqu

GR01 Patent grant
GR01 Patent grant