CN105282856B - A kind of method and user terminal of the transmission of control information - Google Patents
A kind of method and user terminal of the transmission of control information Download PDFInfo
- Publication number
- CN105282856B CN105282856B CN201510751381.1A CN201510751381A CN105282856B CN 105282856 B CN105282856 B CN 105282856B CN 201510751381 A CN201510751381 A CN 201510751381A CN 105282856 B CN105282856 B CN 105282856B
- Authority
- CN
- China
- Prior art keywords
- user terminal
- control
- music system
- priority
- time
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/56—Allocation or scheduling criteria for wireless resources based on priority criteria
- H04W72/566—Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses the methods and user terminal of a kind of control information transmission.Wherein, this method comprises: establishing the connection with wireless music system;Receive the priority for the connection that the wireless music system is sent;Receive the control instruction for being used to control the wireless music system of input;Judge whether the priority is highest priority;If it is not, receiving the time tag that there is the user terminal of highest priority to send, wherein the time tag includes effective period of time, and the effective period of time that each time tag that the user terminal with highest priority is sent includes is not overlapped;In the effective period of time that the time tag includes, the control instruction is sent to the wireless music system.The implementation embodiment of the present invention can be used family terminal and efficiently control wireless music system.
Description
Technical field
The present invention relates to communication technique field more particularly to a kind of methods and user terminal of the transmission of control information.
Background technique
With the raising of people's quality of the life, more and more users like placing multiple speakers at home and (play and set
It is standby), this multiple speaker constitutes a wireless music system.The user terminal (such as smart phone) for being equipped with control APP passes through nothing
Gauze network can establish connection with wireless music system, to control wireless music system.
However found in practice, when the user terminal for being connected to wireless music system has multiple, if multiple users exist
Control operation (such as addition song, deletion song, broadcasting pause etc.) is carried out in user terminal simultaneously, this multiple user terminal will
Control instruction can be sent to wireless music system simultaneously, but wireless music system can not respond multiple control instructions simultaneously, this
It will be so that user terminal be unable to control wireless music system.
Summary of the invention
The embodiment of the invention provides the methods and user terminal of a kind of control information transmission, and it is effective that family terminal can be used
Ground controls wireless music system.
First aspect of the embodiment of the present invention discloses a kind of method of control information transmission, comprising:
Establish the connection with wireless music system;
Receive the priority for the connection that the wireless music system is sent;
Receive the control instruction for being used to control the wireless music system of input;
Judge whether the priority is highest priority;
If it is not, receiving the time tag that there is the user terminal of highest priority to send, wherein the time tag includes
Effective period of time, the effective period of time that each time tag that the user terminal with highest priority is sent includes do not weigh
It is folded;
In the effective period of time that the time tag includes, the control instruction is sent to the wireless music system
System.
With reference to first aspect, in the first possible embodiment of first aspect, described receive has highest preferential
After the time tag that the user terminal of grade is sent, the method also includes:
Control authority acquisition request is sent to the user terminal with highest priority;
Receive the control that the user terminal with highest priority responds the control authority acquisition request and sends
Permission;
Whether the control content for judging that the control instruction includes belongs within the scope of the control authority;
If so, the control instruction is sent in the effective period of time that the time tag includes described in executing
The step of wireless music system.
The possible embodiment of with reference to first aspect the first, in second of possible embodiment of first aspect
In, the frequency of the connection is bigger, and the priority of the connection is higher;Or, the time point of the connection is more early, the connection
Priority is higher;
The control authority includes song addition permission, song deletion permission, song editing authority and playback of songs control
Any one of permission processed.
With reference to first aspect any one of to second of possible embodiment of first aspect, the of first aspect
In three kinds of possible embodiments, the method also includes:
If the priority is highest priority, the control instruction is sent to the wireless music system.
Any one of the third possible embodiment with reference to first aspect, in the 4th kind of possible reality of first aspect
It applies in mode, the method also includes:
Receive the identification information at least one access terminal that the wireless music system is sent, at least one described access
The priority of terminal is below the highest priority;
According to the identification information of at least one access terminal, respectively at least one described access terminal sending time
Token, wherein the effective period of time that each time tag includes is not overlapped.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, comprising:
Unit is established, for establishing and the connection of wireless music system;
Receiving unit, for receiving the priority for the connection that the wireless music system is sent;
The receiving unit is also used to receive the control instruction for being used to control the wireless music system of input;
Judging unit, for judging whether the priority is highest priority;
The receiving unit is also used to when it is highest priority that the judging unit, which judges the priority not, is received
The time tag that user terminal with highest priority is sent, wherein the time tag includes effective period of time, the tool
The effective period of time that each time tag for having the user terminal of highest priority to send includes is not overlapped;
First transmission unit, in the effective period of time that the time tag includes, the control instruction to be sent
To the wireless music system.
In conjunction with second aspect, in the first possible embodiment of second aspect, the user terminal further include:
Second transmission unit, for receiving the time that there is the user terminal of highest priority to send in the receiving unit
After token, control authority acquisition request is sent to the user terminal with highest priority;
The receiving unit is also used to receive the user terminal response control authority with highest priority and obtains
The control authority for taking request and sending;
Whether the judging unit, the control content for being also used to judge that the control instruction includes belong to the control authority
Within the scope of;
First transmission unit, specifically for judging the control content that the control instruction includes when the judging unit
When belonging within the scope of the control authority, in the effective period of time that the time tag includes, by the control instruction
It is sent to the wireless music system.
In conjunction with the first possible embodiment of second aspect, in second of possible embodiment of second aspect
In, the frequency of the connection is bigger, and the priority of the connection is higher;Or, the time point of the connection is more early, the connection
Priority is higher;
The control authority includes song addition permission, song deletion permission, song editing authority and playback of songs control
Any one of permission processed.
In conjunction with any one of second of possible embodiment of second aspect to second aspect, the of second aspect
In three kinds of possible embodiments, the user terminal further include:
Third transmission unit is used for when the judging unit judges the priority for highest priority, by the control
System instruction is sent to the wireless music system.
In conjunction with the third possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect
In, the receiving unit is also used to receive the identification information at least one access terminal that the wireless music system is sent, institute
The priority for stating at least one access terminal is below the highest priority;
The third transmission unit is also used to the identification information according at least one access terminal, respectively to described
At least one access terminal sending time token, wherein the effective period of time that each time tag includes is not overlapped.
In the embodiment of the present invention, user terminal establishes the connection with wireless music system, and receives wireless music system hair
The priority for the connection sent, further, user terminal can receive the control for being used to control wireless music system of user's input
System instruction, and judge whether priority is highest priority, if it is not, user terminal can receive the user with highest priority
The time tag that terminal is sent, further, user terminal can will control in the effective period of time that time tag includes
Instruction is sent to wireless music system.As it can be seen that through the embodiment of the present invention, when multiple user terminals connect wireless music system and
There are multiple users while when input control instructs on the subscriber terminal, each user terminal can first judge the priority of oneself
It whether is highest priority, if it is not, the time tag that then etc. the user terminal to be received with highest priority is sent, due to tool
The effective period of time that each time tag for having the user terminal of highest priority to send includes is not overlapped, therefore when each user is whole
When control instruction is sent to wireless music system in effective period of time by end, it can be ensured that all user terminals send control
The time of instruction does not conflict, so as to effectively control wireless music system.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of network architecture schematic diagram disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of the method for control information transmission disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of the method for another control information transmission disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses the methods and user terminal of a kind of control information transmission, and it is effective that family terminal can be used
Ground controls wireless music system.It is described in detail separately below.
A kind of method and user terminal of the transmission of control information disclosed in embodiment in order to better understand the present invention, below
The network structure being first applicable in the embodiment of the present invention is described.Referring to Figure 1, Fig. 1 is one kind disclosed by the embodiments of the present invention
Network architecture schematic diagram.In network architecture shown in Fig. 1, may include multiple user terminals, wireless routing device and by
The wireless music system that multiple playback equipments are constituted, wherein each user terminal can wirelessly (such as WI-FI) with
Wireless routing device is communicatively coupled, can (AD- wirelessly between all playback equipments in wireless music system
HOC latticed form or MESH network form) establish communication connection, wherein there is a playback equipment (such as playback equipment 1) that can lead to
The mode crossed wirelessly or non-wirelessly is directly communicatively coupled with wireless routing device, and other playback equipments (such as playback equipment 2,
Playback equipment 3, playback equipment 4) it can indirectly be communicated by playback equipment 1 with wireless routing device, control is installed
After the user terminal and wireless routing device of APP establishes wireless connection, user terminal can be indirect by wireless routing device
Ground is communicatively coupled with wireless music system, and controls all playback equipments in wireless music system.Net shown in Fig. 1
In network framework, user terminal can include but is not limited to smart phone, laptop, personal computer (Personal
Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), mobile internet device
(Mobile Internet Device, MID), intelligent wearable device (such as smartwatch, Intelligent bracelet) all types of user terminal,
Playback equipment can include but is not limited to speaker, MP4, MP3, multimedia equipment and any equipment for having playing function etc.,
Wireless routing device can include but is not limited to wireless router and any equipment etc. with wireless coverage function.Pass through reality
Network architecture shown in FIG. 1 is applied, family terminal can be used and efficiently control wireless music system.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses a kind of transmission of control information method.It please join
See that Fig. 2, Fig. 2 are a kind of flow diagrams of the method for control information transmission disclosed by the embodiments of the present invention, as shown in Fig. 2, should
Method may comprise steps of.
S201, foundation and wireless music system connection.
In the embodiment of the present invention, user can place multiple playback equipments at home, this multiple playback equipment can be any
Deployment, such as: in same floor, multiple playback equipments are individually positioned in different rooms, as playback equipment 1 and broadcasting are set
Standby 2 are placed on parlor;Playback equipment 3 is placed on bedroom;Playback equipment 4 is placed on study;In the building of multilayer, broadcast multiple
It puts equipment and is placed on different floors.This multiple playback equipment may be constructed a wireless music system, in wireless music system
Playback equipment between can be communicated wirelessly, and form an internal network, i.e. MESH network.
In the embodiment of the present invention, user terminal can establish the connection with wireless music system by wireless routing device,
Network architecture shown in Fig. 1, user terminal and wireless music system keep being wirelessly connected with wireless routing device, are equipped with
The user terminal of control APP can be communicated by wireless routing device with wireless music system.Wherein, on control APP
It can store the relevant information for all playback equipments that wireless music system includes, such as: the mark of all playback equipments plays
Song setting (song list, volume) in the grouping information of equipment, each playback equipment etc..
S202, the priority for receiving the connection that wireless music system is sent.
In the embodiment of the present invention, user terminal is established with after the connection of wireless music system, and wireless music system can be with
Determine the priority of the connection of the user terminal, wherein the frequency of connection is bigger, and the priority of connection is higher;Or, connection when
Between put more early, the priority of connection is higher.
Optionally, after step S201, and before step S202, user terminal can be sent out to wireless music system
The priority acquisition request of connection is sent, to trigger the priority acquisition request of wireless music system response connection, inquires the user
The priority of the connection of terminal, and return the user terminal connection priority to the user terminal.
Optionally, user terminal is established after the connection with wireless music system, and wireless music system can be somebody's turn to do from trend
User terminal sends the priority of the connection of the user terminal, in this way, the user terminal can receive wireless music system
The priority of the connection of transmission.
S203, the control instruction for being used to control wireless music system for receiving input.
In the embodiment of the present invention, user terminal and wireless music system are established after connection, and user can be at user's end
Input control instructs on the control APP at end, and the control instruction is for controlling wireless music system, i.e., in control wireless music system
All playback equipments.Wherein, which can include but is not limited to the instruction of addition song, deletes song instruction and broadcast
Put pause instruction.
S204, judge whether priority is highest priority, if it is not, step S205~S206 is executed, if so, executing step
S207。
In the embodiment of the present invention, when different user terminals connects wireless music system, the priority of possessed connection
It is different, the permission possessed is also different.User terminal with highest priority can be at any time to wireless music
System sends control instruction, and the user terminal of other non-highest priorities needs to accept the end of the user with highest priority
Distributed permission is held, such as: the time permission of control instruction is sent, or, sending control content included by control instruction
Permission.
Therefore, after user terminal receives the control instruction for controlling wireless music system inputted, user terminal is needed
Whether the priority that first judge the connection of the user terminal is highest priority.
S205, the time tag that there is the user terminal of highest priority to send is received.
In the embodiment of the present invention, when user terminal judges that the priority of the connection of the user terminal is not highest priority
When, control instruction received by the user terminal cannot be immediately sent to wireless music system, at this point, the user terminal can will
The control instruction is stored in an instruction queue, and waits the time tag that there is the user terminal of highest priority to send,
Wherein, time tag includes effective period of time, and the user terminal with highest priority is not sent at it to wireless music system
In the period of instruction, i.e., in the time interval that sends instruction twice, such as: 200 milliseconds, wireless sound can be connected to other
The user terminal sending time token of music system.
When the user terminal receives the time tag of the transmission of the user terminal with highest priority, the user terminal
Control instruction can be sent to wireless music system in the effective period of time that time tag includes.Wherein, there is highest
The effective period of time that each time tag that the user terminal of priority is sent includes is not overlapped, i.e., each user terminal receives
The time tag that sends of user terminal with the highest priority effective period of time that includes it is different.
S206, in the effective period of time that time tag includes, control instruction is sent to wireless music system, and terminate
This process.
In the embodiment of the present invention, which sends control instruction in the effective period of time that time tag includes
Wireless music system is given, the effective period of time for including due to each time tag that the user terminal with highest priority is sent
It is not overlapped, and the user terminal with highest priority is to send within the time that it does not send instruction to other users terminal
Time tag, therefore when control instruction is sent to wireless music system in effective period of time by other users terminal, it can be with
Ensure that the time of all user terminal transmission control instructions does not conflict, so as to effectively control wireless music system.
S207, control instruction is sent to wireless music system.
In the embodiment of the present invention, when user terminal judges priority for highest priority, which has highest
Permission, control instruction can be sent to wireless music system immediately,
In the method flow described in Fig. 2, user terminal establishes the connection with wireless music system, and receives wireless sound
The priority for the connection that music system is sent, further, user terminal can receive user's input for controlling wireless music
The control instruction of system, and judge whether priority is highest priority, if it is not, user terminal can receive it is preferential with highest
The time tag that the user terminal of grade is sent, and can send control instruction in the effective period of time that time tag includes
Wireless music system is given, if so, wireless music system directly can be sent to control instruction.As it can be seen that real through the invention
Example is applied, input control instructs on the subscriber terminal simultaneously when multiple user terminals connection wireless music system and there are multiple users
When, each user terminal can first judge whether the priority of oneself is highest priority, if so, directly sending control instruction
Wireless music system is given, if it is not, the time tag that then etc. the user terminal to be received with highest priority is sent, due to having
The effective period of time that each time tag that the user terminal of highest priority is sent includes is not overlapped, and has highest priority
User terminal be to other users terminal sending time token within the time that it does not send control instruction, therefore when other use
When control instruction is sent to wireless music system in effective period of time by family terminal, it can be ensured that all user terminals are sent
The time of control instruction does not conflict, so as to effectively control wireless music system.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses a kind of transmission of control information method.It please join
See that Fig. 3, Fig. 3 are the flow diagrams of the method for another control information transmission disclosed by the embodiments of the present invention, as shown in figure 3,
This method may comprise steps of.
S301, user terminal establish the connection with wireless music system.
S302, user terminal receive the priority for the connection that wireless music system is sent.
S303, user terminal receive the control instruction for being used to control wireless music system of input.
S304, user terminal judge whether priority is highest priority, if it is not, step S305~S308 is executed, if so,
Execute step S310~S312.
S305, user terminal receive the time tag that there is the user terminal of highest priority to send.
S306, user terminal send control authority acquisition request to the user terminal with highest priority.
In the embodiment of the present invention, user terminal receives the time tag of the transmission of the user terminal with highest priority,
After the effective period of time for getting control instruction transmission in time tag, user terminal is also needed to the use with highest priority
Whether family terminal sends control authority acquisition request, met the requirements with the control content for determining that control instruction includes.
S307, user terminal receive the user terminal response control authority acquiring request with highest priority and send
Control authority.
In the embodiment of the present invention, the user terminal with highest priority is the other users for being connected to wireless music system
Terminal is assigned with control authority respectively, and other users terminal can only be sent in the control instruction within the scope of control authority, in this way, just
Wireless music system can be arbitrarily controlled to avoid user terminal.Wherein, which can include but is not limited to song addition
Permission, song delete permission, song editing authority and playback of songs control authority.
Whether the control content that S308, user terminal judge that control instruction includes belongs within the scope of control authority, if
It is step S309 to be executed, if it is not, terminating this process.
In the embodiment of the present invention, user terminal receives the user terminal response control authority acquiring with highest priority
It requests after the control authority of transmission, whether the control content that user terminal may determine that control instruction includes belongs to control
Within the scope of limit, if so, the control instruction can be sent to wireless music system, otherwise, the user by the user terminal
The control instruction cannot be sent to wireless music system by terminal.
S309, user terminal are sent to wireless music system in the effective period of time that time tag includes, by control instruction
System, and terminate this process.
Control instruction is sent to wireless music system by S310, user terminal.
S311, user terminal receive the identification information at least one access terminal that wireless music system is sent.
In the embodiment of the present invention, when user terminal judges priority for highest priority, which can be immediately
Control instruction is sent to wireless music system, meanwhile, user terminal can also receive at least the one of wireless music system transmission
The identification information of a access terminal, wherein the identification information is used for the identity information of unique identification access terminal, such as: access
IMEI (International Mobile Equipment Identity, mobile device international identity code), the MAC of terminal
Location, ID of access terminal etc., the priority of at least one access terminal is below highest priority.
Optionally, after step S310 and before step S311, user terminal can be sent to wireless music system
Identification information acquisition request, to trigger wireless music system response identification information acquisition request, inquiry connection wireless sound box system
At least one access terminal identification information, and return to the identification information of at least one access terminal to the user terminal.
Optionally, when wireless music system determines that the priority of the connection of user terminal is highest priority, wireless sound
The identification information of at least one access terminal of other connection wireless music systems automatically can be sent to this by music system
User terminal;
Alternatively, when wireless music system determines that the priority of the connection of user terminal is highest priority, and at user's end
After control instruction is sent to wireless music system by end, other automatically can be connected wireless music system by wireless music system
The identification information of at least one access terminal of system is sent to the user terminal.
S312, user terminal are sent out at least one access terminal respectively according to the identification information of at least one access terminal
Send time tag.
In the embodiment of the present invention, user terminal receives the mark of at least one access terminal of wireless music system transmission
After information, user terminal can be according to the identification information of at least one access terminal, at it not to wireless music system hair
It send in the time of instruction, respectively at least one access terminal sending time token, wherein each time tag includes effective
Period is not overlapped.In this way, each access terminal can only be in the effective period of time that the access terminal is got to wireless music
System sends control instruction, can ensure that the time of all user terminal transmission control instructions does not conflict in this way, thus
Wireless music system can effectively be controlled.
In the method flow described in Fig. 3, user terminal receive input for controlling wireless music system
After control instruction, user terminal can first judge whether the priority for the connection that wireless music system is sent is that highest is preferential
Grade if it is not, receiving the time tag that there is the user terminal of highest priority to send, and receives the user with highest priority
Control authority acquisition request that terminal response user terminal is sent and the control authority that sends, further, user terminal can be with
Whether the control content for judging that control instruction includes belongs within the scope of control authority, if so, having what time tag included
It imitates in the period, control instruction is sent to wireless music system;When the priority for the connection that wireless music system is sent is most
When high priority, control instruction directly can be sent to wireless music system by user terminal, and be sent to other users terminal
Time tag including effective period of time.As it can be seen that through the embodiment of the present invention, not only each user terminal is to wireless music system
The time of the control instruction of transmission does not conflict, and efficiently controls wireless music system, meanwhile, user terminal can also be in distribution
The control instruction with the matched control content of control authority is sent in the range of control authority, can be appointed in this way to avoid user terminal
Meaning control wireless music system.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is used to execute the side in embodiment of the present invention method
Method, for ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to
Above method embodiment of the present invention.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses a kind of user terminal.Refer to Fig. 4, Fig. 4
It is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention, as shown in figure 4, the user terminal 400 may include:
Unit 401 is established, for establishing and the connection of wireless music system;
Receiving unit 402, for receiving the priority for the connection that the wireless music system is sent;
The receiving unit 402 is also used to receive the control instruction for being used to control the wireless music system of input;
Judging unit 403, for judging whether the priority is highest priority;
The receiving unit 402 is also used to judge that the priority is not highest priority when the judging unit 403
When, receive the time tag that there is the user terminal of highest priority to send, wherein the time tag includes effective time
Section, the effective period of time that each time tag that the user terminal with highest priority is sent includes are not overlapped;
First transmission unit 404, in the effective period of time that the time tag includes, the control instruction to be sent out
Give the wireless music system.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses a kind of user terminal.Refer to Fig. 5, Fig. 5
It is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention, wherein user terminal shown in fig. 5 is in Fig. 4 institute
It is advanced optimized on the basis of the user terminal shown, compared with user terminal shown in Fig. 4, user shown in fig. 5 is whole
Other than holding all units in addition to including user terminal shown in Fig. 4, can also include:
Second transmission unit 405 for receiving in the receiving unit 402 there is the user terminal of highest priority to send
Time tag after, send control authority acquisition request to the user terminal with highest priority;
The receiving unit 402 is also used to receive the user terminal with highest priority and responds the control
The control authority for limiting acquisition request and sending;
Whether the judging unit 403, the control content for being also used to judge that the control instruction includes belong to the control
Within the scope of permission;
First transmission unit 404, specifically for judging the control that the control instruction includes when the judging unit 403
When content processed belongs within the scope of the control authority, in the effective period of time that the time tag includes, by the control
System instruction is sent to the wireless music system.
As an alternative embodiment, user terminal 400 shown in fig. 5 can also include:
Third transmission unit 406, for inciting somebody to action when the judging unit 403 judges the priority for highest priority
The control instruction is sent to the wireless music system.
As another optional embodiment, the receiving unit 402 is also used to receive the wireless music system hair
The identification information at least one access terminal sent, it is preferential that the priority of at least one access terminal is below the highest
Grade;
The third transmission unit 406 is also used to the identification information according at least one access terminal, respectively to institute
State at least one access terminal sending time token, wherein the effective period of time that each time tag includes is not overlapped.
In the user terminal 400 described in Fig. 4~Fig. 5, the connection of unit 401 foundation and wireless music system is established,
Receiving unit 402 receives the priority for the connection that wireless music system is sent, and further, receiving unit 402 can receive use
The control instruction for being used to control wireless music system of family input, judging unit 403 judge whether priority is highest priority,
If it is not, receiving unit 402 can receive the time tag of the transmission of the user terminal with highest priority, further, the
Control instruction can be sent to wireless music system in the effective period of time that time tag includes by one transmission unit 404.It can
See, through the embodiment of the present invention, when multiple user terminals connect wireless music system and there are multiple users while at user's end
When input control instructs on end, each user terminal can first judge whether the priority of oneself is highest priority, if it is not, then
Etc. the time tag that the user terminal to be received with highest priority is sent, due to the user terminal hair with highest priority
The effective period of time that each time tag sent includes is not overlapped, therefore when each user terminal refers to control in effective period of time
When order is sent to wireless music system, it can be ensured that the time that all user terminals send control instruction does not conflict, so as to
Effectively to control wireless music system.
Fig. 6 is referred to, Fig. 6 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.Such as Fig. 6 institute
Show, which may include: at least one processor 601, such as CPU, input unit 602, output device 603, storage
Device 604 and at least one communication bus 605.Wherein, communication bus 605 is for realizing the communication connection between these components,
Memory 604 can be high speed RAM memory, be also possible to non-labile memory (non-volatile memory), example
Such as at least one magnetic disk storage.Optionally, memory 604 can also be that at least one is located remotely from aforementioned processor 601
Storage device.Wherein, batch processing code is stored in memory 604, and processor 601 calls the journey stored in memory 604
Sequence code, for performing the following operations:
Establish the connection with wireless music system;
The priority for the connection that the wireless music system is sent is received by input unit 602;
The control instruction for being used to control the wireless music system of input is received by input unit 602;
Judge whether the priority is highest priority;
If it is not, receiving the time tag that there is the user terminal of highest priority to send by input unit 602, wherein
The time tag includes effective period of time, and each time tag that the user terminal with highest priority is sent includes
Effective period of time be not overlapped;
In the effective period of time that the time tag includes, the control instruction is sent to by output device 603
The wireless music system.
As an alternative embodiment, the processor 601 has highest preferential by the reception of input unit 602
Grade user terminal send time tag after, may call upon the program code stored in memory 604, for execute with
Lower operation:
Control authority acquisition request is sent to the user terminal with highest priority by output device 603;
The control authority acquisition of the user terminal response with highest priority is received by input unit 602 to ask
The control authority asked and sent;
Whether the control content for judging that the control instruction includes belongs within the scope of the control authority;
If so, described in executing in the effective period of time that the time tag includes, it will be described by output device 603
Control instruction is sent to the step of wireless music system.
Optionally, the frequency of the connection is bigger, and the priority of the connection is higher;Or, the time point of the connection gets over
Early, the priority of the connection is higher;
The control authority includes song addition permission, song deletion permission, song editing authority and playback of songs control
Any one of permission processed.
As another optional embodiment, when the processor 601 judges the priority for highest priority, lead to
It crosses output device 603 and the control instruction is sent to the wireless music system.
As another optional embodiment, the processor 601 may call upon the program stored in memory 604
Code, for performing the following operations:
The identification information at least one access terminal that the wireless music system is sent is received by input unit 602,
The priority of at least one access terminal is below the highest priority;
According to the identification information of at least one access terminal, by output device 603 respectively to it is described at least one
Access terminal sending time token, wherein the effective period of time that each time tag includes is not overlapped.
It should be noted that for simple description, therefore, it is stated as a systems for each embodiment of the method above-mentioned
The combination of actions of column, but those skilled in the art should understand that, the application is not limited by the described action sequence, because
For according to the application, certain some step be can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, related movement and unit not necessarily this Shen
It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment
Part, reference can be made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (12)
1. a kind of method of control information transmission characterized by comprising
Establish the connection with wireless music system;
Receive the priority for the connection that the wireless music system is sent;
Receive the control instruction for being used to control the wireless music system of input;
Judge whether the priority is highest priority;
If it is not, receiving the time tag that there is the user terminal of highest priority to send, wherein the time tag includes effective
Period, the effective period of time that each time tag that the user terminal with highest priority is sent includes are not overlapped;
In the effective period of time that the time tag includes, the control instruction is sent to the wireless music system.
2. the method according to claim 1, wherein there is described receive the user terminal of highest priority to send
Time tag after, the method also includes:
Control authority acquisition request is sent to the user terminal with highest priority;
Receive the control authority that the user terminal with highest priority responds the control authority acquisition request and sends;
Whether the control content for judging that the control instruction includes belongs within the scope of the control authority;
If so, the control instruction is sent to described described in executing in the effective period of time that the time tag includes
The step of wireless music system.
3. according to the method described in claim 2, it is characterized in that, the frequency of the connection is bigger, the priority of the connection
It is higher;Or, the time point of the connection is more early, the priority of the connection is higher;
The control authority includes song addition permission, song deletion permission, song editing authority and playback of songs control
Any one of limit.
4. described in any item methods according to claim 1~3, which is characterized in that the method also includes:
If the priority is highest priority, the control instruction is sent to the wireless music system.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Receive the identification information at least one access terminal that the wireless music system is sent, at least one described access terminal
Priority be below the highest priority;
According to the identification information of at least one access terminal, enabled respectively at least one described access terminal sending time
Board, wherein the effective period of time that each time tag includes is not overlapped.
6. a kind of user terminal characterized by comprising
Unit is established, for establishing and the connection of wireless music system;
Receiving unit, for receiving the priority for the connection that the wireless music system is sent;
The receiving unit is also used to receive the control instruction for being used to control the wireless music system of input;
Judging unit, for judging whether the priority is highest priority;
The receiving unit is also used to when it is highest priority that the judging unit, which judges the priority not, and reception has
The time tag that the user terminal of highest priority is sent, wherein the time tag includes effective period of time, described to have most
The effective period of time that each time tag that the user terminal of high priority is sent includes is not overlapped;
First transmission unit, in the effective period of time that the time tag includes, the control instruction to be sent to institute
State wireless music system.
7. user terminal according to claim 6, which is characterized in that the user terminal further include:
Second transmission unit, for receiving the time tag that there is the user terminal of highest priority to send in the receiving unit
Later, the user terminal to described with highest priority sends control authority acquisition request;
The receiving unit is also used to receive the control authority acquisition of the user terminal response with highest priority and asks
The control authority asked and sent;
The judging unit, is also used to judge whether control content that the control instruction includes belongs to the model of the control authority
Within enclosing;
First transmission unit belongs to specifically for the control content for judging that the control instruction includes when the judging unit
When within the scope of the control authority, in the effective period of time that the time tag includes, the control instruction is sent
To the wireless music system.
8. user terminal according to claim 7, which is characterized in that the frequency of the connection is bigger, the connection it is excellent
First grade is higher;Or, the time point of the connection is more early, the priority of the connection is higher;
The control authority includes song addition permission, song deletion permission, song editing authority and playback of songs control
Any one of limit.
9. according to the described in any item user terminals of claim 6~8, which is characterized in that the user terminal further include:
Third transmission unit, for when the judging unit judges the priority for highest priority, the control to be referred to
Order is sent to the wireless music system.
10. user terminal according to claim 9, which is characterized in that the receiving unit is also used to receive described wireless
The identification information at least one access terminal that music system is sent, the priority of at least one access terminal are below institute
State highest priority;
The third transmission unit is also used to the identification information according at least one access terminal, respectively to it is described at least
One access terminal sending time token, wherein the effective period of time that each time tag includes is not overlapped.
11. a kind of computer-readable storage medium, which is characterized in that the computer-readable storage medium is stored with calculating
Machine program, the computer program is for instructing related hardware, to complete method described in claim 1 to 5 any one.
12. a kind of user terminal characterized by comprising communication bus,
It further include such as lower component: at least one processor, input unit, output device and memory;
Wherein, communication bus is for realizing the communication connection between these components;
Wherein, batch processing code is stored in memory, and processor calls the program code stored in memory, to be used for
Perform claim requires method described in 1 to 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510751381.1A CN105282856B (en) | 2015-11-04 | 2015-11-04 | A kind of method and user terminal of the transmission of control information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510751381.1A CN105282856B (en) | 2015-11-04 | 2015-11-04 | A kind of method and user terminal of the transmission of control information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105282856A CN105282856A (en) | 2016-01-27 |
CN105282856B true CN105282856B (en) | 2019-02-01 |
Family
ID=55150976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510751381.1A Active CN105282856B (en) | 2015-11-04 | 2015-11-04 | A kind of method and user terminal of the transmission of control information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105282856B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112091425B (en) * | 2020-09-04 | 2022-04-05 | 深圳泰软软件科技有限公司 | Laser control method, device and medium |
CN113590079B (en) * | 2021-08-05 | 2024-03-22 | 广州飞傲电子科技有限公司 | Music playing control method, device and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123656A (en) * | 2006-08-11 | 2008-02-13 | 艾威梯软件技术(北京)有限公司 | A short distance wireless communication system and method for connecting multiple sub-communication systems |
CN102141902A (en) * | 2010-01-29 | 2011-08-03 | 夏普株式会社 | Print processing device |
EP2579608A1 (en) * | 2011-10-07 | 2013-04-10 | Nokia Siemens Networks Oy | Conflict processing accessing a personal TV functionality by a plurality of users |
CN104980514A (en) * | 2015-06-19 | 2015-10-14 | 广东欧珀移动通信有限公司 | Remote play control method and apparatus of wireless sound box |
-
2015
- 2015-11-04 CN CN201510751381.1A patent/CN105282856B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123656A (en) * | 2006-08-11 | 2008-02-13 | 艾威梯软件技术(北京)有限公司 | A short distance wireless communication system and method for connecting multiple sub-communication systems |
CN102141902A (en) * | 2010-01-29 | 2011-08-03 | 夏普株式会社 | Print processing device |
EP2579608A1 (en) * | 2011-10-07 | 2013-04-10 | Nokia Siemens Networks Oy | Conflict processing accessing a personal TV functionality by a plurality of users |
CN104980514A (en) * | 2015-06-19 | 2015-10-14 | 广东欧珀移动通信有限公司 | Remote play control method and apparatus of wireless sound box |
Also Published As
Publication number | Publication date |
---|---|
CN105282856A (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105898428B (en) | User identity management method and device | |
EP3169086A1 (en) | Connection method for multimedia playing device, master device, control terminal, and system | |
US20170094410A1 (en) | Speaker parameter configuration method and mobile terminal | |
WO2017029946A1 (en) | Audio system, audio device, and audio device setting method | |
CN108810748B (en) | Information processing method, playing device and medium product | |
CN104063121A (en) | Method and device for song requesting control | |
CN105515942A (en) | Method for playing voice message automatically and electronic equipment | |
CN113111199B (en) | Method and device for continuing playing of multimedia resource, storage medium and electronic device | |
CN104751864A (en) | Multi-playing device control method and related device and system | |
KR101825856B1 (en) | Software distribution architecture for hardware devices | |
CN109147789A (en) | Voice response method and device of household appliance | |
CN105282856B (en) | A kind of method and user terminal of the transmission of control information | |
CN105022297A (en) | Sound box parameter configuration method, mobile terminal, server and system | |
CN108124130A (en) | A kind of doorbell based reminding method, device, computer equipment and readable storage medium storing program for executing | |
CN105903191B (en) | The data processing method and system of cross-terminal | |
CN104837216B (en) | The method and device of intelligent terminal reconnection wireless smart devices | |
CN105847096A (en) | Audio frequency data communication method, device and system | |
CN105682010B (en) | Bluetooth connection control method, device and playback equipment in audio frequency broadcast system | |
CN105025413B (en) | A kind of sound box parameter collocation method and mobile terminal | |
CN104185163A (en) | Information interaction method and electronic equipment | |
CN105025353B (en) | A kind of control method for playing back and user terminal | |
CN108696842A (en) | A kind of equipment and its network-building method, output method | |
CN109407843A (en) | Method and device for controlling multimedia playing, storage medium and electronic device | |
CN108055655A (en) | Method, device and equipment for adding friend to voice equipment and storage medium | |
CN105282658B (en) | A kind of control method of audio-frequence player device, system and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |