Definitions of program modules according to the connection status of physical objects, and reference devices, methods, and programs.
The programming device uses physical objects and imaging to generate setting data for target devices, addressing synchronization challenges by converting timelines for efficient light emission management.
Patent Information
- Application Number
- JP2026233055
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-12-03
- Estimated Expiration
- 2046-10-01
AI Technical Summary
Existing systems face challenges in efficiently managing and synchronizing light emission programs across multiple devices during events with varying time axes, leading to complex time management and synchronization requirements.
A programming device that utilizes physical objects and imaging technology to generate setting data for target devices, recognizing program content, targets, and context from the same imaging information, and converts light emission events to a suitable timeline for individual devices based on reference times.
Enables integrated setting operations using physical objects, reduces the need for long-term synchronization, and limits time errors by converting overall timelines to local timelines for autonomous device execution.
Smart Images

Figure 0007960360000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a technology for configuring a program using physical objects and setting setting data based on the program to a target device, and particularly to a time-series light emission program associated with music or performance progress, according to the connection state and identification information of the physical object, to identify the target device and context, and to generate setting data for setting in the target device. The present invention relates to a programming device, a setting data generating method, and a program. [Background Art]
[0002] Conventionally, there has been known a so-called physical or tangible programming environment in which paper cards, blocks, or other tangible objects are arranged or connected, and the arrangement or connection state is recognized by an imaging device to generate a program. There is also known a technology for controlling a real-world device by specifying processing contents, conditions, parameters, or target devices using physical cards or the like.
[0003] On the other hand, in school events, stages, performances, exhibitions, sports support, and other performances involving time progression, different light emission contents or light emission timings may be set for a large number of light emitting devices. In such a case, since the time axis of the overall performance differs from the time axis of the section in charge of each individual participant or group of participants, if the light emission program created on the overall time axis is set as it is to each target device, the target device side may require long-time time management or synchronization.
[0004] For example, when one piece of music or performance is divided into a plurality of sections in charge, and a certain class, group, or participant starts a light emission performance in the middle of the overall performance, in a configuration in which the target device holds data based on the start time of the overall performance, the target device needs to maintain correspondence with the overall time for a long time. In addition, an operation of individually specifying which range of the overall program is to be set to which of a large number of target devices and on what time basis may complicate the setting work. [Prior Art Documents] [Patent Documents]
[0005] [Patent Document 1] Japanese Patent Publication No. 2025-041216 [Patent Document 2] Special Publication No. 2006-526181 [Patent Document 3] U.S. Patent Application Publication No. US2023 / 0325155A1 [Non-patent literature]
[0006] [Non-Patent Document 1] Kazuki Tada, Shin Takahashi, Buntarou Shizuki, “Smart Home Cards: Tangible Programming with Paper Cards”, UbiComp / ISWC'16 Adjunct, 2016, DOI:10.1145 / 2968219.2971367 [Non-Patent Document 2] D. Rathor, G. Mehta, A. Lad, et al., “FloBlocks: an affordable and extensible tool for tangible block programming in education”, Discover Education, Vol.4, Article 572, 2025, DOI:10.1007 / s44217-025-01064-7 [Overview of the Initiative] [Problems that the invention aims to solve]
[0007] One aspect of the present invention aims to enable the recognition of the program body, the target of the setting, and the context of the setting from the same imaging information, for a program configured using physical objects, and to generate setting data for the target device according to the context.
[0008] Furthermore, one aspect of the present invention aims to generate setting data containing time information suitable for a target light-emitting device by converting light-emitting events on the overall time axis of a time-series light-emitting program associated with music or performance progression based on a reference time corresponding to the target program range. [Means for solving the problem]
[0009] A programming device according to one aspect of the present invention includes a plurality of physical program objects 100, a physical connection object 110 indicating the connection relationships between the plurality of physical program objects 100, and an imaging information acquisition unit 41 that acquires the same imaging information including a first physical object 120 and a second physical object 130.
[0010] Furthermore, the programming device includes a graph generation unit 42 that generates a linked program graph 200 with a plurality of physical program objects 100 as nodes based on a physical connection object 110, and a non-connected object identification unit 43 that identifies that the first physical object 120 and the second physical object 130 are not connected to the linked program graph 200 by the physical connection object 110.
[0011] Furthermore, the programming device includes a target identification unit 44 that identifies a target device 60 on which setting data 300 is set based on the identification information of a first physical object 120, and a context resolution unit 45 that identifies a program range 220 included in a stored hierarchical program structure 210 based on the identification information of a second physical object 130, and identifies a reference time 230 corresponding to the program range 220.
[0012] Furthermore, the programming device includes a time conversion unit 46 that converts execution time information 320 of light emission events included in the linked program graph 200 based on a reference time 230 to generate converted execution time information 330, and a setting data generation unit 47 that generates setting data 300 for setting on the target device 60 based on a time-series light emission program including the converted execution time information 330.
[0013] Here, "not connected" of the first physical object 120 and the second physical object 130 does not mean that they are spaced apart on the physical programming surface 20 described later, but rather that they do not have an edge to the linked program graph 200 via the physical connection object 110. Therefore, the first physical object 120 or the second physical object 130 may be located near the linked program graph 200.
[0014] Furthermore, the roles of the first physical object 120 and the second physical object 130 do not need to be determined solely by their left-right position, up-down position, distance, or coordinate order on the physical programming plane 20. These roles can be determined based on a combination of the type of each physical object, its identification information, and whether or not it is connected to the linked program graph 200. [Effects of the Invention]
[0015] According to one aspect of the present invention, in a single image data, a linked program graph 200 can be recognized as program content, a first physical object 120 as a setting target, and a second physical object 130 as a context, each with a different role. This eliminates the need to specify the program content, setting target, and context on separate screens or operating procedures, and enables an integrated setting operation using physical objects.
[0016] Furthermore, by specifying the reference time 230 from the program range 220 corresponding to the second physical object 130 and converting the execution time information 320 of the light emission event, the light emission program created based on the overall timeline 240 can be converted into data corresponding to the local timeline 250 of the target program range 220.
[0017] Furthermore, in an embodiment in which the target device 60 autonomously executes a time-series light emission program using a user operation as a local execution start reference, it is not essential for the target device 60 to follow the overall time for a long period from the start of the overall performance. Thus, even when the target device 60 uses an inexpensive clock or timer, the influence of long-term cumulative time error can be limited to the relatively short program section actually handled by the target device 60. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The specific contents of each technical element indicated by reference numerals in the following brief description of the drawings are defined or explained in the "Detailed Description of the Invention" described later. [Figure 1] It is a diagram showing the overall configuration of a programming system 10 according to an embodiment of the present invention. [Figure 2] It is a diagram showing the relationship between a connection program graph 200, and a first physical object 120 and a second physical object 130 that are not connected to the graph. [Figure 3] It is a flowchart showing an example of context-dependent setting data generation processing. [Figure 4] It is a diagram showing an example of a hierarchical program structure 210. [Figure 5] It is a diagram showing the relationship among an overall timeline 240, a reference time 230, and a local timeline 250. [Figure 6] It is a diagram showing an example of a configuration for setting setting data 300 to a target device 60. [Figure 7] It is a diagram showing a definition state of a first connection program graph 400 using a reference physical object 140. [Figure 8] This figure shows the state in which the first linked program graph 400 is referenced via the reference physical object 140, and the second program graph 440 is generated. [Figure 9] This figure shows an example of a configuration in which multiple reference physical objects 140 reference the same program module 430. [Modes for carrying out the invention]
[0019] Embodiments of the present invention will now be described with reference to the drawings. The programming system 10 shown in Figure 1 includes a physical programming surface 20, an imaging device 30, a processing device 40, a writing device 50, and a target device 60. Each of these components may be configured as a single device or distributed across multiple devices. In this specification, "programming device" includes at least the processing device 40, and may optionally include the imaging device 30, a storage device, and other components. In this specification, "target light-emitting device" refers to a device among the target devices 60 that includes at least a light-emitting unit.
[0020] The physical programming surface 20 is a surface on which physical program objects 100, physical connection objects 110, a first physical object 120, a second physical object 130, and reference physical objects 140 (described later) can be placed. The physical programming surface 20 may be a desk, floor, backing board, board, sheet, or other physical surface, and is not necessarily a dedicated electronic device.
[0021] In this specification, "physical object" means a tangible object identifiable by the imaging device 30. A physical object may take the form of a paper card, a resin piece, a plate-like member, a block, a tag, or other. A physical object is not required to have a CPU, power supply, wireless communication unit, RFID, or electrical contacts, and may be a passive card having printed identification information.
[0022] The imaging device 30 acquires an image containing multiple physical objects placed on the physical programming surface 20. The imaging device 30 may be a camera, an imaging sensor, or an equivalent device. The processing unit 40 includes an imaging information acquisition unit 41, a graph generation unit 42, a disconnected object identification unit 43, a target identification unit 44, a context resolution unit 45, a time conversion unit 46, a setting data generation unit 47, and an output unit 48.
[0023] The processing unit 40 may consist of a computer including, for example, a CPU, GPU or other processing unit, memory, storage device and input / output interface, and may realize the functions of each functional unit 41 to 48 by executing a stored program. Each functional unit may be implemented on a single computer, or it may be distributed across multiple computers, microcomputers or external devices.
[0024] The physical program object 100 represents instructions, values, conditions, variables, light emission content, and other program elements that constitute a time-series light emission program. Each physical program object 100 has identification information, such as a card ID, and the processing unit 40 can acquire instruction codes, parameters, or other program information associated with this identification information.
[0025] A physical connection object 110 indicates a connection relationship between multiple physical program objects 100. The physical connection object 110 may be a separate card, linear member, or object having a connection symbol from the physical program objects 100. The relationships indicated by the physical connection object 110 can be interpreted as execution order, conditional branching, data reference, inclusion, or other graph edges.
[0026] The graph generation unit 42 generates a linked program graph 200 using the recognized physical program objects 100 as nodes and the connection relationships indicated by the physical connection objects 110 as edges. In this embodiment, the execution order or program structure is not necessarily determined solely by a simple left-to-right arrangement, coordinate order, or proximity on the physical programming surface 20.
[0027] The identification information of the physical program object 100 may be represented by a two-dimensional code, a Data Matrix code, a barcode, a string of characters, a graphic marker, a color pattern, or other machine-readable information. Alternatively, an instruction code may be obtained directly from the identification information, or a common instruction dictionary or correspondence table stored in the processing unit 40 or a storage unit accessible from the processing unit 40 may be referenced using the identification information as a key.
[0028] As shown in Figure 2, the same imaging information includes a linked program graph 200 consisting of a plurality of physical program objects 100 connected to each other by a physical connection object 110, a first physical object 120, and a second physical object 130.
[0029] The disconnected object identification unit 43 identifies that the first physical object 120 and the second physical object 130 are not connected to the linked program graph 200 by an edge provided by the physical connection object 110. Here, the disconnected state is not synonymous with the distance on the image being greater than or equal to a predetermined value. Even if the first physical object 120 or the second physical object 130 is located very close to the linked program graph 200, it can be treated as disconnected if it does not have an edge provided by the physical connection object 110.
[0030] The processing unit 40 can resolve the role of a physical object by combining its type or identification information with its connection status to the linked program graph 200. For example, if a physical object belonging to the first type is disconnected, it can be interpreted as a target object, and if a physical object belonging to the second type is disconnected, it can be interpreted as a context object.
[0031] Thus, with the same imaging information, the linked program graph 200 can represent "what to execute," the first physical object 120 can represent "which target device to set it to," and the second physical object 130 can represent "which context or time range to set it to." Embodiments can be configured that do not require pairing operations or explicit association operations on a separate screen to determine these roles.
[0032] The first physical object 120 has identification information for identifying a target device 60 or a group of target devices consisting of multiple target devices 60. The target identification unit 44 identifies the target device 60 or the group of target devices using this identification information as a key.
[0033] The identification information of the first physical object 120 may be the individual ID of the target device 60 itself, or it may be a group ID, role ID, distribution destination ID, or reference destination ID representing a group of target devices. The processing unit 40 may store a target correspondence table in its storage unit that shows the correspondence between the identification information and the target device 60.
[0034] The first physical object 120 may include a two-dimensional code, such as a two-dimensional code or a Data Matrix code. However, the two-dimensional code is just one embodiment, and barcodes, strings, pattern markers, or other machine-readable identification information may be used.
[0035] The second physical object 130 has identification information for identifying the context when generating the configuration data 300. Hereinafter, this identification information possessed by the second physical object 130 will also be referred to as context identification information. The context resolution unit 45 uses the context identification information as a key to identify program elements, program modules 430, or program ranges 220 included in the stored hierarchical program structure 210. In this specification, "program module 430" means treating one or more program elements, linked program graphs or parts thereof, or program information corresponding thereto, as a single logical program unit that can be identified, stored, referenced, called, or expanded. Therefore, the program module 430 is not required to be identical to the linked program graph itself, and may consist of information that includes or references all or part of the linked program graph.
[0036] The processing unit 40 or a storage unit accessible from the processing unit 40 may maintain a context correspondence table showing the correspondence between context identification information and program reference information that identifies program elements or program modules 430 included in the hierarchical program structure 210. This makes it possible to resolve the program range 220 corresponding to the context from the context identification information of the second physical object 130.
[0037] For example, in the embodiment of a school event, the context identification information of the second physical object 130 may indicate the grade, class, group, performance, assigned section, or other context. In this case, the context identification information is used not only as a simple string label, but also as information for referring to a specific program element or program module 430 in the hierarchical program structure 210.
[0038] The hierarchical program structure 210 shown in Figure 4 includes a higher-level program 211, an intermediate-level program 212, a lower-level program 213, and an execution program 214. The number of levels is not limited to four, but may be two, three, or five or more. In this specification, the terms "higher-level" or "lower-level" are not limited to the specific reference numerals 211 or 213 in Figure 4, but may also represent the relative hierarchy within the hierarchy. In the claims, "program element" may include the higher-level program 211, the intermediate-level program 212, the lower-level program 213, the execution program 214, and other hierarchical elements.
[0039] Taking school events as an example, the higher-level program 211 can be associated with the grade level, the intermediate-level program 212 with the class, the lower-level program 213 with the group, and the execution program 214 with individual lighting effects or performances. However, the present invention is not limited to school use and may be applied to stage performances, concerts, exhibitions, sports cheering, events, and other hierarchical performance structures.
[0040] Each hierarchical element may have unique or shared identification information, parent reference information, child reference information, start time, duration, program reference information, and other attributes. The context resolution unit 45 identifies an element in the hierarchical program structure 210 from the context identification information of the second physical object 130 and determines the program range 220 corresponding to that element.
[0041] The context resolution unit 45 compares the context identification information read from the second physical object 130 with the context correspondence table and obtains the corresponding program reference information. The program reference information may be an ID that identifies a program element in the hierarchical program structure 210, a module ID that identifies a program module 430, a graph ID, a path, or equivalent information.
[0042] The context resolution unit 45 identifies a part or all of the overall program as a program range 220 based on the acquired program reference information. The program range 220 may be a single program element, a subgraph consisting of multiple program elements, a single program module 430, a certain time interval, or a combination thereof.
[0043] The context resolution unit 45 obtains a reference time 230 corresponding to the program range 220. The reference time 230 may be the start time of the program range 220, an offset associated with that range, a relative start time to the parent program, the performance start time, or other time references.
[0044] In one embodiment, each program element or program module 430 of the hierarchical program structure 210 has a start time on the overall timeline 240 as an attribute, and the context resolution unit 45 acquires this start time as the reference time 230. In another embodiment, the reference time 230 may be calculated by accumulating the offsets from the parent program element to the child program element.
[0045] The time conversion unit 46 converts the execution time information 320 of the light emission events included in the linked program graph 200 based on the reference time 230, and generates converted execution time information 330.
[0046] For example, if the program range 220 starts at 2 minutes 40 seconds on the overall timeline 240, and a certain light emission event is executed at 3 minutes 35 seconds, the reference time 230 can be set to 2 minutes 40 seconds, and the local time of the light emission event can be set to 55 seconds. In other words, for example, Local time = Total event time - Program range start time It can be converted due to the relationship.
[0047] Time conversion is not limited to the simple subtraction described above. The time conversion unit 46 may perform offset addition or subtraction, change the time multiplier, extract intervals, change the time origin, or perform other conversions. In addition, light emission events outside the program range 220 may be excluded from the setting data 300.
[0048] In this specification, a time-series light emission program refers to a program that defines the light emission state of the target device 60 on a time axis in correspondence with music, sound effects, ceremony progress, stage progress, competition progress, and other time-related events.
[0049] Lighting events may include turning on, turning off, changing color, changing brightness, starting blinking, ending blinking, changing pattern, starting transition, ending transition, and other changes in the lighting state. Each lighting event may include at least the execution content and execution time information 320. It may also include information such as duration, number of repetitions, period, interpolation conditions, and other information.
[0050] The time-series light emission program does not require the target device 60 to analyze audio in real time. For example, light emission events can be defined in advance along the time axis of the music or performance progression, and the time-series light emission program can be set in the target device 60, which can then execute autonomously after a predetermined start operation.
[0051] Furthermore, the time-series illumination program is not limited to music. For example, it may be structured as a time-series event corresponding to events such as graduation ceremonies, entrance ceremonies, recitals, stage productions, exhibitions, competitions, cheering, parades, and other activities.
[0052] The configuration data generation unit 47 generates configuration data 300 based on the program information 310 and the converted execution time information 330. The program information 310 may include the details of the light emission event, execution time information 320, duration, parameters, and other information.
[0053] The configuration data 300 is data for setting on the target device 60 or group of target devices identified by the target identification unit 44, and may include a time-series light emission program converted into a format that the target device 60 can interpret, device ID, group ID, version, checksum, and other information.
[0054] If the identification information of the first physical object 120 is different, the configuration data 300 generated from the same linked program graph 200 may have different configuration targets. Similarly, if the identification information of the second physical object 130 is different, the selected program range 220, reference time 230, or converted execution time information 330 may have different configuration data 300 generated from the same linked program graph 200.
[0055] Therefore, the second physical object 130 is not limited to being used merely as a display label or auxiliary information, but can also function as a context object that changes the program data itself contained in the configuration data 300 based on its identification information.
[0056] In one embodiment, the linked program graph 200 represents the overall effect or a single light-emitting effect, the first physical object 120 represents a specific group of target devices, and the second physical object 130 represents the section that the group of target devices is responsible for. In this case, the setting data generation unit 47 generates setting data 300 that includes light-emitting events converted to local time corresponding to the section responsible for the device.
[0057] The output unit 48 outputs the setting data 300 generated by the setting data generation unit 47 to the writing device 50. The processing unit 40 and the writing device 50 may be housed in a single enclosure, or they may be connected as separate devices by wire or wireless.
[0058] The writing device 50 is a device that transmits, transfers, modulates, or writes configuration data 300 to the target device 60. The writing method may be optical communication, wired communication, wireless communication, short-range communication, or other methods.
[0059] The target device 60 may include at least a light-emitting unit, a storage unit for holding setting data 300, and a control unit for controlling the light-emitting unit according to the setting data 300. It may also include an operation unit 61 and a clock or timer.
[0060] The target device 60 may be a portable light-emitting device, which can be held in the user's hand, attached to clothing, arm, hat, belongings, or other items, or placed on a seat or the like. However, the target device 60 in the present invention is not limited to a portable type.
[0061] The target device 60 may use the time it detects an operation on the control unit 61 by a user as the reference time for the start of execution of the time-series light emission program included in the setting data 300. For example, the time when the user operates the switch at the start of their assigned section is set as local time 0, and thereafter the target device 60 autonomously executes light emission events based on a clock or timer within the device 60.
[0062] In this configuration, it is not necessary to keep the target device 60 constantly synchronized with the central device from the start of the entire performance. For example, even if the assigned section starts a few minutes after the start of the overall performance, the target device 60 may autonomously execute only the local timeline corresponding to that assigned section after the user operation at the start of that section.
[0063] If there is an error in the clock or timer of the target device 60, the cumulative error can become large in a configuration where a single clock tracks the entire long duration of the performance. In contrast, in an embodiment that uses setting data 300 converted to a local timeline according to the context and performs a local start at the start of the assigned section, the time that the target device 60 should autonomously track can be limited to the length of the assigned section.
[0064] User operation is not limited to a single press; it may also involve pressing, holding, double-pressing, or other operations on the operation unit 61.
[0065] In one example of a school event, the hierarchical program structure 210 can be organized as a hierarchy of grade, class, group, and performance. For example, the higher-level program 211 can be associated with one grade, the intermediate-level program 212 with each class within that grade, the lower-level program 213 with each group within each class, and the execution program 214 with the lighting performance that each group is in charge of.
[0066] When a context card identifying a class is placed within the same imaging area as a second physical object 130, the context resolution unit 45 can identify the program range corresponding to that class and acquire the start time of that class as the reference time 230. At this time, the light emission events on the overall timeline 240 can be converted to a local timeline based on the class start time and set to the target device 60 belonging to that class.
[0067] Similarly, when using context cards to identify groups, the program range and reference time 230 may be specified for each group. Furthermore, when using context cards to identify grade levels, the program range and reference time 230 may be specified for each grade level.
[0068] In this way, while using the same light emission program or the same higher-level structure, the time range and time origin to be set can be switched according to the identification information of the second physical object 130.
[0069] In one embodiment, the writing device 50 may transmit the setting data 300 to the target device 60 via optical communication. The target device 60 is equipped with a light receiving unit and may store the setting data 300 received from the writing device 50 in its storage unit.
[0070] Alternatively, multiple target devices 60 may be stacked or arranged in close proximity, and the setting data 300 received by one target device 60, or the transmission data based on said setting data 300, may be sequentially transmitted to other adjacent target devices 60 using a light-emitting unit.
[0071] This stacked provisioning is not an essential configuration for context resolution or time conversion in the present invention. The method for writing the configuration data 300 may be another communication method.
[0072] In another embodiment, the context resolution unit 45 may identify a program range 220 based on the identification information of the second physical object 130 and select, extract, or expand program information 310 corresponding to the program range 220 without necessarily performing time conversion.
[0073] For example, if the overall program consists of multiple subgraphs or the program module 430, only the program range corresponding to the second physical object 130 may be extracted, and setting data 300 for the target device 60 may be generated from the extracted program information 310.
[0074] In yet another embodiment, both program range selection or extraction and time conversion based on reference time 230 may be performed. Therefore, the manner in which the context object acts on the setting data 300 is not limited to time conversion, but may include program range selection, extraction, expansion, time conversion, or a combination thereof.
[0075] The definition and calling of the program module 430 using the reference physical object 140 will be explained with reference to Figures 7 and 8. In this specification, "reference physical object 140" means a physical object having reference identification information 420 for associating or referencing a linked program graph or program module 430. "Reference identification information 420" means information for identifying the reference physical object 140 and for specifying or referencing the linked program graph or program module 430 associated with the reference physical object 140, and may be, for example, a card ID, string, code, graphic marker, or other machine-readable identification information. As will be described later, the reference physical object 140 may be used to define or associate the program module 430 when it is not connected to the linked program graph, and may be used to call or referencing the program module 430 when it is connected as a node in the linked program graph. This embodiment may be implemented independently of or in combination with the main context-dependent configuration embodiment of this application.
[0076] In the first imaging state shown in Figure 7, a first linked program graph 400 is formed by multiple physical program objects 100 and physical connection objects 110, and the reference physical object 140 is not connected to the first linked program graph 400 by the physical connection objects 110.
[0077] When the processing unit 40 identifies that the reference physical object 140 is not connected to the first linked program graph 400, it stores the reference identification information 420 of the reference physical object 140 in association with the first linked program graph 400 or information identifying the graph.
[0078] The aforementioned association does not require the program body of the first linked program graph 400 to be written to the reference physical object 140 itself. For example, a reference correspondence table may be stored in the processing unit 40 or a storage unit accessible from the processing unit 40, with the reference identification information 420 as the key and the graph ID, module ID, or reference information to the first linked program graph 400 as the value.
[0079] In the second imaging state shown in Figure 8, the reference physical object 140 corresponding to the reference identification information 420 is connected as a node in the second linked program graph 410 by the physical connection object 110. The processing unit 40 refers to the first linked program graph 400 based on the reference identification information 420 of that node.
[0080] The processing unit 40 references the first linked program graph 400 from the nodes included in the second linked program graph 410 and generates a referenced or expanded second program graph 440 that includes the first linked program graph 400. In this specification, "reference resolution" means the process of identifying a corresponding linked program graph or program module 430 based on reference identification information 420, and referencing or expanding the graph or program module 430 into a logical program graph. Here, the second linked program graph 410 represents a physical connection structure directly recognized from the second imaging information, and the second program graph 440 represents a logical program graph after reference resolution.
[0081] This configuration allows reference physical objects 140 of the same type to function as objects of definition or association in a first imaging state that is not connected to the graph, and to function as call or reference nodes in a second imaging state that is connected as a node in the graph.
[0082] The referenced graph or program module 430 corresponding to the reference identification information 420 is not required to be defined at the time of the formation of the higher-level structure. For example, when applied to a school event, the processing unit 40 may generate a higher-level linked program graph representing the configuration of multiple classes belonging to that grade from the first imaging information, including a reference physical object 140 having reference identification information 420 representing "Class 1" as a node connected by a physical connection object 110. Even if the lower-level group configuration or performance program corresponding to "Class 1" has not yet been defined at this point, the processing unit 40 may save the higher-level linked program graph with an unresolved reference indicating that the referenced destination corresponding to the reference identification information 420 is undefined. Note that while grades and classes are used as examples here, the contents of the higher and lower levels are not limited to these.
[0083] Subsequently, in the second imaging information acquired after the first imaging information, a lower-level linked program graph is formed consisting of multiple physical program objects 100 and physical connection objects 110 corresponding to a group or performance element belonging to "Class 1". Furthermore, if a reference physical object 140 having the reference identification information 420 representing "Class 1" is recognized in a state where it is not connected to the lower-level linked program graph, the processing unit 40 may associate and store the reference identification information 420 with the lower-level linked program graph. This allows unresolved references that corresponded to "Class 1" in the previously saved upper-level linked program graph to be resolved as references to the later defined lower-level linked program graph. The lower-level linked program graph may have the same configuration as the first linked program graph 400.
[0084] Thus, using school events as an example, a grade-level graph can be formed by first connecting reference physical objects 140 corresponding to "Class 1," "Class 2," etc., as nodes, and saving the grade-level graph even if the reference programs for each class are undefined. Subsequently, a group graph corresponding to "Class 1" can be defined to resolve the unresolved references, and further, unresolved references corresponding to "Group 1," "Group 2," etc., can be set in the group graph, and individual performance graphs can be defined for each group later to resolve these unresolved references.
[0085] In this way, since the higher-level structure can be defined first and the lower-level program bodies can be associated sequentially afterward, there is no need to fix the creation order of the hierarchical program structure 210 from lower to higher levels.
[0086] As shown in Figure 9, multiple separate reference physical objects 140 may have reference information that identifies the same reference identification information 420 or the same program module 430.
[0087] For example, two reference physical objects 140, designated as A1 and A2, may refer to the same program module 430A. Similarly, two reference physical objects 140, designated as B1 and B2, may refer to the same program module 430B.
[0088] This allows, for example, in a program sequence ABCABD, the content of A to be defined once and called from multiple locations, and similarly, the content of B to be called from multiple locations. Here, "call instance" refers to each call that individually references the same program module 430 from different locations or different nodes. When one program module 430 is updated, an embodiment can be configured that reflects the updated content in multiple call instances that reference that module.
[0089] In Figure 9, program modules 430A and 430B are shown as representative examples for clarity of explanation, but the reference physical objects 140, shown as C and D, may also be configured to reference their respective program modules.
[0090] The first linked program graph 400 or program module 430 may further include nodes corresponding to reference physical objects 140 having other reference identification information. In this case, the processing unit 40 may resolve the reference identification information of the node and refer to other graphs or program modules when the graph is expanded.
[0091] Reference resolution may be performed recursively, stepwise, or to a predetermined depth. Furthermore, if a reference relationship returns to the previously referenced program module 430 or graph as a result of sequentially referencing a certain reference, it may be detected as a circular reference, and processing may be performed such as issuing an error, prohibiting the cycle, or setting a maximum expansion depth when such a circular reference is detected.
[0092] In the context-dependent setting data generation process shown in Figure 3, the processing unit 40 acquires imaging information, identifies physical objects in the imaging information, generates a linked program graph 200 based on the physical connection object 110, and identifies the first physical object 120 and the second physical object 130 that are not connected to the graph. The physical object identification process in S102 may be performed by the imaging information acquisition unit 41, the graph generation unit 42, or the image recognition process of the processing unit 40, and it is not necessary to have a dedicated independent functional unit.
[0093] Next, the processing unit 40 identifies the target device 60 based on the identification information of the first physical object 120, and identifies the program range 220 and reference time 230 in the hierarchical program structure 210 based on the identification information of the second physical object 130.
[0094] Next, the processing unit 40 converts the execution time information 320 of the light emission event based on the reference time 230, generates converted execution time information 330, and generates setting data 300 based on the time-series light emission program including the converted execution time information 330. If necessary, the output unit 48 outputs the setting data 300 to the writing device 50.
[0095] Each of the processes shown as S101 to S110 in Figure 3 may be executed in parallel, in a different order, or multiple times, provided that technical dependencies are satisfied. For example, the identification of the target device 60 and the resolution of context identification information may be performed in parallel if they are not mutually dependent.
[0096] The above process may be implemented as a program that causes the computer to function as an image information acquisition unit 41, a graph generation unit 42, a disconnected object identification unit 43, a target identification unit 44, a context resolution unit 45, a time conversion unit 46, a setting data generation unit 47, and, if necessary, an output unit 48.
[0097] The program may be recorded on semiconductor memory, magnetic recording media, optical recording media, or other non-temporary computer-readable recording media, and may be provided via a network.
[0098] According to this embodiment, linked program graphs, disconnected target objects, and disconnected context objects can be identified from the same imaging information, and each can be interpreted as having a different role based on its membership status in the graph and its object type or identification information.
[0099] Furthermore, the identification information of a disconnected context object can be resolved to a specific program range in the stored hierarchical program structure 210, and the program data can be converted using the reference time 230 corresponding to that range. For this reason, the context object is not merely display information, but also affects the content of the setting data 300 set on the target device 60.
[0100] Furthermore, by combining the configuration data 300 converted to a local timeline with a local start, it is possible to realize a configuration in which the target device 60 does not need to receive a continuous synchronization signal from the central device and can autonomously execute from the start of its assigned section.
[0101] The embodiments described above are not mutually exclusive and may be combined in any way that does not contradict the technical principles. Furthermore, the scope of the present invention is not limited to the embodiments described above, and various modifications can be made within the scope of the technical concept described in the claims. [Explanation of symbols]
[0102] 10 Programming Systems 20. Physical Programming Aspects 30 Imaging device 40 Processing Unit 41. Image Information Acquisition Unit 42 Graph Generation Unit 43 Disconnected Object Identification Unit 44 Targeted Department 45 Context resolution part 46 Time conversion section 47. Configuration data generation unit 48 Output section 50 Writing device 60 Target devices 61 Operation section 100 Physical Program Objects 110 Physically connected objects 120 First physical object 130 Second physical object 140 Reference Physical Objects 200 Linked Program Graphs 210 Hierarchical Program Structure 211 Top Programs 212 Mid-level programs 213 Lower-level programs 214 Executable Program 220 Program Range 230 Reference time 240 Overall Timeline 250 Local Timelines 300 Configuration data 310 Program Information 320 Execution time information 330 Execution time information after conversion 400 First linked program graph 410 Second linked program graph 420 Reference Identifier 430 Program Modules 440 Second program graph
Claims
1. A programming device that generates a program graph based on imaging information obtained by imaging a physical program object, a physical connection object, and a reference physical object having reference identification information, A graph generation unit recognizes the connection relationships of multiple physical program objects based on the physical connection objects and generates a linked program graph in which the multiple physical program objects are nodes, A connection status identification unit that identifies whether the reference physical object is connected to the linked program graph by the physical connection object, When it is identified that the reference physical object is not connected to the first linked program graph generated from the first imaging information, an association unit stores the reference identification information of the reference physical object and the first linked program graph or information identifying the first linked program graph in association with each other. When it is identified that a reference physical object corresponding to the reference identification information is connected as a node to a second linked program graph generated from the second imaging information, a reference resolution unit refers to the first linked program graph based on the reference identification information and generates a referenced or expanded second program graph that includes the first linked program graph. A programming device characterized by being equipped with the following features.
2. The connection status identification unit identifies whether the reference physical object is connected to the linked program graph based on the connection relationship indicated by the physical connection object, rather than the proximity distance between the reference physical object and the linked program graph on the image. The programming device according to feature 1.
3. The association unit stores a reference correspondence table in its storage unit, with the reference identification information as the key and the graph identification information of the first linked program graph, the identification information of the program module including the first linked program graph, or the reference information to the first linked program graph as values, and does not require that the program body of the first linked program graph be written to the reference physical object. The programming device according to feature 1.
4. The reference resolution unit references the same program module multiple times from different nodes or locations in the second linked program graph, based on the reference identification information of multiple separate reference physical objects. The programming device according to feature 1.
5. The reference resolution unit, when a program module is updated, reflects the updated content in multiple call instances that reference the program module. The programming device according to feature 4.
6. The reference resolution unit resolves other reference identification information when the first linked program graph or a program module containing the first linked program graph contains nodes of reference physical objects corresponding to other reference identification information, and references other linked program graphs or program modules recursively or stepwise. The programming device according to feature 1.
7. The reference resolution unit, in resolving the other reference identification information, detects circular references that return to a previously referenced program module or linked program graph, and when such circular references are detected, performs a process to treat it as an error, a process to prohibit the circular reference, or a process to set a maximum expansion depth. The programming device according to feature 6.
8. The association unit, when the reference destination corresponding to the reference identification information is undefined, stores a higher-level linked program graph including the unresolved reference to the reference destination, and when a reference physical object having the reference identification information is recognized in a state where it is not connected to a later formed lower-level linked program graph, it stores the reference identification information and the lower-level linked program graph in association, thereby resolving the unresolved reference in the higher-level linked program graph. The programming device according to feature 1.
9. The aforementioned upper-level linked program graph and the aforementioned lower-level linked program graph correspond to different levels among grade, class, group, and performance, and the process of resolving the unresolved references is performed stepwise across multiple levels. The programming device according to feature 8.
10. The first linked program graph or the second program graph constitutes a time-series light-emitting program for setting on the target light-emitting device. The programming device according to feature 1.
11. A method for generating a program graph based on imaging information of a physical program object, a physical connection object, and a reference physical object having reference identification information, which is executed by a computer, A graph generation step that recognizes the connection relationships of physical program objects based on the physical connection objects and generates a linked program graph, A connection status identification step that identifies whether the reference physical object is connected to the linked program graph by the physical connection object, If it is identified that the reference physical object is not connected to the first linked program graph generated from the first imaging information, the association step involves associating and storing the reference identification information of the reference physical object with the first linked program graph or information identifying the first linked program graph. When it is identified that a reference physical object corresponding to the reference identification information is connected as a node to a second linked program graph generated from the second imaging information, a reference resolution step is performed to refer to the first linked program graph based on the reference identification information and generate a referenced or expanded second program graph that includes the first linked program graph. A method for generating a program graph, characterized by having the following features.
12. Computers, A graph generation means that recognizes the connection relationships of physical program objects based on physical connection objects and generates a linked program graph. Connection status identification means for identifying whether a reference physical object having reference identification information is connected to the linked program graph by the physical connection object, When it is identified that the reference physical object is not connected to the first linked program graph generated from the first imaging information, association means for associating and storing the reference identification information of the reference physical object with the first linked program graph or information identifying the first linked program graph. When it is identified that a reference physical object corresponding to the reference identification information is connected as a node to a second linked program graph generated from second imaging information, a reference resolution means that references the first linked program graph based on the reference identification information and generates a referenced or expanded second program graph that includes the first linked program graph. A program characterized by being designed to function as such.
Citation Information
Patent Citations
Computer program visual programming method, involves providing code-modules that comprise linking areas with coupling profiles or visual perceivable coupling marker, where color formation of linking areas is provided as marker
DE102006054004A1
Creating and running animation behaviors for gui
JP2006526181A
Device for generating a computer program and method for generating a computer program
JP2019525365A
Programming support tool
JP2022178061A
Device control system
JP2023035318A
