CN105392086A - Information processing method and play equipment - Google Patents

Information processing method and play equipment Download PDF

Info

Publication number
CN105392086A
CN105392086A CN201510745319.1A CN201510745319A CN105392086A CN 105392086 A CN105392086 A CN 105392086A CN 201510745319 A CN201510745319 A CN 201510745319A CN 105392086 A CN105392086 A CN 105392086A
Authority
CN
China
Prior art keywords
control command
timestamp
earliest
instruction
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510745319.1A
Other languages
Chinese (zh)
Other versions
CN105392086B (en
Inventor
林尚波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810489073.XA priority Critical patent/CN108810748B/en
Priority to CN201510745319.1A priority patent/CN105392086B/en
Publication of CN105392086A publication Critical patent/CN105392086A/en
Application granted granted Critical
Publication of CN105392086B publication Critical patent/CN105392086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers

Abstract

The embodiment of the invention discloses an information processing method and play equipment. The method comprises: a control instruction sent by a user terminal is received, wherein the control instruction contains a timestamp of sending time of the control instruction; the control instruction is stored into an instruction queue for storing to-be-executed control instructions; all control instructions in the instruction queue are scanned and the control instruction with the earliest timestamp among all control instructions is read; the control instruction with the earliest timestamp is executed; and the control instruction with the earliest timestamp is deleted from the instruction queue. With the method and equipment, a wireless music system can be controlled effectively.

Description

A kind of information processing method and playback equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of information processing method and playback equipment.
Background technology
Along with the raising of people's quality of the life, increasing user likes placing multiple audio amplifier (i.e. playback equipment) at home, and this multiple audio amplifier can form a wireless music system.The user terminal (as smart mobile phone) being provided with control APP can be connected with wireless music system by wireless network, thus controls wireless music system.
But find in practice, when user terminal is to wireless music system sending controling instruction, due to reasons such as network delays, the following situation of easy appearance: namely user terminal sends multiple control command to wireless music system first, wireless music system but receives at one time, now, wireless music system cannot respond the plurality of control command simultaneously, thus causes uncontrollable wireless music system.
Summary of the invention
Embodiments provide a kind of information processing method and playback equipment, can effectively control wireless music system.
Embodiment of the present invention first aspect discloses a kind of information processing method, comprising:
Receive the control command that user terminal sends, described control command comprises timestamp when described control command is sent out;
Be stored in instruction queue by described control command, described instruction queue is for storing pending control command;
Scan control commands all in described instruction queue, and read timestamp control command the earliest in described all control commands;
Perform described timestamp control command the earliest;
Described timestamp control command is the earliest deleted from described instruction queue.
In conjunction with first aspect, in the first possible execution mode of first aspect, described from described instruction queue, delete described timestamp control command the earliest after, described method also comprises:
Judge whether there is target control instruction in the remaining control command of described instruction queue, described target control instruction and described timestamp control command are the earliest that same user terminal sends;
When there is target control instruction in the remaining control command of described instruction queue, judge whether described target control instruction and described timestamp control command is the earliest formed and associate control command, if so, then read described target control instruction, and perform described target control instruction.
In conjunction with the first possible execution mode of first aspect, in the execution mode that the second of first aspect is possible, describedly judge whether described target control instruction and described timestamp control command is the earliest formed and associate control command, comprising:
Judge whether the difference of the timestamp of described target control instruction and the timestamp of described timestamp control command is the earliest less than or equal to Preset Time and stabs threshold value, if so, then determine that described target control instruction and described timestamp control command is the earliest formed and associate control command.
In conjunction with the first possible execution mode of first aspect or the possible execution mode of the second of first aspect, in the third possible execution mode of first aspect, described method also comprises:
When described target control instruction and described timestamp control command the earliest do not form associate control command time, read timestamp control command the earliest in the remaining control command of described instruction queue, and perform timestamp control command the earliest in the remaining control command of described instruction queue.
In conjunction with first aspect to any one in the possible execution mode of the second of first aspect, in the 4th kind of possible execution mode of first aspect, after the control command that described reception user terminal sends, described method also comprises:
Judge that the timestamp of described control command is whether early than the timestamp of the current control command performed;
If not, then the described step described control command be stored in instruction queue is performed.
Embodiment of the present invention second aspect discloses a kind of playback equipment, comprising:
Receiving element, for receiving the control command that user terminal sends, described control command comprises timestamp when described control command is sent out;
Memory cell, for being stored in instruction queue by described control command, described instruction queue is for storing pending control command;
Reading unit, for scanning control commands all in described instruction queue, and reads timestamp control command the earliest in described all control commands;
Performance element, for performing described timestamp control command the earliest;
Delete cells, for deleting described timestamp control command the earliest from described instruction queue.
In conjunction with second aspect, in the first possible execution mode of second aspect, described playback equipment also comprises:
First judging unit, after deleting described timestamp control command the earliest at described delete cells from described instruction queue, judge whether there is target control instruction in the remaining control command of described instruction queue, described target control instruction and described timestamp control command are the earliest that same user terminal sends;
Second judging unit, during for judging to there is target control instruction in the remaining control command of described instruction queue when described first judging unit, judging whether described target control instruction and described timestamp control command is the earliest formed and associating control command;
Described reading unit, also for judge when described second judging unit described target control instruction and described timestamp control command the earliest form associate control command time, read described target control instruction;
Described performance element, also for performing described target control instruction.
In conjunction with the first possible execution mode of second aspect, in the execution mode that the second of second aspect is possible, described second judging unit judges whether described target control instruction and described timestamp control command the earliest forms the mode associating control command and be specially:
Judge whether the difference of the timestamp of described target control instruction and the timestamp of described timestamp control command is the earliest less than or equal to Preset Time and stabs threshold value, if so, then determine that described target control instruction and described timestamp control command is the earliest formed and associate control command.
In conjunction with the first possible execution mode of second aspect or the possible execution mode of the second of second aspect, in the third possible execution mode of second aspect, described reading unit also for judge when described second judging unit described target control instruction and described timestamp control command the earliest do not form associate control command time, read timestamp control command the earliest in the remaining control command of described instruction queue;
Described performance element, also for performing timestamp control command the earliest in the remaining control command of described instruction queue.
In conjunction with second aspect to any one in the possible execution mode of the second of second aspect, in the 4th kind of possible execution mode of second aspect, described playback equipment also comprises:
3rd judging unit, for receive control command that user terminal sends at described receiving element after, judges that the timestamp of described control command is whether early than the timestamp of the current control command performed;
Described memory cell, has for when described 3rd judging unit judges that the timestamp of described control command is no earlier than the timestamp of the current control command performed, described control command is stored in instruction queue.
In the embodiment of the present invention, playback equipment can receive the control command that user terminal sends, this control command comprises timestamp when control command is sent out, and control command is stored in instruction queue, further, playback equipment can be all in scan instruction queue control command, read timestamp control command the earliest in all control commands, and time of implementation stamp control command the earliest; Further, playback equipment can stab control command the earliest by erasing time from instruction queue.Visible, pass through the embodiment of the present invention, when playback equipment receives a control command, playback equipment is not perform this control command immediately, but first this control command is stored in instruction queue, and timestamp control command the earliest in control commands all in reading command queue, and perform this timestamp control command the earliest, execute rear and delete this timestamp control command the earliest.Like this, no matter playback equipment receives how many control commands simultaneously, and what playback equipment performed is all timestamp control command the earliest, thus can effectively control wireless music system.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of a kind of information processing method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind of information processing method disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of playback equipment disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of playback equipment disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of playback equipment disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of information processing method and playback equipment, can effectively control wireless music system.Below be described in detail respectively.
A kind of method that disclosed in embodiment, control information is transmitted for a better understanding of the present invention and user terminal, be first described the network configuration that the embodiment of the present invention is suitable for below.Refer to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.In the network architecture shown in Fig. 1, multiple user terminal can be comprised, wireless routing device and the wireless music system be made up of multiple playback equipment, wherein, each user terminal all can (as WI-FI) and wireless routing device communicate to connect to wirelessly, can (AD-HOC network form or MESH network form) establish a communications link to wirelessly between all playback equipments in wireless music system, wherein, there is a playback equipment (as playback equipment 1) directly can be communicated to connect by wireless or wired mode and wireless routing device, and other playback equipments are (as playback equipment 2, playback equipment 3, playback equipment 4) indirectly can be communicated with wireless routing device by playback equipment 1, be provided with after the user terminal of control APP and wireless routing device set up wireless connections, user terminal just can be communicated to connect with wireless music system by wireless routing device indirectly, and all playback equipments controlled in wireless music system.In the network architecture shown in Fig. 1, user terminal can include but not limited to smart mobile phone, notebook computer, personal computer (PersonalComputer, PC), personal digital assistant (PersonalDigitalAssistant, PDA), mobile internet device (MobileInternetDevice, MID), Intelligent worn device is (as intelligent watch, Intelligent bracelet) etc. all types of user terminal, playback equipment can include but not limited to audio amplifier, MP4, MP3, multimedia equipment and any equipment etc. possessing playing function, wireless routing device can include but not limited to wireless router and any equipment etc. with wireless coverage function.By implementing the network architecture shown in Fig. 1, user terminal can be made effectively to control wireless music system.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of information processing method.Refer to Fig. 2, Fig. 2 is the schematic flow sheet of a kind of information processing method disclosed in the embodiment of the present invention, and as shown in Figure 2, the method can comprise the following steps.
The control command that S201, reception user terminal send.
In the embodiment of the present invention, user can place multiple playback equipment (as audio amplifier) at home, and this multiple playback equipment can be disposed arbitrarily, such as: in same floor, multiple playback equipment is placed on different rooms respectively, as playback equipment 1 and playback equipment 2 are placed on parlor; Playback equipment 3 is placed on bedroom; Playback equipment 4 is placed on study; In the building of multilayer, multiple playback equipment is placed on different floors.This multiple playback equipment can form a wireless music system, can communicate to wirelessly between the playback equipment in wireless music system, and forms internal network, i.e. a MESH network.
User terminal can set up the connection with wireless music system by wireless routing device, network architecture shown in Fig. 1, user terminal and wireless music system all keep wireless connections with wireless routing device, and the user terminal being provided with control APP can be communicated with wireless music system by wireless routing device.Wherein, this control APP can store the relevant information of all playback equipments that wireless music system comprises, such as: the song on the mark of all playback equipments, the grouping information of playback equipment, each playback equipment is arranged (song list, volume) etc.
In the embodiment of the present invention, when user needs to use user terminal to control the playback equipment in unlimited musical system, user terminal can to the controlled playback equipment sending controling instruction of needs.Simultaneously, playback equipment will receive the control command that user terminal sends, wherein, this control command can include but not limited to add song instruction, delete song instruction and play pause instruction, and this control command comprises timestamp when control command is sent out.For example, suppose that user terminal is the control command that 8:20 sends, due to reasons such as network delays, playback equipment can postpone to receive this control command, can carry a timestamp in this control command, this timestamp characterizes time point 8:20 when this control command is sent out.
It should be noted that, the timestamp that the control command that embodiment of the present invention acquiescence playback equipment receives is carried is all not identical.
S202, control command to be stored in instruction queue.
In the embodiment of the present invention, due to reasons such as network delays, playback equipment may receive the control command of multiple user terminal successively transmission or multiple control commands of same user terminal successively transmission simultaneously, now, playback equipment cannot perform these control commands simultaneously, playback equipment can be stored in the control command received in instruction queue, and wherein, this instruction queue is for storing pending control command.
In one embodiment, after playback equipment receives the control command of user terminal transmission, playback equipment first can judge the timestamp of the control command whether timestamp of this control command is performing, if not, then playback equipment just can be stored in instruction queue the control command just received, otherwise, directly the control command received is abandoned and do not store, so just can perform control command successively according to the sequencing of timestamp, guarantee effectively to control the playback equipment in wireless music system.
Control commands all in S203, scan instruction queue, and read timestamp control command the earliest in all control commands.
In the embodiment of the present invention, after control command is stored in instruction queue by playback equipment, the control command that playback equipment can be all in first scan instruction queue, extracts the timestamp of all control commands, determine timestamp control command the earliest, and read timestamp control command the earliest.
S204, time of implementation stamp control command the earliest.
S205, from instruction queue erasing time stamp control command the earliest.
In the embodiment of the present invention, after playback equipment executes timestamp control command the earliest, playback equipment can stab control command the earliest by erasing time from instruction queue, like this, not only can save the memory space of instruction queue, meanwhile, what can also guarantee to store in instruction queue is all pending control command.
In the embodiment of the present invention, playback equipment can circulate and perform the step of step S201 ~ S205, no matter playback equipment receives how many control commands, playback equipment all can perform control command according to the sequencing of timestamp successively, so just effectively can control the playback equipment in wireless music system.
In the method flow described by Fig. 2, playback equipment can receive the control command that user terminal sends, this control command comprises timestamp when control command is sent out, and control command is stored in instruction queue, further, playback equipment can be all in scan instruction queue control command, read timestamp control command the earliest in all control commands, and time of implementation stamp control command the earliest; Further, playback equipment can stab control command the earliest by erasing time from instruction queue.Visible, pass through the embodiment of the present invention, when playback equipment receives a control command, playback equipment is not perform this control command immediately, but first this control command is stored in instruction queue, and timestamp control command the earliest in control commands all in reading command queue, and perform this timestamp control command the earliest, execute rear and delete this timestamp control command the earliest.Like this, no matter playback equipment receives how many control commands simultaneously, and what playback equipment performed is all timestamp control command the earliest, thus can effectively control wireless music system.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of information processing method.Refer to Fig. 3, Fig. 3 is the schematic flow sheet of another kind of information processing method disclosed in the embodiment of the present invention, and as shown in Figure 3, the method can comprise the following steps.
S301, playback equipment receive the control command that user terminal sends.
S302, playback equipment judge that the timestamp of control command is whether early than the timestamp of the current control command performed, and if not, performs step S303 ~ S307, if so, process ends.
In the embodiment of the present invention, due to reasons such as network delays, receive after the control command likely first sent, such as: the timestamp that control command A is sent out is 8 points, the timestamp that control command B is sent out is 8:20, and the time that playback equipment receives control command A is 9:20, the time receiving control command B is 9 points.
In the embodiment of the present invention, because playback equipment is to perform control command according to the sequencing of timestamp, therefore, after playback equipment receives the control command of user terminal transmission, playback equipment needs first to judge that the timestamp of control command is whether early than the timestamp of the current control command performed, if not, this control command can be stored in instruction queue by playback equipment, this control command waits for that the control command more Zao than its timestamp is performed after executing again, if so, the control command received can abandon and not store by playback equipment.
For example, suppose currently to perform control command B, now have received control command A and control command C, and the timestamp that control command A is sent out is 8 points, the timestamp that control command B is sent out is 8:20, the timestamp that control command C is sent out is 9 points, namely the timestamp of control command A is early than the timestamp of the current control command B performed, the timestamp of control command C is later than the timestamp of the current control command B performed, this time, playback equipment directly will abandon control command A, and is stored in instruction queue by control command C.
Control command is stored in instruction queue by S303, playback equipment.
Control commands all in S304, the queue of playback equipment scan instruction, and read timestamp control command the earliest in all control commands.
S305, playback equipment time of implementation stamp control command the earliest.
S306, playback equipment be erasing time stamp control command the earliest from instruction queue.
Whether there is target control instruction in S307, the remaining control command of playback equipment decision instruction queue, if so, perform step S308, if not, perform step S310.
In the embodiment of the present invention, playback equipment executes timestamp control command the earliest and after deleting this timestamp control command the earliest, whether playback equipment can exist target control instruction in the remaining control command of decision instruction queue, wherein, this target control instruction and timestamp control command are the earliest that same user terminal sends, if, playback equipment can perform step S308 further, if not, playback equipment according to the sequencing of timestamp, can perform timestamp control command the earliest in the remaining control command of instruction queue.
S308, playback equipment judge whether target control instruction and timestamp control command is the earliest formed and associate control command, if so, perform step S309, if not, perform step S310.
In the embodiment of the present invention, after there is target control instruction in the remaining control command of playback equipment decision instruction queue, playback equipment can judge whether target control instruction and timestamp control command is the earliest formed further and associate control command, if this target control instruction and timestamp control command is the earliest formed associate control command, be continuously performed in order to ensure association control command, playback equipment can perform timestamp control command the earliest in the remaining control command of instruction queue not in accordance with the sequencing of timestamp, but perform this target control instruction, if this target control instruction and timestamp control command the earliest is not formed associate control command, playback equipment still according to the sequencing of timestamp, can perform timestamp control command the earliest in the remaining control command of instruction queue.
Wherein, this association control command can be the instruction for same control object, and such as, user terminal can successively send volume control command, and this multiple volume control command just can form association control command.
For example, control command A is stored in presumptive instruction queue, control command B, control command C and control command D, and the timestamp of control command A is early than the timestamp of control command B, the timestamp of control command B is early than the timestamp of control command C, the timestamp of control command C is early than the timestamp of control command D, after playback equipment executes control command A, playback equipment can remaining control command B in first decision instruction queue, whether exist in control command C and control command D with control command A is the control command that same user terminal sends, if control command D and control command A is the control command that same user terminal sends, playback equipment judges whether control command D is formed with control command A further and associates control command, if, then playback equipment first performs control command D, if not, then playback equipment will to perform in instruction queue timestamp control command B the earliest in remaining control command.
Optionally, playback equipment judges whether target control instruction and timestamp control command the earliest forms the mode associating control command and be specially:
Judge whether the difference of the timestamp of target control instruction and the timestamp of timestamp control command is the earliest less than or equal to Preset Time and stabs threshold value, if so, then determine that target control instruction and timestamp control command is the earliest formed and associate control command.
Wherein, this Preset Time stamp threshold value can be the user-defined time, the time that also can arrange for system default, such as 1s, 5s etc.
S309, playback equipment read target control instruction, and performance objective control command, and process ends.
Timestamp control command the earliest in S310, the remaining control command of playback equipment reading command queue, and perform timestamp control command the earliest in the remaining control command of instruction queue.
In the method flow described by Fig. 3, after receiving the control command of user terminal transmission, if the timestamp of this control command is later than the timestamp of the current control command performed, playback equipment will be stored in instruction queue this control command, and perform timestamp control command the earliest in instruction queue, further, whether playback equipment can exist target control instruction in the remaining control command of decision instruction queue, when there is target control instruction in the remaining control command of instruction queue, judge whether target control instruction and timestamp control command is the earliest formed and associate control command, if, then perform this target control instruction, otherwise, playback equipment performs timestamp control command the earliest in the remaining control command of instruction queue.Visible, implement the embodiment of the present invention, not only effectively can control the playback equipment in wireless music system, meanwhile, can also guarantee that the multiple control commands forming association control command are performed continuously, improve Consumer's Experience.
Be apparatus of the present invention embodiment below, apparatus of the present invention embodiment, for performing the method in the inventive method embodiment, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to said method embodiment of the present invention.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of playback equipment.Refer to Fig. 4, Fig. 4 is the structural representation of a kind of playback equipment disclosed in the embodiment of the present invention, and as shown in Figure 4, this playback equipment 400 can comprise:
Receiving element 401, for receiving the control command that user terminal sends, described control command comprises timestamp when described control command is sent out;
Memory cell 402, for being stored in instruction queue by described control command, described instruction queue is for storing pending control command;
Reading unit 403, for scanning control commands all in described instruction queue, and reads timestamp control command the earliest in described all control commands;
Performance element 404, for performing described timestamp control command the earliest;
Delete cells 405, for deleting described timestamp control command the earliest from described instruction queue.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of playback equipment.Refer to Fig. 5, Fig. 5 is the structural representation of another kind of playback equipment disclosed in the embodiment of the present invention, wherein, playback equipment shown in Fig. 5 is that the enterprising one-step optimization in basis of playback equipment shown in Fig. 4 obtains, compared with the playback equipment shown in Fig. 4, playback equipment shown in Fig. 5, except all unit comprising the playback equipment shown in Fig. 4, can also comprise:
First judging unit 406, after deleting described timestamp control command the earliest at described delete cells 405 from described instruction queue, judge whether there is target control instruction in the remaining control command of described instruction queue, described target control instruction and described timestamp control command are the earliest that same user terminal sends;
Second judging unit 407, for when described first judging unit 406 judges to there is target control instruction in the remaining control command of described instruction queue, judge whether described target control instruction and described timestamp control command is the earliest formed and associate control command;
Described reading unit 403, also for judge when described second judging unit 407 described target control instruction and described timestamp control command the earliest form associate control command time, read described target control instruction;
Described performance element 404, also for performing described target control instruction.
As the optional execution mode of one, described second judging unit 407 judges whether described target control instruction and described timestamp control command the earliest forms the mode associating control command and be specially:
Judge whether the difference of the timestamp of described target control instruction and the timestamp of described timestamp control command is the earliest less than or equal to Preset Time and stabs threshold value, if so, then determine that described target control instruction and described timestamp control command is the earliest formed and associate control command.
As the optional execution mode of another kind, described reading unit 403 also for judge when described second judging unit 407 described target control instruction and described timestamp control command the earliest do not form associate control command time, read timestamp control command the earliest in the remaining control command of described instruction queue;
Described performance element 404, also for performing timestamp control command the earliest in the remaining control command of described instruction queue.
As the optional execution mode of another kind, the playback equipment 400 shown in Fig. 5 can also comprise:
3rd judging unit 408, for receive control command that user terminal sends at described receiving element 401 after, judges that the timestamp of described control command is whether early than the timestamp of the current control command performed;
Described memory cell 402, has for when described 3rd judging unit 408 judges that the timestamp of described control command is no earlier than the timestamp of the current control command performed, described control command is stored in instruction queue.
In the playback equipment 400 described by Fig. 4 ~ Fig. 5, receiving element 401 can receive the control command that user terminal sends, this control command comprises timestamp when control command is sent out, control command is stored in instruction queue by memory cell 402, further, reading unit 403 can be all in scan instruction queue control command, read timestamp control command the earliest in all control commands, performance element 404 time of implementation stamp control command the earliest; Further, delete cells 405 can stab control command the earliest by erasing time from instruction queue.Visible, pass through the embodiment of the present invention, when playback equipment receives a control command, playback equipment is not perform this control command immediately, but first this control command is stored in instruction queue, and timestamp control command the earliest in control commands all in reading command queue, and perform this timestamp control command the earliest, execute rear and delete this timestamp control command the earliest.Like this, no matter playback equipment receives how many control commands simultaneously, and what playback equipment performed is all timestamp control command the earliest, thus can effectively control wireless music system.
Refer to Fig. 6, Fig. 6 is the structural representation of another kind of playback equipment disclosed in the embodiment of the present invention.As shown in Figure 6, this playback equipment 600 can comprise: at least one processor 601, as CPU, and input unit 602, memory 603 and at least one communication bus 604.Wherein, communication bus 604 is for realizing the communication connection between these assemblies, and memory 603 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store.Alternatively, memory 603 can also be that at least one is positioned at the storage device away from aforementioned processor 601.Wherein, in memory 603, store batch processing code, and processor 601 calls the program code stored in memory 603, for performing following operation:
Received the control command of user terminal transmission by input unit 602, described control command comprises timestamp when described control command is sent out;
Be stored in instruction queue by described control command, described instruction queue is for storing pending control command;
Scan control commands all in described instruction queue, and read timestamp control command the earliest in described all control commands;
Perform described timestamp control command the earliest;
Described timestamp control command is the earliest deleted from described instruction queue.
As the optional execution mode of one, after described timestamp control command the earliest deleted by described processor 601 from described instruction queue, the program code stored in memory 603 can also be called, for performing following operation:
Judge whether there is target control instruction in the remaining control command of described instruction queue, described target control instruction and described timestamp control command are the earliest that same user terminal sends;
When there is target control instruction in the remaining control command of described instruction queue, judge whether described target control instruction and described timestamp control command is the earliest formed and associate control command, if so, then read described target control instruction, and perform described target control instruction.
Optionally, described processor 601 judges whether described target control instruction and described timestamp control command the earliest forms the method associating control command and be specially:
Judge whether the difference of the timestamp of described target control instruction and the timestamp of described timestamp control command is the earliest less than or equal to Preset Time and stabs threshold value, if so, then determine that described target control instruction and described timestamp control command is the earliest formed and associate control command.
As the optional execution mode of another kind, described processor 601 can also call the program code stored in memory 603, for performing following operation:
When described target control instruction and described timestamp control command the earliest do not form associate control command time, read timestamp control command the earliest in the remaining control command of described instruction queue, and perform timestamp control command the earliest in the remaining control command of described instruction queue.
As the optional execution mode of another kind, described processor 601 can also call the program code stored in memory 603, for performing following operation after receiving the control command of user terminal transmission by input unit 602:
Judge that the timestamp of described control command is whether early than the timestamp of the current control command performed;
If not, then the described step described control command be stored in instruction queue is performed.
It should be noted that, for each embodiment of the method aforesaid, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, certain some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and unit might not be that the application is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. an information processing method, is characterized in that, comprising:
Receive the control command that user terminal sends, described control command comprises timestamp when described control command is sent out;
Be stored in instruction queue by described control command, described instruction queue is for storing pending control command;
Scan control commands all in described instruction queue, and read timestamp control command the earliest in described all control commands;
Perform described timestamp control command the earliest;
Described timestamp control command is the earliest deleted from described instruction queue.
2. method according to claim 1, is characterized in that, described from described instruction queue, delete described timestamp control command the earliest after, described method also comprises:
Judge whether there is target control instruction in the remaining control command of described instruction queue, described target control instruction and described timestamp control command are the earliest that same user terminal sends;
When there is target control instruction in the remaining control command of described instruction queue, judge whether described target control instruction and described timestamp control command is the earliest formed and associate control command, if so, then read described target control instruction, and perform described target control instruction.
3. method according to claim 2, is characterized in that, describedly judges whether described target control instruction and described timestamp control command is the earliest formed and associates control command, comprising:
Judge whether the difference of the timestamp of described target control instruction and the timestamp of described timestamp control command is the earliest less than or equal to Preset Time and stabs threshold value, if so, then determine that described target control instruction and described timestamp control command is the earliest formed and associate control command.
4. according to the method in claim 2 or 3, it is characterized in that, described method also comprises:
When described target control instruction and described timestamp control command the earliest do not form associate control command time, read timestamp control command the earliest in the remaining control command of described instruction queue, and perform timestamp control command the earliest in the remaining control command of described instruction queue.
5. the method according to any one of claims 1 to 3, is characterized in that, after the control command that described reception user terminal sends, described method also comprises:
Judge that the timestamp of described control command is whether early than the timestamp of the current control command performed;
If not, then the described step described control command be stored in instruction queue is performed.
6. a playback equipment, is characterized in that, comprising:
Receiving element, for receiving the control command that user terminal sends, described control command comprises timestamp when described control command is sent out;
Memory cell, for being stored in instruction queue by described control command, described instruction queue is for storing pending control command;
Reading unit, for scanning control commands all in described instruction queue, and reads timestamp control command the earliest in described all control commands;
Performance element, for performing described timestamp control command the earliest;
Delete cells, for deleting described timestamp control command the earliest from described instruction queue.
7. playback equipment according to claim 6, is characterized in that, described playback equipment also comprises:
First judging unit, after deleting described timestamp control command the earliest at described delete cells from described instruction queue, judge whether there is target control instruction in the remaining control command of described instruction queue, described target control instruction and described timestamp control command are the earliest that same user terminal sends;
Second judging unit, during for judging to there is target control instruction in the remaining control command of described instruction queue when described first judging unit, judging whether described target control instruction and described timestamp control command is the earliest formed and associating control command;
Described reading unit, also for judge when described second judging unit described target control instruction and described timestamp control command the earliest form associate control command time, read described target control instruction;
Described performance element, also for performing described target control instruction.
8. playback equipment according to claim 7, is characterized in that, described second judging unit judges whether described target control instruction and described timestamp control command the earliest forms the mode associating control command and be specially:
Judge whether the difference of the timestamp of described target control instruction and the timestamp of described timestamp control command is the earliest less than or equal to Preset Time and stabs threshold value, if so, then determine that described target control instruction and described timestamp control command is the earliest formed and associate control command.
9. the playback equipment according to claim 7 or 8, it is characterized in that, described reading unit also for judge when described second judging unit described target control instruction and described timestamp control command the earliest do not form associate control command time, read timestamp control command the earliest in the remaining control command of described instruction queue;
Described performance element, also for performing timestamp control command the earliest in the remaining control command of described instruction queue.
10. the playback equipment according to any one of claim 6 ~ 8, is characterized in that, described playback equipment also comprises:
3rd judging unit, for receive control command that user terminal sends at described receiving element after, judges that the timestamp of described control command is whether early than the timestamp of the current control command performed;
Described memory cell, has for when described 3rd judging unit judges that the timestamp of described control command is no earlier than the timestamp of the current control command performed, described control command is stored in instruction queue.
CN201510745319.1A 2015-11-04 2015-11-04 A kind of information processing method and playback equipment Active CN105392086B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810489073.XA CN108810748B (en) 2015-11-04 2015-11-04 Information processing method, playing device and medium product
CN201510745319.1A CN105392086B (en) 2015-11-04 2015-11-04 A kind of information processing method and playback equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510745319.1A CN105392086B (en) 2015-11-04 2015-11-04 A kind of information processing method and playback equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810489073.XA Division CN108810748B (en) 2015-11-04 2015-11-04 Information processing method, playing device and medium product

Publications (2)

Publication Number Publication Date
CN105392086A true CN105392086A (en) 2016-03-09
CN105392086B CN105392086B (en) 2018-05-29

Family

ID=55423840

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810489073.XA Expired - Fee Related CN108810748B (en) 2015-11-04 2015-11-04 Information processing method, playing device and medium product
CN201510745319.1A Active CN105392086B (en) 2015-11-04 2015-11-04 A kind of information processing method and playback equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810489073.XA Expired - Fee Related CN108810748B (en) 2015-11-04 2015-11-04 Information processing method, playing device and medium product

Country Status (1)

Country Link
CN (2) CN108810748B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105098A (en) * 2017-05-09 2017-08-29 广东欧珀移动通信有限公司 Information processing method, apparatus and system
CN110032176A (en) * 2019-05-16 2019-07-19 广州文远知行科技有限公司 Long-range adapting method, device, equipment and the storage medium of pilotless automobile
CN110191236A (en) * 2019-06-27 2019-08-30 广州酷狗计算机科技有限公司 Playback of songs queue management method, device, terminal device and storage medium
CN111988667A (en) * 2020-08-18 2020-11-24 视若飞信息科技(上海)有限公司 Intelligent terminal media player management method and system
CN113650569A (en) * 2021-07-29 2021-11-16 广州文远知行科技有限公司 Vehicle equipment control method and device, vehicle and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810748B (en) * 2015-11-04 2021-03-12 Oppo广东移动通信有限公司 Information processing method, playing device and medium product
CN117097935A (en) * 2023-10-18 2023-11-21 深圳市慧为智能科技股份有限公司 Bluetooth screen-throwing control method, system, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089812A1 (en) * 2007-10-01 2009-04-02 Electronics And Telecommunications Research Institute System and method for controlling synchronization of media and multi-devices for single-media multi-device media service
CN101459693A (en) * 2008-12-29 2009-06-17 中兴通讯股份有限公司 Stream media downloading method and system
CN101763210A (en) * 2009-11-04 2010-06-30 广东威创视讯科技股份有限公司 Distributed digital tablet cooperative processing method, system and digital tablets
CN104917813A (en) * 2015-04-17 2015-09-16 小米科技有限责任公司 Resource request method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6150599A (en) * 1999-02-02 2000-11-21 Microsoft Corporation Dynamically halting music event streams and flushing associated command queues
US20090165008A1 (en) * 2007-12-19 2009-06-25 Aten International Co., Ltd. Apparatus and method for scheduling commands from host systems
CN101820681B (en) * 2009-02-27 2012-05-23 大唐移动通信设备有限公司 Scheduling method and device of eUE
CN102123073B (en) * 2010-01-07 2014-10-08 华为技术有限公司 Packet reordering method and device
CN104243517B (en) * 2013-06-14 2018-12-11 腾讯科技(深圳)有限公司 Content share method and device between different terminals
CN103561308B (en) * 2013-11-05 2016-08-17 南京大学 A kind of exchange method of smart mobile phone remote-controlled intelligent TV
CN104486753A (en) * 2014-11-17 2015-04-01 深圳市金立通信设备有限公司 Message control method
CN108810748B (en) * 2015-11-04 2021-03-12 Oppo广东移动通信有限公司 Information processing method, playing device and medium product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089812A1 (en) * 2007-10-01 2009-04-02 Electronics And Telecommunications Research Institute System and method for controlling synchronization of media and multi-devices for single-media multi-device media service
CN101459693A (en) * 2008-12-29 2009-06-17 中兴通讯股份有限公司 Stream media downloading method and system
CN101763210A (en) * 2009-11-04 2010-06-30 广东威创视讯科技股份有限公司 Distributed digital tablet cooperative processing method, system and digital tablets
CN104917813A (en) * 2015-04-17 2015-09-16 小米科技有限责任公司 Resource request method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107105098A (en) * 2017-05-09 2017-08-29 广东欧珀移动通信有限公司 Information processing method, apparatus and system
WO2018205941A1 (en) * 2017-05-09 2018-11-15 Oppo广东移动通信有限公司 Information processing method, apparatus and system
CN107105098B (en) * 2017-05-09 2019-07-12 Oppo广东移动通信有限公司 Information processing method, apparatus and system
CN110032176A (en) * 2019-05-16 2019-07-19 广州文远知行科技有限公司 Long-range adapting method, device, equipment and the storage medium of pilotless automobile
CN110191236A (en) * 2019-06-27 2019-08-30 广州酷狗计算机科技有限公司 Playback of songs queue management method, device, terminal device and storage medium
CN110191236B (en) * 2019-06-27 2020-11-17 广州酷狗计算机科技有限公司 Song playing queue management method and device, terminal equipment and storage medium
CN111988667A (en) * 2020-08-18 2020-11-24 视若飞信息科技(上海)有限公司 Intelligent terminal media player management method and system
CN113650569A (en) * 2021-07-29 2021-11-16 广州文远知行科技有限公司 Vehicle equipment control method and device, vehicle and storage medium
CN113650569B (en) * 2021-07-29 2022-10-11 广州文远知行科技有限公司 Vehicle equipment control method and device, vehicle and storage medium

Also Published As

Publication number Publication date
CN108810748A (en) 2018-11-13
CN108810748B (en) 2021-03-12
CN105392086B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN105392086A (en) Information processing method and play equipment
EP3629562A1 (en) Data transmitting method and system
CN104540176B (en) Wireless network access method, device and terminal
JP5978901B2 (en) Wireless communication apparatus, program, and communication control method
CN105682011A (en) Playback device Bluetooth module control method and device, and audio and video playing system
CN104540071A (en) Communication switching method and device of smart sound box
CN105848225A (en) Wireless connection switching method and device applied to audio playing system
CN107797460A (en) Home appliance voice control method and Related product based on intelligent sound box
CN104967734A (en) Information exchanging method and system
CN105282829A (en) Network connecting method and wireless speaker
CN105227627B (en) A kind of playback equipment packet control process and user terminal
CN105306725A (en) Information processing method and electronic equipment
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN110601986A (en) Router supporting peripheral control over mobile terminal equipment, control method and device
CN103686586A (en) Information processing method and electronic equipment
CN104683469A (en) Method and system for immediately sharing and operating application program data
CN105681886A (en) Playback device Bluetooth connection control method and device, and playback device
CN105451129A (en) Network switching method and wireless loudspeaker box
CN104052801A (en) Information processing method and electronic equipment
CN105392083B (en) A kind of MPP speakers switching method and access controller
CN103559091A (en) Data scheduling method and split type terminal system
CN111917595A (en) System upgrading method and device, intelligent equipment and storage medium
CN108337715B (en) Wireless network connection method, device, terminal equipment and storage medium
CN106954191A (en) Broadcast transmission method, device and terminal device
CN105656520A (en) Method and device for controlling bluetooth module of playing equipment and audio/video playing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder