CN109445952A - A kind of the display adjustment method and device of barrage message - Google Patents

A kind of the display adjustment method and device of barrage message Download PDF

Info

Publication number
CN109445952A
CN109445952A CN201710773755.9A CN201710773755A CN109445952A CN 109445952 A CN109445952 A CN 109445952A CN 201710773755 A CN201710773755 A CN 201710773755A CN 109445952 A CN109445952 A CN 109445952A
Authority
CN
China
Prior art keywords
function
parameter
barrage message
added
obtaining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710773755.9A
Other languages
Chinese (zh)
Inventor
汪刚
张文明
陈少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710773755.9A priority Critical patent/CN109445952A/en
Publication of CN109445952A publication Critical patent/CN109445952A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/45Exploiting coarse grain parallelism in compilation, i.e. parallelism between groups of instructions
    • G06F8/457Communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of display adjustment method of barrage message and devices, it is related to technical field of information processing, the described method includes: obtaining first function, the first function has the first parameter, and the first function is for showing first parameter in system windows;Obtain second function;The first function is added in the second function.It solves in the prior art due to needing to download dedicated proxies software, causes network speed slack-off, the technical issues of certain disablers and agent software interface are complicated, poor universality.The display for having reached barrage message does not need any agency and configuration operation, excludes Configuration Agent to the network interferences of other function in application program, and without changing original function, to the smaller technical effect of original function coupling.

Description

A kind of the display adjustment method and device of barrage message
Technical field
The present invention relates to technical field of information processing more particularly to the display adjustment methods and device of a kind of barrage message.
Background technique
With the fast development of mobile phone mobile terminal, many message of present live streaming will timely disappear to realize from server-side Breath is pushed to client.
The socket generally used in the prior art is frequently necessary to check socket messaging service end during exploitation Whether send, and whether each of content for sending of socket message field is correct, needs this when to be arranged Agency.
But setting agency needs to download a dedicated agent software, and interface is complicated, poor universality, and generation The problem of it is slack-off that reason software is likely to result in network speed, certain disablers.
Summary of the invention
The embodiment of the invention provides a kind of display adjustment method of barrage message and device, solve in the prior art by In needing to download dedicated proxies software, cause network speed slack-off, certain disablers and agent software interface are complicated, general Property difference technical problem.
In view of the above problems, the embodiment of the present application is proposed in order to provide the display adjustment method and dress of a kind of barrage message It sets.
In a first aspect, the present invention provides a kind of display adjustment methods of barrage message, which comprises obtain first Function, the first function have the first parameter, and the first function is used to show first parameter in system windows, Wherein, first parameter is barrage message parameter;Second function is obtained, the second function is original function;By described One function is added in the second function, so that the second function has the function of the first function.
Preferably, the acquisition first function, the first function have the first parameter, and the first function is used for institute It states the first parameter to be shown on system windows, wherein first parameter is barrage message parameter, further includes: obtain software and work as Preceding running environment;Judge whether the current operating environment meets the first preset condition;If the current operating environment is discontented Foot first preset condition, the method terminate.
Preferably, the method also includes: if the current operating environment meets first preset condition, obtain the One function;Third function is obtained, the third function is for receiving, showing first parameter.
Preferably, the acquisition third function, the third function is for receiving, showing first parameter, further includes: It obtains the first text and shows control;First text control is added to the first interface.
Preferably, further includes: obtain the 4th function, the 4th function includes: the 5th function;First scalar, described One scalar is for making the 5th function Exactly-once.
Preferably, the 5th function includes: to obtain the second parameter;According to the first function, third parameter is obtained;Root According to the second function, the 4th parameter is obtained;According to second parameter, the 4th parameter, the second function is realized Function.
Preferably, the 4th function further include: according to second parameter, the third parameter, realize described first The function of function;The first function is added in the second function.
Second aspect, the present invention provides a kind of display debugging apparatus of barrage message, described device includes:
First obtains unit, the first obtains unit have the first ginseng for obtaining first function, the first function Number, the first function is for showing first parameter in system windows, wherein first parameter is barrage message Parameter;
Second obtaining unit, second obtaining unit are original function for obtaining second function, the second function;
First adding unit, first adding unit are used to for the first function being added in the second function, So that the second function has the function of the first function.
Preferably, described device further include:
Third obtaining unit, the third obtaining unit is for obtaining software current operating environment;
First judging unit, first judging unit is for judging it is default whether the current operating environment meets first Condition;
First terminates unit, if the first termination unit is unsatisfactory for described first in advance for the current operating environment If condition, the method is terminated.
Preferably, described device further include:
4th obtaining unit is preset if the 4th obtaining unit meets described first for the current operating environment Condition obtains first function;
5th obtaining unit, the 5th obtaining unit is for obtaining third function, and the third function is for receiving, showing Show first parameter.
Preferably, described device further include:
6th obtaining unit, the 6th obtaining unit show control for obtaining the first text;
Second adding unit, second adding unit are used to first text control being added to the first interface.
Preferably, described device further include:
6th obtaining unit, for the 6th obtaining unit for obtaining third function, the third function includes: the 4th letter Number;First scalar, first scalar is for making the 4th function Exactly-once.
Preferably, described device further include:
7th obtaining unit, the 7th obtaining unit is for obtaining the second parameter;
8th obtaining unit, the 8th obtaining unit are used to obtain third parameter according to the first function;
9th obtaining unit, the 9th obtaining unit are used to obtain the 4th parameter according to the second function;
First realizes unit, and described first realizes that unit is used to realize institute according to second parameter, the 4th parameter State the function of second function.
Preferably, described device further include:
Second realizes unit, and described second realizes that unit is used to realize institute according to second parameter, the third parameter State the function of first function;
Third adding unit, the third adding unit is for the first function to be added in the second function.
The third aspect, the present invention provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey Acquisition first function is performed the steps of when sequence is executed by processor, the first function has the first parameter, first letter Number is for showing first parameter in system windows;Obtain second function;The first function is added to described In two functions.
Fourth aspect the present invention provides a kind of display debugging apparatus of barrage message, including memory, processor and is deposited The computer program that can be run on a memory and on a processor is stored up, the processor realizes following step when executing described program It is rapid: to obtain first function, the first function has the first parameter, and the first function is for showing first parameter On system windows, wherein first parameter is barrage message parameter;Second function is obtained, the second function is original letter Number;The first function is added in the second function, so that the second function has the function of the first function.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
1. the display adjustment method and device of a kind of barrage message provided by the embodiments of the present application, by obtaining the first letter Number, the first function have the first parameter, and the first function is used to show first parameter in system windows, In, first parameter is barrage message parameter;Second function is obtained, the second function is original function;By described first Function is added in the second function, so that the second function has the function of the first function.Solves existing skill Due to needing to download dedicated proxies software in art, cause network speed slack-off, certain disablers and agent software interface are multiple It is miscellaneous, the technical issues of poor universality.The display for having reached barrage message does not need any agency and configuration operation, excludes configuration generation The network interferences to other function in application program are managed, and without changing original function, it is smaller to original function coupling Technical effect.
2. the embodiment of the present application is by obtaining software current operating environment;Judge whether the current operating environment meets One preset condition;If the current operating environment is unsatisfactory for first preset condition, the method is terminated.Further solve In the prior art due to needing to download dedicated proxies software, cause network speed slack-off, certain disablers and agency are soft The technical issues of part interface is complicated, poor universality.Further reach and only carried out the displaying of barrage message in development mode, formally Environment avoids test data from being published to the technical effect of user environment without showing barrage message.
If 3, the embodiment of the present application meets first preset condition by the current operating environment, the first letter is obtained Number;Third function is obtained, the third function is for receiving, showing first parameter.It further solves in the prior art Due to needing to download dedicated proxies software, cause network speed slack-off, certain disablers and agent software interface are complicated, lead to With the technical problem of property difference.Further reached technical effect barrage message shown on window.
4, the embodiment of the present application shows control by obtaining the first text;First text control is added to the first boundary Face further solves in the prior art due to needing to download dedicated proxies software, causes network speed slack-off, certain functions are lost The technical issues of effect and agent software interface are complicated, poor universality.Reach and barrage message shown into outermost layer in window, The technical effect that do not blocked by other UI elements.
5 the embodiment of the present application are by obtaining the second parameter;According to the first function, third parameter is obtained;According to described Second function obtains the 4th parameter;According to second parameter, the 4th parameter, the function of the second function is realized.Into One step solves in the prior art due to needing to download dedicated proxies software, causes network speed slack-off, certain disablers with And agent software interface is complicated, the technical issues of poor universality.Further reach and has guaranteed what original function function was normally realized Technical effect.
6, the embodiment of the present application is by realizing the function of the first function according to second parameter, the third parameter Energy;The first function is added in the second function, is further solved dedicated due to needing to download in the prior art Agent software causes network speed slack-off, and certain disablers and agent software interface are complicated, and the technology of poor universality is asked Topic.The technical effect that real-time display function is added for original function is further reached.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the display adjustment method of barrage message in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the display debugging apparatus of barrage message in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the display debugging apparatus of another barrage message in the embodiment of the present invention
Specific embodiment
The embodiment of the invention provides a kind of display adjustment method of barrage message and devices, for solving in the prior art Due to needing to download dedicated proxies software, cause network speed slack-off, certain disablers and agent software interface are complicated, lead to With the technical problem of property difference.Technical solution general thought provided by the invention is as follows:
In the technical solution of the embodiment of the present invention, first function is obtained, the first function has the first parameter, described First function is for showing first parameter in system windows, wherein first parameter is barrage message parameter;It obtains Second function is obtained, the second function is original function;The first function is added in the second function, so that described Second function has the function of the first function.It solves in the prior art due to needing to download dedicated proxies software, causes The technical issues of network speed is slack-off, and certain disablers and agent software interface are complicated, poor universality.Reach barrage to disappear The display of breath does not need any agency and configuration operation, excludes Configuration Agent to the network interferences of other function in application program, And without changing original function, to the smaller technical effect of original function coupling.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The application is illustrated in order to clearer, professional term involved in the application is explained below:
1, socket: two programs on network realize the exchange of data, this company by a two-way communication connection The one end connect is known as a socket.The English original meaning of Socket is " hole " or " socket ".Process communication as BSD UNIX Mechanism takes latter to look like.Commonly referred to as " socket " is the handle of a communication chain for describing IP address and port, It can be used to realize the communication between different virtual machine or different computers.Host on internet has generally run multiple Service software, while several services being provided.A Socket is all opened in every kind of service, and is tied in a port, different Port corresponds to different services.Socket is as its English original meaning, as a porous socket.One host is like being covered with The room of various sockets, each socket have a number, and some sockets provide 220 volts of alternating currents, 110 volts of some offers exchanges Electricity, some then offer cable television programs.Plug is inserted into the socket of different numbers by client software, so that it may obtain different clothes Business.
2, alloc: function alloc is the pointer that can return to n continuation character storage unit of a direction, alloc function Caller can use the pointer storage character string.
3, Hook: being a kind of system mechanism to replace under DOS " interruption " provided in Windows, Chinese, which is translated into, " to be hung Hook " or " hook ".After carrying out hook to specific system event, once hook event occurs, hook is carried out to the event Program just will receive the notice of system, at this moment program can respond the event in first time.Hook (Hook) is One platform of windows messaging treatment mechanism, application program sub- journey can be set above with monitor specified window certain Message, and the window monitored can be what other processes were created.When message reach after, target window processing function it Pre-treatment it.Hook Mechanism allows application program to intercept and capture processing window message or particular event.Hook is actually at one The program segment for managing message, is called by system, it is linked into system.Whenever specific message issues, in no arrival purpose window Before mouthful, hook program just first captures the message, that is, Hook Function first obtains control.At this moment Hook Function can process place (change) message is managed, can not also deal with and continue to transmit the message, the transmitting of end message can also be forced.
4, self: this pointer being equivalent in C++, it is also for being directed toward existing object pointer.It is worth note Meaning, while transmitting message to method every time, self can also be followed and is transmitted through as parameter.It is right inside Objective-C Method has received this and hides parameter, so self can be used in method
Embodiment one
Fig. 1 is a kind of flow diagram of the display adjustment method of barrage message in the embodiment of the present invention.As shown in Figure 1, The described method includes:
Step 110: obtaining first function, the first function has the first parameter, and the first function is used for will be described First parameter is shown on system windows, wherein first parameter is barrage message parameter;
Further, the acquisition first function, the first function have the first parameter, and the first function is used for will First parameter is shown on system windows, wherein first parameter is barrage message parameter, further includes: obtains software Current operating environment;Judge whether the current operating environment meets the first preset condition;If the current operating environment is not Meet first preset condition, the method terminates.
Specifically, since the software runtime environment of the embodiment of the present application carries out under the test environment, and software is transported Row environment generally comprises 4 kinds: joint debugging environment DomainTypeDev i.e. primary exploitation environment, enhanced debugging station The more stable exploitation environment of DomainTypeLive, that is, code, the i.e. very close institute of pre- published station DomainTypePre are useful The use environment at family, formal environments DomainTypeDevOnline, that is, all users use environment.In order to guarantee that software will not Run under formal environments, the embodiment of the present application sets first preset condition, first preset condition be not be just The case where formula environment.The environment that present procedure operation is obtained using the current field function current Domain, if program is worked as Preceding running environment is formal environments, that is, is unsatisfactory for first preset condition, and the method terminates operation.
Further, if the current operating environment meets first preset condition, first function is obtained;Obtain the Three functions, the third function is for receiving, showing first parameter.
Further, the acquisition third function, the third function are also wrapped for receiving, showing first parameter It includes: obtaining the first text and show control;First text control is added to the first interface.
Specifically, if the current operating environment meets first preset condition, that is, the current operation Environment is that joint debugging environment DomainTypeDev is primary exploitation environment, enhanced debugging station DomainTypeLive, that is, code ratio More stable exploitation environment, pre- published station DomainTypePre are any one in the use environment of very close all users When kind, the first function is obtained, the first function is message processing function received Msg, and the first function has First parameter, the first function are used to for first parameter being shown to the window of system.Wherein, make the first function With the above function is the third function show Assistive Touch, i.e. reception explicit function, the third function Inside the first function, specifically, the third function is to create a text by using memory allocation function alloc The control of display, i.e., described first text show control, the use of set Frame function are then that first text shows control Coordinate value is set;It reuses addition child control function addsubview and first text is shown that control is added to described first In interface, first interface is that key window, the key window of screen are the top layer interface interactive with user, every receipts When to first parameter, so that it may with by first parameter using the assignment display methods of .text View by described the One parameter shows that can achieve makes first parameter be constantly in top layer interface in this way, while not by other UI The technical effect that interface covers up.
Step 120: obtaining second function, the second function is original function;
Specifically, the second function is original function in the prior art, that is, only has and receive described first The receiver function received Msg Origin of parameter, this function are the letters of the message of all socket of reception in project Number, obtains the second function, increases a function for the second function,
Step 130: the first function being added in the second function, so that the second function has described the The function of one function.
Further, described that the first function is added in the second function, so that the second function has The function of the first function, further includes: obtain the 4th function, the 4th function includes: the 5th function;First scalar, institute The first scalar is stated for making the 5th function Exactly-once.
Specifically, since the second function received Msg Origin is located in socket class, in order to realize pair The second function intercepts, to modify to the second function, at this moment needs to be realized by HOOK function performance, The specific method is as follows:
4th function is load function, and the 4th function is revised as comprising the 5th function and described first Why the function of scalar modifies load function, carries out HOOK operation to the load function, is because the load function exists It will be called when one class load, and it is primary to be only called, therefore the load function is relatively appropriate for Hook operation.Wherein, static state scalar an once Token, this once Token are defined inside this load function is exactly First scalar only carries out the function body inside dispatch_once function by the first scalar once Token Once, the dispatch_once function is the 5th function.
Further, the 5th function includes: to obtain the second parameter;According to the first function, third parameter is obtained; According to the second function, the 4th parameter is obtained;According to second parameter, the 4th parameter, the second function is realized Function.According to second parameter, the third parameter, the function of the first function is realized;The first function is added It is added in the second function.
Specifically, obtaining the object class of current class using the pointer self of current class, wherein described currently tired Object class is second parameter;The third parameter is the method choice device swizzled of the first function Selector, the 4th parameter are the method choice device original Selector of the second function.Firstly, in order to protect The original function function of demonstrate,proving the application program is realized, by second parameter and the 4th parameter, is reached and is realized institute The function of second function i.e. original function is stated, then by second parameter and the third parameter, described in realization The first function is added to the second function finally by class_add Method function by the function of first function In, it can thus allow the second function i.e. original function received Msg Origin not only to have original reception message And the function of the original message of processing, while the first function i.e. function of received Msg function can be increased again, The function of received Msg function is exactly that the message display that will be received comes out, and facilitates whether observation message receives and receive The whether correct technical effect of message.
Embodiment 2
Based on inventive concept same as the display adjustment method of barrage message a kind of in previous embodiment, the present invention is also mentioned For a kind of display debugging apparatus of barrage message, as shown in Figure 2, comprising:
First obtains unit, the first obtains unit have the first ginseng for obtaining first function, the first function Number, the first function is for showing first parameter in system windows, wherein first parameter is barrage message Parameter;
Second obtaining unit, second obtaining unit are original function for obtaining second function, the second function;
First adding unit, first adding unit are used to for the first function being added in the second function, So that the second function has the function of the first function.
Preferably, described device further include:
Third obtaining unit, the third obtaining unit is for obtaining software current operating environment;
First judging unit, the firstth judging unit is for judging it is pre- whether the current operating environment meets first If condition;
First terminates unit, if the firstth termination unit is unsatisfactory for for the current operating environment
First preset condition, the method terminate.
Preferably, described device further include:
4th obtaining unit is preset if the 4th obtaining unit meets described first for the current operating environment Condition obtains second function;
5th obtaining unit, the 5th obtaining unit is for obtaining third function, and the third function is for receiving, showing Show first parameter.
Preferably, described device further include:
6th obtaining unit, the 6th obtaining unit show control for obtaining the first text;
Second adding unit, second adding unit are used to first text control being added to the first interface.
Preferably, described device further include:
6th obtaining unit, for the 6th obtaining unit for obtaining third function, the third function includes: the 4th letter Number;First scalar, first scalar is for making the 4th function Exactly-once.
Preferably, described device further include:
7th obtaining unit, the 7th obtaining unit is for obtaining the second parameter;
8th obtaining unit, the 8th obtaining unit are used to obtain third parameter according to the first function;
9th obtaining unit, the 9th obtaining unit are used to obtain the 4th parameter according to the second function;
First realizes unit, and described first realizes that unit is used to realize institute according to second parameter, the 4th parameter State the function of second function.
Preferably, described device further include:
Second realizes unit, and described second realizes that unit is used to realize institute according to second parameter, the third parameter State the function of first function;
Third adding unit, the third adding unit is for the first function to be added in the second function.
The various change mode and specific example of one of 1 embodiment 1 of the earlier figures display adjustment method of barrage message It is equally applicable to a kind of display debugging apparatus of barrage message of the present embodiment, passes through a kind of aforementioned display tune to barrage message The detailed description of method for testing, those skilled in the art are clear that a kind of display debugging of barrage message in the present embodiment The implementation method of device, so this will not be detailed here in order to illustrate the succinct of book.
Embodiment 3
Based on inventive concept same as the display adjustment method of barrage message a kind of in previous embodiment, the present invention is also mentioned For a kind of computer readable storage medium, it is stored thereon with computer program, institute above is realized when which is executed by processor The step of stating a kind of either the display adjustment method of barrage message method.
Wherein, in Fig. 3, bus architecture (is represented) with bus 300, and bus 300 may include any number of interconnection Bus and bridge, bus 300 will include the one or more processors represented by processor 302 and what memory 304 represented deposits The various circuits of reservoir link together.Bus 300 can also will peripheral equipment, voltage-stablizer and management circuit etc. it Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein Description.Bus interface 306 provides interface between bus 300 and receiver 301 and transmitter 303.Receiver 301 and transmitter 303 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.
Processor 302 is responsible for management bus 300 and common processing, and memory 304 can be used for storage processor 302 when executing operation used data.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
1. the display adjustment method and device of a kind of barrage message provided by the embodiments of the present application, by obtaining the first letter Number, the first function have the first parameter, and the first function is used to show first parameter in system windows, In, first parameter is barrage message parameter;Second function is obtained, the second function is original function;By described first Function is added in the second function, so that the second function has the function of the first function.Solves existing skill Due to needing to download dedicated proxies software in art, cause network speed slack-off, certain disablers and agent software interface are multiple It is miscellaneous, the technical issues of poor universality.The display for having reached barrage message does not need any agency and configuration operation, excludes configuration generation The network interferences to other function in application program are managed, and without changing original function, it is smaller to original function coupling Technical effect.
2. the embodiment of the present application is by obtaining software current operating environment;Judge whether the current operating environment meets One preset condition;If the current operating environment is unsatisfactory for first preset condition, the method is terminated.Further solve In the prior art due to needing to download dedicated proxies software, cause network speed slack-off, certain disablers and agency are soft The technical issues of part interface is complicated, poor universality.Further reach and only carried out the displaying of barrage message in development mode, formally Environment avoids test data from being published to the technical effect of user environment without showing barrage message.
3. if obtaining the second letter the embodiment of the present application meets first preset condition by the current operating environment Number;Third function is obtained, the third function is for receiving, showing first parameter.It further solves in the prior art Due to needing to download dedicated proxies software, cause network speed slack-off, certain disablers and agent software interface are complicated, lead to With the technical problem of property difference.Further reached technical effect barrage message shown on window.
4. the embodiment of the present application shows control by obtaining the first text;First text control is added to the first boundary Face further solves in the prior art due to needing to download dedicated proxies software, causes network speed slack-off, certain functions are lost The technical issues of effect and agent software interface are complicated, poor universality.Reach and barrage message shown into outermost layer in window, The technical effect that do not blocked by other UI elements.
5. the embodiment of the present application is by obtaining the second parameter;According to the first function, third parameter is obtained;According to described Second function obtains the 4th parameter;According to second parameter, the 4th parameter, the function of the second function is realized.Into One step solves in the prior art due to needing to download dedicated proxies software, causes network speed slack-off, certain disablers with And agent software interface is complicated, the technical issues of poor universality.Further reach and has guaranteed what original function function was normally realized Technical effect.
6. the embodiment of the present application is by realizing the function of the first function according to second parameter, the third parameter Energy;The first function is added in the second function, is further solved dedicated due to needing to download in the prior art Agent software causes network speed slack-off, and certain disablers and agent software interface are complicated, and the technology of poor universality is asked Topic.The technical effect that real-time display function is added for original function is further reached.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of display adjustment method of barrage message, which is characterized in that the described method includes:
First function is obtained, the first function has the first parameter, and the first function is for showing first parameter On system windows, wherein first parameter is barrage message parameter;
Second function is obtained, the second function is original function;
The first function is added in the second function, so that the second function has the function of the first function Energy.
2. the method as described in claim 1, which is characterized in that the acquisition first function, the first function have first Parameter, the first function is for showing first parameter in system windows, wherein first parameter disappears for barrage Cease parameter, further includes:
Obtain software current operating environment;
Judge whether the current operating environment meets the first preset condition;
If the current operating environment is unsatisfactory for first preset condition, the method is terminated.
3. method according to claim 2, which is characterized in that the method also includes:
If the current operating environment meets first preset condition, first function is obtained;
Third function is obtained, the third function is for receiving, showing first parameter.
4. method as claimed in claim 3, which is characterized in that the acquisition third function, the third function for receive, Show first parameter, further includes:
It obtains the first text and shows control;
First text control is added to the first interface.
5. the method as described in claim 1, which is characterized in that described that the first function is added to the second function In, so that the second function has the function of the first function, further includes:
The 4th function is obtained, the 4th function includes:
5th function;
First scalar, first scalar is for making the 5th function Exactly-once.
6. method as claimed in claim 5, which is characterized in that the 5th function includes:
Obtain the second parameter;
According to the first function, third parameter is obtained;
According to the second function, the 4th parameter is obtained;
According to second parameter, the 4th parameter, the function of the second function is realized.
7. method as claimed in claim 6, which is characterized in that the 4th function further include:
According to second parameter, the third parameter, the function of the first function is realized;
The first function is added in the second function.
8. a kind of display debugging apparatus of barrage message, which is characterized in that described device includes:
First obtains unit, the first obtains unit have the first parameter, institute for obtaining first function, the first function First function is stated for showing first parameter in system windows, wherein first parameter is barrage message parameter;
Second obtaining unit, second obtaining unit are original function for obtaining second function, the second function;
First adding unit, first adding unit are used to for the first function being added in the second function, so that The second function has the function of the first function.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor It is performed the steps of when row
First function is obtained, the first function has the first parameter, and the first function is for showing first parameter On system windows, wherein first parameter is barrage message parameter;
Second function is obtained, the second function is original function;
The first function is added in the second function, so that the second function has the function of the first function Energy.
10. a kind of display debugging apparatus of barrage message, including memory, processor and storage on a memory and can handled The computer program run on device, which is characterized in that the processor performs the steps of when executing described program
First function is obtained, the first function has the first parameter, and the first function is for showing first parameter On system windows, wherein first parameter is barrage message parameter;
Second function is obtained, the second function is original function;
The first function is added in the second function, so that the second function has the function of the first function Energy.
CN201710773755.9A 2017-08-31 2017-08-31 A kind of the display adjustment method and device of barrage message Pending CN109445952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710773755.9A CN109445952A (en) 2017-08-31 2017-08-31 A kind of the display adjustment method and device of barrage message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710773755.9A CN109445952A (en) 2017-08-31 2017-08-31 A kind of the display adjustment method and device of barrage message

Publications (1)

Publication Number Publication Date
CN109445952A true CN109445952A (en) 2019-03-08

Family

ID=65529957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710773755.9A Pending CN109445952A (en) 2017-08-31 2017-08-31 A kind of the display adjustment method and device of barrage message

Country Status (1)

Country Link
CN (1) CN109445952A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095384A1 (en) * 2014-12-19 2016-06-23 中兴通讯股份有限公司 Live comment display method and system
CN106528096A (en) * 2016-10-20 2017-03-22 武汉斗鱼网络科技有限公司 Method and system for drawing popup image on D3D12 full screen game source
CN106775700A (en) * 2016-12-09 2017-05-31 武汉斗鱼网络科技有限公司 A kind of method and apparatus of simplified code
CN106951334A (en) * 2017-03-21 2017-07-14 武汉斗鱼网络科技有限公司 Send the method and system of colored barrage
CN106973309A (en) * 2017-03-27 2017-07-21 福建中金在线信息科技有限公司 A kind of barrage generation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095384A1 (en) * 2014-12-19 2016-06-23 中兴通讯股份有限公司 Live comment display method and system
CN106528096A (en) * 2016-10-20 2017-03-22 武汉斗鱼网络科技有限公司 Method and system for drawing popup image on D3D12 full screen game source
CN106775700A (en) * 2016-12-09 2017-05-31 武汉斗鱼网络科技有限公司 A kind of method and apparatus of simplified code
CN106951334A (en) * 2017-03-21 2017-07-14 武汉斗鱼网络科技有限公司 Send the method and system of colored barrage
CN106973309A (en) * 2017-03-27 2017-07-21 福建中金在线信息科技有限公司 A kind of barrage generation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GB_SPEAK: "Android弹幕功能实现,模仿斗鱼直播的弹幕效果", 《HTTPS://WWW.JIANSHU.COM/P/C6C410EB30B3》 *
GUOLIN: "Android弹幕功能实现,模仿斗鱼直播的弹幕效果", 《HTTPS://BLOG.CSDN.NET/GUOLIN_BLOG/ARTICLE/DETAILS/51933728》 *

Similar Documents

Publication Publication Date Title
CN106657370B (en) Data transmission method and device
CN107707986B (en) A kind of method and device for simulating barrage message in the exploitation of live streaming software
CN106790523B (en) A kind of information push method and server
US20150026667A1 (en) Network Development and Testing as a Cloud Service
CN108089857A (en) A kind of industry web monitors the generation method of the page in real time
CN104317648B (en) A kind of method and apparatus of monitoring advertisement
CN106681922A (en) Simulation server response method and system
CN106843537A (en) The synchronous methods, devices and systems of mouse
CN111865629A (en) Method, apparatus and computer program product for configuring service instances
CN108833578A (en) The method and relevant device of duplex communication are carried out based on FIFO name pipeline
RO131668A2 (en) Methods, systems and computer-readable carrier for application session sharing
CN107645428A (en) A kind of automatic test approach and device
KR20210089113A (en) A method, an apparatus, an electronic device and a storage medium for communicating between private networks
Anier et al. DTRON: a tool for distributed model-based testing of time critical applications.
CN108733527B (en) System, method and apparatus for testing server functionality
CN104537284B (en) Software protecting system and method based on remote service
McDonald A network specification language and execution environment for undergraduate teaching
TW531953B (en) Communication device and communication method
CN113778593B (en) Cloud desktop control method and device, electronic equipment, storage medium and program product
CN106708717B (en) A kind of exploitation adjustment method and device
CN104932452A (en) Method used for aviation bus tester remote control and system used for aviation bus tester remote control
CN110275787A (en) Online platform data transmission method, device, medium and electronic equipment
CN107332872A (en) A kind of method that Android device network agile management and control is realized based on VPN connections
CN107818043A (en) Method and apparatus for program debugging
CN109327530A (en) A kind of information processing method, device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication