CN111427563A - Visual programming control system and method for function machine - Google Patents

Visual programming control system and method for function machine Download PDF

Info

Publication number
CN111427563A
CN111427563A CN202010326427.6A CN202010326427A CN111427563A CN 111427563 A CN111427563 A CN 111427563A CN 202010326427 A CN202010326427 A CN 202010326427A CN 111427563 A CN111427563 A CN 111427563A
Authority
CN
China
Prior art keywords
function machine
module
machine
visual programming
configuration file
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.)
Pending
Application number
CN202010326427.6A
Other languages
Chinese (zh)
Inventor
郑彦军
赵蒸誉
邓先海
李建华
金智勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suining Motianshidai Technology Co ltd
Original Assignee
Suining Motianshidai Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suining Motianshidai Technology Co ltd filed Critical Suining Motianshidai Technology Co ltd
Priority to CN202010326427.6A priority Critical patent/CN111427563A/en
Publication of CN111427563A publication Critical patent/CN111427563A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a visual programming control system of a function machine, which comprises a function machine embedded system and a function machine visual programming tool connected with the function machine embedded system, wherein: the function machine visual programming tool is used for generating an application configuration file and calling the function machine embedded system to generate firmware; the configuration file includes MMI configuration parameters, driver configuration parameters, and firmware generation policies corresponding to the customer requirements. And the function machine embedded system is used for receiving the call of the visual programming tool of the function machine and compiling and generating the firmware according to the application configuration file generated by the visual programming tool of the function machine. The invention also discloses a programming control method of the visual programming control system of the function machine. When the method is applied, a stable and friendly graphical programming tool is provided for a function machine developer, the work can be completed without a large amount of handwritten codes, the programming difficulty is reduced, the working efficiency is improved, and the error rate caused by code compiling is reduced.

Description

Visual programming control system and method for function machine
Technical Field
The invention relates to a visual programming technology, in particular to a visual programming control system and a visual programming control method for a function machine.
Background
The MMI is implemented based on a core layer of a function machine embedded system, and mainly realizes the function of man-machine interaction, namely, interpreting various commands of a user and sending messages to a corresponding processing module, and simultaneously feeding back various messages received by the system or the state of the system to the user in an interface-friendly manner.
In recent years, the market competition of the functional machines is becoming more and more intense, and manufacturers of the functional machines focus more and more attention on the design of a human-computer interface, and strive to provide users with an attractive and easy-to-use operating platform. The display screen of the functional machine is developed into the current color screen from the traditional black and white small screen. And the high-speed development of hardware equipment provides guarantee for various improved reliability of the man-machine interface of the functional machine. However, the programming of the current function machine is still completed by a developer through handwriting coding on the embedded system of the function machine, the development period is long, the programming and the firmware generation cannot be completed quickly and accurately, and obviously, the development requirement of the function machine cannot be met.
Disclosure of Invention
The invention aims to solve the problems that the development cycle is long and programming and firmware generation cannot be rapidly and accurately completed because the programming of the function machine is still completed by a developer through handwriting coding on an embedded system of the function machine at present, and provides a visual programming control system of the function machine, which integrates MMI programming, drive management and automatic firmware generation, and provides a stable and friendly graphical programming tool for the developer of the function machine during application, so that the developer only needs to operate on a graphical interface when customizing programming is required by a client, the embedded system of the function machine does not need to be faced, the work can be completed without a large amount of handwriting codes, the programming difficulty is reduced, the working efficiency is improved, and the error rate caused by code writing is reduced. The invention also discloses a method for the visual programming control system of the function machine.
The purpose of the invention is mainly realized by the following technical scheme: the visual programming control system of function machine, including the visual programming tool of function machine embedded system and function machine connected with embedded system of function machine, wherein:
the function machine visual programming tool is used for generating an application configuration file and calling the function machine embedded system to generate firmware; the configuration file comprises MMI configuration parameters, drive configuration parameters and a firmware generation strategy corresponding to customer requirements;
and the function machine embedded system is used for receiving the call of the visual programming tool of the function machine and compiling and generating the firmware according to the application configuration file generated by the visual programming tool of the function machine. The firmware generation strategy of the configuration file is a compiling script which indicates how the embedded system automatically compiles and generates the firmware, and the compiling script is used for indicating how the embedded system of the function machine automatically compiles and generates the firmware, and the embedded system of the function machine is called by the visual programming tool of the function machine to compile and generate the firmware. The function machine embedded system is realized based on a mature function machine embedded system, aiming at solving the difficulty in programming by using the function machine embedded system, the invention improves the MMI programming and the drive management by adding a function machine visual programming tool, the improved MMI programming and the drive management do not need a large amount of hand codes any more, the programming workload is greatly reduced, the programming threshold of the function machine embedded system is reduced, and the possibility is provided for non-professional developers to engage in the programming work of the function machine embedded system.
Further, the embedded system of the function machine comprises a bottom layer system and an upper layer system, wherein the bottom layer system comprises an operating system, a protocol stack and a protocol driver, the upper layer system comprises an abstract layer, a core layer and an application layer which are sequentially arranged from bottom to top, the abstract layer comprises an operating system abstract layer, a protocol stack abstract layer and a hardware abstract layer, and the core layer comprises a graphical user interface, a window management, a message management and an application engine. The abstraction layer abstracts the target operating system, so that the core layer and the application layer are independent of the target operating system and isolated from the lower layer. The core layer is the soul of the MMI program, plays a role of starting and stopping in the system structure, the engine is irrelevant to the interface, and the file I/O adopts the ANSIC standard, so that the transplantation on various systems is facilitated. The application layer is embodied by diversification of function machines, and manufacturers can customize basic applications according to different consumer groups.
Further, the function machine visual programming tool comprises a configuration management module, an MMI programming module, a driver management module, and a firmware generation module, wherein:
the configuration management module is used for creating a configuration file and performing centralized management on the created configuration file in an open source code mode;
the MMI programming module is used for customizing on-off pictures and prompt tones of the functional machine, customizing incoming calls, information and alarm clock prompt tones of the functional machine, customizing UI displays of a standby desktop, a main interface, a secondary menu and a multimedia interface of the functional machine, internally setting multi-national-language displays of the functional machine, customizing display silk screen of a functional machine keyboard, customizing default key settings of the functional machine and generating an audio parameter file of the functional machine; the MMI programming module interacts with the embedded system of the function machine by using a configuration file;
the drive management module is used for managing L CD drive types participating in compiling when the embedded system of the function machine compiles and generates firmware, camera drive types participating in compiling and managing whether the function machine needs to support vibration and flash lamps or not;
the firmware generation module is used for calling the embedded system of the function machine to automatically compile and generate firmware according to the configuration file;
the UI previewing module is used for previewing the UI effect required by the client in the programming and calling the configuration file to preview the UI effect required by the client;
and the resource library is used for storing the startup and shutdown pictures, the prompt tone resources, the incoming call voices, the information, the alarm clock prompt tone resources and the UI resources, and receiving the configuration management module to call the stored resources. The firmware generation module is used for automatically compiling and generating the firmware by calling the function machine embedded system according to MMI configuration parameters, drive configuration parameters and a firmware generation strategy in the configuration file. When the method is applied, the visual programming tool of the function machine generates an application configuration file according to the preset visual MMI programming module and the drive management module. The firmware generation is based on the embedded system of the function machine, and the development efficiency can be further improved by storing and reusing resources according to the configuration file generated by the visual programming tool of the function machine.
In the traditional function machine embedded system programming, a professional developer directly writes codes by hand and compiles the codes manually to generate firmware on the function machine embedded system, the developer is required to know the function machine embedded system to a certain extent and has related programming experience, a higher programming threshold is formed, and the codes are written by hand and compiled easily, the efficiency is low, the code management function is not provided, and the code multiplexing and team cooperation are inconvenient. When the method is applied, a developer can complete programming and firmware generation work by using a visual programming tool of the function machine without performing explicit handwritten codes on an embedded system of the function machine, so that the programming work of the function machine is simple and efficient, and the technical problems that the programming and firmware generation cannot be quickly and accurately completed due to long period, poor universality and high modification difficulty when the function machine is programmed in the related technology are solved. When the method is applied, a certain configuration file with completed requirements is selected from the tool as the basis (or called as a template) or a configuration file with new requirements is created again according to the requirements of the customer by analyzing the requirements of the customer. Wherein, the visual programming tool of the function machine can be preset at the beginning of design so as to search the base or template of the configuration file during subsequent programming, if the created configuration file is not modified and called by the visual programming tool of the function machine to indicate that the embedded system of the function machine compiles and generates firmware, the generated firmware is not completely consistent with the requirement of a client, therefore, the visual programming tool of the function machine is needed to edit the configuration file in combination with the requirement of the client before compiling (in the editing process or needing to add client resources, the added or selected resources and driving information exist in the configuration file in a certain 'configuration' form, the visual programming tool of the function machine forms a firmware generation strategy according to the configuration of the items in the configuration file, the firmware generation strategy is used for stipulating the resources, driving and function modules which need to participate in compiling when the embedded system of the function machine compiles and generates the firmware), and after the editing is finished and the requirements of the clients are met, calling the embedded system of the function machine by using the visual programming tool of the function machine to compile and generate the firmware according to the configuration file.
Further, the MMI programming module comprises a switch on/off customizing module, a system prompt tone customizing module, a UI customizing module, a language customizing module, a silk-screen customizing module, a key function customizing module and an audio parameter setting module, a switch on/off picture and a prompt tone of the functional machine are customized by the switch on/off customizing module, incoming calls, information and alarm clock prompt tones of the functional machine are customized by the system prompt tone customizing module, UI display of a standby desktop, a main interface, a secondary menu and a multimedia interface of the functional machine is customized by the UI customizing module, a national language customizing module is used for built-in multi-national language display of the functional machine, silk-screen display of a keyboard of the functional machine is customized by the silk-screen customizing module, default key setting of the functional machine is customized by the key function customizing module, and an audio parameter file of the functional machine is generated by the audio parameter setting module.
Further, the driver management module includes an L CD driver management module, a camera driver management module, and a VIB and F L ASH setting module, where L CD driver types participating in compiling when the embedded system of the function machine compiles and generates firmware are managed by the L CD driver management module, camera driver types participating in compiling when the embedded system of the function machine compiles and generates firmware are managed by the camera driver management module, and whether the function machine needs to support vibration and flash light to be managed by the VIB and F L ASH setting module.
Further, the UI effect previewed by the UI previewing module comprises display effects of a standby desktop, a main interface, a secondary menu and a multimedia interface.
Furthermore, the resources stored in the resource library include initial resources and resources newly added after the customized requirements are completed, and the resources are stored in the resource library and are managed in a centralized manner by using an open source code so as to be called by the next customized development of the requirements. When the method is specifically set, initial resources of the resource library can be enriched, so that the method can meet the requirements of most clients on startup and shutdown, system prompt tones and UI customization, developers can select the resources according to the requirements generally, and if the developers need to use the customer resources, the developers can add the customer resources to the resource library and then select the resources.
When the method is applied, a developer can complete the whole programming work by using a graphic programming tool without performing handwritten coding on an embedded system, and compared with the conventional function machine programming in the related technology, the method has the effects of simple development, low cost and short development period, so that the function machine programming is simpler and more efficient, and the technical problems that the period is long, the universality is poor, the modification difficulty is large, and the programming and the firmware generation cannot be quickly and accurately completed when the function machine programming is performed in the related technology are solved.
The visual programming control method based on the visual programming control system of the function machine comprises the following steps:
s1, judging whether the customer demand is a new demand, if so, creating a configuration file, otherwise, directly opening the configuration file corresponding to the existing customer demand by adopting a visual programming tool of a function machine;
s2, compiling the configuration file by adopting a function machine visual programming tool to enable the configuration file to contain MMI configuration parameters, drive configuration parameters and firmware generation strategies corresponding to customer requirements, and storing the updated configuration file;
and S3, calling the function machine embedded system by adopting the function machine visual programming tool, and compiling the function machine embedded system according to the application configuration file generated by the function machine visual programming tool to generate firmware. And when the customer demand is not a new demand, maintaining or updating the existing demand.
Further, the step S3 further includes the following steps: setting a mail address for receiving the notice in a visual programming tool of the function machine before compiling, and sending the mail notice to a preset mailbox after the firmware is successfully generated.
In conclusion, compared with the prior art, the invention has the following beneficial effects: the invention adopts the design concept of 'what you see is what you get' to provide a stable and friendly graphical programming tool for a developer of the function machine, so that the developer can complete the work only on a graphical interface when customizing the programming for the requirements of customers without facing an embedded system of the function machine and a large amount of handwritten codes, thereby reducing the programming difficulty, improving the working efficiency and reducing the error rate generated by compiling the codes. The invention standardizes the software programming mode of the function machine and the management mode of the customer requirements, and the developer only needs to pay attention to the customized requirements of the customer and does not need to pay attention to how the customer requirements are managed, thereby reducing the workload of the developer for maintaining the customer requirements. The developer can preview the UI effect while programming, can also preview the UI of the finished item at any time, view the drive and other configurations, and can replace or modify the UI while previewing or viewing, so that the readability and the usability of the program are increased. The invention also adds the function of automatic compiling and generating the firmware in batch, separates the compiling and generating process of the firmware from the software coding process, releases the PC resource of a developer and further improves the working efficiency. Therefore, the invention has high working efficiency and good portability during programming, can improve the cost performance of products and reduce the development cost. The invention carefully organizes the program structure, makes the software structure clear, each module has strong independence, high expandability and good encapsulation, is convenient for development team to work together and fully utilizes the development results of each stage, and shortens the product development period.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a system block diagram of one embodiment of the present invention;
fig. 2 is a flowchart of a control method according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example (b):
as shown in fig. 1, the visual programming control system of the function machine includes a function machine embedded system and a visual programming tool of the function machine connected to the function machine embedded system, wherein: the function machine visual programming tool is used for generating an application configuration file and calling the function machine embedded system to generate firmware; the configuration file comprises MMI configuration parameters, drive configuration parameters and firmware generation strategies corresponding to customer requirements. The function machine embedded system is used for receiving the call of the visual programming tool of the function machine and compiling and generating firmware according to the application configuration file generated by the visual programming tool of the function machine. The firmware generation strategy is used for stipulating resources, drivers and functional modules which are required to participate in compiling when the embedded system of the functional machine compiles and generates the firmware, the strategy is contained in the configuration file, the strategy is generated after the configuration file is created by using a visual tool of the functional machine, and the firmware generation strategy is changed after the configuration file is modified by using the tool. When the embedded system of the function machine in this embodiment is compiled, the MMI configuration and resources corresponding to the MMI and the driver configuration parameters, the audio parameter file and the driver file are loaded according to the firmware generation policy in the configuration file, and finally the firmware is compiled and generated.
The embedded system of the function machine in this embodiment includes a bottom system and an upper system, where the bottom system includes an operating system, a protocol stack and a protocol driver, the upper system includes an abstraction layer, a core layer and an application layer, which are sequentially arranged from bottom to top, the abstraction layer includes an operating system abstraction layer, a protocol stack abstraction layer and a hardware abstraction layer, and the core layer includes a graphical user interface, a window management, a message management and an application engine.
The method comprises the steps of creating a configuration file, using an open source code mode to manage the created configuration file in a centralized mode, customizing incoming calls, information and alarm clock prompt tones of the function machine, customizing UI display of a standby desktop, a main interface, a secondary menu and a multimedia interface of the function machine, setting multi-national language display in the function machine, customizing keyboard display screen printing of the function machine, setting default keys of the function machine, generating audio parameter files of the function machine and realizing other non-preset personalized requirements of a client, interacting the MMI programming module with an embedded system of the function machine by using the configuration file, using a driving management module to manage L CD driving types and camera driving types which participate in compiling when the embedded system of the function machine compiles and generates firmware, and using the driving management module to manage whether the function machine needs to support vibration and flash, generating a previewing effect of the embedded system of the built-in-compiled CD driving type and storing the UI driving types and the UI driving types which participate in compiling the function machine when the firmware is compiled and generating a preview effect of the embedded system of the function machine, and storing the UI display effect of the UI, which is stored in an automatic configuration file, and a preview effect of the UI display of the built-in-built, and embedded system.
The resources stored in the resource library of this embodiment include initial resources and resources newly added after the customized demand is completed, and are stored in the resource library and are managed in a centralized manner by using an open source code, so as to be called by the next demand customized development. The resource library of the embodiment is provided with a list of languages supported by the embedded system of the function machine, and a developer can customize multiple languages according to the selection of the developer; similarly, a list of the keyboard silk-screen supported by the function machine embedded system is arranged in the resource library, a developer can customize the function keyboard silk-screen according to the selection of the requirement, and if the preset keyboard silk-screen does not meet the requirement, the developer can add the custom supply silk-screen to the keyboard silk-screen list and select the list; the resource library is internally provided with a list of key functions supported by a function machine embedded system, a developer selects the key functions of the function machine according to requirements, and if the preset key functions do not meet the requirements, the developer can add the newly added key functions to the key function list according to the function machine and then select the newly added key functions; if the client is not satisfied with the sound effect of the mobile phone, the developer can adjust the audio parameters and generate an audio parameter file for the embedded system to compile and generate firmware to call; according to the implementation mode of other personalized requirements, if codes are needed to be handwritten on the embedded system, corresponding control switches need to be added on a visual programming tool of the function machine, and therefore programming control of the personalized requirements is achieved. The control switch is realized based on a configuration management module of a visual programming tool of a function machine, the control mode and logic of the control switch realize the interaction of an embedded system and the tool through macro definition, and specifically, the control switch comprises the following steps: the method comprises the steps that a certain macro definition controls the implementation of a certain personalization requirement on an embedded system, a certain 'configuration' on a visual programming tool corresponds to the macro definition, and the configuration of a switch on the tool corresponds to the opening or closing of the macro definition, namely the opening or closing of the switch corresponding to the control of the certain personalization requirement on the embedded system.
The resource library of the embodiment integrates L CD drive files with different resolutions, ICs and glass, a developer can select the files according to needs under ordinary conditions, and the developer can also add a new L CD drive file to the resource library, and the resource library integrates camera drive files with different ICs, and the developer can add a new camera drive file to the resource library according to needs under ordinary conditions.
The MMI programming module of the embodiment comprises a startup and shutdown customizing module, a system prompt tone customizing module, a UI customizing module, a language customizing module, a silk screen customizing module, a key function customizing module, an audio parameter setting module and a personalized requirement presetting module, the functional machine on-off pictures and the prompt tones are customized by an on-off customization module, incoming calls, information and alarm clock prompt tones of the functional machine are customized by a system prompt tone customization module, the standby desktop of the functional machine, the main interface, UI display of a secondary menu and a multimedia interface is customized by a UI customization module, multi-national-language display built in the functional machine is customized by a national-language customization module, silk screen display of a functional machine keyboard is customized by a silk screen customization module, default key setting of the functional machine is customized by a key function customization module, an audio parameter file of the functional machine is generated by an audio parameter setting module, and other non-preset personalized requirements of a client are realized by a personalized requirement presetting module.
When the MMI programming module of this embodiment is implemented, taking the customized UI as an example, the customer requirements are analyzed first, determining a client UI style- > selecting a proper configuration file as a basis (a visual programming tool of a function machine in this embodiment can set a large number of preset UI styles at the beginning of design to improve convenience) - > creating a configuration file corresponding to a client requirement- > editing the configuration file (when editing the configuration file, the item is not edited according to the client requirement if the client requirement does not require a desktop of the client, if the requirement is met, the tool is used to modify on a graphical interface, or a standby wallpaper is changed, or a display style and a position of a standby date and time are modified, and a modification result exists in the configuration file in a configuration form) - > saving the configuration file- > calling an embedded system to generate firmware according to the configuration file.
The driver management module of this embodiment includes an L CD driver management module, a camera driver management module, and a VIB and F L ASH setting module, where L CD driver types participating in compilation when the embedded system of the function machine compiles and generates firmware are managed by the L CD driver management module, camera driver types participating in compilation when the embedded system of the function machine compiles and generates firmware are managed by the camera driver management module, and whether the function machine needs to support vibration and flash light to be managed by the VIB and F L ASH setting module.
When the visual programming control system of function machine of this embodiment is used, the developer need not carry out explicit coding on the embedded system of function machine, use the visual programming instrument of function machine to accomplish whole programming work, compare with the conventional function machine programming among the correlation technique, have the effect that development is simple, with low costs, development cycle is short, make function machine programming simple and easy, high-efficient, when carrying out function machine programming among the solution correlation technique, the cycle is long, the commonality is poor, the modification degree of difficulty is big, can't be fast, accurate completion programming, generate the technical problem of firmware.
As shown in fig. 2, the visual programming control method based on the visual programming control system of the function machine includes the following steps: s1, judging whether the customer demand is a new demand, if so, creating a configuration file, otherwise, directly opening the configuration file corresponding to the existing customer demand by adopting a visual programming tool of a function machine; s2, compiling the configuration file by adopting a function machine visual programming tool to enable the configuration file to contain MMI configuration parameters, drive configuration parameters and firmware generation strategies corresponding to customer requirements, and storing the updated configuration file; and S3, calling the function machine embedded system by adopting the function machine visual programming tool, and compiling the function machine embedded system according to the application configuration file generated by the function machine visual programming tool to generate firmware. Step S3 of the present embodiment further includes the steps of: setting a mail address for receiving the notice in a visual programming tool of the function machine before compiling, and sending the mail notice to a preset mailbox after the firmware is successfully generated. The mail address is set in the firmware generating module before compiling to generate the firmware.
The client requirement characteristics comprise L CD resolution, UI style selected by a client and the like, a configuration file similar to the client requirement is selected on a visual programming tool of the function machine as a base, a configuration file corresponding to the client requirement is created, the newly generated configuration file comprises MMI and drive configuration parameters consistent with the selected base configuration file besides client description, and a compiling script for indicating how an embedded system compiles and generates firmware, and the compiling script can be directly used for calling the embedded system to compile and generate the firmware.
In step S2 of this embodiment, when compiling the configuration file by using the visual programming tool of the function machine so that the configuration file includes MMI configuration parameters corresponding to the customer requirements, the method includes: customizing on/off, customizing system prompt tones, customizing UI, customizing multiple languages, customizing silk screen, customizing key functions, setting audio parameters and customizing other personalized requirements. Wherein, the customization switching on and shutting down: when a customer has the customization requirement, firstly, searching whether a startup and shutdown picture and a prompt tone which accord with the requirement exist in the resource library, if the startup and shutdown picture and the prompt tone which accord with the requirement exist, selecting, and if the startup and shutdown picture and the prompt tone which accord with the requirement need to be used, adding the startup and shutdown picture and the prompt tone which are supplied by the customer into the resource library and then selecting for use; in particular, if there is no customized request, the user can ignore the request and use the default on/off screen and the prompt tone in the configuration file. Customizing the system alert tone: when a customer has the customization requirement, firstly, searching whether the incoming call, the information and the alarm clock prompt tone which are in accordance with the requirement exist in the resource library, if the incoming call, the information and the alarm clock prompt tone which are in accordance with the requirement exist, selecting, and if the incoming call, the information and the alarm clock prompt tone which are in accordance with the requirement need to be used, adding the incoming call, the information and the alarm clock prompt tone which are supplied by the customer into the resource library and then selecting; in particular, if there is no customized demand for the customer, the customer can ignore the demand and use the default incoming call, information and alarm tone in the configuration file. Customizing the UI: when a client has the customization requirement, whether UI resources which accord with the requirement exist or not is searched in the resource library, if the UI resources which accord with the requirement exist, the UI resources can be selected, and if the UI resources which accord with the requirement need to be used, the UI resources which are supplied by the client are added into the resource library and then selected for use; in particular, without this custom customization requirement, this can be ignored and the default UI resources in the configuration file used. Customizing multiple languages: when the client has the customization requirement, the language which is consistent with the requirement can be found and selected in a language list preset by a visual programming tool of the function machine; in particular, without this custom-made requirement, this can be ignored and the default multilingual setting in the configuration file used. Customizing silk screen printing: when a customer has the customization requirement, firstly, the customer can find the keyboard silk-screen printing selection conforming to the requirement in a keyboard silk-screen printing list preset by a visual programming tool of the function machine, and if the preset keyboard silk-screen printing does not conform to the requirement, the customer supply silk-screen printing is added to the preset keyboard silk-screen printing list and then the keyboard silk-screen printing selection is selected; in particular, if there is no customer customization request, the user can omit the request and use the default keyboard screen printing in the configuration file. Customizing the key function: when a client has the customization requirement, firstly, the key function which is in accordance with the requirement is searched for selection in a key function list preset by a visual programming tool of the function machine, and if the preset key functions do not meet the requirement, the key function required by the client is added to the preset key function list and then is selected for use; in particular, if there is no customization request, the user can ignore the request and use the default key function in the configuration file. Setting audio parameters: if the client is not satisfied with the sound effect of the mobile phone, the audio parameter setting function on the visual programming tool of the function machine can be used, the audio parameters are adjusted on the graphical interface in an explicit mode, after the audio parameters are adjusted, an audio parameter file is generated to be called when the embedded system compiles to generate firmware, and the audio parameter file is managed in a centralized mode by the visual programming tool of the function machine in an open source code mode; in particular, in the absence of the custom requirements, the default audio parameter settings in the configuration file may be used instead of omitting the custom requirements. Customizing other personalization requirements: if the customer customization requirement does not exist, the user can ignore the customization requirement; particularly, when the customer has the customized requirement, according to the implementation mode of the requirement, if the handwriting code is explicitly written on the embedded system, a corresponding control switch is required to be added on a visual programming tool of the function machine, so that the programming control of the personalized requirement is realized.
In this embodiment, in step S2, when the configuration file is compiled by using a function machine visual programming tool to include the drive configuration parameters corresponding to the customer requirements, the configuration file includes L CD drive management, Camera drive management, and VIB and F L ASH settings, the function machine visual programming tool integrates L CD drive files of a plurality of ICs and glasses with different resolutions, and generally, the function machine visual programming tool can select the CD drive files according to the requirements, and in particular, the default CD drive settings in the configuration file are directly used, and a new L CD drive file can be added to the function machine visual programming tool, and similarly, the function machine visual programming tool integrates Camera drive files of a plurality of ICs, and generally, the Camera drive files can be selected according to the requirements, and in particular, the default CD drive settings in the configuration file are directly used, and a new Camera drive file can be added to the function machine visual programming tool.
As described above, the main work of MMI programming and driver management focuses on programming the configuration file using the visual programming tool of the function machine, and selecting a suitable configuration file as a basis when creating configuration in step S2 brings great convenience to subsequent programming, and can avoid many repeated encoding works; whether a suitable configuration file can be found as a basis for creating the configuration of the new requirement needs to have certain knowledge about the preset resource library of the visual programming tool of the function machine, and the configuration of the completed requirement can be checked by using the visual programming tool of the function machine for gradual accumulation.
After MMI programming and drive management work is completed, the configuration file can be automatically updated, after UI effect is previewed and overdrive setting is checked, the configuration file is saved by using a function machine visual programming tool, so that the configuration file is corresponding to a certain requirement of a client, the saved configuration file comprises MMI and drive parameters corresponding to the requirement of the client and a compiling script used for indicating how an embedded system compiles and generates firmware, and when the requirement of a subsequent client changes, the corresponding configuration file is edited by using the function machine visual programming tool. The configuration files are managed in a centralized mode in an open source code mode, and are simple and easy to look up.
In this embodiment, after the configuration file is saved, the embedded system of the function machine may be called to automatically compile and generate the firmware according to the configuration file, and during compiling, the embedded system of the function machine loads the MMI configuration, the resource and the driver file corresponding to the MMI and the driver configuration parameter according to the firmware generation policy in the configuration file, and finally compiles and generates the firmware.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. The visual programming control system of function machine, including function machine embedded system, its characterized in that still includes the visual programming tool of function machine who is connected with function machine embedded system, wherein:
the function machine visual programming tool is used for generating an application configuration file and calling the function machine embedded system to generate firmware; the configuration file comprises MMI configuration parameters, drive configuration parameters and a firmware generation strategy corresponding to customer requirements;
and the function machine embedded system is used for receiving the call of the visual programming tool of the function machine and compiling and generating the firmware according to the application configuration file generated by the visual programming tool of the function machine.
2. The visual programming control system of a function machine according to claim 1, wherein the embedded system of a function machine comprises a bottom system and an upper system, wherein the bottom system comprises an operating system, a protocol stack and a protocol driver, the upper system comprises an abstraction layer, a core layer and an application layer, the abstraction layer comprises an operating system abstraction layer, a protocol stack abstraction layer and a hardware abstraction layer, and the core layer comprises a graphical user interface, a window management, a message management and an application engine.
3. The visual programming control system of a function machine of claim 1, wherein the visual programming tool of the function machine comprises a configuration management module, an MMI programming module, a driver management module, and a firmware generation module, wherein:
the configuration management module is used for creating a configuration file and performing centralized management on the created configuration file in an open source code mode;
the MMI programming module is used for customizing on-off pictures and prompt tones of the functional machine, customizing incoming calls, information and alarm clock prompt tones of the functional machine, customizing UI displays of a standby desktop, a main interface, a secondary menu and a multimedia interface of the functional machine, internally setting multi-national-language displays of the functional machine, customizing display silk screen of a functional machine keyboard, customizing default key settings of the functional machine and generating an audio parameter file of the functional machine; the MMI programming module interacts with the embedded system of the function machine by using a configuration file;
the drive management module is used for managing L CD drive types participating in compiling when the embedded system of the function machine compiles and generates firmware, camera drive types participating in compiling and managing whether the function machine needs to support vibration and flash lamps or not;
the firmware generation module is used for calling the embedded system of the function machine to automatically compile and generate firmware according to the configuration file;
the UI previewing module is used for previewing the UI effect required by the client in the programming and calling the configuration file to preview the UI effect required by the client;
and the resource library is used for storing the startup and shutdown pictures, the prompt tone resources, the incoming call voices, the information, the alarm clock prompt tone resources and the UI resources, and receiving the configuration management module to call the stored resources.
4. The visual programming control system of a function machine of claim 3, the MMI programming module comprises an on-off customizing module, a system prompt tone customizing module, a UI customizing module, a language customizing module, a silk screen customizing module, a key function customizing module and an audio parameter setting module, on-off pictures and prompt tones of a functional machine are customized by the on-off customizing module, incoming calls of the functional machine, information and alarm clock prompt tones are customized by the system prompt tone customizing module, the standby desktop of the functional machine, a main interface, a secondary menu and the UI display of a multimedia interface are customized by the UI customizing module, the multi-national language display built in the functional machine is customized by the national language customizing module, the silk screen display of the functional machine keyboard is customized by the silk screen customizing module, the default key setting of the functional machine is customized by the key function customizing module, and an audio parameter file of the functional machine is generated by the audio parameter setting module.
5. The visual programming control system of a function machine according to claim 3, wherein the driver management module includes L CD driver management module, camera driver management module, and VIB and F L ASH setting module, wherein L CD driver types participating in compiling when the embedded system of the function machine compiles and generates firmware are managed by L CD driver management module, the camera driver types participating in compiling when the embedded system of the function machine compiles and generates firmware are managed by the camera driver management module, and whether the function machine needs to support vibration and flash light is managed by the VIB and F L ASH setting module.
6. The machine-readable visual programming control system of claim 3, wherein the UI effects previewed by the UI preview module include display effects of a standby desktop, a main interface, a secondary menu, and a multimedia interface.
7. The visual programming control system of function machine according to claim 3, wherein the resources stored in the resource library include initial resources and resources added after the customized demand is completed, and the resources are stored in the resource library and managed centrally by using an open source code for the next demand customized development.
8. The visual programming control method of the visual programming control system of the function machine according to any one of claims 1 to 7, comprising the steps of:
s1, judging whether the customer demand is a new demand, if so, creating a configuration file, otherwise, directly opening the configuration file corresponding to the existing customer demand by adopting a visual programming tool of a function machine;
s2, compiling the configuration file by adopting a function machine visual programming tool to enable the configuration file to contain MMI configuration parameters, drive configuration parameters and firmware generation strategies corresponding to customer requirements, and storing the updated configuration file;
and S3, calling the function machine embedded system by adopting the function machine visual programming tool, and compiling the function machine embedded system according to the application configuration file generated by the function machine visual programming tool to generate firmware.
9. The visual programming control method of a function machine according to claim 8, wherein said step S3 further includes the steps of: setting a mail address for receiving the notice in a visual programming tool of the function machine before compiling, and sending the mail notice to a preset mailbox after the firmware is successfully generated.
CN202010326427.6A 2020-04-23 2020-04-23 Visual programming control system and method for function machine Pending CN111427563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010326427.6A CN111427563A (en) 2020-04-23 2020-04-23 Visual programming control system and method for function machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010326427.6A CN111427563A (en) 2020-04-23 2020-04-23 Visual programming control system and method for function machine

Publications (1)

Publication Number Publication Date
CN111427563A true CN111427563A (en) 2020-07-17

Family

ID=71554340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010326427.6A Pending CN111427563A (en) 2020-04-23 2020-04-23 Visual programming control system and method for function machine

Country Status (1)

Country Link
CN (1) CN111427563A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532447A (en) * 2020-11-27 2021-03-19 锐捷网络股份有限公司 RDMA parameter configuration method, device and storage medium
CN115795418A (en) * 2023-01-17 2023-03-14 泉州艾奇科技有限公司 Watermark embedding method, watermark embedding apparatus, computer, storage medium, and program product
CN118012494A (en) * 2024-04-03 2024-05-10 青岛鼎信通讯股份有限公司 Embedded software configuration management and multiplexing system and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086635A1 (en) * 2003-10-20 2005-04-21 Pegasus Technologies, Inc. Visual programming system and method
US20080058969A1 (en) * 2006-09-01 2008-03-06 Fisher-Rosemount Systems, Inc. Graphical Programming Language Object Editing and Reporting Tool
CN101876908A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 User customizing method and system
US20110231815A1 (en) * 2010-03-19 2011-09-22 Honeywell Technologies Sarl Company advanced programming interface
CN102385509A (en) * 2010-08-31 2012-03-21 苏州大学 Graphical embedded type development method and platform
GB201317856D0 (en) * 2013-04-25 2013-11-20 Testplant Ltd Method for creating a label
CN103809983A (en) * 2014-02-27 2014-05-21 山东超越数控电子有限公司 Method for modifying BIOS SETUP interface
CN106445556A (en) * 2016-10-18 2017-02-22 中国银行股份有限公司 Visualized code generation method and system thereof
CN107229469A (en) * 2017-05-23 2017-10-03 杭州杰能动力有限公司沈阳分公司 A kind of visual programming method for integrated chip
CN110543144A (en) * 2019-08-30 2019-12-06 天津施格自动化科技有限公司 method and system for graphically programming control robot

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086635A1 (en) * 2003-10-20 2005-04-21 Pegasus Technologies, Inc. Visual programming system and method
US20080058969A1 (en) * 2006-09-01 2008-03-06 Fisher-Rosemount Systems, Inc. Graphical Programming Language Object Editing and Reporting Tool
US20110231815A1 (en) * 2010-03-19 2011-09-22 Honeywell Technologies Sarl Company advanced programming interface
CN101876908A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 User customizing method and system
CN102385509A (en) * 2010-08-31 2012-03-21 苏州大学 Graphical embedded type development method and platform
GB201317856D0 (en) * 2013-04-25 2013-11-20 Testplant Ltd Method for creating a label
CN103809983A (en) * 2014-02-27 2014-05-21 山东超越数控电子有限公司 Method for modifying BIOS SETUP interface
CN106445556A (en) * 2016-10-18 2017-02-22 中国银行股份有限公司 Visualized code generation method and system thereof
CN107229469A (en) * 2017-05-23 2017-10-03 杭州杰能动力有限公司沈阳分公司 A kind of visual programming method for integrated chip
CN110543144A (en) * 2019-08-30 2019-12-06 天津施格自动化科技有限公司 method and system for graphically programming control robot

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MILAN STANKIĆ等: "Graphical tool for generating linker configuration files in embedded systems", pages 1550 - 1553 *
文斌等: "基于可视化编程技术的MIS源代码自动生成的实现", vol. 23, no. 1, pages 15 - 18 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532447A (en) * 2020-11-27 2021-03-19 锐捷网络股份有限公司 RDMA parameter configuration method, device and storage medium
CN115795418A (en) * 2023-01-17 2023-03-14 泉州艾奇科技有限公司 Watermark embedding method, watermark embedding apparatus, computer, storage medium, and program product
CN118012494A (en) * 2024-04-03 2024-05-10 青岛鼎信通讯股份有限公司 Embedded software configuration management and multiplexing system and method

Similar Documents

Publication Publication Date Title
CN111427563A (en) Visual programming control system and method for function machine
KR101191816B1 (en) User interface with augmented searching characteristics
KR101450640B1 (en) User interface generation device
JP4550068B2 (en) System and method for preparing and playing media presentations
US20130104102A1 (en) User Customization Method and System
US20130086481A1 (en) System and method for adaptive communication user interface
CN106339384B (en) Storage process conversion method and device
MX2008012431A (en) Event based ambient lighting control.
CN114302238B (en) Display method and display device for prompt information in sound box mode
CN114302201B (en) Method for automatically switching on and off screen in sound box mode, intelligent terminal and display device
CN109271157A (en) Software development methodology, equipment and computer readable storage medium
WO2022105417A1 (en) Display device and device control method
US8166167B2 (en) System and method for providing customized rendering of content
CN107135297B (en) Method for optimizing operation sequence of mobile terminal and mobile terminal
CN102281416A (en) On-screen display (OSD) editing system, editing method and television employing system
CN114296668A (en) Display device
CN111324262B (en) Application interface control method, device, terminal and medium
CN101276276A (en) Digital television applied development model apparatus
CN111026476A (en) Lock screen display control method, terminal and computer readable storage medium
WO2021238353A1 (en) Display method and display device
WO2004036423A1 (en) Information processing device, information processing method, information processing program, and medium
CN1486110A (en) Apparatus and method for carrying out data control operation via short message
KR20040014816A (en) Menu skin output apparatus and method for mobile communication device
CN114339359B (en) Method for preventing screen burn in local screen-lighting mode and display device
CN116009958B (en) Unified control method and system for intelligent hardware

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240329

AD01 Patent right deemed abandoned