CN102622430B - Method for dilatation management of one-machine demand system device based on universal serial bus (USB) interfaces - Google Patents

Method for dilatation management of one-machine demand system device based on universal serial bus (USB) interfaces Download PDF

Info

Publication number
CN102622430B
CN102622430B CN 201210045332 CN201210045332A CN102622430B CN 102622430 B CN102622430 B CN 102622430B CN 201210045332 CN201210045332 CN 201210045332 CN 201210045332 A CN201210045332 A CN 201210045332A CN 102622430 B CN102622430 B CN 102622430B
Authority
CN
China
Prior art keywords
dilatation
storage device
movable storage
system equipment
vod system
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
Application number
CN 201210045332
Other languages
Chinese (zh)
Other versions
CN102622430A (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.)
Fujian Star Net eVideo Information Systems Co Ltd
Original Assignee
Fujian Star Net eVideo Information Systems Co 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 Fujian Star Net eVideo Information Systems Co Ltd filed Critical Fujian Star Net eVideo Information Systems Co Ltd
Priority to CN 201210045332 priority Critical patent/CN102622430B/en
Publication of CN102622430A publication Critical patent/CN102622430A/en
Application granted granted Critical
Publication of CN102622430B publication Critical patent/CN102622430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for dilatation management of a one-machine demand system device based on universal serial bus (USB) interfaces, which specifically includes that step1 a plurality of dilatation movable storage devices are accessed into the USB interfaces of the one-machine demand system device, names of the accessed dilatation movable storage devices are obtained, and a dilatation movable storage device name list is formed; step2 a dilatation management module analyzes dilatation environment of the one-machine demand system device according the dilatation movable storage devicename list; step3 the dilatation management module configures the dilatation environment in the one-machine demand system device in the one-machine demand system device; and step4 the dilatation management module integrates song resource information of each dilatation movable storage device into a local song list file of the one-machine demand system device according to the configured dilatation environment of the one-machine demand system device. The method conveniently expands storage space of the one-machine demand system device and finishes management work of newly increased storage space data.

Description

The method of USB interface-based unit VOD system equipment dilatation management
[technical field]
The present invention relates to the communication apparatus technical field, relate in particular to a kind of method of USB interface-based unit VOD system equipment dilatation management.
[background technology]
At present, ktv industry requesting songs system can be divided into two kinds of patterns: one: the client-server pattern; Two: single cpu mode; The song video data is placed on server end in the client-server pattern, client needs in real time to the server request for data, because client does not need extra large-capacity storage media (as: 3.5 inches big capacity hard disks), that can design is smaller and more exquisite, portable, belong to no dish terminal.Server then is specifically designed to the storage data, can be equipped with a plurality of large-capacity storage media as required and satisfy storage demand.In single cpu mode, the Large Volume Data (as the song video data) of originally depositing in server end need be placed in the local storage medium, in order to increase number of songs, unit VOD system equipment need use more large-capacity storage media, existing practices well provides a plurality of sata interfaces for unit VOD system device hardware, built-in polylith big capacity hard disk increases storage space and realizes that such implementation method has following shortcoming:
1, in view of small and exquisite, the portable characteristic of unit VOD system equipment, built-in hard disk can not use too much, so its memory capacity is limited.
2, after hardware interface was fixed, the cost that restructures was bigger, the dilatation inconvenience.
When 3, built-in a plurality of hard disk is worked simultaneously, cause heat dissipation problem easily, it is overheated to cause in the casing, and equipment damages easily; In addition, the installation of many hard disks, dismounting are also inconvenient.
4, in built-in field, most master chip scheme is not supported many SATA mouth, if select for use the scheme of many SATA interface will additionally increase the cost of product.
5, built-in many SATA hard disk must make the cost of the link such as software development, hardware design, industrial structure design, Mold Making, the manufacturing of stand-alone device all increase, and has additionally increased certain system's operation risk.
6, system's flexibility ratio deficiency, embody as follows:
6.1 the user is under the situation that single hard disk can satisfy the demands, system still drives a plurality of hard disks, and power consumption obviously increases.
6.2 when one of them hard disk goes wrong, also cause the total system all can't operate as normal (situation of bad track appears in the hard disk on the similar PC computer) easily.
6.3 data sharing inconvenience.The user can not carry out data sharing and the data management of many equipment rooms very easily.(one of them hard disk can't be directly applied in another stand-alone device as the user)
Therefore how the storage space that expands the unit VOD system by a plurality of movable storage devices becomes a problem.
A kind of " user thesaurus flash chamber " is provided in the prior art, publication number is: CN201897791U, open day be: the Chinese patent of 2011.07.13, its characteristics are to comprise: from the lyrics file of the song files correspondence play, extract the lyrics extraction module of title of the song and the current lyrics, title of the song and the current lyrics are offered editor module that the user edits and vocabulary that editor is obtained or phrase in satisfactory part be saved in the preservation module of user thesaurus.Adopt the portable set of this utility model technical scheme not increasing cost and not rely under the situation of the ready-made vocabulary file that the external world provides, make the user can add new term easily to user thesaurus.This utility model can increase the difference performance advantage of portable set product, improves user's experience and impression; But this utility model does not relate to a plurality of flash chambers.
A kind of " realizing the method for soft enlarging, network backup in movable storage device " also is provided in the prior art, publication number is: CN101097553, open day be: the Chinese patent of 2008.01.02 can make movable storage device (comprise USB flash disk, portable hard drive, have the mobile phone of similar USB flash disk function etc.) possess soft enlarging, the Backup Data method to the webserver.This method is that program curing is set in movable storage device, when this program starts when equipment is connected with computing machine, the data on the memory device is backuped to the webserver, is standby, the subsidiary space of equipment simultaneously with webserver spatial simulation.Thereby realize the purpose of soft enlarging and enhancing data security.After a kind of " method that movable storage device combines with network verification " is provided again, publication number is: CN101252433 open day was: the Chinese patent of 2008.08.27, this method is based on movable storage device, computing machine and network application server; Described movable storage device comprises USB flash disk, portable hard drive, has the mobile phone of similar USB flash disk function, MP3, MP4 equipment, its movable storage device links to each other with computing machine, computing machine links to each other with network application server by the Internet network, this method arranges embedded program curing in movable storage device, when it inserts computing machine, intrinsic information is sent to network application server, by computer network movable storage device is carried out safety verification, after the movable storage device checking, can operate the various functions of website.This invention can realize corresponding network function, reaches soft enlarging, internet sites application, IT application in enterprises application, multifactor authentication function.Above-mentioned two inventions do not relate to a plurality of dilatation movable storage devices yet; And two inventions must dependency networks, when its described mobile device (mobile phone, MP3 etc.) is analogous in the ktv VOD system one-of-a-kind system equipment, need the extra webserver, and the overall work pattern is similar to the client-server pattern.
[summary of the invention]
The technical problem to be solved in the present invention, be to provide a kind of method of USB interface-based unit VOD system equipment dilatation management, expand the storage space of unit VOD system equipment easily, and finish the management work of newly-increased storage space data, solved the limited storage space that former unit VOD system equipment dilatation scheme causes, the problem that is difficult for dilatation.
The above-mentioned technical matters of the present invention is divided into two schemes realizations:
Scheme one: a kind of method of USB interface-based unit VOD system equipment dilatation management, described method is set up the dilatation administration module in described unit VOD system equipment, described dilatation administration module is used for the dilatation movable storage device that identification inserts unit VOD system equipment, obtain the song resource information in the dilatation movable storage device, and in unit VOD system equipment, generate the list of songs file corresponding with described dilatation movable storage device, the list of songs file of this locality in this list of songs file and the unit order programme equipment is integrated, generated the final list of songs file that uses;
This method specifically comprises the steps:
After step 1, a plurality of dilatation movable storage device inserted the USB interface of unit VOD system equipment, described dilatation administration module obtained the title of each dilatation movable storage device of access, and forms a dilatation movable storage device name list;
Step 2, described dilatation administration module are analyzed the dilatation environment of unit VOD system equipment according to described dilatation movable storage device name list, and the dilatation environment of described unit VOD system equipment is the situation of the peripheral movable storage device that inserts of unit VOD system equipment;
Step 3, described dilatation administration module dispose the dilatation environment of unit VOD system equipment in described unit VOD system equipment;
Step 4, described dilatation administration module are incorporated into the song resource information in each dilatation movable storage device in the list of songs file of this locality in the described unit VOD system equipment according to the dilatation environment of the unit VOD system equipment of described configuration.
Further, described step 2 concrete steps are:
Step 2.1, described dilatation administration module obtain a dilatation movable storage device title one by one from described dilatation movable storage device name list;
Whether each dilatation movable storage device that step 2.2, judgement are obtained is for dilatation, and not, then inoperation enters step 2.3; Be then in unit VOD system equipment, to generate one first each dilatation movable storage device title of record list records;
Whether all devices title in the dilatation movable storage device name list of judging step 2.3, described dilatation administration module has detected judgement finishes, be, then enter step 3, not, then do not continue to obtain and detect the dilatation movable storage device title in the described dilatation movable storage device name list.
Further, described step 3 concrete steps are:
Step 3.1, from the described first record tabulation, obtain a dilatation movable storage device title one by one;
Step 3.2, the unique indications of the corresponding distribution of each dilatation movable storage device for obtaining, described indications is character string; Determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to indications, and according to the carry path each dilatation movable storage device is carried out carry; In unit VOD system equipment, generate one second each dilatation movable storage device title of record list records, the indications of each dilatation movable storage device correspondence and the carry path of each dilatation movable storage device correspondence simultaneously;
Step 3.3, judging dilatation movable storage devices all in described first record tabulation carry whether, is then to enter step 4; , then do not continue the dilatation movable storage device in the first record tabulation is carried out carry.
Further, described step 4 concrete steps are:
Step 4.1, read the local list of songs file in the described unit VOD system equipment;
Step 4.2, judge whether the dilatation movable storage device data of carry in the described unit VOD system equipment are 0, are then inoperation, process ends; , then do not enter step 4.3;
The information in the carry path of step 4.3, the indications of from the described second record tabulation, obtaining a dilatation movable storage device title, this dilatation movable storage device correspondence one by one and this dilatation movable storage device correspondence, read the song resource information of each dilatation movable storage device and generate corresponding list of songs file according to those information, list of songs file and the described local list of songs file of each dilatation movable storage device correspondence carried out sequencing by merging;
Step 4.4, judge whether the list of songs file of dilatation movable storage device correspondences all in the described second record tabulation merges with described local list of songs file; , then do not continue list of songs file and the described local list of songs file of dilatation movable storage device correspondence in the second record tabulation are merged; Be then to generate a final list of songs file.
Scheme two: a kind of method of USB interface-based unit VOD system equipment dilatation management, described method is set up the dilatation administration module and is used for the monitoring modular that monitoring inserts the dilatation movable storage device environmental change of unit VOD system equipment in described unit VOD system equipment, this method specifically comprises the steps:
Step 10, the tab file information of movable storage device be used for is distinguished in definition in dilatation movable storage device to be accessed, and described tab file information comprises: the song resource information proof test value of memory device, unique indications information; The song resource information proof test value of described memory device and unique indications initial value are empty; After described dilatation movable storage device was linked into the USB interface of unit VOD system equipment, described dilatation administration module obtained the title of each dilatation movable storage device of access, and formed a dilatation movable storage device name list;
Step 20, described dilatation administration module are analyzed the dilatation environment of unit VOD system equipment according to described dilatation movable storage device name list, and the dilatation environment of described unit VOD system equipment is the situation of the peripheral movable storage device that inserts of unit VOD system equipment; Described monitoring modular judges according to the tab file information of described each dilatation movable storage device whether described dilatation environment changes simultaneously; Be that then described dilatation administration module reconfigures the dilatation environment of unit VOD system equipment and the information that record reconfigures in described one-of-a-kind system equipment, enters step 30; , then described dilatation administration module does not use original dilatation environment configurations information to dispose the dilatation environment of unit VOD system equipment and end operation flow process in described one-of-a-kind system equipment;
Step 30, described dilatation administration module are incorporated into the song resource information in each dilatation movable storage device in the list of songs file of this locality in the described unit VOD system equipment according to the dilatation environment of the unit VOD system equipment that reconfigures in the described one-of-a-kind system equipment.
Further, described step 20 concrete steps are:
Step 20.1, definition one is used for judging that the indexed variable flag whether the dilatation environment of unit VOD system equipment changes is initialized as 0 in described unit VOD system equipment, and defines the 3rd record that is used for the tab file information of the described dilatation movable storage device of record and tabulate; Described dilatation administration module obtains a dilatation movable storage device title one by one from described dilatation movable storage device name list;
Whether each dilatation movable storage device that step 20.2, judgement are obtained is for dilatation, and not, then inoperation enters step 20.3; Be that then described monitoring modular judges whether the tab file information in each dilatation movable storage device is empty; Not, then generate the tab file information in one the 4th each dilatation movable storage device of record list records in the unit VOD system equipment, and in unit VOD system equipment, generate the indications of one the 5th record each dilatation movable storage device title of list records and each dilatation movable storage device correspondence, enter step 20.3; Be, then described indexed variable flag be set to 1, and in unit VOD system equipment, generate the indications of one the 5th record each dilatation movable storage device title of list records and each dilatation movable storage device correspondence, enter step 20.3;
Whether all devices title in the dilatation movable storage device name list of judging step 20.3, described dilatation administration module has detected judgement finishes, not, then continue to obtain and detect the dilatation movable storage device title in the described dilatation movable storage device name list; Be that then described monitoring modular judges that whether described the 3rd record tabulation is identical, inequality with described the 4th record tabulation, then is set to 1 with described indexed variable flag, and enters step 20.4; Identical, then the dilatation environment of described unit VOD system equipment does not change, and enters step 20.4;
Step 20.4, described monitoring modular judge whether described indexed variable flag is 1, is, then the dilatation environment of described unit VOD system equipment changes, and empty described the 3rd record tabulation; From described the 5th record tabulation, obtain a dilatation movable storage device title one by one; Being that each the dilatation movable storage device obtain is corresponding distributes unique indications, and the song resource information of each dilatation movable storage device of verification obtains song resource information proof test value, adds indications and corresponding check value to described the 3rd record tabulation; Determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to the indications of each dilatation movable storage device correspondence, and according to the carry path each dilatation movable storage device is carried out carry; Empty the tab file information in each dilatation movable storage device simultaneously, and each dilatation movable storage device corresponding check value and indications are write in the tab file information again, enter step 20.5; Not, then the dilatation environment of described unit VOD system equipment does not change, from described the 5th record tabulation, obtain a dilatation movable storage device title and corresponding indications one by one, determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to the indications of each dilatation movable storage device correspondence, and according to the carry path each dilatation movable storage device is carried out carry; Judge whether carry of dilatation movable storage devices all in described the 5th record tabulation, be, then the end operation flow process; , then do not continue the dilatation movable storage device in the 5th record tabulation is carried out carry.
Step 20.5, judging dilatation movable storage devices all in described the 5th record tabulation carry whether, is then to enter step 30; , then do not continue the dilatation movable storage device in the 5th record tabulation is carried out carry.
Further, described step 30 concrete steps are:
Step 30.1, this moment, the dilatation environment of unit VOD system equipment changed and the equal carry of all dilatation movable storage devices, then read the local list of songs file in the described unit VOD system equipment;
Step 30.2, judge whether the dilatation movable storage device data of carry in the described unit VOD system equipment are 0, are then inoperation, process ends; , then do not enter step 30.3;
Step 30.3, from described the 3rd record tabulation, obtain the indications of each dilatation movable storage device correspondence one by one, and the carry path that obtains correspondence according to the indications of each dilatation movable storage device correspondence, read the song resource information of each dilatation movable storage device and generate corresponding list of songs file according to the carry path of each dilatation movable storage device correspondence, list of songs file and the described local list of songs file of each dilatation movable storage device correspondence carried out sequencing by merging;
Step 30.4, judge whether the list of songs file of the indications of dilatation movable storage device correspondences all in described the 3rd record tabulation merges with described local list of songs file; , then do not continue list of songs file and the described local list of songs file of the indications of dilatation movable storage device correspondence in the 3rd record tabulation are merged; Be then to generate a final list of songs file.
The present invention has following advantage: the invention provides two kinds of schemes, scheme one: it sets up the dilatation administration module in described unit VOD system equipment, insert the USB interface of unit VOD system equipment at a plurality of dilatation movable storage devices after, described dilatation administration module obtains the title of each dilatation movable storage device of access, and forms a dilatation movable storage device name list; Described dilatation administration module is analyzed the dilatation environment of unit VOD system equipment according to described dilatation movable storage device name list then, and the dilatation environment of described unit VOD system equipment is the situation of the peripheral movable storage device that inserts of unit VOD system equipment; Last described dilatation administration module disposes the dilatation environment of unit VOD system equipment in described unit VOD system equipment; And according to the dilatation environment of the unit VOD system equipment of described configuration, the song resource information in each dilatation movable storage device is incorporated in the list of songs file of this locality in the described unit VOD system equipment; Finished the dilatation of the storage space of unit VOD system equipment.Scheme two: it is to have increased on the basis of scheme one to be used for the monitoring modular that monitoring inserts the dilatation movable storage device environmental change of unit VOD system equipment, whether can monitor the peripheral movable storage device that inserts of unit VOD system equipment like this changes, whether the dilatation environment that namely can know unit VOD system equipment changes, when no change, song resource information in the movable storage device that need not to insert and the list of songs integrating documents of unit VOD system equipment, thereby saved the time, optimized performance.Two schemes of the present invention have realized the access of a plurality of dilatation movable storage devices, and can well finish the management of newly-increased dilatation movable storage device data, and it expands the storage space of unit VOD system equipment easily; And unit VOD system equipment USB dilatation scheme of the present invention does not rely on network, has solved the limited storage space that former unit VOD system equipment dilatation scheme causes, the problem that is difficult for dilatation.
[description of drawings]
Fig. 1 is the present invention program one method overall flow synoptic diagram.
Fig. 2 is the schematic flow sheet of dilatation environmental analysis of the present invention program one unit VOD system equipment.
Fig. 3 is the schematic flow sheet of the dilatation environment of the present invention program's one configuration unit VOD system equipment.
Fig. 4 is incorporated into schematic flow sheet in the described unit VOD system equipment for the song resource information in the present invention program's one each dilatation movable storage device.
Fig. 5 is the present invention program two method overall flow synoptic diagram.
Fig. 6 is the schematic flow sheet of dilatation environmental analysis of the present invention program two unit VOD system equipment.
Fig. 7 is the schematic flow sheet of the dilatation environment of the present invention program's two configuration unit VOD system equipment.
Fig. 8 is incorporated into schematic flow sheet in the described unit VOD system equipment for the song resource information in the present invention program's two each dilatation movable storage devices.
[embodiment]
Please refer to shown in Figure 1, the solution of the present invention one: a kind of method of USB interface-based unit VOD system equipment dilatation management, described method is set up the dilatation administration module in described unit VOD system equipment, described dilatation administration module is used for the dilatation movable storage device that identification inserts unit VOD system equipment, obtain the song resource information in the dilatation movable storage device, and in unit VOD system equipment, generate the list of songs file corresponding with described dilatation movable storage device, the list of songs file of this locality in this list of songs file and the unit order programme equipment is integrated, generated the final list of songs file that uses;
This method specifically comprises the steps:
After step 1, a plurality of dilatation movable storage device inserted the USB interface of unit VOD system equipment, described dilatation administration module obtained the title of each dilatation movable storage device of access, and forms a dilatation movable storage device name list;
Step 2, described dilatation administration module are analyzed the dilatation environment of unit VOD system equipment according to described dilatation movable storage device name list, and the dilatation environment of described unit VOD system equipment is the situation of the peripheral movable storage device that inserts of unit VOD system equipment;
Step 3, described dilatation administration module dispose the dilatation environment of unit VOD system equipment in described unit VOD system equipment;
Step 4, described dilatation administration module are incorporated into the song resource information in each dilatation movable storage device in the list of songs file of this locality in the described unit VOD system equipment according to the dilatation environment of the unit VOD system equipment of described configuration.
As shown in Figure 2, be the schematic flow sheet of the dilatation environmental analysis of the present invention program one unit VOD system equipment.Its described step 2 concrete steps are:
Step 2.1, described dilatation administration module obtain a dilatation movable storage device title one by one from described dilatation movable storage device name list;
Whether each dilatation movable storage device that step 2.2, judgement are obtained is for dilatation, and not, then inoperation enters step 2.3; Be then in unit VOD system equipment, to generate one first each dilatation movable storage device title of record list records;
Whether all devices title in the dilatation movable storage device name list of judging step 2.3, described dilatation administration module has detected judgement finishes, be, then enter step 3, not, then do not continue to obtain and detect the dilatation movable storage device title in the described dilatation movable storage device name list.
As shown in Figure 3, dispose the schematic flow sheet of the dilatation environment of unit VOD system equipment for the present invention program one.Its step 3 concrete steps are:
Step 3.1, from the described first record tabulation, obtain a dilatation movable storage device title one by one;
Step 3.2, the unique indications of the corresponding distribution of each dilatation movable storage device for obtaining, described indications is character string; Determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to indications, and according to the carry path each dilatation movable storage device is carried out carry; In unit VOD system equipment, generate one second each dilatation movable storage device title of record list records, the indications of each dilatation movable storage device correspondence and the carry path of each dilatation movable storage device correspondence simultaneously;
Step 3.3, judging dilatation movable storage devices all in described first record tabulation carry whether, is then to enter step 4; , then do not continue the dilatation movable storage device in the first record tabulation is carried out carry.
As shown in Figure 4, be incorporated into schematic flow sheet in the described unit VOD system equipment for the song resource information in the present invention program's one each dilatation movable storage device.Its step 4 concrete steps are:
Step 4.1, read the local list of songs file in the described unit VOD system equipment;
Step 4.2, judge whether the dilatation movable storage device data of carry in the described unit VOD system equipment are 0, are then inoperation, process ends; , then do not enter step 4.3;
The information in the carry path of step 4.3, the indications of from the described second record tabulation, obtaining a dilatation movable storage device title, this dilatation movable storage device correspondence one by one and this dilatation movable storage device correspondence, read the song resource information of each dilatation movable storage device and generate corresponding list of songs file according to those information, list of songs file and the described local list of songs file of each dilatation movable storage device correspondence carried out sequencing by merging;
Step 4.4, judge whether the list of songs file of dilatation movable storage device correspondences all in the described second record tabulation merges with described local list of songs file; , then do not continue list of songs file and the described local list of songs file of dilatation movable storage device correspondence in the second record tabulation are merged; Be then to generate a final list of songs file.
Please refer to shown in Figure 5, the solution of the present invention two: a kind of method of USB interface-based unit VOD system equipment dilatation management, described method is set up the dilatation administration module and is used for the monitoring modular that monitoring inserts the dilatation movable storage device environmental change of unit VOD system equipment in described unit VOD system equipment, described dilatation administration module is used for the dilatation movable storage device that identification inserts unit VOD system equipment, obtain the song resource information in the dilatation movable storage device, and in unit VOD system equipment, generate the list of songs file corresponding with described dilatation movable storage device, the list of songs file of this locality in this list of songs file and the unit order programme equipment is integrated, generated the final list of songs file that uses;
This method specifically comprises the steps:
Step 10, the tab file information of movable storage device be used for is distinguished in definition in dilatation movable storage device to be accessed, and described tab file information comprises: the song resource information proof test value of memory device, unique indications information; The song resource information proof test value of described memory device and unique indications initial value are empty; After described dilatation movable storage device was linked into the USB interface of unit VOD system equipment, described dilatation administration module obtained the title of each dilatation movable storage device of access, and formed a dilatation movable storage device name list;
Step 20, described dilatation administration module are analyzed the dilatation environment of unit VOD system equipment according to described dilatation movable storage device name list, and the dilatation environment of described unit VOD system equipment is the situation of the peripheral movable storage device that inserts of unit VOD system equipment; Described monitoring modular judges according to the tab file information of described each dilatation movable storage device whether described dilatation environment changes simultaneously; Be that then described dilatation administration module reconfigures the dilatation environment of unit VOD system equipment and the information that record reconfigures in described one-of-a-kind system equipment, enters step 30; , then described dilatation administration module does not use original dilatation environment configurations information to dispose the dilatation environment of unit VOD system equipment and end operation flow process in described one-of-a-kind system equipment;
Step 30, described dilatation administration module are incorporated into the song resource information in each dilatation movable storage device in the list of songs file of this locality in the described unit VOD system equipment according to the dilatation environment of the described unit VOD system equipment that reconfigures.
As shown in Figure 6 and Figure 7, described step 20 concrete steps are:
Step 20.1, definition one is used for judging that the indexed variable flag whether the dilatation environment of unit VOD system equipment changes is initialized as 0 in described unit VOD system equipment, and defines the 3rd record that is used for the tab file information of the described dilatation movable storage device of record and tabulate; Described dilatation administration module obtains a dilatation movable storage device title one by one from described dilatation movable storage device name list;
Whether each dilatation movable storage device that step 20.2, judgement are obtained is for dilatation, and not, then inoperation enters step 20.3; Be that then described monitoring modular judges whether the tab file information in each dilatation movable storage device is empty; Not, then generate the tab file information in one the 4th each dilatation movable storage device of record list records in the unit VOD system equipment, and in unit VOD system equipment, generate the indications of one the 5th record each dilatation movable storage device title of list records and each dilatation movable storage device correspondence, enter step 20.3; Be, then described indexed variable flag be set to 1, and in unit VOD system equipment, generate the indications of one the 5th record each dilatation movable storage device title of list records and each dilatation movable storage device correspondence, enter step 20.3;
Whether all devices title in the dilatation movable storage device name list of judging step 20.3, described dilatation administration module has detected judgement finishes, not, then continue to obtain and detect the dilatation movable storage device title in the described dilatation movable storage device name list; Be that then described monitoring modular judges that whether described the 3rd record tabulation is identical, inequality with described the 4th record tabulation, then is set to 1 with described indexed variable flag, and enters step 20.4; Identical, then the dilatation environment of described unit VOD system equipment does not change, and enters step 20.4;
Step 20.4, described monitoring modular judge whether described indexed variable flag is 1, is, then the dilatation environment of described unit VOD system equipment changes, and empty described the 3rd record tabulation; From described the 5th record tabulation, obtain a dilatation movable storage device title one by one; Being that each the dilatation movable storage device obtain is corresponding distributes unique indications, and the song resource information of each dilatation movable storage device of verification obtains song resource information proof test value, adds indications and corresponding check value to described the 3rd record tabulation; Determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to the indications of each dilatation movable storage device correspondence, and according to the carry path each dilatation movable storage device is carried out carry; Empty the tab file information in each dilatation movable storage device simultaneously, and each dilatation movable storage device corresponding check value and indications are write in the tab file information again, enter step 20.5; Not, then the dilatation environment of described unit VOD system equipment does not change, from described the 5th record tabulation, obtain a dilatation movable storage device title and corresponding indications one by one, determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to the indications of each dilatation movable storage device correspondence, and according to the carry path each dilatation movable storage device is carried out carry; Judge whether carry of dilatation movable storage devices all in described the 5th record tabulation, be, then the end operation flow process; , then do not continue the dilatation movable storage device in the 5th record tabulation is carried out carry.
Step 20.5, judging dilatation movable storage devices all in described the 5th record tabulation carry whether, is then to enter step 30; , then do not continue the dilatation movable storage device in the 5th record tabulation is carried out carry.
As shown in Figure 8, be incorporated into schematic flow sheet in the described unit VOD system equipment for the song resource information in the present invention program's two each dilatation movable storage devices.Its step 30 concrete steps are:
Step 30.1, this moment, the dilatation environment of unit VOD system equipment changed and the equal carry of all dilatation movable storage devices, then read the local list of songs file in the described unit VOD system equipment;
Step 30.2, judge whether the dilatation movable storage device data of carry in the described unit VOD system equipment are 0, are then inoperation, process ends; , then do not enter step 30.3;
Step 30.3, from described the 3rd record tabulation, obtain the indications of each dilatation movable storage device correspondence one by one, and the carry path that obtains correspondence according to the indications of each dilatation movable storage device correspondence, read the song resource information of each dilatation movable storage device and generate corresponding list of songs file according to the carry path of each dilatation movable storage device correspondence, list of songs file and the described local list of songs file of each dilatation movable storage device correspondence carried out sequencing by merging;
Step 30.4, judge whether the list of songs file of the indications of dilatation movable storage device correspondences all in described the 3rd record tabulation merges with described local list of songs file; , then do not continue list of songs file and the described local list of songs file of the indications of dilatation movable storage device correspondence in the 3rd record tabulation are merged; Be then to generate a final list of songs file.
It is to have increased on the basis of scheme one to be used for the monitoring modular that monitoring inserts the dilatation movable storage device environmental change of unit VOD system equipment for the solution of the present invention two, whether can monitor the peripheral movable storage device that inserts of unit VOD system equipment like this changes, whether the dilatation environment that namely can know unit VOD system equipment changes, when no change, song resource information in the movable storage device that need not to insert and the list of songs integrating documents of unit VOD system equipment, thereby saved the time, optimized performance.
Here what deserves to be mentioned is: the movable storage device that the present invention inserts can also be the movable storage device of other type, as: for the memory device of upgrading, for the memory device of dilatation, for adding memory device of song etc.; It can identify the movable storage device of other types in order to make described dilatation administration module, then can be defined as follows:
1: general movable storage device being made into specific format or storing some therein has the information of certain sense or data at unit VOD system equipment and the movable storage device with special-purpose that forms; The customizing messages here or data refer to be primarily aimed in USB interface and use under the various situation to distinguishing the information that various application add be used to making system determine the information of its memory device purposes; As: inserting memory device (type one) by USB interface can be to system upgrade; Insert memory device (type two) by USB interface and can just need some extra information for distinguishing above-mentioned two kinds of memory devices to interpolation/deletion information in the local memory device; Singlely can not comprise these information if use;
2: the storage device type tab file: be the various application of difference among the present invention, an extra file that in memory device, adds, its name format is as follows: YYY_XXX.ini.
YYY wherein: the model of using the unit VOD system equipment of this application type memory device
XXX: this memory device application type
.ini: fixing file suffixes
Can define the memory device application type with following mode among the present invention:
Update represents that logo file full name is: YYY_update.ini for the memory device of upgrading;
Disk represents the memory device for dilatation, and logo file full name is: YYY_disk.ini;
Addsong represents that be used to the memory device that adds song, logo file full name is: YYY_addsong.ini;
Annotate: YYY is different and different according to the stand-alone device type.
Several newly-increased records are arranged in performance optimization version process flow diagram, and write content at the storage device type tab file;
3: memory device tab file content comprises two parts:
1) song information proof test value in this memory device
2) indications of this memory device in the dilatation environment can be determined the final mount directory of equipment according to this indications.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.

Claims (3)

1. the method for a USB interface-based unit VOD system equipment dilatation management, it is characterized in that: described method is set up the dilatation administration module in described unit VOD system equipment, described dilatation administration module is used for the dilatation movable storage device that identification inserts unit VOD system equipment, obtain the song resource information in the dilatation movable storage device, and in unit VOD system equipment, generate the list of songs file corresponding with described dilatation movable storage device, the list of songs file of this locality in this list of songs file and the unit order programme equipment is integrated, generated the final list of songs file that uses;
This method specifically comprises the steps:
After step 1, a plurality of dilatation movable storage device inserted the USB interface of unit VOD system equipment, described dilatation administration module obtained the title of each dilatation movable storage device of access, and forms a dilatation movable storage device name list;
Step 2, described dilatation administration module are analyzed the dilatation environment of unit VOD system equipment according to described dilatation movable storage device name list, and the dilatation environment of described unit VOD system equipment is the situation of the peripheral movable storage device that inserts of unit VOD system equipment; It comprises that specifically step 2.1 is to step 2.3:
Step 2.1, described dilatation administration module obtain a dilatation movable storage device title one by one from described dilatation movable storage device name list;
Whether each dilatation movable storage device that step 2.2, judgement are obtained is for dilatation, and not, then inoperation enters step 2.3; Be then in unit VOD system equipment, to generate one first each dilatation movable storage device title of record list records;
Whether all devices title in the dilatation movable storage device name list of judging step 2.3, described dilatation administration module has detected judgement finishes, be, then enter step 3, not, then continue to obtain and detect the dilatation movable storage device title in the described dilatation movable storage device name list, and carry out step 2.2 operation;
Step 3, described dilatation administration module dispose the dilatation environment of unit VOD system equipment in described unit VOD system equipment; It comprises that specifically step 3.1 is to step 3.3:
Step 3.1, from the described first record tabulation, obtain a dilatation movable storage device title one by one;
Step 3.2, the unique indications of the corresponding distribution of each dilatation movable storage device for obtaining, described indications is character string; Determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to indications, and according to the carry path each dilatation movable storage device is carried out carry; In unit VOD system equipment, generate one second each dilatation movable storage device title of record list records, the indications of each dilatation movable storage device correspondence and the carry path of each dilatation movable storage device correspondence simultaneously;
Step 3.3, judging dilatation movable storage devices all in described first record tabulation carry whether, is then to enter step 4; Not, then continue the dilatation movable storage device in the first record tabulation is carried out carry, carry out step 3.2 operation;
Step 4, described dilatation administration module are incorporated into the song resource information in each dilatation movable storage device in the list of songs file of this locality in the described unit VOD system equipment according to the dilatation environment of the unit VOD system equipment of described configuration.
2. the method for USB interface-based unit VOD system equipment dilatation management according to claim 1, it is characterized in that: described step 4 concrete steps are:
Step 4.1, read the local list of songs file in the described unit VOD system equipment;
Step 4.2, judge whether the dilatation movable storage device data of carry in the described unit VOD system equipment are 0, are then inoperation, process ends; , then do not enter step 4.3;
The information in the carry path of step 4.3, the indications of from the described second record tabulation, obtaining a dilatation movable storage device title, this dilatation movable storage device correspondence one by one and this dilatation movable storage device correspondence, read the song resource information of each dilatation movable storage device and generate corresponding list of songs file according to those information, list of songs file and the described local list of songs file of each dilatation movable storage device correspondence carried out sequencing by merging;
Step 4.4, judge whether the list of songs file of dilatation movable storage device correspondences all in the described second record tabulation merges with described local list of songs file; , then do not continue list of songs file and the described local list of songs file of dilatation movable storage device correspondence in the second record tabulation are merged; Be then to generate a final list of songs file.
3. the method for a USB interface-based unit VOD system equipment dilatation management, it is characterized in that: described method is set up the dilatation administration module and is used for the monitoring modular that monitoring inserts the dilatation movable storage device environmental change of unit VOD system equipment in described unit VOD system equipment, this method specifically comprises the steps:
Step 10, the tab file information of movable storage device be used for is distinguished in definition in dilatation movable storage device to be accessed, and described tab file information comprises: the song resource information proof test value of memory device, unique indications information; The song resource information proof test value of described memory device and unique indications initial value are empty; After described dilatation movable storage device was linked into the USB interface of unit VOD system equipment, described dilatation administration module obtained the title of each dilatation movable storage device of access, and formed a dilatation movable storage device name list;
Step 20, described dilatation administration module are analyzed the dilatation environment of unit VOD system equipment according to described dilatation movable storage device name list, and the dilatation environment of described unit VOD system equipment is the situation of the peripheral movable storage device that inserts of unit VOD system equipment; Described monitoring modular judges according to the tab file information of described each dilatation movable storage device whether described dilatation environment changes simultaneously; Be that then described dilatation administration module reconfigures the dilatation environment of unit VOD system equipment and the information that record reconfigures in described one-of-a-kind system equipment, enters step 30; , then described dilatation administration module does not use original dilatation environment configurations information to dispose the dilatation environment of unit VOD system equipment and end operation flow process in described one-of-a-kind system equipment; It comprises that specifically step 20.1 is to step 20.5:
Step 20.1, definition one is used for judging that the indexed variable flag whether the dilatation environment of unit VOD system equipment changes is initialized as 0 in described unit VOD system equipment, and defines the 3rd record that is used for the tab file information of the described dilatation movable storage device of record and tabulate; Described dilatation administration module obtains a dilatation movable storage device title one by one from described dilatation movable storage device name list;
Whether each dilatation movable storage device that step 20.2, judgement are obtained is for dilatation, and not, then inoperation enters step 20.3; Be that then described monitoring modular judges whether the tab file information in each dilatation movable storage device is empty; Not, then generate the tab file information in one the 4th each dilatation movable storage device of record list records in the unit VOD system equipment, and in unit VOD system equipment, generate the indications of one the 5th record each dilatation movable storage device title of list records and each dilatation movable storage device correspondence, enter step 20.3; Be, then described indexed variable flag be set to 1, and in unit VOD system equipment, generate the indications of one the 5th record each dilatation movable storage device title of list records and each dilatation movable storage device correspondence, enter step 20.3;
Whether all devices title in the dilatation movable storage device name list of judging step 20.3, described dilatation administration module has detected judgement finishes, not, then continue to obtain and detect the dilatation movable storage device title in the described dilatation movable storage device name list; Be that then described monitoring modular judges that whether described the 3rd record tabulation is identical, inequality with described the 4th record tabulation, then is set to 1 with described indexed variable flag, and enters step 20.4; Identical, then the dilatation environment of described unit VOD system equipment does not change, and enters step 20.4;
Step 20.4, described monitoring modular judge whether described indexed variable flag is 1, is, then the dilatation environment of described unit VOD system equipment changes, and empty described the 3rd record tabulation; From described the 5th record tabulation, obtain a dilatation movable storage device title one by one; Being that each the dilatation movable storage device obtain is corresponding distributes unique indications, and the song resource information of each dilatation movable storage device of verification obtains song resource information proof test value, adds indications and corresponding check value to described the 3rd record tabulation; Determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to the indications of each dilatation movable storage device correspondence, and according to the carry path each dilatation movable storage device is carried out carry; Empty the tab file information in each dilatation movable storage device simultaneously, and each dilatation movable storage device corresponding check value and indications are write in the tab file information again, enter step 20.5; Not, then the dilatation environment of described unit VOD system equipment does not change, from described the 5th record tabulation, obtain a dilatation movable storage device title and corresponding indications one by one, determine corresponding dilatation movable storage device carry in the path of unit VOD system equipment according to the indications of each dilatation movable storage device correspondence, and according to the carry path each dilatation movable storage device is carried out carry; Judge whether carry of dilatation movable storage devices all in described the 5th record tabulation, be, then the end operation flow process; , then do not continue the dilatation movable storage device in the 5th record tabulation is carried out carry;
Step 20.5, judging dilatation movable storage devices all in described the 5th record tabulation carry whether, is then to enter step 30; , then do not continue the dilatation movable storage device in the 5th record tabulation is carried out carry;
Step 30, described dilatation administration module are according to the dilatation environment of the unit VOD system equipment that reconfigures in the described one-of-a-kind system equipment, song resource information in each dilatation movable storage device is incorporated in the list of songs file of this locality in the described unit VOD system equipment, it comprises that specifically step 30.1 is to step 30.4:
Step 30.1, this moment, the dilatation environment of unit VOD system equipment changed and the equal carry of all dilatation movable storage devices, then read the local list of songs file in the described unit VOD system equipment;
Step 30.2, judge whether the dilatation movable storage device data of carry in the described unit VOD system equipment are 0, are then inoperation, process ends; , then do not enter step 30.3;
Step 30.3, from described the 3rd record tabulation, obtain the indications of each dilatation movable storage device correspondence one by one, and the carry path that obtains correspondence according to the indications of each dilatation movable storage device correspondence, read the song resource information of each dilatation movable storage device and generate corresponding list of songs file according to the carry path of each dilatation movable storage device correspondence, list of songs file and the described local list of songs file of each dilatation movable storage device correspondence carried out sequencing by merging;
Step 30.4, judge whether the list of songs file of the indications of dilatation movable storage device correspondences all in described the 3rd record tabulation merges with described local list of songs file; , then do not continue list of songs file and the described local list of songs file of the indications of dilatation movable storage device correspondence in the 3rd record tabulation are merged; Be then to generate a final list of songs file.
CN 201210045332 2012-02-24 2012-02-24 Method for dilatation management of one-machine demand system device based on universal serial bus (USB) interfaces Active CN102622430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210045332 CN102622430B (en) 2012-02-24 2012-02-24 Method for dilatation management of one-machine demand system device based on universal serial bus (USB) interfaces

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210045332 CN102622430B (en) 2012-02-24 2012-02-24 Method for dilatation management of one-machine demand system device based on universal serial bus (USB) interfaces

Publications (2)

Publication Number Publication Date
CN102622430A CN102622430A (en) 2012-08-01
CN102622430B true CN102622430B (en) 2013-10-09

Family

ID=46562349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210045332 Active CN102622430B (en) 2012-02-24 2012-02-24 Method for dilatation management of one-machine demand system device based on universal serial bus (USB) interfaces

Country Status (1)

Country Link
CN (1) CN102622430B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731474B (en) * 2015-03-17 2016-03-23 努比亚技术有限公司 The method of photo management and mobile terminal under ptp mode

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719913A (en) * 2009-11-17 2010-06-02 青岛海信宽带多媒体技术有限公司 Method and device for media playing terminal to obtain internet multimedia resource
CN101873457A (en) * 2009-09-02 2010-10-27 杭州海康威视数字技术股份有限公司 DVR (Digital Video Recorder) as well as data backup method and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0214303D0 (en) * 2002-06-21 2002-07-31 Koninkl Philips Electronics Nv Server side configuration management

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873457A (en) * 2009-09-02 2010-10-27 杭州海康威视数字技术股份有限公司 DVR (Digital Video Recorder) as well as data backup method and system thereof
CN101719913A (en) * 2009-11-17 2010-06-02 青岛海信宽带多媒体技术有限公司 Method and device for media playing terminal to obtain internet multimedia resource

Also Published As

Publication number Publication date
CN102622430A (en) 2012-08-01

Similar Documents

Publication Publication Date Title
CN100414521C (en) Method of controlling portable personal device by computer and portable personal device operation method therefor
CN102682075B (en) Extensible file system
CA2610002C (en) Device specific content indexing for optimized device operation
CN103646044A (en) Mobile terminal identification method and device
CN1397896A (en) Content download system and its method
CN112765271A (en) Block chain transaction index storage method and device, computer equipment and medium
CN105550252A (en) File positioning method and device and electronic equipment
US10248598B2 (en) Intelligent storage device signal transmission method for backing up data on intelligent storage module based on system type of electronic device
KR20070122274A (en) Method and apparatus for managing file for portable device
US20090171891A1 (en) Data indexing by local storage device
CN105912362A (en) Method and device for loading plug-in and electronic equipment
CN102821111A (en) Real-time synchronizing method for file cloud storage
CN105760184A (en) Method and device for loading component
CN1326008C (en) License creation apparatus, license creation method, and computer program
CN105900039A (en) Apparatus, system and method to provide platform support for multiple memory technologies
CN105183388A (en) Obtaining method, device and system for hardware physics serial number
US20020046216A1 (en) Information-processing apparatus and information-processing method
WO2009052311A1 (en) Method and apparatus for identifying a piece of content
CN101026466A (en) Data push method
CN103049708A (en) Audit configuration method and audit configuration system for database
CN103092981A (en) Method and electronic equipment for building speech marks
CN100474856C (en) Method for automatic identifying customer mobile terminal equipment model and providing service and content
CN102622430B (en) Method for dilatation management of one-machine demand system device based on universal serial bus (USB) interfaces
CN103970844A (en) Big data write-in method and device, big data read method and device and big data processing system
CN102792281A (en) Storage 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
C14 Grant of patent or utility model
GR01 Patent grant