Laser player and the method thereof that can use simultaneously for many people
Technical field
The present invention is about a kind of laser player and method of using simultaneously for many people thereof, refers to especially a kind ofly utilize time division multiplexing and cooperate the parallel administrative skill of impact damper multiplex (MUX) to reach the method and apparatus that many people use laser player simultaneously.
Background technology
Along with improving fast and constantly of numeral science and technology, many people's livelihood articles for use also thereby receive benefits, with the stereo set is example, from phonograph record player, tape player early, developed into digitized laser player (CD PLAYER) to today, no matter be various audio-visual devices such as combination audio, head of a bed sound equipment, walkman or videocorder, all with laser player as playing media, this type of laser player removes and is used to play audio data, also does the broadcast of audiovisual materials and various compression datas.But existing laser player still rests on the stage that a machine one people uses on use-pattern, meaning is promptly when laser player is used by a people, remove to see through biphone or the output mode that amplifies, other people also can't use this laser player simultaneously, so-called " use ", refer to that other people can selectively manipulate this laser player, selected songs for example, ON/OFF and adjustment volume etc., for example laser player is just used by a people, it selects oneself to want the song listened to, then with regard to prior art, also can't on same laser player, carry out selected songs at the same time for another people, actions such as ON/OFF and adjustment volume.Though on behalf of existing laser player, this kind situation have defective, if can have breakthrough technically, laser player can be used at the same time by many people, then more can significantly promote its utilization benefit.
Summary of the invention
Therefore, fundamental purpose of the present invention is to provide a kind of laser player that uses simultaneously for many people, and it can make, and a people is above to select the not playing function of particular track on same laser player, uses to reach the purpose that makes full use of resource.
For reaching aforementioned purpose, the major technique means that the present invention adopts are as follows: a kind of laser player that uses simultaneously for many people comprises at least:
One memory buffer is cooked up several cut sections earlier, for importing message or the audiovisual materials that the different users specifies broadcast respectively;
One capacity control is accepted the outside play instruction of importing, to calculate the data residual capacity of each cut section in the aforementioned memory buffer;
Address generator is gone in one output, is controlled by aforementioned capacity control, to produce different data input addresses at different users, input data is pointed to a certain cut section that is stored in memory buffer; Can give aforementioned capacity control in order to the address that produces the output data simultaneously, judge cut section its volume change situation after the output data for it;
One asynchronous Request System (ARQ) links with data playing media such as CD-ROM drive, and is controlled by capacity control, and it can require the source of sound playing media to continue the output data under capacity control drives;
One multiplex's processor is broadcast instruction for the choosing that receives and handle plural user's input, choosing is broadcast instruction again and is delivered to capacity control;
One multiplex (MUX) is switched transmission interface, links with memory buffer, utilizes multiplex's handoff functionality, makes the data of different cut section outputs in the different memory buffer send different users respectively to;
Under the aforementioned system framework, import choosing as the user and broadcast when instruction, promptly deliver to capacity control by multiplex's processor, driving asynchronous Request System by capacity control again makes the data playing media begin the data of reading, and drive output simultaneously and go into address generator and produce a data and read in the address, so that the data storage that the data playing media is sent is to the cut section of appointment, when the data of reading in of waiting reaches a constant volume, promptly make the cut section of input data begin the data of reading, specific user is play and switch transmission interface via the multiplex (MUX) by capacity control; At the same time, multiplex's processor still can receive the choosing of other user's input and broadcast instruction, and deliver to capacity control, follow aforesaid same way as by capacity control again, the data that next user's choosing is broadcast is stored to another cut section of memory buffer earlier, wait arrive suitable capacity after, again data is read and switches transmission interface through the multiplex (MUX) and send next user to; Utilize this technology can reach the purpose that many people use same laser player simultaneously.
The aforementioned laser player further comprises a quality control system, and this quality control system comprises a comparison circuit and a quality determining device, wherein:
This compares circuit, and its input end connects the data playing media, and its output terminal sees through a first in first out (FIFO) controller and is connected with memory buffer, and it only when mistake takes place, compares the data of input and the threshold value of quality determining device input;
This quality determining device; seeing through aforementioned first in first out controller is connected with the comparison circuit; it is in order to judge whether to occur the phenomenon that mistake etc. influences signal quality; as mistake occurs and then send a signal to capacity control; suspending memory buffer earlier by capacity control stores data; also in the lump the data of wrong origination point is delivered to the comparison circuit as threshold value; seeing through asynchronous Request System again requires the data playing media to read in data again; when treating to send into again data and arriving the stored starting point of threshold value, be fed through in the memory buffer again.
The present invention's time purpose is to provide a kind of method that can be used laser player by many people simultaneously.
Make preceding method comprise the following steps: for reaching the major technique means that aforementioned purpose takes
In the memory buffer of laser player, define more than one cut section;
Judge whether to occur choosing and broadcast instruction;
Broadcast instruction if any choosing, the data of be about to specify playing input to wherein in the cut section, and see through suitable interface output play when input data reaches a constant volume;
Judge whether that the choosing that the different users sends into broadcasts instruction;
Instruction is broadcast in choosing if any other user, then according to instruction data is read cut section to other, and exported broadcast when input data reaches a constant volume;
The mat preceding method can reach the purpose that many people share same laser player, to utilize resource fully.
The cut section of aforementioned memory buffer is adopted static programming, and meaning is about to the cut section that memory buffer is formulated for some, broadcasts data with the choosing that stores the fixed qty user.
The cut section of aforementioned memory buffer is adopted dynamic programming, and its memory section planning with memory buffer goes out a reserved area and one or more cut section, and when first user selects sowing time, its choosing is broadcast data storage in cut section; When second user selects sowing time, its choosing is broadcast data storage in the reserved area, and broadcast that data is broadcasted successively and when vacating the cut section space in first user's choosing, to remember the district and plan again this moment, except that still comprising a reserved area, again other space is planned again and outside the cut section of original number, increase a cut section, for storing the data that the new user of adding choosing is broadcast.
Description of drawings
Fig. 1: the system architecture synoptic diagram of possible embodiments of the present invention.
Fig. 2: the present invention is with the synoptic diagram of static mode planning storage space.
Fig. 3 A, Fig. 3 B: the present invention is with the synoptic diagram of dynamical fashion planning storage space.
Symbol description among the figure:
11 memory buffer, 110 reserved areas
111~114 cut sections
Address generator is gone in 13 outputs of 12 capacity controls
15 asynchronous Request System
16 multiplex's processors, 17 multiplex (MUX)s are switched transmission interface
18 comparison circuit, 180 first in first out processors
181 threshold values, 19 quality determining devices
Embodiment
The system architecture of relevant a preferred embodiment of the present invention sees also shown in Figure 1ly, and it comprises:
One memory buffer 11 is cooked up several cut sections earlier, for storing message or the audiovisual materials that the different users specifies broadcast respectively;
One capacity control 12 is accepted the play instruction of outside input, controlling the input data start address of each cut section in the aforementioned memory buffer 11, and calculates its data residual capacity;
Address generator 13 is gone in one output, is controlled by aforementioned capacity control 12, and is connected with memory buffer 11, so that produce different data input addresses at different users, and the input data appointment is stored to a certain cut section of memory buffer 11; Give aforementioned capacity control 12 in order to the address that produces the output data in addition, judge cut section its volume change situation after the output data for it;
One asynchronous Request System (ARQ) 15, be connected between a capacity control 12 and the data playing media 20, this data playing media 20 can be a CD-ROM drive, and it is controlled by capacity control 12, and under the driving of this capacity control 12, can require data playing media 20 to continue the output data;
One multiplex's processor 16 is broadcast instruction for the choosing that receives and handle plural user's input, choosing is broadcast instruction again and is delivered to capacity control 12; Multiplex's processor 16 can adopt wired or wireless mode to receive the selection instruction that the different users sends again;
One multiplex (MUX) is switched transmission interface 17, seeing through a first in first out (FIFO) controller 170 links with memory buffer 11, utilize multiplex's handoff functionality, make the data of different cut section outputs in the different memory buffer 11 send different users respectively to via wired or wireless mode;
One quality control system, form by a comparison circuit 18 and a quality determining device 19, wherein compare the data output terminal that circuit 18 input ends connect data playing media 20, its output terminal then sees through a first in first out controller 180 and is connected to Input Address controller 13, memory buffer 11 and quality determining device 19 respectively, and this quality determining device 19 is connected with capacity control 12 again; Comparing circuit 18 again compares according to a data of importing and a threshold value 181 of being sent into by quality determining device 19, when mistake appears in quality determining device 19 judgement data, send a signal and give capacity control 12, store data by 12 shillings of memory buffer of capacity control, 11 time-outs, the data that data first in first out controller 180 when also in the lump mistake being taken place presents is sent in the threshold value 181, controlling asynchronous Request System 15 again makes data playing media 20 read data again, compare circuit 18 this moment promptly with reference to the data of threshold value 181, the data that data playing media 20 is sent into is compared, when meeting, just initial thus data is sent into first in first out controller 180, to obtain the effect of reading erroneous section again; Wherein:
This is exported also can be respectively by independently Input Address generator and OPADD generator are replaced into address generator 13, wherein the Input Address generator is connected with quality determining device 19 in memory buffer 11, capacity control 12 and the quality control system respectively, the OPADD generator is connected with memory buffer 11, capacity control 12 respectively again, and is controlled by this capacity control 12.
Can find out the system architecture of the present invention's one possible embodiments by above-mentioned explanation, detailed as described below as for its manner of execution:
When first user (ID=1) broadcasts instruction through wired or wireless remote control mode input choosing, promptly by multiplex's processor 16 instruction being broadcast in choosing contains user ID and delivers to capacity control 12, this capacity control 12 promptly requires data playing media 20 to begin to read choosing through asynchronous Request System 15 and broadcasts data, and the Input Address of activation (ENABLE) simultaneously generator 180 generations one first data is read in the address, so that the data storage that data playing media 20 is sent corresponding cut section to the memory buffer 11, when this cut section data of reading in of waiting reaches a constant volume, promptly make this cut section begin the data of reading by capacity control 12, and switch the data that transmission interface 17 solves this user ID via the multiplex (MUX), in wired or wireless mode first user is play again.
At the same time, the choosing of multiplex's processor 16 second user of sustainable reception (ID=2) input is broadcast instruction and is contained user ID, and deliver to capacity control 12, follow aforesaid same way as by capacity control 12 again, seeing through asynchronous Request System 15 earlier requires data playing media 20 to read the data that choosing is broadcast, go into address generator 13 by output again and produce one second data input address, the data that next user's choosing is broadcast is stored to second cut section in the memory buffer 11 earlier, after the cut section of waiting arrives suitable capacity, again data is read and see through the multiplex (MUX) and switch transmission interface 17 and send second user to; Same, to broadcast in the process that work still continues to carry out in the front two choosing, instruction is broadcast in the choosing that still can receive and carry out other user, utilizes preceding method can make many people see through same laser player choosing and broadcasts and listen to and look different program.
Be the demand that cooperates aforementioned many people to use simultaneously, must the person's of being used number on the reading speed of data playing media 20 and adjust to some extent, for example laser player is allowed when four-player uses simultaneously, the reading speed that then requires data playing media 20 is more than 4 times, allow eight people user simultaneously, the reading speed that then requires data playing media 20 is more than 8 times, the rest may be inferred for all the other, can reach tens of times with regard to existing CD-ROM drive reading speed, it can fully satisfy the requirement of the present invention for the CD-ROM drive reading speed.
Moreover, aspect the memory section planning of memory buffer 11, can take static programming or dynamic programming.So-called static programming (as shown in Figure 2), it is formulated for the cut section 111~114 of fixed number with memory buffer 11, as shown is four cut sections 111~114, promptly provides four users to use simultaneously.Because when taking static programming,, more do not have efficient for the utilization of storage space, so also can consider to adopt dynamic programming as the non-setting number of user's number.
So-called dynamic programming is cooked up a reserved area 110 and one or more cut section 111 earlier as shown in Figure 3A with the memory district of memory buffer 11, with a cut section 111 is example, when first user selects sowing time, its choosing is broadcast data storage in this cut section 111; When second user selects sowing time, its choosing is broadcast data and will temporarily be stored in the reserved area 110 earlier, and broadcast that data is broadcasted successively and when vacating storage space in first user's choosing, promptly remember the district and plan again this moment, except that still keeping a reserved area 110, beyond original cut section 111, increase another cut section 112 (shown in Fig. 3 B) again and broadcast data for the choosing that stores the new user of adding.This moment is if there be the 3rd user to add, its choosing is broadcast data and still temporarily is stored in reserved area 110, utilize aforesaid memory district to plan again again, dynamically increase a cut section again, broadcast data for the choosing that stores the new user of adding, when the user continues to increase, promptly the memory district is carried out dynamic programming according to aforementioned manner, can make the utilization of storage space have more efficient by this.
From the above, the present invention utilizes aforementioned techniques that many people are operated simultaneously and uses same laser player, with the music playback function is example, when a CD is play on laser player, then utilize aforementioned techniques that different people is selected respectively and broadcast the different songs of listening on the CD, equally also can apply on the DVD PLAYER, carrying out audio-visual multiplex (MUX) plays, its service efficiency for hardware resource can perform to ultimate attainment, machine one people's use-pattern compared to existing laser player, possessed outstanding feature and obvious progress, and met the patent of invention important document, mentioned application in accordance with the law.