CN109388498A - A kind of processing method of mutual exclusion, device, equipment and medium - Google Patents
A kind of processing method of mutual exclusion, device, equipment and medium Download PDFInfo
- Publication number
- CN109388498A CN109388498A CN201811154967.XA CN201811154967A CN109388498A CN 109388498 A CN109388498 A CN 109388498A CN 201811154967 A CN201811154967 A CN 201811154967A CN 109388498 A CN109388498 A CN 109388498A
- Authority
- CN
- China
- Prior art keywords
- icon
- display
- module
- mutual exclusion
- target icon
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention discloses processing method, device, equipment and the medium of a kind of mutual exclusion, and method includes: the display message for receiving server and being handed down to target icon module;Target icon module is according to the subscription agreement broadcast display message pre-established;Other icon modules judge itself itself corresponding icon whether with the target icon mutual exclusion, if mutual exclusion, then judge whether the object time was later than for the specified display information corresponding time for showing itself icon, if so, the display properties that itself icon is then arranged is hiding;Target icon module judges whether the object time is time in the mutual exclusion time the latest, if so, the display properties of the target icon is arranged then as display.The technical issues of the application can solve mutual exclusion icon in the prior art while show, the caused click volume for reducing the corresponding activity of icon or application to guarantee the corresponding application of an icon or movable click volume and participation amount, and reduces network transmission consumption.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of processing method of mutual exclusion, device, equipment and media.
Background technique
Currently, with the progress of network communication technology and the speed-raising of broadband network, network direct broadcasting has been obtained more and more
Development and application.
In order to promote the income of main broadcaster and the economic benefit of platform be broadcast live, current live streaming platform often provides work
It is dynamic to carry out function, it can active link is pushed by main broadcaster or platform, by the push display of movable icon in viewer end, so that
Spectators can enter the various activities page by clicking icon.
However, when same class, having competitive relation or mutually influential activity in the different display positions of same viewer end
It when setting while carrying out icon display, is easy to cause and conflicts with each other, influence respective participation amount, reduce total click volume.
Summary of the invention
The present invention provides a kind of processing method of mutual exclusion, to solve mutual exclusion icon in the prior art while show, leads
The technical issues of click volume for reducing the corresponding activity of icon or application of cause.
In a first aspect, the present invention provides a kind of processing methods of mutual exclusion, which comprises
The display message that server is handed down to target icon module is received, the display message includes the mesh of specified display
It marks on a map the object time corresponding with the display message, the target icon module is mould corresponding with the target icon
Block;
The target icon module broadcasts the display message according to the subscription agreement pre-established, so that in display equipment
Other icon modules obtain the display message;
Other described icon modules according to the mutual exclusion table prestored and the display message received, judge that itself is corresponding respectively
Itself icon whether with the target icon mutual exclusion, if itself icon and the target icon mutual exclusion, described in judgement
Whether the object time is later than for the specified display information corresponding time for showing itself icon, if so, then described in setting
The display properties of itself icon is hiding;
Whether the target icon module judges the object time according to the mutual exclusion table and the display message received
It is the time in the mutual exclusion time the latest, if so, the display properties of the target icon is arranged then as display;The mutual exclusion time is
For the specified display time corresponding with the display information of icon of the target icon mutual exclusion.
Optionally, the display area of each icon module and display unit corresponds, and each icon module is corresponding
Itself icon be display or the icon that can be shown on the corresponding display area.
Optionally, if itself icon is not with the target icon mutual exclusion, and itself icon is not the mesh
It marks on a map, then keeps the current display properties of itself icon.
Optionally, the target icon module broadcasts the display message according to the subscription agreement pre-established, so that aobvious
Show that other icon modules in equipment obtain the display message, comprising: the target icon module is ordered according to what is pre-established
Read agreement and the mutual exclusion table that prestores broadcast the display message so that in display equipment there are mutual exclusion passes with the target icon
Other icon modules of system obtain the display message.
Optionally, described to judge whether the object time is later than for the specified display information for showing itself icon
After the corresponding time, further includes: if not, keeping the current display properties of itself icon;The judgement target
After whether the time is time in the mutual exclusion time the latest, further includes: if not, the display properties that the target icon is arranged is
It hides.
Second aspect provides a kind of processing method of mutual exclusion, which comprises
After receiving the request for needing displaying target icon, display message is generated, wherein the display message includes referring to
Surely the target icon shown and the display message corresponding object time;
By it is described display message be sent to display equipment target icon module, wherein the target icon module be with
The corresponding module of the target icon;So that the target icon module broadcasts the display according to the subscription agreement pre-established
Message so that other icon modules in display equipment obtain the display message, and makes the target icon module and described
Other icon modules can be determined based on the display message received and the mutual exclusion table prestored and itself corresponding institute is arranged
The display properties of itself icon is stated, in the icon to guarantee mutual exclusion, only shows that it shows the icon of information corresponding time the latest.
The third aspect, provides a kind of processing unit of mutual exclusion, and described device includes:
Receiving module, the display message for being handed down to target icon module for receiving server, the display message are wrapped
Target icon and the display message corresponding object time of specified display are included, the target icon module is and the target
The corresponding module of icon;
Broadcast module broadcasts the display message according to the subscription agreement pre-established for the target icon module,
So that other icon modules in display equipment obtain the display message;
First processing module disappears according to the mutual exclusion table prestored and the display received respectively for other described icon modules
Breath, judge itself itself corresponding icon whether with the target icon mutual exclusion, if itself icon and the target figure
Mutual exclusion is marked, then when judging whether the object time is later than corresponding for the specified display information for showing itself icon
Between, if so, the display properties that itself icon is then arranged is hiding;
Second processing module is sentenced for the target icon module according to the mutual exclusion table and the display message received
Whether object time of breaking is time in the mutual exclusion time the latest, if so, the display properties that the target icon is then arranged is
Display;The mutual exclusion time is for the specified display time corresponding with the display information of icon of the target icon mutual exclusion.
Fourth aspect, provides a kind of processing unit of mutual exclusion, and described device includes:
Generation module, for after receiving the request for needing displaying target icon, generating display message, wherein described
Display message includes target icon and the display message corresponding object time of specified display;
Sending module, for the display message to be sent to the target icon module of display equipment, wherein the target
Icon module is module corresponding with the target icon;So that the target icon module is according to the subscription agreement pre-established
The display message is broadcasted, so that other icon modules in display equipment obtain the display message, and makes the target figure
Mark module and other described icon modules can be determined and are arranged based on the display message received and the mutual exclusion table prestored
The display properties of itself corresponding itself icon, in the icon to guarantee mutual exclusion, when only showing that it shows that information is corresponding
Between icon the latest.
5th aspect, provides a kind of electronic equipment, including memory, processor and storage on a memory and can handled
The computer program run on device, the processor realize side described in first aspect or second aspect when executing described program
Method.
6th aspect, provides a kind of computer readable storage medium, is stored thereon with computer program, the program is processed
Method described in first aspect or second aspect is realized when device executes.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
Method, apparatus, equipment and medium provided by the embodiments of the present application, server are issuing instruction displaying target icon
When showing message, the corresponding target icon module of target icon is sent the message to, target icon module is based on the display
Message is broadcasted, so that other icon modules in display equipment obtain the display message;So that other described icon moulds
Block and the target icon module can judge that itself is corresponding certainly respectively according to the mutual exclusion table prestored and the display message received
Whether the instruction display time of body icon is time in the mutual exclusion time the latest, if so, the just display of itself icon described in setting
Attribute is display.In this way by broadcast so that each icon module can know all display message that server issues, from
And it can display a message for determining whether itself itself corresponding icon has last in the icon of mutex relation according to all
A icon for being instructed to display, just shows in this way, to guarantee that only the last one is instructed to show in the icon for having mutex relation
The icon shown can be shown on the display device, to avoid there is the problem of mutual exclusion icon influences each other, to guarantee a figure
The corresponding application of mark or movable click volume and participation amount.
Further, each icon module is allowed to know all display message by the way of broadcast, without server to a
Icon module issues all message respectively, can effectively reduce the consumption of Internet resources.
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
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of the processing method of mutual exclusion in the embodiment of the present invention one;
Fig. 2 is the flow chart of the processing method of mutual exclusion in the embodiment of the present invention two;
Fig. 3 is the structural schematic diagram of the processing unit of mutual exclusion in the embodiment of the present invention three;
Fig. 4 is the structural schematic diagram of the processing unit of mutual exclusion in the embodiment of the present invention four;
Fig. 5 is the structural schematic diagram of electronic equipment in the embodiment of the present invention five;
Fig. 6 is the structural schematic diagram of medium in the embodiment of the present invention six.
Specific embodiment
The embodiment of the present application is same to solve mutual exclusion icon in the prior art by providing a kind of processing method of mutual exclusion
When show, it is caused reduce icon it is corresponding activity or application click volume the technical issues of.To guarantee that each icon is answered
With or movable click volume and participation amount, and save network resource consumption.
Technical solution in the embodiment of the present application, general thought are as follows:
Through setting server when issuing the display message of instruction displaying target icon, target figure is sent the message to
Corresponding target icon module is marked, target icon module is based on the display message and is broadcasted, so that its in display equipment
He obtains the display message at icon module, so that each icon module can display a message for determining that itself is corresponding according to all
Whether itself icon has the last one in the icon of mutex relation to be instructed to the icon of display, just shows in this way, to guarantee
Have in the icon of mutex relation only that the last one icon for being instructed to display can be shown on the display device, to avoid going out
The problem of existing mutual exclusion icon influences each other, to guarantee the corresponding application of an icon or movable click volume and participation amount.And it uses
The mode of broadcast allows each icon module to know all display message, gives an icon module to issue respectively without server all
Message can effectively reduce the consumption of Internet resources.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Embodiment one
The present embodiment provides a kind of processing methods of mutual exclusion, as shown in Figure 1, which comprises
Step S101, receives the display message that server is handed down to target icon module, and the display message includes referring to
Surely the target icon shown and the display message corresponding object time, the target icon module are and the target icon
Corresponding module;
Step S102, the target icon module broadcast the display message according to the subscription agreement pre-established, so that
Show that other icon modules in equipment obtain the display message;
Step S103, other described icon modules are respectively according to the mutual exclusion table prestored and the display message received, judgement
Itself itself corresponding icon whether with the target icon mutual exclusion, if itself icon and the target icon mutual exclusion,
Then judge whether the object time was later than for the specified display information corresponding time for showing itself icon, if so,
It is hiding that the display properties of itself icon, which is then arranged,;
Step S104, the target icon module judge the mesh according to the mutual exclusion table and the display message received
Whether the mark time is time in the mutual exclusion time the latest, if so, the display properties of the target icon is arranged then as display;It is described
The mutual exclusion time is for the specified display time corresponding with the display information of icon of the target icon mutual exclusion.
It should be noted that the server can be single server, it is also possible to server group, can also be cloud
Server, this is not restricted.The display equipment that the method is applied to can be computer, tablet computer or smart mobile phone etc.
Setting, this is not restricted.It corresponds in live streaming, the display equipment that the method is applied to can be viewer end, be also possible to
End is broadcast live.
Method provided in this embodiment is discussed in detail below with reference to Fig. 1:
Firstly, executing step S101, the display message that server is handed down to target icon module, the display message are received
Include target icon and the display message corresponding object time of specified display, the target icon module for it is described
The corresponding module of target icon.
It should be noted that the icon module can be the module of software architecture, each icon corresponds to a module, with
The reception and processing of the display information of corresponding icon are realized by the module;The icon module can also be and display unit
Display area correspond, i.e. the corresponding icon module in each display area, itself corresponding icon of each icon module
The icon that is display or can be shown on the corresponding display area;Certainly, the icon module is also possible to hardware reality
Existing, realization is divided by the unit on chip or chip, is not done to tire out herein and be stated, also will not enumerate.
In the embodiment of the present application, the target icon which includes can be code, mark including target icon
Knowledge or contract drawing, this is not restricted.The object time that the display message includes can be time, transmission that display message generates
Time, either specified display time received time, herein also with no restriction.
In the embodiment of the present application, server to target icon module issue display message mode can there are many, under
Face is enumerated for two kinds:
The first, server shifts to an earlier date the corresponding relationship of prestored icons Yu icon module.
That is server generates display message after receiving the request for needing displaying target icon, wherein display message package
Include target icon and the display message corresponding object time of specified display.Server icon according to the pre-stored data and figure
The corresponding relationship for marking module, determines the address of the corresponding icon module of target icon, and described in the display message is sent to
Target icon module.
Specifically, server can be the request for receiving the displaying target icon that active server is sent, and be also possible to
Receive the request for the displaying target icon that development of the activity main broadcaster end is sent.After it receives request, only the display of generation is believed
Breath is sent to corresponding target icon module in display equipment, has target icon module to carry out internal broadcast, without sending out
Other icon modules are given to inform display situation.To reduce the network resource consumption that display information issues.
Second, icon is corresponding with the mark of icon module.
I.e. after server receives the request for needing displaying target icon, display message is generated, wherein display message package
Include target icon and the display message corresponding object time of specified display.Server, which directly transmits, carries target icon mark
The display message of knowledge is to showing equipment.Display equipment sends it to corresponding target icon module according to target icon mark.
Certainly, in the specific implementation process, the mode that server issues display message to target icon module is not limited to
Two kinds are stated, this is not restricted, is also not listed.
Step S102, the target icon module broadcast the display message according to the subscription agreement pre-established, so that
Show that other icon modules in equipment obtain the display message.
In the embodiment of the present application, target icon module broadcasts the display message according to the subscription agreement pre-established
Mode can there are many, be set forth below for two kinds:
The first, is broadcast to the corresponding icon module of all icons.
That is target icon module broadcasts all icon modules in display equipment after receiving display message,
By make to show each icon module in equipment can by broadcast in a manner of know that server issues for itself icon
With all display message of other icons, so that it is determined that the display of itself corresponding icon is still hidden.
Second, only it is broadcast to the corresponding icon module of icon of mutual exclusion.
That is target icon module, can be first according to the mutual exclusion table prestored, determination and the target after receiving display message
Other mutual exclusion icons of icon mutual exclusion;The display only is broadcasted to the corresponding mutual exclusion icon module of the mutual exclusion icon for having mutex relation again
Message.Receiving the icon module of this broadcast its own itself icon has mutex relation with the target icon, so that
Show in equipment there are other icon modules of mutex relation to obtain the display message with the target icon.
Specifically, multiple icon modules of mutex relation are determined previously according to mutual exclusion table in target icon module,
It will only show that information is broadcast to the icon module of mutex relation, invalid message caused by large area is broadcasted can be effectively reduced and received
It is consumed with processing.
Certainly, in the specific implementation process, target icon module broadcasts the display according to the subscription agreement pre-established
The mode of message is not limited to above two, only can also give the icon that is showing corresponding icon module broadcast display message,
This is not restricted, is also not listed.
Then, step S103 and S104 are executed, it should be noted that not closing successively between step S103 and step S104
System, may be performed simultaneously, can also be first carried out with S103 or S104.
Step S103, other described icon modules are respectively according to the mutual exclusion table prestored and the display message received, judgement
Itself itself corresponding icon whether with the target icon mutual exclusion, if itself icon and the target icon mutual exclusion,
Then judge whether the object time was later than for the specified display information corresponding time for showing itself icon, if so,
It is hiding that the display properties of itself icon, which is then arranged,.
In the embodiment of the present application, which can be the pre-set list of staff, will there is mutex relation
Icon and its corresponding icon module array together, in order to quickly determine mutex relation.Mutex relation can be according to warp
It tests artificially to be arranged, is also possible to determine based on big data or machine learning algorithm, this is not restricted.
Specifically, after each icon module receives display message, it can be determined that whether oneself itself corresponding icon
With target icon mutual exclusion.When the corresponding module of each icon, itself icon i.e. corresponding icon of icon module;When
The icon module is when corresponding with N number of display area of display unit, itself icon i.e. icon module is corresponding
The icon or target icon that display unit is currently shown.
It specifically, can be according to before it when icon module judges its itself corresponding icon and target icon mutual exclusion
The display message received, to judge the time for being used to indicate the display message for showing its own icon whether in the target
Between before, if it does, just needing to change or to keep the display properties of its own icon be hiding, so that showing message package
The icon of the time included the latest is shown.
Judge whether the object time was later than for the specified display information corresponding time for showing itself icon
Later, further includes: if not, keeping the current display properties of itself icon.I.e. if itself icon was display state originally
It then keeps showing, be remained hidden if being originally hidden state.
Step S104, the target icon module judge the mesh according to the mutual exclusion table and the display message received
Whether the mark time is time in the mutual exclusion time the latest, if so, the display properties of the target icon is arranged then as display;It is described
The mutual exclusion time is for the specified display time corresponding with the display information of icon of the target icon mutual exclusion.
Specifically, target icon module can also receive other icon modules broadcast display message, therefore can according to
Before the display message that receives and mutual exclusion table, to judge there are all mutual exclusions of mutex relation being used to indicate display and target icon
In the time that the display message of icon includes, whether object time of the target icon is time the latest, if it is,
The display properties for changing or keeping target icon is display;If not, the display properties that the target icon is arranged is hiding.
If receive itself icon of the icon module of broadcast not with the target icon mutual exclusion, and itself icon
It is not the target icon, then shows not influenced by this received display message, keeps the current aobvious of itself icon
Show that attribute is constant.
By above-mentioned setting, icon module can be made by receiving the broadcast receptions of other icon modules to all instructions
It shows the display message of icon, or so that icon module is received instruction and show that it has all mutual exclusion icons of mutex relation
Show message.To make icon module may determine that whether its own itself corresponding icon is that it has in the icon of mutex relation
The icon for finally requiring display, if it is just being shown, with the variant region of the display unit of guarantee display equipment same
The icon of one time showing is not no mutex relation, only shows the icon that display is finally indicated in mutex relation icon.
In the embodiment of the present application, be in the display properties for needing to be arranged the target icon it is hiding, i.e., do not show temporarily
In the case where target icon, the target icon can be cached, and the target icon is stored in storage chained list, in order in institute
It states after mutual exclusion icon shows, the target icon is shown according to rule.
Specifically, for the ease of current hidden icons it is subsequent can successively, first root can also be arranged in and orderly display
According to the time that the top set of the target icon is shown, storage location of the target icon in the storage chained list is determined,
In, the element in the storage chained list is according to the time by being arranged successively after arriving first;After determining storage location, first by the target figure
It marks the element being connected below with the storage location to be linked, then will be connected before the target icon and the storage location
Element linked, so that the target icon is stored in the storage chained list as element;It is shown in the mutual exclusion icon
After, the element stored in the storage chained list is successively shown according to the sequence in the storage chained list.
First the target icon is linked with the element that the storage location is connected below, then by the target icon
The element being connected with the storage location front is linked, and allowing for storage chained list is often that previous position direction is next
A position, therefore if first the element with front is linked, it will lead to break before and after chained list, not can determine that the latter element.
Specifically, when some icon shown in display equipment shows that the time reaches, when no longer showing, if not yet
The new display message that server issues just is received, then can vacate new display area, it at this time can be according in storage chained list
Sequence successively selects icon to be shown in conjunction with the judgement of mutual exclusion.Be preferably displaying in storage chained list in it is in the top, and with
The icon currently shown does not have the icon of mutex relation.
Based on the same inventive concept, it is applied to server end present invention also provides corresponding with the method in embodiment one
Method, detailed in Example two.
Embodiment two
A kind of processing method of mutual exclusion is provided in the present embodiment, as shown in Figure 2, which comprises
Step S201 generates display message, wherein the display after receiving the request for needing displaying target icon
Message includes target icon and the display message corresponding object time of specified display;
The display message is sent to the target icon module of display equipment, wherein the target icon by step S202
Module is module corresponding with the target icon;So that the target icon module is broadcasted according to the subscription agreement pre-established
The display message so that other icon modules in display equipment obtain the display message, and makes the target icon mould
Block and other described icon modules can be determined based on the display message received and the mutual exclusion table prestored and itself are arranged
The display properties of corresponding itself icon in the icon to guarantee mutual exclusion, only shows that it shows the information corresponding time most
The icon in evening.
By the method that the embodiment of the present invention two is introduced, to implement the method for the embodiment of the present invention one in server side
Method, so based on the method that the embodiment of the present invention one is introduced, the affiliated personnel in this field can understand the specific reality of this method
Step is applied, so details are not described herein.
Based on the same inventive concept, the embodiment of the invention also provides the corresponding device of method in embodiment one, see implementation
Example three.
Embodiment three
The present embodiment provides a kind of processing units of mutual exclusion, as shown in figure 3, described device includes:
Receiving module 301, the display message for being handed down to target icon module for receiving server, the display message are equal
Target icon and the display message corresponding object time including specified display, the target icon module are and the mesh
It marks on a map corresponding module;
Broadcast module 302 disappears for the target icon module according to the subscription agreement broadcast display pre-established
Breath, so that other icon modules in display equipment obtain the display message;
First processing module 303 according to the mutual exclusion table prestored and receives aobvious respectively for other described icon modules
Show message, judge itself itself corresponding icon whether with the target icon mutual exclusion, if itself icon and the mesh
It marks on a map mutual exclusion, then it is corresponding for the specified display information for showing itself icon to judge whether the object time is later than
Time, if so, the display properties that itself icon is then arranged is hiding;
Second processing module 304, for the target icon module according to the mutual exclusion table and the display message that receives,
Judge whether the object time is time in the mutual exclusion time the latest, if so, the display properties of the target icon is then arranged
For display;When the mutual exclusion time is corresponding with the display information of icon of the target icon mutual exclusion for specified display
Between.
By the device that the embodiment of the present invention three is introduced, filled used by the method to implement the embodiment of the present invention one
It sets, so based on the method that the embodiment of the present invention one is introduced, the affiliated personnel in this field can understand the specific structure of the device
And deformation, so details are not described herein.Device used by the method for all embodiment of the present invention one belongs to the present invention and is intended to
The range of protection.
Based on the same inventive concept, the embodiment of the invention also provides the corresponding device of method in embodiment two, see implementation
Example four.
Example IV
The present embodiment provides a kind of processing units of mutual exclusion, as shown in figure 4, described device includes:
Generation module 401, for after receiving the request for needing displaying target icon, generating display message, wherein institute
State the target icon and the display message corresponding object time that display message includes specified display;
Sending module 402, for the display message to be sent to the target icon module of display equipment, wherein described
Target icon module is module corresponding with the target icon;So that the target icon module is according to the subscription pre-established
Message is shown described in protocol broadcast, so that other icon modules in display equipment obtain the display message, and makes the mesh
Module of marking on a map and other described icon modules can be determined simultaneously based on the display message received and the mutual exclusion table prestored
The display properties of itself corresponding itself icon is set, in the icon to guarantee mutual exclusion, only shows that its shows that information is corresponding
Time icon the latest.
By the device that the embodiment of the present invention four is introduced, filled used by the method to implement the embodiment of the present invention two
It sets, so based on the method that the embodiment of the present invention two is introduced, the affiliated personnel in this field can understand the specific structure of the device
And deformation, so details are not described herein.Device used by the method for all embodiment of the present invention two belongs to the present invention and is intended to
The range of protection.
Based on the same inventive concept, this application provides embodiment one or the corresponding electronic equipment embodiment of embodiment two,
Detailed in Example five.
Embodiment five
The present embodiment provides a kind of electronic equipment, as shown in figure 5, including memory 510, processor 520 and being stored in
On reservoir 510 and the computer program 511 that can run on processor 520 can when processor 520 executes computer program 511
To realize any embodiment in embodiment one or embodiment two.
Since the electronic equipment that the present embodiment is introduced is adopted to implement method in the embodiment of the present application one or embodiment two
Equipment, so based on method described in the embodiment of the present application one or embodiment two, those skilled in the art's energy
The specific embodiment and its various change form of the electronic equipment of solution the present embodiment much of that, so being set herein for the electronics
It is standby how to realize that the method in the embodiment of the present application is no longer discussed in detail.As long as those skilled in the art implement the application reality
Equipment used by the method in example is applied, the range to be protected of the application is belonged to.
Based on the same inventive concept, this application provides embodiment one or the corresponding storage medium of embodiment two, it is detailed in reality
Apply example six.
Embodiment six
The present embodiment provides a kind of computer readable storage mediums 600, as shown in fig. 6, being stored thereon with computer program
611, when which is executed by processor, any embodiment in embodiment one or embodiment two may be implemented.
The technical solution provided in the embodiment of the present application, has at least the following technical effects or advantages:
It is corresponding to send the message to target icon when issuing the display message of instruction displaying target icon for server
Target icon module, target icon module are based on the display message and are broadcasted, so that other icon moulds in display equipment
Block obtains the display message;So that other described icon modules and the target icon module can be respectively according to the mutual exclusions prestored
Table and the display message received, judge the instruction of itself itself corresponding icon show the time whether be in the mutual exclusion time the latest
Time, if so, the display properties that itself icon is just arranged is display.In this way by broadcast so that each icon module is equal
Can know all display message that server issues, so as to according to it is all display a message for determining itself it is corresponding itself
Whether icon has the last one in the icon of mutex relation to be instructed to the icon of display, just shows in this way, to guarantee have mutually
Only the last one icon for being instructed to display can be shown on the display device in the icon of reprimand relationship, mutual to avoid occurring
The problem of reprimand icon influences each other, to guarantee the corresponding application of an icon or movable click volume and participation amount.
Further, each icon module is allowed to know all display message by the way of broadcast, without server to a
Icon module issues all message respectively, can effectively reduce the consumption of Internet resources.
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.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out various modification and variations without departing from this hair to the embodiment of the present invention
The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of processing method of mutual exclusion, which is characterized in that the described method includes:
The display message that server is handed down to target icon module is received, the display message includes the target figure of specified display
It marks the object time corresponding with the display message, the target icon module is module corresponding with the target icon;
The target icon module broadcasts the display message according to the subscription agreement pre-established, so that its in display equipment
He obtains the display message at icon module;
Other described icon modules respectively according to the mutual exclusion table that prestores and the display message received, judge itself it is corresponding itself
Whether icon with the target icon mutual exclusion judges the target if itself icon and the target icon mutual exclusion
Whether the time was later than for the specified display information corresponding time for showing itself icon, if so, then setting it is described itself
The display properties of icon is hiding;
The target icon module judges whether the object time is mutual according to the mutual exclusion table and the display message received
The time the latest in the time is denounceed, if so, the display properties of the target icon is arranged then as display;The mutual exclusion time be for
It is specified to show the time corresponding with the display information of icon of the target icon mutual exclusion.
2. the method as described in claim 1, which is characterized in that the display area one of each the icon module and display unit
One is corresponding, itself corresponding icon of each icon module is display or the figure that can be shown on the corresponding display area
Mark.
3. the method as described in claim 1, it is characterised in that:
If itself icon is not with the target icon mutual exclusion, and itself icon is not the target icon, then protects
Hold the current display properties of itself icon.
4. the method as described in claim 1, which is characterized in that the target icon module is according to the subscription agreement pre-established
The display message is broadcasted, so that other icon modules in display equipment obtain the display message, comprising:
The target icon module broadcasts the display message according to the subscription agreement pre-established and the mutual exclusion table prestored, so that
Show in equipment there are other icon modules of mutex relation to obtain the display message with the target icon.
5. the method as described in claim 1, which is characterized in that
It is described to judge whether the object time was later than for the specified display information corresponding time for showing itself icon
Later, further includes:
If not, keeping the current display properties of itself icon;
It is described judge whether the object time is time in the mutual exclusion time the latest after, further includes:
If not, the display properties that the target icon is arranged is hiding.
6. a kind of processing method of mutual exclusion, which is characterized in that the described method includes:
After receiving the request for needing displaying target icon, display message is generated, wherein the display message includes specified aobvious
The target icon shown and the display message corresponding object time;
By it is described display message be sent to display equipment target icon module, wherein the target icon module be with it is described
The corresponding module of target icon;So that the target icon module disappears according to the subscription agreement broadcast display pre-established
Breath so that other icon modules in display equipment obtain the display message, and make the target icon module and it is described its
His icon module can determine based on the display message received and the mutual exclusion table prestored and that itself is arranged is corresponding described
The display properties of itself icon in the icon to guarantee mutual exclusion, only shows that it shows the icon of information corresponding time the latest.
7. a kind of processing unit of mutual exclusion, which is characterized in that described device includes:
Receiving module, the display message for being handed down to target icon module for receiving server, the display message include referring to
Surely the target icon shown and the display message corresponding object time, the target icon module are and the target icon
Corresponding module;
Broadcast module broadcasts the display message according to the subscription agreement pre-established for the target icon module, so that
Show that other icon modules in equipment obtain the display message;
First processing module, for other described icon modules respectively according to the mutual exclusion table that prestores and the display message received,
Judge itself itself corresponding icon whether with the target icon mutual exclusion, if itself icon and the target icon are mutual
Reprimand, then judge whether the object time is later than for the specified display information corresponding time for showing itself icon, such as
It is that it is hiding that the display properties of itself icon, which is then arranged,;
Second processing module judges institute for the target icon module according to the mutual exclusion table and the display message received
State whether the object time is time in the mutual exclusion time the latest, if so, the display properties of the target icon is arranged then as display;
The mutual exclusion time is for the specified display time corresponding with the display information of icon of the target icon mutual exclusion.
8. a kind of processing unit of mutual exclusion, which is characterized in that described device includes:
Generation module, for after receiving the request for needing displaying target icon, generating display message, wherein the display
Message includes target icon and the display message corresponding object time of specified display;
Sending module, for the display message to be sent to the target icon module of display equipment, wherein the target icon
Module is module corresponding with the target icon;So that the target icon module is broadcasted according to the subscription agreement pre-established
The display message so that other icon modules in display equipment obtain the display message, and makes the target icon mould
Block and other described icon modules can be determined based on the display message received and the mutual exclusion table prestored and itself are arranged
The display properties of corresponding itself icon in the icon to guarantee mutual exclusion, only shows that it shows the information corresponding time most
The icon in evening.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes claim 1-6 any method when executing described program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Claim 1-6 any method is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811154967.XA CN109388498B (en) | 2018-09-30 | 2018-09-30 | Mutual exclusion processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811154967.XA CN109388498B (en) | 2018-09-30 | 2018-09-30 | Mutual exclusion processing method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109388498A true CN109388498A (en) | 2019-02-26 |
CN109388498B CN109388498B (en) | 2020-05-12 |
Family
ID=65419163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811154967.XA Active CN109388498B (en) | 2018-09-30 | 2018-09-30 | Mutual exclusion processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109388498B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114911547A (en) * | 2021-02-09 | 2022-08-16 | 武汉斗鱼鱼乐网络科技有限公司 | Pendant mutual exclusion display method and related device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7363593B1 (en) * | 2001-11-30 | 2008-04-22 | Versata Development Group, Inc. | System and method for presenting information organized by hierarchical levels |
CN103955474A (en) * | 2014-03-31 | 2014-07-30 | 可牛网络技术(北京)有限公司 | Notification message processing method and device |
CN104471920A (en) * | 2013-06-19 | 2015-03-25 | 华为终端有限公司 | Method and Apparatus for Processing Data and Message |
CN105574421A (en) * | 2016-01-06 | 2016-05-11 | 珠海市魅族科技有限公司 | Method and device for displaying and hiding application icon |
US9442625B1 (en) * | 2002-06-25 | 2016-09-13 | Eric J. Luttmann | Visual indication of a device connection speed |
WO2017004141A1 (en) * | 2015-06-29 | 2017-01-05 | Promethean Limited | Systems and methods for providing multi-focus to applications for collaboration |
CN106572397A (en) * | 2016-10-31 | 2017-04-19 | 北京小米移动软件有限公司 | Interaction method and device for live video application |
CN106598371A (en) * | 2015-10-15 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Information displaying method and equipment |
CN106792113A (en) * | 2016-12-06 | 2017-05-31 | 深圳Tcl新技术有限公司 | The afoul reminding method of recording time, device and intelligent television |
CN106933465A (en) * | 2015-12-31 | 2017-07-07 | 北京三星通信技术研究有限公司 | A kind of content display method and intelligence desktop terminal based on intelligence desktop |
CN106959795A (en) * | 2017-02-23 | 2017-07-18 | 北京潘达互娱科技有限公司 | A kind of icon shows method and device in live application |
CN108366287A (en) * | 2018-01-30 | 2018-08-03 | 广州虎牙信息科技有限公司 | Direct broadcasting room action message methods of exhibiting and computer storage media, terminal |
-
2018
- 2018-09-30 CN CN201811154967.XA patent/CN109388498B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7363593B1 (en) * | 2001-11-30 | 2008-04-22 | Versata Development Group, Inc. | System and method for presenting information organized by hierarchical levels |
US9442625B1 (en) * | 2002-06-25 | 2016-09-13 | Eric J. Luttmann | Visual indication of a device connection speed |
CN104471920A (en) * | 2013-06-19 | 2015-03-25 | 华为终端有限公司 | Method and Apparatus for Processing Data and Message |
CN103955474A (en) * | 2014-03-31 | 2014-07-30 | 可牛网络技术(北京)有限公司 | Notification message processing method and device |
WO2017004141A1 (en) * | 2015-06-29 | 2017-01-05 | Promethean Limited | Systems and methods for providing multi-focus to applications for collaboration |
CN106598371A (en) * | 2015-10-15 | 2017-04-26 | 阿里巴巴集团控股有限公司 | Information displaying method and equipment |
CN106933465A (en) * | 2015-12-31 | 2017-07-07 | 北京三星通信技术研究有限公司 | A kind of content display method and intelligence desktop terminal based on intelligence desktop |
CN105574421A (en) * | 2016-01-06 | 2016-05-11 | 珠海市魅族科技有限公司 | Method and device for displaying and hiding application icon |
CN106572397A (en) * | 2016-10-31 | 2017-04-19 | 北京小米移动软件有限公司 | Interaction method and device for live video application |
CN106792113A (en) * | 2016-12-06 | 2017-05-31 | 深圳Tcl新技术有限公司 | The afoul reminding method of recording time, device and intelligent television |
CN106959795A (en) * | 2017-02-23 | 2017-07-18 | 北京潘达互娱科技有限公司 | A kind of icon shows method and device in live application |
CN108366287A (en) * | 2018-01-30 | 2018-08-03 | 广州虎牙信息科技有限公司 | Direct broadcasting room action message methods of exhibiting and computer storage media, terminal |
Non-Patent Citations (2)
Title |
---|
杨琴: "基于交互元素的扁平化设计可用性问题研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
顾成喜,顾才东,龚伟: "RFID环境下利用通报机制的分布式阅读器防冲突算法", 《计算机应用研究》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114911547A (en) * | 2021-02-09 | 2022-08-16 | 武汉斗鱼鱼乐网络科技有限公司 | Pendant mutual exclusion display method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN109388498B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106056529B (en) | Method and equipment for training convolutional neural network for picture recognition | |
CN109460233A (en) | Primary interface display update method, device, terminal device and the medium of the page | |
CN111198739A (en) | Rendering method, device and equipment of application view and storage medium | |
CN106919442A (en) | Many GPU dispatching devices and distributed computing system and many GPU dispatching methods | |
CN106572069A (en) | Network access control method and server server | |
CN111464352A (en) | Call link data processing method and device | |
CN116860391A (en) | GPU computing power resource scheduling method, device, equipment and medium | |
CN113204425B (en) | Method, device, electronic equipment and storage medium for process management internal thread | |
CN114153615A (en) | Memory management method, device, equipment, computer program and storage medium | |
WO2024067159A1 (en) | Video generation method and apparatus, electronic device, and storage medium | |
CN109388498A (en) | A kind of processing method of mutual exclusion, device, equipment and medium | |
CN115686346A (en) | Data storage method and device and computer readable storage medium | |
CN112486825B (en) | Multi-lane environment architecture system, message consumption method, device, equipment and medium | |
CN106028144A (en) | Method and device for monitoring audio and video resources in television terminal, and television terminal | |
CN108632364A (en) | request processing method and device | |
CN115361382B (en) | Data processing method, device, equipment and storage medium based on data group | |
CN103338159B (en) | Polling dispatching implementation method and device | |
CN104468505A (en) | Safety audit log playing method and device | |
CN115118475A (en) | Method, device, equipment and medium for dispatching cryptographic equipment cluster | |
CN103902573A (en) | Method and device for displaying traffic line mark maps | |
CN113610699A (en) | Hardware layer rendering scheduling method, device, equipment and storage medium | |
CN103051528B (en) | A kind of message rapid distribution method for bus and device | |
CN106027309B (en) | The acquisition methods and device of device status information | |
CN110971954B (en) | Method, device, equipment and medium for displaying icons at different positions | |
CN106844502B (en) | Data consistency processing method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |