CN107341003A - Custom-built system implementation method, computer equipment and storage medium - Google Patents

Custom-built system implementation method, computer equipment and storage medium Download PDF

Info

Publication number
CN107341003A
CN107341003A CN201710453248.7A CN201710453248A CN107341003A CN 107341003 A CN107341003 A CN 107341003A CN 201710453248 A CN201710453248 A CN 201710453248A CN 107341003 A CN107341003 A CN 107341003A
Authority
CN
China
Prior art keywords
general
system firmware
customization
customization resource
firmware
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
CN201710453248.7A
Other languages
Chinese (zh)
Other versions
CN107341003B (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.)
PAX Computer Technology Shenzhen Co Ltd
Original Assignee
PAX Computer Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PAX Computer Technology Shenzhen Co Ltd filed Critical PAX Computer Technology Shenzhen Co Ltd
Priority to CN201710453248.7A priority Critical patent/CN107341003B/en
Priority to PCT/CN2017/101788 priority patent/WO2018227798A1/en
Publication of CN107341003A publication Critical patent/CN107341003A/en
Application granted granted Critical
Publication of CN107341003B publication Critical patent/CN107341003B/en
Active 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/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The present invention relates to a kind of custom-built system implementation method, computer equipment and storage medium, methods described includes:General-purpose system firmware in runtime firmware partition;Configuration information in customization resource partitioning is read by the general-purpose system firmware of operation;Obtain the custom attributes mark in the configuration information;Identified according to the custom attributes of acquisition and determine code execution path;According to the code execution path, system code is selected from the general-purpose system firmware and is performed;By the system code of execution, the loading customization resource from the customization resource partitioning.The scheme that the application provides improves the efficiency for issuing of custom-built system.

Description

Custom-built system implementation method, computer equipment and storage medium
Technical field
The present invention relates to field of computer technology, more particularly to a kind of custom-built system implementation method, computer equipment and Storage medium.
Background technology
For same product, there may be different clients, and different clients may have different demands, it is different to meet The different demands of client, generally require to issue the custom-built system of different clients.Such as same POS (Point of Sale Point-of-sale terminal) product, there may be the customization from different clients such as Bank of China, China Construction Bank or the Agricultural Bank of China, Customized content ratio is if any boot animation, System menu customization, or app (Application computer applied algorithms) built in installation Etc..Traditional settling mode is when needing that according to the different demands of different clients and during custom-built system, different clients need to be directed to Different demands issue different editions system firmware system to meet customer need.
But the method that the system of different editions system firmware is issued based on traditional different demands for different clients, So that the system firmware of each different editions is required for exploitation from the beginning to the end, so as to cause custom-built system efficiency for issuing low.
The content of the invention
Based on this, it is necessary to for custom-built system efficiency for issuing it is low the problem of, there is provided a kind of custom-built system implementation method, meter Calculate machine equipment and storage medium.
A kind of custom-built system implementation method, methods described include:
General-purpose system firmware in runtime firmware partition;
Configuration information in customization resource partitioning is read by the general-purpose system firmware of operation;
Obtain the custom attributes mark in the configuration information;
Identified according to the custom attributes of acquisition and determine code execution path;
According to the code execution path, system code is selected from the general-purpose system firmware and is performed;
By the system code of execution, the loading customization resource from the customization resource partitioning.
A kind of computer equipment, including memory and processor, the memory includes system firmware subregion and customization provides Source partition, the memory storage have computer-readable instruction, when the computer-readable instruction is by the computing device, made Obtain the computing device following steps.
General-purpose system firmware in runtime firmware partition;
Configuration information in customization resource partitioning is read by the general-purpose system firmware of operation;
Obtain the custom attributes mark in the configuration information;
Identified according to the custom attributes of acquisition and determine code execution path;
According to the code execution path, system code is selected from the general-purpose system firmware and is performed;
By the system code of execution, the loading customization resource from the customization resource partitioning.
A kind of computer-readable recording medium, is stored with computer-readable instruction, and the computer-readable instruction is processed When device performs so that described in the computing device the step of custom-built system implementation method.
Above-mentioned custom-built system implementation method, computer equipment and storage medium, read during by running general-purpose system firmware The configuration information in resource partitioning is customized to perform correspondence system code and load customization resource, realizes the customization of system.Due to The custom-built system of different clients is completed jointly by the customization resource bag of general-purpose system firmware and corresponding customer demand.It is general Can Reusability after the completion of system firmware exploitation so that in being developed for the custom-built system of the different demands of different clients, only The customization resource bag for the corresponding customer demand that need to redevelop out can complete custom-built system, and the development efficiency of a customization resource bag Far above the development efficiency of a system firmware, so as to improve the efficiency for issuing of custom-built system.
Brief description of the drawings
Fig. 1 is custom-built system implementation method applied environment figure in one embodiment;
Fig. 2 is the internal structure schematic diagram of terminal in one embodiment;
Fig. 3 is the schematic flow sheet of custom-built system implementation method in one embodiment;
Fig. 4 is the schematic flow sheet of custom-built system configuration step in one embodiment;
Fig. 5 is the schematic flow sheet of custom-built system configuration step in another embodiment;
Fig. 6 is the schematic flow sheet of general-purpose system firmware testing step in one embodiment;
Fig. 7 is the schematic flow sheet that resource bag testing procedure is customized in one embodiment;
Fig. 8 is the schematic flow sheet of custom-built system implementation method in another embodiment.
Embodiment
In order that technical scheme and advantage are more clearly understood, below in conjunction with drawings and Examples, to this hair It is bright to be further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to It is of the invention in limiting.
Fig. 1 is the applied environment figure of custom-built system implementation method in one embodiment.As shown in figure 1, the application environment bag Include terminal 110 and server 120.Wherein, terminal can be POS, cell phone, tablet personal computer etc.;Server can be only The server cluster that vertical physical server or multiple physical servers are formed.Terminal 110 can perform custom-built system Implementation method, using the general-purpose system firmware in system firmware subregion, with reference to the configuration information in customization resource partitioning and accordingly Customization resource, realize custom-built system.Terminal 110 can obtain general-purpose system firmware from server 120 and be written to system firmware In subregion.Terminal 110 can obtain customization resource bag from server 120, and by the customization resource customized in resource bag and accordingly Configuration information is written in customization resource partitioning.It will be understood by those skilled in the art that the application environment shown in Fig. 1, only It is the part scene related to application scheme, does not form the restriction to application scheme application environment.
Fig. 2 is the internal structure schematic diagram of terminal in one embodiment.As shown in Fig. 2 the terminal is including total by system Processor, non-volatile memory medium, built-in storage, camera, display screen, USB interface and the network interface of line connection.Its In, the non-volatile memory medium of server includes system firmware subregion and customization resource partitioning, can be stored with computer-readable Instruction, when the computer-readable instruction is executed by processor, may be such that processor realizes custom-built system implementation method.The processor For providing calculating and control ability, the operation of whole terminal is supported.Also computer-readable finger can be stored in the built-in storage Order, when the computer-readable instruction is by the computing device, may be such that the computing device custom-built system implementation method.This Art personnel are appreciated that the structure shown in Fig. 2, only the block diagram of the part-structure related to application scheme, The restriction for the terminal being applied thereon to application scheme is not formed, specific terminal can include more more than shown in figure Or less part, either combine some parts or arranged with different parts.
As shown in figure 3, in one embodiment, there is provided a kind of custom-built system implementation method.The present embodiment is mainly with this Method is applied to the terminal in above-mentioned Fig. 2 to illustrate.Reference picture 3, the custom-built system implementation method specifically include following step Suddenly:
S302, the general-purpose system firmware in runtime firmware partition.
Wherein, system firmware subregion is the subregion for being used to store general-purpose system firmware in the memory of terminal.System firmware It is the firmware for realizing operation system function.General-purpose system firmware is the system firmware for realizing that different custom-built systems is public.It is logical Can be general Android system firmware with system firmware.General-purpose system firmware has operating system basic function, such as images Head scan function, network connecting function, touch-control driving function, printing function and card-reading function etc..General-purpose system firmware possesses can The customization function of choosing then, such as application program installation and checking function or client rights decision-making function.Terminal can be in start-up course In load general-purpose system firmware from system firmware subregion automatically and run into built-in storage.
S304, the configuration information in customization resource partitioning is read by the general-purpose system firmware of operation.
Wherein, customization resource partitioning is to be used for storage configuration information in the memory of terminal and customize the subregion of resource.It is fixed Resource partitioning processed can be in identical or different storage medium from system firmware subregion.Configuration information is to be based on general system System firmware realizes the information of configuration needed for the function of custom-built system.
In one embodiment, when running general-purpose system firmware, terminal can be referred to by the code in general-purpose system firmware Make the configuration information read from the file of customization resource partitioning in customization resource partitioning.
S306, obtain the custom attributes mark in configuration information.
Wherein, custom attributes are to realize customizable attribute during custom-built system based on general-purpose system firmware.Based on different Custom attributes, different system codes can be selected to perform from general-purpose system firmware, to realize different customization functions.Customization Attribute-bit is used for the corresponding custom attributes of unique mark.Custom attributes mark can be customer name or customer name coding. Customer name such as " ccb ", it is the english abbreviation of China Construction Bank.Include custom attributes mark in configuration information.
For example, the configuration information in customization resource partitioning includes " ro.customer.name=ccb ", wherein " ro.customer.name " represents custom attributes field, and " ccb " is then the value of custom attributes, represents custom attributes mark.Eventually End can be obtained by reading the value " ccb " of custom attributes field " ro.customer.name=ccb " in customization resource partitioning Custom attributes identify.
308, identified according to the custom attributes of acquisition and determine code execution path.
Wherein, code execution path is that the path performed by the system code of customization function is realized in general-purpose system firmware. Different code execution paths can realize different customization functions.General-purpose system firmware, which is integrated with, to be realized needed for various custom-built systems System code, different system codes and execution can be selected by different code execution paths, different determined with realizing Function processed.
Specifically, terminal can read customization resource when running general-purpose system firmware, when running to path Rule of judgment Configuration information in subregion, the custom attributes mark in configuration information is obtained, the custom attributes mark input path of acquisition is sentenced Broken strip part is judged, so that it is determined that the corresponding code execution path of custom attributes mark with acquisition.For example, such as should The custom attributes that terminal obtains are identified as " ccb ", then pair that terminal selection Rule of judgment is consistent with custom attributes mark " ccb " The code execution path answered.
S310, according to code execution path, system code is selected from general-purpose system firmware and is performed.
Wherein, system code is the code that can realize concrete function.Specifically, terminal is according to the code of the determination selected Execution route, from general-purpose system firmware selection corresponding to system code and by code execution path logic perform code.
S312, by the system code of execution, the loading customization resource from customization resource partitioning.
Wherein, customize resource be that can realize the resource of customization function in custom-built system, such as customize boot animation, customize Background picture or customization application program etc..The application program of customization is configurable to give tacit consent to starting up.
Specifically, the system generation corresponding with code execution path that terminal is selected by performing in general-purpose system firmware Code, loading customize the customization resource in resource partitioning, realize the customization function of custom-built system.
Above-mentioned custom-built system implementation method, read during by running general-purpose system firmware in customization resource partitioning and match somebody with somebody confidence Cease to perform correspondence system code and load customization resource, realize the customization of system.Because the custom-built system of different clients is all Completed jointly by the customization resource bag of general-purpose system firmware and corresponding customer demand.Can be anti-after the completion of general-purpose system firmware development It is multiple to use so that in being developed for the custom-built system of the different demands of different clients, need to only redevelop out corresponding customer demand Customization resource bag can complete custom-built system, and the development efficiency of a customization resource bag opening far above system firmware Efficiency is sent out, so as to improve the efficiency for issuing of custom-built system.
As shown in figure 4, in one embodiment, before step S302, the custom-built system implementation method also includes customization System configuration step, custom-built system configuration step specifically include:
S402, obtain general-purpose system firmware.
In one embodiment, terminal can be obtained by communication modes such as USB interface connection or network connections from server Take general-purpose system firmware.
S404, by the general-purpose system firmware writing system firmware partition of acquisition.
In one embodiment, terminal can be consolidated the general-purpose system firmware of acquisition by replication tool direct burning to system On part subregion.
In another embodiment, terminal can be passed the general-purpose system firmware got by hardware interface and related software In the defeated built-in storage to terminal, then the life with U-boot (entrance that Universal Boot Loader, i.e. system start) General-purpose system firmware is written to system firmware subregion by order.
S406, obtain customization resource bag.
In one embodiment, terminal can be obtained by communication modes such as USB interface connection or network connections from server Take customization resource bag.
S408, the configuration information customized in resource bag and corresponding customization resource are written to customization resource partitioning.
In one embodiment, terminal can parse configuration information and customization resource from customization resource bag, so as to match somebody with somebody Confidence ceases and customization resource passes through replication tool direct burning to customization resource partitioning.
S410, restart the terminal.
Specifically, can be by disconnecting the terminal supplying power, then supply again and the terminal hardware equipment and initial is resetted after power supply Change the terminal operating system.
In the present embodiment, by obtaining and writing general-purpose system firmware to system firmware subregion, customization resource bag is obtained And the configuration information customized in resource bag and customization resource are written to customization resource partitioning, the configuration of custom-built system is completed, is The implementation of custom-built system implementation method provides physical basis.
As shown in figure 5, in one embodiment, custom-built system configuration step also includes:
S502, obtain general-purpose system firmware.
S504, by the general-purpose system firmware writing system firmware partition of acquisition.
S506, obtain customization resource bag.
S508, obtain digital signature and public key in customization resource bag.
Wherein, digital signature is the data differentiated into row information.It can be specifically that customization resource bag is come that information, which differentiates, Source and the discriminating of integrality.Digital signature can be generated by private key encryption mode, and wherein private key is private key.Public key is and private The corresponding disclosed secret key of key.
In one embodiment, server can obtain digital signature to the summary info for customizing resource bag with private key encryption. Terminal customizes resource bag by obtaining, and digital signature and public key corresponding with private key are obtained from customization resource bag.
S510, according to being verified after public key decryptions digital signature.
Wherein, digital signature is verified, is that the legitimacy of digital signature is tested.Verification is by illustrating customization The information completely of resource bag is not tampered with.
In one embodiment, the summary info for the customization resource bag that terminal is encrypted using public key decryptions, then with Kazakhstan The customization resource that uncommon function pair receives, which is contracted for fixed output quotas, gives birth to a summary info, by the summary info of the customization resource bag received and passes through public affairs The summary info of key decryption compares, if identical, illustrates to pass through the digital signature verification for customizing resource bag;If not phase Together, then explanation does not pass through to the digital signature verification for customizing resource bag.
S512, when verification passes through and public key is consistent with the public key of digital signature in generation general-purpose system firmware, it will customize Configuration information and corresponding customization resource in resource bag are written to customization resource partitioning.Wherein, when to customization resource bag verification By rear, the information completely for illustrating to customize resource bag is not tampered with, when customizing in the public key in resource bag and general-purpose system firmware Public key it is consistent when explanation customization resource bag it is consistent with general-purpose system firmware source.
S514, restart the terminal.
In the present embodiment, the digital signature that resource bag is customized by verifying ensure that the information completely of customization resource bag not Be tampered, when customize the public key in resource bag it is consistent with the public key in general-purpose system firmware when explanation customization resource bag and general system System firmware source is consistent, so as to ensure that the safety of custom-built system.
In one embodiment, after step S304, the custom-built system implementation method also includes:When customization resource partitioning In when configuration information is not present, default code execution route is obtained from general-purpose system firmware;According to default code execution route, System code is selected from general-purpose system firmware and is performed.
Wherein, default code execution route is that system code is held in general-purpose system firmware when system does not customize function Capable path.Specifically, when running general-purpose system firmware, divided by the code command in general-purpose system firmware from customization resource When not reading configuration information in the file in area, then meet the alternative condition of default code execution route in general-purpose system firmware, Then the terminal selects system code from general-purpose system firmware and performs the code by the logic of default code execution route.
In the present embodiment, when customize configuration information is not present in resource partitioning when, select default code path simultaneously load System code, conventional system function can be achieved, complete the realization of non-customized system.
In one embodiment, after step S304, the custom-built system implementation method also includes general-purpose system firmware testing Step, general-purpose system firmware testing step specifically include:General-purpose system firmware is write in system firmware subregion, and keeps customizing Resource partitioning is sky;When customize configuration information is not present in resource partitioning when, from general-purpose system firmware obtain default code hold Walking along the street footpath;According to default code execution route, system code is selected from general-purpose system firmware and is performed.
In one embodiment, general-purpose system firmware testing step also specifically includes:
S602, obtain general-purpose system firmware.
S604, by the general-purpose system firmware writing system firmware partition of acquisition.
S606, the general-purpose system firmware in runtime firmware partition.
S608, the configuration information in customization resource partitioning is read by the general-purpose system firmware of operation.
S610, when customize configuration information is not present in resource partitioning when, from general-purpose system firmware obtain default code hold Walking along the street footpath.
S612, according to default code execution route, system code is selected from general-purpose system firmware and is performed.
In the present embodiment, by keeping customization resource as sky, when running general-purpose system firmware from general-purpose system firmware Acquisition default code execution route and execution system code can realize the test to general-purpose system firmware.
As described in Figure 7, in one embodiment, after step S304, the custom-built system implementation method also includes customization money Source bag testing procedure, customization resource bag testing procedure specifically include:
S702, obtain general-purpose system firmware.
S704, by the general-purpose system firmware writing system firmware partition of acquisition.
S706, obtain multiple customization resource bags.
S708, in resource partitioning is customized, write the configuration in one of customization resource bag in multiple customization resource bags Information and corresponding customization resource.
S710, the configuration information in customization resource partitioning is read by the general-purpose system firmware of operation.
S712, obtain the custom attributes mark in configuration information.
S714, identified according to the custom attributes of acquisition and determine code execution path.
S716, according to code execution path, system code is selected from general-purpose system firmware and is performed.
S718, by the system code of execution, the loading customization resource from customization resource partitioning.
S720, judges whether all customization resource bags are write by round, if so, step S722 is then performed, if it is not, then jumping Go to step S708.
S722, terminate the bag test of customization resource.
In one embodiment, terminal can obtain multiple customization resource bags, and in resource partitioning is customized, round write-in is different Customization resource bag in configuration information and corresponding customization resource, read customization resource partitioning by running general-purpose system firmware In configuration information, obtain configuration information in custom attributes mark, according to the custom attributes of acquisition identify determine code perform Path, according to code execution path, system code is selected from general-purpose system firmware and is performed, by the system code of execution, The customization resource bag of round write-in is tested respectively the step of loading customization resource from customization resource partitioning.Wherein, no The write sequence of configuration information and customization resource in same customization resource bag can customize the sequence consensus of resource bag with acquisition, It can be random writing.
Customization resource bag and round test customization resource bag are write by round in the present embodiment, to complete to be to customization The test of the customization function of system.
As shown in figure 8, in a specific embodiment, custom-built system implementation method comprises the following steps:
S802, obtain general-purpose system firmware.
S804, by the general-purpose system firmware writing system firmware partition of acquisition.
S806, obtain customization resource bag.
S808, obtain digital signature and public key in customization resource bag.
S810, according to being verified after public key decryptions digital signature.
S812, when verification passes through and public key is consistent with the public key of digital signature in generation general-purpose system firmware, it will customize Configuration information and corresponding customization resource in resource bag are written to customization resource partitioning.
S814, after restarting, the general-purpose system firmware in runtime firmware partition.
S816, the configuration information in customization resource partitioning is read by the general-purpose system firmware of operation, when customization resource point Configuration information in area is not space-time, performs step S818;When customizing the configuration information in resource partitioning and being not present, step is performed Rapid S826.
S818, obtain the custom attributes mark in configuration information.
S820, identified according to the custom attributes of acquisition and determine code execution path.
S822, according to code execution path, system code is selected from general-purpose system firmware and is performed.
S824, by the system code of execution, the loading customization resource from customization resource partitioning.
S826, default code execution route is obtained from general-purpose system firmware.
S828, according to default code execution route, system code is selected from general-purpose system firmware and is performed.
In the present embodiment, custom-built system implementation method, by obtaining and verifying customization resource bag, custom-built system has been ensured Security.The configuration information in customization resource partitioning is read when running general-purpose system firmware to perform correspondence system code and add Customization resource is carried, realizes the customization of system.When customize configuration information is not present in resource partitioning when, select default code path simultaneously Loading system code, conventional system function can be achieved, realize non-customized system issue.Because the custom-built system of different clients is all Completed jointly by the customization resource bag of general-purpose system firmware and corresponding customer demand.General-purpose system firmware development and test are completed After can Reusability so that in being developed for the custom-built system of the different demands of different clients, only need to redevelop and test pair Custom-built system can be completed by answering the customization resource bag of customer demand, and an exploitation for customizing resource bag and testing efficiency are far above The exploitation of one system firmware and testing efficiency, so as to improve the efficiency for issuing of custom-built system.
A kind of computer equipment, including memory and processor, memory include system firmware subregion and customization resource point Area, memory storage have computer-readable instruction;When computer-readable instruction is executed by processor so that computing device is as follows Step:
General-purpose system firmware in runtime firmware partition;Customization resource point is read by the general-purpose system firmware of operation Configuration information in area;Obtain the custom attributes mark in configuration information;Identified according to the custom attributes of acquisition and determine that code is held Walking along the street footpath;According to code execution path, system code is selected from general-purpose system firmware and is performed;Pass through the system generation of execution Code, the loading customization resource from customization resource partitioning.
Above-mentioned custom-built system realizes computer equipment, reads during by running general-purpose system firmware in customization resource partitioning Configuration information performs correspondence system code and loads customization resource, realizes the customization of system.Due to the customization system of different clients System is completed jointly by the customization resource bag of general-purpose system firmware and corresponding customer demand.General-purpose system firmware development is completed After can Reusability so that in being developed for the custom-built system of the different demands of different clients, need to only redevelop out corresponding visitor The customization resource bag of family demand can complete custom-built system, and the development efficiency of a customization resource bag is consolidated far above a system The development efficiency of part, so as to improve the efficiency for issuing of custom-built system.
In one embodiment, computer-readable instruction make it that processor is general in runtime firmware partition is performed Before system firmware, following steps are also performed:Obtain general-purpose system firmware;By the general-purpose system firmware writing system firmware of acquisition Subregion;Obtain customization resource bag;The configuration information customized in resource bag and corresponding customization resource are written to customization resource point Area;Restart the computer equipment.
In one embodiment, computer-readable instruction causes processor performing the configuration information in customizing resource bag Before being written to customization resource partitioning with corresponding customization resource, following steps are also performed:Obtain the numeral in customization resource bag Signature and public key;According to being verified after public key decryptions digital signature;When verification pass through and public key with generation general-purpose system firmware When the public key of middle digital signature is consistent, the configuration information customized in resource bag and corresponding customization resource are written to customization resource Subregion.
In one embodiment, computer-readable instruction causes processor performing the general-purpose system firmware reading by running After taking the configuration information in customization resource partitioning, following steps are also performed:Configuration information is not present in resource partitioning when customizing When, default code execution route is obtained from general-purpose system firmware;According to default code execution route, from general-purpose system firmware Selection system code simultaneously performs.
In one embodiment, when computer-readable instruction is executed by processor so that processor also performs following general System firmware testing procedure:General-purpose system firmware is write in system firmware subregion, and keeps customizing resource partitioning as sky;Operation General-purpose system firmware in system firmware subregion;Read by the general-purpose system firmware of operation in customization resource partitioning and match somebody with somebody confidence Breath;When customize configuration information is not present in resource partitioning when, from general-purpose system firmware obtain default code execution route;According to Default code execution route, system code is selected from general-purpose system firmware and is performed.
In one embodiment, when computer-readable instruction is executed by processor so that processor also executes the following steps Round is tested customization resource bag:In resource partitioning is customized, round, which is write in different customization resource bags, matches somebody with somebody confidence Breath and corresponding customization resource, by running the configuration information in general-purpose system firmware reading customization resource partitioning, obtain configuration Custom attributes mark in information, identifies according to the custom attributes of acquisition and determines code execution path, according to code execution path, System code is selected from general-purpose system firmware and is performed, by the system code of execution, it is fixed to be loaded from customization resource partitioning The step of resource processed, is tested the customization resource bag of round write-in respectively.
A kind of computer-readable recording medium, is stored thereon with computer-readable instruction, and the computer-readable instruction is located Reason device realizes following steps when performing:
General-purpose system firmware in runtime firmware partition;Customization resource point is read by the general-purpose system firmware of operation Configuration information in area;Obtain the custom attributes mark in configuration information;Identified according to the custom attributes of acquisition and determine that code is held Walking along the street footpath;According to code execution path, system code is selected from general-purpose system firmware and is performed;Pass through the system generation of execution Code, the loading customization resource from customization resource partitioning.
In one embodiment, computer-readable instruction make it that processor is general in runtime firmware partition is performed Before system firmware, following steps are also performed:Obtain general-purpose system firmware;By the general-purpose system firmware writing system firmware of acquisition Subregion;Obtain customization resource bag;The configuration information customized in resource bag and corresponding customization resource are written to customization resource point Area;Restart the computer equipment.
In one embodiment, computer-readable instruction causes processor performing the configuration information in customizing resource bag Before being written to customization resource partitioning with corresponding customization resource, following steps are also performed:Obtain the numeral in customization resource bag Signature and public key;According to being verified after public key decryptions digital signature;When verification pass through and public key with generation general-purpose system firmware When the public key of middle digital signature is consistent, the configuration information customized in resource bag and corresponding customization resource are written to customization resource Subregion.
In one embodiment, computer-readable instruction causes processor performing the general-purpose system firmware reading by running After taking the configuration information in customization resource partitioning, following steps are also performed:Configuration information is not present in resource partitioning when customizing When, default code execution route is obtained from general-purpose system firmware;According to default code execution route, from general-purpose system firmware Selection system code simultaneously performs.
In one embodiment, when computer-readable instruction is executed by processor so that processor also performs following general System firmware testing procedure:General-purpose system firmware is write in system firmware subregion, and keeps customizing resource partitioning as sky;Operation General-purpose system firmware in system firmware subregion;Read by the general-purpose system firmware of operation in customization resource partitioning and match somebody with somebody confidence Breath;When customize configuration information is not present in resource partitioning when, from general-purpose system firmware obtain default code execution route;According to Default code execution route, system code is selected from general-purpose system firmware and is performed.
In one embodiment, when computer-readable instruction is executed by processor so that processor also executes the following steps Round is tested customization resource bag:In resource partitioning is customized, round, which is write in different customization resource bags, matches somebody with somebody confidence Breath and corresponding customization resource, by running the configuration information in general-purpose system firmware reading customization resource partitioning, obtain configuration Custom attributes mark in information, identifies according to the custom attributes of acquisition and determines code execution path, according to code execution path, System code is selected from general-purpose system firmware and is performed, by the system code of execution, it is fixed to be loaded from customization resource partitioning The step of resource processed, is tested the customization resource bag of round write-in respectively.
Above computer readable storage medium storing program for executing, the configuration in customization resource partitioning is read during by running general-purpose system firmware Information performs correspondence system code and loads customization resource, realizes the customization of system.Due to different clients custom-built system all It is to be completed jointly by the customization resource bag of general-purpose system firmware and corresponding customer demand.Can after the completion of general-purpose system firmware development Reusability so that in being developed for the custom-built system of the different demands of different clients, the corresponding client that need to only redevelop out needs The customization resource bag asked can complete custom-built system, and the development efficiency of a customization resource bag is far above system firmware Development efficiency, so as to improve the efficiency for issuing of custom-built system.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of custom-built system implementation method, methods described include:
General-purpose system firmware in runtime firmware partition;
Configuration information in customization resource partitioning is read by the general-purpose system firmware of operation;
Obtain the custom attributes mark in the configuration information;
Identified according to the custom attributes of acquisition and determine code execution path;
According to the code execution path, system code is selected from the general-purpose system firmware and is performed;
By the system code of execution, the loading customization resource from the customization resource partitioning.
2. according to the method for claim 1, it is characterised in that the general-purpose system firmware in the runtime firmware partition Before, methods described also includes:
Obtain general-purpose system firmware;
By the general-purpose system firmware writing system firmware partition of acquisition;
Obtain customization resource bag;
Configuration information in the customization resource bag and corresponding customization resource are written to customization resource partitioning;
After restarting, the step of performing the general-purpose system firmware in the runtime firmware partition.
3. according to the method for claim 2, it is characterised in that the configuration information and phase by the customization resource bag The customization resource answered is written to before customization resource partitioning, and methods described also includes:
Obtain the digital signature and public key in customization resource bag;
According to being verified after digital signature described in the public key decryptions;
When verification passes through and the public key is consistent with the public key of digital signature in generation general-purpose system firmware, execution is described will The step of configuration information and corresponding customization resource in the customization resource bag are written to customization resource partitioning.
4. according to the method for claim 1, it is characterised in that the general-purpose system firmware by operation reads customization money After configuration information in source partition, methods described also includes:
When the configuration information is not present in the customization resource partitioning, default code is obtained from the general-purpose system firmware Execution route;
According to the default code execution route, system code is selected from the general-purpose system firmware and is performed.
5. according to the method for claim 4, it is characterised in that methods described also includes:
General-purpose system firmware is write in system firmware subregion, and keeps customizing resource partitioning as sky, passes through institute in claim 4 The step of stating method is tested the general-purpose system firmware;
In the customization resource partitioning, configuration information and corresponding customization that round is write in different customization resource bags provide Source, tested by the customization resource bag write respectively to round the step of method described in claim 1.
6. a kind of computer equipment, including memory and processor, the memory includes system firmware subregion and customization resource Subregion, the memory storage have computer-readable instruction;When the computer-readable instruction is by the computing device so that The computing device following steps:
General-purpose system firmware in runtime firmware partition;
Configuration information in customization resource partitioning is read by the general-purpose system firmware of operation;
Obtain the custom attributes mark in the configuration information;
Identified according to the custom attributes of acquisition and determine code execution path;
According to the code execution path, system code is selected from the general-purpose system firmware and is performed;
By the system code of execution, the loading customization resource from the customization resource partitioning.
7. computer equipment according to claim 6, it is characterised in that general in the runtime firmware partition Before system firmware, the computer-readable instruction also causes the computing device:
Obtain general-purpose system firmware;
By the general-purpose system firmware writing system firmware partition of acquisition;
Obtain customization resource bag;
Configuration information in the customization resource bag and corresponding customization resource are written to customization resource partitioning;
After restarting, the step of performing the general-purpose system firmware in the runtime firmware partition.
8. computer equipment according to claim 6, it is characterised in that read in the general-purpose system firmware by operation After taking the configuration information in customization resource partitioning, the computer-readable instruction also causes the computing device:
When the configuration information is not present in the customization resource partitioning, default code is obtained from the general-purpose system firmware Execution route;
According to the default code execution route, system code is selected from the general-purpose system firmware and is performed.
9. computer equipment according to claim 8, it is characterised in that the computer-readable instruction also causes the place Device is managed to perform:
General-purpose system firmware is write in system firmware subregion, and keeps customizing resource partitioning as sky, passes through institute in claim 4 The step of stating computer equipment is tested the general-purpose system firmware;
In the customization resource partitioning, configuration information and corresponding customization that round is write in different customization resource bags provide Source, tested by the customization resource bag write respectively to round the step of computer equipment described in claim 1.
10. a kind of computer-readable recording medium, it is characterised in that be stored thereon with computer-readable instruction, the computer When readable instruction is executed by processor so that the step of computing device method as any one of claim 1 to 5 Suddenly.
CN201710453248.7A 2017-06-15 2017-06-15 Customization system implementing method, computer device and storage medium Active CN107341003B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710453248.7A CN107341003B (en) 2017-06-15 2017-06-15 Customization system implementing method, computer device and storage medium
PCT/CN2017/101788 WO2018227798A1 (en) 2017-06-15 2017-09-14 Custom system implementation method, computer device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710453248.7A CN107341003B (en) 2017-06-15 2017-06-15 Customization system implementing method, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN107341003A true CN107341003A (en) 2017-11-10
CN107341003B CN107341003B (en) 2020-08-07

Family

ID=60220618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710453248.7A Active CN107341003B (en) 2017-06-15 2017-06-15 Customization system implementing method, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN107341003B (en)
WO (1) WO2018227798A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549555A (en) * 2018-04-10 2018-09-18 Tcl通力电子(惠州)有限公司 Processing method, embedded system device and the storage medium of customized software
CN108959116A (en) * 2018-06-15 2018-12-07 深圳市西迪特科技有限公司 The management method of device customizing information
CN109656638A (en) * 2018-12-20 2019-04-19 广东浪潮大数据研究有限公司 A kind of user based on Purley platform customizes the implementation method of function
CN111309338A (en) * 2020-02-12 2020-06-19 杭州涂鸦信息技术有限公司 Method and system for importing difference firmware
CN111679834A (en) * 2020-04-25 2020-09-18 华帝股份有限公司 Automatic burning system and burning method for Internet of things module
CN112306506A (en) * 2020-06-28 2021-02-02 神州融安科技(北京)有限公司 Burning method and device of computer program, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525325A (en) * 1997-08-29 2004-09-01 Database for facilitating software installation and testing for a build-to-order computer system
US20060074850A1 (en) * 2004-10-01 2006-04-06 Alain Bouchet Flexible management process for multiple activities executed on partitionable platforms of a multiple processor system
CN103812948A (en) * 2014-03-04 2014-05-21 湘潭大学 System and method for cloud interactive customization of smart phone operating systems
CN104461533A (en) * 2014-12-03 2015-03-25 重庆蓝岸通讯技术有限公司 System firmware customizing method based on Marvell LTE (Long Term Evolution) platform
CN104778424A (en) * 2015-03-24 2015-07-15 四川长虹电器股份有限公司 Method for preventing ROM (Read Only Memory) root obtaining on basis of smart television

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8490082B2 (en) * 2005-11-03 2013-07-16 International Business Machines Corporation System and method for representing user processes as software packages in a software package management system
CN101847099A (en) * 2010-06-08 2010-09-29 用友软件股份有限公司 Method and device for individually configuring application functions
CN103984564B (en) * 2013-02-08 2018-04-27 百度国际科技(深圳)有限公司 Software is installed, upgrades the method and device of software
CN103631587B (en) * 2013-11-15 2017-01-18 北京奇虎科技有限公司 Software installation package customization method and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525325A (en) * 1997-08-29 2004-09-01 Database for facilitating software installation and testing for a build-to-order computer system
US20060074850A1 (en) * 2004-10-01 2006-04-06 Alain Bouchet Flexible management process for multiple activities executed on partitionable platforms of a multiple processor system
CN103812948A (en) * 2014-03-04 2014-05-21 湘潭大学 System and method for cloud interactive customization of smart phone operating systems
CN104461533A (en) * 2014-12-03 2015-03-25 重庆蓝岸通讯技术有限公司 System firmware customizing method based on Marvell LTE (Long Term Evolution) platform
CN104778424A (en) * 2015-03-24 2015-07-15 四川长虹电器股份有限公司 Method for preventing ROM (Read Only Memory) root obtaining on basis of smart television

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549555A (en) * 2018-04-10 2018-09-18 Tcl通力电子(惠州)有限公司 Processing method, embedded system device and the storage medium of customized software
CN108959116A (en) * 2018-06-15 2018-12-07 深圳市西迪特科技有限公司 The management method of device customizing information
CN109656638A (en) * 2018-12-20 2019-04-19 广东浪潮大数据研究有限公司 A kind of user based on Purley platform customizes the implementation method of function
CN111309338A (en) * 2020-02-12 2020-06-19 杭州涂鸦信息技术有限公司 Method and system for importing difference firmware
CN111679834A (en) * 2020-04-25 2020-09-18 华帝股份有限公司 Automatic burning system and burning method for Internet of things module
CN111679834B (en) * 2020-04-25 2024-01-23 华帝股份有限公司 Automatic burning system and method for internet of things module
CN112306506A (en) * 2020-06-28 2021-02-02 神州融安科技(北京)有限公司 Burning method and device of computer program, electronic equipment and storage medium
CN112306506B (en) * 2020-06-28 2023-08-22 神州融安科技(北京)有限公司 Method and device for burning computer program, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107341003B (en) 2020-08-07
WO2018227798A1 (en) 2018-12-20

Similar Documents

Publication Publication Date Title
CN107341003A (en) Custom-built system implementation method, computer equipment and storage medium
US10735427B2 (en) Method and apparatus for managing program of electronic device
US11017399B2 (en) Method and electronic device for paymnet using biometric authentication
CN108463832B (en) Electronic device and process execution method based on hardware diagnosis result
US9686632B2 (en) Method and apparatus for accessing virtual smart cards
CN105975864A (en) Operation system starting method and device, and terminal
CN107680295A (en) Automatic teller machine control update method and device
US11531702B2 (en) Electronic device for generating video comprising character and method thereof
CN108038779A (en) Video face label identity checking method, device, equipment and readable storage medium storing program for executing
US11096042B2 (en) Preprocessing method and device for configuring NFC smart card
JP2005050306A (en) Information processor and information processing terminal
CN109246467A (en) Label is to the method, apparatus of sharing video frequency, video camera and smart phone
CN111954011A (en) Virtual gift giving method and device, computer equipment and readable storage medium
KR102348217B1 (en) Method and apparatus for controlling the security screen in electronic device
US20210099772A1 (en) System and method for verification of video integrity based on blockchain
EP3528151A1 (en) Method and apparatus for user authentication
CN115362461A (en) Electronic device for transmitting cryptocurrency to a blockchain account and method for operating the electronic device
US20230029132A1 (en) Information processing system, information processing apparatus, information processing method, and computer program
CN106164970A (en) Check the more new control method of result, the storage controlling method of inspection result, the renewal control program of inspection result, the storage control program checking result and the renewal control system of inspection result, the storage control system of inspection result
CN116700768B (en) Application processing method and related device
CN113992494B (en) Method for creating fortress machine and automatically hosting cloud host by cloud platform
CN115544586A (en) Secure storage method of user data, electronic equipment and storage medium
CN115328786A (en) Automatic testing method and device based on block chain and storage medium
JP2010211337A (en) Electronic money batch management system
JP6704433B2 (en) Access control server and access control system

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