CN108664421A - Obtain the method, apparatus and storage medium of multi-medium data - Google Patents
Obtain the method, apparatus and storage medium of multi-medium data Download PDFInfo
- Publication number
- CN108664421A CN108664421A CN201810401052.8A CN201810401052A CN108664421A CN 108664421 A CN108664421 A CN 108664421A CN 201810401052 A CN201810401052 A CN 201810401052A CN 108664421 A CN108664421 A CN 108664421A
- Authority
- CN
- China
- Prior art keywords
- data
- equipment
- medium data
- external
- external storage
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method, apparatus and storage medium obtaining multi-medium data, belong to field of terminal technology.The method includes:When detecting external storage equipment, contents list read requests are generated according to SCSI protocol, the contents list read requests are sent to external storage equipment, when receiving the Thecontents list information of external storage equipment transmission, multi-medium data read requests are generated according to SCSI protocol, and receive the destination multimedia data of external storage equipment transmission.Namely, in embodiments of the present invention, destination application can obtain the multi-medium data on external storage equipment by the content list request that is generated according to SCSI protocol and multi-medium data read requests, it avoids having to that the multi-medium data on external storage equipment could be obtained by USB SCSI drivers, improves the flexibility for obtaining multi-medium data.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of method, apparatus obtaining multi-medium data and storage are situated between
Matter.
Background technology
CD (Compact Disc, CD) is a kind of storage Jie for storing the multi-medium datas such as song or video
Matter.When multi-medium data stores in CD, the multimedia application in terminal can obtain multi-medium data from CD, and
Play the multi-medium data obtained.
In the related technology, CD-ROM drive and USB-SCSI (Universal Serial Bus-Small are installed in advance in terminal
Computer System Interface, universal serial bus-small computer system interface) driver, if user exists
CD is inserted into CD-ROM drive, USB-SCSI drivers will recognize the CD, and read and write the multi-medium data in CD.When more in terminal
When media play application needs to play the multimedia file in CD, acquisition instruction is sent to USB-SCSI drivers, so that
The multi-medium data read and write is sent to multimedia application by USB-SCSI drivers, and multimedia application receives should
Multi-medium data.
Obviously, the method for above-mentioned acquisition multi-medium data needs to be equipped with USB-SCSI drivers ability in terminal in fact
It is existing, if being fitted without USB-SCSI drivers in terminal in advance, then multimedia application will be unable to get in CD
Multi-medium data.
Invention content
In order to solve the problems, such as the relevant technologies, an embodiment of the present invention provides a kind of method obtaining multi-medium data, dresses
It sets and storage medium.The technical solution is as follows:
In a first aspect, a kind of method obtaining multi-medium data is provided, the multimedia application being applied in terminal,
The method includes:
When detecting external storage equipment, contents list is generated according to small computer system interface SCSI protocol and is read
Request, and the contents list read requests are sent to the external storage equipment, it is stored with M items on the external storage equipment
Multi-medium data, the M are the positive integer more than or equal to 1;
The Thecontents list information that the external storage equipment is sent is received, the Thecontents list information is for describing the M
Storage location and every multi-medium data of the every multi-medium data in the external storage equipment in multi-medium data
Data length;
Multi-medium data read requests are generated according to the SCSI protocol, and described more to external storage equipment transmission
Media data read requests, the multi-medium data read requests carry the storage location of destination multimedia data and the target
The data length of multi-medium data, the destination multimedia data are a multi-medium data in the M multi-medium data;
Receive the destination multimedia data that the external storage equipment is sent.
Optionally, the contents list read requests include the first command code field, storage address control field and data
Length control field, first command code field are used to indicate the external storage equipment according to the storage address control word
Section and the data length control field obtain the Thecontents list information, and the storage address control field includes that the first kind is deposited
Address Control Field or the second class storage address control field are stored up, the first kind storage address control field is used to indicate described
External storage equipment is described using the start physical address of every multi-medium data as the storage location of corresponding multi-medium data
Second class storage address control field is used to indicate the external storage equipment by the starting every minute and second frame of every multi-medium data
Storage location of the location as corresponding multi-medium data, the data length control field are used to indicate the external storage equipment
Obtain the data length of every multi-medium data.
Optionally, the multi-medium data read requests include the second command code field, storage address description field sum number
According to length description field, second command code field is used to indicate the external storage equipment and is described according to the storage address
Field and the data length description field obtain the destination multimedia data, and the storage address description field is for describing
The storage location of the destination multimedia data, the data length description field is for describing the destination multimedia data
Data length.
Optionally, described to detect external storage equipment, including:
When the notification message that the operating system for receiving the terminal is broadcasted, the device descriptive information of external equipment is obtained
With interface description information, the notification message is that the operating system is wide when detecting that the external equipment is inserted into the terminal
It broadcasts;
According to the device descriptive information of the external equipment and interface description information, determine whether the external equipment is logical
The CD-ROM drive for crossing the terminal is inserted into the terminal;
If so, sending capacity read requests to the external equipment;
The capabilities message that the external equipment is sent is received, the storage that the capabilities message carries the external equipment is held
Amount;
If the memory capacity of the external equipment is more than 0, the external equipment is determined as the external storage equipment.
Optionally, before the device descriptive information and interface description information of the acquisition external equipment, further include:
It determines whether the multimedia application is in front stage operation state, external equipment is obtained if so, executing
The operation of device descriptive information and interface description information.
Second aspect, provide it is a kind of obtain multi-medium data device, be applied to terminal on multimedia application,
Described device includes:
First generation module, for when detecting external storage equipment, being assisted according to small computer system interface SCSI
View generates contents list read requests, and sends the contents list read requests to the external storage equipment, described external
M multi-medium data is stored in storage device, the M is the positive integer more than or equal to 1;
First receiving module, the Thecontents list information sent for receiving the external storage equipment, the contents list
Information for describe in the M multi-medium data storage location of the every multi-medium data in the external storage equipment with
And the data length of every multi-medium data;
Second generation module, for generating multi-medium data read requests according to the SCSI protocol, and to described external
Storage device sends the multi-medium data read requests, and the multi-medium data read requests carry destination multimedia data
The data length of storage location and the destination multimedia data, the destination multimedia data are the M multi-medium data
In a multi-medium data;
Second receiving module, the destination multimedia data sent for receiving the external storage equipment.
Optionally, the contents list read requests include the first command code field, storage address control field and data
Length control field, first command code field are used to indicate the external storage equipment according to the storage address control word
Section and the data length control field obtain the Thecontents list information, and the storage address control field includes that the first kind is deposited
Address Control Field or the second class storage address control field are stored up, the first kind storage address control field is used to indicate described
External storage equipment is described using the start physical address of every multi-medium data as the storage location of corresponding multi-medium data
Second class storage address control field is used to indicate the external storage equipment by the starting every minute and second frame of every multi-medium data
Storage location of the location as corresponding multi-medium data, the data length control field are used to indicate the external storage equipment
Obtain the data length of every multi-medium data.
Optionally, the multi-medium data read requests include the second command code field, storage address description field sum number
According to length description field, second command code field is used to indicate the external storage equipment and is described according to the storage address
Field and the data length description field obtain the destination multimedia data, and the storage address description field is for describing
The storage location of the destination multimedia data, the data length description field is for describing the destination multimedia data
Data length.
Optionally, first generation module, is specifically used for:
When the notification message that the operating system for receiving the terminal is broadcasted, the device descriptive information of external equipment is obtained
With interface description information, the notification message is that the operating system is wide when detecting that the external equipment is inserted into the terminal
It broadcasts;
According to the device descriptive information of the external equipment and interface description information, determine whether the external equipment is logical
The CD-ROM drive for crossing the terminal is inserted into the terminal;
If so, sending capacity read requests to the external equipment;
The capabilities message that the external equipment is sent is received, the storage that the capabilities message carries the external equipment is held
Amount;
If the memory capacity of the external equipment is more than 0, the external equipment is determined as the external storage equipment.
Optionally, first generation module, also particularly useful for:
It determines whether the multimedia application is in front stage operation state, external equipment is obtained if so, executing
The operation of device descriptive information and interface description information.
The third aspect, provides another device for obtaining multi-medium data, and described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as executing the step of any one method described in above-mentioned first aspect.
Fourth aspect provides a kind of computer readable storage medium, is stored on the computer readable storage medium
The step of instructing, any one method described in above-mentioned first aspect realized when described instruction is executed by processor.
5th aspect provides a kind of computer program product including instruction, when run on a computer so that
Computer executes the step of either method described in above-mentioned first aspect.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
In embodiments of the present invention, when detecting external storage equipment, contents list is generated according to SCSI protocol and is read
Request, the contents list read requests are sent to external storage equipment, when the contents list for receiving external storage equipment transmission
When information, multi-medium data read requests are generated according to SCSI protocol, and receive the destination multimedia of external storage equipment transmission
Data.That is, in embodiments of the present invention, destination application can be by the content list request that is generated according to SCSI protocol
The multi-medium data on external storage equipment is obtained with multi-medium data read requests, avoids having to drive by USB-SCSI
Dynamic program could obtain the multi-medium data on external storage equipment, improve the flexibility for obtaining multi-medium data.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of method flow diagram obtaining multi-medium data provided in an embodiment of the present invention;
Fig. 2 is a kind of device block diagram obtaining multi-medium data provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Before describing in detail to the embodiment of the present invention, first to the present embodiments relate to application scenarios carry out letter
Single introduction.Due on current internet certain songs or the multi-medium datas such as video may need payment that could appreciate, lead
More and more users are caused to be ready to obtain multi-medium data by CD.Acquisition multi-medium data provided in an embodiment of the present invention
Method is just applied in the scene that user obtains multi-medium data by CD.
Fig. 1 is a kind of method flow diagram obtaining multi-medium data provided in an embodiment of the present invention, is applied in terminal
Multimedia application, if as shown in Figure 1, this method includes step:
Step 101:When detecting external storage equipment, according to SCSI protocol generation contents list read requests, and to
External storage equipment sends the contents list read requests, is stored with M multi-medium data on external storage equipment, M be more than
Or the positive integer equal to 1.
In embodiments of the present invention, journey is driven in order to allow multimedia application to be fitted without USB-SCSI in terminal
Multi-medium data is got in the case of sequence from external storage equipment, multimedia application can generate contents list reading
Request, to obtain the Thecontents list information on external storage equipment by the contents list read requests.Due to the contents list
Read requests are generated according to SCSI protocol, and therefore, external storage equipment can respond the contents list read requests.
Specifically, it is according to the realization method of SCSI protocol generation contents list read requests:Distinguished according to SCSI protocol
The first command code field, storage address control field and data length control field are generated, by the first command code field, storage
Location control field and data length control field are combined, and obtain the contents list read requests.It that is to say, the contents list
Read requests include the first command code field, storage address control field and data length control field.
Wherein, the first command code field is used to indicate external storage equipment according to storage address control field and data length
Control field obtains Thecontents list information.Storage address control field includes that first kind storage address control field or the second class are deposited
Address Control Field is stored up, first kind storage address control field is used to indicate external storage equipment by of every multi-medium data
Storage location of the beginning physical address as corresponding multi-medium data, the second class storage address control field are used to indicate external deposit
Equipment is stored up using the starting every minute and second frame address of every multi-medium data as the storage location of corresponding multi-medium data.Data length
Control field is used to indicate the data length that external storage equipment obtains every multi-medium data.
In addition, external storage equipment refers to the storage medium for storing multimedia data, stored on external storage equipment
It is the positive integer more than or equal to 1 to have M multi-medium data, M.The external storage equipment can be CD or USB flash disk (Universal
Serial Bus Flash Disk, general serial bus USB) etc. storage mediums.Thecontents list information is external for describing
The data of storage in storage device, wherein the Thecontents list information of different external storage equipments has different manifestation modes,
When external storage equipment is CD, Thecontents list information refers to the TOC (Table of Contents, table of contents) of CD.
For example, when external storage equipment is CD, the first command code field generated according to SCSI protocol can be 0x43.
Storage address control field can be 0 or 1, when storage address control field is 0, show that external storage equipment is needed every
Storage location of the start physical address of multi-medium data as corresponding multi-medium data, when storage address control field is 1
When, show external storage equipment using the starting every minute and second frame address of every multi-medium data as the storage of corresponding multi-medium data
Position.Data length control field can be 0xFF.
It should be noted that physical address and every minute and second frame address are two kinds of address descriptor sides of external storage equipment respectively
Formula.Specifically, when external storage equipment is CD, physical address is to determine some positioning using audio track identity and index mark
Specific location of the point in CD, that is to say, object address be used to describe anchor point CD which track and the track which
A index point.Every minute and second frame address is that the number of minutes (minute), number of seconds (second) and frame number (frame) is respectively adopted to determine
Specific location of some anchor point in CD.Wherein, the number of minutes refers to the number of minutes that CD is played from start to that anchor point is undergone,
Number of seconds representative is second number undergone from address determined by the number of minutes to anchor point, and frame number refers to from the number of minutes and number of seconds
The frame number that identified address is spaced to anchor point.
In addition, above-mentioned first command code field, storage address control field, first kind storage address control field, second
Class storage address control field and data length control field are the nouns according to the corresponding function setting of each field.It can
Selection of land can also be herein not specifically limited according to the corresponding function setting others noun of each field, the embodiment of the present invention.
Optionally, when external storage equipment is CD, which can also include track field, the sound
Rail field is used to indicate CD and obtains multi-medium data on the corresponding track of track field.At this point, being generated according to SCSI protocol
The realization method of contents list read requests is:Generate the first command code field, storage address control respectively according to SCSI protocol
Field, data length control field and track field, and by the first command code field, storage address control field, data length
Control field and track field are combined, and obtain the contents list read requests.
For example, can 0 be set as the track field, the track field is used to indicate CD and obtains on all tracks at this time
Thecontents list information.For another example, the track field can also be set to specific track number, the track field is used at this time
Instruction CD obtains the Thecontents list information on the corresponding track of the track number.
Optionally, which can also include other fields, such as Data Format fields or control
Field etc., the embodiment of the present invention is not specifically limited herein.
It is further to note that in scsi protocol, contents list read requests are usually 9 bytes, therefore, as general
When the field of above-mentioned determination is combined, if the field after combination is no more than 9 bytes, reserved field can be set, so that
The contents list read requests meet the requirement of 9 bytes.
Table 1 is a kind of contents list read requests provided in an embodiment of the present invention, and as shown in table 1, which reads
Request includes 9 bytes, and each byte includes 8 binary digits.Wherein, the first command code field can be filled in offset displacement
At 0 byte, storage address control field can be filled at the byte that offset displacement is 1, and track field can be filled in
At the byte that offset displacement is 6, data length control field can be filled in the byte that offset displacement is 7 and offset displacement is 8
Place, the byte that other offset displacements are 2 to 5 could be provided as reserved field.In addition, as shown in table 1, since storage address controls
Field can not need 8 binary digits, for example, when storage address control field only needs 1 binary digit, at this point, will
Other binary digits in the byte that offset displacement is 1 are set as reserved field.
Table 1
In addition, since the application scenarios of the embodiment of the present invention are to be fitted without USB-SCSI drivers in terminal,
When external storage equipment is inserted into terminal, multimedia application itself is needed to realize the detection to the external storage equipment.Specifically
Ground, multimedia application detect that the realization method of external storage equipment is:When the notice that the operating system for receiving terminal is broadcasted
When message, the device descriptive information and interface description information of external equipment are obtained, which is that operating system is detecting
It is broadcasted when external equipment insertion terminal.According to the device descriptive information of the external equipment and interface description information, determining should
Whether external equipment is to be inserted into terminal by the CD-ROM drive of terminal, if so, sending capacity read requests to the external equipment.It connects
The capabilities message that external equipment is sent is received, which carries the memory capacity of external equipment, if the storage of external equipment is held
Amount is more than 0, then the external equipment is determined as external storage equipment.
It that is to say, in embodiments of the present invention, as long as there is external equipment to be inserted into terminal, the operating system of terminal all will detection
It is inserted into terminal to the external equipment.At this point, operating system is by broadcast notice messages, for notifying currently have external equipment to be inserted into eventually
End.Whether it is external storage equipment as the external equipment, then multimedia is needed to apply self by above-mentioned realization method
To judge.
Wherein, the device descriptive information of external equipment includes equipment class (bDeviceClass) field, the equipment class word
Section is used to indicate the device type of external equipment.The interface description information of external equipment includes interface class
(bInterfaceSubClass) field, the interface class field are used to indicate the interface type of external storage equipment.Therefore, one
In the possible realization method of kind, multimedia applies the device descriptive information and interface description information according to the external equipment,
Determine whether the external equipment is to be by the realization method of the CD-ROM drive insertion terminal of terminal:Judge setting in device descriptive information
Whether standby class field is the first equipment class field, if so, determining that the external equipment is to be inserted into terminal by the CD-ROM drive of terminal.
If it is not, then further judging whether the interface class field in interface description information is first interface class field, if so, determining should
External equipment is to be inserted into terminal by the CD-ROM drive of terminal.
In practical application, when external equipment is to be inserted into terminal by the CD-ROM drive of terminal, the first equipment class of external equipment
Field is usually 0x08, and first interface class field is generally also 0x08.Determine whether the external equipment is by terminal at this time
CD-ROM drive is inserted into terminal, that is to say, judges whether the equipment class field in device descriptive information is 0x08, if so, determining should
External equipment is to be inserted into terminal by the CD-ROM drive of terminal.If it is not, then judging whether is interface class field in interface description information
For 0x08, if so, determining that the external equipment is to be inserted into terminal by the CD-ROM drive of terminal.
It is further to note that operating system is according to pre-set broadcast lists come broadcast notice messages, extensively
It includes multiple application programs to broadcast list, and multimedia is applied as one in multiple application program.It that is to say, work as operation
When system detectio is inserted into terminal to external equipment, each application program into broadcast lists is sent this and led to by operating system at this time
Know message, each application program in broadcast lists will receive the notification message, that is to say each application in broadcast lists
Program can all obtain the multi-medium data in external storage equipment by step 101 to step 104.But in practical application, use
Family may only need to obtain multi-medium data by multimedia application, also, wish in user to pass through multimedia
Using come when obtaining multi-medium data, which is normally operated in foreground, therefore, multimedia, which is applied, to be obtained
Before taking device descriptive information and the interface description information of external equipment, it can also determine whether itself is in front stage operation shape
State, if so, executing the operation of the device descriptive information and interface description information that obtain external equipment.
Step 102:The Thecontents list information that external storage equipment is sent is received, the Thecontents list information is for describing M items
The data of storage location and every multi-medium data of the every multi-medium data in external storage equipment in multi-medium data
Length.
After multimedia, which is applied, sends contents list read requests to external storage equipment by step 101, outside
Storage device is connect according to the first command code field in the contents list read requests, determines that multimedia application currently needs
Obtain Thecontents list information.External storage equipment is according to the storage address control field and data in contents list read requests
Length control field determines storage position of the every multi-medium data in external storage equipment in M multi-medium data of storage
It sets and the data length of every multi-medium data, by every multi-medium data in the M multi-medium data determined external
The data length of storage location and every multi-medium data in storage device is as the Thecontents list information of itself.It is external to deposit
It stores up equipment and sends the Thecontents list information to multimedia application, multimedia application receives the Thecontents list information, with
Realization gets storage location and every more matchmakers of the every multi-medium data in external storage equipment in M multi-medium data
The data length of volume data.
Every multi-medium data is in external storage equipment in multimedia application has got M multi-medium data
In storage location and every multi-medium data data length after, multimedia application can pass through following step
103 obtain the destination multimedia data in M multi-medium data to step 104.
Step 103:Multi-medium data read requests are generated according to SCSI protocol, and more matchmakers are sent to external storage equipment
Volume data read requests, the multi-medium data read requests carry the storage location and destination multimedia number of destination multimedia data
According to data length, destination multimedia data are a multi-medium data in M multi-medium data.
Specifically, it is according to the realization method of SCSI protocol generation multi-medium data read requests:When multimedia is answered
When with detecting the read requests for destination multimedia data, it is more that target is obtained from the Thecontents list information got
The data length of the storage location and destination multimedia data of media data.It is generated according to the storage location of destination multimedia data
Storage address description field generates data constant description field according to the data length of destination multimedia data, and generates second
Command code field.The second command code field, storage address description field and data length description field of generation are combined,
Obtain the multi-medium data read requests.
It that is to say, in embodiments of the present invention, multi-medium data read requests include the second command code field, storage address
Description field and data length description field, the second command code field are used to indicate external storage equipment and are described according to storage address
Field and data length description field obtain destination multimedia data, and storage address description field is for describing destination multimedia number
According to storage location, data length description field is used to describe the data lengths of destination multimedia data.
For example, destination multimedia data are a song, when external storage equipment is CD, generated according to SCSI protocol
Second command code field can be 0xBE, and storage address description field can be Thecontents list information for describing depositing for the song
The field that storage space is set, data length description field can be the word of the data length in Thecontents list information for describing the song
Section.
Optionally, which can also include other fields, such as Data Format fields or control
Field processed etc., the embodiment of the present invention is not specifically limited herein.
Explanation is also needed, in scsi protocol, multi-medium data read requests are usually 11 bytes, therefore,
When the field of above-mentioned determination to be combined, if the field after combination is no more than 11 bytes, reserved field can be set,
So that the multi-medium data read requests meet the requirement of 11 bytes.
Table 2 is a kind of multi-medium data read requests provided in an embodiment of the present invention, as shown in table 2, the multi-medium data
Read requests include 11 bytes, and each byte includes 8 binary digits.Wherein, the second command code field can be filled in partially
Displacement moves at the byte for 0, and storage address description field can be filled at the byte that offset displacement is 2 to 5, and data length is retouched
Stating field can be filled at the byte that offset displacement is 6 to 8, and the byte of other offset displacements could be provided as reserved field.
Table 2
Step 104:Receive the destination multimedia data that external storage equipment is sent.
It is more according to this when external storage equipment receives the multi-medium data read requests that multimedia application is sent
The second command code field in media data read requests determines that multimedia application currently needs to obtain multimedia number
According to, and the storage address description field and data length description field for including according to multi-medium data read requests determine it is more
Media play application currently needs which multi-medium data obtained.Then it is described according to storage address description field and data length
Field obtains destination multimedia data, and the destination multimedia data of acquisition are sent to multimedia application.
In embodiments of the present invention, when detecting external storage equipment, contents list is generated according to SCSI protocol and is read
Request, the contents list read requests are sent to external storage equipment, when the contents list for receiving external storage equipment transmission
When information, multi-medium data read requests are generated according to SCSI protocol, and receive the destination multimedia of external storage equipment transmission
Data.That is, in embodiments of the present invention, destination application can be by the content list request that is generated according to SCSI protocol
The multi-medium data on external storage equipment is obtained with multi-medium data read requests, avoids having to drive by USB-SCSI
Dynamic program could obtain the multi-medium data on external storage equipment, improve the flexibility for obtaining multi-medium data.
Fig. 2 is a kind of device block diagram obtaining multi-medium data provided in an embodiment of the present invention, is applied to more in terminal
Media play application, as shown in Fig. 2, the device 200 includes the first generation module 201, the generation of the first receiving module 202, second
Module 203 and the second receiving module 204:
First generation module 201, for when detecting external storage equipment, generating contents list according to SCSI protocol and reading
Request is taken, and the contents list read requests are sent to external storage equipment, M multimedia number is stored on external storage equipment
According to M is the positive integer more than or equal to 1;
First receiving module 202, the Thecontents list information for receiving external storage equipment transmission, the Thecontents list information
For describing storage location and every multimedia of the every multi-medium data in external storage equipment in M multi-medium data
The data length of data;
Second generation module 203 for generating multi-medium data read requests according to SCSI protocol, and is set to external storage
Preparation gives the multi-medium data read requests, the multi-medium data read requests carry destination multimedia data storage location and
The data length of destination multimedia data, destination multimedia data are a multi-medium data in M multi-medium data;
Second receiving module 204, the destination multimedia data for receiving external storage equipment transmission.
Optionally, which includes that the first command code field, storage address control field and data are long
Control field is spent, the first command code field is used to indicate external storage equipment according to storage address control field and data length control
Field processed obtains Thecontents list information, and storage address control field includes first kind storage address control field or the storage of the second class
Address Control Field, first kind storage address control field are used to indicate starting of the external storage equipment by every multi-medium data
Storage location of the physical address as corresponding multi-medium data, the second class storage address control field are used to indicate external storage
Equipment is using the starting every minute and second frame address of every multi-medium data as the storage location of corresponding multi-medium data, data length control
Field processed is used to indicate the data length that external storage equipment obtains every multi-medium data.
Optionally, which includes the second command code field, storage address description field and data
Length description field, the second command code field are used to indicate external storage equipment according to storage address description field and data length
Description field obtains destination multimedia data, and storage address description field is used to describe the storage location of destination multimedia data,
Data length description field is used to describe the data length of destination multimedia data.
Optionally, the first generation module 201, is specifically used for:
When the notification message that the operating system for receiving terminal is broadcasted, obtains the device descriptive information of external equipment and connect
Mouth description information, notification message are that operating system is broadcasted when detecting that the external equipment is inserted into terminal;
According to the device descriptive information of the external equipment and interface description information, determine whether the external equipment is to pass through end
The CD-ROM drive at end is inserted into terminal;
If so, sending capacity read requests to the external equipment;
The capabilities message of external equipment transmission is received, which carries the memory capacity of external equipment;
If the memory capacity of the external equipment is more than 0, which is determined as external storage equipment.
Optionally, the first generation module 201, also particularly useful for:
It determines whether multimedia application is in front stage operation state, setting for the external equipment is obtained if so, executing
The operation of standby description information and interface description information.
In embodiments of the present invention, when detecting external storage equipment, contents list is generated according to SCSI protocol and is read
Request, the contents list read requests are sent to external storage equipment, when the contents list for receiving external storage equipment transmission
When information, multi-medium data read requests are generated according to SCSI protocol, and receive the destination multimedia of external storage equipment transmission
Data.That is, in embodiments of the present invention, destination application can be by the content list request that is generated according to SCSI protocol
The multi-medium data on external storage equipment is obtained with multi-medium data read requests, avoids having to drive by USB-SCSI
Dynamic program could obtain the multi-medium data on external storage equipment, improve the flexibility for obtaining multi-medium data.
It should be noted that:The device for the acquisition multi-medium data that above-described embodiment provides is obtaining multi-medium data
When, only the example of the division of the above functional modules, in practical application, above-mentioned function can be divided as needed
With by different function module completions, i.e., the internal structure of equipment is divided into different function modules, to complete above description
All or part of function.In addition, the device for the acquisition multi-medium data that above-described embodiment provides and acquisition multi-medium data
Embodiment of the method belong to same design, specific implementation process refers to embodiment of the method, and which is not described herein again.
Fig. 3 is a kind of structure diagram of terminal 300 provided in an embodiment of the present invention.The terminal 300 can be:Intelligent hand
(Moving Picture Experts Group Audio Layer III, dynamic image are special for machine, tablet computer, MP3 player
Family's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image
Expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 300 is also possible to be referred to as user to set
Other titles such as standby, portable terminal, laptop terminal, terminal console.
In general, terminal 300 includes:Processor 301 and memory 302.
Processor 301 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be used in reason device 301
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 301 can also include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.
In some embodiments, processor 301 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 301 can also wrap
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processors are for handling related machine learning
Calculating operation.
Memory 302 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 302 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 302 can
Storage medium is read for storing at least one instruction, at least one instruction is for performed to realize this hair by processor 301
The method for the acquisition multi-medium data that bright embodiment provides.
In some embodiments, terminal 300 is also optional includes:Peripheral device interface 303 and at least one peripheral equipment.
It can be connected by bus or signal wire between processor 301, memory 302 and peripheral device interface 303.Each peripheral equipment
It can be connected with peripheral device interface 303 by bus, signal wire or circuit board.Specifically, peripheral equipment includes:Radio circuit
304, at least one of touch display screen 305, camera 306, voicefrequency circuit 307, positioning component 308 and power supply 309.
Peripheral device interface 303 can be used for I/O (Input/Output, input/output) is relevant at least one outer
Peripheral equipment is connected to processor 301 and memory 302.In some embodiments, processor 301, memory 302 and peripheral equipment
Interface 303 is integrated on same chip or circuit board;In some other embodiments, processor 301, memory 302 and outer
Any one or two in peripheral equipment interface 303 can realize on individual chip or circuit board, the present embodiment to this not
It is limited.
Radio circuit 304 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates
Frequency circuit 304 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 304 turns electric signal
It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 304 wraps
It includes:Antenna system, RF transceivers, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip
Group, user identity module card etc..Radio circuit 304 can be carried out by least one wireless communication protocol with other terminals
Communication.The wireless communication protocol includes but not limited to:Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), wireless office
Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 304 may be used also
To include the related circuits of NFC (Near Field Communication, wireless near field communication), the application is not subject to this
It limits.
Display screen 305 is for showing UI (User Interface, user interface).The UI may include figure, text, figure
Mark, video and its their arbitrary combination.When display screen 305 is touch display screen, display screen 305 also there is acquisition to show
The ability of the surface of screen 305 or the touch signal of surface.The touch signal can be used as control signal to be input to processor
301 are handled.At this point, display screen 305 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or
Soft keyboard.In some embodiments, display screen 305 can be one, and the front panel of terminal 300 is arranged;In other embodiments
In, display screen 305 can be at least two, be separately positioned on the different surfaces of terminal 300 or in foldover design;In still other reality
Apply in example, display screen 305 can be flexible display screen, be arranged on the curved surface of terminal 300 or fold plane on.Even, it shows
Display screen 305 can also be arranged to non-rectangle irregular figure, namely abnormity screen.LCD (Liquid may be used in display screen 305
Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode)
Etc. materials prepare.
CCD camera assembly 306 is for acquiring image or video.Optionally, CCD camera assembly 306 include front camera and
Rear camera.In general, the front panel in terminal is arranged in front camera, rear camera is arranged at the back side of terminal.One
In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively
Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle
Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting functions or other fusions are clapped
Camera shooting function.In some embodiments, CCD camera assembly 306 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp,
It can also be double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, be can be used for not
With the light compensation under colour temperature.
Voicefrequency circuit 307 may include microphone and loud speaker.Microphone is used to acquire the sound wave of user and environment, and will
Sound wave, which is converted to electric signal and is input to processor 301, to be handled, or is input to radio circuit 304 to realize voice communication.
For stereo acquisition or the purpose of noise reduction, microphone can be multiple, be separately positioned on the different parts of terminal 300.Mike
Wind can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker is then used to that processor 301 or radio circuit will to be come from
304 electric signal is converted to sound wave.Loud speaker can be traditional wafer speaker, can also be piezoelectric ceramic loudspeaker.When
When loud speaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications
Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 307 can also include
Earphone jack.
Positioning component 308 is used for the current geographic position of positioning terminal 300, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 308 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union
The positioning component of Galileo system.
Power supply 309 is used to be powered for the various components in terminal 300.Power supply 309 can be alternating current, direct current,
Disposable battery or rechargeable battery.When power supply 309 includes rechargeable battery, which can support wired charging
Or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 300 further include there are one or multiple sensors 310.The one or more sensors
310 include but not limited to:Acceleration transducer 311, gyro sensor 312, pressure sensor 313, fingerprint sensor 314,
Optical sensor 315 and proximity sensor 316.
The acceleration that acceleration transducer 311 can detect in three reference axis of the coordinate system established with terminal 300 is big
It is small.For example, acceleration transducer 311 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 301 can
With the acceleration of gravity signal acquired according to acceleration transducer 311, control touch display screen 305 is regarded with transverse views or longitudinal direction
Figure carries out the display of user interface.Acceleration transducer 311 can be also used for game or the acquisition of the exercise data of user.
Gyro sensor 312 can be with the body direction of detection terminal 300 and rotational angle, and gyro sensor 312 can
To cooperate with acquisition user to act the 3D of terminal 300 with acceleration transducer 311.Processor 301 is according to gyro sensor 312
Following function may be implemented in the data of acquisition:When action induction (for example changing UI according to the tilt operation of user), shooting
Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 305 in terminal 300 can be arranged in pressure sensor 313.Work as pressure
The gripping signal that user can be detected in the side frame of terminal 300 to terminal 300 is arranged in sensor 313, by processor 301
Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 313 acquires.When the setting of pressure sensor 313 exists
When the lower layer of touch display screen 305, the pressure operation of touch display screen 305 is realized to UI circle according to user by processor 301
Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu
At least one of control.
Fingerprint sensor 314 is used to acquire the fingerprint of user, collected according to fingerprint sensor 314 by processor 301
The identity of fingerprint recognition user, alternatively, by fingerprint sensor 314 according to the identity of collected fingerprint recognition user.It is identifying
When the identity for going out user is trusted identity, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 301
Include solution lock screen, check encryption information, download software, payment and change setting etc..Terminal can be set in fingerprint sensor 314
300 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 300, fingerprint sensor 314 can be with
It is integrated with physical button or manufacturer Logo.
Optical sensor 315 is for acquiring ambient light intensity.In one embodiment, processor 301 can be according to optics
The ambient light intensity that sensor 315 acquires controls the display brightness of touch display screen 305.Specifically, when ambient light intensity is higher
When, the display brightness of touch display screen 305 is turned up;When ambient light intensity is relatively low, the display for turning down touch display screen 305 is bright
Degree.In another embodiment, the ambient light intensity that processor 301 can also be acquired according to optical sensor 315, dynamic adjust
The acquisition parameters of CCD camera assembly 306.
Proximity sensor 316, also referred to as range sensor are generally arranged at the front panel of terminal 300.Proximity sensor 316
The distance between front for acquiring user and terminal 300.In one embodiment, when proximity sensor 316 detects use
When family and the distance between the front of terminal 300 taper into, touch display screen 305 is controlled from bright screen state by processor 301
It is switched to breath screen state;When proximity sensor 316 detects user and the distance between the front of terminal 300 becomes larger,
Touch display screen 305 is controlled by processor 301 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal 300 of structure shown in Fig. 3, can wrap
It includes than illustrating more or fewer components, either combine certain components or is arranged using different components.
The embodiment of the present invention additionally provides a kind of non-transitorycomputer readable storage medium, when in the storage medium
When instruction is executed by the processor of terminal so that the method that terminal is able to carry out the acquisition multi-medium data of embodiment offer.
The embodiment of the present invention additionally provides a kind of computer program product including instruction, when it runs on computers
When so that the method that computer executes the acquisition multi-medium data of above-described embodiment offer.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of method obtaining multi-medium data, which is characterized in that the multimedia application being applied in terminal, the side
Method includes:
When detecting external storage equipment, contents list reading is generated according to small computer system interface SCSI protocol and is asked
It asks, and the contents list read requests is sent to the external storage equipment, it is more to be stored with M items on the external storage equipment
Media data, the M are the positive integer more than or equal to 1;
The Thecontents list information that the external storage equipment is sent is received, the Thecontents list information is more for describing the M items
The number of storage location and every multi-medium data of the every multi-medium data in the external storage equipment in media data
According to length;
Multi-medium data read requests are generated according to the SCSI protocol, and the multimedia is sent to the external storage equipment
Data read request, the multi-medium data read requests carry storage location and the more matchmakers of the target of destination multimedia data
The data length of volume data, the destination multimedia data are a multi-medium data in the M multi-medium data;
Receive the destination multimedia data that the external storage equipment is sent.
2. the method as described in claim 1, which is characterized in that the contents list read requests include the first order code word
Section, storage address control field and data length control field, first command code field are used to indicate the external storage
Equipment obtains the Thecontents list information according to the storage address control field and the data length control field, described to deposit
It includes that first kind storage address control field or the second class storage address control field, the first kind are deposited to store up Address Control Field
Storage Address Control Field is used to indicate the external storage equipment using the start physical address of every multi-medium data as correspondence
Multi-medium data storage location, the second class storage address control field is used to indicate the external storage equipment will be every
Storage location of the starting every minute and second frame address of multi-medium data as corresponding multi-medium data, the data length control word
Section is used to indicate the data length that the external storage equipment obtains every multi-medium data.
3. the method as described in claim 1, which is characterized in that the multi-medium data read requests include the second order code word
Section, storage address description field and data length description field, second command code field are used to indicate the external storage
Equipment obtains the destination multimedia data according to the storage address description field and the data length description field, described
Storage address description field is used to describe the storage location of the destination multimedia data, and the data length description field is used for
The data length of the destination multimedia data is described.
4. the method as described in claims 1 to 3 is any, which is characterized in that it is described to detect external storage equipment, including:
When the notification message that the operating system for receiving the terminal is broadcasted, obtains the device descriptive information of external equipment and connect
Mouth description information, the notification message are that the operating system is broadcasted when detecting that the external equipment is inserted into the terminal
's;
According to the device descriptive information of the external equipment and interface description information, determine whether the external equipment is to pass through institute
The CD-ROM drive for stating terminal is inserted into the terminal;
If so, sending capacity read requests to the external equipment;
The capabilities message that the external equipment is sent is received, the capabilities message carries the memory capacity of the external equipment;
If the memory capacity of the external equipment is more than 0, the external equipment is determined as the external storage equipment.
5. method as claimed in claim 4, which is characterized in that the device descriptive information for obtaining external equipment and interface are retouched
Before stating information, further include:
Determine whether the multimedia application is in front stage operation state, if so, executing the equipment for obtaining external equipment
The operation of description information and interface description information.
6. a kind of device obtaining multi-medium data, which is characterized in that the multimedia application being applied in terminal, the dress
Set including:
First generation module, for when detecting external storage equipment, being given birth to according to small computer system interface SCSI protocol
The contents list read requests, the external storage are sent at contents list read requests, and to the external storage equipment
M multi-medium data is stored in equipment, the M is the positive integer more than or equal to 1;
First receiving module, the Thecontents list information sent for receiving the external storage equipment, the Thecontents list information
For describing storage location in the external storage equipment of every multi-medium data in the M multi-medium data and every
The data length of multi-medium data;
Second generation module, for generating multi-medium data read requests according to the SCSI protocol, and to the external storage
Equipment sends the multi-medium data read requests, and the multi-medium data read requests carry the storage of destination multimedia data
The data length of position and the destination multimedia data, the destination multimedia data are in the M multi-medium data
One multi-medium data;
Second receiving module, the destination multimedia data sent for receiving the external storage equipment.
7. device as claimed in claim 6, which is characterized in that the contents list read requests include the first order code word
Section, storage address control field and data length control field, first command code field are used to indicate the external storage
Equipment obtains the Thecontents list information according to the storage address control field and the data length control field, described to deposit
It includes that first kind storage address control field or the second class storage address control field, the first kind are deposited to store up Address Control Field
Storage Address Control Field is used to indicate the external storage equipment using the start physical address of every multi-medium data as correspondence
Multi-medium data storage location, the second class storage address control field is used to indicate the external storage equipment will be every
Storage location of the starting every minute and second frame address of multi-medium data as corresponding multi-medium data, the data length control word
Section is used to indicate the data length that the external storage equipment obtains every multi-medium data.
8. device as claimed in claim 6, which is characterized in that the multi-medium data read requests include the second order code word
Section, storage address description field and data length description field, second command code field are used to indicate the external storage
Equipment obtains the destination multimedia data according to the storage address description field and the data length description field, described
Storage address description field is used to describe the storage location of the destination multimedia data, and the data length description field is used for
The data length of the destination multimedia data is described.
9. the device as described in claim 6 to 8 is any, which is characterized in that first generation module is specifically used for:
When the notification message that the operating system for receiving the terminal is broadcasted, obtains the device descriptive information of external equipment and connect
Mouth description information, the notification message are that the operating system is broadcasted when detecting that the external equipment is inserted into the terminal
's;
According to the device descriptive information of the external equipment and interface description information, determine whether the external equipment is to pass through institute
The CD-ROM drive for stating terminal is inserted into the terminal;
If so, sending capacity read requests to the external equipment;
The capabilities message that the external equipment is sent is received, the capabilities message carries the memory capacity of the external equipment;
If the memory capacity of the external equipment is more than 0, the external equipment is determined as the external storage equipment.
10. device as claimed in claim 9, which is characterized in that first generation module, also particularly useful for:
Determine whether the multimedia application is in front stage operation state, if so, executing the equipment for obtaining external equipment
The operation of description information and interface description information.
11. a kind of device obtaining multi-medium data, which is characterized in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as the step of perform claim requires any one method described in 1-5.
12. a kind of computer readable storage medium, instruction is stored on the computer readable storage medium, which is characterized in that
The step of any one method described in claim 1-5 is realized when described instruction is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810401052.8A CN108664421B (en) | 2018-04-28 | 2018-04-28 | Method, device and storage medium for acquiring multimedia data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810401052.8A CN108664421B (en) | 2018-04-28 | 2018-04-28 | Method, device and storage medium for acquiring multimedia data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108664421A true CN108664421A (en) | 2018-10-16 |
CN108664421B CN108664421B (en) | 2020-04-28 |
Family
ID=63781436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810401052.8A Active CN108664421B (en) | 2018-04-28 | 2018-04-28 | Method, device and storage medium for acquiring multimedia data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108664421B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110824963A (en) * | 2019-11-21 | 2020-02-21 | 大庆思特传媒科技有限公司 | Control device in multimedia equipment cluster |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101873356A (en) * | 2010-05-10 | 2010-10-27 | 杭州海康威视系统技术有限公司 | Method and device for modifying IP address of equipment |
CN101946246A (en) * | 2008-02-14 | 2011-01-12 | 国际商业机器公司 | Providing indirect data addressing for a control block at a channel subsystem of an i/o processing system |
CN104182367A (en) * | 2014-07-28 | 2014-12-03 | 英业达科技有限公司 | Storage control device and calling method thereof |
CN104679697A (en) * | 2015-02-28 | 2015-06-03 | 广州酷狗计算机科技有限公司 | File reading method and device, optical drive driver board and optical drive equipment |
US20160077738A1 (en) * | 2014-09-15 | 2016-03-17 | Nimble Storage, Inc. | Fibre Channel Storage Array Methods for Port Management |
CN105867180A (en) * | 2016-03-31 | 2016-08-17 | 北京小米移动软件有限公司 | Control method and device |
-
2018
- 2018-04-28 CN CN201810401052.8A patent/CN108664421B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101946246A (en) * | 2008-02-14 | 2011-01-12 | 国际商业机器公司 | Providing indirect data addressing for a control block at a channel subsystem of an i/o processing system |
CN101873356A (en) * | 2010-05-10 | 2010-10-27 | 杭州海康威视系统技术有限公司 | Method and device for modifying IP address of equipment |
CN104182367A (en) * | 2014-07-28 | 2014-12-03 | 英业达科技有限公司 | Storage control device and calling method thereof |
US20160077738A1 (en) * | 2014-09-15 | 2016-03-17 | Nimble Storage, Inc. | Fibre Channel Storage Array Methods for Port Management |
CN104679697A (en) * | 2015-02-28 | 2015-06-03 | 广州酷狗计算机科技有限公司 | File reading method and device, optical drive driver board and optical drive equipment |
CN105867180A (en) * | 2016-03-31 | 2016-08-17 | 北京小米移动软件有限公司 | Control method and device |
Non-Patent Citations (2)
Title |
---|
DAN WING: "Network Address Translation: Extending the Internet Address Space", 《IEEE INTERNET COMPUTING》 * |
郎为民、陈红、姚晋芳等: "现代数据中心直连式存储研究", 《电信快报》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110824963A (en) * | 2019-11-21 | 2020-02-21 | 大庆思特传媒科技有限公司 | Control device in multimedia equipment cluster |
Also Published As
Publication number | Publication date |
---|---|
CN108664421B (en) | 2020-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102336368B1 (en) | Method and apparatus for playing audio data | |
CN108965757B (en) | Video recording method, device, terminal and storage medium | |
CN109144346B (en) | Song sharing method and device and storage medium | |
CN108762881A (en) | Interface method for drafting, device, terminal and storage medium | |
CN109302385A (en) | Multimedia resource sharing method, device and storage medium | |
CN109327608A (en) | Method, terminal, server and the system that song is shared | |
CN109101213A (en) | Control the method, apparatus and storage medium of sound card transmission audio | |
CN110418152A (en) | It is broadcast live the method and device of prompt | |
CN110266982A (en) | The method and system of song is provided in recorded video | |
CN110288689A (en) | The method and apparatus that electronic map is rendered | |
CN109218751A (en) | The method, apparatus and system of recommendation of audio | |
CN108509620A (en) | Song recognition method and device, storage medium | |
CN108848492A (en) | Enabling method, apparatus, terminal and the storage medium of subscriber identification card | |
CN108319712A (en) | The method and apparatus for obtaining lyrics data | |
CN110244999A (en) | Control method, apparatus, equipment and the storage medium of destination application operation | |
CN109783176A (en) | Switch the method and apparatus of the page | |
CN109547847A (en) | Add the method, apparatus and computer readable storage medium of video information | |
CN110309348A (en) | Playback of songs method, apparatus and system | |
CN108831423B (en) | Method, device, terminal and storage medium for extracting main melody tracks from audio data | |
CN109871497A (en) | The method and apparatus of sharing information | |
CN108664421A (en) | Obtain the method, apparatus and storage medium of multi-medium data | |
CN108966026A (en) | The method and apparatus for making video file | |
CN111641853B (en) | Multimedia resource loading method and device, computer equipment and storage medium | |
CN111711841B (en) | Image frame playing method, device, terminal and storage medium | |
CN113076286A (en) | Method, device and equipment for acquiring multimedia file and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |