CN108156088A - Letter hair screen flow control methods and system, computer storage media - Google Patents

Letter hair screen flow control methods and system, computer storage media Download PDF

Info

Publication number
CN108156088A
CN108156088A CN201810104278.1A CN201810104278A CN108156088A CN 108156088 A CN108156088 A CN 108156088A CN 201810104278 A CN201810104278 A CN 201810104278A CN 108156088 A CN108156088 A CN 108156088A
Authority
CN
China
Prior art keywords
letter
hair
instructions
screen
letter hair
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
CN201810104278.1A
Other languages
Chinese (zh)
Other versions
CN108156088B (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.)
Beijing Thinkwin Technology Development Co Ltd
Original Assignee
Beijing Thinkwin Technology Development 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 Beijing Thinkwin Technology Development Co Ltd filed Critical Beijing Thinkwin Technology Development Co Ltd
Priority to CN201810104278.1A priority Critical patent/CN108156088B/en
Publication of CN108156088A publication Critical patent/CN108156088A/en
Application granted granted Critical
Publication of CN108156088B publication Critical patent/CN108156088B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of letter hair screen flow control methods and system, computer storage media, wherein, method includes:The Network status of detection letter hair system;It transmits and sends instructions under letter hair screen by the letter queue that sends instructions according to the Network status.The present invention can control, manage numerous letter hair screens simultaneously, be not in network congestion, user experience is good.

Description

Letter hair screen flow control methods and system, computer storage media
Technical field
The present invention relates to the sides of network communication technology field more particularly to control letter hair screen (letter hair terminal) data traffic Method is exactly specifically a kind of letter hair screen flow control methods and system, computer storage media.
Background technology
Letter hair screen also referred to as letter hair terminal, letter hair screen refer to the display screen issued for information, and there are many specification, size has greatly Have small, built-in operating system also there are many, for example, android, IOS, winCE etc..It is defeated that letter hair screen is mainly used for certain systems Go out the display of information, feature is from tape operation system.
Letter hair screen technology is the propagation of company information to be played extremely important using wider a special kind of skill in current industry Effect.Main application fields include the public places such as conference system, building system, civil aviaton, railway, highway.
But since the program majority of publication is all the larger high definition video steaming of data volume and the big picture of high pixel, mesh Before, letter hair screen delivery system (letter hair system) sends out limitation control function without letter, can be right when letter hair screen is a fairly large number of Letter hair screen delivery system causes very big data transmission pressure or even letter is caused to send out grid congestion.Believe that hair system generates net It when network congestion, can cause new instruction that can not reach letter hair screen down, cause that the control of other letter hair screens can not be completed.Together When will also result in current letter hair screen and can not complete the broadcasting control of subsequent program.
Due to above-mentioned technical bottleneck, current letter hair screen technology has only completed the seldom letter hair screen of quantity and has played, to tens The broadcasting situation of even up to a hundred letter hair screens, then seldom set foot in, so that the spread scope of letter hair screen is greatly affected. Therefore, those skilled in the art are there is an urgent need for researching and developing a kind of letter hair system congestion control method, in the situation that current network broadband allows Under, thousands of letters can be controlled to send out the broadcasting situation of screen.
Invention content
In view of this, the technical problem to be solved in the present invention be to provide a kind of letter hair screen flow control methods and system, Computer storage media solves the problems, such as that existing letter hair technology can not realize that numerous letter hair screens play control.
In order to solve the above-mentioned technical problem, specific embodiment of the invention provides a kind of letter hair screen flow control methods, Including:The Network status of detection letter hair system;According to the Network status by letter send instructions queue to letter hair screen under transmit Instruction.
The specific embodiment of the present invention also provides a kind of letter hair screen flow control system, including:Flow controller and institute The letter hair server for stating flow controller connection, the multiple letters hair screen being connect with the flow controller connect with the letter hair screen The Nginx servers connect and the media database with the letter hair screen connection.Wherein, the letter hair server is used to pass through The flow controller sends letter to multiple letter hair screens and sends instructions;The flow controller is used to be passed through according to Network status The letter queue that sends instructions issues the letter and sends instructions to letter hair screen;The letter hair shields to be sent instructions to described according to the letter Nginx servers send multimedia and download request;The Nginx servers are used to be downloaded according to the multimedia and ask to described Media database, which is sent, allows incoming instruction;The media database is used to the letter hair be shielded according to the permission incoming instruction Send multi-medium data;The letter hair shields the HTML coding and decodings being additionally operable in sending instructions according to the letter and plays more matchmakers Volume data.
The specific embodiment of the present invention also provides a kind of computer storage media for including computer executed instructions, described When computer executed instructions are handled via data processing equipment, which performs letter hair screen flow control methods.
Above-mentioned specific embodiment according to the present invention is it is found that letter hair screen flow control methods and system, computer storage Medium at least has the advantages that:Using instruction queue technology, realize letter hair system and be grouped control to instructing to issue The design of system makes full use of network bandwidth, realizes that orderly, efficiently letter sends out screen broadcast state control;Utilize Nginx thread speed limits It is controlled with maximum thread, realizes the control to believing hair system universe network bandwidth, utmostly reduced multi-thread concurrent and draw The network congestion risen.It is small to existing letter hair system change, it is simple in structure, easy to develop and implement, is of low cost, it can be preferably Meet the needs that letter hair management occasion sends out largely believing screen deployment, user experience is good.
It is to be understood that above-mentioned general description and detailed description below are merely illustrative and illustrative, not It can the limitation range of the invention to be advocated.
Description of the drawings
Following appended attached drawing is the part of specification of the present invention, depicts example embodiments of the present invention, institute Attached drawing is used for illustrating the principle of the present invention together with the description of specification.
Fig. 1 is the flow of the embodiment one of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure.
Fig. 2 is the flow of the embodiment two of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure.
Fig. 3 is the flow of the embodiment three of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure.
Fig. 4 is the flow of the example IV of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure.
Fig. 5 is the flow of the embodiment five of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure.
Fig. 6 is the composition figure of a kind of letter hair screen flow control system that the specific embodiment of the invention provides.
Reference sign:
10 flow controllers 20 letter hair server
30 letter hair screen 40Nginx servers
50 media databases
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are more clearly understood, below will with attached drawing and in detail Narration clearly illustrates the spirit of disclosed content, and any skilled artisan is understanding the content of present invention After embodiment, when the technology that can be taught by the content of present invention, it is changed and modifies, without departing from the essence of the content of present invention God and range.
The illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but not as a limitation of the invention. In addition, element/component of the same or like label used in drawings and the embodiments is for representing same or like portion Point.
About " first " used herein, " second " ... etc., not especially censure the meaning of order or cis-position, It is non-to limit the present invention, only for distinguishing the element described with same technique term or operation.
About direction term used herein, such as:Upper and lower, left and right, front or rear etc. are only the sides of refer to the attached drawing To.Therefore, the direction term used is intended to be illustrative and not intended to limit this creation.
It is open term, i.e., about "comprising" used herein, " comprising ", " having ", " containing " etc. Mean including but not limited to.
About it is used herein " and/or ", including any of the things or all combination.
Include " two " and " two or more " about " multiple " herein;Include " two groups " about " multigroup " herein And " more than two ".
About term used herein " substantially ", " about " etc., to modify it is any can be with the quantity or mistake of microvariations Difference, but this slight variations or error can't change its essence.In general, microvariations that such term is modified or error Range in some embodiments can be 20%, in some embodiments can be 10%, can be in some embodiments 5% or its His numerical value.It will be understood by those skilled in the art that the aforementioned numerical value referred to can be adjusted according to actual demand, it is not limited thereto.
It is certain to describe the word of the application by lower or discuss in the other places of this specification, to provide art technology Personnel's guiding additional in relation to the description of the present application.
Fig. 1 is the flow of the embodiment one of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure, as shown in Figure 1, the Network status of flow controller (letter hair speed limit component) real-time detection letter hair system, and according to network-like The quality of condition sends letter to letter hair screen (letter hair terminal or letter hair client) and sends instructions (control instruction).
In the specific embodiment shown in the drawings, letter hair screen flow control methods include:
Step 101:The Network status of detection letter hair system.In the embodiment of the present invention, letter hair system includes letter hair service Device, letter hair screen, Nginx servers and media database etc.;Network status specifically includes letter and sends instructions quantity and real-time traffic etc.; The quality of Network status is embodied in letter and sends instructions number, the size of real-time traffic of quantity;One letter hair screen and letter hair server The link of communication is known as a thread, and letter hair server is intended to establish communication linkage with multiple letter hair screens, it will generates corresponding number Thread, a letter sends instructions a corresponding thread.
Step 102:It transmits and sends instructions under letter hair screen by the letter queue that sends instructions according to the Network status.The present invention's In embodiment, the letter queue that sends instructions only allows the letter for coming queue front to send instructions to be issued to corresponding letter hair screen, and allow team Tail is inserted into new letter and sends instructions, and all letters send instructions orderly to be issued by the letter queue that sends instructions, and will not cause network congestion.
Referring to Fig. 1, flow controller is transmitted and sent instructions under letter hair screen by the letter queue that sends instructions according to Network status, i.e., In the case of letter hair server is made to manage simultaneously, controlling thousands of letter hair screens, it will not cause network congestion, meet a large amount of letters The needs of hair screen deployment, small to existing letter hair system change, user experience is high.
Fig. 2 is the flow of the embodiment two of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure, as shown in Fig. 2, according to Network status by letter send instructions queue to letter hair shield under transmit and send instructions after, flow controller The letter of reception letter hair screen feedback, which sends instructions to perform, completes information.
In the specific embodiment shown in the drawings, after step 102, letter hair screen flow control methods further include:
Step 103:Receive it is described letter hair screen feedback letter send instructions execution complete information.In the embodiment of the present invention, letter Hair screen, which sends instructions to perform to flow controller feedback letter, completes information, informs that flow controller letter sends instructions and is finished, so as to Flow controller is allowed to know that multi-medium data has been downloaded and finished to letter hair screen, new letter can be issued to letter hair screen and bristled with anger It enables.
Referring to Fig. 2, flow controller can grasp the executive condition that letter hair screen sends instructions to letter in real time, so as to Xiang Xinfa screens It issues new letter to send instructions, so as to fulfill effective management of the letter hair server to letter hair screen, makes full use of network bandwidth.
Fig. 3 is the flow of the embodiment three of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure sends instructions after execution completes information as shown in figure 3, flow controller receives letter, the letter not sent is sent instructions addition Send instructions queue to letter.
In the specific embodiment shown in the drawings, after step 103, letter hair screen flow control methods further include:
Step 104:The letter not sent is sent instructions and is sent instructions queue added to the letter.In the embodiment of the present invention, energy Enough letters being lined up in letter sends instructions queue send instructions limited, if letter sends out the letter that server issues and sends instructions excessively, exist not The letter for having queuing sends instructions, when the send instructions letter of queue front of letter sends instructions and issued, then letter sends instructions queue tail end meeting It is inserted into new letter to send instructions, until the letter hair server all letters to be issued send instructions all is issued to letter by the letter queue that sends instructions Hair screen.For example, letter hair server is needed to issue 200 letters and be sent instructions, the letter queue that sends instructions can accommodate 50 letters and send instructions, head First there is the queuing that sends instructions of 50 letters to send instructions into letter and transmit screen under queue starts, residue letter, which sends instructions, to be sequentially inserted into letter and bristle with anger Queue tail end is enabled to be lined up.
Referring to Fig. 3, flow controller, which can recycle to transmit under letter hair screen, to send instructions, and can preferably meet letter hair management The needs that occasion is disposed to largely believing hair screen, user experience are good.
Fig. 4 is the flow of the example IV of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure, as shown in figure 4, sending instructions quantity according to the letter of the letter hair system of detection and whether real-time traffic sends instructions to letter point Group.
In the specific embodiment shown in the drawings, step 101 specifically includes:The letter of real-time detection letter hair system sends instructions Quantity and real-time traffic.
Further, step 102 specifically includes:
Step 1021:Judge that whether the letter of the letter hair system sends instructions quantity less than or equal to number of threads threshold value (maximum Concurrent connection number).In the embodiment of the present invention, the letter quantity that sends instructions is exactly that letter hair server will bristle with anger to the letter that issue of letter hair screen The item number of order;Letter, which sends instructions, will create a thread when issuing, thread can excessively cause network congestion.
Step 1022:If the letter sends instructions, quantity is less than or equal to the number of threads threshold value, judges the letter hair system Whether the real-time traffic of system is less than or equal to flow threshold.In the embodiment of the present invention, the message transmission rate of thread is also Variable, if number of threads is less than or equal to number of threads threshold value, the message transmission rate of per thread is excessive, can equally cause Network congestion.The message transmission rate of thread is embodied directly in real-time traffic, the thread of identical quantity, and message transmission rate is got over Greatly, real-time traffic is bigger, and message transmission rate is smaller, and real-time traffic is smaller.
Step 1023:If the real-time traffic be less than or equal to the flow threshold, directly by letter send instructions queue to It transmits and sends instructions under letter hair screen.In the embodiment of the present invention, if real-time traffic is less than or equal to flow threshold, do not need to thread Speed limit is carried out, otherwise needs to carry out speed limit to thread.
Step 1024:Otherwise, after carrying out rate limit to all threads according to the flow threshold, sent instructions team by letter It arranges to transmit under letter hair screen and send instructions.In the embodiment of the present invention, if real-time traffic is more than flow threshold, the number of thread is reduced According to transmission rate, network congestion is prevented.
Referring to Fig. 4, transmit and bristle with anger under letter hair screen by the letter queue that sends instructions according to send instructions quantity and real-time traffic of letter It enables, ensures the network bandwidth used control in allowed limits, network congestion will not be caused, can realize numerous letter hair screens Control and management.
Fig. 5 is the flow of the embodiment five of a kind of letter hair screen flow control methods that the specific embodiment of the invention provides Figure, if quantity is more than number of threads threshold value as shown in figure 5, letter sends instructions, needing to send instructions to letter is grouped, and then leads to again Cross letter send instructions queue mode to letter hair screen issue.
In the specific embodiment shown in the drawings, step 102 further includes:
Step 1025:If the letter sends instructions, quantity is more than the number of threads threshold value, and all letters are sent instructions and are divided into Multiple letters send instructions group, jump to step 1022.In the embodiment of the present invention, all letters are sent instructions and are divided into multiple letter hairs Instruction group, and ensure that letter that each letter sends instructions in the group quantity that sends instructions is less than or equal to number of threads threshold value.For example, number of threads Threshold value is 200, and letter sends instructions quantity for 1000, and at least needing to send instructions in letter is divided into 5 groups, and each letter sends instructions in group Letter send instructions quantity for 200, so as to ensure that letter that each letter sends instructions in the group quantity that sends instructions is less than or equal to number of threads threshold Value.
Step 1022:Judge whether the real-time traffic of the letter hair system is less than or equal to flow threshold.
Step 1023:If the real-time traffic be less than or equal to the flow threshold, directly by letter send instructions queue to Letter hair screen issue the letter send instructions organize letter send instructions.
Step 1024:Otherwise, after carrying out rate limit to all threads according to the flow threshold, sent instructions team by letter Arrange to letter hair screen issue the letter send instructions organize letter send instructions.
Referring to Fig. 5, sending instructions for letter, item number is excessive, and more than the situation of number of threads threshold value, letter is sent instructions, and it is more to be divided into A letter sends instructions group, ensures that the send instructions letter quantity that sends instructions of group of each letter is less than or equal to number of threads threshold value, so as to ensure net Congestion will not occur for network, and user experience is high.
Fig. 6 is the composition figure of a kind of letter hair screen flow control system that the specific embodiment of the invention provides, such as Fig. 6 institutes Show, system includes flow controller 10, letter hair server 20, multiple letter hair screens 30, Nginx servers 40 and media database 50.Wherein, letter hair server 20 is connect with the flow controller 10;Letter hair screen 30 is connect with the flow controller 10; Nginx servers 40 are connect with the letter hair screen 30;Media database 50 is connect with the letter hair screen 30.The letter hair server 20 are used to multiple 30 transmission letters of letter hair screen send instructions by the flow controller 10;The flow controller 10 is used for It issues the letter to letter hair screen 30 by the letter queue that sends instructions according to Network status and sends instructions;The letter hair screen 30 is used for according to institute Letter is stated to send instructions to the Nginx servers 40 transmission multimedia download request;The Nginx servers 40 are used for according to Multimedia, which is downloaded request and sent to the media database 50, allows incoming instruction;The media database 50 is used for according to Incoming instruction is allowed to send multi-medium data to the letter hair screen 30;The letter hair screen 30 is additionally operable in being sent instructions according to the letter HTML coding and decodings and play the multi-medium data.In specific embodiments of the present invention, the letter hair screen 30 is additionally operable to broadcast It discharges into and completes information to 10 feedback letter of the flow controller execution that sends instructions after the multi-medium data;The flow control Device 10 is additionally operable to complete information the letter not sent sends instructions to send instructions team added to the letter according to the letter execution that sends instructions Row.The flow controller 10 establishes long connection with multiple letter hair screens 30.Wherein, long connection is to refer to keep for a long time Http connections, one connection on can continuously transmit multiple data packets, http connections holding during, if without data Packet is sent, and both sides is needed to send out link detecting packet, could carry out data packet transmission.
In specific embodiments of the present invention, the flow controller 10 specifically includes probe unit, issuance unit, receives list Member and adding device.The probe unit believes the Network status of hair system for detecting;The issuing unit is used for according to Network status is transmitted and sent instructions under letter hair screen by the letter queue that sends instructions;The receiving unit is anti-for receiving the letter hair screen The letter of feedback, which sends instructions to perform, completes information;The adding device sends instructions for sending instructions the letter not sent added to the letter Queue.
Further, the probe unit is specifically used for the letter of real-time detection letter hair system and sends instructions quantity and real-time streams Amount.The issuing unit specifically includes the first judgment module, the second judgment module, issues module, speed limit module and grouping module. First judgment module is used to judge that whether the letter of the letter hair system to send instructions quantity less than or equal to number of threads threshold value;Institute State the second judgment module for the letter send instructions quantity less than or equal to the number of threads threshold value when, judge it is described believe hair system The real-time traffic whether be less than or equal to flow threshold;The module that issues is less than or equal to the stream for the real-time traffic When measuring threshold value, directly by letter send instructions queue to letter hair shield under transmit and send instructions;If the speed limit module is used for the reality When Shi Liuliang is more than the flow threshold, rate limit is carried out to all threads according to the flow threshold;It is described to issue module Be additionally operable to carry out all threads after rate limit by letter send instructions queue to letter hair shield under transmit and send instructions;The grouping mould When block sends instructions quantity more than the number of threads threshold value for the letter, all letters, which are sent instructions, to be divided into multiple letters and sends instructions Group.It is described when issuing module and being additionally operable to the real-time traffic less than or equal to the flow threshold, directly sent instructions queue by letter Xiang Xinfa screens issue the letter send instructions group letter send instructions;The module that issues is additionally operable to carry out rate limit to all threads Afterwards, by letter send instructions queue to letter hair screen issue the letter send instructions organize letter send instructions.
The specific embodiment of the invention provides a kind of computer storage media for including computer executed instructions, the calculating When machine execute instruction is handled via data processing equipment, which performs letter hair screen flow control methods.Letter hair screen Flow control methods specifically include following steps:
Step 101:The Network status of detection letter hair system.
Step 102:It transmits and sends instructions under letter hair screen by the letter queue that sends instructions according to the Network status.
The specific embodiment of the invention also provides a kind of computer storage media for including computer executed instructions, the meter When calculation machine execute instruction is handled via data processing equipment, which performs letter hair screen flow control methods.Letter hair Screen flow control methods specifically include following steps:
Step 101:The Network status of detection letter hair system.
Step 102:It transmits and sends instructions under letter hair screen by the letter queue that sends instructions according to the Network status.
Step 103:Receive it is described letter hair screen feedback letter send instructions execution complete information.
The specific embodiment of the invention also provides a kind of computer storage media for including computer executed instructions, the meter When calculation machine execute instruction is handled via data processing equipment, which performs letter hair screen flow control methods.Letter hair Screen flow control methods specifically include following steps:
Step 101:The Network status of detection letter hair system.
Step 102:It transmits and sends instructions under letter hair screen by the letter queue that sends instructions according to the Network status.
Step 103:Receive it is described letter hair screen feedback letter send instructions execution complete information.
Step 104:The letter not sent is sent instructions and is sent instructions queue added to the letter.
The specific embodiment of the invention also provides a kind of computer storage media for including computer executed instructions, the meter When calculation machine execute instruction is handled via data processing equipment, which performs letter hair screen flow control methods.Letter hair Screen flow control methods specifically include following steps:
Step 101:The letter of real-time detection letter hair system sends instructions quantity and real-time traffic.
Step 1021:Judge that whether the letter of the letter hair system sends instructions quantity less than or equal to number of threads threshold value.
Step 1022:If the letter sends instructions, quantity is less than or equal to the number of threads threshold value, judges the letter hair system Whether the real-time traffic of system is less than or equal to flow threshold.
Step 1023:If the real-time traffic be less than or equal to the flow threshold, directly by letter send instructions queue to It transmits and sends instructions under letter hair screen.
Step 1024:Otherwise, after carrying out rate limit to all threads according to the flow threshold, sent instructions team by letter It arranges to transmit under letter hair screen and send instructions.
The specific embodiment of the invention also provides a kind of computer storage media for including computer executed instructions, the meter When calculation machine execute instruction is handled via data processing equipment, which performs letter hair screen flow control methods.Letter hair Screen flow control methods specifically include following steps:
Step 101:The letter of real-time detection letter hair system sends instructions quantity and real-time traffic.
Step 1021:Judge that whether the letter of the letter hair system sends instructions quantity less than or equal to number of threads threshold value.
Step 1022:If the letter sends instructions, quantity is less than or equal to the number of threads threshold value, judges the letter hair system Whether the real-time traffic of system is less than or equal to flow threshold.
Step 1023:If the real-time traffic be less than or equal to the flow threshold, directly by letter send instructions queue to It transmits and sends instructions under letter hair screen.
Step 1024:Otherwise, after carrying out rate limit to all threads according to the flow threshold, sent instructions team by letter It arranges to transmit under letter hair screen and send instructions.
Step 1025:If the letter sends instructions, quantity is more than the number of threads threshold value, and all letters are sent instructions and are divided into Multiple letters send instructions group, jump to step 1022.
The embodiment of the present invention provides a kind of letter hair screen flow control methods and system, computer storage media, using instruction Queue technology realizes letter hair system and sends instructions to letter and issue the design for being grouped control, makes full use of network bandwidth resources, Realize that orderly, efficiently letter sends out screen broadcast state control;It is controlled, realized pair using Nginx threads speed limit and maximum thread Believe the control of hair system universe network bandwidth, network congestion, network paralysis caused by utmostly reducing multi-thread concurrent.To existing There is letter hair system to change small, it is simple in structure, easy to develop and implement, is of low cost, it can preferably meet letter hair management occasion To largely believing the needs of hair screen deployment, user experience is good.
The above-mentioned embodiment of the present invention can be implemented in various hardware, Software Coding or both combination.For example, this hair Bright embodiment, which is alternatively in data signal processor (Digital Signal Processor, DSP), performs the above method Program code.The present invention can also refer to computer processor, digital signal processor, microprocessor or field-programmable gate array Arrange the multiple functions that (Field Programmable GateArray, FPGA) is performed.Can above-mentioned processing be configured according to the present invention Device performs particular task, and the machine-readable software code of ad hoc approach or the firmware generation that the present invention discloses are defined by performing Code is completed.Software code or firmware code can be developed into different program languages and different forms or form.Or Different target platform composing software codes.However, in generation, is configured according to the software code of execution task of the present invention and other types Different code pattern, type and the language of code do not depart from spirit and scope of the invention.
The foregoing is merely the schematical specific embodiment of the present invention, before the design of the present invention and principle is not departed from It puts, the equivalent variations and modification that any those skilled in the art is made should all belong to the scope of protection of the invention.

Claims (10)

1. a kind of letter hair screen flow control methods, which is characterized in that this method includes:
The Network status of detection letter hair system;And
It transmits and sends instructions under letter hair screen by the letter queue that sends instructions according to the Network status.
2. letter hair screen flow control methods as described in claim 1, which is characterized in that sent out according to the Network status by believing After instruction queue transmits the step of sending instructions under letter hair screen, this method further includes:
Receive it is described letter hair screen feedback letter send instructions execution complete information.
3. letter hair screen flow control methods as claimed in claim 2, which is characterized in that receive the letter hair of the letter hair screen feedback After instruction performs the step of completing information, this method further includes:
The letter not sent is sent instructions and is sent instructions queue added to the letter.
4. letter hair screen flow control methods as described in claim 1, which is characterized in that the Network status of detection letter hair system Step specifically includes:
The letter of real-time detection letter hair system sends instructions quantity and real-time traffic.
5. letter hair screen flow control methods as claimed in claim 4, which is characterized in that sent out according to the Network status by believing Instruction queue transmits the step of sending instructions under letter hair screen, specifically includes:
Judge that whether the letter of the letter hair system sends instructions quantity less than or equal to number of threads threshold value;
If the letter sends instructions, quantity is less than or equal to the number of threads threshold value, judges the real-time streams of the letter hair system Whether amount is less than or equal to flow threshold;
If the real-time traffic be less than or equal to the flow threshold, directly by letter send instructions queue to letter hair shield under transmit Instruction;And
Otherwise, after carrying out rate limit to all threads according to the flow threshold, queue is sent instructions under letter hair screen by letter It transmits and sends instructions.
6. letter hair screen flow control methods as claimed in claim 5, which is characterized in that sent out according to the Network status by believing Instruction queue mode transmits the step of sending instructions under letter hair screen, further includes:
If the letter sends instructions, quantity is more than the number of threads threshold value, and all letters, which are sent instructions, to be divided into multiple letters and send instructions Group;
Judge whether the real-time traffic of the letter hair system is less than or equal to flow threshold;
If the real-time traffic be less than or equal to the flow threshold, directly by letter send instructions queue to letter hair screen issue described in Letter send instructions group letter send instructions;And
Otherwise, after carrying out rate limit to all threads according to the flow threshold, queue is sent instructions under letter hair screen by letter The letter for sending out letter described and sending instructions group sends instructions.
7. a kind of letter hair screen flow control system, which is characterized in that the system includes:Described in perform claim requirement 1~6 is any Letter hair shields the flow controller (10) of flow control methods, the letter being connect with the flow controller (10) sends out server (20), The multiple letters hair screen (30) being connect with the flow controller (10), the Nginx servers being connect with the letter hair screen (30) (40) and with the letter hair screen (30) media database (50) connecting, wherein,
The letter hair server (20) sends letter hair for passing through the flow controller (10) to multiple letter hair screens (30) Instruction;
The flow controller (10) for according to Network status by letter send instructions queue to letter send out screen (30) issue the letter Send instructions;
The letter hair screen (30) please to the Nginx servers (40) transmission multimedia download for being sent instructions according to the letter It asks;
The Nginx servers (40) allow for downloading request according to the multimedia and being sent to the media database (50) Incoming instruction;
The media database (50) sends multi-medium data for shielding (30) to the letter hair according to the permission incoming instruction;
The letter hair shields the HTML coding and decodings that (30) are additionally operable in sending instructions according to the letter and plays the multi-medium data.
8. letter hair screen flow control system as claimed in claim 7, which is characterized in that the letter hair screen (30) is additionally operable to play It completes to complete information to the execution that sends instructions of the flow controller (10) feedback letter after the multi-medium data;
The flow controller (10) is additionally operable to complete information according to the letter execution that sends instructions and the letter not sent sends instructions add The letter is added to send instructions queue.
9. letter hair screen flow control system as claimed in claim 7, which is characterized in that the flow controller (10) with it is multiple The letter hair screen (30) establishes long connection.
10. a kind of computer storage media for including computer executed instructions, the computer executed instructions are via data processing During equipment processing, any letter hair screen flow control methods of data processing equipment perform claim requirement 1~6.
CN201810104278.1A 2018-02-02 2018-02-02 Method and system for controlling flow of message sending screen and computer storage medium Active CN108156088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810104278.1A CN108156088B (en) 2018-02-02 2018-02-02 Method and system for controlling flow of message sending screen and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810104278.1A CN108156088B (en) 2018-02-02 2018-02-02 Method and system for controlling flow of message sending screen and computer storage medium

Publications (2)

Publication Number Publication Date
CN108156088A true CN108156088A (en) 2018-06-12
CN108156088B CN108156088B (en) 2021-04-23

Family

ID=62459564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810104278.1A Active CN108156088B (en) 2018-02-02 2018-02-02 Method and system for controlling flow of message sending screen and computer storage medium

Country Status (1)

Country Link
CN (1) CN108156088B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716249A (en) * 2013-12-18 2014-04-09 北京奇虎科技有限公司 Network transmission speed control method and apparatus
CN104615684A (en) * 2015-01-22 2015-05-13 北京彩云动力教育科技有限公司 Mass data communication concurrent processing method and system
CN104616512A (en) * 2015-01-13 2015-05-13 南京金晓电子信息有限公司 Distributed processing-based urban intelligent traffic guidance system
CN105279087A (en) * 2015-10-21 2016-01-27 北京软件产品质量检测检验中心 Test method and test system applied to test software
US20170109861A1 (en) * 2012-10-24 2017-04-20 Nubo Software Server-Based Fast Remote Display on Client Devices
CN106911582A (en) * 2017-03-07 2017-06-30 北京搜狐新媒体信息技术有限公司 A kind of real-time traffic control method and system based on Nginx servers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170109861A1 (en) * 2012-10-24 2017-04-20 Nubo Software Server-Based Fast Remote Display on Client Devices
CN103716249A (en) * 2013-12-18 2014-04-09 北京奇虎科技有限公司 Network transmission speed control method and apparatus
CN104616512A (en) * 2015-01-13 2015-05-13 南京金晓电子信息有限公司 Distributed processing-based urban intelligent traffic guidance system
CN104615684A (en) * 2015-01-22 2015-05-13 北京彩云动力教育科技有限公司 Mass data communication concurrent processing method and system
CN105279087A (en) * 2015-10-21 2016-01-27 北京软件产品质量检测检验中心 Test method and test system applied to test software
CN106911582A (en) * 2017-03-07 2017-06-30 北京搜狐新媒体信息技术有限公司 A kind of real-time traffic control method and system based on Nginx servers

Also Published As

Publication number Publication date
CN108156088B (en) 2021-04-23

Similar Documents

Publication Publication Date Title
CN110347596B (en) Test method, device, system, electronic equipment and medium
CN107302716B (en) A kind of method of live game, Zhu Boduan, direct broadcast server and client
CN106161399A (en) A kind of security service delivery method and system
EP0788267A2 (en) User-extensible interactive network packet language
CN107967206A (en) A kind of data testing system, request hold-up interception method and request blocking apparatus
CN111031400B (en) Barrage presenting method and system
JP2012519924A (en) Remote desktop protocol (RDP) display without tearing
CN109068157A (en) Method of adjustment, device and the server of plug-flow parameter in a kind of live streaming
CN113225607A (en) Method and system for displaying gift in live broadcast room
CN110113655A (en) A kind of method, apparatus and user terminal of video playing
CN111107011B (en) Method for detecting and generating optimal path and network acceleration system
CN111031399B (en) Bullet screen processing method and system
CN103955846A (en) Control method and device for controlling multi-terminal intelligent feedback in information processing system
CN108156088A (en) Letter hair screen flow control methods and system, computer storage media
WO2018119579A1 (en) Method and device for testing performance of streaming media server
CN106331673A (en) VR video data control method based on distributed control system
US10770045B1 (en) Real-time audio signal topology visualization
CN109151539A (en) A kind of net cast method and system based on unity3d
CN107743077B (en) Method and device for evaluating network performance of information-physical fusion system
CN1745538A (en) Method for separating IP packets which can be allocated to specific groups and corresponding IP packet
CN110413398A (en) Method for scheduling task, device, computer equipment and storage medium
CN113438318B (en) Performance test system and method of cloud control platform, electronic equipment and storage medium
CN106982134A (en) Message forming method, message forwarding method and device
CN106851189A (en) Video information processing method, system and device
CN109688225A (en) A kind of communication means 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
GR01 Patent grant
GR01 Patent grant