Object model determination method and device, storage medium and electronic device
1. A method of determining an object model, comprising:
acquiring a device type required by an equipment bottom plate to be developed, wherein the device type is used for indicating the operation which can be realized by a component for constructing the equipment bottom plate;
determining data point information of a component corresponding to the component type, wherein the data point information is used for indicating original data generated by the component in a working state;
analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed.
2. The method of claim 1, wherein after the custom combining the plurality of functional attributes according to a preset application model to determine a plurality of object models of the device backplane, the method further comprises:
receiving a construction instruction of a target object, wherein the construction instruction carries a development type to be executed by the target object, and the development type comprises at least one of the following types: developing a bottom plate and application;
and configuring the multiple object models according to the building instruction to obtain a development data model, wherein the development data model is used for representing a data model of the equipment to be generated, which is determined according to the requirements of the target object.
3. The method of claim 2, wherein after configuring the plurality of object models according to the build instructions to obtain a development data model, the method further comprises:
sending the development data model to a target development application;
receiving the business logic determined by the target development application according to the development data model;
and determining the service function of the equipment bottom plate according to the service logic, wherein the service function is used for indicating the function of the equipment bottom plate arranged in the equipment to be displayed outwards.
4. The method of claim 1, wherein obtaining the device type required by the backplane of the device to be developed comprises:
acquiring the device type defined by the target object;
and configuring a corresponding equipment bottom plate template in a database according to the equipment type, and determining the device type required by the equipment bottom plate to be developed according to the equipment bottom plate template.
5. The method of claim 4, wherein after configuring a corresponding device backplane template in a database according to the device type and determining the device type required by the device backplane to be developed according to the device backplane template, the method further comprises:
determining the type of the component corresponding to the type of the component;
and configuring in a component list in a database according to the component type to obtain a target component conforming to the equipment bottom plate template.
6. The method of claim 1, wherein determining data point information for components corresponding to the device type comprises:
determining attribute information of the component;
determining detection parameters of the component according to the attribute information, wherein the detection parameters are used for indicating a value acquired by default when the component is in a working state;
and determining data point information of the component corresponding to the device type according to the detection parameters.
7. An apparatus for determining an object model, comprising:
the device type acquisition module is used for acquiring the device type required by the equipment bottom plate to be developed, wherein the device type is used for indicating the operation which can be realized by the components for constructing the equipment bottom plate;
the determining module is used for determining data point information of the component corresponding to the component type, wherein the data point information is used for indicating original data generated by the component in a working state;
and the combination module is used for analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed.
8. The apparatus of claim 7, further comprising:
a receiving module, configured to receive a construction instruction of a target object, where the construction instruction carries a development type to be executed by the target object, and the development type includes at least one of the following: developing a bottom plate and application;
and the configuration module is used for configuring the multiple object models according to the construction instruction to obtain a development data model, wherein the development data model is used for representing a data model of the equipment to be generated, which is determined according to the requirements of the target object.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
Background
The object model is a digital description of an entity in a real space on application service, defines service capability, namely product function, of the equipment, and is convenient for describing, controlling and understanding a certain product by using a uniform language. At present, the main internet of things platforms in the market define the concept of an object model by describing what the entity is, what the entity can do and what information can be provided externally according to three dimensions of attributes, services and events. The object model is defined as the service abstraction of the product at the software level, and does not contain the hardware content of the product, but as the intelligent degree of the network device is higher and higher, the internet of things platform also gradually provides higher-level services, such as sleep quality analysis reports and laundry quality analysis, and the services need the most basic data sources besides artificial intelligence algorithms.
Aiming at the problems that in the related art, an object model does not contain hardware data, a data source for logic analysis cannot be provided and the like, an effective technical scheme is not provided yet.
Disclosure of Invention
The embodiment of the invention provides a method and a device for determining an object model, a storage medium and an electronic device, which are used for at least solving the problems that the object model does not contain hardware data and cannot provide a data source for logic analysis and the like in the related technology.
According to an embodiment of the present invention, there is provided a method of determining an object model, including: acquiring a device type required by an equipment bottom plate to be developed, wherein the device type is used for indicating the operation which can be realized by a component for constructing the equipment bottom plate; determining data point information of a component corresponding to the component type, wherein the data point information is used for indicating original data generated by the component in a working state; analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed.
In an exemplary embodiment, after the plurality of functional attributes are custom-combined according to a preset application model to determine a plurality of object models of the device backplane, the method further includes: receiving a construction instruction of a target object, wherein the construction instruction carries a development type to be executed by the target object, and the development type comprises at least one of the following types: developing a bottom plate and application; and configuring the multiple object models according to the building instruction to obtain a development data model, wherein the development data model is used for representing a data model of the equipment to be generated, which is determined according to the requirements of the target object.
In an exemplary embodiment, after configuring the plurality of object models according to the build instructions to obtain a development data model, the method further comprises: sending the development data model to a target development application; receiving the business logic determined by the target development application according to the development data model; and determining the service function of the equipment bottom plate according to the service logic, wherein the service function is used for indicating the function of the equipment bottom plate arranged in the equipment to be displayed outwards.
In one exemplary embodiment, obtaining the device types required by the backplane of the device to be developed includes: acquiring the device type defined by the target object; and configuring a corresponding equipment bottom plate template in a database according to the equipment type, and determining the device type required by the equipment bottom plate to be developed according to the equipment bottom plate template.
In an exemplary embodiment, after configuring a corresponding device backplane template in a database according to the device type and determining a device type required by the device backplane to be developed according to the device backplane template, the method further includes: determining the type of the component corresponding to the type of the component; and configuring in a component list in a database according to the component type to obtain a target component conforming to the equipment bottom plate template.
In an exemplary embodiment, determining data point information of the component corresponding to the device type includes: determining attribute information of the component; determining detection parameters of the component according to the attribute information, wherein the detection parameters are used for indicating a value acquired by default when the component is in a working state; and determining data point information of the component corresponding to the device type according to the detection parameters. According to another embodiment of the present invention, there is provided an object model determination apparatus including: the device type acquisition module is used for acquiring the device type required by the equipment bottom plate to be developed, wherein the device type is used for indicating the operation which can be realized by the components for constructing the equipment bottom plate; the determining module is used for determining data point information of the component corresponding to the component type, wherein the data point information is used for indicating original data generated by the component in a working state; and the combination module is used for analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed.
In an exemplary embodiment, the apparatus further includes: a receiving module, configured to receive a construction instruction of a target object, where the construction instruction carries a development type to be executed by the target object, and the development type includes at least one of the following: developing a bottom plate and application; and the configuration module is used for configuring the multiple object models according to the construction instruction to obtain a development data model, wherein the development data model is used for representing a data model of the equipment to be generated, which is determined according to the requirements of the target object.
In an exemplary embodiment, the apparatus further includes: the sending module is used for sending the development data model to a target development application; receiving the business logic determined by the target development application according to the development data model; and determining the service function of the equipment bottom plate according to the service logic, wherein the service function is used for indicating the function of the equipment bottom plate arranged in the equipment to be displayed outwards.
In an exemplary embodiment, the obtaining module is further configured to obtain a device type defined by the target object; and configuring a corresponding equipment bottom plate template in a database according to the equipment type, and determining the device type required by the equipment bottom plate to be developed according to the equipment bottom plate template.
In an exemplary embodiment, the obtaining module further includes: the configuration unit is used for determining the component type corresponding to the component type; and configuring in a component list in a database according to the component type to obtain a target component conforming to the equipment bottom plate template.
In an exemplary embodiment, the determining module is further configured to determine attribute information of the component; determining detection parameters of the component according to the attribute information, wherein the detection parameters are used for indicating a value acquired by default when the component is in a working state; and determining data point information of the component corresponding to the device type according to the detection parameters.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the device type required by the equipment bottom plate to be developed is obtained, wherein the device type is used for indicating the operation which can be realized by the components for constructing the equipment bottom plate; determining data point information of a component corresponding to the type of the component, wherein the data point information is used for indicating original data generated by the component in a working state; and analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed. The method comprises the steps of determining the device type of the equipment bottom plate, determining data point information of a component corresponding to the device type, and accordingly solving the problems that in the prior art, an object model does not contain hardware data, a data source for logic analysis cannot be provided, and the like, ensuring a fine portrait of the object model for a product, improving the building efficiency of a service of equipment to be generated during subsequent building, and providing a model support with a lower layer for product access.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal of a method for determining an object model according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of determining an object model according to an embodiment of the invention;
FIG. 3 is a frame diagram of an object model according to an alternative embodiment of the present invention;
FIG. 4 is a data structure diagram of an object model according to an alternative embodiment of the invention;
FIG. 5 is a schematic diagram of a creation flow of an intelligent networker according to an alternative embodiment of the invention;
fig. 6 is a block diagram of a structure of an object model determination apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a computer terminal or a similar operation device of an equipment terminal. Taking the operation on the device terminal as an example, fig. 1 is a hardware structure block diagram of the device terminal of the method for determining an object model according to the embodiment of the present invention. As shown in fig. 1, the device terminal may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the terminal of the above-described device. For example, the device terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of an application software and a module, such as a computer program corresponding to the object model determining method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the device terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the device terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for determining an object model is provided, and fig. 2 is a flowchart of a method for determining an object model according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, acquiring a device type required by an equipment bottom plate to be developed, wherein the device type is used for indicating the operation which can be realized by a component for constructing the equipment bottom plate;
step S204, determining data point information of the component corresponding to the component type, wherein the data point information is used for indicating original data generated by the component in a working state;
step S206, analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed.
Through the steps, the device type required by the equipment bottom plate to be developed is obtained, wherein the device type is used for indicating the operation which can be realized by the components for constructing the equipment bottom plate; determining data point information of a component corresponding to the type of the component, wherein the data point information is used for indicating original data generated by the component in a working state; and analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed. The method comprises the steps of determining the device type of the equipment bottom plate, determining data point information of a component corresponding to the device type, and accordingly solving the problems that in the prior art, an object model does not contain hardware data, a data source for logic analysis cannot be provided, and the like, ensuring a fine portrait of the object model for a product, improving the building efficiency of a service of equipment to be generated during subsequent building, and providing a model support with a lower layer for product access.
In an exemplary embodiment, after the plurality of functional attributes are custom-combined according to a preset application model to determine a plurality of object models of the device backplane, the method further includes: receiving a construction instruction of a target object, wherein the construction instruction carries a development type to be executed by the target object, and the development type comprises at least one of the following types: developing a bottom plate and application; and configuring the multiple object models according to the building instruction to obtain a development data model, wherein the development data model is used for representing a data model of the equipment to be generated, which is determined according to the requirements of the target object.
In an exemplary embodiment, after configuring the plurality of object models according to the build instructions to obtain a development data model, the method further comprises: sending the development data model to a target development application; receiving the business logic determined by the target development application according to the development data model; and determining the service function of the equipment bottom plate according to the service logic, wherein the service function is used for indicating the function of the equipment bottom plate arranged in the equipment to be displayed outwards.
For example, sensor data of a product is additionally arranged in addition to equipment states and control instructions included in the object model, such as factors affecting the rotating speed of the washing machine, and the factors may be affected by current voltage and current, so that the development data model is sent to a target development application, and the target development application can interact the equipment states and the equipment instructions based on a communication protocol, so as to determine attributes, methods and events required by data analysis of user service capacity.
In one exemplary embodiment, obtaining the device types required by the backplane of the device to be developed includes: acquiring the device type defined by the target object; and configuring a corresponding equipment bottom plate template in a database according to the equipment type, and determining the device type required by the equipment bottom plate to be developed according to the equipment bottom plate template.
It can be understood that, because the device backplane corresponding to different devices is different and the device functions required by different devices are also different, when the device type defined by the target object is determined, the corresponding device backplane template is configured in the database according to the device type, so as to accelerate the development of the device backplane, and because the device backplane template carries the corresponding auxiliary description, the device type required by the device backplane to be developed can be quickly determined according to the device backplane template.
In an exemplary embodiment, after configuring a corresponding device backplane template in a database according to the device type and determining a device type required by the device backplane to be developed according to the device backplane template, the method further includes: determining the type of the component corresponding to the type of the component; and configuring in a component list in a database according to the component type to obtain a target component conforming to the equipment bottom plate template.
For example, when it is determined that the current device is composed of only sensors and actuators, and then which sensors and actuators are included in a product and which data points are respectively included in the sensors and the actuators, a device baseboard is constructed by searching for target devices meeting requirements from a device list in a database, for example, a temperature and humidity sensor detection value, a current voltage of a relay, and a current value.
In an exemplary embodiment, determining data point information of the component corresponding to the device type includes: determining attribute information of the component; determining detection parameters of the component according to the attribute information, wherein the detection parameters are used for indicating a value acquired by default when the component is in a working state; and determining data point information of the component corresponding to the device type according to the detection parameters.
In order to better understand the process of the object model determination method, the following describes a flow of the object model determination method with reference to two alternative embodiments.
In an optional embodiment of the invention, the invention mainly provides a physical model design architecture method of an intelligent network device, model creation is firstly carried out on product hardware by taking sensor data of a product bottom plate as a base point, an existing model is abstracted on some bases, data and service application of the product is considered from hardware to software integration, more accurate abstract equipment is provided, and a lower-layer model support is provided for product access. The method solves the problem that an intelligent network device maintains data points, abstract product functions and abstract application services in the modeling operation of product original data in an IOT (Internet of Things, IOT for short) platform from the most original sensor data value of a product, and achieves the most perfect and basic equipment portrait of the product at an application end, thereby realizing the accurate service analysis and capability realization of big data.
As an alternative implementation, fig. 3 is a frame diagram of an object model according to an alternative embodiment of the present invention, including: the device comprises an application layer, a model layer and a physical layer, wherein the application layer is provided in a service form, and the service is the capability or method of the device which can be called externally; a service may implement more complex business logic, such as performing a particular task, via a single instruction; the model layer comprises methods, events, attributes and the like, and the attributes in the object model are the capacity of reading and setting the equipment and can describe and set the running state of the equipment; and the event is a message or a notification actively reported to the cloud when the equipment runs. These capability abstractions enable the basic representation of the device to be exposed on the IOT platform.
As an alternative implementation, fig. 4 is a schematic data structure diagram of an object model according to an alternative embodiment of the present invention, and includes:
backplane component types, which can typically be sensors and actuators, for example, an electronic control board developer needs to define which sensors and which actuators a product includes;
the definition of the baseplate data is used for determining the number of data points which each sensor and actuator may have, the data points refer to the data points which are transmitted to the IOT platform in a large data form, full quantity and no processing mode, for example, which data points the sensor and the actuator respectively have, such as a temperature and humidity sensor detection value and a relay current value;
functional attributes, namely performing functional abstraction on the data points through data modeling organization to form functional attributes of the product, such as current humidity, current temperature and on-off state;
the application model is that the application side abstracts the functional attributes of the equipment to form methods, events, services and attributes, and displays product capabilities, such as an equipment control detail page, for a user.
The data analysis of the user service capability refers to the process of interacting the equipment state and the equipment instruction based on the communication protocol through the attribute, the method, the event and the service.
In an optional embodiment of the present invention, a creation process of the intelligent network device is further provided. Fig. 5 is a schematic diagram of a creation process of an intelligent network device according to an alternative embodiment of the present invention, which includes the following steps:
step one, selecting a component type, selecting a sensor, and selecting/defining a data point.
And step two, introducing a standard modeling organization abstract application model.
And step three, automatically matching attributes, methods and events.
Step four, self-defining service.
And step five, generating a data model of the specific equipment by the IOT platform.
And step six, carrying out bottom plate development or application development based on the data model.
In summary, according to the optional embodiment of the present invention, the hardware data of the device hardware is incorporated into the physical model framework through the architecture scheme of the physical model, the device model of the intelligent network device, and the modeling abstraction of the hardware data of the product, which not only facilitates the standard modeling to organize the abstract product function attributes, but also combines the original basic data with the product function, the standard modeling, and the application service, further refines the product portrait, provides more intelligent service for the service to build the device model, improves the user experience, and reduces unnecessary negotiation time.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for determining an object model is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device that has been already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram showing a configuration of an object model determining apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus including:
(1) an obtaining module 62, configured to obtain a device type required by an equipment backplane to be developed, where the device type is used to indicate an operation that can be implemented by a component used to construct the equipment backplane;
(2) a determining module 64, configured to determine data point information of a component corresponding to the component type, where the data point information is used to indicate raw data generated by the component in an operating state;
(3) the combination module 66 is configured to analyze the data point information to obtain multiple functional attributes corresponding to the device backplane to be developed, and perform user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the device backplane to be developed
The device type required by the equipment bottom plate to be developed is obtained through the device, wherein the device type is used for indicating the operation which can be realized by the components for constructing the equipment bottom plate; determining data point information of a component corresponding to the type of the component, wherein the data point information is used for indicating original data generated by the component in a working state; and analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed. The method comprises the steps of determining the device type of the equipment bottom plate, determining data point information of a component corresponding to the device type, and accordingly solving the problems that in the prior art, an object model does not contain hardware data, a data source for logic analysis cannot be provided, and the like, ensuring a fine portrait of the object model for a product, improving the building efficiency of a service of equipment to be generated during subsequent building, and providing a model support with a lower layer for product access.
In an exemplary embodiment, the apparatus further includes: a receiving module, configured to receive a construction instruction of a target object, where the construction instruction carries a development type to be executed by the target object, and the development type includes at least one of the following: developing a bottom plate and application; and the configuration module is used for configuring the multiple object models according to the construction instruction to obtain a development data model, wherein the development data model is used for representing a data model of the equipment to be generated, which is determined according to the requirements of the target object.
In an exemplary embodiment, the apparatus further includes: the sending module is used for sending the development data model to a target development application; receiving the business logic determined by the target development application according to the development data model; and determining the service function of the equipment bottom plate according to the service logic, wherein the service function is used for indicating the function of the equipment bottom plate arranged in the equipment to be displayed outwards.
For example, sensor data of a product is additionally arranged in addition to equipment states and control instructions included in the object model, such as factors affecting the rotating speed of the washing machine, and the factors may be affected by current voltage and current, so that the development data model is sent to a target development application, and the target development application can interact the equipment states and the equipment instructions based on a communication protocol, so as to determine attributes, methods and events required by data analysis of user service capacity.
In an exemplary embodiment, the obtaining module is further configured to obtain a device type defined by the target object; and configuring a corresponding equipment bottom plate template in a database according to the equipment type, and determining the device type required by the equipment bottom plate to be developed according to the equipment bottom plate template.
It can be understood that, because the device backplane corresponding to different devices is different and the device functions required by different devices are also different, when the device type defined by the target object is determined, the corresponding device backplane template is configured in the database according to the device type, so as to accelerate the development of the device backplane, and because the device backplane template carries the corresponding auxiliary description, the device type required by the device backplane to be developed can be quickly determined according to the device backplane template.
In an exemplary embodiment, the obtaining module further includes: the configuration unit is used for determining the component type corresponding to the component type; and configuring in a component list in a database according to the component type to obtain a target component conforming to the equipment bottom plate template.
For example, when it is determined that the current device is composed of only sensors and actuators, and then which sensors and actuators are included in a product and which data points are respectively included in the sensors and the actuators, a device baseboard is constructed by searching for target devices meeting requirements from a device list in a database, for example, a temperature and humidity sensor detection value, a current voltage of a relay, and a current value.
In an exemplary embodiment, the determining module is further configured to determine attribute information of the component; determining detection parameters of the component according to the attribute information, wherein the detection parameters are used for indicating a value acquired by default when the component is in a working state; and determining data point information of the component corresponding to the device type according to the detection parameters.
In the description of the present invention, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the device or assembly referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, and the two components can be communicated with each other. When an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or intervening elements may also be present. When a component is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The specific meaning of the above terms in the present invention can be understood in specific cases to those skilled in the art.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
In an exemplary embodiment, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring the device type required by the equipment bottom plate to be developed, wherein the device type is used for indicating the operation which can be realized by the components for constructing the equipment bottom plate;
s2, determining data point information of the component corresponding to the component type, wherein the data point information is used for indicating original data generated by the component in a working state;
and S3, analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed.
In an exemplary embodiment, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, in the present embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring the device type required by the equipment bottom plate to be developed, wherein the device type is used for indicating the operation which can be realized by the components for constructing the equipment bottom plate;
s2, determining data point information of the component corresponding to the component type, wherein the data point information is used for indicating original data generated by the component in a working state;
and S3, analyzing the data point information to obtain multiple functional attributes corresponding to the equipment bottom plate to be developed, and performing user-defined combination on the multiple functional attributes according to a preset application model to determine multiple object models of the equipment bottom plate to be developed.
In an exemplary embodiment, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation manners, and details of this embodiment are not described herein again.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, which may be centralized on a single computing device or distributed across a network of computing devices, and in one exemplary embodiment may be implemented using program code executable by a computing device, such that the steps shown and described may be executed by a computing device stored in a memory device and, in some cases, executed in a sequence different from that shown and described herein, or separately fabricated into individual integrated circuit modules, or multiple ones of them fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:基于区块链的基础链底层架构系统及方法