WO2017071078A1 - 通讯模组固件和插件生成方法及装置 - Google Patents
通讯模组固件和插件生成方法及装置 Download PDFInfo
- Publication number
- WO2017071078A1 WO2017071078A1 PCT/CN2015/099440 CN2015099440W WO2017071078A1 WO 2017071078 A1 WO2017071078 A1 WO 2017071078A1 CN 2015099440 W CN2015099440 W CN 2015099440W WO 2017071078 A1 WO2017071078 A1 WO 2017071078A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- product
- program template
- plug
- communication module
- description information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/10—Requirements analysis; Specification techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Definitions
- the present disclosure relates to the field of communication module technologies, and in particular, to a communication module firmware and a plug-in generation method and apparatus.
- suppliers can build a set of third-party partners and developers based on intelligent Wi-Fi modules, including device connection and binding, data transmission and storage, and users.
- An open platform for interactive interfaces The developer fills in his own company and product introduction in the development platform.
- the software development kit for the smart Wi-Fi module, the communication module firmware software development kit and the terminal application plug-in can be obtained. Since the basic firmware is written in the module, the developer needs to customize the software development kit of the firmware and the software development kit of the terminal application plug-in in combination with the product functions of the module.
- developers are not familiar with the module structure and details of software development kits for Wi-Fi modules, communication module firmware, and terminal application plug-ins, it is still familiar with these software development kits. It takes a lot of time and time and effort.
- the embodiments of the present disclosure provide a communication module firmware and a plug-in generating method and apparatus, including the following technical solutions:
- a communication module firmware and a plug-in generating method including:
- the communication module firmware being built into a device on which the product is installed, the plug-in being installable in a terminal; the device The terminal uses the communication module firmware and the plug-in to implement the functions of the product.
- the product performance description information includes at least one of the following information: attribute information, trigger event information, and execution method information.
- the attribute information includes at least one of the following information: a product name, a product description, a data type of the product data, a value range of the product data, a product default value, a product read/write property, and whether the product can be automatically reported;
- the trigger event information includes at least one of the following information: a name of the trigger event, an event description, a number of parameters carried when triggered, and a name, a data type, a value range, and a default value of each parameter;
- the execution method information includes at least one of the following: an execution method name, an execution method description, a number of parameters to be delivered, a number of fields included in the return value, a name of each parameter and each field, type of data, Value range and default value.
- the selecting a target program template corresponding to the product performance description information from the preset program template library includes:
- the target program template matching the type to which the product belongs is selected from the preset program template library.
- the communication module firmware and the plug-in are generated according to the product performance description information and the target program template, including:
- the communication module firmware and the plug-in are generated by replacing the current parameter in the target parameter item with the target parameter.
- the method further includes:
- At least one program template is set to form a preset program template library.
- a communication module firmware and a plug-in generating apparatus including:
- a first receiving module configured to receive product performance description information input by the user
- a selection module configured to select, from a preset program template library, a target program template corresponding to the product performance description information
- a generating module configured to generate a communication module firmware and a plug-in according to the product performance description information and the target program template, where the communication module firmware can be built in a device on which the product is installed, and the plug-in can be installed in the terminal
- the device and the terminal respectively implement the functions of the product by using the communication module firmware and the plug-in.
- the product performance description information includes at least one of the following information: attribute information, trigger event information, and execution method information.
- the attribute information includes at least one of the following information: a product name, a product description, a data type of the product data, a value range of the product data, a product default value, a product read/write property, and whether the product can be automatically reported;
- the trigger event information includes at least one of the following information: a name of the trigger event, an event description, a number of parameters carried when triggered, and a name, a data type, a value range, and a default value of each parameter;
- the execution method information includes at least one of the following: an execution method name, an execution method description, a number of parameters to be delivered, a number of fields included in the return value, a name of each parameter and each field, Data type, range of values, and default values.
- the selecting module comprises:
- Determining a submodule configured to determine, according to the product performance description information, a type to which the product belongs;
- the template selection sub-module is configured to select, from the preset program template library, a target program template that matches a type to which the product belongs according to a type to which the product belongs.
- the generating module comprises:
- a first obtaining submodule configured to acquire a target parameter item in the target program template that needs to perform data replacement
- a second obtaining submodule configured to obtain a corresponding target parameter from the product performance description information according to the target parameter item
- a replacement submodule configured to replace the current parameter in the target parameter item with the target parameter to generate the communication module firmware and the plugin.
- the apparatus further includes:
- a second receiving module configured to receive an input program template setting command
- a setting module configured to set at least one program template according to the program template setting command to form a preset program template library.
- a communication module firmware and a plug-in generating apparatus including:
- a memory for storing processor executable instructions
- processor is configured to:
- the product performance description information includes at least one of the following information: attribute information, trigger event information, and execution method information;
- the communication module firmware being built into a device on which the product is installed, the plug-in being installable in a terminal; the device The terminal uses the communication module firmware and the plug-in to implement the functions of the product.
- the above technical solution can automatically generate the communication module firmware and the plug-in according to the product performance description information and the target program template input by the user, so that the communication module firmware is built in the device, and the plug-in is installed in the terminal, and the terminal can be realized.
- the communication module firmware and plug-in are automatically generated according to the product performance description input by the developer, and the developer does not need to understand the communication module architecture and details, and then manually writes the code to generate the communication module firmware and plug-in that can realize the product function, thereby reducing User operation has improved the user experience.
- FIG. 1 is a flowchart of a communication module firmware and a plug-in generating method according to an exemplary embodiment.
- FIG. 2 is a flowchart of a communication module firmware and a plug-in generating method according to an exemplary embodiment.
- FIG. 3 is a flowchart of another communication module firmware and plug-in generating method according to an exemplary embodiment.
- FIG. 4 is a flowchart of still another communication module firmware and plug-in generating method according to an exemplary embodiment.
- FIG. 5 is a block diagram of a communication module firmware and plug-in generating apparatus, according to an exemplary embodiment.
- FIG. 6 is a block diagram of a selection module of a communication module firmware and plug-in generation, according to an exemplary embodiment.
- FIG. 7 is a block diagram of a communication module firmware and a plug-in generation generation module according to an exemplary embodiment.
- FIG. 8 is a block diagram of another communication module firmware and plug-in generating apparatus according to an exemplary embodiment.
- FIG. 9 is a block diagram of a communication module firmware and plug-in generating apparatus, according to an exemplary embodiment.
- the embodiment of the present disclosure provides a communication module firmware and a plug-in generating method. As shown in FIG. 1, the method includes steps S101-S103:
- step S101 the product performance description information input by the user is received, and the product performance description information includes at least one of the following information: attribute information, trigger event information, and execution method information;
- the attribute information includes at least one of the following information: a product name, a product description, a data type of the product data, a range of values of the product data, a product default value, a product read/write property, and whether the product can be automatically reported. ;
- the trigger event information includes at least one of the following information: a name of the trigger event, an event description, a number of parameters carried when triggered, and a name, a data type, a range of values, and a default value of each parameter;
- the execution method information includes at least one of the following information: execution method name, execution method description, number of parameters to be delivered, number of fields included in the return value, name of each parameter and each field, data type , range of values, and default values.
- step S102 the target program template corresponding to the product performance description information is selected from the preset program template library.
- the user or the manufacturer can set a plurality of program templates according to individual needs, as shown in FIG. 2, and the setting steps include steps S201-S202:
- step S201 receiving an input program template setting command
- step S202 at least one program template is set according to the program template setting command to form a preset program template library.
- the preset program template library is set.
- step S103 the communication module firmware and the plug-in are generated according to the product performance description information and the target program template.
- the communication module firmware can be built in the device with the product installed, and the plug-in can be installed in the terminal; the device and the terminal respectively use the communication module Firmware and plug-ins implement the functionality of the product.
- the communication module firmware and the plug-in can be automatically generated according to the product performance description information and the target program template input by the user, so that the communication module firmware is built in the device, and the plug-in is installed in the terminal, so that Realize the interaction between the terminal and the device to realize the function of the product.
- the communication module firmware and plug-in are automatically generated according to the product performance description input by the developer, and the developer does not need to understand the communication module architecture and details, and then manually writes the code to generate the communication module firmware and plug-in that can realize the product function, thereby reducing User operation has improved the user experience.
- step S102 includes steps S301-S302:
- step S301 determining a type to which the product belongs according to the product performance description information
- step S302 according to the type of the product, the target program template matching the type to which the product belongs is selected from the preset program template library.
- the type to which the product belongs can be determined, and for different types of products, corresponding to different program templates, so that the target program template corresponding to the current product can be determined, thereby
- the program template generates corresponding communication module firmware and plug-ins for the current product to implement the functions of the current product.
- the developer does not need to understand the communication module architecture and details, and then manually write code to generate communication module firmware and plug-ins that can realize product functions, thereby reducing user operations and improving the user experience.
- step S103 includes steps S401-S403:
- step S401 acquiring a target parameter item in the target program template that needs to be replaced by data
- step S402 the corresponding target parameter is obtained from the product performance description information according to the target parameter item;
- step S403 the current parameter in the target parameter item is replaced with the target parameter to generate the communication module firmware and the plug-in.
- the target program template includes a plurality of target parameter items, such as a module name, a method name (ie, a function name), a method type, and a return value, etc., so that the target parameter items are in the product performance description information. Find the corresponding parameters and replace the current parameters in the target parameter items with these parameters.
- the communication module firmware and plug-in corresponding to the product can be generated, so that the communication module firmware is built into the device, and the plug-in is installed in the terminal. In this way, the interaction between the terminal and the device can be realized, thereby realizing the function of the product.
- a product defines a method called test, and defines the need to pass the parameter a (int type range 0-10) to accept the return value contains the field b (string type length range 0-10), define a method call protocol
- a method call protocol When you want to call the method method of the device device, you need to get the corresponding target program template, such as ⁇ "did":”deviceId", “method”:”methodName", "params”:[...] ⁇ , then if you want To generate a code that calls this method, you only need to replace the values of the did, method and params in the target template, and the rest can reuse the general code logic.
- FIG. 5 is a block diagram of a communication module firmware and plug-in generating apparatus according to an exemplary embodiment.
- the device can be implemented as part or all of the electronic device by software, hardware or a combination of both.
- the communication module firmware and plug-in generating apparatus includes:
- the first receiving module 51 is configured to receive product performance description information input by the user, where the product performance description information includes at least one of the following information: attribute information, trigger event information, and execution method information;
- the selecting module 52 is configured to select a target program template corresponding to the product performance description information from a preset program template library;
- the generating module 53 is configured to generate a communication module firmware and a plug-in according to the product performance description information and the target program template, the communication module firmware being built into a device on which the product is installed, the plug-in being installable In the terminal, the device and the terminal respectively implement the functions of the product by using the communication module firmware and the plug-in.
- the attribute information includes at least one of the following information: a product name, a product description, a data type of the product data, a range of values of the product data, a product default value, product readability, and whether the product is readable. Automatic reporting;
- the trigger event information includes at least one of the following information: a name of the trigger event, an event description, a number of parameters carried when triggered, and a name, a data type, a value range, and a default value of each parameter;
- the execution method information includes at least one of the following: an execution method name, an execution method description, a number of parameters to be delivered, a number of fields included in the return value, a name of each parameter and each field, Data type, range of values, and default values.
- the selecting module 52 includes:
- the determining submodule 61 is configured to determine a type to which the product belongs according to the product performance description information
- the template selection sub-module 62 is configured to select, from the preset program template library, a target program template that matches the type to which the product belongs according to the type to which the product belongs.
- the generating module 53 includes:
- the first obtaining sub-module 71 is configured to acquire a target parameter item in the target program template that needs to be replaced by data;
- the second obtaining sub-module 72 is configured to obtain a corresponding target parameter from the product performance description information according to the target parameter item;
- the replacement sub-module 73 is configured to replace the current parameter in the target parameter item with the target parameter to generate the communication module firmware and plug-in.
- the foregoing apparatus further includes:
- the second receiving module 81 is configured to receive the input program template setting command
- the setting module 82 is configured to set at least one program template according to the program template setting command to form a preset program template library.
- a communication module firmware and a plug-in generating apparatus including:
- a memory for storing processor executable instructions
- processor is configured to:
- the communication module firmware being built into a device on which the product is installed, the plug-in being installable in a terminal; the device The terminal uses the communication module firmware and the plug-in to implement the functions of the product.
- the processor may be further configured to: the product performance description information includes at least one of the following information: attribute information, trigger event information, and execution method information.
- the attribute information includes at least one of the following information: a product name, a product description, a data type of the product data, a value range of the product data, a product default value, a product read/write property, and whether the product can be automatically reported;
- the trigger event information includes at least one of the following information: a name of the trigger event, an event description, a number of parameters carried when triggered, and a name, a data type, a value range, and a default value of each parameter;
- the execution method information includes at least one of the following: an execution method name, an execution method description, a number of parameters to be delivered, a number of fields included in the return value, a name of each parameter and each field, Data type, range of values, and default values.
- the above processor can also be configured to:
- a target program template corresponding to the product performance description information including:
- the target program template matching the type to which the product belongs is selected from the preset program template library.
- the above processor can also be configured to:
- Generating communication module firmware and plug-ins according to the product performance description information and the target program template including:
- the communication module firmware and the plug-in are generated by replacing the current parameter in the target parameter item with the target parameter.
- the above processor can also be configured to:
- the method further includes:
- At least one program template is set to form a preset program template library.
- FIG. 9 is a block diagram of a communication module firmware and plug-in generating apparatus, which is suitable for an electronic device, according to an exemplary embodiment.
- device 900 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
- Apparatus 900 can include one or more of the following components: processing component 902, memory 904, power component 906, Multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
- Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- Processing component 902 can include one or more processors 920 to execute instructions to perform all or part of the steps described above.
- processing component 902 can include one or more modules to facilitate interaction between component 902 and other components.
- processing component 902 can include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
- Memory 904 is configured to store various types of data to support operation at device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phone book data, messages, pictures, videos, and the like.
- the memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 906 provides power to various components of device 900.
- Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 900.
- the multimedia component 908 includes a screen between the device 900 and the user that provides an output interface.
- the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
- the multimedia component 908 includes a front camera and/or a rear camera. When the device 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 910 is configured to output and/or input an audio signal.
- audio component 910 includes a microphone (MIC) that is configured to receive an external audio signal when device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in memory 904 or transmitted via communication component 916.
- the audio component 910 also includes a speaker for outputting an audio signal.
- the I/O interface 912 provides an interface between the processing component 902 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 914 includes one or more sensors for providing device 900 with various aspects of status assessment.
- sensor component 914 can detect an open/closed state of device 900, relative positioning of components, such as the display and keypad of device 900, and sensor component 914 can also detect a change in position of one component of device 900 or device 900. The presence or absence of user contact with device 900, device 900 orientation or acceleration/deceleration and The temperature of device 900 varies.
- Sensor assembly 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices.
- the device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
- the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel.
- the communication component 916 also includes a near field communication (NFC) module to facilitate short range communication.
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- device 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable A gate array
- controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
- non-transitory computer readable storage medium comprising instructions, such as a memory 904 comprising instructions executable by processor 920 of apparatus 900 to perform the above method.
- the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of the apparatus 900, to enable the apparatus 900 to perform the communication module firmware and plug-in generation method described above, the method comprising:
- the communication module firmware being built into a device on which the product is installed, the plug-in being installable in a terminal; the device The terminal uses the communication module firmware and the plug-in to implement the functions of the product.
- the product performance description information includes at least one of the following information: attribute information, trigger event information, and execution method information.
- the attribute information includes at least one of the following information: a product name, a product description, a data type of the product data, a value range of the product data, a product default value, a product read/write property, and whether the product can be automatically reported;
- the trigger event information includes at least one of the following information: a name of the trigger event, an event description, a number of parameters carried when triggered, and a name, a data type, a value range, and a default value of each parameter;
- the execution method information includes at least one of the following: an execution method name, an execution method description, a number of parameters to be delivered, a number of fields included in the return value, a name of each parameter and each field, Data type, range of values, and default values.
- Target program template including:
- the target program template matching the type to which the product belongs is selected from the preset program template library.
- the communication module firmware and the plug-in are generated according to the product performance description information and the target program template, including:
- the communication module firmware and the plug-in are generated by replacing the current parameter in the target parameter item with the target parameter.
- the method further includes:
- At least one program template is set to form a preset program template library.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
Abstract
Description
Claims (10)
- 一种通讯模组固件和插件生成方法,其特征在于,包括:接收用户输入的产品性能描述信息;从预设的程序模板库中选取出与所述产品性能描述信息对应的目标程序模板;根据所述产品性能描述信息和所述目标程序模板生成通讯模组固件和插件,所述通讯模组固件能够内置于安装有所述产品的设备,所述插件能够安装于终端中;所述设备、所述终端分别利用所述通讯模组固件、所述插件实现所述产品的功能。
- 根据权利要求1所述的方法,其特征在于,所述产品性能描述信息包括以下信息中的至少一项:属性信息、触发事件信息、执行方法信息。
- 根据权利要求1所述的方法,其特征在于,所述从预设的程序模板库中选取出与所述产品性能描述信息对应的目标程序模板,包括:根据所述产品性能描述信息确定所述产品所属的类型;根据所述产品所属的类型,从预设的程序模板库中选取出与所述产品所属的类型相匹配的目标程序模板。
- 根据权利要求1所述的方法,其特征在于,根据所述产品性能描述信息和所述目标程序模板生成通讯模组固件和插件,包括:获取所述目标程序模板中需要进行数据替换的目标参数项;根据所述目标参数项,从所述产品性能描述信息中获取对应的目标参数;使用所述目标参数替换所述目标参数项中的当前参数,生成所述通讯模组固件和插件。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:接收输入的程序模板设置命令;根据所述程序模板设置命令,设置至少一个程序模板,形成预设的程序模板库。
- 一种通讯模组固件和插件生成装置,其特征在于,包括:第一接收模块,用于接收用户输入的产品性能描述信息;选取模块,用于从预设的程序模板库中选取出与所述产品性能描述信息对应的目标程序模板;生成模块,用于根据所述产品性能描述信息和所述目标程序模板生成通讯模组固件和插件,所述通讯模组固件能够内置于安装有所述产品的设备,所述插件能够安装于终端中;所述设备、所述终端分别利用所述通讯模组固件、所述插件实现所述产品的功能。
- 根据权利要求6所述的装置,其特征在于,所述选取模块包括:确定子模块,用于根据所述产品性能描述信息确定所述产品所属的类型;模板选取子模块,用于根据所述产品所属的类型,从预设的程序模板库中选取出与所述产品所属的类型相匹配的目标程序模板。
- 根据权利要求6所述的装置,其特征在于,所述生成模块包括:第一获取子模块,用于获取所述目标程序模板中需要进行数据替换的目标参数项;第二获取子模块,用于根据所述目标参数项,从所述产品性能描述信息中获取对应的目标参数;替换子模块,用于使用所述目标参数替换所述目标参数项中的当前参数,生成所述通讯模组固件和插件。
- 根据权利要求6至8中任一项所述的装置,其特征在于,所述装置还包括:第二接收模块,用于接收输入的程序模板设置命令;设置模块,用于根据所述程序模板设置命令,设置至少一个程序模板,形成预设的程序模板库。
- 一种通讯模组固件和插件生成装置,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:接收用户输入的产品性能描述信息;从预设的程序模板库中选取出与所述产品性能描述信息对应的目标程序模板;根据所述产品性能描述信息和所述目标程序模板生成通讯模组固件和插件,所述通讯模组固件能够内置于安装有所述产品的设备,所述插件能够安装于终端中;所述设备、所述终端分别利用所述通讯模组固件、所述插件实现所述产品的功能。
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| MX2016004103A MX374563B (es) | 2015-10-30 | 2015-12-29 | Metodo y aparato para generar un firmware y complemento de modulo de comunicacion. |
| JP2017547059A JP6254751B2 (ja) | 2015-10-30 | 2015-12-29 | 通信モジュールファームウェア及びプラグイン生成方法、装置、プログラム並びに記録媒体 |
| KR1020167005172A KR101770931B1 (ko) | 2015-10-30 | 2015-12-29 | 통신 모듈 펌웨어와 플러그인 생성 방법, 장치, 프로그램 및 컴퓨터 판독가능한 기록매체 |
| RU2016124782A RU2653276C2 (ru) | 2015-10-30 | 2015-12-29 | Способ и прибор для формирования микропрограммного обеспечения модуля связи и программного расширения |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510729162.3A CN105426200B (zh) | 2015-10-30 | 2015-10-30 | 通讯模组固件和插件生成方法及装置 |
| CN201510729162.3 | 2015-10-30 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017071078A1 true WO2017071078A1 (zh) | 2017-05-04 |
Family
ID=55504429
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/099440 Ceased WO2017071078A1 (zh) | 2015-10-30 | 2015-12-29 | 通讯模组固件和插件生成方法及装置 |
Country Status (8)
| Country | Link |
|---|---|
| US (1) | US10055204B2 (zh) |
| EP (1) | EP3163439A1 (zh) |
| JP (1) | JP6254751B2 (zh) |
| KR (1) | KR101770931B1 (zh) |
| CN (1) | CN105426200B (zh) |
| MX (1) | MX374563B (zh) |
| RU (1) | RU2653276C2 (zh) |
| WO (1) | WO2017071078A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10055204B2 (en) | 2015-10-30 | 2018-08-21 | Xiaomi Inc. | Generating communication firmware and a program plug-in based on product information and a program template |
| CN113852530A (zh) * | 2021-09-02 | 2021-12-28 | 东风汽车集团股份有限公司 | 一种can通信模块的快速创建方法及系统 |
Families Citing this family (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11134295B2 (en) * | 2017-10-27 | 2021-09-28 | Nagrastar Llc | External module comprising processing functionality |
| CN108345449A (zh) * | 2017-12-25 | 2018-07-31 | 海尔优家智能科技(北京)有限公司 | 一种信息处理方法、装置、存储介质及计算机设备 |
| CN108062224B (zh) * | 2017-12-29 | 2021-04-23 | 北京奇虎科技有限公司 | 基于文件句柄的数据读写方法、装置及计算设备 |
| CN108196831B (zh) * | 2017-12-29 | 2021-03-30 | 广州斯沃德科技有限公司 | 业务系统的构建方法和装置 |
| CN109032571A (zh) * | 2018-08-28 | 2018-12-18 | 苏州艾利特机器人有限公司 | 一种机器人工艺程序生成方法 |
| CN109800530A (zh) * | 2019-01-30 | 2019-05-24 | 杭州涂鸦信息技术有限公司 | 一种产品开发方法、装置、设备及可读存储介质 |
| CN110209391B (zh) * | 2019-05-28 | 2023-06-20 | 北京金山安全软件有限公司 | 一种插件包生成方法、装置、电子设备及可读存储介质 |
| CN110839062B (zh) * | 2019-10-22 | 2022-11-22 | 深圳市信锐网科技术有限公司 | 一种传感器接入物联网的方法、电子设备及存储介质 |
| CN113835612B (zh) * | 2020-06-24 | 2025-05-27 | 北京小米移动软件有限公司 | 数据处理方法、装置及介质 |
| CN112433724A (zh) * | 2020-11-09 | 2021-03-02 | 北京达佳互联信息技术有限公司 | 目标组件的样式生成方法、装置、电子设备及存储介质 |
| CN112835615B (zh) * | 2021-02-08 | 2024-01-30 | 百度在线网络技术(北京)有限公司 | 软件开发工具包的插件化处理方法、装置及电子设备 |
| CN115344296B (zh) * | 2021-05-14 | 2026-02-03 | 北京达佳互联信息技术有限公司 | 信息调用方法、装置、电子设备及存储介质 |
| CN115543263A (zh) * | 2021-06-29 | 2022-12-30 | 北京字跳网络技术有限公司 | 脚本生成方法、装置、设备及介质 |
| CN113741871A (zh) * | 2021-08-23 | 2021-12-03 | 珠海格力电器股份有限公司 | 插件的生成方法、装置、电子设备和存储介质 |
| CN114217873B (zh) * | 2021-12-14 | 2026-01-20 | 北京字节跳动网络技术有限公司 | 一种插件的确定方法、装置、电子设备及存储介质 |
| CN114610849A (zh) | 2022-03-23 | 2022-06-10 | 苏州赛美特科技有限公司 | 一种产品制造程序的确定方法、装置、设备及存储介质 |
| CN118069158A (zh) * | 2022-11-23 | 2024-05-24 | 中国移动通信有限公司研究院 | 一种数据处理方法、装置及设备 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102461125A (zh) * | 2009-06-11 | 2012-05-16 | 高通股份有限公司 | 用于发布基于结构化元数据的发现的插件模型的方法和装置 |
| CN102760081A (zh) * | 2011-04-29 | 2012-10-31 | 国际商业机器公司 | 虚拟机资源分配的方法和装置 |
| CN103002548A (zh) * | 2011-09-09 | 2013-03-27 | 联想(北京)有限公司 | 移动终端以及维持移动终端与应用服务器的连接的方法 |
Family Cites Families (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3536758B2 (ja) | 2000-01-11 | 2004-06-14 | 松下電工株式会社 | インターネットを用いた協調設計の方法およびそのためのシステム |
| KR20030006600A (ko) | 2001-07-13 | 2003-01-23 | 다래정보통신 주식회사 | 프로그램 라이브러리 시스템 |
| TWI231441B (en) * | 2003-12-24 | 2005-04-21 | Inst Information Industry | Automated integration method of hardware/software interface for SIP development |
| US9690577B1 (en) * | 2004-02-09 | 2017-06-27 | Akana, Inc. | Legacy applications as web services |
| WO2006113645A2 (en) * | 2005-04-18 | 2006-10-26 | University Of Pittsburgh-Of The Commonwealth System Of Higher Education | Method and software tool for automatic generation of software for integrated circuit processors |
| KR100744886B1 (ko) | 2005-06-28 | 2007-08-01 | 학교법인 포항공과대학교 | 아사달 : 휘처 기반 소프트웨어 제품라인 개발 환경을제공하는 시스템 |
| US8908581B2 (en) * | 2007-05-01 | 2014-12-09 | Qualcomm Incorporated | Extended microsleep for communications |
| KR101484680B1 (ko) * | 2007-10-04 | 2015-01-21 | 삼성전자 주식회사 | 컴포넌트 기반 소프트웨어 제품 관리 시스템 및 방법 |
| US8112771B2 (en) | 2008-01-30 | 2012-02-07 | Microsoft Corporation | Managing component programs within a service application |
| KR101470319B1 (ko) * | 2008-02-15 | 2014-12-08 | 삼성전자주식회사 | 컴포넌트 모델 기반의 가상 소프트웨어 플랫폼을 생성하는방법, 이를 이용하여 소프트웨어 플랫폼 아키텍처를검증하는 방법 및 그 장치 |
| RU2456772C2 (ru) * | 2008-09-23 | 2012-07-20 | ЭлДжи ЭЛЕКТРОНИКС ИНК. | Устройство и способ передачи и приема данных при мягкой передаче обслуживания в системе беспроводной связи |
| JP2010237895A (ja) * | 2009-03-31 | 2010-10-21 | Hitachi Automotive Systems Ltd | 車載電子制御装置,制御ソフトウェアおよび制御ソフトウェアの開発ツール |
| US9176490B2 (en) * | 2010-08-16 | 2015-11-03 | Mitsubishi Electric Corporation | Control program generation device, control program generation program, and control program generation method |
| US8261231B1 (en) * | 2011-04-06 | 2012-09-04 | Media Direct, Inc. | Systems and methods for a mobile application development and development platform |
| US9032423B2 (en) * | 2013-06-21 | 2015-05-12 | Microsoft Technology Licensing, Llc | Dependency based configuration package activation |
| US10929149B2 (en) * | 2014-11-11 | 2021-02-23 | Red Hat, Inc. | Method and system for updating firmware |
| US9547482B2 (en) * | 2015-06-02 | 2017-01-17 | Sap Portals Israel Ltd. | Declarative design-time experience platform for code generation |
| CN105426200B (zh) | 2015-10-30 | 2018-11-09 | 小米科技有限责任公司 | 通讯模组固件和插件生成方法及装置 |
| JP6193460B1 (ja) * | 2016-09-30 | 2017-09-06 | ネットエージェント株式会社 | ソフトウェアの提供方法、情報処理装置およびプログラム |
-
2015
- 2015-10-30 CN CN201510729162.3A patent/CN105426200B/zh active Active
- 2015-12-29 JP JP2017547059A patent/JP6254751B2/ja active Active
- 2015-12-29 KR KR1020167005172A patent/KR101770931B1/ko active Active
- 2015-12-29 RU RU2016124782A patent/RU2653276C2/ru active
- 2015-12-29 WO PCT/CN2015/099440 patent/WO2017071078A1/zh not_active Ceased
- 2015-12-29 MX MX2016004103A patent/MX374563B/es active IP Right Grant
-
2016
- 2016-10-11 US US15/290,783 patent/US10055204B2/en active Active
- 2016-10-19 EP EP16194667.8A patent/EP3163439A1/en not_active Withdrawn
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102461125A (zh) * | 2009-06-11 | 2012-05-16 | 高通股份有限公司 | 用于发布基于结构化元数据的发现的插件模型的方法和装置 |
| CN102760081A (zh) * | 2011-04-29 | 2012-10-31 | 国际商业机器公司 | 虚拟机资源分配的方法和装置 |
| CN103002548A (zh) * | 2011-09-09 | 2013-03-27 | 联想(北京)有限公司 | 移动终端以及维持移动终端与应用服务器的连接的方法 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10055204B2 (en) | 2015-10-30 | 2018-08-21 | Xiaomi Inc. | Generating communication firmware and a program plug-in based on product information and a program template |
| CN113852530A (zh) * | 2021-09-02 | 2021-12-28 | 东风汽车集团股份有限公司 | 一种can通信模块的快速创建方法及系统 |
| CN113852530B (zh) * | 2021-09-02 | 2022-11-08 | 东风汽车集团股份有限公司 | 一种can通信模块的快速创建方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105426200B (zh) | 2018-11-09 |
| JP2017535906A (ja) | 2017-11-30 |
| EP3163439A1 (en) | 2017-05-03 |
| MX374563B (es) | 2025-03-06 |
| MX2016004103A (es) | 2018-06-22 |
| RU2653276C2 (ru) | 2018-05-07 |
| US10055204B2 (en) | 2018-08-21 |
| KR20170061626A (ko) | 2017-06-05 |
| US20170123767A1 (en) | 2017-05-04 |
| RU2016124782A (ru) | 2017-12-27 |
| CN105426200A (zh) | 2016-03-23 |
| JP6254751B2 (ja) | 2017-12-27 |
| KR101770931B1 (ko) | 2017-08-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017071078A1 (zh) | 通讯模组固件和插件生成方法及装置 | |
| EP3748547A1 (en) | Super network training method and device | |
| US20160187997A1 (en) | Method and device for controlling application | |
| WO2017113842A1 (zh) | 控制智能设备的方法及装置 | |
| EP3176709A1 (en) | Video categorization method and apparatus, computer program and recording medium | |
| WO2016131303A1 (zh) | 一种进行转账处理的方法和装置 | |
| EP2924552B1 (en) | Method and mobile terminal for executing user instructions | |
| WO2017113666A1 (zh) | 应用界面切换方法及装置 | |
| WO2017035994A1 (zh) | 外接设备的连接方法及装置 | |
| EP3147802B1 (en) | Method and apparatus for processing information | |
| WO2017008400A1 (zh) | 控制智能设备的方法及装置 | |
| CN111371837A (zh) | 功能提示方法、功能提示装置及存储介质 | |
| WO2016110146A1 (zh) | 移动终端及虚拟按键的处理方法 | |
| WO2018000710A1 (zh) | WiFi信号图标的展示方法、装置和移动终端 | |
| WO2017088371A1 (zh) | 闹钟设置方法及装置 | |
| CN114741292A (zh) | 测试脚本管理方法及装置、电子设备和存储介质 | |
| CN107463372B (zh) | 一种数据驱动的页面更新方法和装置 | |
| EP3015949A1 (en) | Method and device for displaying information | |
| CN105242837A (zh) | 应用页面获取方法及终端 | |
| CN105912202A (zh) | 应用分享方法及装置 | |
| CN105786561B (zh) | 进程调用的方法及装置 | |
| US11399359B2 (en) | Method and device for extending PBCH | |
| CN104793847B (zh) | 图片展示方法及装置 | |
| CN108063806A (zh) | 远程控制方法和远程控制装置 | |
| CN114020232A (zh) | 交互元素显示方法、装置、电子设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 20167005172 Country of ref document: KR Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 2017547059 Country of ref document: JP Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: MX/A/2016/004103 Country of ref document: MX |
|
| ENP | Entry into the national phase |
Ref document number: 2016124782 Country of ref document: RU Kind code of ref document: A |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15907139 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15907139 Country of ref document: EP Kind code of ref document: A1 |