CN108664421B - Method, device and storage medium for acquiring multimedia data - Google Patents

Method, device and storage medium for acquiring multimedia data Download PDF

Info

Publication number
CN108664421B
CN108664421B CN201810401052.8A CN201810401052A CN108664421B CN 108664421 B CN108664421 B CN 108664421B CN 201810401052 A CN201810401052 A CN 201810401052A CN 108664421 B CN108664421 B CN 108664421B
Authority
CN
China
Prior art keywords
multimedia data
external
field
external storage
storage device
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
CN201810401052.8A
Other languages
Chinese (zh)
Other versions
CN108664421A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201810401052.8A priority Critical patent/CN108664421B/en
Publication of CN108664421A publication Critical patent/CN108664421A/en
Application granted granted Critical
Publication of CN108664421B publication Critical patent/CN108664421B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus 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 Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a device and a storage medium for acquiring multimedia data, and belongs to the technical field of terminals. The method comprises the following steps: when the external storage equipment is detected, a content list reading request is generated according to an SCSI protocol, the content list reading request is sent to the external storage equipment, when content list information sent by the external storage equipment is received, a multimedia data reading request is generated according to the SCSI protocol, and target multimedia data sent by the external storage equipment is received. That is, in the embodiment of the present invention, the target application may obtain the multimedia data on the external storage device through the content list request and the multimedia data read request generated according to the SCSI protocol, which avoids that the multimedia data on the external storage device can be obtained only through the USB-SCSI driver, and improves the flexibility of obtaining the multimedia data.

Description

Method, device and storage medium for acquiring multimedia data
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a storage medium for acquiring multimedia data.
Background
A CD (Compact Disc) is a storage medium for storing multimedia data such as songs or videos. When the multimedia data is stored in the CD, the multimedia playing application in the terminal may acquire the multimedia data from the CD and play the acquired multimedia data.
In the related art, an optical disc drive and a USB-SCSI (Universal Serial Bus-small computer System Interface) driver are pre-installed in a terminal, and if a user inserts a CD into the optical disc drive, the USB-SCSI driver recognizes the CD and reads and writes multimedia data in the CD. When the multimedia playing application in the terminal needs to play the multimedia file in the CD, an acquisition instruction is sent to the USB-SCSI drive program, so that the USB-SCSI drive program sends the read and written multimedia data to the multimedia playing application, and the multimedia playing application receives the multimedia data.
Obviously, the method for acquiring multimedia data needs to be implemented only by installing a USB-SCSI driver in the terminal, and if the USB-SCSI driver is not installed in the terminal in advance, the multimedia playing application cannot acquire the multimedia data in the CD.
Disclosure of Invention
In order to solve the problems of the related art, embodiments of the present invention provide a method, an apparatus, and a storage medium for acquiring multimedia data. The technical scheme is as follows:
in a first aspect, a method for acquiring multimedia data is provided, which is applied to a multimedia playing application on a terminal, and the method includes:
when detecting an external storage device, generating a content list reading request according to a small computer system interface SCSI protocol, and sending the content list reading request to the external storage device, wherein M pieces of multimedia data are stored on the external storage device, and M is a positive integer greater than or equal to 1;
receiving content list information sent by the external storage device, wherein the content list information is used for describing the storage position of each piece of multimedia data in the M pieces of multimedia data in the external storage device and the data length of each piece of multimedia data;
generating a multimedia data reading request according to the SCSI protocol, and sending the multimedia data reading request to the external storage device, wherein the multimedia data reading request carries a storage position of target multimedia data and a data length of the target multimedia data, and the target multimedia data is one of the M pieces of multimedia data;
and receiving the target multimedia data sent by the external storage equipment.
Optionally, the content list read request includes a first command code field, a memory address control field, and a data length control field, the first command code field is used for instructing the external storage device to acquire the content list information according to the storage address control field and the data length control field, the memory address control fields include a first type of memory address control field or a second type of memory address control field, the first-type storage address control field is used for indicating the external storage device to take the starting physical address of each piece of multimedia data as the storage position of the corresponding multimedia data, the second-type storage address control field is used for indicating the external storage device to take the starting address of the multimedia data as the storage position of the corresponding multimedia data, the data length control field is used for indicating the external storage equipment to acquire the data length of each piece of multimedia data.
Optionally, the multimedia data read request includes a second command code field, a storage address description field, and a data length description field, where the second command code field is used to instruct the external storage device to obtain the target multimedia data according to the storage address description field and the data length description field, the storage address description field is used to describe a storage location of the target multimedia data, and the data length description field is used to describe a data length of the target multimedia data.
Optionally, the detecting an external storage device includes:
when receiving a notification message broadcasted by an operating system of the terminal, acquiring device description information and interface description information of an external device, wherein the notification message is broadcasted by the operating system when the operating system detects that the external device is inserted into the terminal;
determining whether the external device is inserted into the terminal through an optical drive of the terminal according to the device description information and the interface description information of the external device;
if so, sending a capacity reading request to the external equipment;
receiving a capacity message sent by the external equipment, wherein the capacity message carries the storage capacity of the external equipment;
and if the storage capacity of the external equipment is greater than 0, determining the external equipment as the external storage equipment.
Optionally, before acquiring the device description information and the interface description information of the external device, the method further includes:
and determining whether the multimedia playing application is in a foreground running state, if so, executing the operation of acquiring the equipment description information and the interface description information of the external equipment.
In a second aspect, an apparatus for acquiring multimedia data is provided, which is applied to a multimedia playing application on a terminal, and the apparatus includes:
the device comprises a first generation module, a second generation module and a third generation module, wherein the first generation module is used for generating a content list reading request according to a small computer system interface SCSI protocol when an external storage device is detected, and sending the content list reading request to the external storage device, M pieces of multimedia data are stored on the external storage device, and M is a positive integer greater than or equal to 1;
a first receiving module, configured to receive content list information sent by the external storage device, where the content list information is used to describe a storage location of each piece of multimedia data in the M pieces of multimedia data in the external storage device and a data length of each piece of multimedia data;
a second generation module, configured to generate a multimedia data read request according to the SCSI protocol, and send the multimedia data read request to the external storage device, where the multimedia data read request carries a storage location of target multimedia data and a data length of the target multimedia data, and the target multimedia data is one of the M pieces of multimedia data;
and the second receiving module is used for receiving the target multimedia data sent by the external storage equipment.
Optionally, the content list read request includes a first command code field, a memory address control field, and a data length control field, the first command code field is used for instructing the external storage device to acquire the content list information according to the storage address control field and the data length control field, the memory address control fields include a first type of memory address control field or a second type of memory address control field, the first-type storage address control field is used for indicating the external storage device to take the starting physical address of each piece of multimedia data as the storage position of the corresponding multimedia data, the second-type storage address control field is used for indicating the external storage device to take the starting address of the multimedia data as the storage position of the corresponding multimedia data, the data length control field is used for indicating the external storage equipment to acquire the data length of each piece of multimedia data.
Optionally, the multimedia data read request includes a second command code field, a storage address description field, and a data length description field, where the second command code field is used to instruct the external storage device to obtain the target multimedia data according to the storage address description field and the data length description field, the storage address description field is used to describe a storage location of the target multimedia data, and the data length description field is used to describe a data length of the target multimedia data.
Optionally, the first generating module is specifically configured to:
when receiving a notification message broadcasted by an operating system of the terminal, acquiring device description information and interface description information of an external device, wherein the notification message is broadcasted by the operating system when the operating system detects that the external device is inserted into the terminal;
determining whether the external device is inserted into the terminal through an optical drive of the terminal according to the device description information and the interface description information of the external device;
if so, sending a capacity reading request to the external equipment;
receiving a capacity message sent by the external equipment, wherein the capacity message carries the storage capacity of the external equipment;
and if the storage capacity of the external equipment is greater than 0, determining the external equipment as the external storage equipment.
Optionally, the first generating module is further specifically configured to:
and determining whether the multimedia playing application is in a foreground running state, if so, executing the operation of acquiring the equipment description information and the interface description information of the external equipment.
In a third aspect, another apparatus for acquiring multimedia data is provided, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of the first aspect described above.
In a fourth aspect, a computer-readable storage medium is provided, having instructions stored thereon, which when executed by a processor, implement the steps of any of the methods of the first aspect described above.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of any of the methods of the first aspect described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the external storage device is detected, a content list reading request is generated according to a SCSI protocol, the content list reading request is sent to the external storage device, when content list information sent by the external storage device is received, a multimedia data reading request is generated according to the SCSI protocol, and target multimedia data sent by the external storage device is received. That is, in the embodiment of the present invention, the target application may obtain the multimedia data on the external storage device through the content list request and the multimedia data read request generated according to the SCSI protocol, which avoids that the multimedia data on the external storage device can be obtained only through the USB-SCSI driver, and improves the flexibility of obtaining the multimedia data.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for acquiring multimedia data according to an embodiment of the present invention;
fig. 2 is a block diagram of an apparatus for acquiring multimedia data according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before the embodiments of the present invention are described in detail, application scenarios related to the embodiments of the present invention are briefly described. Since some multimedia data such as songs or videos on the internet may need to be paid for to enjoy, more and more users are willing to acquire the multimedia data through a CD. The method for acquiring the multimedia data provided by the embodiment of the invention is applied to a scene that a user acquires the multimedia data through a CD.
Fig. 1 is a flowchart of a method for acquiring multimedia data according to an embodiment of the present invention, which is applied to a multimedia playing application on a terminal, as shown in fig. 1, the method includes if:
step 101: when detecting the external storage equipment, generating a content list reading request according to a SCSI protocol, and sending the content list reading request to the external storage equipment, wherein M pieces of multimedia data are stored on the external storage equipment, and M is a positive integer greater than or equal to 1.
In the embodiment of the present invention, in order to enable the multimedia playing application to acquire multimedia data from the external storage device without installing a USB-SCSI driver on the terminal, the multimedia playing application may generate a content list reading request, so as to acquire content list information on the external storage device through the content list reading request. Since the content list read request is generated according to the SCSI protocol, the external storage device can respond to the content list read request.
Specifically, the implementation manner of generating the content list read request according to the SCSI protocol is as follows: and respectively generating a first command code field, a storage address control field and a data length control field according to the SCSI protocol, and combining the first command code field, the storage address control field and the data length control field to obtain the content list reading request. That is, the contents list read request includes a first command code field, a memory address control field, and a data length control field.
The first command code field is used for indicating the external storage device to acquire the content list information according to the storage address control field and the data length control field. The storage address control field comprises a first type storage address control field or a second type storage address control field, the first type storage address control field is used for indicating the external storage device to use the initial physical address of each piece of multimedia data as the storage position of the corresponding multimedia data, and the second type storage address control field is used for indicating the external storage device to use the initial sub-second frame address of each piece of multimedia data as the storage position of the corresponding multimedia data. The data length control field is used for indicating the external storage device to acquire the data length of each piece of multimedia data.
In addition, the external storage device refers to a storage medium for storing multimedia data, wherein M pieces of multimedia data are stored on the external storage device, and M is a positive integer greater than or equal to 1. The external storage device may be a storage medium such as a CD or a usb Disk (universal serial Bus Flash Disk). The content list information is used to describe data stored on the external storage device, where the content list information of different external storage devices has different expression modes, and when the external storage device is a CD, the content list information refers to a TOC (Table of Contents) of the CD.
For example, when the external storage device is a CD, the first command code field generated according to the SCSI protocol may be 0x 43. The storage address control field may be 0 or 1, and when the storage address control field is 0, it indicates that the external storage device needs to use the starting physical address of each piece of multimedia data as the storage location of the corresponding multimedia data, and when the storage address control field is 1, it indicates that the external storage device uses the starting sub-second frame address of each piece of multimedia data as the storage location of the corresponding multimedia data. The data length control field may be 0 xFF.
It should be noted that the physical address and the minute-second frame address are two address description modes of the external storage device, respectively. Specifically, when the external storage device is a CD, the physical address is to determine a specific position of a certain anchor point in the CD by using the track identifier and the index identifier, that is, the object address is used to describe which track of the CD the anchor point is located at and which index point of the track. The minute frame address is used to determine the specific location of a certain anchor point in the CD using the minute (minute), second (second) and frame (frame), respectively. Where minutes refers to minutes elapsed from the start of the CD playing to the anchor point, seconds refers to seconds elapsed from the address determined by the minutes to the anchor point, and frame number refers to the number of frames spaced from the address determined by the minutes and seconds to the anchor point.
In addition, the first command code field, the storage address control field, the first type of storage address control field, the second type of storage address control field, and the data length control field are all nouns set according to functions corresponding to the respective fields. Optionally, other terms may also be set according to the functions corresponding to the fields, and the embodiment of the present invention is not specifically limited herein.
Optionally, when the external storage device is a CD, the content list reading request may further include a track field, where the track field is used to instruct the CD to acquire multimedia data on a track corresponding to the track field. At this time, the implementation manner of generating the content list reading request according to the SCSI protocol is as follows: and respectively generating a first command code field, a storage address control field, a data length control field and a sound track field according to the SCSI protocol, and combining the first command code field, the storage address control field, the data length control field and the sound track field to obtain the content list reading request.
For example, the track field may be set to 0, in which case the track field is used to instruct the CD to acquire the content list information on all tracks. For another example, the track field may be set to a specific track number, and the track field is used to instruct the CD to acquire the content list information on the track corresponding to the track number.
Optionally, the content list read request may further include other fields, such as a data format field or a control field, and the embodiment of the present invention is not specifically limited herein.
It should be noted that, in the SCSI protocol, the request for reading the content list is usually 9 bytes, and therefore, when the above-identified fields are combined, if the combined fields do not exceed 9 bytes, a reserved field may be set so that the request for reading the content list satisfies the requirement of 9 bytes.
Table 1 shows a content list read request according to an embodiment of the present invention, where the content list read request includes 9 bytes, and each byte includes 8 binary bits, as shown in table 1. Wherein the first command code field may be padded at a byte having an offset displacement of 0, the memory address control field may be padded at a byte having an offset displacement of 1, the track field may be padded at a byte having an offset displacement of 6, the data length control field may be padded at bytes having an offset displacement of 7 and an offset displacement of 8, and the other bytes having an offset displacement of 2 to 5 may be set as the reserved field. In addition, as shown in table 1, since the storage address control field may not need 8 bits, for example, when the storage address control field only needs 1 bit, the other bits in the byte with offset shift of 1 are set as the reserved field.
TABLE 1
Figure BDA0001645736560000081
In addition, because the application scenario of the embodiment of the present invention is that no USB-SCSI driver is installed in the terminal, when the external storage device is inserted into the terminal, the multimedia application itself is required to detect the external storage device. Specifically, the implementation manner of the multimedia application detecting the external storage device is as follows: when receiving a notification message broadcasted by an operating system of the terminal, acquiring device description information and interface description information of the external device, wherein the notification message is broadcasted by the operating system when the external device is detected to be inserted into the terminal. And determining whether the external equipment is inserted into the terminal through an optical drive of the terminal according to the equipment description information and the interface description information of the external equipment, and if so, sending a capacity reading request to the external equipment. Receiving a capacity message sent by the external equipment, wherein the capacity message carries the storage capacity of the external equipment, and if the storage capacity of the external equipment is greater than 0, determining the external equipment as the external storage equipment.
That is, in the embodiment of the present invention, as long as an external device is inserted into the terminal, the operating system of the terminal detects that the external device is inserted into the terminal. At this time, the operating system broadcasts a notification message for notifying that an external device is currently inserted into the terminal. As for whether the external device is an external storage device, the multimedia playing application itself needs to be determined by the above implementation manner.
The device description information of the external device includes a device class (bdviciceclass) field, where the device class field is used to indicate a device type of the external device. The interface description information of the external device comprises an interface class (bInterfaceSubclass) field, and the interface class field is used for indicating the interface type of the external storage device. Therefore, in a possible implementation manner, the implementation manner in which the multimedia playing application determines whether the external device is inserted into the terminal through the optical drive of the terminal according to the device description information and the interface description information of the external device is as follows: and judging whether the equipment type field in the equipment description information is the first equipment type field, if so, determining that the external equipment is inserted into the terminal through the optical drive of the terminal. If not, further judging whether the interface type field in the interface description information is the first interface type field, if so, determining that the external device is inserted into the terminal through the optical drive of the terminal.
In practical applications, when the external device is inserted into the terminal through the optical disc drive of the terminal, the first device class field of the external device is usually 0x08, and the first interface class field is usually 0x 08. At this time, it is determined whether the external device is inserted into the terminal through the optical drive of the terminal, that is, it is determined whether the device type field in the device description information is 0x08, and if so, it is determined that the external device is inserted into the terminal through the optical drive of the terminal. If not, judging whether the interface type field in the interface description information is 0x08, if so, determining that the external device is inserted into the terminal through the optical drive of the terminal.
It should be noted that the operating system broadcasts the notification message according to a preset broadcast list, where the broadcast list includes a plurality of application programs, and the multimedia playing application is one of the plurality of application programs. That is, when the operating system detects that the external storage device is inserted into the terminal, the operating system sends the notification message to each application program in the broadcast list, and each application program in the broadcast list receives the notification message, that is, each application program in the broadcast list can obtain the multimedia data in the external storage device through steps 101 to 104. However, in practical applications, a user may only need to acquire multimedia data through a multimedia playing application, and when the user wishes to acquire the multimedia data through the multimedia playing application, the multimedia playing application is usually operated in the foreground, so that the multimedia playing application can determine whether the multimedia playing application is in the foreground operation state before acquiring the device description information and the interface description information of the external device, and if so, perform an operation of acquiring the device description information and the interface description information of the external device.
Step 102: and receiving content list information sent by the external storage device, wherein the content list information is used for describing the storage position of each piece of multimedia data in the M pieces of multimedia data in the external storage device and the data length of each piece of multimedia data.
After the multimedia playing application sends a content list reading request to the external storage device in step 101, the external storage device determines that the multimedia playing application needs to acquire content list information currently according to the first command code field in the content list reading request. The external storage device determines the storage position of each piece of multimedia data in the stored M pieces of multimedia data in the external storage device and the data length of each piece of multimedia data according to the storage address control field and the data length control field in the content list reading request, and uses the determined storage position of each piece of multimedia data in the external storage device and the determined data length of each piece of multimedia data in the M pieces of multimedia data as the content list information of the external storage device. The external storage device sends the content list information to the multimedia playing application, and the multimedia playing application receives the content list information so as to obtain the storage position of each piece of multimedia data in the M pieces of multimedia data in the external storage device and the data length of each piece of multimedia data.
After the multimedia playing application has acquired the storage location of each piece of multimedia data in the M pieces of multimedia data in the external storage device and the data length of each piece of multimedia data, the multimedia playing application may acquire the target multimedia data in the M pieces of multimedia data through the following steps 103 to 104.
Step 103: generating a multimedia data reading request according to a SCSI protocol, and sending the multimedia data reading request to an external storage device, wherein the multimedia data reading request carries a storage position of target multimedia data and a data length of the target multimedia data, and the target multimedia data is one of M pieces of multimedia data.
Specifically, the implementation manner of generating the multimedia data read request according to the SCSI protocol is as follows: when the multimedia playing application detects a reading request for the target multimedia data, the storage position of the target multimedia data and the data length of the target multimedia data are acquired from the content list information which is already acquired. And generating a storage address description field according to the storage position of the target multimedia data, generating a data constant description field according to the data length of the target multimedia data, and generating a second command code field. And combining the generated second command code field, the storage address description field and the data length description field to obtain the multimedia data reading request.
That is, in the embodiment of the present invention, the multimedia data read request includes a second command code field, a storage address description field, and a data length description field, where the second command code field is used to instruct the external storage device to acquire the target multimedia data according to the storage address description field and the data length description field, the storage address description field is used to describe a storage location of the target multimedia data, and the data length description field is used to describe a data length of the target multimedia data.
For example, the target multimedia data is a song, when the external storage device is a CD, the second command code field generated according to the SCSI protocol may be 0xBE, the storage address description field may be a field in the content list information for describing a storage location of the song, and the data length description field may be a field in the content list information for describing a data length of the song.
Optionally, the multimedia data read request may further include other fields, such as a data format field or a control field, and the embodiment of the present invention is not specifically limited herein.
It should also be noted that, in the SCSI protocol, a multimedia data read request is usually 11 bytes, and therefore, when the above-identified fields are combined, if the combined fields do not exceed 11 bytes, a reserved field may be set so that the multimedia data read request satisfies the requirement of 11 bytes.
Table 2 shows a multimedia data read request according to an embodiment of the present invention, and as shown in table 2, the multimedia data read request includes 11 bytes, and each byte includes 8 binary bits. Wherein, the second command code field may be filled at a byte with an offset displacement of 0, the storage address description field may be filled at a byte with an offset displacement of 2 to 5, the data length description field may be filled at a byte with an offset displacement of 6 to 8, and other bytes with an offset displacement may be set as the reserved field.
TABLE 2
Figure BDA0001645736560000111
Step 104: and receiving target multimedia data sent by the external storage equipment.
When the external storage device receives a multimedia data reading request sent by a multimedia playing application, the multimedia playing application is determined to acquire the multimedia data currently according to a second command code field in the multimedia data reading request, and which multimedia data the multimedia playing application needs to acquire currently is determined according to a storage address description field and a data length description field included in the multimedia data reading request. And then acquiring target multimedia data according to the storage address description field and the data length description field, and sending the acquired target multimedia data to a multimedia playing application.
In the embodiment of the invention, when the external storage device is detected, a content list reading request is generated according to a SCSI protocol, the content list reading request is sent to the external storage device, when content list information sent by the external storage device is received, a multimedia data reading request is generated according to the SCSI protocol, and target multimedia data sent by the external storage device is received. That is, in the embodiment of the present invention, the target application may obtain the multimedia data on the external storage device through the content list request and the multimedia data read request generated according to the SCSI protocol, which avoids that the multimedia data on the external storage device can be obtained only through the USB-SCSI driver, and improves the flexibility of obtaining the multimedia data.
Fig. 2 is a block diagram of an apparatus for acquiring multimedia data according to an embodiment of the present invention, which is applied to a multimedia playing application on a terminal, and as shown in fig. 2, the apparatus 200 includes a first generating module 201, a first receiving module 202, a second generating module 203, and a second receiving module 204:
the first generating module 201 is configured to generate a content list reading request according to a SCSI protocol when the external storage device is detected, and send the content list reading request to the external storage device, where M pieces of multimedia data are stored in the external storage device, and M is a positive integer greater than or equal to 1;
a first receiving module 202, configured to receive content list information sent by an external storage device, where the content list information is used to describe a storage location of each piece of multimedia data in the M pieces of multimedia data in the external storage device and a data length of each piece of multimedia data;
a second generating module 203, configured to generate a multimedia data read request according to a SCSI protocol, and send the multimedia data read request to an external storage device, where the multimedia data read request carries a storage location of target multimedia data and a data length of the target multimedia data, and the target multimedia data is one of M pieces of multimedia data;
the second receiving module 204 is configured to receive target multimedia data sent by an external storage device.
Optionally, the content list read request includes a first command code field, the first command code field is used for indicating an external storage device to acquire content list information according to the storage address control field and the data length control field, the storage address control field comprises a first type of storage address control field or a second type of storage address control field, the first type of storage address control field is used for indicating the external storage device to use the initial physical address of each piece of multimedia data as the storage position of the corresponding piece of multimedia data, the second type of storage address control field is used for indicating the external storage device to use the initial sub-second frame address of each piece of multimedia data as the storage position of the corresponding piece of multimedia data, and the data length control field is used for indicating the external storage device to acquire the data length of each piece of multimedia data.
Optionally, the multimedia data read request includes a second command code field, a storage address description field, and a data length description field, where the second command code field is used to instruct the external storage device to obtain the target multimedia data according to the storage address description field and the data length description field, the storage address description field is used to describe a storage location of the target multimedia data, and the data length description field is used to describe a data length of the target multimedia data.
Optionally, the first generating module 201 is specifically configured to:
when receiving a notification message broadcasted by an operating system of a terminal, acquiring equipment description information and interface description information of an external device, wherein the notification message is broadcasted by the operating system when the external device is detected to be inserted into the terminal;
determining whether the external device is inserted into the terminal through an optical drive of the terminal according to the device description information and the interface description information of the external device;
if yes, sending a capacity reading request to the external equipment;
receiving a capacity message sent by the external equipment, wherein the capacity message carries the storage capacity of the external equipment;
and if the storage capacity of the external equipment is larger than 0, determining the external equipment as the external storage equipment.
Optionally, the first generating module 201 is further specifically configured to:
and determining whether the multimedia playing application is in a foreground running state, if so, executing the operation of acquiring the equipment description information and the interface description information of the external equipment.
In the embodiment of the invention, when the external storage device is detected, a content list reading request is generated according to a SCSI protocol, the content list reading request is sent to the external storage device, when content list information sent by the external storage device is received, a multimedia data reading request is generated according to the SCSI protocol, and target multimedia data sent by the external storage device is received. That is, in the embodiment of the present invention, the target application may obtain the multimedia data on the external storage device through the content list request and the multimedia data read request generated according to the SCSI protocol, which avoids that the multimedia data on the external storage device can be obtained only through the USB-SCSI driver, and improves the flexibility of obtaining the multimedia data.
It should be noted that: in the above embodiment, when the apparatus for acquiring multimedia data acquires multimedia data, only the division of the above functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the apparatus for acquiring multimedia data and the method for acquiring multimedia data provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 3 is a block diagram of a terminal 300 according to an embodiment of the present invention. The terminal 300 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal 300 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, the terminal 300 includes: a processor 301 and a memory 302.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 301 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 302 is used to store at least one instruction for execution by the processor 301 to implement the method for acquiring multimedia data provided by the embodiments of the present invention.
In some embodiments, the terminal 300 may further include: a peripheral interface 303 and at least one peripheral. The processor 301, memory 302 and peripheral interface 303 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 303 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, touch display screen 305, camera 306, audio circuitry 307, positioning components 308, and power supply 309.
The peripheral interface 303 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and peripheral interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the peripheral interface 303 may be implemented on a separate chip or circuit board, which is not limited by the embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 305 may be one, providing the front panel of the terminal 300; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the terminal 300 or in a folded design; in still other embodiments, the display 305 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 300. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 306 is used to capture images or video. Optionally, camera assembly 306 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 306 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 307 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 301 for processing or inputting the electric signals to the radio frequency circuit 304 to realize voice communication. The microphones may be provided in plural numbers, respectively, at different portions of the terminal 300 for the purpose of stereo sound collection or noise reduction. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 301 or the radio frequency circuitry 304 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 307 may also include a headphone jack.
The positioning component 308 is used to locate the current geographic location of the terminal 300 to implement navigation or LBS (location based Service). The positioning component 308 may be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
The power supply 309 is used to supply power to the various components in the terminal 300. The power source 309 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 309 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 300 also includes one or more sensors 310. The one or more sensors 310 include, but are not limited to: acceleration sensor 311, gyro sensor 312, pressure sensor 313, fingerprint sensor 314, optical sensor 315, and proximity sensor 316.
The acceleration sensor 311 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 300. For example, the acceleration sensor 311 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 301 may control the touch display screen 305 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 311. The acceleration sensor 311 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 312 may detect a body direction and a rotation angle of the terminal 300, and the gyro sensor 312 may cooperate with the acceleration sensor 311 to acquire a 3D motion of the user on the terminal 300. The processor 301 may implement the following functions according to the data collected by the gyro sensor 312: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 313 may be disposed on a side bezel of the terminal 300 and/or an underlying layer of the touch display screen 305. When the pressure sensor 313 is disposed on the side frame of the terminal 300, the holding signal of the user to the terminal 300 can be detected, and the processor 301 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 313. When the pressure sensor 313 is disposed at the lower layer of the touch display screen 305, the processor 301 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 305. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 314 is used for collecting a fingerprint of the user, and the processor 301 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 314, or the fingerprint sensor 314 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, processor 301 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 314 may be disposed on the front, back, or side of the terminal 300. When a physical button or a vendor Logo is provided on the terminal 300, the fingerprint sensor 314 may be integrated with the physical button or the vendor Logo.
The optical sensor 315 is used to collect the ambient light intensity. In one embodiment, the processor 301 may control the display brightness of the touch screen display 305 based on the ambient light intensity collected by the optical sensor 315. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 305 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 305 is turned down. In another embodiment, the processor 301 may also dynamically adjust the shooting parameters of the camera head assembly 306 according to the ambient light intensity collected by the optical sensor 315.
A proximity sensor 316, also known as a distance sensor, is typically provided on the front panel of the terminal 300. The proximity sensor 316 is used to collect the distance between the user and the front surface of the terminal 300. In one embodiment, when the proximity sensor 316 detects that the distance between the user and the front surface of the terminal 300 gradually decreases, the processor 301 controls the touch display screen 305 to switch from the bright screen state to the dark screen state; when the proximity sensor 316 detects that the distance between the user and the front surface of the terminal 300 gradually becomes larger, the processor 301 controls the touch display screen 305 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 3 is not intended to be limiting of terminal 300 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a terminal, enable the terminal to perform the method for acquiring multimedia data provided in the above embodiment.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the method for acquiring multimedia data provided by the above embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (12)

1. A method for acquiring multimedia data, wherein the method is applied to a multimedia playing application on a terminal, and the method comprises:
when detecting that an external storage device of the terminal is inserted through an optical drive of the terminal, generating a content list reading request according to a small computer system interface SCSI protocol, and sending the content list reading request to the external storage device, wherein M pieces of multimedia data are stored in the external storage device, and M is a positive integer greater than or equal to 1;
receiving content list information sent by the external storage device, wherein the content list information is used for describing the storage position of each piece of multimedia data in the M pieces of multimedia data in the external storage device and the data length of each piece of multimedia data;
generating a multimedia data reading request according to the SCSI protocol, and sending the multimedia data reading request to the external storage device, wherein the multimedia data reading request carries a storage position of target multimedia data and a data length of the target multimedia data, and the target multimedia data is one of the M pieces of multimedia data;
and receiving the target multimedia data sent by the external storage equipment.
2. The method of claim 1, wherein the content list reading request comprises a first command code field, a storage address control field and a data length control field, the first command code field is used for instructing the external storage device to acquire the content list information according to the storage address control field and the data length control field, the storage address control field comprises a first type storage address control field or a second type storage address control field, the first type storage address control field is used for instructing the external storage device to use a starting physical address of each piece of multimedia data as a storage location of the corresponding multimedia data, the second type storage address control field is used for instructing the external storage device to use a starting sub-second frame address of each piece of multimedia data as a storage location of the corresponding multimedia data, the data length control field is used for indicating the external storage equipment to acquire the data length of each piece of multimedia data.
3. The method of claim 1, wherein the multimedia data read request comprises a second command code field, a storage address description field and a data length description field, the second command code field is used for instructing the external storage device to acquire the target multimedia data according to the storage address description field and the data length description field, the storage address description field is used for describing a storage location of the target multimedia data, and the data length description field is used for describing a data length of the target multimedia data.
4. A method according to any one of claims 1 to 3, wherein said detecting that an external storage device inserted into said terminal via an optical drive of said terminal comprises:
when receiving a notification message broadcasted by an operating system of the terminal, acquiring device description information and interface description information of an external device, wherein the notification message is broadcasted by the operating system when the operating system detects that the external device is inserted into the terminal;
determining whether the external device is inserted into the terminal through an optical drive of the terminal according to the device description information and the interface description information of the external device;
if so, sending a capacity reading request to the external equipment;
receiving a capacity message sent by the external equipment, wherein the capacity message carries the storage capacity of the external equipment;
and if the storage capacity of the external equipment is greater than 0, determining the external equipment as the external storage equipment.
5. The method of claim 4, wherein before obtaining the device description information and the interface description information of the external device, the method further comprises:
and determining whether the multimedia playing application is in a foreground running state, if so, executing the operation of acquiring the equipment description information and the interface description information of the external equipment.
6. An apparatus for acquiring multimedia data, wherein the apparatus is applied to a multimedia playing application on a terminal, and the apparatus comprises:
the first generation module is used for generating a content list reading request according to a Small Computer System Interface (SCSI) protocol when detecting that an external storage device of the terminal is inserted into an optical drive of the terminal, and sending the content list reading request to the external storage device, wherein M pieces of multimedia data are stored in the external storage device, and M is a positive integer greater than or equal to 1;
a first receiving module, configured to receive content list information sent by the external storage device, where the content list information is used to describe a storage location of each piece of multimedia data in the M pieces of multimedia data in the external storage device and a data length of each piece of multimedia data;
a second generation module, configured to generate a multimedia data read request according to the SCSI protocol, and send the multimedia data read request to the external storage device, where the multimedia data read request carries a storage location of target multimedia data and a data length of the target multimedia data, and the target multimedia data is one of the M pieces of multimedia data;
and the second receiving module is used for receiving the target multimedia data sent by the external storage equipment.
7. The apparatus of claim 6, wherein the content list read request comprises a first command code field, a storage address control field, and a data length control field, the first command code field is used to instruct the external storage device to obtain the content list information according to the storage address control field and the data length control field, the storage address control field comprises a first type storage address control field or a second type storage address control field, the first type storage address control field is used to instruct the external storage device to use a starting physical address of each piece of multimedia data as a storage location of the corresponding multimedia data, the second type storage address control field is used to instruct the external storage device to use a starting sub-second frame address of each piece of multimedia data as a storage location of the corresponding multimedia data, the data length control field is used for indicating the external storage equipment to acquire the data length of each piece of multimedia data.
8. The apparatus of claim 6, wherein the multimedia data read request comprises a second command code field, a storage address description field and a data length description field, the second command code field is used for instructing the external storage device to acquire the target multimedia data according to the storage address description field and the data length description field, the storage address description field is used for describing a storage location of the target multimedia data, and the data length description field is used for describing a data length of the target multimedia data.
9. The apparatus according to any one of claims 6 to 8, wherein the first generating module is specifically configured to:
when receiving a notification message broadcasted by an operating system of the terminal, acquiring device description information and interface description information of an external device, wherein the notification message is broadcasted by the operating system when the operating system detects that the external device is inserted into the terminal;
determining whether the external device is inserted into the terminal through an optical drive of the terminal according to the device description information and the interface description information of the external device;
if so, sending a capacity reading request to the external equipment;
receiving a capacity message sent by the external equipment, wherein the capacity message carries the storage capacity of the external equipment;
and if the storage capacity of the external equipment is greater than 0, determining the external equipment as the external storage equipment.
10. The apparatus of claim 9, wherein the first generating module is further specifically configured to:
and determining whether the multimedia playing application is in a foreground running state, if so, executing the operation of acquiring the equipment description information and the interface description information of the external equipment.
11. An apparatus for acquiring multimedia data, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1-5.
12. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of the method of any of claims 1-5.
CN201810401052.8A 2018-04-28 2018-04-28 Method, device and storage medium for acquiring multimedia data Active CN108664421B (en)

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 CN108664421A (en) 2018-10-16
CN108664421B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110824963A (en) * 2019-11-21 2020-02-21 大庆思特传媒科技有限公司 Control device in multimedia equipment cluster

Citations (4)

* Cited by examiner, † Cited by third party
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
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
CN105867180A (en) * 2016-03-31 2016-08-17 北京小米移动软件有限公司 Control method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873356B (en) * 2010-05-10 2013-12-25 杭州海康威视系统技术有限公司 Method and device for modifying IP address of equipment
US9933946B2 (en) * 2014-09-15 2018-04-03 Hewlett Packard Enterprise Development Lp Fibre channel storage array methods for port management

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
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
CN105867180A (en) * 2016-03-31 2016-08-17 北京小米移动软件有限公司 Control method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Network Address Translation: Extending the Internet Address Space;Dan Wing;《IEEE Internet Computing》;20100628;全文 *
现代数据中心直连式存储研究;郎为民、陈红、姚晋芳等;《电信快报》;20171031;第2017年卷(第10期);全文 *

Also Published As

Publication number Publication date
CN108664421A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
CN108391171B (en) Video playing control method and device, and terminal
CN107908929B (en) Method and device for playing audio data
CN108401124B (en) Video recording method and device
CN109348247B (en) Method and device for determining audio and video playing time stamp and storage medium
CN110022489B (en) Video playing method, device and storage medium
CN108737897B (en) Video playing method, device, equipment and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN108965757B (en) Video recording method, device, terminal and storage medium
CN108881286B (en) Multimedia playing control method, terminal, sound box equipment and system
CN109144346B (en) Song sharing method and device and storage medium
CN109101213B (en) Method, device and storage medium for controlling sound card to transmit audio
CN107896337B (en) Information popularization method and device and storage medium
CN109635133B (en) Visual audio playing method and device, electronic equipment and storage medium
CN110266982B (en) Method and system for providing songs while recording video
CN113596516B (en) Method, system, equipment and storage medium for chorus of microphone and microphone
CN109743461B (en) Audio data processing method, device, terminal and storage medium
CN111092991B (en) Lyric display method and device and computer storage medium
CN109783176B (en) Page switching method and device
CN111402844A (en) Song chorusing method, device and system
CN111083554A (en) Method and device for displaying live gift
CN107888975B (en) Video playing method, device and storage medium
CN111399796B (en) Voice message aggregation method and device, electronic equipment and storage medium
CN110933454B (en) Method, device, equipment and storage medium for processing live broadcast budding gift
CN112616082A (en) Video preview method, device, terminal and storage medium
CN110113669B (en) Method and device for acquiring video data, electronic equipment and 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