CN108062460B - A kind of embedded software process right management method and device - Google Patents
A kind of embedded software process right management method and device Download PDFInfo
- Publication number
- CN108062460B CN108062460B CN201711143772.0A CN201711143772A CN108062460B CN 108062460 B CN108062460 B CN 108062460B CN 201711143772 A CN201711143772 A CN 201711143772A CN 108062460 B CN108062460 B CN 108062460B
- Authority
- CN
- China
- Prior art keywords
- software
- subroutine
- permission
- main working
- program
- 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.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims abstract description 27
- 230000001360 synchronised effect Effects 0.000 claims description 7
- 230000004308 accommodation Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 8
- 238000004891 communication Methods 0.000 description 14
- 230000007812 deficiency Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
Abstract
The present invention relates to a kind of embedded software process right management methods, including software configuration distribution, software to set five steps such as identification, permission point, execution subroutine operation and permission dynamic adjustment.The method of the present invention is simple, operation and implementation are easy, on the one hand it efficient and convenient can improve to programs at different levels operation authority distribution and manage the needs of operation, and in operation authority distribution management, separately running state of programs at different levels, frequency etc. can be sufficiently combined to run permission adjustment to it, to make to be mutually matched between program operation permission and service efficiency, on the other hand to operation permission be allocated, manage and calling process in, it can effectively improve and reduce main program data processing amount, to achieve the purpose that improve software systems overall operation efficiency.
Description
Technical field
The present invention relates to a kind of embedded software process right management method and devices, belong to computer software technical field.
Background technique
It is all kinds of at present very huge using Embedded computer software usage amount, in order to improve such software in
Data-handling efficiency, improve property easy to use and safety, generally require the master by Embedded computer software
Program is that execution subroutines at different levels distribute corresponding operation permission, is realized with this and execution subroutines at different levels are called and run with progress
Management, but find in actual use, currently when carrying out operation authority setting to execution subroutine, need to operate when often equal
Personnel are operated by main program and are directly allocated for the operation permission of execution subroutines at different levels, although can meet to a certain degree
Needs used, but authority distribution operating efficiency is low, and authority acquiring, adjustment task difficulty is big, flexibility is poor, so as to cause
The operation authority distribution working efficiency and quality of current execution subroutine are relatively poor, while currently carrying out operation authority distribution
In the process, effective monitoring management is lacked to each execution subroutine, to also lead to execution subroutine authority distribution to a certain degree
Matching is poor between actual use, therefore leads to the currently also relative deficiency of the reasonability when carrying out operation authority distribution, removes this
Except, currently when carrying out the operation of operation authority distribution, calling, often it is required to carry out in main program, to also cause
Main program operational efficiency is low, has seriously affected computer software data-handling efficiency and ability, therefore be directed to this
Problem, there is an urgent need to develop a kind of completely new softwares to run authority distribution management method, to meet the needs of actual use.
Summary of the invention
The object of the invention, which is that, overcomes above-mentioned deficiency, provides a kind of embedded software process right management method and dress
It sets.
To achieve the above object, the present invention is to be achieved through the following technical solutions:
A kind of embedded software process right management method, comprising the following steps:
The first step, software configuration distribution are treated operation program structure first and are divided, and be divided into main working program, adjust
It with subprogram, execution subroutine, is then interlinked by main working program by call subroutine and execution subroutine, and described
Execution subroutine at least two and parallel with one another,;
Second step, software set identification, after completing first step operation, are all provided with to each execution subroutine marked off in the first step
Software identification coding, and so that software identification coding is interlinked with execution subroutine the initial segment and ending segment, while software being known
Synchronous image file Bian Ma not be set in call subroutine;
Third step, authority distribution are that each execution subroutine distributes initial launch power by main working program after completing second step
Limit, and by initial launch permission be embedded into software identification coding in it is spare;
4th step, execution subroutine operation after completing third step operation, on the one hand pass through calling by main working program first
Subprogram sends call instruction to corresponding execution subroutine, is then identified and is compiled by software of the call subroutine to execution subroutine
Code information is recognized, and when identifying that the operation permission in coding meets call instruction requirement when software, then by main operation journey
Ordered pair execution subroutine is called, if the operation permission in software identification coding is not able to satisfy call instruction requirement, by
Main working program can not be called execution subroutine;On the other hand when execution subroutine needs to run, actively pass through tune
Operation request command is sent to main working program with subprogram, is then identified and is compiled by software of the main working program to call subroutine
Code mapped file identified, and software identification coding in operation permission meet request command requirement when, then by main operation
Program is called execution subroutine, if the operation permission in software identification coding is not able to satisfy request command requirement,
Execution subroutine can not be called by main working program;
5th step, permission dynamic adjusts, after completing the 4th step operation, on the one hand directly by main working program to currently respectively holding
The operation permission of row subprogram carries out active accommodation;On the other hand each execution subroutine successful operation called by main working program
Frequency is adjusted, and carries out priority ranking from high to low according to each execution subroutine successful operation frequency, and according to preferential
Grade sequence carries out distribution again to the operation permission of each execution subroutine and adjusts.
Further, main working program in the first step, counting subroutine is all provided in call subroutine, in priority
Disconnected subprogram.
Further, in the second step, the software identification coding includes software version information, software check value
Information, software upgrading policy information.
Further, in the third step, after completing initial launch authority distribution, fortune is established in main working program
Row permissions list, and operation permissions list is established in call subroutine and synchronizes image file, then set in call subroutine
At least one retrieval pointer, and referred to by retrieval and carry out chain for permissions list image file and software identification coding image file
It connects.
Further, each operation permission in the operation permissions list is all provided with priority level initializing unit.
Further, the retrieval pointer establishes corresponding synchronous image file in main working program.
Further, in the 4th step, comprising the retrieval in call subroutine in call instruction and request command
Pointer content.
Further, in the 4th step, when invisible permission is not able to satisfy call instruction and request command, right
While corresponding execution subroutine disabling, request command separately is revised to main working program propelling movement permission.
A kind of embedded software process rights management device, including carrying shell, display, operation keyboard, serial communication dress
It sets, wireless communication apparatus and control circuit, carrying shell is airtight cavity structure, and display, operation keyboard are embedded on carrying shell
Surface, serial communication device, wireless communication apparatus and control circuit are embedded in carrying shell, and serial communication device is corresponding holds
Carry side surfaces position and set at least one connecting terminal, control circuit respectively with display, operation keyboard, serial communication device,
Wireless communication apparatus electrical connection.
Further, the control circuit is the circuit structure based on DSP and fpga chip based on any one.
The method of the present invention is simple, and operation and implementation are easy, and on the one hand efficient and convenient can improve to run programs at different levels and weigh
The needs of limit distribution and management operation, and in operation authority distribution management, it separately can sufficiently combine running state of programs at different levels, frequency
Rate etc. runs permission adjustment to it, to make to be mutually matched between program operation permission and service efficiency, on the other hand to operation
Permission is allocated, manage and calling process in, can effectively improve and reduce main program data processing amount, to reach raising
The purpose of software systems overall operation efficiency.
Detailed description of the invention
Fig. 1 is flow diagram of the present invention;
Fig. 2 is embedded software process rights management structure drawing of device.
Specific embodiment
As shown in Figure 1, a kind of embedded software process right management method, comprising the following steps:
The first step, software configuration distribution are treated operation program structure first and are divided, and be divided into main working program, adjust
It with subprogram, execution subroutine, is then interlinked by main working program by call subroutine and execution subroutine, and described
Execution subroutine at least two and parallel with one another,;
Second step, software set identification, after completing first step operation, are all provided with to each execution subroutine marked off in the first step
Software identification coding, and so that software identification coding is interlinked with execution subroutine the initial segment and ending segment, while software being known
Synchronous image file Bian Ma not be set in call subroutine;
Third step, authority distribution are that each execution subroutine distributes initial launch power by main working program after completing second step
Limit, and by initial launch permission be embedded into software identification coding in it is spare;
4th step, execution subroutine operation after completing third step operation, on the one hand pass through calling by main working program first
Subprogram sends call instruction to corresponding execution subroutine, is then identified and is compiled by software of the call subroutine to execution subroutine
Code information is recognized, and when identifying that the operation permission in coding meets call instruction requirement when software, then by main operation journey
Ordered pair execution subroutine is called, if the operation permission in software identification coding is not able to satisfy call instruction requirement, by
Main working program can not be called execution subroutine;On the other hand when execution subroutine needs to run, actively pass through tune
Operation request command is sent to main working program with subprogram, is then identified and is compiled by software of the main working program to call subroutine
Code mapped file identified, and software identification coding in operation permission meet request command requirement when, then by main operation
Program is called execution subroutine, if the operation permission in software identification coding is not able to satisfy request command requirement,
Execution subroutine can not be called by main working program;
5th step, permission dynamic adjusts, after completing the 4th step operation, on the one hand directly by main working program to currently respectively holding
The operation permission of row subprogram carries out active accommodation;On the other hand each execution subroutine successful operation called by main working program
Frequency is adjusted, and carries out priority ranking from high to low according to each execution subroutine successful operation frequency, and according to preferential
Grade sequence carries out distribution again to the operation permission of each execution subroutine and adjusts.
In the present embodiment, main working program in the first step is all provided with counting subroutine, priority in call subroutine
Interruption subroutine.
In the present embodiment, in the second step, the software identification coding includes software version information, software check
Value information, software upgrading policy information.
In the present embodiment, in the third step, after completing initial launch authority distribution, established in main working program
Permissions list is run, and operation permissions list is established in call subroutine and synchronizes image file, then in call subroutine
If at least one retrieval pointer, and referred to by retrieval and carried out for permissions list image file and software identification coding image file
Link.
In the present embodiment, each operation permission in the operation permissions list is all provided with priority level initializing unit.
In the present embodiment, the retrieval pointer establishes corresponding synchronous image file in main working program.
In the present embodiment, in the 4th step, comprising the inspection in call subroutine in call instruction and request command
Suo Zhizhen content.
In the present embodiment, in the 4th step, when invisible permission is not able to satisfy call instruction and request command,
While to corresponding execution subroutine disabling, request command separately is revised to main working program propelling movement permission.
As shown in Fig. 2, a kind of embedded software process rights management device, including carrying shell 1, display 2, operation keyboard
3, serial communication device 4, wireless communication apparatus 5 and control circuit 6, carrying shell 1 are airtight cavity structure, display 2, operation key
Embedded in carrying 1 upper surface of shell, serial communication device 4, wireless communication apparatus 5 and electric 6 tunnels of control are embedded in carrying shell 1 disk 3,
And the corresponding 1 side surface position of carrying shell of serial communication device 4 sets at least one connecting terminal 7, control circuit respectively with display
Device 2, operation keyboard 3, serial communication device 4, wireless communication apparatus 5 are electrically connected.
In the present embodiment, the control circuit 6 is the circuit knot based on DSP and fpga chip based on any one
Structure.
The method of the present invention is simple, and operation and implementation are easy, and on the one hand efficient and convenient can improve to run programs at different levels and weigh
The needs of limit distribution and management operation, and in operation authority distribution management, it separately can sufficiently combine running state of programs at different levels, frequency
Rate etc. runs permission adjustment to it, to make to be mutually matched between program operation permission and service efficiency, on the other hand to operation
Permission is allocated, manage and calling process in, can effectively improve and reduce main program data processing amount, to reach raising
The purpose of software systems overall operation efficiency.
The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this
The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.
Claims (8)
1. a kind of embedded software process right management method, it is characterised in that: the embedded software process rights management
Method the following steps are included:
The first step, software configuration distribution are treated operation program structure first and are divided, and be divided into main working program, call son
Then program, execution subroutine are interlinked by main working program by call subroutine and execution subroutine, and described hold
Row subprogram at least two is simultaneously parallel with one another;
Second step, software set identification, after completing first step operation, are all provided with software to each execution subroutine marked off in the first step
Identification coding, and so that software identification coding is interlinked with execution subroutine the initial segment and ending segment, while software being identified and is compiled
Code sets synchronous image file in call subroutine;
Third step, authority distribution are that each execution subroutine distributes initial launch permission by main working program after completing second step,
And initial launch permission is embedded into spare in software identification coding;
4th step, execution subroutine operation, after completing third step operation, on the one hand first by main working program by calling sub- journey
The corresponding execution subroutine of ordered pair sends call instruction, then by call subroutine to the software identification coding letter of execution subroutine
Breath is recognized, and when identifying that the operation permission in coding meets call instruction requirement when software, then by main working program pair
Execution subroutine is called, if the operation permission in software identification coding is not able to satisfy call instruction requirement, by main fortune
Line program can not be called execution subroutine;On the other hand when execution subroutine needs to run, actively by calling son
Program sends operation request command to main working program, is then reflected by software identification coding of the main working program to call subroutine
It penetrates file to be identified, and when software identifies that the operation permission in coding meets request command requirement, then by main working program
Execution subroutine is called, if the operation permission in software identification coding is not able to satisfy request command requirement, by leading
Operation program can not be called execution subroutine;
5th step, permission dynamic adjusts, and after completing the 4th step operation, on the one hand directly respectively executes son to current by main working program
The operation permission of program carries out active accommodation;On the other hand each execution subroutine successful operation frequency called by main working program
It is adjusted, and carries out priority ranking from high to low according to each execution subroutine successful operation frequency, and arrange according to priority
The operation permission of each execution subroutine of ordered pair carries out distribution adjustment again.
2. a kind of embedded software process right management method and device stated according to claim 1, it is characterised in that: described
Main working program in the first step is all provided with counting subroutine, Priority interrupt subprogram in call subroutine.
3. a kind of embedded software process right management method and device stated according to claim 1, it is characterised in that: described
In second step, the software identification coding includes software version information, software check value information, software upgrading policy information.
4. a kind of embedded software process right management method and device stated according to claim 1, it is characterised in that: described
In third step, after completing initial launch authority distribution, operation permissions list is established in main working program, and permission will be run
List establishes synchronous image file in call subroutine, at least one retrieval pointer is then set in call subroutine, and pass through
Retrieval refers to be linked for permissions list image file and software identification coding image file.
5. a kind of embedded software process right management method and device stated according to claim 4, it is characterised in that: described
Each operation permission in operation permissions list is all provided with priority level initializing unit.
6. a kind of embedded software process right management method and device stated according to claim 4, it is characterised in that: described
Retrieval pointer establishes corresponding synchronous image file in main working program.
7. according to claim 1 or the 4 a kind of embedded software process right management methods and device stated, it is characterised in that: institute
In the 4th step stated, comprising the retrieval pointer content in call subroutine in call instruction and request command.
8. a kind of embedded software process right management method and device stated according to claim 1, it is characterised in that: described
It is same being disabled to corresponding execution subroutine when invisible permission is not able to satisfy call instruction and request command in 4th step
When, separately request command is revised to main working program propelling movement permission.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711143772.0A CN108062460B (en) | 2017-11-17 | 2017-11-17 | A kind of embedded software process right management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711143772.0A CN108062460B (en) | 2017-11-17 | 2017-11-17 | A kind of embedded software process right management method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108062460A CN108062460A (en) | 2018-05-22 |
CN108062460B true CN108062460B (en) | 2019-03-19 |
Family
ID=62135795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711143772.0A Active CN108062460B (en) | 2017-11-17 | 2017-11-17 | A kind of embedded software process right management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108062460B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102456175A (en) * | 2010-10-26 | 2012-05-16 | 镇江精英软件科技有限公司 | Software development process management method |
CN202652200U (en) * | 2012-05-30 | 2013-01-02 | 昆明聚讯科技有限公司 | Wireless control querier for recording hand-held interphone |
CN106874713A (en) * | 2017-01-09 | 2017-06-20 | 广东小天才科技有限公司 | A kind of application program runs right management method and device, user equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8719954B2 (en) * | 2006-10-11 | 2014-05-06 | Bassilic Technologies Llc | Method and system for secure distribution of selected content to be protected on an appliance-specific basis with definable permitted associated usage rights for the selected content |
KR101207434B1 (en) * | 2009-06-10 | 2012-12-03 | 주식회사 마크애니 | System and Method for Preventing Collision Between Different Digital Documents Protection System |
US8863241B2 (en) * | 2011-02-08 | 2014-10-14 | Michael Ratiner | System and method for managing usage rights of software applications |
CN104182029B (en) * | 2014-08-25 | 2018-08-24 | 酷派软件技术(深圳)有限公司 | Program invocation time setting method, program invocation time setting device and terminal |
-
2017
- 2017-11-17 CN CN201711143772.0A patent/CN108062460B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102456175A (en) * | 2010-10-26 | 2012-05-16 | 镇江精英软件科技有限公司 | Software development process management method |
CN202652200U (en) * | 2012-05-30 | 2013-01-02 | 昆明聚讯科技有限公司 | Wireless control querier for recording hand-held interphone |
CN106874713A (en) * | 2017-01-09 | 2017-06-20 | 广东小天才科技有限公司 | A kind of application program runs right management method and device, user equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108062460A (en) | 2018-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109101318B (en) | Virtual machine migration control method and device | |
US9310413B2 (en) | Monitoring power source redundancy via a power distribution unit | |
CN105677404A (en) | Zookeeper based configuration updating method and device | |
CN103927256A (en) | Method for controlling multiple Android devices | |
CN108247632A (en) | A kind of cooperation robot control system based on ROS | |
CN109766172A (en) | A kind of asynchronous task scheduling method and device | |
US20200092313A1 (en) | Data determination device, data determination method, and data determination program | |
CN104580194A (en) | Virtual resource management method and device oriented to video applications | |
CN109597810A (en) | A kind of task cutting method, device, medium and electronic equipment | |
CN108062460B (en) | A kind of embedded software process right management method and device | |
CN105242954A (en) | Mapping method between virtual CPUs (Central Processing Unit) and physical CPUs, and electronic equipment | |
CN115080209A (en) | System resource scheduling method and device, electronic equipment and storage medium | |
CN109729506A (en) | Service buffer mthods, systems and devices | |
CN114742000A (en) | SoC chip verification system, verification method and device based on FPGA cluster | |
CN107942753B (en) | Communication framework and communication method for software of robot and terminal equipment | |
CN113791867A (en) | Method and application for adjusting KVM virtual machine service process priority | |
CN108052343A (en) | The method and apparatus of Software Development Tools code issue | |
CN108536527A (en) | A kind of method for scheduling task and device of embedded software | |
CN116526704A (en) | Multi-device self-adaptive wireless charging method, device, equipment and storage medium | |
CN107968702A (en) | Control system | |
CN106294230A (en) | A kind of method extending RMC and middle plate communication secondary command | |
CN108491483A (en) | A kind of method and apparatus of remote supervisor operating status | |
CN115617511A (en) | Resource data processing method and device, electronic equipment and storage medium | |
US10257050B2 (en) | Data center cable identification | |
CN107911542A (en) | A kind of mobile phone throws screen method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190203 Address after: 518000 Yutian Community, Nanyuan Street, Futian District, Shenzhen City, Guangdong Province, 1001 Shangbu South Road, 1005 Jinfeng Building, Block A, 8B-1 Applicant after: Shenzhen Yida Hengtong Supply Chain Management Co., Ltd. Address before: 211100 two, B unit 300, Zhihui Road, Kirin science and Technology Innovation Park, Jiangning District, Nanjing, Jiangsu. Applicant before: Nanjing world Qi Xuan Source Software Technology Co. Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |