Information processing system, method and device
Generating standard modules that support multiple categories of products through the Internet of Things platform solves the problem of high development and maintenance costs caused by different implementation methods of module vendors in the existing technology, and achieves efficient equipment access and maintenance.
Patent Information
- Application Number
- CN202110647107.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-10
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-06-10
AI Technical Summary
Existing IoT connection platforms have different implementation methods when adapted by module manufacturers, resulting in high development costs for product developers, difficulty in supporting multiple categories of products, high maintenance costs for module firmware, and lack of unified access specifications.
Obtain the selection information and initial configuration of the product to be developed through the Internet of Things platform, generate the object model information and MCU software development package corresponding to the selection information, and use the module generation mechanism to generate standard modules that support multiple categories of products to achieve full automation access, reducing access workload and maintenance costs.
It achieves unified access to products of multiple categories and different brands, reduces product access time and maintenance costs, improves equipment access efficiency, and supports simple adaptation of electronic control boards with MCU and MCU-free products.
Smart Images

Figure CN113220316B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, specifically to the field of Internet of Things technology, and especially to information processing systems, methods and devices. Background Art
[0002] With the development of artificial intelligence and Internet of Things technology, artificial intelligence-Internet of Things has become the future development direction. The production of an IoT smart product often requires the cooperation of IoT connection platforms, module vendors, and product vendors. At present, the production of an IoT smart product is mostly centered on the IoT connection platform. The IoT connection platform provides the corresponding access specifications. The module vendor completes the access according to the access specifications and provides the module to the electric control board vendor to complete the device access. At present, a module firmware generally only supports one IoT smart product, and the maintenance cost is high. Summary of the invention
[0003] The present application provides an information processing system, method, apparatus, device and storage medium.
[0004] According to the first aspect of the present application, an information processing system is provided, the system includes an Internet of Things platform, a module end and a product end, the Internet of Things platform, the module end and the product end are connected to each other in communication; the Internet of Things platform is used to obtain selection information and initial configuration of the product to be developed, generate relevant information of the product to be developed corresponding to the selection information and the initial configuration and an MCU software development kit corresponding to the product to be developed, and send the relevant information of the product to be developed to the module end, wherein the relevant information of the product to be developed includes: physical model information corresponding to the product to be developed and configuration information of the product to be developed, the physical model information is used to characterize the attributes of each physical module and / or each The events of the object module, the attributes of each object module and the events of each object module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category; the module side is used to receive relevant information of the product to be developed, and use the module generation mechanism to generate a standard product module corresponding to the object model information and configuration information, wherein the module generation mechanism is used to represent a set of standard components that support multiple categories of products and / or multiple brands of products under the same category based on the object model information and configuration information; the product side is used to use the standard product module, MCU firmware and the downloaded MCU software development kit to complete the adaptation, testing and acceptance of the product to be developed.
[0005] In some embodiments, the IoT platform and the module end communicate based on the JSON data format, and the module end and the product end communicate based on the TLV data format.
[0006] In some embodiments, the relevant information of the product to be developed also includes an authentication key; the Internet of Things platform is used to generate a module generation request for the product to be developed in response to obtaining the selection information and initial configuration of the product to be developed, and send the module generation request to the module end; the module end is used to authenticate the module generation request using the authentication key in response to receiving the module generation request, and jump to generating a standard product module corresponding to the object model information and configuration information using the module generation mechanism in response to the module generation request being authenticated.
[0007] In some embodiments, the standard product module includes: at least one of an escape module, an adaptation module, a protocol construction module and an application implementation module; the escape module is used to escape the transmission data between the product end and the Internet of Things platform; the adaptation module is used to transplant and adapt the software development kit provided by the Internet of Things platform; the protocol framework module is used to build a serial port standard protocol based on the object model information and configuration information, which is used for data communication between the standard product module and the product and the standard product module and the Internet of Things platform; the application implementation module is used to standardize the various applications of the product to be developed based on the object model information and configuration information, and generate functional information corresponding to the various standardized applications of the product to be developed.
[0008] In some embodiments, the module end is also used to receive the transmission data sent by the product end, and send the escaped transmission data to the Internet of Things platform.
[0009] In some embodiments, the product end is also used to generate a control page corresponding to the product to be developed after the product to be developed passes acceptance, wherein the control page is a standardized page for controlling the product to be developed.
[0010] According to a second aspect of the present application, an information processing method is provided, the method comprising: receiving a module generation request for a product to be developed and relevant information of the product to be developed sent by an Internet of Things platform, wherein the relevant information of the product to be developed comprises: physical model information corresponding to the product to be developed, configuration information of the product to be developed and an authentication key, the physical model information comprises an identifier of each physical module, the physical model information is used to characterize the attributes of each physical module and / or the events of each physical module, the attributes of each physical module and the events of each physical module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category; authenticating the module generation request using the authentication key; in response to the module generation request being authenticated, generating various information required for a standard product module corresponding to the physical model information and the configuration information using a module generation method, wherein the module generation method is a method for generating a set of standard components supporting multiple categories of products and / or multiple brands of products under the same category according to the physical model information and the configuration information.
[0011] In some embodiments, the various information required by the standard product module includes: at least one of: a program corresponding to an escape module, a program corresponding to an adaptation module, a program corresponding to a protocol construction module, and a program corresponding to an application implementation module.
[0012] According to a third aspect of the present application, an information processing device is provided, the device comprising: a receiving unit, configured to receive a module generation request for a product to be developed and related information of the product to be developed sent by an Internet of Things platform, wherein the related information of the product to be developed comprises: physical model information corresponding to the product to be developed, configuration information of the product to be developed and an authentication key, the physical model information comprises an identifier of each physical module, the physical model information is used to characterize the attributes of each physical module and / or the events of each physical module, the attributes of each physical module and the events of each physical module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category; an authentication unit, configured to authenticate the module generation request using the authentication key; a generation unit, configured to generate various information required for a standard product module corresponding to the physical model information and the configuration information using a module generation method in response to the module generation request being authenticated, wherein the module generation method is a method for generating a set of standard components supporting multiple categories of products and / or multiple brands of products under the same category according to the physical model information and the configuration information.
[0013] In some embodiments, the various information required for the standard product module in the generation unit includes: at least one of: a program corresponding to an escape module, a program corresponding to an adaptation module, a program corresponding to a protocol construction module, and a program corresponding to an application implementation module.
[0014] According to the fourth aspect of the present application, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any implementation manner in the second aspect.
[0015] According to the fifth aspect of the present application, the present application provides a non-transitory computer-readable storage medium storing computer instructions, characterized in that the computer instructions are used to enable a computer to execute the method described in any implementation manner in the second aspect.
[0016] According to the technology of the present application, the selection information and initial configuration of the product to be developed are obtained through the Internet of Things platform, the relevant information of the product to be developed corresponding to the selection information and the initial configuration and the MCU software development kit corresponding to the product to be developed are generated, and the relevant information of the product to be developed is sent to the module end, wherein the relevant information of the product to be developed includes: the physical model information corresponding to the product to be developed and the configuration information of the product to be developed, the physical model information is used to characterize the attributes of each physical module and / or the events of each physical module, the attributes of each physical module and the events of each physical module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category, and then the module end receives the relevant information of the product to be developed, and uses the module generation mechanism to generate a standard product module corresponding to the physical model information and the configuration information, wherein the module generation mechanism is used to characterize the generation of a set of information supporting multiple categories of products and / or multiple brands of products under the same category according to the physical model information and the configuration information. Standard components of products, and finally the product side uses standard product modules, MCU firmware and downloaded MCU software development kit to complete the adaptation, testing and acceptance of the products to be developed, realizing an information processing system that uses the Internet of Things platform to connect standard product modules to products, and realizing integrated access from four aspects: product function standardization - automatic generation of standard product modules - serial port standard protocol - MCU software development kit generation. It solves the problem that many module vendors in the existing technology have different ways of implementing access, which increases the workload of switching modules on the electronic control board, and the access specifications provided by most Internet of Things connection platforms are only defined on the platform side, and the access specifications of modules and peripherals (MCU, etc.) are not standardized. When the module vendor adapts the Internet of Things connection platform and the product side, due to the different implementation methods of different module vendors, the development cost of the product side is increased. At the same time, due to the missing links, it is difficult to support multiple categories with one module firmware, which increases the maintenance cost of the module. By unifying the originally separated parties and generating standard product modules in a fully automated manner, a standard product module can support the generation of products of multiple categories and brands, greatly reducing access work and product access time, and effectively improving the access efficiency and maintenance costs of the equipment. For products with MCU on the electronic control board, there is no need to change the module firmware. You only need to integrate the MCU software development kit on the product electronic control board and complete product development through simple adaptation. For products without MCU on the electronic control board and controlled by the GPIO of the WIFI module, such as sockets and switches, there is no need to change the WIFI module firmware. You can complete product access by matching the electronic control board according to the standard pins.
[0017] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.
[0019] Figure 1 is a schematic diagram of an interaction process between various devices in an embodiment of an information processing system according to the present application;
[0020] Figure 2 is a schematic diagram of field descriptions of a configuration file in one embodiment of an information processing system according to the present application;
[0021] Figure 3 is a schematic diagram of an embodiment of an information processing method according to the present application;
[0022] Figure 4 It is a scene diagram that can implement the information processing method of the embodiment of the present application;
[0023] Figure 5 is a schematic structural diagram of an embodiment of an information processing device according to the present application;
[0024] Figure 6 It is a block diagram of an electronic device used to implement the information processing method of an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0026] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0027] Figure 1 A schematic diagram 100 is shown of an interaction process between various devices in an embodiment of an information processing system according to the present application.
[0028] The above system includes an Internet of Things platform, a module side and a product side, and the Internet of Things platform, the module side and the product side are interconnected for communication.
[0029] In some optional implementations of this embodiment, the IoT platform communicates with the module side based on the JSON data format, and the module side communicates with the product side based on the TLV data format. By standardizing the interface specifications between the module side and the peripherals (MCU, etc.), the modules provided by different module parties use consistent access interfaces and methods for access, which greatly reduces the communication cost of access. Using the TLV format for data transmission can greatly reduce the amount of data when the module communicates with the MCU, while reducing the complexity of the MCU's parsing of data packets and reducing dependence on resources.
[0030] like Figure 1 As shown, in the information processing system, the interaction process 100 between the devices may include the following steps:
[0031] Step 101, the IoT platform obtains selection information and initial configuration of the product to be developed, generates relevant information of the product to be developed corresponding to the selection information and initial configuration and an MCU software development kit corresponding to the product to be developed, and sends the relevant information of the product to be developed to the module end.
[0032] In this embodiment, the above-mentioned Internet of Things platform can obtain the selection information and initial configuration of the product to be developed through a wired connection or a wireless connection, generate relevant information of the product to be developed corresponding to the selection information and the initial configuration and the MCU software development kit corresponding to the product to be developed, and send the relevant information of the product to be developed to the module end through an API. Among them, the product to be developed represents a hardware product running on the Internet of Things. The selection information and initial configuration of the product to be developed are the selection of the standard product module and the configuration of the product completed by the owner of the product to be developed (i.e., the brand owner) according to the Internet of Things access capability provided by the Internet of Things platform and the characteristics of the product to be developed. The selection information may include: selection information for product function parameters, standard product modules, and module version numbers. The initial configuration may include product function configuration, such as network configuration, factory recovery, etc. The relevant information of the product to be developed includes: the object model information corresponding to the product to be developed and the configuration information of the product to be developed. Here, the object model refers to the digital description of the product. By abstracting and summarizing the product functions of different categories and brands, a standard object model is formed, which is convenient for all parties to describe, control, and understand the product functions in a unified language. The object model information is used to characterize the attributes of each object module and / or the events of each object module. The attributes of each object module and the events of each object module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category. The object model information is generated by standardizing the configuration of the product to be developed. The categories include air conditioners, washing machines, lamps, etc., and the products of different brands under the same category include Haier air conditioner model 001, Midea air conditioner model 002, etc. The configuration information of the product to be developed is stored in the configuration file, which is described in JSON format. For the description of the fields in the configuration file, see Figure 2As shown. The MCU software development kit is generated according to the product configuration, and is used by product-side equipment manufacturers or electronic control board manufacturers to download the MCU software development kit and port it to their MCU. The API method includes notification by sending emails. It should be pointed out that the above-mentioned wireless connection methods may include but are not limited to 3G / 4G / 5G connections, WiFi connections, Bluetooth connections, WiMAX connections, Zigbee connections, UWB (ultra wideband) connections, and other wireless connection methods currently known or to be developed in the future. In practice, the images captured by the above-mentioned image acquisition device may be images of the inside of the refrigerator from various angles.
[0033] In some optional implementations of this embodiment, obtaining the selection information and initial configuration of the product to be developed is used to represent obtaining the selection information and initial configuration of the product to be developed sent by the user based on the user's operation on the product creation interface. The standard product creation interface is used to improve the user experience.
[0034] Step 102: The module side receives relevant information of the product to be developed, and uses a module generation mechanism to generate a standard product module corresponding to the object model information and configuration information.
[0035] In this embodiment, the above-mentioned module end can receive relevant information of the product to be developed, and can also automatically pull relevant information of the product to be developed through the interface according to the email information, and automatically generate a standard product module corresponding to the physical model information and configuration information according to the physical model information and configuration information in the relevant information of the product to be developed using the module generation mechanism, and mail the standard product module to the product end (such as equipment manufacturers or circuit board manufacturers). Among them, a module refers to a specific functional component composed of several basic functional components, which can be used to form a system, device or program with complete functions. Modules usually have the same process or logic, and changing their components can adapt their functions or uses. The module generation mechanism is used to characterize the problem of solving the differences between products of different categories and brands based on physical model information and configuration information, and generate a set of standard components that support multiple categories of products and / or multiple brands of products under the same category.
[0036] In some optional implementations of this embodiment, the standard product module includes: at least one of an escape module, an adaptation module, a protocol construction module and an application implementation module; the escape module is used to escape the transmission data between the product end and the Internet of Things platform; the adaptation module is used to transplant and adapt the software development kit provided by the Internet of Things platform; the protocol architecture module is used to build a serial port standard protocol based on the object model information and configuration information for data communication between the standard product module and the product and the standard product module and the Internet of Things platform; the application implementation module is used to standardize the various applications of the product to be developed based on the object model information and configuration information, and generate functional information corresponding to the various standardized applications of the product to be developed. The escape module is used to convert the JSON data sent by the Internet of Things platform to the module end into TLV data that can be processed by the product end MCU, and the TLV data reported by the product end MCU is converted into JSON data reported by the module end to the Internet of Things platform. This module can complete the support of the same firmware for products of different categories and brands. The adapter module is used to open up the data channel between the module and the IoT platform, so that the corresponding SDK after the module is transplanted supports the functions of the standard module and realizes the MCU software development kit. The protocol architecture module completes the implementation of the serial port standard protocol. This module is responsible for data transmission between the module and the MCU, and between the module and the IoT SDK. The application implementation module completes the system-level function implementation, such as device network configuration, factory reset, etc. Among them, the data related to the product function is organized in TLV format, and the upstream and downstream are directly transparently transmitted.
[0037] In some optional implementations of this embodiment, the relevant information of the product to be developed also includes an authentication key; the Internet of Things platform is used to generate a module generation request for the product to be developed in response to obtaining the selection information and initial configuration of the product to be developed, and send the module generation request to the module end; the module end is used to authenticate the module generation request using the authentication key in response to receiving the module generation request, and jump to using the module generation mechanism to generate a standard product module corresponding to the object model information and configuration information in response to the module generation request being authenticated. By generating an authentication key to verify the request, the accuracy and security of the communication are improved.
[0038] Step 103, the product end uses the standard product module, MCU firmware and the downloaded MCU software development kit to complete the adaptation, testing and acceptance of the product to be developed.
[0039] In this embodiment, the above-mentioned product end uses the standard product module, MCU firmware and the MCU software development kit downloaded from the Internet of Things platform to complete the adaptation, testing and acceptance of the product to be developed. Here, the standard product module and the MCU on the product end use the standard serial port protocol for communication. The standard product module and MCU software development include support for the standard serial port protocol. The product end can transplant the MCU software development kit provided by the Internet of Things platform, or it can implement the product by itself according to the standard serial port protocol.
[0040] In some optional implementations of this embodiment, the module side is also used to receive the transmission data sent by the product side, and send the escaped transmission data to the Internet of Things platform. The module is used to realize data transmission between the product side and the Internet of Things platform.
[0041] In some optional implementations of this embodiment, the product end is also used to generate a control page corresponding to the product to be developed after the product to be developed passes the acceptance, wherein the control page is a standardized page for controlling the product to be developed, so as to achieve standardization of device control pages, make user operation more convenient, and improve user experience.
[0042] The system provided by the above-mentioned embodiment of the present application obtains the selection information and initial configuration of the product to be developed through the Internet of Things platform, generates relevant information of the product to be developed corresponding to the selection information and the initial configuration and the MCU software development kit corresponding to the product to be developed, and sends the relevant information of the product to be developed to the module side, wherein the relevant information of the product to be developed includes: the physical model information corresponding to the product to be developed and the configuration information of the product to be developed, the physical model information is used to characterize the attributes of each physical module and / or the events of each physical module, the attributes of each physical module and the events of each physical module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category, and then the module side receives the relevant information of the product to be developed, and uses the module generation mechanism to generate a standard product module corresponding to the physical model information and the configuration information, wherein the module generation mechanism is used to characterize the generation of a set of products supporting multiple categories and / or multiple brands under the same category according to the physical model information and the configuration information. The standard components of brand products, and finally the product side uses standard product modules, MCU firmware and downloaded MCU software development kit to complete the adaptation, testing and acceptance of the products to be developed, realizing an information processing system that uses the Internet of Things platform to connect standard product modules to products, and realizes integrated access from four aspects: product function standardization - automatic generation of standard product modules - serial port standard protocol - MCU software development kit generation. It solves the problem that many module vendors in the existing technology have different ways of implementing access, which increases the workload of switching modules on the electronic control board, and the access specifications provided by most Internet of Things connection platforms are only defined on the platform side, and the access specifications of modules and peripherals (MCU, etc.) are not standardized. When the module vendor adapts the Internet of Things connection platform and the product side, due to the different implementation methods of different module vendors, the development cost of the product side is increased. At the same time, due to the missing links, it is difficult to support multiple categories with one module firmware, which increases the maintenance cost of the module. By unifying the originally separated parties and generating standard product modules in a fully automated manner, one standard product module can support the generation of products of multiple categories and brands, greatly reducing access work and product access time, and effectively improving the access efficiency and maintenance costs of the equipment. For products with MCUs on the electronic control board, there is no need to change the module firmware. The product development can be completed by simply adapting the MCU software development kit integrated into the product electronic control board.
[0043] Further references Figure 3 , which shows a schematic diagram 300 of an embodiment of an information processing method for a module end. The above-mentioned Internet of Things platform, the module end and the product end are connected to each other in communication. The information processing method includes the following steps:
[0044] Step 301: receiving a module generation request for a product to be developed and related information of the product to be developed sent by an Internet of Things platform.
[0045] In this embodiment, the execution subject (e.g., the module end) can receive the module generation request of the product to be developed and the relevant information of the product to be developed sent by the Internet of Things platform through a wired connection or a wireless connection. The relevant information of the product to be developed includes: the object model information corresponding to the product to be developed, the configuration information of the product to be developed and the authentication key, the object model information includes the identifier of each object module, the object model information is used to characterize the attributes of each object module and / or the events of each object module, and the attributes of each object module and the events of each object module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category.
[0046] Step 302: Authenticate the module generation request using the authentication key.
[0047] In this embodiment, the execution entity may use the authentication key to authenticate the module generation request.
[0048] Step 303, in response to the module generation request being authenticated, the module generation method is used to generate various information required for the standard product module corresponding to the object model information and the configuration information.
[0049] In this embodiment, when the execution subject determines that the module generation request authentication is passed, the module generation method is used to generate various information required for the standard product module corresponding to the physical model information and configuration information. Among them, the module generation method is a method for generating a set of standard components that support multiple categories of products and / or multiple brands of products under the same category based on the physical model information and configuration information. The various information required for the standard product module includes various parameter information and configuration information of the standard components that support multiple categories of products and / or multiple brands of products under the same category.
[0050] In some optional implementations of this embodiment, the information required by the standard product module includes at least one of: a program corresponding to the translation module, a program corresponding to the adaptation module, a program corresponding to the protocol construction module, and a program corresponding to the application implementation module. Modularizing information makes program calls faster and more convenient, improving system efficiency.
[0051] It should be noted that authenticating user requests is a well-known technology that is currently widely studied and applied, and will not be described in detail here.
[0052] Continue to see Figure 4, the information processing method 400 of this embodiment runs in the module end 401. First, the module end 401 receives the module generation request of the product to be developed and the relevant information of the product to be developed 402 sent by the Internet of Things platform, wherein the relevant information of the product to be developed includes: the physical model information corresponding to the product to be developed, the configuration information of the product to be developed and the authentication key, and then the module end 401 uses the authentication key to authenticate the module generation request 403, when the module end 401 determines that the module generation request authentication is passed, the module generation method is used to generate various information required by the standard product module corresponding to the physical model information and the configuration information 404, wherein the module generation method is a method for generating a set of standard components supporting multiple categories of products and / or multiple brand products under the same category according to the physical model information and the configuration information.
[0053] The information processing method provided by the above-mentioned embodiment of the present application adopts the method of receiving the module generation request of the product to be developed and the relevant information of the product to be developed sent by the Internet of Things platform, wherein the relevant information of the product to be developed includes: the physical model information corresponding to the product to be developed, the configuration information of the product to be developed and the authentication key, and the module generation request is authenticated by the authentication key, and in response to the module generation request authentication passing, the module generation method is used to generate various information required for the standard product module corresponding to the physical model information and the configuration information, wherein the module generation method is a method for generating a set of standard components supporting multiple categories of products and / or multiple brands of products under the same category according to the physical model information and the configuration information, realizing a generation mechanism of standard product modules, supporting the automatic generation of standard product modules with integrated hardware and software, greatly reducing manual participation and reducing the risk of errors. When the module leaves the factory, the product configuration file is written into the module flash area according to the product created by the user, and the module firmware code supports the physical model escape module for module firmware, realizing that one module and one set of firmware support the support of products of different brands of manufacturers in multiple categories, greatly reducing the maintenance cost of the module firmware.
[0054] Further references Figure 5 , as a response to the above Figures 3-4 The present application provides an embodiment of an information processing device, and the device embodiment is Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0055] like Figure 5As shown, the information processing device 500 of this embodiment includes: a receiving unit 501, an authentication unit 502 and a generating unit 503, wherein the receiving unit is configured to receive a module generation request of a product to be developed and related information of the product to be developed sent by the Internet of Things platform, wherein the related information of the product to be developed includes: physical model information corresponding to the product to be developed, configuration information of the product to be developed and an authentication key, the physical model information includes an identifier of each physical module, the physical model information is used to characterize the attributes of each physical module and / or the events of each physical module, and the attributes of each physical module and the events of each physical module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category; the authentication unit is configured to authenticate the module generation request using the authentication key; the generating unit is configured to generate various information required for the standard product module corresponding to the physical model information and the configuration information using the module generation method in response to the module generation request being authenticated, wherein the module generation method is a method for generating a set of standard components supporting multiple categories of products and / or multiple brands of products under the same category according to the physical model information and the configuration information.
[0056] In this embodiment, the specific processing of the receiving unit 501, the authentication unit 502 and the generating unit 503 of the information processing device 500 and the technical effects thereof can be referred to in Figure 1 The relevant descriptions of steps 301 to 303 in the corresponding embodiment are not repeated here.
[0057] In some optional implementations of this embodiment, the various pieces of information required for the standard product module in the generation unit include: at least one of a program corresponding to an escape module, a program corresponding to an adaptation module, a program corresponding to a protocol construction module, and a program corresponding to an application implementation module.
[0058] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0059] like Figure 6 , is a block diagram of an electronic device according to an information processing method of an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0060] like Figure 6As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.
[0061] The memory 602 is a non-transient computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable at least one processor to perform the information processing method provided in the present application. The non-transient computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the information processing method provided in the present application.
[0062] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the information processing method in the embodiment of the present application (for example, the attached Figure 5 The processor 601 executes various functional applications and information processing of the server by running the non-transient software programs, instructions and modules stored in the memory 602, that is, the information processing method in the above method embodiment is implemented.
[0063] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the information processing electronic device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to the information processing electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0064] The electronic device of the information processing method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0065] The input device 603 can receive input digital or character information, and generate key signal input related to user settings and function control of the information processing electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 604 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.
[0066] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0067] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0068] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0069] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0070] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
[0071] According to the technical solution of the embodiment of the present application, the selection information and initial configuration of the product to be developed are obtained through the Internet of Things platform, the relevant information of the product to be developed corresponding to the selection information and the initial configuration and the MCU software development kit corresponding to the product to be developed are generated, and the relevant information of the product to be developed is sent to the module end, wherein the relevant information of the product to be developed includes: the physical model information corresponding to the product to be developed and the configuration information of the product to be developed, the physical model information is used to characterize the attributes of each physical module and / or the events of each physical module, the attributes of each physical module and the events of each physical module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category, and then the module end receives the relevant information of the product to be developed, and uses the module generation mechanism to generate a standard product module corresponding to the physical model information and the configuration information, wherein the module generation mechanism is used to characterize the generation of a set of products supporting multiple categories and / or multiple brands under the same category according to the physical model information and the configuration information. The standard components of brand products, and finally the product side uses standard product modules, MCU firmware and downloaded MCU software development kit to complete the adaptation, testing and acceptance of the products to be developed, realizing an information processing system that uses the Internet of Things platform to connect standard product modules to products, and realizes integrated access from four aspects: product function standardization - automatic generation of standard product modules - serial port standard protocol - MCU software development kit generation. It solves the problem that many module vendors in the existing technology have different ways of implementing access, which increases the workload of switching modules on the electronic control board, and the access specifications provided by most Internet of Things connection platforms are only defined on the platform side, and the access specifications of modules and peripherals (MCU, etc.) are not standardized. When the module vendor adapts the Internet of Things connection platform and the product side, due to the different implementation methods of different module vendors, the development cost of the product side is increased. At the same time, due to the missing links, it is difficult to support multiple categories with one module firmware, which increases the maintenance cost of the module. By unifying the originally separated parties and generating standard product modules in a fully automated manner, a standard product module can support the generation of products of multiple categories and brands, greatly reducing access work and product access time, and effectively improving the access efficiency and maintenance costs of the equipment. For products with MCU on the electronic control board, there is no need to change the module firmware. You only need to integrate the MCU software development kit on the product electronic control board and complete product development through simple adaptation. For products without MCU on the electronic control board and controlled by the GPIO of the WIFI module, such as sockets and switches, there is no need to change the WIFI module firmware. You can complete product access by matching the electronic control board according to the standard pins.
[0072] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0073] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. An information processing system, comprising an Internet of Things platform, a module end and a product end, wherein the Internet of Things platform, the module end and the product end are interconnected and communicated with each other; The Internet of Things platform is used to obtain selection information and initial configuration of the product to be developed, generate relevant information of the product to be developed corresponding to the selection information and the initial configuration and an MCU software development kit corresponding to the product to be developed, and send the relevant information of the product to be developed to the module end, wherein: The relevant information of the product to be developed includes: physical model information corresponding to the product to be developed and configuration information of the product to be developed, wherein the physical model information represents the attributes of each physical module and / or the events of each physical module, and the attributes of each physical module and the events of each physical module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category; The module end is used to receive the relevant information of the product to be developed, and generate a standard product module corresponding to the object model information and the configuration information by using a module generation mechanism; The product end is used to complete the adaptation, testing and acceptance of the product to be developed by using the standard product module, MCU firmware and the downloaded MCU software development kit.
2. The system according to claim 1, wherein: The Internet of Things platform communicates with the module end based on the JSON data format, and the module end communicates with the product end based on the TLV data format.
3. The system according to claim 1, wherein: The relevant information of the product to be developed also includes a certification key; The Internet of Things platform is used to generate a module generation request for the product to be developed in response to obtaining the selection information and initial configuration of the product to be developed, and send the module generation request to the module end; The module end is used to respond to receiving the module generation request, authenticate the module generation request using the authentication key, and jump to using the module generation mechanism to generate a standard product module corresponding to the object model information and the configuration information in response to the module generation request being authenticated.
4. The system according to claim 1, wherein: The standard product module includes: at least one of an escape module, an adaptation module, a protocol construction module and an application implementation module; The escape module is used to perform escape processing on the transmission data between the product end and the Internet of Things platform; The adaptation module is used to transplant and adapt the software development kit provided by the Internet of Things platform; The protocol framework module is used to construct a serial port standard protocol based on the object model information and the configuration information for data communication between the standard product module and the product and between the standard product module and the Internet of Things platform; The application realization module is used to standardize various applications of the product to be developed based on the object model information and the configuration information, and generate function information corresponding to various standardized applications of the product to be developed.
5. The system according to claim 1, wherein: The module end is also used to receive the transmission data sent by the product end, and send the transmission data after escape processing to the Internet of Things platform.
6. The system according to claim 1, wherein: The product end is further used to generate a control page corresponding to the product to be developed after the acceptance of the product to be developed is passed, wherein the control page is a standardized page for controlling the product to be developed.
7. An information processing method, the method comprising: Receive a module generation request for a product to be developed and relevant information of the product to be developed sent by an Internet of Things platform, wherein the relevant information of the product to be developed includes: object model information corresponding to the product to be developed, configuration information and an authentication key of the product to be developed, the object model information includes an identifier of each object module, the object model information represents the attributes of each object module and / or the events of each object module, and the attributes of each object module and the events of each object module are obtained by abstracting and summarizing product functions of each category and / or different brands under the same category; Authenticating the module generation request using the authentication key; In response to the module generation request being authenticated, generating a standard product module corresponding to the object model information and the configuration information using a module generation mechanism; The standard product module is sent to the product end, so that the product end can use the standard product module, MCU firmware and the MCU software development kit corresponding to the product to be developed to complete the adaptation, testing and acceptance of the product to be developed, wherein the relevant information of the product to be developed and the MCU software development kit corresponding to the product to be developed are generated by the Internet of Things platform based on the obtained selection information and initial configuration of the product to be developed.
8. An information processing device, comprising: A receiving unit is configured to receive a module generation request of a product to be developed and related information of the product to be developed sent by an Internet of Things platform, wherein the related information of the product to be developed includes: object model information corresponding to the product to be developed, configuration information and an authentication key of the product to be developed, the object model information includes an identifier of each object module, the object model information represents the attributes of each object module and / or the events of each object module, and the attributes of each object module and the events of each object module are obtained by abstracting and summarizing the product functions of each category and / or different brands under the same category; an authentication unit, configured to authenticate the module generation request using the authentication key; A generating unit, configured to generate a standard product module corresponding to the object model information and the configuration information by using a module generating mechanism in response to the module generating request being authenticated; The standard product module is sent to the product end, so that the product end can use the standard product module, MCU firmware and the MCU software development kit corresponding to the product to be developed to complete the adaptation, testing and acceptance of the product to be developed, wherein the relevant information of the product to be developed and the MCU software development kit corresponding to the product to be developed are generated by the Internet of Things platform based on the obtained selection information and initial configuration of the product to be developed.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of claim 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method of claim 7.
