Rail transit equipment service calling method and device, computer and storage medium
By using IoT module devices and predefined object models in the rail transit industry, non-direct-connected sub-equipment is classified and reported to the multi-function controller, the problem of difficult reuse and poor interoperability of sub-terminal equipment data is solved, and a standardized equipment object model and a simplified development process are realized.
Patent Information
- Application Number
- CN202411863540.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-03-25
AI Technical Summary
In the rail transit industry, the data of sub-terminal devices is difficult to reuse and have poor interoperability, which leads to the development team needing to customize development for various different protocols and data formats to extend the development cycle and increase project complexity.
The predefined object model is received through the IoT module device, used to classify non-direct-connected sub-device and report to the multi-function controller. The IoT module device receives the device service call request, interacts with the non-direct-connected sub-device according to the predefined object model, and sends the interaction result to the multifunction controller.
It realizes the improvement of data reusability and interoperability of sub-terminal devices through standardized equipment and object models, simplifies the development process, reduces project complexity, and improves the convenience of real-time data acquisition and execution operations.
Smart Images

Figure CN119690707A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of rail transit control, and in particular to a rail transit equipment service calling method, device, computer and storage medium. Background Art
[0002] In the rail transit industry, collecting real-time data on sub-terminal devices and performing corresponding operations is an indispensable part of business personnel's daily inspections.
[0003] At present, due to the lack of unified standards, traditional sub-terminal devices often rely on device point tables provided by various manufacturers for data acquisition, which not only makes it difficult to reuse data, but also makes the interoperability between different devices poor. Non-directly connected sub-devices cannot be directly connected to the control center or need to go through more protocol modifications to connect to the control center. Or in the early development stage of the project, the development team has to carry out customized development work for various protocols and data formats, which not only prolongs the development cycle, but also increases the complexity of the project. In the absence of standardized data interfaces, business personnel often need to spend a lot of time to learn and adapt to the operation methods of equipment from different manufacturers when collecting data, which undoubtedly reduces work efficiency. At the same time, data inconsistency also brings many inconveniences to later data analysis and processing, because differences in data formats require additional conversion and processing steps, which not only consumes valuable time resources, but also may introduce errors and affect the accuracy of the data. Summary of the invention
[0004] The main purpose of the present invention is to provide a rail transit equipment service calling method, device, computer and storage medium, aiming to solve the problem that sub-terminal equipment data is difficult to reuse and has poor interoperability. The development team has to carry out customized development work for various protocols and data formats, which prolongs the development cycle and increases the complexity of the project.
[0005] In order to achieve the above object, the present invention provides a rail transit equipment service calling method, comprising: S1. The IoT module device receives a predefined object model for classifying connected indirect-connected sub-devices, wherein the predefined object model includes attribute configuration and service configuration, wherein at least one of the indirect-connected sub-devices is connected to the corresponding IoT module device; S2, the IoT module device reports the predefined IoT model to a multi-function controller, wherein the multi-function controller is connected to a plurality of IoT module devices; S3, the IoT module device receives information sent by the non-directly connected sub-device; S4, the IoT module device receives a device service call request from the multi-function controller, the device service call request includes executing an operation and / or acquiring real-time data, wherein the device service call request is generated with reference to the predefined object model; S5. The IoT module device interacts with the non-directly connected sub-device connected to the IoT module device according to the device service call request, and sends the interaction result to the multi-function controller.
[0006] Furthermore, the method further comprises: The IoT module device receives the predefined IoT model sent by the multi-function controller.
[0007] Furthermore, the service configuration includes an associated device configuration, in which a plurality of the non-directly connected sub-devices are associated, and the device class code, device serial number and attribute configuration of the associated non-directly connected sub-devices are recorded; The steps of S3 include: The IoT module device receives a device service call request sent by the multi-function controller according to the associated device configuration, wherein the device service call request includes executing an operation and / or acquiring real-time data.
[0008] Further, the attribute configuration includes terminal category, setting location and associated system; The steps of S2 include: The IoT module device reports the predefined object model to the multifunctional controller, and the multifunctional controller uses the predefined object model to form a plurality of object models. The plurality of object models are configured by the multifunctional controller to form a category object model group table, a co-location object model group table, and an associated object model group table according to the attribute configuration; In the step S3, the device service call request is formed in batches according to the category object model group table, the co-location object model group table or the associated object model group table.
[0009] Furthermore, the method further comprises: The IoT module device receives an intelligent predefined object model for classifying directly connected sub-devices connected to the multi-function controller, and combines the intelligent predefined object model with the predefined object model in the IoT module device.
[0010] Furthermore, the predefined object model also includes a processing event configuration, and the processing event configuration is used to mark situations that need to be processed externally in a timely manner.
[0011] Furthermore, the non-directly connected sub-device is connected to the IoT module device through wired communication, Wi-Fi, infrared or near-field communication, and the IoT module device is connected to the multi-function controller through wired communication.
[0012] The present invention also provides a device for running the above rail transit equipment service calling method, comprising: A configuration unit, configured to receive a predefined object model for classifying connected non-directly connected sub-devices, wherein the predefined object model includes attribute configuration and service configuration; A first uploading unit, used for reporting the predefined object model to the multi-function controller; A first receiving unit, configured to receive information sent by the non-directly connected sub-device; A second receiving unit, configured to receive a device service call request from the multi-function controller, wherein the device service call request includes executing an operation and / or acquiring real-time data; An execution unit is used to interact with the non-directly connected sub-device according to the device service call request, and send the interaction result to the multi-function controller.
[0013] The present invention also provides a computer, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned rail transit equipment service calling method when executing the computer program.
[0014] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned rail transit equipment service calling method are implemented.
[0015] The rail transit equipment service calling method, device, computer and storage medium provided by the present invention provide a communication basis for non-directly connected sub-devices through the Internet of Things module device. The Internet of Things module device can predefine object models so that non-directly connected sub-devices can be set; the predefined object model includes attribute configuration and service configuration. When the non-directly connected sub-device is defined through the predefined object model, a object model is formed on the Internet of Things module device; the object model is stored in the form of table data on the Internet of Things module device or the multi-function controller. The object model defined in the Internet of Things module device can be automatically synchronized to the multi-function controller, and the standardized equipment object model is established by referring to the instantiation data, which improves the accuracy and reusability of the sub-terminal device object model. By binding the object attribute configuration to build the object model service, the object model service of each device class is solidified, and the call of two types of services, real-time data acquisition and execution operation, is realized. In particular, in the service call of the execution operation type, the convenience of complex equipment and interlocking equipment in executing operations is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of a rail transit equipment service calling method according to a first embodiment of the present invention; Figure 2 is a schematic diagram of a device for running a rail transit equipment service calling method according to a second embodiment of the present invention; Figure 3 It is a conceptual diagram of a computer according to a third embodiment of the present invention.
[0017] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0018] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0019] Those skilled in the art will appreciate that, unless expressly stated otherwise, the singular forms "a", "an", "said", "above", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements, units, modules, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, units, modules, components, and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0020] Those skilled in the art will understand that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the field to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0021] Reference Figure 1 In one embodiment of the present invention, a rail transit equipment service calling method includes: S1. The IoT module device receives a predefined object model for classifying connected indirect-connected sub-devices, wherein the predefined object model includes attribute configuration and service configuration, wherein at least one of the indirect-connected sub-devices is connected to the corresponding IoT module device; S2, the IoT module device reports the predefined IoT model to a multi-function controller, wherein the multi-function controller is connected to a plurality of IoT module devices; S3, the IoT module device receives information sent by the non-directly connected sub-device; S4, the IoT module device receives a device service call request from the multi-function controller, the device service call request includes executing an operation and / or acquiring real-time data, wherein the device service call request is generated with reference to the predefined object model; S5. The IoT module device interacts with the non-directly connected sub-device connected to the IoT module device according to the device service call request, and sends the interaction result to the multi-function controller.
[0022] With existing technologies, non-directly connected sub-devices cannot be directly connected to the control center or require a lot of protocol modifications before they can be connected to the control center; or in the early development stage of the project, the development team has to carry out customized development work for various protocols and data formats, which not only prolongs the development cycle, but also increases the complexity of the project.
[0023] In the present invention, the step numbers are only used for distinction and not as a restriction on the order. It should be understood that the term "IoT module device" is only used to facilitate the description of a smart device in the present invention that enables on-site non-directly connected sub-devices to have IoT capabilities, rather than indicating or implying that all smart devices connected to on-site non-directly connected sub-devices are called "IoT module devices", and therefore cannot be understood as a limitation of the present invention. The term "multi-function controller" is only used to facilitate the description of the smart device that can manage on-site sub-terminal devices and "IoT module devices" in the present invention, as well as that can call service requests, rather than indicating or implying that all devices connected to "IoT module devices" are called "multi-function controllers".
[0024] In step S1, the IoT module device receives a predefined object model for classifying the connected non-directly connected sub-devices, and the predefined object model is manually entered or transmitted from other intelligent devices (such as a multi-function controller in the subsequent process). The predefined object model includes attribute configuration and service configuration, wherein at least one non-directly connected sub-device is connected to the corresponding IoT module device. A type of object model is abstracted for each type of non-directly connected sub-device, and the non-directly connected sub-device is formed into an object model in the process of using the predefined object model. For example, in the process of connecting the non-directly connected sub-device to the IoT module device, the corresponding predefined object model is selected, and then the attribute configuration of the characteristic is performed, and then the non-directly connected sub-device is defined. The attribute configuration is used to describe the working status of the non-directly connected sub-device at the rail transit site, and may include an attribute identifier, an attribute name, a data type, and an access type (read and write permissions). The attribute configuration data is reported when it changes, that is, when the attribute value changes, the collected data is actively reported to the multi-function controller; the attribute configuration data is reported when it is reconnected, that is, when the IoT module device re-establishes a link with the multi-function controller, the collected data is actively reported to the multi-function controller. The service configuration is used to describe the ability of on-site physical equipment to be called externally, and may include a service ID, associated attributes, and interlocked sub-terminal devices. In the process of using the predefined object model, the state definition of the non-communication sub-terminal is completed through the attribute configuration, and the process that the non-communication sub-terminal can execute is described through the service configuration. The IoT module device is used to access the sub-terminal device, which can enable the sub-terminal device to have communication capabilities and complete protocol conversion. The IoT module device initiates a connection request to the multi-function controller through the local network, and reports the sub-terminal device attribute data, event data, and accepts the call of the multi-function controller. The associated attributes of the service configuration are the read-write characteristics of the service configuration, including read-only attributes, write-only attributes, and read-write attributes. For example, when the service configuration works in the data acquisition mode, the associated attributes of the service configuration are read-only attributes and read-write attributes. When the multi-function controller calls this service, the attributes do not need to be entered as parameters, and the real-time data of the associated attributes can be requested. For example, when the service configuration works in the execution mode, the associated attributes of the service configuration are write-only attributes and read-write attributes. When the multi-function controller calls this service, the attributes must be entered as parameters, and the data of the associated attributes can be requested to be written, thereby implementing the issuance of control commands and obtaining a response to control success or failure.
[0025] In step S2, the IoT module device reports the predefined object model to the multifunctional controller, and is used to form multiple object models, wherein the multifunctional controller is connected to multiple IoT module devices. The predefined object model in the IoT module device is reported to the multifunctional controller, so that the multifunctional controller can monitor all non-communication sub-terminals. At the same time, the predefined object model in the multifunctional controller can also be adjusted on the multifunctional controller. Multiple object models can also form different groups in the multifunctional controller through various rules and perform tabular management.
[0026] In step S3, the IoT module device receives a device service call request from the multi-function controller, the device service call request includes executing an operation and / or acquiring real-time data, wherein the device service call request is generated according to the predefined object model. The IoT module device itself has the ability to communicate, and at this time, the IoT module device receives information sent by the non-directly connected sub-device connected to it, so that the above information can be processed by the IoT module device (for example, uploaded to the multi-function controller).
[0027] In step S4, the IoT module device interacts with the non-directly connected sub-device connected to the IoT module device according to the device service call request, and sends the interaction result to the multi-function controller. The multi-function controller manages the IoT module device and manages the sub-terminal device through the IoT module device. The multi-function controller initiates a request to the IoT module device to which the sub-terminal device belongs through the network (wired and / or wireless network), so as to obtain the data of the sub-terminal device or control the sub-terminal device. For example, the sub-terminal device is an air-conditioning device. The multi-function controller can obtain the temperature information detected by the air-conditioning device through the IoT module device. According to the temperature information, the multi-function controller can also adjust the operation of the air-conditioning device through the IoT module device.
[0028] In a specific implementation process, the multi-function controller can control the non-directly connected sub-device through the following steps: Step.1 Find the non-directly connected sub-device in the management interface of the multi-function controller, activate and send the service configuration of the non-communication sub-terminal in the predefined object model to initiate a device service call request; Step.2 The IoT module device to which the non-directly connected sub-device is connected receives the device service call request; Step.3 The IoT module device sequentially operates the non-directly connected sub-devices according to the service configuration content of the non-directly connected sub-devices; Step.4 The IoT module device determines whether the non-directly connected sub-device is executed successfully. If not, it returns to Step 3 and repeats it up to three times, with an interval of 2 seconds each time. If it still fails, it replies the response to the multi-function controller. If it is executed successfully, it replies the response to the multi-function controller.
[0029] In summary, the IoT module device provides a communication basis for non-directly connected sub-devices. The IoT module device can predefine object models so that non-directly connected sub-devices can be set; the predefined object model includes attribute configuration and service configuration. When the non-directly connected sub-device is defined through the predefined object model, a object model is formed on the IoT module device; the object model is stored in the form of table data on the IoT module device or the multi-function controller. The object model defined in the IoT module device can be automatically synchronized to the multi-function controller, realizing the establishment of a standardized device object model by referring to the instantiation data, and improving the accuracy and reusability of the sub-terminal device object model. By binding the object attribute configuration to build the object model service, the object model service of each device class is solidified, and the call of two types of services, real-time data acquisition and execution operation, is realized. In particular, in the call of the execution operation type service, the convenience of complex equipment and interlocking equipment in executing operations is improved.
[0030] In one embodiment, the method further comprises: The IoT module device receives the predefined IoT model sent by the multi-function controller.
[0031] In this embodiment, the user can predefine object models in the IoT module device and can also predefine object models on the multi-function controller. The IoT module device can upload the predefined object model to the multi-function controller and can also receive the predefined object model sent by the multi-function controller.
[0032] In one embodiment, the service configuration includes an associated device configuration, in which a plurality of the non-directly connected sub-devices are associated, and the device class code, device serial number and attribute configuration of the associated non-directly connected sub-devices are recorded; The steps of S3 include: The IoT module device receives a device service call request sent by the multi-function controller according to the associated device configuration, wherein the device service call request includes executing an operation and / or acquiring real-time data.
[0033] Considering that in the application stage of the monitoring system, if interlocked non-directly connected sub-devices are involved, the business personnel must first confirm the operating status of the interlocked sub-terminal devices to ensure whether these non-directly connected sub-devices can safely perform the corresponding operations; if faced with equipment with complex structures, the business personnel also need to perform a series of operations in a certain order to ultimately achieve the desired operation purpose. These factors together make the entire operation process cumbersome, thereby reducing work efficiency. In this embodiment, the multi-function controller can realize the control of associated non-directly connected sub-devices through the associated device configuration. The multi-function controller sends the device service call request to the corresponding IoT module device according to the associated device configuration. Further, the IoT module device interacts with the non-directly connected sub-devices connected to the IoT module device according to the device service call request, and sends the interaction results to the multi-function controller. The interaction results can provide a basis for the sequential opening of multiple associated non-directly connected sub-devices.
[0034] In a specific implementation process, the multi-function controller can control the non-directly connected sub-device through the following steps: Step.1 Find the non-directly connected sub-device in the management interface of the multi-function controller, activate and send the service configuration of the non-communication sub-terminal in the predefined object model to initiate a device service call request; Step.2 The IoT module device to which the non-directly connected sub-device is connected receives the device service call request; Step.3 The IoT module device calls the service configuration of the non-directly connected sub-device to determine whether there is an associated non-directly connected sub-device. If so, go to Step 4; if not, go to Step 5; Step.4 The IoT module device calls the service configuration of the associated non-directly connected sub-device to the multi-function controller, requests the data of the associated non-directly connected sub-device, and determines whether it is released. If it is released, go to Step.5, if not, go to Step.7. If the request for the data of the associated non-directly connected sub-device fails, the response is returned to the multi-function controller. If the request for the data of the associated non-directly connected sub-device is successful, no response is given; Step.5 The IoT module device sequentially operates the non-directly connected sub-devices according to the service configuration content of the non-directly connected sub-devices; Step.6 The IoT module device determines whether the non-directly connected sub-device is executed successfully. If not, it returns to Step.5 and repeats it up to three times, with an interval of 2 seconds each time. If it still fails, it replies the response to the multi-function controller. If it is executed successfully, it replies the response to the multi-function controller.
[0035] Step.7 The IoT module device calls the service configuration of the non-communication sub-terminal to the multi-function controller according to the attribute configuration of the associated non-communication sub-terminal in the service configuration of the non-directly connected sub-device, requests to execute the action of the non-communication sub-terminal, and then returns to Step.4, looping up to 3 times, waiting for n seconds each time. The specific time is based on the total duration of the associated non-communication sub-terminal action m seconds, n=m+1 seconds. Time m is configured in the object model. If the operation is executed successfully, the response is returned to the multi-function controller. If the operation fails, the response is returned to the multi-function controller. If the request to obtain the interlocking sub-device data fails, the response is returned to the multi-function controller.
[0036] In one embodiment, the attribute configuration includes terminal category, setting location and associated system; The steps of S2 include: The IoT module device reports the predefined object model to the multifunctional controller, and the multifunctional controller uses the predefined object model to form a plurality of object models. The plurality of object models are configured by the multifunctional controller to form a category object model group table, a co-location object model group table, and an associated object model group table according to the attribute configuration; In the step S3, the device service call request is formed in batches according to the category object model group table, the co-location object model group table or the associated object model group table.
[0037] In this embodiment, multiple object models are configured by the multi-function controller according to the attributes to form a category object model group table, a co-location object model group table and an associated object model group table, each of which contains multiple object models that form a relationship with each other.
[0038] The category object model group table includes non-directly connected sub-devices of the same category, for example, all fans in the entire system, all air conditioners in the entire system, all lighting equipment in the entire system, or all cameras in the entire system. Through the category object model group table, non-directly connected sub-devices of the same category can be monitored and managed in batches, and device service call requests can be generated and issued in batches.
[0039] The co-location object model group table includes non-directly connected sub-devices set within the same location range (which can be a physical range or an artificially defined management range), for example, all related settings within a certain station. Through the co-location object model group table, non-directly connected sub-devices in the relevant area can be efficiently monitored and managed, and device service call requests can be generated and issued in batches.
[0040] The associated object model group table includes mutually associated indirect sub-devices, and several associated indirect sub-devices are combined into a group. The associated object model group table is used to centrally and conveniently monitor and manage the multiple mutually associated indirect sub-devices.
[0041] In one embodiment, the method further comprises: The IoT module device receives an intelligent predefined object model for classifying directly connected sub-devices connected to the multi-function controller, and combines the intelligent predefined object model with the predefined object model in the IoT module device.
[0042] In this embodiment, a coordinated control method for directly connected sub-devices is provided. Since directly connected sub-devices can independently realize information transmission and remote control, when the multi-function controller sets a set of control logic for them separately, it increases the complexity of the method, and it is difficult to achieve coordinated connection with other non-directly connected sub-devices. Therefore, an intelligent predefined object model is set on the multi-function controller corresponding to the directly connected sub-device. The directly connected sub-devices can be classified through the intelligent predefined object model. Further, according to the setting of the intelligent predefined object model, the directly connected sub-device can form a relationship with other non-communication sub-terminals in the entire system. It should be noted that the intelligent predefined object model can be entered from the Internet of Things module device, or entered into the multi-function controller and transmitted to the Internet of Things module device.
[0043] In one embodiment, the predefined object model further includes a processing event configuration, and the processing event configuration is used to mark situations that need to be processed externally in a timely manner.
[0044] The processing event configuration may include an alarm value and an alarm level. The operating data of the sub-terminal device is continuously uploaded to the multi-function controller through the IoT module device. When the operating data deviates from the normal range, the IoT module device periodically reports the event data until the event is resolved. For example, the sub-terminal device is a hazardous gas concentration sensor, and the processing event configuration is gas concentration deviation. When the IoT module device determines that the gas concentration deviates from the normal range, the IoT module device reports the alarm information to the multi-function controller to provide a prompt to the management personnel.
[0045] In one embodiment, the non-directly connected sub-device is connected to the IoT module device via wired communication, Wi-Fi, infrared or near field communication, and the IoT module device is connected to the multi-function controller via wired communication.
[0046] In this embodiment, the way in which the non-directly connected sub-device is connected to the IoT module device is selected according to the location between the two and the convenience of implementation. The IoT module device is connected to the multi-function controller through wired communication, thereby ensuring the stability of the connection.
[0047] Reference Figure 2 The present invention also provides a device for running the above-mentioned rail transit equipment service calling method, comprising: A configuration unit (10) is used to receive a predefined object model for classifying connected non-directly connected sub-devices, wherein the predefined object model includes attribute configuration and service configuration; A first uploading unit (20) is used to report the predefined object model to the multifunctional controller; A first receiving unit (30), configured to receive information sent by the non-directly connected sub-device; A second receiving unit (40) is used to receive a device service call request from the multifunctional controller, wherein the device service call request includes executing an operation and / or acquiring real-time data; An execution unit (50) is used to interact with the non-directly connected sub-device according to the device service call request, and send the interaction result to the multi-function controller.
[0048] In this embodiment, the working mode of the device refers to the aforementioned method embodiment, which will not be described in detail here.
[0049] Reference Figure 3 The present invention also provides a computer, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned rail transit equipment service calling method when executing the computer program.
[0050] The computer device includes a processor, a storage, a communication interface, a display screen and an input device connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The storage of the computer device includes a non-volatile storage medium and an internal storage. The non-volatile storage medium stores an operating system and a computer program. The internal storage provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a file storage method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0051] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned rail transit equipment service calling method are implemented.
[0052] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0053] In summary, the rail transit equipment service calling method, device, computer and storage medium provided by the present invention provide a communication basis for non-directly connected sub-devices through the IoT module device. The IoT module device can predefine the object model so that the non-directly connected sub-device can be set; the predefined object model includes attribute configuration and service configuration. When the non-directly connected sub-device is defined through the predefined object model, a object model is formed on the IoT module device; the object model is stored in the form of table data on the IoT module device or the multi-function controller. The object model defined in the IoT module device can be automatically synchronized to the multi-function controller, and the standardized equipment object model is established by referring to the instantiation data, which improves the accuracy and reusability of the sub-terminal device object model. By binding the object attribute configuration to build the object model service, the object model service of each device class is solidified, and the call of two types of services, real-time data acquisition and execution operation, is realized. In particular, in the service call of the execution operation type, the convenience of complex equipment and interlocking equipment in executing operations is improved.
[0054] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A rail transit equipment service calling method, characterized in that: include: S1. The IoT module device receives a predefined object model for classifying connected indirect-connected sub-devices, wherein the predefined object model includes attribute configuration and service configuration, wherein at least one of the indirect-connected sub-devices is connected to the corresponding IoT module device; S2, the IoT module device reports the predefined IoT model to a multi-function controller, wherein the multi-function controller is connected to a plurality of IoT module devices; S3, the IoT module device receives information sent by the non-directly connected sub-device; S4, the IoT module device receives a device service call request from the multi-function controller, the device service call request includes executing an operation and / or acquiring real-time data, wherein the device service call request is generated with reference to the predefined object model; S5. The IoT module device interacts with the non-directly connected sub-device connected to the IoT module device according to the device service call request, and sends the interaction result to the multi-function controller.
2. The rail transit equipment service calling method according to claim 1, characterized in that: The method further comprises: The IoT module device receives the predefined IoT model sent by the multi-function controller.
3. The rail transit equipment service calling method according to claim 1, characterized in that: The service configuration includes an associated device configuration, in which a plurality of the non-directly connected sub-devices are associated, and the device class code, device serial number and attribute configuration of the associated non-directly connected sub-devices are recorded; The steps of S3 include: The IoT module device receives a device service call request sent by the multi-function controller according to the associated device configuration, wherein the device service call request includes executing an operation and / or acquiring real-time data.
4. The rail transit equipment service calling method according to claim 1, characterized in that: The attribute configuration includes terminal category, setting location and associated system; The steps of S2 include: The IoT module device reports the predefined object model to the multifunctional controller, and the multifunctional controller uses the predefined object model to form a plurality of object models. The plurality of object models are configured by the multifunctional controller to form a category object model group table, a co-location object model group table, and an associated object model group table according to the attribute configuration; In the step S3, the device service call request is formed in batches according to the category object model group table, the co-location object model group table or the associated object model group table.
5. The rail transit equipment service calling method according to claim 1, characterized in that: The method further comprises: The IoT module device receives an intelligent predefined object model for classifying directly connected sub-devices connected to the multi-function controller, and combines the intelligent predefined object model with the predefined object model in the IoT module device.
6. The rail transit equipment service calling method according to any one of claims 1 to 5, characterized in that: The predefined object model also includes a processing event configuration, and the processing event configuration is used to mark situations that need to be processed externally in a timely manner.
7. The rail transit equipment service calling method according to any one of claims 1 to 5, characterized in that: The non-directly connected sub-device is connected to the Internet of Things module device through wired communication, Wi-Fi, infrared or near-field communication, and the Internet of Things module device is connected to the multi-function controller through wired communication.
8. A device for running the rail transit equipment service calling method according to any one of claims 1 to 7, characterized in that: include A configuration unit, configured to receive a predefined object model for classifying connected non-directly connected sub-devices, wherein the predefined object model includes attribute configuration and service configuration; A first uploading unit, used for reporting the predefined object model to the multi-function controller; A first receiving unit, configured to receive information sent by the non-directly connected sub-device; A second receiving unit, configured to receive a device service call request from the multi-function controller, wherein the device service call request includes executing an operation and / or acquiring real-time data; An execution unit is used to interact with the non-directly connected sub-device according to the device service call request, and send the interaction result to the multi-function controller.
9. A computer, comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the rail transit equipment service calling method described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the rail transit equipment service calling method described in any one of claims 1 to 7 are implemented.