Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of processing method and client for taking turns wheat instruction, can avoid in currently control wheat person
Make a speech causes when finishing because client continuously acquires multiple wheel wheats and instructs and perform with each taking turns wheat instructs corresponding operate
Client in take turns that wheat pattern is chaotic and the phenomenon of the interface of output flicker.It is described in detail individually below.
It is first right below in order to be best understood from a kind of processing method and client for taking turns wheat instruction disclosed in the embodiment of the present invention
The applicable network architecture of the embodiment of the present invention is described.Referring to Fig. 1, Fig. 1 is a kind of network disclosed in the embodiment of the present invention
The structural representation of framework.As shown in figure 1, the network architecture schematic diagram can include service equipment and client, wherein, service
Equipment can include server, service host, service system and service platform etc., and client can include set group chat,
The client that the functions such as net cast, channel K songs, game on line, online video display are integrated.In the network architecture shown in Fig. 1,
The client may operate in including but not limited to mobile phone, removable computer, tablet personal computer, personal digital assistant
(Personal Digital Assistant, PDA), media player, intelligent television, intelligent watch, intelligent glasses, intelligent hand
On the user equipmenies such as ring.Wherein, service equipment can be communicatively coupled by internet and client.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of instruction of wheel wheat processing method.It please join
Fig. 2 is read, Fig. 2 is a kind of schematic flow sheet for the processing method for taking turns wheat instruction disclosed in the embodiment of the present invention.Wherein, shown in Fig. 2
Method suitable for client as shown in Figure 1.As shown in Fig. 2 the processing method of wheel wheat instruction can include following step
Suddenly:
S201, when get for change control wheat person when front-wheel wheat instructs, judge be within the first object period
The no first object wheel wheat instruction got for changing control wheat person.
In the embodiment of the present invention, the initial time of first object period is got when front-wheel wheat instructs for client
Between, and the time span of first object period can be the time span or pre-configured of client acquiescence
Time span, the embodiment of the present invention do not limit.
In the embodiment of the present invention, when the target that the instruction of front-wheel wheat can be exported including user by touching or clicking on client
Handle icon and trigger wheel wheat instruction, as user use " YY voices " client when entertaining direct broadcasting room watching video live broadcast,
User (i.e. currently control wheat person) in floor status can trigger client generation when clicking on " lower wheat " button of client output
Wheat instruction is taken turns, is given birth to automatically when a certain parameter that the instruction of front-wheel wheat can also include client detection client meets preparatory condition
Into wheel wheat instruction, as user use " YY voices " client when entertain direct broadcasting room watching video live broadcast, when client detection
When being equal to predetermined time period to the time limit of speech length in floor status user, client can automatically generate wheel wheat instruction,
The embodiment of the present invention does not limit.
If S202, not getting the first object wheel wheat instruction that wheat person is controlled for changing within the first object period,
Responded at the end of the first object period above-mentioned when front-wheel wheat is instructed to change control wheat person.
In the embodiment of the present invention, client responds above-mentioned when front-wheel wheat is instructed to change at the end of the first object period
Controlling the concrete mode of wheat person can be:
It is above-mentioned when the instruction of front-wheel wheat to service equipment transmission at the end of the first object period, to trigger service equipment control
The first user headed by being sorted in the speech queue corresponding with client of uniform business plant maintenance leaves speech queue to obtain
Speech queue after renewal;
Receive the speech queue after the renewal that service equipment is sent;
Output renewal after speech queue, and obtain renewal after speech queue in be ordered as first place second user with by
Second user controls wheat person as with above-mentioned when the instruction of front-wheel wheat is corresponding.
In the embodiment of the present invention, speech queue can include the subscriber identity information of each user in speech queue, may be used also
With the geographical position including each user in speech queue and sequencing information etc., the embodiment of the present invention does not limit.
S203, output work as the corresponding interface of front-wheel wheat instruction with above-mentioned.
In the embodiment of the present invention, client output and the above-mentioned concrete mode when the corresponding interface of front-wheel wheat instruction can be with
For:
The interface of the second user is obtained from service equipment using the subscriber identity information of above-mentioned second user as foundation, and
Export the interface.
Optionally, interface can include control wheat person card interface and control wheat person's video interactive interface (such as net cast window
Mouthful) etc., the embodiment of the present invention does not limit, and control wheat person card interface can include control wheat person identity information, control wheat person's grade
Information and control wheat person's self-defined information etc., the embodiment of the present invention does not limit.
In the embodiment of the present invention, when get for change control wheat person when front-wheel wheat instructs, client is judged the
Whether first object wheel wheat instruction for change control wheat person is got in one target time section, wherein, the first object period
Initial time got for client when the time of front-wheel wheat instruction, if not got within the first object period for more
The first object wheel wheat instruction of control wheat person is changed, then client is responded at the end of the first object period when front-wheel wheat is instructed with more
Change control wheat person and export with working as the corresponding interface of front-wheel wheat instruction.Implementing the embodiment of the present invention can avoid in currently control Mai Zhefa
Speech when finishing because client continuously acquire multiple wheel wheats instruct and perform with each wheel wheat instruction is corresponding operate caused by
The phenomenon of the interface flicker of wheat pattern confusion and output is taken turns in client.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses another wheel wheat instruction processing method.Please
Refering to Fig. 3, Fig. 3 is the flow structure schematic diagram of the processing method of another wheel wheat instruction disclosed in the embodiment of the present invention.Wherein, scheme
Method shown in 3 is suitable for client as shown in Figure 1.As shown in figure 3, the wheel wheat instruction processing method can include with
Lower step:
S301, detect whether to receive the wheel wheat instruction for changing control wheat person.
In the embodiment of the present invention, if step S301 testing result is yes, step S302 is performed, if step S301 inspection
It is no to survey result, then client can continue executing with step S301.
S302, judge the new wheel wheat instruction for being used to change control wheat person whether is got in target time section.
In the embodiment of the present invention, the time span of target time section can be the time span of client acquiescence, can also
It is pre-configured time span, the embodiment of the present invention does not limit.
In the embodiment of the present invention, if step S302 judged result is no, step S303 is performed, if step S302's sentences
Disconnected result is yes, then client can continue executing with step S302.
S303, send wheel wheat instruction to service equipment at the end of target time section.
In the embodiment of the present invention, client sends wheel wheat instruction at the end of target time section to service equipment, with triggering
The first user headed by being sorted in the speech queue corresponding with client that service equipment control service equipment is safeguarded leaves speech
Queue with obtain renewal after speech queue.
In the embodiment of the present invention, speech queue can include the subscriber identity information of each user in speech queue, may be used also
With the geographical position including each user in speech queue and sequencing information etc., the embodiment of the present invention does not limit.
S304, receive the speech queue after the renewal that service equipment is sent.
Speech queue after S305, output renewal, and obtain the second use that first place is ordered as in the speech queue after renewal
Family is to regard second user as control wheat person corresponding with wheel wheat instruction.
S306, using the subscriber identity information of above-mentioned second user as according to the boundary for obtaining from service equipment the second user
Face, and export the interface.
Optionally, interface can include control wheat person card interface and control wheat person's video interactive interface (such as net cast window
Mouthful) etc., the embodiment of the present invention does not limit, and control wheat person card interface can include control wheat person identity information, control wheat person's grade
Information and control wheat person's self-defined information etc., the embodiment of the present invention does not limit.
, it is necessary to which explanation, if step S301 testing result is yes, client is held for the first time in the embodiment of the present invention
During row step S302, the initial time of target time section is the time that client gets wheel wheat instruction in step S301, and objective
When result of the family end when first time performing step S302 is no, the wheel wheat instruction in step S303 is to be received in step S301
Be used for change control wheat person wheel wheat instruction;If step S301 testing result is yes, and client is since second
The result that preceding n times perform step S302 is to be and when the N+1 time result for performing step S302 is no, client is in N
The initial time of target time section during secondary execution step S302 is that client gets wheel when performing step S302 the N-1 times
The time of wheat instruction, and the wheel wheat instruction in step S303 refers to for the wheel wheat got during client n-th execution step S302
Order, wherein, N is the integer more than or equal to 2.
Implementing the embodiment of the present invention can make client only respond last when continuously acquiring multiple wheel wheat instructions
Wheat instruction is taken turns, has reached the effect of compression wheel wheat instruction, the interface of wheel wheat pattern confusion and output in client is avoided and dodges
Bright phenomenon.
Referring to Fig. 4, Fig. 4 is a kind of structural representation of client disclosed in the embodiment of the present invention.As shown in figure 4, should
Client 400 can include acquiring unit 401, judging unit 402, change unit 403 and output unit 404, wherein:
Acquiring unit 401 is used to obtain the wheel wheat instruction for changing control wheat person.
Judging unit 402 is used to, when acquiring unit 401 gets wheel wheat instruction, judge whether obtain in target time section
Get the new wheel wheat instruction for being used to change control wheat person.
Unit 403 is changed to be used to, when the judged result of judging unit 402 is no, ring at the end of the first object period
Wheat instruction should be taken turns to change control wheat person.
Output unit 404 is used to export with taking turns the corresponding interface of wheat instruction.
As an alternative embodiment, judging unit 402 can be also used for when the judged result of judging unit 402 is
When being, continue executing with whether above-mentioned judgement gets the new wheel wheat instruction for being used to change control wheat person in target time section.
It should be noted that judging unit 402 continue executing with above-mentioned judgement whether got in target time section it is new
Initial time for target time section when changing the wheel wheat instruction of control wheat person above-mentioned is sentenced to be continued executing with judging unit 402
The judging unit 402 before the new wheel wheat instruction for being used to change control wheat person whether is got in target time section that breaks gets wheel
The time of wheat instruction.
Implementing the embodiment of the present invention can make client only respond last when continuously acquiring multiple wheel wheat instructions
Wheat instruction is taken turns, has reached the effect of compression wheel wheat instruction, the interface of wheel wheat pattern confusion and output in client is avoided and dodges
Bright phenomenon.
It should be noted that in the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in some embodiment
The part being not described in, it may refer to the associated description of other embodiment.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and unit not necessarily this hair
Necessary to bright.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in client of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Unit described in the embodiment of the present invention can pass through universal integrated circuit, such as CPU (Central Processing
Unit, central processing unit), or by ASIC (Application Specific Integrated Circuit, it is special integrated
Circuit) realize.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The processing method and client of a kind of wheel wheat instruction provided above the embodiment of the present invention have carried out detailed Jie
Continue, instantiation used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is only
It is the method and its core concept for being used to help understand the present invention;Meanwhile for those of ordinary skill in the art, according to this hair
Bright thought, there will be changes in specific embodiments and applications, in summary, this specification content should not manage
Solve as limitation of the present invention.