CN112148917A - Media playing control method, device and system and computer readable storage medium - Google Patents

Media playing control method, device and system and computer readable storage medium Download PDF

Info

Publication number
CN112148917A
CN112148917A CN201910574819.1A CN201910574819A CN112148917A CN 112148917 A CN112148917 A CN 112148917A CN 201910574819 A CN201910574819 A CN 201910574819A CN 112148917 A CN112148917 A CN 112148917A
Authority
CN
China
Prior art keywords
database table
file
playing
modified
file name
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.)
Pending
Application number
CN201910574819.1A
Other languages
Chinese (zh)
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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201910574819.1A priority Critical patent/CN112148917A/en
Publication of CN112148917A publication Critical patent/CN112148917A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/64Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • G06F16/743Browsing; Visualisation therefor a collection of video files or sequences
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/93Document management systems

Abstract

The embodiment of the invention relates to a method, a device and a system for controlling media playing and a computer readable storage medium. Wherein the method for example comprises: detecting whether an equipment access event exists or not, reading a file directory of access equipment triggering the equipment access event when the equipment access event is detected to acquire a file name and a file path of a target format file, and writing the acquired file name and file path of the target format file into a first database table; detecting whether the first database table is modified or not, and writing a target file name in the first database table and a file path corresponding to the target file name into a second database table when the first database table is detected to be modified; and detecting whether the second database table is modified, and executing file playing control operation according to the data in the second database table when the second database table is detected to be modified. The embodiment of the invention can solve the problems of single media information source and difficult control of video playing of the embedded equipment.

Description

Media playing control method, device and system and computer readable storage medium
Technical Field
The present invention relates to the field of media playing control technologies, and in particular, to a media playing control method, a media playing control device, a media playing control system, and a computer-readable storage medium.
Background
With the continuous progress of technology and the open source of the Linux system, more and more embedded devices based on the Linux operating system are present in life. The customized development is carried out based on the Linux operating system, so that the product development period can be shortened. The Linux operating system provides abundant tool resources, facilitates the development of product services, and greatly shortens the product development cycle.
However, the playing capability of the current media player is still limited, the source of the played media information is single, and the media information must be downloaded from the network to the local for playing under the condition of networking, or only the media downloaded to the local can be played under the condition of network disconnection. Therefore, the single media information source brings great inconvenience to users, resources are consumed, and the cost is increased. Moreover, the playing control is simple, and it is difficult to implement complex video playing control, such as maintenance and storage of a playlist.
Disclosure of Invention
Therefore, the embodiment of the present invention provides a media playing control method, a media playing control device, and a computer readable storage medium, so as to overcome the technical problems of single media information source and difficult control of video playing of an embedded device.
On one hand, a media playing control method provided by an embodiment of the present invention includes: detecting whether an equipment access event exists or not, reading a file directory of access equipment triggering the equipment access event when the equipment access event is detected to acquire a file name and a file path of a target format file, and writing the acquired file name and file path of the target format file into a first database table; detecting whether the first database table is modified or not, and writing a target file name in the first database table and a corresponding file path into a second database table when the first database table is modified; and detecting whether the second database table is modified or not, and executing file playing control operation according to the data in the second database table when detecting that the second database table is modified.
The media playing control method of the embodiment can automatically detect the device access event such as a U disk insertion event and store the target file information in the U disk into the database table, and the playing control software can control video playing through the second database table such as an interactive database table, so that the operation is simple and convenient, and the practicability is high.
In one embodiment of the invention, the second database table contains a plurality of items of play information, file name and file path; wherein the plurality of play information items include a status control item, a round robin item, and a priority item.
In an embodiment of the present invention, the media playing control method further includes: reading the data in the second database table to display on a playing control interface; and responding to the input operation on the playing control interface, and modifying the contents of the plurality of playing information items of the second database table.
In an embodiment of the present invention, the detecting whether the first database table is modified, and writing the target file name in the first database table and the corresponding file path thereof into a second database table when the first database table is detected to be modified includes: reading data in the first database table to display a file information list when the first database table is detected to be modified; and responding to the selection operation in the display file information list, and writing the target file name in the first database table and the file path corresponding to the target file name into the second database table.
In an embodiment of the present invention, the media playing control method further includes: and monitoring the record of the file playing control operation, and generating an automatic playing list according to the monitoring result.
On the other hand, a media playing control device provided in an embodiment of the present invention includes: the access detection process module is used for detecting whether an equipment access event exists or not, reading a file directory of access equipment triggering the equipment access event when the equipment access event is detected to acquire a file name and a file path of a target format file, and writing the acquired file name and the acquired file path of the target format file into a first database table; the play control process module is used for detecting whether the first database table is modified or not, and writing a target file name in the first database table and a file path corresponding to the target file name into a second database table when the first database table is detected to be modified; and the playing process module is used for detecting whether the second database table is modified or not and executing file playing control operation according to the data in the second database table when detecting that the second database table is modified.
The media playing control device of the embodiment can automatically detect the device access event such as a U-disk insertion event and store the target file information in the U-disk into the database table by using the cooperative operation of the access detection process module, the playing control process module and the playing process module, and the playing control software can control video playing through the second database table such as an interactive database table, so that the operation is simple and convenient, and the practicability is high.
In one embodiment of the invention, the second database table contains a plurality of items of play information, file name and file path; wherein the plurality of play information items include a status control item, a round robin item, and a priority item.
In an embodiment of the present invention, the play control process module includes: the interface display unit is used for reading the data in the second database table to display the data on a playing control interface; and the input response unit is used for responding to the input operation on the playing control interface and modifying the contents of the plurality of playing information items in the second database table.
In an embodiment of the present invention, the play control process module includes: the list display unit is used for reading data in the first database table to display a file information list when the first database table is detected to be modified; and the selection response unit responds to the selection operation in the display file information list and writes the target file name in the first database table and the corresponding file path into the second database table.
In an embodiment of the present invention, the media playback control apparatus further includes: and the player monitoring module is used for monitoring the record of the file playing control operation and generating an automatic play list according to the monitoring result.
In an embodiment of the present invention, the access detection process module, the play control process module, and the play process module detect changes in a database table through a file monitoring tool to implement signal transmission.
In another aspect, a media playing control system provided in an embodiment of the present invention includes: a processor and a memory coupled to the processor; the memory stores instructions executed by the processor, and the instructions cause the processor to perform operations to perform any one of the media playing control methods of the foregoing embodiments.
In another aspect, a computer-readable storage medium is a non-volatile memory and stores program code, and when the program code is executed by one or more processors, the one or more processors execute the media playing control method according to any one of the foregoing embodiments.
As can be seen from the above, the above technical features of the present invention may have one or more of the following advantages: the access event of the access equipment can be automatically detected, the target format file information in the access equipment is stored in a database table, and the playing software controls the file playing through the interactive database table; simple operation and strong practicability. Moreover, the user can select the filter file format according to the preference, and freely check the file information to write into the database table, for example, the mp4 format is selected, so that only the video file in the mp4 format is checked when accessing the video check. In addition, the user can control the video file to play according to different modes, namely, the playing mode of the video is set on the playing control interface: single song circulation, list circulation playing once, list infinite circulation and the like; as a video processing device, in the scene of outdoor video playing, a play list, a list circulation mode and the like are set, so that automatic video playing can be realized, and the video processing device has strong practicability in practical application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are 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 media playing control method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating sub-steps of step S13 in fig. 1.
Fig. 3 is a partial step diagram of another media playing control method according to the first embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating the operation principle of the first embodiment of the present invention in which a plurality of processes cooperate to complete media playback control.
Fig. 5 is a block diagram of a media playback control apparatus according to a second embodiment of the present invention.
Fig. 6 is a schematic diagram illustrating specific units of the play control process module in fig. 5.
Fig. 7 is a schematic diagram illustrating another specific unit of the play control process module in fig. 5.
Fig. 8 is a block diagram of another media playing control device according to a second embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a media playback control system according to a third embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a computer-readable storage medium according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A method for manufacturing a semiconductor device
As shown in fig. 1, a media playing control method according to a first embodiment of the present invention includes the steps of:
s11: detecting whether an equipment access event exists or not, reading a file directory of access equipment triggering the equipment access event when the equipment access event is detected to acquire a file name and a file path of a target format file, and writing the acquired file name and file path of the target format file into a first database table;
s13: detecting whether the first database table is modified or not, and writing a target file name in the first database table and a corresponding file path into a second database table when the first database table is modified; and
s15: and detecting whether the second database table is modified or not, and executing file playing control operation according to the data in the second database table when detecting that the second database table is modified.
Further, referring to fig. 2, step S13 of the present embodiment is, for example, a sub-step:
s131: reading data in the first database table to display a file information list when the first database table is detected to be modified; and
s133: and responding to the selection operation in the display file information list, and writing the target file name in the first database table and the file path corresponding to the target file name into the second database table.
In addition, referring to fig. 3, before step S15, the method for controlling media playing of the present embodiment may further include:
s14 a: reading the data in the second database table to display on a playing control interface; and
s14 b: and responding to the input operation on the playing control interface, and modifying the contents of the plurality of playing information items in the second database table.
Furthermore, the media playing control method of the embodiment may further include: and monitoring the record of the file playing control operation, and generating an automatic playing list according to the monitoring result.
In order to more clearly understand the steps S11, S13, S15, S14a and S14b and the sub-steps S131 and S133 of the media playback control method of the present embodiment, the following description is made with reference to fig. 4.
The present example provides a media playing control method for automatically identifying and well controlling a U disk based on an embedded operating system Linux platform, which can enable a user to appreciate media information in the U disk, record playing history of the U disk, freely select video files to form a playlist, realize real-time playing control, and improve user experience. The media playing control method of this example can be applied to products such as a video processor and a video player.
In light of the above, the media playing control method of this example is implemented as follows:
first, a database is created, and two database tables are built in, which are the distlist database table and the playlist database table shown in fig. 4. The system comprises a display database table, a playlist database table, a state control item (ctrl), a round robin item (loop), a priority item (priority), a play time item (playlist), and a click rate item (hit), wherein the display database table and the playlist database table are respectively provided with a plurality of data items, for example, the display database table contains a file name item (filename), a file path item (path), and the like, and the playlist database table contains a file name item (vod _ name), a file path item (path), and a plurality of play information items such as a state control item (ctrl), a round robin item (loop), a priority item (priority), a play time item (playlist), and a click rate item (hit). For example, the content of ctrl is 1 indicating that a video file is played, and 0 indicating that the playing of the video file is paused. And then, loading the distlist database table and the playlist database table into the embedded equipment, and then carrying out automatic U disk identification and file playing control.
The media playing control method of this example is executed in an embedded device and involves three processes, which are respectively: (a) access detection process, (b) play control process, and (c) play process; the specific description is as follows:
(a) access detection procedure
The access detection process detects whether a USB flash disk is inserted, and specifically, a hot plug event can be detected by using a Netlink mechanism. Netlink is a service facing to data packets, and a high-speed channel is built for a kernel and a user layer, which is the basis for udev realization. The working mode is asynchronous, the user layer program does not need to use technologies such as polling and the like to detect the hot plug event, and the monitoring of the hot plug event can be realized only by creating a socket descriptor and binding the descriptor to a receiving address. Wherein udev is a Linux kernel 2.6 series device manager, and the main function of the udev is to manage device nodes under/dev directories and also to take over devfs and hot plug.
Reading information one by one after detecting a USB flash disk insertion event, and searching and determining a mounting point of the USB flash disk; the method includes the steps of finding a mounting position of a U disk, then automatically reading a file directory of the U disk, sequentially detecting whether a directory name has a target format file such as a character of 'mp 4', certainly, the target format file is not limited to an mp4 video file, and can also be a video file or even a picture file in multiple file formats (such as avi, rmvb, mov, mp4 and the like), and writing information of the detected file, such as a file name and a file path, into a disklist database table.
In other words, the access detection process may detect a video file or a specified file, and automatically read the video file or a specified other file format in the usb disk. The user can set the format of the file to be read in advance, and then in the step of detecting reading, only the information of the format file set in advance is read. For example, it is set in advance to read only the video file information in mp4 format and add the video file information in mp4 format to the distylist database. The setting of the file format can be carried out through a human-computer interface, the automatic reading of the video file or the designation of the file refers to reading of the file name and the file path, so that the advantage that the video file in the U disk is not required to be directly downloaded to the local to save local resources is achieved, and the reading speed and the quick response speed of the system can be greatly improved by only reading the file name and the file path.
(b) Play control process
The playing control process may utilize a file monitoring tool, such as inotify-tools, to detect whether the distlist database table is modified, and when detecting that the distlist database table is modified due to the insertion of the usb disk and the writing of the information of the target format file, may transfer part or all of the information in the distlist database table to the playlist database table. The inotify-tools are a set of c development interface library functions provided for inotify file monitoring tools under Linux, and a series of command line tools are provided, and the tools can be used for monitoring events of a file system. inotify-tools are written in c, and are not dependent on others except for requiring the kernel to support inotify. inotify-tools provide two tools, inotifywait, which is used to monitor changes in files or directories, and inotifywatch, which is used to count the number of accesses to a file system.
In order to improve the software interface friendliness, the play control process may further read data in the distlist database table to display the file information list when detecting that the distlist database table is modified (corresponding to substep S131), so that a target file name may be selected from the displayed file information list through human-computer interaction, and then the target file name and a file path corresponding to the target file name in the distlist database table are written into the playlist database table according to a selection result (corresponding substep S133).
Furthermore, in order to flexibly set the playing control manner of the video file under the file path corresponding to the target file name, the playing control process may further read the data in the playlist database table to be displayed on the playing control interface (corresponding to step S14a), and modify the contents of the plurality of playing information items in the playlist database table in response to the input operation on the playing control interface (corresponding to step S14 b). For example, in the playing control interface, after a user clicks one or more file names and sets a loop mode, corresponding data items (e.g., ctrl, loop) in the playlist database table are modified; the loop mode here may be a single song loop, a list loop playing once, a list infinite loop, etc.
(c) Play process
The play control process may detect whether the playlist database table is modified by using a file monitoring tool such as inotify-tools, and when it is detected that the playlist database table is modified due to writing of a target file name and a file path corresponding thereto and/or modification of content of the play information item, the play control process may check data in the playlist database table, analyze content of the play information item in the playlist database table, call an interface to implement play/pause of the video file, and the like.
As can be seen from the above, the media playing control method of this example is completed by three processes. The access detection process detects the data of the U disk, and writes video file information into a distilist database table; the playing control process selects the contents of the distlist database table to store in the playlist database table to form a playing list and provide a human-computer interaction playing control interface; and the playing process detects the change of the playlist database table, analyzes the content of the playing information item, and completes the playing control function (such as playing, pausing, fast forwarding and the like). In this example, the inotify-tools are used to detect the change of the database table, so as to realize the transmission of signals between the three processes.
In light of the above, the media playing control method of this example may further use a player monitoring module to monitor the record of the file playing control operation, including the information of the requested/played file path, frequency, duration, time period, etc., and automatically sort and generate the automatic playlist according to the above information. For example, a play order list is generated according to the time slot and frequency of the requested video file, and the user can know the video files which are requested/played at each hot time slot according to the list and make reference to the requested video files. And when the user does not carry out the on-demand operation, the player realizes automatic playing according to the automatic playing list.
In summary, the present embodiment can automatically detect the insertion of the usb disk, store the video file information in the usb disk in the database table, and control the video playing by the playing software through the interactive database table; simple operation and strong practicability. Furthermore, the user can select the filter video format according to the preference, and freely check out the information of the video files written in the database table, for example, if the mp4 format is selected, only the video files in the mp4 format are checked out when the U disk is checked out. In addition, the user can control the video file to play according to different modes, namely, the playing mode of the video is set on the playing control interface: single song circulation, list circulation playing once, list infinite circulation and the like; as a video processing device, in the scene of outdoor video playing, a play list, a list circulation mode and the like are set, so that automatic video playing can be realized, and the video processing device has strong practicability in practical application.
It should be noted that the above automatic identification of the usb disk and video playing may also be applied to automatic identification of other access devices, such as automatic identification of optical disk, and automatic identification of wireless devices such as bluetooth. For example, for a bluetooth device, whether the bluetooth device is connected is detected, and when the bluetooth device is detected to be connected, a video file or other specified file formats in the bluetooth device are automatically read, and the read video file is added to a database table in the embedded device.
[ second embodiment ]
As shown in fig. 5, a media playing control device 50 according to a second embodiment of the present invention includes: an access detection process module 51, a play control process module 53 and a play process module 55.
The access detection process module 51 is configured to detect whether there is an apparatus access event, for example, and when an apparatus access event is detected, read a file directory of an access apparatus that triggers the apparatus access event to obtain a file name and a file path of an object format file, and write the obtained file name and file path of the object format file into a first database table; the play control process module 53 is, for example, configured to detect whether the first database table is modified, and write a target file name in the first database table and a file path corresponding to the target file name into a second database table when detecting that the first database table is modified; and the play progress module 55 is configured to detect whether the second database table is modified, for example, and execute a file play control operation according to data in the second database table when detecting that the second database table is modified. The second database table, such as the playlist database table shown in fig. 4, contains a plurality of play information items, file name items and file path items; wherein the plurality of play information items include a status control item, a round robin item, and a priority item.
For the specific functional details of the access detection process module 51, the play control process module 53 and the play process module 55, reference may be made to the detailed description in the foregoing first embodiment, which is not repeated herein. Further, it is noted that the access detection process module 51, the play control process module 53 and the play process module 55 may be software modules, stored in the non-volatile memory and executed by the processor to perform the operations of steps S11, S13 and S15 in the first embodiment.
Further, referring to fig. 6, the play control process module 53 includes, for example, a list display unit 531 and a pick response unit 553. Wherein, the list display unit 531 is configured to, for example, read data in the first database table to display a file information list when detecting that the first database table is modified; and the selection response unit 553 is, for example, configured to respond to a selection operation in the display file information list, and write the target file name in the first database table and the file path corresponding to the target file name into the second database table. As for the specific functional details of the list display unit 531 and the selection response unit 553, reference may be made to the related description in the foregoing first embodiment, and the description thereof is omitted here. Further, it should be noted that the list display unit 531 and the selection response unit 553 may be software modules stored in the non-volatile memory and executed by the processor to perform the sub-steps S131 and S133 of the first embodiment.
In addition, referring to fig. 7, the play control process module 53 further includes, for example, on the basis of fig. 6: an interface display unit 532 and an input response unit 534. The interface display unit 532 is used for reading the data in the second database table to display on the play control interface; and an input response unit 534 for modifying the contents of the plurality of items of the playing information of the second database table, for example, in response to an input operation at the playing control interface. For the details of the functions of the interface display unit 532 and the input response unit 534, reference may be made to the related description in the first embodiment, and the details are not repeated herein. Furthermore, it should be noted that the interface display unit 532 and the input response unit 534 may be software modules stored in the non-volatile memory and executed by the processor to perform the operations of steps S14a and S14b in the first embodiment
In addition, referring to fig. 8, the media playing control apparatus of this embodiment may further include a player monitoring module 57, for example, configured to monitor the record of the file playing control operation, and generate an automatic playlist according to the monitoring result. For example, the information of the path, frequency, duration, time period, etc. of the requested/played file is monitored, and the automatic playlist is generated according to the automatic sorting of the information. For example, a play order list is generated according to the requested time period and frequency, and the user can know the video files which are requested/played at each hot time period according to the list and make reference to the requested video files. And when the user does not carry out the on-demand operation, the player realizes automatic playing according to the automatic playing list.
[ third embodiment ]
As shown in fig. 9, a media playing control system 90 according to a third embodiment of the present invention includes: a processor 91 and a memory 93; the memory 93 stores instructions executed by the processor 91, and the instructions cause the processor 91 to perform operations to perform the media playback control method according to the foregoing first embodiment, for example.
[ fourth example ] A
As shown in fig. 10, a computer-readable storage medium 100 according to a fourth embodiment of the present invention is a non-volatile memory and stores program codes, and when the program codes are executed by one or more processors, the one or more processors are caused to execute the media playing control method according to the first embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and technical solutions of the embodiments can be arbitrarily combined and used without conflict between technical features and structures, and without departing from the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and/or method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units/modules is only one logical division, and there may be other divisions in actual implementation, for example, multiple units or modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units/modules described as separate parts may or may not be physically separate, and parts displayed as units/modules may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units/modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (13)

1. A media playback control method, comprising:
detecting whether an equipment access event exists or not, reading a file directory of access equipment triggering the equipment access event when the equipment access event is detected to acquire a file name and a file path of a target format file, and writing the acquired file name and file path of the target format file into a first database table;
detecting whether the first database table is modified or not, and writing a target file name in the first database table and a corresponding file path into a second database table when the first database table is modified; and
and detecting whether the second database table is modified or not, and executing file playing control operation according to the data in the second database table when detecting that the second database table is modified.
2. The media playback control method according to claim 1, wherein the second database table contains a plurality of playback information items, file name items, and file path items; wherein the plurality of play information items include a status control item, a round robin item, and a priority item.
3. The media playback control method of claim 2, further comprising:
reading the data in the second database table to display on a playing control interface;
and responding to the input operation on the playing control interface, and modifying the contents of the plurality of playing information items in the second database table.
4. The media playback control method of claim 1, wherein the detecting whether the first database table is modified and writing the target file name in the first database table and the corresponding file path thereof into a second database table when the first database table is detected to be modified comprises:
reading data in the first database table to display a file information list when the first database table is detected to be modified; and
and responding to the selection operation in the display file information list, and writing the target file name in the first database table and the file path corresponding to the target file name into the second database table.
5. The media playback control method of claim 1, further comprising:
and monitoring the record of the file playing control operation, and generating an automatic playing list according to the monitoring result.
6. A media playback control apparatus, comprising:
the access detection process module is used for detecting whether an equipment access event exists or not, reading a file directory of access equipment triggering the equipment access event when the equipment access event is detected to acquire a file name and a file path of a target format file, and writing the acquired file name and the acquired file path of the target format file into a first database table;
the play control process module is used for detecting whether the first database table is modified or not, and writing a target file name in the first database table and a file path corresponding to the target file name into a second database table when the first database table is detected to be modified; and
and the playing process module is used for detecting whether the second database table is modified or not and executing file playing control operation according to the data in the second database table when the second database table is detected to be modified.
7. The media playback control apparatus of claim 6, wherein the second database table contains a plurality of playback information items, file name items, and file path items; wherein the plurality of play information items include a status control item, a round robin item, and a priority item.
8. The media playback control apparatus of claim 7, wherein the playback control process module includes:
the interface display unit is used for reading the data in the second database table to display the data on a playing control interface;
and the input response unit is used for responding to the input operation on the playing control interface and modifying the contents of the plurality of playing information items in the second database table.
9. The media playback control apparatus of claim 6, wherein the playback control process module includes:
the list display unit is used for reading data in the first database table to display a file information list when the first database table is detected to be modified; and
and the selection response unit responds to the selection operation in the display file information list and writes the target file name in the first database table and the corresponding file path into the second database table.
10. The media playback control apparatus of claim 6, further comprising: and the player monitoring module is used for monitoring the record of the file playing control operation and generating an automatic play list according to the monitoring result.
11. The media playback control apparatus of claim 6, wherein the access detection process module, the playback control process module, and the playback process module implement signal transmission by detecting a change in a database table through a file monitoring tool.
12. A media playback control system, comprising: a processor and a memory coupled to the processor; wherein the memory stores instructions for execution by the processor, and the instructions cause the processor to perform operations to perform the media playback control method of any of claims 1-5.
13. A computer-readable storage medium that is a non-volatile memory and that stores program code, which when executed by one or more processors, causes the one or more processors to perform the media playback control method of any one of claims 1 to 5.
CN201910574819.1A 2019-06-28 2019-06-28 Media playing control method, device and system and computer readable storage medium Pending CN112148917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910574819.1A CN112148917A (en) 2019-06-28 2019-06-28 Media playing control method, device and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910574819.1A CN112148917A (en) 2019-06-28 2019-06-28 Media playing control method, device and system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112148917A true CN112148917A (en) 2020-12-29

Family

ID=73869335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910574819.1A Pending CN112148917A (en) 2019-06-28 2019-06-28 Media playing control method, device and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112148917A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113740781A (en) * 2021-08-30 2021-12-03 广州文远知行科技有限公司 Interface looseness detection method and device, vehicle and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084326A1 (en) * 2010-10-01 2012-04-05 Sony Corporation Centralized multimedia access
CN108156478A (en) * 2016-12-06 2018-06-12 创盛视联数码科技(北京)有限公司 Mp4 formatted files turn the video on-demand system and method for hls forms

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084326A1 (en) * 2010-10-01 2012-04-05 Sony Corporation Centralized multimedia access
CN108156478A (en) * 2016-12-06 2018-06-12 创盛视联数码科技(北京)有限公司 Mp4 formatted files turn the video on-demand system and method for hls forms

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张正政;林耀荣;: "基于Android系统的影音播放器开发", 现代电子技术, no. 02 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113740781A (en) * 2021-08-30 2021-12-03 广州文远知行科技有限公司 Interface looseness detection method and device, vehicle and storage medium
CN113740781B (en) * 2021-08-30 2022-05-24 广州文远知行科技有限公司 Interface looseness detection method and device, vehicle and storage medium

Similar Documents

Publication Publication Date Title
CN111632373B (en) Method and device for starting game and computer readable storage medium
CN103793323B (en) The automatic testing equipment and its automatic test approach of embedded software
US20160127799A1 (en) Media playback across multiple devices
CN110913135A (en) Video shooting method and device, electronic equipment and storage medium
CN103875306A (en) User terminal device and content sharing method thereof
JP2023517502A (en) Video projection method, apparatus, equipment and program
CN111654749A (en) Video data production method and device, electronic equipment and computer readable medium
CN115328742B (en) Container information monitoring method and device, storage medium and electronic equipment
JP2015501973A (en) Content proximity and relevance
CN109254709A (en) Screenshotss processing method, device, equipment and machine readable media
CN109462777B (en) Video heat updating method, device, terminal and storage medium
CN103856506A (en) Multi-screen synchronization method, device and system
CN113556568B (en) Cloud application running method, system, device and storage medium
CN111949807A (en) Data processing method, data processing device, computer equipment and storage medium
CN111857531A (en) Mobile terminal and file display method thereof
US20220318302A1 (en) Audio previewing method, apparatus and storage medium
CN108718421A (en) A kind of requesting song control system and method
CN112148917A (en) Media playing control method, device and system and computer readable storage medium
US10970332B2 (en) Electronic device and digital content managing method
CN111031117B (en) Multimedia file downloading method and related device
CN112559044A (en) Play switching method and device and computer readable storage medium
CN113282268B (en) Sound effect configuration method and device, storage medium and electronic equipment
CN110413800B (en) Method and equipment for providing novel information
CN106302617B (en) Data processing method and device applied to computing device
KR20140018743A (en) Reproducing apparatus, recording apparatus, reprodicing method and recording method for discless application, and information storage medium comprising discless application

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