CN108762765A - Development board program based on contiki systems compiles method for down loading - Google Patents

Development board program based on contiki systems compiles method for down loading Download PDF

Info

Publication number
CN108762765A
CN108762765A CN201810569621.XA CN201810569621A CN108762765A CN 108762765 A CN108762765 A CN 108762765A CN 201810569621 A CN201810569621 A CN 201810569621A CN 108762765 A CN108762765 A CN 108762765A
Authority
CN
China
Prior art keywords
bin
visual
files
compiling
libraries
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.)
Granted
Application number
CN201810569621.XA
Other languages
Chinese (zh)
Other versions
CN108762765B (en
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.)
Hebei University of Technology
Original Assignee
Hebei University of Technology
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 Hebei University of Technology filed Critical Hebei University of Technology
Priority to CN201810569621.XA priority Critical patent/CN108762765B/en
Publication of CN108762765A publication Critical patent/CN108762765A/en
Application granted granted Critical
Publication of CN108762765B publication Critical patent/CN108762765B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • 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)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The present invention is that the development board program based on contiki systems compiles method for down loading, this method is compiled under windows systems using visual C++ softwares, it is downloaded using Jlink softwares, using Python automated test frames, to complete the operation to visual C++ and Jlink, key compiling is completed to download, this method can realize that automation compiling is downloaded under windows systems, it is cumbersome to solve the problems, such as that compiling is downloaded, the design that developer there are more energy to be placed on code is set to write, rather than in cumbersome download step, development efficiency can be greatlyd improve.

Description

Development board program based on contiki systems compiles method for down loading
Technical field
The invention belongs to Contiki Internet of Things operation system technologies field, and in particular to a kind of based on Contiki systems Development board program compiles method for down loading.
Background technology
Internet of Things be exactly sensor equipment to power grid, railway, bridge, tunnel, highway, building, water system, dam, It on the various real-world objects such as oil-gas pipeline and household electrical appliance, is linked up by internet, and then runs specific program, reached To remote control or the direct communication of realization object and object.Internet of Things, the i.e. radio frequency identification by device on each type objects (RFID), sensor, Quick Response Code etc. are connected by interface with wireless network, to assign " intelligence " to object, realize people and object The communication and dialogue of body can also realize object and object mutual communication and dialogue, this net for connecting object Network is referred to as " Internet of Things ".Internet of Things is attached to the internet of physical object.Internet does not have Internet of Things gene, it is necessary to by embedding The panoramic physical object in objective world is connected on internet by embedded system.First by embedded system by physics pair As becoming an intelligent system, then the LAN of single intelligent system or intellectualizing system is connected with internet, just As Internet of things system.
Contiki Internet of Things operating systems are the Internet of Things development systems of nowadays mainstream the most, it is provided suitable for processor The restricted microcontroller in source, under normal circumstances systematic difference program in total only about occupy 40Kb sizes Flash and 2Kb The RAM of size.Traditional development board such as 51 microcontrollers, the development boards such as MSP430 have corresponding software under window systems, Written in code is carried out, debugging and code are downloaded, and the work that one-key operation compiling is downloaded is highly beneficial to Embedded exploitation. And the exploitation of embedded contiki systems is developed under black class's drawing system in the prior art, contiki systems are downloaded Program can not realize that key compiling is downloaded, and compiling every time downloads and is required for striking more than ten line codes manually in order terminal, too It is cumbersome, it is unfavorable for developing.The virtual machine that program needs to install Instant-contiki is downloaded using contiki systems, it just can be with It is developed, under virtual machine, terminal command line is used to be operated, program is downloaded in development board, it is very multiple It is miscellaneous, need the code of more than ten rows that can just accomplish, and with the difference of program directory, and difficulty differs, this is soft compared to keil Part develops 51 microcontrollers difficulty very much, to inconvenience many caused by debugging code.
Fig. 1 is that flow is downloaded in the compiling under virtual machine, and detailed step is as follows:
The first step:Start Instant-contiki systems, under Jlink files:cd Jlink/
Second step:Start Jlink softwares:./JLinkExe
Third walks:Name equipment:Exec device=CC2538SF53
4th step:Wiping original program, (program is to need to debug repeatedly, and debugging each time is required for re-downloading development board In, so the program of last debugging, i.e., original program abbreviation original program are had before downloading in development board):erase
5th step:It downloads:loadbin/home/user/examples/blink.bin,0x00200000
6th step:It after completing the 5th step, returns the result if successful, then downloads success, terminate, without the 7th Step;If returning the result as fail to download, failed download, the 7th step of execution.
7th step:To re-download, then need to return to the 4th step:Wipe original program erase;If encountering other unexpected feelings Condition please close terminal, be operated since the first step again.
In the process of development, debugging is inevitable, even tens of up to a hundred time sometimes, every time debugging be required for by Above-mentioned steps execute once, and the development time can be caused far smaller than to compile download time in this way, and compile and download not to journey Sequence exploitation plays a role in promoting, and brings inconvenience to developer on the contrary, compiling download it is cumbersome it is difficult, increase development difficulty, Reduce development efficiency.Therefore this patent has developed key compiling download function, i.e., need to only put primary compiling and download button, so that it may with Compiling download function is realized, without carrying out above-mentioned steps.
Invention content
It is directed to Embedded cintiki systems and downloads compiling under black class's drawing system and very cumbersome be unfavorable for program development The problem of, the technical issues of present invention intends to solve, is to provide a kind of development board program compiling download side based on contiki systems Method.This method is compiled under windows systems using visual C++ softwares, is downloaded using Jlink softwares, is used Python automated test frames are completed key compiling and are downloaded to complete the operation to visual C++ and Jlink, this method It can realize that automation compiling is downloaded under windows systems, solve the problems, such as that compiling download is cumbersome, developer is allow to have more Energy be placed on code design write rather than cumbersome download step on, development efficiency can be greatlyd improve.
The present invention solve the technical problem the technical solution adopted is that:A kind of exploitation based on contiki systems is provided Plate program compiles method for down loading, and using the libraries third party library pyautogui of python, mouse action is simulated using python, complete Pairs of visual C++ softwares and the operation of Jlink softwares realize that key compiling is downloaded;It comprises the concrete steps that:
The first step, acquisition image data:
Simulating keyboard operation is carried out using the libraries pyautogui, location mechanism is pixel comparison, the operation key used to needs Image Acquisition is carried out, carries out being divided into two parts when Image Acquisition, first part acquires for common path, acquisition and visual C ++ software and the relevant picture of Jlink softwares, the picture are general picture, and visual C++ execute compiling, intercept compilation process The middle button image for needing to use;Jlink softwares are downloaded, and the button sectional drawing used in Jlink downloading process is preserved;The Two parts acquire the picture of .bin files, and .bin files are the files in development board to be downloaded to, and intercept .bin file, pictures;
Second step establishes index map valut:
The collected all pictures of the first step are stored, under storage to same file folder, are named as index picture Library;The step of each general picture is downloaded according to visual C++ softwares and Jlink software translatings is named, visual C++ The step of the step of compiling is fixed, and Jlink is downloaded is also fixed, according to these sequence of steps and belongs to visual C ++ Jlink is still fallen within to name, and name format is " number-purposes ", according to this naming rule that all general pictures are complete Portion's name is completed;By each .bin file, pictures according to the naming of .bin files itself;
Third step establishes .bin libraries:
Unified storage is carried out to .bin files using visual C++ softwares, detailed process is:In visual C++ softwares In installation process, Setup Wizard can pop up the option in assigned work space, and user oneself is needed to specify a file conduct The working space of later storage program file, oneself new folder name visualSpace, then assigned work space is The .bin file consolidations that each compiling is completed are deposited into .bin libraries by visualSpace, with each compiling .c File .bin libraries can all update;
4th step, update index map valut:
The image information for the .bin files being newly added in acquisition .bin libraries, forms new .bin file, pictures, will be new .bin file, picture information deposit index map valut in, whenever there is new file deposit in .bin libraries, be required for acquiring Then the image data of new .bin files is stored in index map valut, complete update index map valut;
5th step establishes index path:
Each .bin files have different index paths, according to .bin texts in the name of .bin files and index map valut The name of part picture establishes the index path between .bin files and index map valut, and index path establishes process to visual The operation of C++ softwares and Jlink softwares is relatively fixed, and is fixed as software index path;After the completion of visual C++ are compiled, The window of visual C++ output results will appear the name for the .c files that current compiling is completed, and visual is intercepted by Python C++ command window pictures, interception way are to carry out sectional drawing using the libraries Python third party library pyautogui, then pass through Python The word on picture is obtained, it is using the libraries third party library pytesseract Python by the word in picture to obtain text mode Text strings are converted to, which includes the current .c file names for wanting compiling, has thus got the name of .c files Word retains the name of .c files, and suffix is changed to .bin to get to the name of .bin files, so set up .bin files with Index path between index map valut, entire index path are also established therewith;
6th step, encapsulation compiling download key:
Program involved by the-the five step of the above-mentioned first step is packaged, is created graphically in computer end by python Interface imports the libraries Python third party library easygui, after importing the libraries easygui, increases program g.msgbox (), thus complete At encapsulation compiling download key.
Compared with prior art, the beneficial effects of the invention are as follows:
1. the present invention proposes under a kind of one key of the program compiling of contiki system development plates under windows systems Support method, presently, the development board based on contiki development systems are developed under black class's graphic operation system, are made It is compiled download with terminal command line, is inconvenient and extremely cumbersome, it is easy using mouse action at windows, greatly Reduce work difficulty of the developer other than programming.
2. the present invention is compiled using visual C++, is made using the libraries third party library pyautogui of python as core It is downloaded with Jlink, the simulated operation to mouse-keyboard is realized using the libraries pyautogui, instead of manually clicking, realize a key Compiling download, developer be only absorbed in exploitation rather than other, greatly improve development efficiency.
This method utilizes Python automated test frames, realizes that the automatic compiling of exploitation program is downloaded, first with Python third party's automatic test library libraries pyautogui, analogue computer mouse-keyboard operation, instead of manual operation, will develop Personnel free from cumbersome compiling downloading process, allow developer that more energy to be placed on to the exploitation of code On.Secondly utilize the libraries Python third party library pytesseract, realization that the code that developer is changing is identified, Determine file destination (file that download will be compiled).Finally utilize the libraries third party library easygui Python to the first step to the Involved program is packaged in five steps, is encapsulated into compiling download key.Developer only needs to click compiling download key just The compiling to file may be implemented to download.Therefore the method is extremely convenient to developing for the developer of contiki systems , one-touch operation, the promotion to development efficiency is also beyond measure.
Description of the drawings
Fig. 1 is the flow chart that existing contiki system developments plate downloads program.
Fig. 2 is that the present invention is based on the flow charts that the development board program of contiki systems compiles method for down loading.
Fig. 3 compiles download key graphical interfaces.
Specific implementation mode
The present invention is explained further with reference to embodiment and attached drawing, but not in this, as to the application protection domain It limits.
The present invention is based on the development board program of contiki systems compiling method for down loading (abbreviation method for down loading, referring to Fig. 2) profits Solve the problems, such as that contiki system developments plate downloads cumbersome, utilization under black class's drawing system with python automated test frames The libraries pyautogui (pyautogui is the third party library of python) are simulated mouse action using python, are completed to visual C++ softwares and the operation of Jlink softwares realize that key compiling is downloaded;It is as follows:
The first step, acquisition image data:
Simulating keyboard operation is carried out using the libraries pyautogui, location mechanism is pixel comparison, the operation key used to needs Image Acquisition is carried out, carries out being divided into two parts when Image Acquisition, first part acquires for common path, acquisition and visual C ++ software and the relevant picture of Jlink softwares, so-called relevant picture refer to compiling downloading process in need it is soft to above-mentioned two Part operates, the picture for the button used during acquisition operations, and acquisition means are qq sectional drawings, which is general picture, Visual C++ execute compiling, intercept in compilation process and need the button image used, i.e., will be in visual C++ compilation processes The button of click all sectional drawings acquire;Jlink softwares are downloaded, and the button sectional drawing used in Jlink downloading process is preserved;The Two parts acquire the picture of .bin files, and .bin files are the files in development board to be downloaded to, and acquisition means are qq sectional drawings, are cut Take .bin file, pictures.
Second step establishes index map valut:
The collected all pictures of the first step are stored, under storage to same file folder, are named as index picture Library;The step of each general picture is downloaded according to visual C++ softwares and Jlink software translatings is named, visual C++ The step of the step of compiling is fixed, and Jlink is downloaded is also fixed, according to these sequence of steps and belongs to visual C ++ Jlink is still fallen within to name, and name format is " number-purposes ", is ordered if the picture of first step of visual C++ Entitled " 1-V ", wherein V represent visual C++, and 1 represents the first step, and the picture of first step of Jlink is named as " 1-J " Wherein J represents Jlink, and 1 represents first step of Jlink downloads, according to this naming rule that all general pictures are whole Name is completed;By each .bin file, pictures according to the naming of .bin files itself.
Third step establishes .bin libraries:
.bin file is the file for needing to download in development board, if disunity is stored, can be made to index .bin files At great inconvenience, it is therefore desirable to be configured to visual C++ softwares.Using visual C++ softwares to .bin files Unified storage is carried out, detailed process is:In visual C++ software installation process, Setup Wizard can pop up assigned work space Option, need user oneself to specify working space of the file as later storage program file, oneself newly-built text Part presss from both sides, and names visualSpace, then assigned work space is visualSpace, the .bin files that each compiling is completed It is uniformly deposited into .bin libraries, with each compiling .c files .bin libraries can all update.
4th step, update index map valut:
The image information for the .bin files being newly added in acquisition .bin libraries, forms new .bin file, pictures, will be new .bin file, picture information deposit index map valut in, whenever there is new file deposit in .bin libraries, be required for acquiring Then the image data of new .bin files is stored in index map valut, complete update index map valut.
5th step establishes index path:
Each .bin files have different index paths, according to .bin texts in the name of .bin files and index map valut The name of part picture establishes the index path between .bin files and index map valut, and index path establishes process to visual The operation of C++ softwares and Jlink softwares is relatively fixed, and is fixed as software index path, does not have to modification later, and to be compiled Bin file is not fixed, it is thus determined that the .bin files of desired download can complete the foundation of index path.? After the completion of visual C++ compilings, the window of visual C++ output results will appear the name for the .c files that current compiling is completed Word intercepts visual C++ command window pictures by Python, and interception way is to utilize Python third party libraries pyautogui Library carries out sectional drawing, then obtains the word on picture by Python, and it is to utilize Python third party libraries to obtain text mode Text conversion in picture is text strings by the libraries pytesseract, which includes the current .c filenames for wanting compiling Word has thus got the name of .c files, since .c files are that the suffix of name is different from .bin files, obtains The names of .c files retains the name of .c files, suffix is changed to .bin to get to the name of .bin files, and then establish The index path between .bin files and index map valut is played, entire index path is also established therewith.
6th step, encapsulation compiling download key:
Program involved by the-the five step of the above-mentioned first step is packaged, is created graphically in computer end by python Interface, Python realize that the third party library of graphic interface is the libraries easygui, it is therefore desirable to import Python third party libraries The libraries easygui, after importing the libraries easygui, increase program g.msgbox (' are you ready?', ok_button=' compilings Download '), the above-mentioned function g.msgbox () used is the function in the libraries easygui, and this completes encapsulation compilings to download Key, interface after encapsulation in computer end as shown in figure 3, create the software for being similar to qq, but only compiled after opening software Download key can run the Python programs that automation compiling is downloaded by compiling download key, as soon as realize that key compiling is downloaded, this It is encapsulation compiling download key.
In terms of Python has multiple frames to can be used for automatic test in the application, Pywinauto frames are to be based on Python exploitations, it is used for the script module of automatic test, primary operational to be in Windows test patterns interface.It can permit Perhaps user easily send mouse, keyboard action to Windows dialog box and control.Wherein, main function is pair The programmable processing of a series of actions of windows standard controls, includes to the specified of window, mouse or keyboard operation, is controlled Part attribute etc..Program starts as the startup or connection to required application.After obtaining program connection, Pywinauto passes through window Mouthful title, class name, whether the attributes such as visible find matched window, and then pass through similar approach and find control needed for user Part, and obtain corresponding handle.Later, user can be by intelligible programming mode to specifying control to carry out the volume of relevant operation Journey, including mouse is clicked, keyboard input, judges relationship between control, acquisition control property etc..
Contiki systems are successfully applied in windows systems by the application, make its development board program compile download at To be possible, Contiki systems are introduced under windows systems, are had the characteristics that:
(1) it is programmed completely using C language.Contiki systems are write as with C language completely, in Program Appliance All of C language, simple, easy to learn, the development cycle is short.
(2) it freely increases income.Contiki operating systems are issued under authorized agreement of increasing income, this represents user can be with Arbitrarily code used in scientific research, education, business, and code can be arbitrarily changed, and issued one's own Contiki codes.Although it is free to increase income, do not represent be exactly degraded performance Contiki systems, it is opposite because of his height Degree increase income so that its exploitation ten/soon.More importantly the author of Contiki systems participates in the formulation of internet standard, and The software that LwIP, Protothred etc. increase income completely has also been devised other than operating system.
(3) facilitate transplanting.Contiki systems do not have to use any hardware capability when design, this makes its branch Hold more chips.
(4) power consumption is relatively low.The network node different from traditional network, numerous network nodes in sensor network, It typically disposes in the wild, self-contained power supply can not use at all for its long-time.Contiki operating systems are opened in design Beginning has just fully considered the low power consumption characteristic of network node.Moreover, Contiki systems are in the premise for not needing additional hardware How much can monitor each node power consumption down, and carry out energy spectrometer, it is whether efficient for the Routing Protocol of evaluating Sensor Network.
(5) network interaction.Contiki systems support the client of kinds of platform, network that can be carried out with web and order line The control of interface and the storage of related data information.Under order line, interactive interface is by shell, just into the interface of shell It is easy to use as Linux command row.
(6) there is file system, there is analogue system to fully achieve the agreement of low-power consumption by time driving multitask Stack.Embodiment 1
Development board program of the present embodiment based on contiki systems compiles method for down loading, to download cetic-6lbr.bin For (being exactly the name of a file, without special meaning) file processes, detailed process is:
The first step:Acquisition visual C++ softwares and the institute that click button is needed in Jlink software translatings and downloading process There is picture, and by all pictures of acquisition there are under identical file, acquisition means are qq sectional drawings;Then cetic- is acquired 6lbr.bin file, pictures, acquisition means are sectional drawing, are equally existed under file just now.
Second step:The file name that picture is stored in the first step is named as index map valut, due to compiling and downloading There is permanent order, i.e., it is fixed first to press and which key pressed after which key, therefore is named using " number-purposes " format, is adopted The picture for collecting visual C++ is named as " 1-V ", and " 2-V ", " 3-V ", " 4-V ", " 5-V ", " 6-V ", wherein V represents visual C++ shows that its purposes is visaul C++ compilings, and wherein number is up to 6 expression compilation steps and needs to click 6 buttons.It adopts The picture for collecting Jlink is named as " 1-J ", " 2-J ", " 3-J ", " 4-J ", " 5-J ", " 6-J ", " 7-J ", " 8-J ", " 9-J ", Middle J represents Jlink, show its purposes for Jlink download, wherein number be up to 9 expression download steps need click 9 by Key.Collected cetic-6lbr.bin file, pictures are named as " cetic-6lbr.bin ".
Third walks:Find visualSpae files, this file be during installation visual C++ from installation to Prompt is led, what oneself was specified, it is named as visualSpace, for storing the .bin files after compiling, therefore visualSpace It is exactly .bin libraries, therefore after compiling, the cetic-6lbr.bin this time downloaded, just under visualSpace files.
4th step:Index map valut is updated, but due to this download cetic-6lbr.bin file, it can't be downloaded His file, therefore without being updated, if downloading alternative document, such as a.bin seeks to find when updating index map valut A.bin files acquire the image of this document, that is, use qq sectional drawings to intercept, then sectional drawing is saved in index map valut, picture life It is entitled
A.bin completes update index map valut.
5th step:By " 1-V ", " 2-V ", " 3-V ", " 4-V ", " 5-V ", " 6-V ", " 1-J ", " 2-J ", " 3-J ", " 4-J ", Corresponding position in test.py programs is written, i.e., in " 5-J ", " 6-J ", " 7-J ", " 8-J ", " 9-J " " cetic-6lbr.bin " The index to these pictures can be achieved, program can find corresponding position on computers according to these pictures and be clicked, such as " 1-V " corresponding visual C++ softwares, computer will find visual C++ according to " 1-V ", click visual C++ in computer On icon to open visual C++.Therefore these pictures just represent the button to be clicked, and computer is according to these pictures It clicks successively, the download of program will be completed, and user need to only click primary operation test.py.
6th step:Python can create graphic interface, click compiling download key after opening software, operation automation is compiled The Python programs of download are translated, realize that key compiling is downloaded.
This patent is suitable for using contiki operating systems as the development board of embedded system, for carrying out 6LoWPAN networks Exploitation, be applicable in scene be develop using contiki systems as development system 6LoWPAN network development plates compiling download program, Computer operating system is windows, and the scale of index map valut is not big in the application, and scale is by .bin libraries It influences, therefore very light, easy to use, as long as by index map valut .bin libraries and index path are established, so that it may To realize the automation of compiling download.
The present invention does not address place and is suitable for the prior art.

Claims (2)

1. a kind of development board program based on contiki systems compiles method for down loading, the third party library of python is utilized Mouse action is simulated in the libraries pyautogui using python, completes to operate visual C++ softwares and Jlink softwares, realizes one Key compiling is downloaded;It comprises the concrete steps that:
The first step, acquisition image data:
Simulating keyboard operation is carried out using the libraries pyautogui, location mechanism is pixel comparison, is carried out to the operation key that needs are used Image Acquisition carries out being divided into two parts when Image Acquisition, and first part acquires for common path, and acquisition is soft with visual C++ Part and the relevant picture of Jlink softwares, the picture are general picture, and visual C++ execute compiling, and intercepting needs in compilation process The button image to be used;Jlink softwares are downloaded, and the button sectional drawing used in Jlink downloading process is preserved;Second Divide the picture of acquisition .bin files .bin files are the files in development board to be downloaded to, and intercept .bin file, pictures;
Second step establishes index map valut:
The collected all pictures of the first step are stored, under storage to same file folder, are named as index map valut;Often The step of a general picture is downloaded according to visual C++ softwares and Jlink software translatings is named, visual C++ compilings The step of be it is fixed, Jlink download the step of be also fixed, according to these sequence of steps and belong to visual C++ Jlink is still fallen within to name, name format is " number-purposes ", according to this naming rule that all general pictures are whole Name is completed;By each .bin file, pictures according to the naming of .bin files itself;
Third step establishes .bin libraries:
Unified storage is carried out to .bin files using visual C++ softwares, detailed process is:In visual C++ software installations In the process, Setup Wizard can pop up the option in assigned work space, after needing the specified file of user oneself to be used as The working space of storage program file, oneself new folder name visualSpace, then assigned work space is The .bin file consolidations that each compiling is completed are deposited into .bin libraries by visualSpace, with each compiling .c File .bin libraries can all update;
4th step, update index map valut:
The image information for the .bin files being newly added in acquisition .bin libraries, forms new .bin file, pictures, will be new .bin in file, picture information deposit index map valut, whenever there is new file deposit in .bin libraries, it is required for acquisition new .bin files image data, then be stored in index map valut, complete update index map valut;
5th step establishes index path:
Each .bin files have different index paths, according to .bin file maps in the name of .bin files and index map valut The name of piece establishes the index path between .bin files and index map valut, and index path establishes process to visual C++ The operation of software and Jlink softwares is relatively fixed, and is fixed as software index path;After the completion of visual C++ are compiled, The window of visual C++ output results will appear the name for the .c files that current compiling is completed, and visual is intercepted by Python C++ command window pictures, interception way are to carry out sectional drawing using the libraries Python third party library pyautogui, then pass through Python The word on picture is obtained, it is using the libraries third party library pytesseract Python by the word in picture to obtain text mode Text strings are converted to, which includes the current .c file names for wanting compiling, has thus got the name of .c files Word retains the name of .c files, and suffix is changed to .bin to get to the name of .bin files, so set up .bin files with Index path between index map valut, entire index path are also established therewith;
6th step, encapsulation compiling download key:
Program involved by the-the five step of the above-mentioned first step is packaged, graphic interface is created in computer end by python, The libraries Python third party library easygui are imported, after importing the libraries easygui, increase program g.msgbox (), this completes Encapsulation compiling download key.
2. the development board program according to claim 1 based on contiki systems compiles method for down loading, it is characterised in that institute It is qq sectional drawings to state Image Acquisition means in the first step.
CN201810569621.XA 2018-06-05 2018-06-05 Development board program compiling and downloading method based on contiki system Expired - Fee Related CN108762765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810569621.XA CN108762765B (en) 2018-06-05 2018-06-05 Development board program compiling and downloading method based on contiki system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810569621.XA CN108762765B (en) 2018-06-05 2018-06-05 Development board program compiling and downloading method based on contiki system

Publications (2)

Publication Number Publication Date
CN108762765A true CN108762765A (en) 2018-11-06
CN108762765B CN108762765B (en) 2021-05-11

Family

ID=63999955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810569621.XA Expired - Fee Related CN108762765B (en) 2018-06-05 2018-06-05 Development board program compiling and downloading method based on contiki system

Country Status (1)

Country Link
CN (1) CN108762765B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992257A (en) * 2019-03-28 2019-07-09 深圳市创联时代科技有限公司 A kind of method in automatic compiling library
CN110109373A (en) * 2019-04-01 2019-08-09 江南机电设计研究所 A kind of missile guidance control system semi-physical emulation platform automation simulation method
CN113987379A (en) * 2021-10-19 2022-01-28 山东百盟信息技术有限公司 Method and device for optimizing log module Histogram in webpage rendering engine

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281479A (en) * 2008-05-07 2008-10-08 浙江大学 Method for dynamically allocating internal memory for wireless sensing network node operating system
US20120131561A1 (en) * 2010-11-23 2012-05-24 Sap Ag Model-based Programming, Configuration, and Integration of Networked Enbedded Devices
CN104657141A (en) * 2015-02-12 2015-05-27 金光 GUI (Graphic User Interface) software wrapper based on computer vision and implementing method thereof
US9111033B2 (en) * 2012-04-17 2015-08-18 International Business Machines Corporation Compiling source code for debugging with user preferred snapshot locations
CN105138316A (en) * 2015-07-23 2015-12-09 中山大学深圳研究院 Automatic clicking method and device based on super sketchpad
CN105988924A (en) * 2015-02-10 2016-10-05 中国船舶工业综合技术经济研究院 Automatic testing method for non-intrusive type embedded software graphical user interface
CN106569828A (en) * 2016-11-10 2017-04-19 福州智永信息科技有限公司 Method of realizing simulation of touch device manual operation in expandable and customized way
CN107977219A (en) * 2017-11-27 2018-05-01 伟创力电子技术(苏州)有限公司 A kind of automatic burning firmware method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281479A (en) * 2008-05-07 2008-10-08 浙江大学 Method for dynamically allocating internal memory for wireless sensing network node operating system
US20120131561A1 (en) * 2010-11-23 2012-05-24 Sap Ag Model-based Programming, Configuration, and Integration of Networked Enbedded Devices
US9111033B2 (en) * 2012-04-17 2015-08-18 International Business Machines Corporation Compiling source code for debugging with user preferred snapshot locations
CN105988924A (en) * 2015-02-10 2016-10-05 中国船舶工业综合技术经济研究院 Automatic testing method for non-intrusive type embedded software graphical user interface
CN104657141A (en) * 2015-02-12 2015-05-27 金光 GUI (Graphic User Interface) software wrapper based on computer vision and implementing method thereof
CN105138316A (en) * 2015-07-23 2015-12-09 中山大学深圳研究院 Automatic clicking method and device based on super sketchpad
CN106569828A (en) * 2016-11-10 2017-04-19 福州智永信息科技有限公司 Method of realizing simulation of touch device manual operation in expandable and customized way
CN107977219A (en) * 2017-11-27 2018-05-01 伟创力电子技术(苏州)有限公司 A kind of automatic burning firmware method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
F. J. OPPERMANN等: "Design and compilation of an object-oriented macroprogramming language for wireless sensor networks", 《39TH ANNUAL IEEE CONFERENCE ON LOCAL COMPUTER NETWORKS WORKSHOPS》 *
于维 张振东: "ARM应用程序中Makefile文件的自动生成", 《河北工业大学学报》 *
安婷: "UEFI BIOS的自动化测试框架的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
彭连银: "基于Contiki的WSN节点重编程技术研究与设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992257A (en) * 2019-03-28 2019-07-09 深圳市创联时代科技有限公司 A kind of method in automatic compiling library
CN109992257B (en) * 2019-03-28 2022-12-06 深圳市创联时代科技有限公司 Method for automatically compiling library
CN110109373A (en) * 2019-04-01 2019-08-09 江南机电设计研究所 A kind of missile guidance control system semi-physical emulation platform automation simulation method
CN110109373B (en) * 2019-04-01 2022-04-19 江南机电设计研究所 Automatic simulation method for missile guidance control system semi-physical simulation platform
CN113987379A (en) * 2021-10-19 2022-01-28 山东百盟信息技术有限公司 Method and device for optimizing log module Histogram in webpage rendering engine

Also Published As

Publication number Publication date
CN108762765B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
US8966438B2 (en) System and methods for end-users to graphically program and manage computers and devices
US7624375B2 (en) Automatically configuring a graphical user interface element to bind to a graphical program
CN108027722A (en) The dynamically renewal application in compiling and deployment
CN111126781A (en) RPA service flow establishing method and system
CN104714830A (en) System and method for achieving cross-platform application development based on native development language
CN112860260B (en) Web-based cross-platform application construction tool and method in college scene
WO2010113160A1 (en) A method and system for emulating desktop software applications in a mobile communication network
CN103927253A (en) Multiple browser compatibility testing method and system
CN108762765A (en) Development board program based on contiki systems compiles method for down loading
CN111459506B (en) Deep learning platform cluster deployment method and device, medium and electronic equipment
CN110968305A (en) Applet visualization generation method, device, equipment and storage medium
CN107526679A (en) Automated test frame, the automated testing method based on thereon, storage medium and computer equipment
CN108200115A (en) Training apparatus and information management system based on Quick Response Code
CN112988165A (en) Kubernetes-based interactive modeling method and device, electronic equipment and storage medium
CN1963782A (en) Method and system for testing embeded file system
CN104317602B (en) The development approach and device of a kind of mainframe code file
Aviv et al. Cloud infrastructure from python code–breaking the barriers of cloud deployment
CN112988588B (en) Client software debugging method and device, storage medium and electronic equipment
Gordon et al. dinam: A wireless sensor network concept and platform for rapid development
Vanus et al. Development of software tool for operational and technical functions control in the smart home with KNX technology
GB2373349A (en) Data definition language
Schattkowsky et al. Uml model mappings for platform independent user interface design
Abeille et al. State of the Tango controls kernel development in 2019
Darbord et al. Migrating the Communication Protocol of Client–Server Applications
Dalton et al. A file system abstraction and shell interface for a wireless sensor network testbed

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210511