Data processing program and notification system
The data processing program and system address inefficiencies in content deletion by preparing and transmitting playlist data and sound data to notification devices, using separate storage areas to efficiently manage content and optimize storage, reducing waiting times and maintaining device functionality.
Patent Information
- Application Number
- JP2023220122
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-07-08
AI Technical Summary
Existing content deletion methods in notification devices are inefficient, as they either delete necessary content based on playback history or fail to account for storage capacity, leading to unnecessary content deletion and storage issues.
A data processing program and system that efficiently deletes unnecessary content by preparing playlist data and sound data, transmitting it to a notification device, and deleting audio data not included in the playlist, utilizing separate storage areas for used and unused content.
This approach ensures efficient deletion of unnecessary content, optimizes storage capacity, and reduces waiting times for data storage, maintaining the notification device's functionality and usability.
Smart Images

Figure 2025102584000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a data processing program and a notification system.
Background Art
[0002] Conventionally, when an abnormality occurs in equipment such as production machinery, a notification device that notifies the abnormality by voice has been proposed. In such a notification device, data related to reproduction content is stored in advance, and voice is output by reproducing this data. When adding or changing the reproduction content, the stored reproduction content data is deleted and then the addition or change is performed.
[0003] Regarding the deletion of such reproduction content, Patent Document 1 discloses a content deletion device that deletes unnecessary content based on the reproduction history state of the content so as not to accidentally delete the content that needs to be left. Further, Patent Document 2 discloses a playlist management device that copies the playlist of an electronic device when backing up the playlist and copies the playlist and the content added to the playlist to the electronic device when restoring after editing. This playlist management device attempts to improve user convenience by deleting the corresponding line in the playlist file when receiving a content deletion command from the playlist.
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Patent Document 2
Summary of the Invention
Problems to be Solved by the Invention
[0005] However, the content deletion device of Patent Document 1 mainly determines unnecessary content according to the playback history state and then deletes it. However, in a notification device that performs abnormal notifications and guidance, etc., it is not preferable in terms of the characteristics required of the product to determine that the content is unnecessary and delete it for reasons such as a small number of playback times.
[0006] Also, when the playlist management device of Patent Document 2 deletes content such as on a mobile terminal, it tries to maintain the consistency between the playlist in the terminal and the content by automatically correcting the playlist itself. However, only the data in the playlist is deleted, and it is considered that the content itself on the same terminal remains. Therefore, in a device with a small content storage area such as a notification device, leaving unnecessary content will always cause a process of deleting existing unnecessary content and saving new content for saving new content, which is not preferable.
[0007] The present invention has been made to solve the above problems, and an object thereof is to provide a data processing program and a notification system that can efficiently delete existing unnecessary content.
Means for Solving the Problems
[0008] In a computer of a data processing device configured to be connectable to a notification device and process data related to playback content played on the notification device, a first step of preparing playlist data related to a playlist including the content of at least one of the playback contents and sound data constituting the sound included in the playback content; a second step of transmitting the playlist data and the sound data to a storage unit of the notification device; After the second step, when the data processing device is connected to the notification device, if it is determined that the audio data constituting the playback content not included in the playlist data stored in the storage unit by the second step is stored in the storage unit, a third step of requesting the notification device to delete the audio data is performed. A data processing program configured to execute.
[0009] Item 2. The first step is During the preparation of the playlist, a fourth step of transmitting the audio data included in the playback content of the playlist to the storage unit, After the preparation of the playlist, a fifth step of transmitting the playlist data to the storage unit, The data processing program according to item 1, including.
[0010] During the execution of the fourth step, if it is determined that there is insufficient capacity in the storage unit to store the audio data, the transmission of the audio data to the storage unit is stopped. When the fifth step is executed, after deleting the audio data not included in the playlist data from the storage unit, The data processing program according to item 2, configured to transmit the audio data that could not be transmitted in the third step to the storage unit.
[0011] Item 4. When all the audio data related to all the sounds included in the transmitted playlist data is stored in the storage unit during the execution of the second step, the playback content included in the transmitted playlist is configured to be test-playable on the notification device. The data processing program according to item 2 or 3.
[0012] Item 5. The storage unit has at least a first storage area and a second storage area. When the playlist data and the sound data are stored in the first memory area, the second memory area is configured to store the newly prepared playlist data and the sound data, the data processing program according to any one of claims 1 to 4.
[0013] Item 6. When the playlist data is transmitted from the data processing device to the second memory area, the notification device is configured to perform notification according to the playlist data and the sound data stored in the second memory area, the data processing program according to claim 5.
[0014] Item 7. A notification device, A data processing device configured to be connectable to the notification device and prepare data related to reproduction content reproduced by the notification device, Comprising, The data processing device, Playlist data related to a playlist including the content of at least one of the reproduction contents, Sound data constituting the sound included in the reproduction content, Is configured to prepare, The notification device has a storage unit that stores the playlist data and the sound data, When the data processing device is connected to the notification device and it is determined that the sound data constituting the reproduction content not included in the playlist data stored in the storage unit is stored in the storage unit, the sound data is configured to be deleted, a notification system.
[0015] When transmitting a playlist including the content of the reproduction content and the sound data constituting the reproduction content to the notification device, if the sound data is transmitted after the playlist is completed, since the sound data has a large capacity, there is a waiting time for storage. To solve such a problem, a second aspect of the present invention is provided as follows.
[0016] A computer of a data processing device configured to be connectable to a notification device and process data related to reproduction content reproduced by the notification device, a first step of preparing playlist data related to a playlist including the content of at least one of the reproduction contents and sound data constituting the sound included in the reproduction content; a second step of transmitting the playlist data and the sound data to a storage unit of the notification device; configured to execute, the first step includes, a step of transmitting the sound data included in the reproduction content of the playlist to the storage unit during preparation of the playlist; a step of transmitting the playlist data to the storage unit after preparation of the playlist; a data processing program.
Advantages of the Invention
[0017] According to the present invention, it is possible to efficiently delete existing unnecessary content.
Brief Description of the Drawings
[0018]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Embodiments for Carrying Out the Invention
[0019] Hereinafter, an embodiment of a notification system according to the present invention will be described with reference to the drawings. FIG. 1 is a configuration example of the notification system, which includes at least one notification device 1, at least one facility 2 connected to the notification device 1, and a data processing device 3. The notification device 1 plays various playback contents based on an audio control signal transmitted from the facility 2 and outputs audio. The data processing device 3 can be connected to the notification device 1, and the playback content output by the notification device 1 is prepared in the data processing device 3. Hereinafter, each configuration will be described in detail.
[0020] <1. Hardware Configuration of Notification Device> FIG. 2 is a front view of the notification device, FIG. 3 is a rear view of the notification device, and FIG. 4 is a block diagram showing the hardware configuration of the notification device. As shown in FIGS. 2 and 3, this notification device 1 has a base 101 and a body 102 provided on the upper part of this base 101. An LED unit 103 extending from the base 101 is provided on the body 102. A speaker 105 and various operation buttons 106 are provided on the outer surface of the base 101. Also, as shown in FIG. 4, a control unit 11, a storage unit 12, a communication interface 13, and an external interface 14 are built into the base 101. In FIG. 4, the communication interface 13 is described as "communication I / F" and the external interface 14 is described as "external I / F". This is the same in FIG. 8 described later.
[0021] The base 101 is formed in a rectangular shape in plan view and functions as a housing for accommodating the control unit 11 and the like. The LED unit 103 is formed in a columnar shape, and three light-emitting parts, that is, the first, second, and third light-emitting parts 103a to 103c arranged from top to bottom, are provided on the upper part. Each of the light-emitting parts 103a to 103c is formed in a columnar shape, and LEDs are built in so as to emit light of, for example, red, yellow, and green, respectively. These light-emitting parts 103a to 103c emit light according to the state of the above-described equipment 2.
[0022] As shown in FIG. 2, the above-described speaker 105 is provided at the lower part of the front surface of the base 101, and as will be described later, a voice representing the state of the equipment 2 is output from this speaker 105. Although not shown, the base 101 is also provided with a volume switch for adjusting the volume of the voice. Also, on the front surface of the base 101, above the speaker 105, various operation buttons 106 are provided.
[0023] As shown in FIG. 3, connectors for the above-described communication interface 13 and external interface 14 are provided on the rear surface of the base 101.
[0024] As shown in FIG. 4, the control unit 11 includes a CPU, a RAM, a ROM, etc., and is configured to execute various information processes based on programs and data. The storage unit 12 is composed of an auxiliary storage device such as an HDD or an SSD, and stores an audio output program 121 for playing back reproduction content and outputting audio, playlist data 122, audio data 123 constituting the reproduction content, and various data 124 for driving the notification device 1. When the audio output program 121 receives an audio control signal transmitted from the facility 2, it is a program for playing back reproduction content according to the playlist data. Further, this audio output program 121 also has a function of storing, deleting, and transmitting various data such as playlist data and reproduction content (audio data) in response to a request from the data processing device 3, transmitting a completion notification of various processes, and transmitting the free capacity of the storage unit 12.
[0025] The playlist data 122 is data regarding at least one reproduction content and a playlist for specifying its content. Each reproduction content is composed of at least one audio data 123, and in the playlist data 122, the audio data 123 constituting each reproduction content is specified. For example, as shown in FIG. 5, when the playlist data 122 includes four reproduction contents 1 to 4, it is shown that the reproduction content 1 is composed of audio data 1 and 2. Also, the reproduction content 2 is composed of only the audio data 2. For example, as shown in FIG. 6, the reproduction content 1 is configured such that the audio data 1 and the audio data 2 are reproduced in this order. Also, as will be described later, a silent section can be provided between the audio data. Note that the audio data 123 is data in a format such as mp3 or wav, and is data for playing back reproduction content. These sounds are various sounds such as notification sounds and voices. As described above, the playlist is one in which the content of each reproduction content corresponding to the reproduction channel described later is specified. Therefore, the playlist data does not include audio data, but is data for specifying reproduction content and the audio data (including the reproduction order and silent sections) included therein.
[0026] As shown in FIG. 7, the storage unit 12 is provided with a first storage area 1201 and a second storage area 1202. In each of the storage areas 1201 and 1202, playlist data 122 and audio data 123 that constitute the reproduction content are stored respectively. In the following description, the reproduction content and the audio data may be generally described synonymously. For example, deleting the reproduction content also means deleting the audio data 123 and 323 that constitute the reproduction content. Also, transmitting the reproduction content also means transmitting the audio data 123 and 323 that constitute the reproduction content.
[0027] The speaker 105 is composed of a known speaker and outputs sound by reproducing the reproduction content.
[0028] The communication interface 13 is, for example, a wired LAN (Local Area Network) module, a wireless LAN module, etc., and is an interface for performing wired or wireless communication. That is, the communication interface 13 performs transmission and reception of various data with the notification device 1 via a wired or wireless network according to a predetermined communication protocol.
[0029] The external interface 14 is an interface such as USB for connecting to an external device and is appropriately configured according to the external device to be connected.
[0030] In the present embodiment, the equipment 2 and the data processing device 3 are connected to this communication interface 13. The equipment 2 is, for example, production equipment, a printer, a server, a network camera, a disaster prevention system, a crime prevention system, an entrance and exit system, an environmental monitoring system, an order receiving and issuing system, etc., and can be various devices that perform notification of a change in state by voice or notification of the occurrence of some event (for example, a failure or an abnormality). Then, when an audio control signal is input from these equipment 2 to the notification device 1 via the communication interface 13, the reproduction content is reproduced by the audio output program 121 executed by the control unit 11, and audio is output from the speaker 105.
[0031] Incidentally, the equipment 2 and the data processing device 3 can also be connected to the external interface 14. For example, as will be described later, when performing maintenance such as registration of playlist data, the data processing device 3 is connected to the external interface 14 (USB connection). Also, the voice control signals transmitted from each piece of equipment 2 can be transmitted in various modes. For example, the voice control signals can be transmitted using HTTPS / HTTP communication commands, cloud communication, SSH / RSH commands, SOCKET communication commands, and the like.
[0032] <2. Hardware Configuration of Data Processing Device> FIG. 8 is a block diagram showing the hardware configuration of the data processing device. As shown in FIG. 8, the data processing device 3 is composed of a computer incorporating a control unit 31, a storage unit 32, a communication interface 33, an external interface 34, and the like. This computer can be composed of a personal computer, a dedicated computer, a tablet computer, or the like.
[0033] As shown in FIG. 8, the control unit 31 includes a CPU, a RAM, a ROM, etc., and is configured to execute various information processes based on programs and data. The storage unit 32 is composed of, for example, an auxiliary storage device such as an HDD or an SSD, and stores a data processing program 321 for preparing reproduction content and the like, playlist data 322, sound data 323 constituting the reproduction content, and various data 324 for driving the data processing device 3. The playlist data 322 and the sound data 323 are the same as the playlist data 322 and the sound data 323 stored in the notification device 1 described above. Specifically, the playlist data 322 and the sound data 323 prepared in the data processing device 3 are transmitted to the notification device 1.
[0034] The communication interface 33 and the external interface 34 have the same functions as those described for the notification device 1. When performing maintenance such as updating playlist data, the notification device 1 is connected to the communication interface 33 (USB connection). The touch panel display 4 is connected to the external interface 34. A screen for generating playlist data and the like is displayed on the touch panel display 4. In addition, input means such as a mouse (not shown) and a keyboard (not shown) can also be connected to the external interface 34. In FIG. 8, various external devices are connected to the external interface 34, but they can also be connected to the communication interface 33. Further, a computer incorporating the display 4 and a speaker can also be used. When using a computer incorporating a speaker, the test playback described later can also be performed using the speaker of the data processing device 3 instead of the speaker 105 of the notification device 1.
[0035] Note that in the following, as a method of operating the screen of FIG. 9 described later, touching or dragging an object on the screen is described, but this is an example when using a touch panel display or input means such as a mouse. Therefore, an operation method other than touching or dragging may be adopted for an operation for obtaining the same effect. Further, the data processing program 321 can be stored in the data processing device by a storage medium such as a CD-ROM or data communication.
[0036] <3. Data Processing by Data Processing Device> Next, the data processing by the data processing device 3 will be described. In the data processing device 3, preparation of playlist data 322 and playback content, transmission and reception of data with the notification device 1, etc. are performed. This will be described in detail below.
[0037] FIG. 9 shows a screen for preparing playlist data and the like. This screen 6 includes a first display area 61, a second display area 62, and a third display area 63. In the first display area 61, sound data 323 for constituting reproduction content is displayed, and reproduction content is generated using the sound data 323 displayed in the first display area 61. As the sound data 323, in addition to the sound data 123 transmitted from the notification device 1 and the sound data pre-stored in the data processing device 3, sound data stored in an external device can also be used.
[0038] In the first display area 61, the sound data 123 included in the playlist data 122 transmitted from the notification device 1 is displayed. In addition, the user can also manually display sound data. For example, when touching the File OPEN button 611 arranged in the first display area 61, a dialog for selecting a file is displayed, and when selecting the sound data file displayed in this dialog, the selected sound data 323 is displayed in the first display area 61. The files displayed in the dialog are those pre-stored in the data processing device 3 in addition to those pre-stored in an external device connected to the data processing device 3. The display of each sound data 323 included in the first display area 61 includes a file name or voice content, sound reproduction time, + button, and - button.
[0039] The + button is used as follows. When a line of, for example, playback content No. 1 in the second display area 62 described later is selected and the + button is touched, the sound data 323 associated with the + button is added to the line of the selected playback content No. 1. More specifically, for example, when the + button is touched after selecting the position at time 0:01 in the first content area 621 of playback content No. 1, the sound data 323 is added with the position at time 0:01 in the first content area 621 as the start position. Also, when the - button is touched, the sound data 323 is deleted from the first display area 61. In this way, the sound data 323 for constructing the playback content is added to the first display area 61. In the example of FIG. 9, six pieces of sound data 323a to f are displayed in the first display area 61, but more sound data may be displayed. Also, for convenience of explanation hereinafter, the six pieces of sound data will be referred to as the first to sixth sound data 323a to f.
[0040] Next, the second display area 62 will be described. The content of the playback content is displayed in the second display area 62. The playback content included in the playlist data 122 transmitted from the notification device 1 is displayed in the second display area 62. In the example of FIG. 9, six pieces of playback content (No. 1 to No. 6) are shown. As will be described later, when these are stored in the storage unit 12 of the notification device 1, these playback contents are reproduced based on the channels (No. 1 to No. 6) selected based on the voice control signal transmitted from the facility 2. Therefore, when a voice control signal for specifying the playback channel is transmitted from the facility 2 to the notification device 1, the notification device 1 reproduces any one of the playback contents based on the voice control signal.
[0041] In addition, in this second display area 62, the user can manually generate or edit playback content. In the example of FIG. 9, content areas 621 to 626 of six playback contents (No. 1 to No. 6) are displayed so that six playback contents can be generated or edited. The horizontal axis of each of the content areas 621 to 626 represents the playback time. For example, the playback content of No. 1 is configured such that the first sound data 323a, the silent part X, and the fourth sound data 323d are played in this order.
[0042] Such playback content 1 can be generated by dragging the sound data 323a to f displayed in the first display area 61 to the content areas 621 to 626 of each playback content in the second display area 62. For example, the playback content of No. 1 is generated by dragging the first sound data 323a to the position at time 0:00 in the first content area 621 and then dragging the fourth sound data 323d to the position at time 0:04. At this time, since the first sound data 323a is sound data for 3 seconds, a blank is created between the start time of playback of the fourth sound data 323d, which is time 0:04, and this blank part is automatically set as the silent part X. Thus, the playback content of No. 1 becomes content in which the first sound data 323a is played for 3 seconds, after 1 second of silence, and the fourth sound data 323d is played for 7 seconds. In this way, other playback contents are also generated. In addition, each sound data displayed in the content areas 621 to 626 can be reordered by dragging or moved to the content area of another playback content.
[0043] The above-described playlist data 322 specifies playback content, the sound data 323 that constitutes the playback content, and the playback order of the sound data 323 (including the silent part), and the sound data 323 itself is not included in the playlist data 322. The sound data 323 that constitutes such playback content and the playback order of the sound data 323 (including the silent part) correspond to the content of the playback content of the present invention.
[0044] In the above example, playback content is generated by dragging the sound data 323a to f displayed in the first display area 61 to the second display area 62. However, for example, it is also possible to directly drag the file of the sound data stored in this data processing device 3 or an external device to the second display area 62. In this case, if the dragged sound data is not included in the first display area 61, it is additionally displayed in the first display area 61. Through operations as described above, one or more pieces of playback content are generated. Also, the number of playback contents is not particularly limited, and seven or more can also be generated.
[0045] Next, the third display area 63 will be described. In the third display area 63, operation buttons and the like related to the data transmitted to the notification device 1 are displayed. Specifically, a connection check button 631, a connected model display 632, a read button 633, a write button 634, a test playback button 635, and a capacity display 636 are shown.
[0046] The connection check button 631 lights up, for example, when the data processing device 3 and the notification device 1 are connected by a USB cable when the external interface 14 of the notification device 1 uses USB. That is, it is a display indicating that the connection between the data processing device 3 and the notification device 1 has been completed. The connected model display 632 displays the model of the connected notification device 1, product image, and the like. In the example of FIG. 9, it is shown that "Annunciator" (notification device) is connected. When the read button 633 is touched, the playlist data 122 and the sound data 123 stored in the notification device 1 are transmitted to the data processing device 3. When the write button 634 is touched, the playlist data 322 prepared in the data processing device 3 is transmitted to the notification device 1. When the test playback button 635 is touched, the playback content is test-played from the speaker 105 of the notification device 1. The capacity display 636 shows an indicator indicating the storage capacity and the used storage capacity of the storage unit 12 of the notification device 1. In this example, it shows that 200 kb out of the 512 kb capacity of the storage unit 12 is being used.
[0047] <4. Data Communication between Data Processing Device and Notification Device> Subsequently, the data communication between the data processing device 3 and the notification device 1 configured as described above will be described. In this embodiment, the processing as shown in FIG. 10 is performed. First, in the data processing device 3, the data processing program 321 is executed, and the screen 6 in FIG. 9 is displayed on the display 4. Then, the data processing device 3 is connected to the notification device 1 with a USB cable or the like (step S11). As a result, a data reading event in which the data in the notification device 1 is transmitted to the data processing device 3 is performed (step S12). Note that the data processing program 321 may be executed after the data processing device 3 is connected to the notification device 1.
[0048] When the data reading event S12 ends, a playback content editing preparation event for generating and editing the playback content is performed (step S13). When the playback content editing preparation event S13 ends, a playlist editing event is performed (step S14). That is, the generation and editing of the playlist (including the generation of the playback content) as described above are performed. After the playlist editing event S14 ends, when the above-described write button 634 is touched, the playlist data 322 is transmitted to the storage unit 12 of the notification device 1 (step S15). At this time, if there is unregistered playback content in the notification device 1 (YES in step S16), a playback content registration event is performed (step S17). For example, when the free capacity of the storage unit 12 of the notification device 1 is small and at least a part of the playback content (audio data) cannot be transmitted, the playback content registration event S17 is performed.
[0049] The registration event S17 of the reproduced content is an event for causing the notification device 1 to store the reproduced content (audio data) that could not be transmitted. On the other hand, when there is no unregistered reproduced content (audio data) in the notification device 1 (NO in step S16), or when the registration event of the reproduced content (audio data) ends and the update of the data in the notification device 1 is completed, the device enters a state where test playback can be performed (step S18). That is, it becomes possible to perform test playback of the reproduced content in the updated notification device 1. Hereinafter, each event will be described in detail.
[0050] In the following description, it is assumed that the playlist data and the reproduced content (audio data) currently in use are stored in the first storage area 1201 of the storage unit 12 of the notification device 1, and the playlist data and the reproduced content (audio data) not currently in use are stored in the second storage area 1202.
[0051] <4-1. Data Reading Event from the Notification Device> The data reading event from the notification device 1 will be described with reference to the flowchart of FIG. 11. As shown in FIG. 11, when the data processing device 3 is connected to the notification device 1 (step S201), the data processing device 3 requests the notification device 1 for the storage capacity and the free capacity of the storage unit 12 (step S202). When the notification device 1 receives this request, the notification device 1 transmits the storage capacity and the free capacity to the data processing device 3 (step S203). When the data processing device 3 receives the capacity, it updates the capacity display 636 in the third display area 63 (step S204). Next, the data processing device 3 requests the notification device 1 to transmit the playlist data 122 (step S205). When the notification device 1 receives this request, the notification device 1 transmits the playlist data 122 stored in the first storage area 1201 of the storage unit 12 to the data processing device 3 (step S206).
[0052] When the data processing device 3 receives the playlist data 122, it displays the playback content included in the playlist in the second display area 62 (step S207). Subsequently, the data processing device 3 displays the audio data 123 included in the received playlist data 122 in the first display area 61 (step S207). As a result, the second display area 62 is activated, and editing and generation of the playback content can be performed in the second display area 62. That is, until step S207 is completed, the second display area 62 is grayed out so that the playback content cannot be edited in the second display area 62. Also, at this point, only the playlist data 122 has been transmitted from the notification device 1 to the data processing device 3, and the transmission of the audio data 123 that constitutes the playback content has not been performed. Therefore, only the display of the audio data is simply performed in the first display area 61 and the second display area 62. In other words, if only the audio data displayed in the first display area 61 and the second display area 62 is used, the playlist editing operation becomes possible.
[0053] Subsequently, the data processing device 3 requests the notification device 1 to transmit the playback content stored in the first storage area 1201 (step S210). The playback content referred to here includes the audio data 123 that constitutes the playback content. When the notification device 1 receives this request, the notification device 1 transmits the playback content to the data processing device 3 (step S211). Then, when the data processing device 3 completes the reception of the playback content (YES in step S212), the data processing device 3 activates the first display area 61 (keep it grayed out until activation). That is, it becomes possible to drag the audio data 323 in the first display area 61 to the second display area 62, and to add or delete the audio data 323. This is to synchronize the playback content stored in the notification device 1 and the data of the playback content stored in the data processing device 3, and then activate the first display area 61, that is, make it editable by the data processing program 321. In this way, by synchronizing the playback content in the notification device 1 and the playback content in the data processing device 3, the backup of the storage unit 12 of the notification device 1 is also performed.
[0054] Thus, when the activation of the first display area 61 is completed, the test playback button 635 is activated (step S214), and the test playback of the playback content becomes possible. That is, until step S214 is completed, the test playback button 635 is grayed out (deactivated) so that it cannot be touched.
[0055] Next, the data processing device 3 requests the notification device 1 to delete the playback content (audio data 123) not registered in the first storage area 1201 based on the playlist data 122 received by the data processing device in steps S206 to S207 (step S215). When the notification device 1 receives this request, the notification device 1 deletes the unregistered playback content (step S216). The unregistered playback content here refers to the content that is stored in the storage unit 12 of the notification device 1 but is not played even when an audio control signal is transmitted from the facility 2. For example, it is the content that was transmitted from the data processing device 3 to the notification device 1 but was not registered as the content to be played in response to the audio control signal from the facility 2. Also, the notification device 1 deletes the playlist data and the playback content in the second storage area 1202 that are not currently in use. Then, when the notification device 1 completes the deletion of the unregistered playback content, the notification device 1 transmits the completion of the deletion to the data processing device 3 (step S217).
[0056] Thus, when the notification device 1 completes the deletion of the unregistered playback content, the data processing device 3 updates the capacity display 636 of the third display area 63 (step S218). Through the above steps, the data reading event of the notification device 1 ends.
[0057] <4-2. Preparation Event for Editing Playback Content> Next, regarding the preparation event of the playback content, it will be described with reference to the flowchart of FIG. 12. In the loading event described above, when the first display area 61 is activated (step S31), new sound data can be added to the first display area 61. Here, as described above, when an operation of adding new sound data 323 to the first display area 61 is performed (step S32), the data processing device 3 assigns an unregistered flag to the added sound data (step S33). The unregistered flag indicates that the sound data 323 is not used for the playback content included in the playlist. Thus, when new sound data 323 is added, the sound data 323 is displayed in the first display area 61, and a mark indicating that it is unregistered is also displayed (step S34). Through the above steps, the preparation event for editing the playback content ends.
[0058] <4-3. Playlist Editing Event> Next, regarding the playlist editing event, it will be described with reference to the flowchart of FIG. 13. The playlist editing event is an event for generating and editing the playback content included in the playlist. In the loading event described above, when the second display area 62 is activated (step S401), the playlist can be edited. Hereinafter, the processing when any sound data 323 in the first display area 61 is dragged to the second display area 62, or when sound data is dragged from outside the first display area 61 to the second display area 62 will be described.
[0059] When any sound data 323 is dragged from the first display area 61 to the second display area 62 (step S402), if an unregistered flag is assigned to the sound data 323 (YES in step S403), and the data deletion process (step S216) in the loading event has been completed (NO in step S404), and further, if there is free space in the first storage area 1201 (YES in step S405), the sound data 323 is transmitted to the notification device 1 (step S406). The transmitted sound data 323 is stored in the first storage area 1201 of the notification device 1 (step S407).
[0060] In this way, when the sound data 323 is transmitted to the notification device 1, the data processing device 3 assigns a registered flag to the sound data. That is, the unregistered flag described above is changed to a registered flag (step S408). Then, when the sound data 323 is stored in the notification device 1, the capacity display 636 in the third display area 63 is updated (step S409). After that, the test playback button 635 is disabled and grayed out (step S410). That is, the notification device 1 cannot perform test playback. This is because at this point, the playlist data included in the data processing device 3 is different from the playlist data included in the notification device 1.
[0061] If the unregistered flag is not assigned to the above-described sound data 323, that is, if the registered flag is assigned (NO in step S403), the test playback button 635 is disabled. Also, in the above process, if the data deletion process (step S216) in the load event is not completed (YES in step S404), the capacity display 636 in the third display area 63 is updated (step S409). Also, when the data deletion process (step S216) is completed (NO in step S404), and when there is no free area in the storage unit 12 (NO in step S405), the capacity display 636 in the third display area 63 is updated (step S409). Also, when there is no free capacity in the storage unit 12 (NO in step S405), the sound data 323 is not transmitted to the notification device 1.
[0062] By repeating the playlist editing event starting with the operation of dragging the sound data 323 to the second display area 62 as described above, the sound data 323 is transmitted to the notification device 1 in advance before the edited playlist data is transmitted to the notification device 1.
[0063] <4-4. Registration Event of Playback Content> Next, the registration event of the playback content will be described with reference to the flowchart of FIG. 14. As shown in FIG. 14, when the write button 634 is touched (step S501), if there is unregistered playback content in the notification device 1 based on the generated current playlist data (YES in step S502), that is, because the free capacity of the storage unit 12 of the notification device 1 is small (NO in the above step S405), and at least a part of the playback content could not be transmitted, the data processing device 3 issues a deletion request for the unused playback content to the notification device 1. When the notification device 1 receives this request, it deletes the playback content (audio data) not included in the current playlist in the first storage area 1201 (step S504). As a result, capacity is secured in the first storage area 1201 of the notification device 1. Then, when the deletion is completed, the notification device 1 transmits a message to that effect to the data processing device 3 (step S505).
[0064] Subsequently, the data processing device 3 transmits the playback content that could not be transmitted to the notification device 1 and requests its registration (step S506). When the notification device 1 receives this request, it stores the transmitted playback content in the first storage area and performs the registration. After that, the notification device transmits a message indicating that the registration is completed to the data processing device 3 (step S507). Subsequently, the data processing device 3 transmits the playlist data to the notification device 1 and requests its registration (step S508). When the notification device 1 receives this request, it overwrites and stores the playlist data 122 in the first storage area 1201 (step S509). When the overwriting and storage are completed, the notification device 1 transmits a message to that effect to the data processing device 3 (step S510). Thereafter, the data processing device 3 enables the test playback button 635 (step S511).
[0065] Through the above steps, the playlist data and the playback content are registered in the notification device 1. Therefore, when an audio control signal of the notification device 1 is transmitted from the facility 2, the playback content can be played back.
[0066] <5. Features> According to the above-described embodiment, the following effects can be obtained. (1) When the data processing device 3 is connected to the notification device 1, the data processing device 3 requests deletion of playback content (audio data 123) that is not registered in the playlist data of the storage unit 12 of the notification device 1. Thereby, a free area can be provided in the storage unit 12. If such processing is not performed, when it is determined that the capacity of the storage unit 12 is insufficient when storing playback content (audio data), it is necessary to delete data each time, and it takes time to store data. On the other hand, by deleting unnecessary data in advance when the data processing device 3 is connected to the notification device 1, the waiting time for storing playlist data and the like in the notification device 1 after the playlist generation operation is completed can be shortened.
[0067] Furthermore, when it is desired to return to the original playlist received from the notification device 1 after performing playlist generation and editing operations, or when the connection between the notification device 1 and the data processing device 3 is accidentally disconnected for some reason during the operation, the original playlist data and the playback content associated with the playlist data remain in the notification device 1, and the control and operating state of the original notification device 1 can be restored.
[0068] (2) When the data processing device 3 is generating or editing playlist data, each time audio data 323 is dragged to the second display area 62, the data processing device 3 transmits the audio data 323 to the notification device 1. That is, the audio data 323 is transmitted to the notification device 1 before the playlist data 322 is completed. Since the audio data 323 has a large capacity, it takes time to store it in the storage unit 12 of the notification device 1. Therefore, for example, if the audio data 323 is transmitted after the playlist data 322 is completed, a waiting time for storage occurs. On the other hand, if the audio data 323 is transmitted in advance during the generation of the playlist data 322, the waiting time for storage can be shortened.
[0069] (3) Since the storage unit 12 of the notification device 1 has the first storage area 1201 and the second storage area 1202, the following effects can be obtained. For example, when the storage unit 12 has only one storage area, there may be insufficient capacity when transmitting new sound data. In that case, it is necessary to delete the existing sound data, which takes time. On the other hand, when the storage unit 12 has the first storage area 1201 and the second storage area 1202, new playlist data and playback content can be stored in the second storage area 1202 while leaving the currently used playlist data and playback content (sound data) in the first storage area 1201. Since the second storage area 1202 stores playback content that is not currently used, when the data processing device 3 is connected to the notification device 1 as described above, all the playback content in the second storage area 1202 is deleted. Therefore, since new playback content can be stored in the area where no playback content is stored, it is possible to prevent a shortage of capacity.
[0070] <6. Modification Example> As described above, the embodiments of the present invention have been described. However, the present invention is not limited to the above embodiments, and various modifications are possible without departing from the spirit thereof. Note that the modification examples described below can be combined as appropriate.
[0071] <6-1> The screen of FIG. 6 shown in the above embodiment is an example, and the configuration of the screen is not particularly limited as long as it has a user interface capable of performing the above-described operations.
[0072] <6-2> In the above embodiment, when the data processing device and the notification device are connected via USB, processing such as deleting sound data is performed. However, the present invention is not limited to this, and any connection form, wired or wireless, can be adopted.
[0073] <6-3> In the above-described embodiment, the storage unit 12 of the notification device 1 is provided with the first storage area 1201 and the second storage area 120, but only one storage area may be provided.
[0074] <6-4> The mode of the notification device 1 shown in the above-described embodiment is an example, and various changes such as the shape and the arrangement of operation buttons are possible. For example, it is also possible to configure the device to perform notification only by sound without providing the LED unit 103. For example, the following notification device can also be adopted.
[0075] FIG. 15 is a perspective view of another example of the notification device, and FIG. 16 is a rear view of FIG. 15. As shown in FIGS. 15 and 16, this notification device 7 includes a thin rectangular parallelepiped housing 71, and a speaker opening 72 is provided on the front surface of the housing 71. A signal line (including a power line) 73 from the facility 2 is connected to the rear surface of the housing 71. On the facility 2 side, a contact circuit such as a relay switch or a transistor circuit (NPN / PNP type) is connected to this signal line 73, and an audio control signal is transmitted from these circuits to the notification device 7. That is, this signal line 73 serves as the communication interface 13 shown in the above-described embodiment. In addition, although not shown, the housing 71 is provided with an interface for connecting to a data processing device such as a USB, a volume, and the like. This interface (such as USB) not shown serves as the external interface 14 shown in the above-described embodiment. Inside the notification device 7, various electronic components for performing processing for outputting sound according to playlist data, such as a CPU, a RAM, and a ROM, are provided.
[0076] This notification device 7 is configured to be specialized for notification of sound or voice as compared with the notification device 1 shown in the above-described embodiment. In order to further suppress an increase in cost, it does not have a storage unit such as an SSD, and a storage area with a small capacity is selected. Therefore, such a notification device 7 is particularly suitable as a target for deleting unnecessary data when connected to the data processing device 3 as described above, and by using the data processing device 3 as described above, the maintainability can be improved.
[0077] <6-5> When a data processing device is connected to a notification device, if it is determined that audio data constituting reproduction content not included in playlist data stored in a storage unit is stored in the storage unit, the present invention is characterized by deleting the audio data. However, various other processes described above may be added as necessary as processes of the data processing program of the present invention and are not essential processes.
Explanation of Signs
[0078] 1 Notification device 2 Equipment 3 Data processing device
Claims
1. In a computer of a data processing device configured to be connectable to a notification device and process data related to reproduction content reproduced by the notification device, a first step of preparing playlist data related to a playlist including the content of at least one of the reproduction contents and sound data constituting the sound included in the reproduction content; a second step of transmitting the playlist data and the sound data to a storage unit of the notification device; a third step of, after the second step, when the data processing device is connected to the notification device, requesting the notification device to delete the sound data if it is determined that the sound data constituting reproduction content not included in the playlist data stored in the storage unit by the second step is stored in the storage unit; A data processing program configured to execute the above.
2. The first step includes a fourth step of transmitting the sound data included in the reproduction content of the playlist to the storage unit during preparation of the playlist; a fifth step of transmitting the playlist data to the storage unit after preparation of the playlist; The data processing program according to claim 1, including the above.
3. If it is determined during execution of the fourth step that there is insufficient capacity in the storage unit to store the sound data, transmission of the sound data to the storage unit is stopped, After deleting the sound data not included in the playlist data from the storage unit during execution of the fifth step, The data processing program according to claim 2, configured to transmit the sound data that could not be transmitted in the third step to the storage unit.
4. The data processing program according to claim 2 or 3, configured such that when all the sound data related to the sounds included in the transmitted playlist data is stored in the storage unit during execution of the second step, the reproduction content included in the transmitted playlist can be test-played on the notification device.
5. The storage unit has at least a first storage area and a second storage area. When the playlist data and the sound data are stored in the first memory area, the second memory area is configured to store the newly prepared playlist data and the sound data. The data processing program according to claim 1.
6. When the playlist data is transmitted from the data processing device to the second memory area, the notification device is configured to perform notification according to the playlist data and the sound data stored in the second memory area. The data processing program according to claim 5.
7. A notification device, A data processing device configured to be connectable to the notification device and prepare data related to reproduction content reproduced by the notification device, Comprising, The data processing device, Playlist data related to a playlist including the content of at least one of the reproduction contents, Sound data constituting the sound included in the reproduction content, Is configured to prepare, The notification device has a storage unit for storing the playlist data and the sound data, When it is determined that the sound data constituting the reproduction content not included in the playlist data stored in the storage unit is stored in the storage unit when the data processing device is connected to the notification device, the sound data is configured to be deleted. Notification system.
Citation Information
Patent Citations
Content deleting device
JP2005257927A
Play list management apparatus, electronic device, and play list management system
JP2019159627A