CN108549555A - Processing method, embedded system device and the storage medium of customized software - Google Patents
Processing method, embedded system device and the storage medium of customized software Download PDFInfo
- Publication number
- CN108549555A CN108549555A CN201810319411.5A CN201810319411A CN108549555A CN 108549555 A CN108549555 A CN 108549555A CN 201810319411 A CN201810319411 A CN 201810319411A CN 108549555 A CN108549555 A CN 108549555A
- Authority
- CN
- China
- Prior art keywords
- customized
- software
- code
- storage address
- processing method
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 38
- 230000008859 change Effects 0.000 claims abstract description 14
- 238000000605 extraction Methods 0.000 claims abstract description 8
- 238000012545 processing Methods 0.000 claims description 22
- 238000012795 verification Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 7
- 230000005764 inhibitory process Effects 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 4
- 238000013507 mapping Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 12
- 230000004048 modification Effects 0.000 abstract description 5
- 238000012986 modification Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 8
- 238000011161 development Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010304 firing Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of processing method, embedded system device and the storage medium of customized software, the method includes:Embedded system device obtains customized software, and the customized software is divided into customized code and non-customizedization code;Create the customized memory block that preset interface is communicated with the non-customizedization code;Write instruction is received, the interface message in extraction said write instruction searches corresponding target storage address according to the interface message in the customized memory block;The customized code is written according to the target storage address, and puts on default label, to carry out the load of target software by the default label.The present invention is by being divided into modification part by customized software and can not change part, and the part of changing is managed by subregion and puts on default label, client can carry out the use of software by loading the subregion, to ensure the independence of customized software.
Description
Technical field
The present invention relates to field of software development more particularly to a kind of processing method, the embedded system of customized software to set
Standby and storage medium.
Background technology
Embedded application software is to be directed to specific application area, a certain fixed hardware platform is based on, for reaching user
The computer software of target.Due to the requirement in the possible having time of user task and precision, some Embedded Applications
Software needs the support of specific embedded OS.Embedded application software and normal application software have certain difference, it
The needs that its accuracy, safety and stability etc. disclosure satisfy that practical application are not required nothing more than, but also will be as much as possible
It optimizes, to reduce the consumption to system resource, reduces hardware cost.
In the prior art, developer carries out embedded software developing and is generally basede on Linux or Android (Android) system
System, system itself is provided is divided into different size of region by flash memory (Flash), and carries out carry use according to function, but nothing
Method distinguishes the exploitation software in customized memory block according to client, to ensure to develop the independence of software.
Invention content
It is a primary object of the present invention to propose a kind of processing method, embedded system device and the storage of customized software
Medium, it is intended to solve customized software can not be distinguished in the prior art the technical issues of.
To achieve the above object, the processing method of a kind of customized software provided by the invention, the customized software
Processing method includes the following steps:
Embedded system device obtains customized software, and the customized software is divided into customized code and non-customizedization
Code;
Create the customized memory block that is communicated with the non-customizedization code of preset interface, and by the customized generation
Code is converted into default general format;
Receive write instruction, the interface message in extraction said write instruction, according to the interface message described customized
Change in memory block and searches corresponding target storage address;
The customized code is written into the customized memory block according to the target storage address, and to write-in after
Customized code puts on default label, to carry out the load of target software by the default label.
It is preferably, described that the customized code is written by the customized memory block according to the target storage address,
And default label is put on to the customized code after write-in, to carried out by the default label target software load it
Before, the processing method of the customized software further includes:
It obtains and presets storage address, the target storage address is verified according to the default storage address, is being tested
After demonstrate,proving successfully, the step that the customized code is written to the customized memory block according to the target storage address is executed
Suddenly.
Preferably, the acquisition goal-selling storage address, deposits the target according to the goal-selling storage address
Storage address is verified, and after a successful authentication, executes and institute is written in the customized code according to the target storage address
The step of stating customized memory block specifically includes:
The user tag information in the reception write instruction is extracted, is reflected in preset relation according to the user tag information
Default storage address corresponding with the user tag information is searched in firing table, by the default storage address and target storage
Location is compared, and when comparison result is consistent, the visitor is written in the customized code according to the target storage address
Inhibition and generation memory block.
It is preferably, described that the customized code is written by the customized memory block according to the target storage address,
And default label is put on to the customized code after write-in, to carry out the load of target software, tool by the default label
Body includes:
The private key in the customized code is extracted, the customized code is encrypted according to the private key, will be added
Customized code puts on default label after close, to carry out the load of target software by the default label.
Preferably, the private key in the extraction customized code, according to the private key to the customized code into
Row encryption, default label is put on by customized code after encryption, to carry out the load of target software by the default label
Later, the processing method of the customized software further includes:
Instruction is loaded in response to the software that client is sent, is carried from default storage region according to software load instruction
Public key is taken, the encrypted customized code in customized memory block is verified according to the public key, is in verification result
After being proved to be successful, authorized client loads target software according to the default label.
Preferably, the software sent in response to client loads instruction, is instructed from default according to software load
Public key is extracted in storage region, and the encrypted customized code in customized memory block is verified according to the public key,
It is described customized before authorized client is according to the default label load target software after verification result is to be proved to be successful
Change software processing method further include:
The public key for receiving client preserves instruction, and preserving instruction according to the public key preserves the public key.
Preferably, the embedded system device obtains customized software, and the customized software is divided into customized generation
Code and non-customizedization code, specifically include:
Embedded system device obtains customized software, and the customized software is compared with pre-set code, according to
The customized software is divided into customized code and non-customizedization code by comparison result.
In addition, to achieve the above object, the present invention also provides a kind of embedded system device, the embedded system device
Including:Memory, processor and the place for being stored in the customized software that can be run on the memory and on the processor
Program is managed, the processing routine of the customized software is arranged for carrying out the step of the processing method of customized software as described above
Suddenly.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, is stored on the storage medium customized
The processing routine for changing software realizes as described above customized when the processing routine of the customized software is executed by processor
The step of processing method of software.
The processing method of customized software provided by the invention, the present invention by by customized software be divided into modification part and
Part can not be changed, and the part of changing is managed by subregion and is put on default label, client can pass through load
The subregion carries out the use of software, to ensure the independence of customized software.
Description of the drawings
Fig. 1 is the embedded system device structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the processing method first embodiment of the customized software of the present invention;
Fig. 3 is the system structure diagram after subregion of the present invention;
Fig. 4 is the flow diagram of the processing method second embodiment of the customized software of the present invention;
Fig. 5 is the flow diagram of the processing method 3rd embodiment of the customized software of the present invention;
Fig. 6 is the flow diagram of the processing method fourth embodiment of the customized software of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is that the embedded system device structure for the hardware running environment that the embodiment of the present invention is related to is shown
It is intended to.
As shown in Figure 1, the embedded system device may include:Processor 1001, such as CPU, communication bus 1002 are used
Family interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the company between these components
Connect letter.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), can be selected
Family interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally standard
Wireline interface, wireless interface (such as WIFI interface).Memory 1005 can be high-speed RAM memory, can also be stable deposit
Reservoir (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned place
Manage the storage device of device 1001.
It will be understood by those skilled in the art that embedded system device structure shown in Fig. 1 is not constituted to embedded
The restriction of system equipment may include either combining certain components or different components than illustrating more or fewer components
Arrangement.
In embedded system device shown in Fig. 1, network interface 1004 is mainly used for connecting network, with network into line number
According to communication;User interface 1003 is mainly used for connecting terminal, with terminal into row data communication;Embedded system device of the present invention is logical
The processing routine that processor 1001 calls the customized software stored in memory 1005 is crossed, and executes following operation:
Customized software is obtained, the customized software is divided into customized code and non-customizedization code;
Create the customized memory block that is communicated with the non-customizedization code of preset interface, and by the customized generation
Code is converted into default general format;
Receive write instruction, the interface message in extraction said write instruction, according to the interface message described customized
Change in memory block and searches corresponding target storage address;
The customized code is written into the customized memory block according to the target storage address, and to write-in after
Customized code puts on default label, to carry out the load of target software by the default label.
Further, processor 1001 can call the processing routine of the customized software stored in memory 1005, also
Execute following operation:
It obtains and presets storage address, the target storage address is verified according to the default storage address, is being tested
After demonstrate,proving successfully, the step that the customized code is written to the customized memory block according to the target storage address is executed
Suddenly.
Further, processor 1001 can call the processing routine of the customized software stored in memory 1005, also
Execute following operation:
The user tag information in the reception write instruction is extracted, is reflected in preset relation according to the user tag information
Default storage address corresponding with the user tag information is searched in firing table, by the default storage address and target storage
Location is compared, and when comparison result is consistent, the visitor is written in the customized code according to the target storage address
Inhibition and generation memory block.
Further, processor 1001 can call the processing routine of the customized software stored in memory 1005, also
Execute following operation:
The private key in the customized code is extracted, the customized code is encrypted according to the private key, will be added
Customized code puts on default label after close, to carry out the load of target software by the default label.
Further, processor 1001 can call the processing routine of the customized software stored in memory 1005, also
Execute following operation:
Instruction is loaded in response to the software that client is sent, is carried from default storage region according to software load instruction
Public key is taken, the encrypted customized code in customized memory block is verified according to the public key, is in verification result
After being proved to be successful, authorized client loads target software according to the default label.
Further, processor 1001 can call the processing routine of the customized software stored in memory 1005, also
Execute following operation:
The public key for receiving client preserves instruction, and preserving instruction according to the public key preserves the public key.
Further, processor 1001 can call the processing routine of the customized software stored in memory 1005, also
Execute following operation:
Embedded system device obtains customized software, and the customized software is compared with pre-set code, according to
The customized software is divided into customized code and non-customizedization code by comparison result.
The processing method of the customized software provided in this embodiment, by by customized software be divided into modification part and
Part can not be changed, and the part of changing is managed by subregion and is put on default label, client can pass through load
The subregion carries out the use of software, to ensure the independence of customized software.
Based on Fig. 1 hardware configurations, the processing method embodiment of the customized software of the present invention is proposed.
With reference to Fig. 2, Fig. 2 is the flow diagram of the processing method first embodiment of the customized software of the present invention.
In the first embodiment, the processing method of the customized software includes the following steps:
Step S10, embedded system device obtain customized software, by the customized software be divided into customized code and
Non-customizedization code.
It should be noted that the embedded system device can be the equipment for being mounted with embedded system, it is described embedded
System can be Linux system or Android system, can be also other embedded systems, the present embodiment is not restricted this, described embedding
Storage region can be divided into different regions, including customized memory block and non-customizedization memory block by embedded system.
The non-customizedization memory block is the subregion for storing software generic code in currently stored Division, can be incited somebody to action
Versatility code is stored in the non-customizedization memory block, so as to make developer use, avoids repeating opening for versatility code
Hair saves development efficiency, such as the Software Development Kit (Software Development Kit, SDK) of Google products.
It is understood that the embedded device obtains customized software, customized software, example can be obtained by instructing
Can also be by specific if developer selects corresponding non-customizedization memory block to carry out software development by Software Development Platform
Start software development using interface, can also be the exploitation instruction of other forms Input Software, the present embodiment not be restricted this.
Step S20 creates the customized memory block that preset interface is communicated with the non-customizedization code, and will be described
Customized code is converted into default general format.
In the concrete realization, customized storage region non-customizedization memory block is associated by preset interface, into
When row software development, without carrying out writing for software generic code, and it can directly utilize the software in non-customizedization memory block logical
With code, the design of non-customizedization software is carried out in customized memory block by corresponding interface, to improve software development
Efficiency.
It is understood that in the present embodiment, software generic code is standardized by the non-customizedization memory block,
To can be communicated with customized memory block by preset interface, so as to make customized software function realization.
Fig. 3 is the system structure diagram after subregion, and flash memory progress subregion is divided into customized memory block and non-visitor by system
Inhibition and generation memory block, wherein customer data area is customized memory block, and non-customizedization memory block includes user data, browser text
Part, root file, kernel file and System guides file etc. can not change software section, and customer data area can be carried out by client
Subregion, such as the light emitting diode (Light Emitting Diode, LED) of customization control file, start script, is general
Input/output controls and downloads in the air file etc..
Step S30, receives write instruction, and the interface message in extraction said write instruction exists according to the interface message
Corresponding target storage address is searched in the customized memory block.
It should be noted that said write instructs, can be software platform interface input source of the developer by terminal device
Program in machine code can also be to carry out code transfer by serial ports, can also be that other access form the present embodiment are not restricted this.
It is understood that when client carries out software development by Software Development Platform, software platform can be to exploitation visitor
Family authorizes fixed address, software storage is carried out by the fixed address, for example, in customized memory block, by storage
Location 00001F-00128F gives client A and uses, and storage address 00129F-00256F, which is given client B, to be used.
In the concrete realization, by extracting storage address in incoming instruction, according to the storage address customized
Corresponding address is found in memory block, and is developed accordingly by described address, to realize the independence of software development
Property.
In order to realize the stability of software development, in the present embodiment, software is carried out in corresponding memory block by client
Exploitation, on the basis of not influencing other clients and developing, realize the exploitation of customized software.
According to the target storage address the customized memory block is written in the source code by step S40, and to write-in
Source code afterwards puts on default label, to generate target software.
It should be noted that described, to put on default label can be to carry out subregion to the source code of write-in, can also be to described
Source code is signed, and can also be handled by other means the source code, to the source code of other clients into
Row is distinguished, and the present embodiment is not restricted this, in the present embodiment, is illustrated by way of signing to source code.
In the concrete realization, the corresponding subregion of customized software is subjected to independent burning by way of burning, passes through burning
Device is recorded, the corresponding subregion of independent burning forms the software of developer, to can guarantee the independence of software.
It is understood that corresponding subregion is carried out independent burning, and the subregion mark for passing through burning by burning instruction
Upper default label, so as to form customized software, client can carry out software load by loading corresponding subregion, to realize
Develop the efficiency of software.Such as client development Google voice assistant (Google Assistant) product, Google can provide soft
Part development kit (Software Development Kit, SDK), this part is exactly fixed program, is to belong to repair
Change part, be stored in non-customizedization memory block, the part in order to be adapted to Google SDK is exactly non-customizedization content, is stored in visitor
Inhibition and generation memory block can be managed by branch, and provide general interface, and exploitation use is carried out to all clients.
The customer data area for continuing the customized software of storage as shown in Figure 3, by customer data area foundation visitor
Family demand is individually developed, and the software of burning formation client is carried out after the corresponding subregion of exploitation client, soft to realize
LED control files in the independence of part, such as customer data area etc..
It should be noted that the subregion after burning can also be put on to default label, the default label can be to write-in
Customized code carries out subregion, can also be to sign to the customized code, can also be by other means to described customized
Change code to be handled, to distinguish with the customized code of other clients, the present embodiment is not restricted this, in this reality
It applies in example, is illustrated by way of signing to customized code.
The processing method of the customized software provided in this embodiment, by by customized software be divided into modification part and
Part can not be changed, and the part of changing is managed by subregion and is put on default label, client can pass through load
The subregion carries out the use of software, to ensure the independence of customized software.
Further, as shown in figure 4, proposing that the processing method second of the customized software of the present invention is real based on first embodiment
Example is applied, in the present embodiment, before the step S40, the processing method of the customized software further includes:
Step S401 is obtained and is preset storage address, carried out to the target storage address according to the default storage address
Verification is executed and customized is deposited according to the target storage address by the customized code write-in is described after a successful authentication
The step of storage area.
It is understood that when client carries out software development by Software Development Platform, software platform can be to exploitation visitor
Family authorizes fixed address, software storage is carried out by the fixed address, for example, in customized memory block, by storage
Location 00001F-00128F gives client A and uses, and storage address 00129F-00256F, which is given client B, to be used.
In the concrete realization, by extracting storage address in incoming instruction, according to the storage address customized
Corresponding address is found in memory block, and is developed accordingly by described address, to realize the independence of software development
Property.
In order to realize the stability of software development, in the present embodiment, software is carried out in corresponding memory block by client
Exploitation, on the basis of not influencing other clients and developing, realize the exploitation of customized software.
Further, the step S401, specifically includes:
Step S402 extracts the user tag information received in write instruction, is existed according to the user tag information
Corresponding with the user tag information default storage address is searched in preset relation mapping table, by the default storage address and
Target storage address is compared, when comparison result is consistent, according to the target storage address by the customized code
The customized memory block is written.
In the present embodiment, client by development platform to the source code subregion of write-in after, source code is written
When the writing address authorized can be written in the source code, such as storage address 00001F-00128F given into client A into enforcement
With, and client B can only be given for storage address 00129F-00256F and used, therefore, have in default storage region
Address mapping relations corresponding with client's can be searched in mapping relations by the address that client is written, be verified whether
It can not be written, phase for the corresponding authorized address of client if the storage address of write-in is the storage address of other clients
Instead, when address validation is correct, then source code can be written, to ensure the independence of software development.
When being stored to the source code of client's write-in in the present embodiment, the address of the write-in of client is verified,
After being proved to be successful, customized memory block is written into the source code, to ensure the independence of software development.
Further, as shown in figure 5, proposing the place of the customized software of the present invention based on the first embodiment or the second embodiment
Reason method 3rd embodiment, is illustrated with being based on first embodiment, in the present embodiment, specific to wrap after the step S40
It includes:
Step S403 extracts the private key in the customized code, is carried out to the customized code according to the private key
Encryption, default label is put on by customized code after encryption, to carry out the load of target software by the default label.
Further, after the step S403, the processing method of the customized software further includes:
Step S404 loads instruction in response to the software that client is sent, and is deposited from default according to software load instruction
Storage area extracts public key in domain, is verified to the encrypted customized code in customized memory block according to the public key,
Verification result is after being proved to be successful, and authorized client loads target software according to the default label.
Further, before the step S404, the processing method of the customized software further includes:
Step S405, the public key for receiving client preserve instruction, and preserving instruction according to the public key carries out the public key
It preserves.
It should be noted that signature is divided into public key and private key, private key can be used for the encryption of software partition, and public key is for confirming
Whether software partition is correct, is burnt in software, is verified in start-up course, and each client provides corresponding private key encryption
Then public key is stored in predeterminated position by preset instructions, such as is instructed by ADB and be put into software public key by corresponding subregion
Specified position, the position are obtained when software loads subregion, and the subregion can be loaded after successful match.
In the concrete realization, in order to ensure safety, ADB, which is instructed, to be deleted in next step, avoid being changed by other people
Software content, to ensure the safety of software.
The present embodiment can be verified load subregion by public key and private key, be proved to be successful it when loading subregion
Afterwards, illustrate that the software loaded in subregion is not changed, to ensure the safety of subregion load.
Further, as shown in fig. 6, implementing the processing of the customized software of the proposition present invention based on first embodiment or second
Method fourth embodiment, in the present embodiment, the step S10 is specifically included:
Step S101, embedded system device obtain customized software, and the customized software and pre-set code are carried out
Compare, the customized software is divided by customized code and non-customizedization code according to comparison result.
It should be noted that the pre-set code is that can change software or can not change software, to according to software
Type distinguishes each software, and can not change software according to differentiation result and be stored in non-customizedization memory block, wherein
The software that can not change is software generic code, and client can be reduced pair when for that can not change software and carry out software development
Non-customizedization software rewrites, to improve software development efficiency.
In the concrete realization, software generic code can be pre-stored in open by the administrative staff of the platform based on software development
It sends out in platform, developer carries out online by searching for corresponding software generic code according to the software generic code found
Software development.
The present embodiment passes through software by the way that software generic code to be stored in advance in Software Development Platform, in developer
When development platform carries out software development, without carrying out writing for software generic code, directly using in non-customizedization memory block
Software generic code carries out software development.
In addition, the embodiment of the present invention also proposes a kind of storage medium, customized software is stored on the storage medium
Following operation is realized when the processing routine of processing routine, the customized software is executed by processor:
Customized software is obtained, the customized software is divided into customized code and non-customizedization code;
Create the customized memory block that is communicated with the non-customizedization code of preset interface, and by the customized generation
Code is converted into default general format;
Receive write instruction, the interface message in extraction said write instruction, according to the interface message described customized
Change in memory block and searches corresponding target storage address;
The customized code is written into the customized memory block according to the target storage address, and to write-in after
Customized code puts on default label, to carry out the load of target software by the default label.
Further, following operation is also realized when the processing routine of the customized software is executed by processor:
It obtains and presets storage address, the target storage address is verified according to the default storage address, is being tested
After demonstrate,proving successfully, the step that the customized code is written to the customized memory block according to the target storage address is executed
Suddenly.
Further, following operation is also realized when the processing routine of the customized software is executed by processor:
The user tag information in the reception write instruction is extracted, is reflected in preset relation according to the user tag information
Default storage address corresponding with the user tag information is searched in firing table, by the default storage address and target storage
Location is compared, and when comparison result is consistent, the visitor is written in the customized code according to the target storage address
Inhibition and generation memory block.
Further, following operation is also realized when the processing routine of the customized software is executed by processor:
The private key in the customized code is extracted, the customized code is encrypted according to the private key, will be added
Customized code puts on default label after close, to carry out the load of target software by the default label.
Further, following operation is also realized when the processing routine of the customized software is executed by processor:
Instruction is loaded in response to the software that client is sent, is carried from default storage region according to software load instruction
Public key is taken, the encrypted customized code in customized memory block is verified according to the public key, is in verification result
After being proved to be successful, authorized client loads target software according to the default label.
Further, following operation is also realized when the processing routine of the customized software is executed by processor:
The public key for receiving client preserves instruction, and preserving instruction according to the public key preserves the public key.
Further, following operation is also realized when the processing routine of the customized software is executed by processor:
Embedded system device obtains customized software, and the customized software is compared with pre-set code, according to
The customized software is divided into customized code and non-customizedization code by comparison result.
The processing method of the customized software provided in this embodiment, by by customized software be divided into modification part and
Part can not be changed, and the part of changing is managed by subregion and is put on default label, client can pass through load
The subregion carries out the use of software, to ensure the independence of customized software.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the unit claims listing several devices, several in these devices can be by same hard
Part item embodies.The use of word first, second, and third does not indicate that any sequence.These words can be explained
For title.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, terminal device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Equivalent structure or equivalent flow shift made by specification and accompanying drawing content is applied directly or indirectly in other phases
The technical field of pass, is included within the scope of the present invention.
Claims (9)
1. a kind of processing method of customized software, which is characterized in that the processing method of the customized software includes following step
Suddenly:
Embedded system device obtains customized software, and the customized software is divided into customized code and non-customizedization generation
Code;
The customized memory block that preset interface is communicated with the non-customizedization code is created, and the customized code is turned
Turn to default general format;
Write instruction is received, the interface message in extraction said write instruction customized is deposited according to the interface message described
Corresponding target storage address is searched in storage area;
The customized memory block is written into the customized code according to the target storage address, and to customized after write-in
Change code and put on default label, to carry out the load of target software by the default label.
2. the processing method of customized software as described in claim 1, which is characterized in that described according to the target storage
The customized memory block is written in the customized code by location, and puts on default label to the customized code after write-in, from
And before carrying out the load of target software by the default label, the processing method of the customized software further includes:
Obtain preset storage address, the target storage address is verified according to the default storage address, verification at
After work(, the step of customized code is written by the customized memory block according to the target storage address is executed.
3. the processing method of customized software as claimed in claim 2, which is characterized in that the acquisition goal-selling storage
The target storage address is verified according to the goal-selling storage address in location, after a successful authentication, executes basis
The step of customized memory block is written in the customized code by the target storage address, specifically includes:
The user tag information in the reception write instruction is extracted, according to the user tag information in preset relation mapping table
It is middle to search corresponding with the user tag information default storage address, by the default storage address and target storage address into
Row compares, according to the target storage address that the customized code write-in is described customized when comparison result is consistent
Memory block.
4. the processing method of customized software as claimed any one in claims 1 to 3, which is characterized in that described according to institute
It states target storage address and the customized memory block is written into the customized code, and the customized code after write-in is put on
Default label specifically includes to carry out the load of target software by the default label:
The private key in the customized code is extracted, the customized code is encrypted according to the private key, after encryption
Customized code puts on default label, to carry out the load of target software by the default label.
5. the processing method of customized software as claimed in claim 4, which is characterized in that the extraction customized code
In private key, the customized code is encrypted according to the private key, customized code after encryption is put on into default label,
After load to carry out target software by the default label, the processing method of the customized software further includes:
Instruction is loaded in response to the software that client is sent, is extracted from default storage region according to software load instruction public
Key verifies the encrypted customized code in customized memory block according to the public key, is verification in verification result
After success, authorized client loads target software according to the default label.
6. the processing method of customized software as claimed in claim 5, which is characterized in that described to send in response to client
Software load instruction extracts public key, according to the public key to customized according to software load instruction from default storage region
The encrypted customized code changed in memory block is verified, after verification result is to be proved to be successful, authorized client root
Before the default label load target software, the processing method of the customized software further includes:
The public key for receiving client preserves instruction, and preserving instruction according to the public key preserves the public key.
7. the processing method of customized software as claimed any one in claims 1 to 3, which is characterized in that described embedded
System equipment obtains customized software, and the customized software is divided into customized code and non-customizedization code, is specifically included:
Embedded system device obtains customized software, and the customized software is compared with pre-set code, according to comparing
As a result the customized software is divided into customized code and non-customizedization code.
8. a kind of embedded system device, which is characterized in that the embedded system device includes:It memory, processor and deposits
The processing routine for the customized software that can be run on the memory and on the processor is stored up, the customized software
Processing routine is arranged for carrying out the step of processing method of the customized software as described in any one of claim 1 to 7.
9. a kind of storage medium, which is characterized in that be stored with the processing routine of customized software, the visitor on the storage medium
Realizing the customized software as described in any one of claim 1 to 7 when the processing routine of inhibition and generation software is executed by processor
The step of processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810319411.5A CN108549555A (en) | 2018-04-10 | 2018-04-10 | Processing method, embedded system device and the storage medium of customized software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810319411.5A CN108549555A (en) | 2018-04-10 | 2018-04-10 | Processing method, embedded system device and the storage medium of customized software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108549555A true CN108549555A (en) | 2018-09-18 |
Family
ID=63514413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810319411.5A Pending CN108549555A (en) | 2018-04-10 | 2018-04-10 | Processing method, embedded system device and the storage medium of customized software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108549555A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134409A (en) * | 2019-04-12 | 2019-08-16 | 宁波麦度智联科技股份有限公司 | A kind of burning optimization method of program |
CN110135130A (en) * | 2019-04-25 | 2019-08-16 | 武汉虹信通信技术有限责任公司 | A kind of embedded device software tamper-resistant method and system |
CN110286881A (en) * | 2019-05-21 | 2019-09-27 | 深圳壹账通智能科技有限公司 | Generation method, device, equipment and the storage medium of Software Development Kit |
WO2020134536A1 (en) * | 2018-12-28 | 2020-07-02 | 百富计算机技术(深圳)有限公司 | Method and apparatus for customized development for payment application, computer device, and storage medium |
CN114036171A (en) * | 2021-11-27 | 2022-02-11 | 企查查科技有限公司 | Application data management method and device, computer equipment and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060080636A1 (en) * | 2004-10-13 | 2006-04-13 | Chih-Tao Hsieh | Method of building intelligent platform management interface firmware architecture |
CN101211267A (en) * | 2006-12-29 | 2008-07-02 | 英业达股份有限公司 | Customized basic input output system updating method |
CN101384997A (en) * | 2006-03-01 | 2009-03-11 | 安讯士有限公司 | Method and system for upgrading a plurality of devices |
CN101477470A (en) * | 2009-02-13 | 2009-07-08 | 杭州华三通信技术有限公司 | Method, apparatus and system for implementing product customization, products and auxiliary device |
US20090228704A1 (en) * | 2008-03-04 | 2009-09-10 | Apple Inc. | Providing developer access in secure operating environments |
CN102004640A (en) * | 2010-11-11 | 2011-04-06 | 深圳市文鼎创数据科技有限公司 | Method and device for rapidly providing customized software package |
CN102112963A (en) * | 2008-08-05 | 2011-06-29 | 惠普开发有限公司 | Method and device for customizing software |
CN103473062A (en) * | 2013-09-13 | 2013-12-25 | 惠州Tcl移动通信有限公司 | Method and system for mobile terminal customization based on user space file system |
CN103544046A (en) * | 2013-10-25 | 2014-01-29 | 苏州通付盾信息技术有限公司 | Mobile application software reinforcement method |
CN104252342A (en) * | 2013-06-27 | 2014-12-31 | 中兴通讯股份有限公司 | Method and device for realizing embedding type application with configurable parameters |
CN104854561A (en) * | 2012-10-16 | 2015-08-19 | 思杰系统有限公司 | Application wrapping for application management framework |
CN107341003A (en) * | 2017-06-15 | 2017-11-10 | 百富计算机技术(深圳)有限公司 | Custom-built system implementation method, computer equipment and storage medium |
-
2018
- 2018-04-10 CN CN201810319411.5A patent/CN108549555A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060080636A1 (en) * | 2004-10-13 | 2006-04-13 | Chih-Tao Hsieh | Method of building intelligent platform management interface firmware architecture |
CN101384997A (en) * | 2006-03-01 | 2009-03-11 | 安讯士有限公司 | Method and system for upgrading a plurality of devices |
CN101211267A (en) * | 2006-12-29 | 2008-07-02 | 英业达股份有限公司 | Customized basic input output system updating method |
US20090228704A1 (en) * | 2008-03-04 | 2009-09-10 | Apple Inc. | Providing developer access in secure operating environments |
CN102112963A (en) * | 2008-08-05 | 2011-06-29 | 惠普开发有限公司 | Method and device for customizing software |
CN101477470A (en) * | 2009-02-13 | 2009-07-08 | 杭州华三通信技术有限公司 | Method, apparatus and system for implementing product customization, products and auxiliary device |
CN102004640A (en) * | 2010-11-11 | 2011-04-06 | 深圳市文鼎创数据科技有限公司 | Method and device for rapidly providing customized software package |
CN104854561A (en) * | 2012-10-16 | 2015-08-19 | 思杰系统有限公司 | Application wrapping for application management framework |
CN104252342A (en) * | 2013-06-27 | 2014-12-31 | 中兴通讯股份有限公司 | Method and device for realizing embedding type application with configurable parameters |
CN103473062A (en) * | 2013-09-13 | 2013-12-25 | 惠州Tcl移动通信有限公司 | Method and system for mobile terminal customization based on user space file system |
CN103544046A (en) * | 2013-10-25 | 2014-01-29 | 苏州通付盾信息技术有限公司 | Mobile application software reinforcement method |
CN107341003A (en) * | 2017-06-15 | 2017-11-10 | 百富计算机技术(深圳)有限公司 | Custom-built system implementation method, computer equipment and storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020134536A1 (en) * | 2018-12-28 | 2020-07-02 | 百富计算机技术(深圳)有限公司 | Method and apparatus for customized development for payment application, computer device, and storage medium |
CN110134409A (en) * | 2019-04-12 | 2019-08-16 | 宁波麦度智联科技股份有限公司 | A kind of burning optimization method of program |
CN110135130A (en) * | 2019-04-25 | 2019-08-16 | 武汉虹信通信技术有限责任公司 | A kind of embedded device software tamper-resistant method and system |
CN110135130B (en) * | 2019-04-25 | 2021-03-12 | 武汉虹信科技发展有限责任公司 | Method and system for preventing embedded equipment software from being modified |
CN110286881A (en) * | 2019-05-21 | 2019-09-27 | 深圳壹账通智能科技有限公司 | Generation method, device, equipment and the storage medium of Software Development Kit |
CN114036171A (en) * | 2021-11-27 | 2022-02-11 | 企查查科技有限公司 | Application data management method and device, computer equipment and storage medium |
CN114036171B (en) * | 2021-11-27 | 2024-04-12 | 企查查科技股份有限公司 | Application data management method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108549555A (en) | Processing method, embedded system device and the storage medium of customized software | |
RU2714609C1 (en) | Automation of document generation | |
US10216510B2 (en) | Silent upgrade of software with dependencies | |
CN105765527A (en) | Method and apparatus for custom software development kit (SDK) generation | |
CN109669717A (en) | Data processing method, device, equipment and storage medium based on deployment platform | |
US20190286640A1 (en) | Categorization using organizational hierarchy | |
CN102622241A (en) | Software upgrading method and software upgrading device | |
CN107506221A (en) | Application program updating method, apparatus and equipment | |
CN105337928A (en) | User identity identification method and apparatus, and safety protection problem generation method and apparatus | |
CN106802817A (en) | The upgrade method and device of SQLite databases | |
CN103136478B (en) | A kind of method for managing security of terminal applies and system | |
CN107680295A (en) | Automatic teller machine control update method and device | |
CN116868193A (en) | Firmware component identification and vulnerability assessment | |
US10198251B2 (en) | Processor emulation using multiple translations | |
CN103092660A (en) | Delivery configuration and production configuration safe and fast switching method for embedded device | |
CN110209420A (en) | A kind of method and device updating bootstrap loader | |
CN114386934A (en) | Method and device for generating business process, server and storage medium | |
CN112040025A (en) | Server address switching method, system and terminal equipment | |
CN109101232A (en) | A kind of method, apparatus of product development, computer equipment and storage medium | |
CN106789170A (en) | A kind of task processing method and device | |
CN106506163B (en) | ROM packet processing method and device | |
CN104703173B (en) | The configuration of terminal applies account and detection method, apparatus and system | |
CN108762787A (en) | Software repair, device, computer equipment and storage medium | |
CN115794927B (en) | Service function expansion method and system | |
CN105786641B (en) | A kind of method, equipment and the smart card of Backup and Restore application of IC cards data |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180918 |
|
RJ01 | Rejection of invention patent application after publication |