CN104615463B - A kind of system property setting method and terminal - Google Patents

A kind of system property setting method and terminal Download PDF

Info

Publication number
CN104615463B
CN104615463B CN201510042131.0A CN201510042131A CN104615463B CN 104615463 B CN104615463 B CN 104615463B CN 201510042131 A CN201510042131 A CN 201510042131A CN 104615463 B CN104615463 B CN 104615463B
Authority
CN
China
Prior art keywords
property parameters
differentiation
differentiation property
terminal
brand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510042131.0A
Other languages
Chinese (zh)
Other versions
CN104615463A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201510042131.0A priority Critical patent/CN104615463B/en
Publication of CN104615463A publication Critical patent/CN104615463A/en
Application granted granted Critical
Publication of CN104615463B publication Critical patent/CN104615463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of system property setting methods and terminal, main contents to include:It reads and parses the differentiation property parameters stored in the domain of preset memory areas, wherein, the differentiation property parameters include at least:National property parameters, client properties parameter and brand generic parameter;When it is effective to detect the differentiation property parameters, the differentiation property parameters are set as system property, and corresponding acquisition modes are configured for the differentiation property parameters, so that the terminal obtains the differentiation property parameters according to the acquisition modes under any system operatio, and the exhibition method being adapted according to the differentiation property parameters of acquisition calling, wherein, the exhibition method is arranged in system program.So as to avoid the repeated labor for needing that a set of software will be developed to each type of terminal in the prior art, reduce the exploitation, test, the burden produced of system software.

Description

A kind of system property setting method and terminal
Technical field
The present invention relates to technical field of electronic products more particularly to a kind of system property setting methods and terminal.
Background technology
As terminal (especially television terminal) is in the universal of market and fast-developing, terminal towards country, Ke Huyue Come more, therefore, the development task of mating system software aggravates therewith with terminal.
Generally, for towards country variant, different clients, the terminal of affiliated different brands, required system is soft Part has different, therefore, for different types of terminal, different system softwares will be designed, to meet different states Family, demand of the different clients to different brands.Due to the presence of the system software of these differentiation, it is soft virtually to increase system The exploitation of part, test, production burden.
Invention content
The embodiment of the present invention provides a kind of system property setting method and terminal, to solve it is in the prior art by Lead to that systemic software development, test, the complexity of production is high, efficiency is low asks towards category of market diversification in terminal Topic.
The embodiment of the present invention uses following technical scheme:
A kind of system property setting method, the method includes:
It reads and parses the differentiation property parameters stored in the domain of preset memory areas, wherein, the differentiation property parameters It includes at least:National property parameters, client properties parameter and brand generic parameter;
When it is effective to detect the differentiation property parameters, the differentiation property parameters are set as system category Property, and corresponding acquisition modes are configured for the differentiation property parameters, so that terminal is according to institute under any system operatio It states acquisition modes and obtains the differentiation property parameters, and the exhibition being adapted according to the differentiation property parameters of acquisition calling Show mode, wherein, the exhibition method is arranged in system program.
Preferably, it after detecting that the differentiation property parameters are effective, further includes:
According to the brand logo file that differentiation property parameters selection is adapted, wherein, the brand logo file It is stored in the brand logo list in preset memory areas domain;
The brand logo file of selection is decoded, and shows the brand logo that decoding obtains.
Preferably, the acquisition modes include at least following standardization acquisition modes:
The attribute acquisition modes of state:String country=SystemProperties.get (" ro.countryh ");
Client properties acquisition modes:String customer=SystemProperties.get (“ro.customerh”);
Brand generic acquisition modes:String brand=SystemProperties.get (" ro.brandh ").
Preferably, the differentiation property parameters in the preset memory areas domain are modified in the following manner:
By in new differentiation property parameters write-in movable storage device, and establish the movable storage device and terminal Data connection when the terminal detects differentiation property parameters new in the movable storage device, obtains described new Differentiation property parameters, and replace the differentiation property parameters stored in current preset memory areas domain;
Alternatively,
The system property menu of the terminal is called, differentiation property parameters in the system property menu are revised as newly Differentiation property parameters, and the new differentiation property parameters are preserved into preset memory areas domain, meanwhile, before deletion The differentiation property parameters of storage.
Preferably, the brand logo list obtains in the following manner:
Corresponding brand logo is determined for different differentiation property parameters;
Determining each brand logo with independent brand logo file is stored, obtains the brand logo row Table.
A kind of terminal, including:
Resolution unit, for reading and parsing the differentiation property parameters stored in the domain of preset memory areas, wherein, the difference Alienation property parameters include at least:National property parameters, client properties parameter and brand generic parameter;
Setting unit, for detect the differentiation property parameters for it is effective when, by the differentiation property parameters System property is set as, and corresponding acquisition modes are configured for the differentiation property parameters, so that in any system operatio Under the terminal obtain the differentiation property parameters, and join according to the differentiation attribute of acquisition according to the acquisition modes Number calls the exhibition method being adapted, wherein, the exhibition method is arranged in system program.
Preferably, the terminal further includes:
Selecting unit, for after detecting that the differentiation property parameters are effective, according to the differentiation property parameters The brand logo file being adapted is selected, wherein, the brand logo file is stored in the brand logo row in preset memory areas domain In table;
Display unit, for being decoded, and show that decoding obtains to the brand logo file that selecting unit selects Brand logo.
Preferably, the acquisition modes include at least following standardization acquisition modes:
The attribute acquisition modes of state:String country=SystemProperties.get (" ro.countryh ");
Client properties acquisition modes:String customer=SystemProperties.get (“ro.customerh”);
Brand generic acquisition modes:String brand=SystemProperties.get (" ro.brandh ").
Preferably, the differentiation property parameters in the preset memory areas domain are modified in the following manner:
By in new differentiation property parameters write-in movable storage device, and establish the movable storage device and terminal Data connection when the terminal detects differentiation property parameters new in the movable storage device, obtains described new Differentiation property parameters, and replace the differentiation property parameters stored in current preset memory areas domain;
Alternatively,
The system property menu of the terminal is called, differentiation property parameters in the system property menu are revised as newly Differentiation property parameters, and the new differentiation property parameters are preserved into preset memory areas domain, meanwhile, before deletion The differentiation property parameters of storage.
Preferably, the brand logo list obtains in the following manner:
Corresponding brand logo is determined for different differentiation property parameters;
Determining each brand logo with independent brand logo file is stored, obtains the brand logo row Table.
In embodiments of the present invention, by by the corresponding system software of general-purpose attribute and differentiation attribute in system software Corresponding system software separation, forms a new system software, which includes the corresponding system software of general-purpose attribute System software corresponding with all differentiation property parameters, and be stored in system program.Loading journey is guided in starting up In program process, read and parse the differentiation property parameters stored in the domain of preset memory areas.In the difference for detecting parsing and obtaining When change property parameters are effective, after differentiation property parameters are set as system property, it is configured for the differentiation property parameters Corresponding acquisition modes, so as to so that in the operation of subsequent any system, it is poor that intelligent terminal can be obtained according to acquisition modes Alienation property parameters, and the exhibition method being adapted according to the differentiation property parameters of acquisition calling, wherein, the exhibition method root Show different contents according to different differentiation property parameters.Involved technical solution through the embodiment of the present invention, can The corresponding system software of general-purpose attribute in system software system software corresponding with differentiation attribute is detached, by general-purpose attribute pair The system software fixed storage answered is both provided in each intelligent terminal, and for each intelligent terminal comprising all differences The corresponding system software of attribute can be integrated in embodiments of the present invention in a system software, performing the system software During, using defined standardization acquisition modes, the differentiation property parameters set are obtained from system property, and The exhibition method being adapted with the differentiation property parameters is called, so as to, it is not necessary to all set one for each type of intelligent terminal The corresponding system software of kind, but a plurality of types of intelligent terminals can share set of system software, even all intelligence Terminal can share set of system software, in this way, software developer just only needs exploitation one during software is developed General system software is covered, software test personnel also only need to test this general software, therefore, what this programme was related to Embodiment avoids the repeated labor for needing that a set of software will be developed to each type of intelligent terminal in the prior art, subtracts The exploitation, test, the burden produced of system software are lacked.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the flow diagram of a kind of system property setting method that the embodiment of the present invention one provides;
Fig. 2 is that the flow chart in preset memory areas domain is written in the differentiation property parameters provided in the embodiment of the present invention two;
Fig. 3 is the flow chart that differentiation property parameters are set as to system property provided in the embodiment of the present invention two;
Fig. 4 is the flow chart of displaying home provided by Embodiment 2 of the present invention;
Fig. 5 is the structure diagram of a kind of terminal that the embodiment of the present invention three provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing into It is described in detail to one step, it is clear that described embodiment is only the implementation of part of the embodiment of the present invention rather than whole Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work All other embodiment, shall fall within the protection scope of the present invention.
It should be noted that scheme according to the present invention can be applied in arbitrary terminal device, including non intelligent end End and intelligent terminal, since present market is essentially all intelligent terminal, following embodiment of the present invention is with intelligent end It is illustrated for end, but is not limited to the embodiment of following intelligent terminal, further include the embodiment of unintelligent terminal.
By existing intelligent terminal towards market it is different, and under normal circumstances, if intelligent terminal towards state Family, client or brand are different, it is necessary to design different system software class according to country variant, different clients or different brands The intelligent terminal of type, the system software types therefore, it is necessary to exploitation will increase, with increasing for system software types, system The difficulty of exploitation, production, the test of software etc. will be increasing.For this purpose, the embodiment of the present invention proposes a kind of system property Setting method, suitable for all types of intelligent terminals, specifically, by by system software general-purpose attribute (such as:It is infrared Driving, bluetooth, wifi, key set code definition, Wireless Display, USB are supported, OTA upgradings etc.) corresponding system software and differentiation category Property (such as:Country, client, brand etc.) separation of corresponding system software, a new system software is formed, is wrapped in the system software The corresponding system software of general-purpose attribute and all corresponding system softwares of differentiation property parameters are included, and is stored in system program In.During starting up's bootstrap loader, read and parse the differentiation property parameters stored in the domain of preset memory areas, Wherein, which is pre-written into the preset memory areas domain, determine the intelligent terminal towards market, i.e. the intelligence Can terminal towards country, client and affiliated brand.Detecting that the differentiation property parameters that parsing obtains are effective When, the differentiation attribute in the intelligent terminal is set as differentiation property parameters, and phase is configured for the differentiation property parameters Acquisition modes should be standardized, so as to so that in the operation of subsequent any system, intelligent terminal can be according to standardization acquisition side Formula obtains differentiation property parameters, and the exhibition method being adapted according to the differentiation property parameters of acquisition calling, wherein, the exhibition Show that mode shows different contents according to different differentiation property parameters, such as:According to different national property parameters, exhibition Show different home homepages and show different language;According to different client properties parameters, show different application classes Type and main body template;According to different brand generic parameters, the application of loading and the content of application are determined.
Involved technical solution through the embodiment of the present invention, can be soft by the corresponding system of general-purpose attribute in system software Part system software corresponding with differentiation attribute detaches, by the corresponding system software fixed storage of general-purpose attribute in each intelligence In terminal, and it is both provided with for each intelligent terminal comprising the corresponding system software of all differences attribute, i.e., comprising each state Family, each client, each brand system software, can be integrated in a system software that (this is in embodiments of the present invention Software of uniting be different from it is existing only comprising a country, a client, brand system software), performing, the system is soft During part (i.e. starting up of the invention, kernel are run, using in the overall process of loading), defined standard is utilized Change acquisition modes, the differentiation property parameters set are obtained from system property, and call and the differentiation property parameters phase The exhibition method of adaptation, so as to, it is not necessary to for each type of intelligent terminal, a kind of corresponding system software is all set, but it is a variety of The intelligent terminal of type can share set of system software, and it is soft that even all intelligent terminals can share set of system Part, in this way, software developer during software is developed, just only needs to develop a set of general system software, software is surveyed Examination personnel also only need to test this general software, and therefore, the embodiment that this programme is related to avoids in the prior art It needs that each type of intelligent terminal will be developed the repeated labor of a set of software, reduces the exploitation of system software, surveys Examination, the burden of production.
Technical solution according to the present invention is described in detail below by specific embodiment, the present invention include but It is not limited to following embodiment.
Embodiment one:
As shown in Figure 1, for the flow diagram of a kind of system property setting method that the embodiment of the present invention one provides, the party Case suitable for intelligent terminal, wherein, intelligent terminal according to the present invention can include but is not limited to:Smart television, intelligence The electronic equipments such as energy mobile phone, tablet computer.
Specifically, this method mainly includes the following steps that:
Step 101:It reads and parses the differentiation property parameters stored in the domain of preset memory areas, wherein, the differentiation category Property parameter includes at least:National property parameters, client properties parameter and brand generic parameter.
It should be noted that above-mentioned steps 101 can carry out during bootstrap loader is started.Specifically Ground, before the step 101, bootstrap loader Bootloader is the first segment generation that embedded system performs after power Code completes the initialization of CPU and related hardware at it and then fills operation system image or cured built-in application program It is downloaded in memory, then branches to the space where operating system, start-up operation system kernel Kernel operations.
During bootstrap loader is started, the differentiation property parameters of the storage in the domain of preset memory areas are read, And the differentiation property parameters of reading are parsed, obtain specific national property parameters, client properties parameter and brand category Property parameter.
In embodiments of the present invention, the differentiation property parameters in the preset memory areas domain can pass through following either type It modifies:
Mode one:New differentiation property parameters are written in movable storage device, and establish movable storage device and intelligence The data connection of energy terminal, in differentiation property parameters new during intelligent terminal detects movable storage device, obtains new Differentiation property parameters, and replace the differentiation property parameters stored in current preset memory areas domain;
Mode two:The system property menu of intelligent terminal is called, differentiation property parameters in system property menu are changed For new differentiation property parameters, and new differentiation property parameters are preserved into preset memory areas domain, meanwhile, before deletion The differentiation property parameters of storage.
Step 102:When it is effective to detect differentiation property parameters, it is by what differentiation property parameters were set as terminal Subordination, and corresponding acquisition modes are configured for differentiation property parameters, so that terminal is according to obtaining under any system operatio Mode is taken to obtain differentiation property parameters, and the exhibition method being adapted according to the differentiation property parameters of acquisition calling, wherein, Exhibition method is arranged in system program.
Specifically, in embodiments of the present invention, since each differentiation property parameters are written to preset memory areas domain Mode may be different, are written in the form of index sometimes, are written in the form of mark, title sometimes, but three be written every time The form of a differentiation property parameters should be to maintain consistent.Therefore, it is necessary to each differentiation property parameters to reading It is parsed, parsing becomes the code that system program can identify.Wherein, the differentiation property parameters being resolved to are effective, represent What parsing obtained is the alphabetical area of code form, otherwise, represents that analysis result is invalid.When analysis result is effective, pass through order Row (CMDline) sends differentiation property parameters to kernel (kernel), after kernel (kernel) starts, init into The differentiation property parameters of reading order row (CMDline) during Cheng Qidong, and the differentiation property parameters that will be read It is set as system property;When occur analysis result it is invalid when, which can be used the difference of default setting in system property Change property parameters, this default setting can be pre-set according to manufacture demand or customer survey reflection.As each intelligence The differentiation property parameters of one acquiescence of differentiation attribute setting in the system property of energy terminal.
For differentiation property parameters according to the present invention, each differentiation property parameters is both provided with marking accordingly Standardization acquisition modes, it is specific as follows:
National property parameters acquisition modes:String country=SystemProperties.get (“ro.countryh”);
Client properties parameter acquiring mode:String customer=SystemProperties.get (“ro.customerh”);
Brand generic parameter acquiring mode:String brand=SystemProperties.get (" ro.brandh ").
In addition, in a step 102, it, can also be according to differentiation category after detecting that differentiation property parameters are effective The brand logo file that property parameter selection is adapted, wherein, brand logo file is stored in the brand logo in preset memory areas domain In list;The brand logo file of selection is decoded, and shows the brand logo that decoding obtains.
Wherein, brand logo list obtains in the following manner:Corresponding product are determined for different differentiation property parameters Board logo;Determining each brand logo with independent brand logo file is stored, obtains brand logo list.At this In inventive embodiments, the filename of each brand logo file can be corresponding differentiation property parameters.
It should be noted that in embodiments of the present invention, national property parameters, client properties in differentiation property parameters Parameter and brand generic parameter can be specific national title, customer name, brand name or represent country Mark, index represent mark, the index of client, represent mark, the index of brand;Specifically, such as table 1 (a), table 1 (b) and table 1 (c), the row of national property parameters, client properties parameter and brand generic parameter that the embodiment of the present invention defines are respectively illustrated Table.The each differentiation property parameters being written in system program and the differentiation property parameters being written in the domain of preset memory areas must It must be consistent, it is necessary to which the same definition according to consulting is written, and can be defined with index, can also be with mark Know, title is defined.Such as:It is read from the domain of preset memory areas:1st, 0,1, then it represents that the intelligent terminal towards city Field is:Argentina, client h, brand N.Correspondingly, in the multiple differentiation property parameters stored in system program, it is provided with The brands such as the clients such as the countries such as the U.S., Argentina, China, h, n, m and H, N, M.And each differentiation property parameters can be right Should there are corresponding exhibition method or country, client, brand these three differentiation property parameters to be corresponding with corresponding displaying jointly Mode.
Index Country
0 China
1 Argentina
Table 1 (a)
Index Customer
0 Client h
1 Client n
Table 1 (b)
Index Brand
0 Brand H
1 Brand N
Table 1 (c)
Embodiment two:
In order to the claimed technical solution of the more detailed description present invention, below by specific example pair The above is explained.
Fixed storage has the corresponding system software of general-purpose attribute, differentiation in Flash chip in current intelligent terminal The corresponding system software of attribute (including multiple exhibition methods) is arranged in system program.
Assuming that current intelligent terminal be smart television, towards market be:China's (index is 0), client's h (ropes It is cited as 0), affiliated brand H (index is 0).It then needs before manufacture, this differentiation property parameters is written to USB flash disk first Etc. in specific movable storage device, for confidentiality and convenient for searching, it is specific to be that the differentiation property parameters establish one File file1, the differentiation property parameters of selection are written in the file file1 of USB flash disk.Then, USB flash disk is inserted into On smart television.Differentiation property parameters can be written in the domain of preset memory areas in following manner later, as shown in Fig. 2,
Step 201:By the specific keys on remote controler detection instruction is sent to smart television.
Step 202:Smart television receives detection instruction.
Step 203:With the presence or absence of file file1 in smart television detection USB flash disk, if in the presence of, step 204 is performed, it is no Then, step 205 is performed.
Step 204:Differentiation property parameters in smart television reading folder, and the text stored to preset memory areas domain In part folder file2.
Step 205:Smart television shows abnormal prompt, to indicate that operating personnel carry out inspection operation.
In addition, smart television according to the present invention can also be detected automatically, i.e., USB flash disk be inserted into smart television it Afterwards, smart television voluntarily starts the detection to USB flash disk, and after file1 files are detected, the differentiation attribute in reading folder Parameter, and store into the file file2 in preset memory areas domain.
After the differentiation property parameters being written into copy the file file2 in preset memory areas domain to, Ke Yigen According to the differentiation attribute in the differentiation property parameters setting system property stored in the preset memory areas domain.The system property Setting be happened at during Boot starts, it is specifically, specific to wrap as shown in figure 3, for the setting procedure figure to system property It includes:
Step 301:Read the file file2 in preset memory areas domain.
Step 302:Parse this document folder file2, and obtain differentiation property parameters (correspond specifically to China, client h, Brand H).
Step 303:Judge whether the differentiation property parameters obtained are effective, it, otherwise, will if effectively, performing step 304 Perform step 305.
Step 304:The differentiation property parameters of default setting are obtained, and jump to step 305.
Step 305:The differentiation property parameters of acquisition are passed into Android application framework by kernel, and by differentiation category Property parameter is set as system property.
Specifically, the differentiation attribute in system property can be set as the differentiation property parameters got, so as to, In the operation of subsequent any system, the exhibition method that be adapted can be called according to the differentiation property parameters set. Such as:For the exhibition method of the differentiation of home, it is mainly reflected in:Show different homepages according to different clients, brand Template shows different feature codes and different backstage interactive modes according to different countries, is pushed away according to different brands Different applications is recommended, according to the different number of applications of different countries, client, brand definition and application type.Therefore, it is setting After the differentiation attribute of system property, not only influence the process that starting up loads application, can also influence it is subsequent with The relevant other systems operation of differentiation attribute in system property.Moreover, any system behaviour involved by the embodiment of the present invention one Make, not only refer to start bootstrap loader during system operatio, further include start bootstrap loader complete after All system operatios for terminal, i.e.,:Start process and some subsequent attributes call or are related to differentiation attribute User's operation of parameter etc..
As shown in figure 4, it is specifically described so that home is shown as an example below.
Step 401:Differentiation property parameters are obtained from system property.In this example, specially:China, client h, Brand H.
Step 402:Home templates to be shown are determined according to brand H.
Step 403:Corresponding feature code is determined, and download corresponding resource according to China.
Step 404:It is determined to recommend application content according to brand H.
Step 405:According to the determining home templates to be shown of the respective resources of download filling so that home template datas Initialization.
Step 406:Determining recommendation application content is filled into the home of initialization.
Step 407:Determine the application of loading, home displayings are completed.
In addition, in embodiments of the present invention, the differentiation property parameters in involved system property can be to intelligent electricity It is had an impact depending on the language of displaying, interactive mode, application type etc., such as:If smart television is towards China, the smart television Any text information shown should all be accompanied with Chinese, in order to its people can understand it is clear.In addition, since application can prop up The degree held is different, if smart television, towards the U.S., which can show the basic application such as Facebook.
Corresponding brand logo (brand logo) can be all shown for each smart television, in start process, this It is also exhibition methods different caused by differentiation attribute.It specifically, can be true for different differentiation property parameters in advance Fixed corresponding brand logo, wherein, according to the difference of brand, determine different brand logos or, according to country, client, product The difference of differentiation property parameters that board three collectively constitutes, determines different brand logos.In general, brand logo is most All it is picture format (brand logo for also having extended formatting), can is respectively the different brand logo figure of different Brand Designs Piece, and different filenames is respectively defined as, such as:The brand logo of h brands is defined as logo h.It should be noted that product The combination of the filename of board logo is simultaneously not construed as limiting, merely to realizing correct convenient index.By determining each product Board logo is stored with independent brand logo file, just obtains brand logo list.The brand logo list is deposited in advance It stores up into the alternative document folder in preset memory areas domain, so that smart television is in start process, utilizes the differentiation category got Property parameter, determine brand logo index (or brand logo title) to be called, then call phase from the domain of preset memory areas The brand logo file answered, is decoded by sub-picture decoder etc., and the brand logo picture that decoding is obtained is shown.
In addition, due to extraneous various force majeure factors, intelligent terminal towards market be not unique, it is possible to It is changed and changed according to the demand in market, such as:Certain a collection of smart television originally will towards the U.S., client h, brand H, but It is due to the influence of certain policies, needs export trade to India, client y, brand Y, then, it is necessary to determining the smart television The setting of the imparting flexibility of differentiation property parameters.Since the plan of establishment of the system property of the present invention embodies flexibility Accommodation, therefore, the differentiation property parameters in the system property of intelligent terminal according to the present invention can be changed.But It is that this modification operates what not all user can be carried out, and not so the system software of smart television may be caused Negative effect.Therefore, it can be the certain permission of modification operation setting, modification be allowed to operate in factory's setup phase, Yi Ji After manufacture, factory menu is opened according to permissions such as passwords, by way of changing the differentiation property parameters in system property pair Differentiation attribute is modified.
Embodiment three:
Based on belonging to same inventive concept with the system property setting method involved by above-described embodiment one and embodiment two, The embodiment of the present invention additionally provides a kind of terminal.
As shown in figure 5, for the structure diagram of a kind of terminal that the embodiment of the present invention three provides, which includes placing an order Member:
Resolution unit 501, for reading and parsing the differentiation property parameters stored in the domain of preset memory areas, wherein, it is poor Alienation property parameters include at least:National property parameters, client properties parameter and brand generic parameter.
Setting unit 502, for when it is effective to detect differentiation property parameters, differentiation property parameters to be set as System property, and corresponding acquisition modes are configured for differentiation property parameters, so that the intelligent terminal under any system operatio Differentiation property parameters, and the displaying side being adapted according to the differentiation property parameters of acquisition calling are obtained according to acquisition modes Formula, wherein, exhibition method is arranged in system program.
In embodiments of the present invention, acquisition modes include at least following standardization acquisition modes:The attribute acquisition modes of state: String country=SystemProperties.get (" ro.countryh ");Client properties acquisition modes:String Customer=SystemProperties.get (" ro.customerh ");Brand generic acquisition modes:String brand =SystemProperties.get (" ro.brandh ").
In addition, the terminal is in addition to after comprising above structure unit, further including:
Selecting unit, for after detecting that differentiation property parameters are effective, being selected according to differentiation property parameters The brand logo file being adapted, wherein, brand logo file is stored in the brand logo list in preset memory areas domain;
Display unit, the brand logo file for selecting selecting unit are decoded, and show the product that decoding obtains Board logo.
Wherein, the differentiation property parameters in the domain of preset memory areas are modified in the following manner:
New differentiation property parameters are written in movable storage device, and establish the data of movable storage device and terminal Connection, in differentiation property parameters new during terminal detects movable storage device, obtains new differentiation property parameters, and Replace the differentiation property parameters stored in current preset memory areas domain;Alternatively, the system property menu of terminal is called, by system Differentiation property parameters are revised as new differentiation property parameters in attribute menu, and by new differentiation property parameters preserve to In the domain of preset memory areas, meanwhile, delete the differentiation property parameters stored before.
Wherein, brand logo list obtains in the following manner:Corresponding product are determined for different differentiation property parameters Board logo;Determining each brand logo with independent brand logo file is stored, obtains brand logo list.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of system property setting method, which is characterized in that fixed storage has the corresponding system of general-purpose attribute in intelligent terminal Software, the corresponding system software of differentiation attribute, the method includes:
It reads and parses the differentiation property parameters stored in the domain of preset memory areas, wherein, the differentiation property parameters are at least Including:National property parameters, client properties parameter and brand generic parameter;
When it is effective to detect the differentiation property parameters, the differentiation property parameters are set as system property, and Corresponding acquisition modes are configured for the differentiation property parameters, so that terminal is according to the acquisition under any system operatio Mode obtains the differentiation property parameters, and the displaying side being adapted according to the differentiation property parameters of acquisition calling Formula, wherein, the exhibition method is arranged in system program.
2. the method as described in claim 1, which is characterized in that after detecting that the differentiation property parameters are effective, also Including:
According to the brand logo file that differentiation property parameters selection is adapted, wherein, the brand logo file storage In the brand logo list in preset memory areas domain;
The brand logo file of selection is decoded, and shows the brand logo that decoding obtains.
3. the method as described in claim 1, which is characterized in that the acquisition modes include at least following standardization acquisition side Formula:
The attribute acquisition modes of state:String country=SystemProperties.get (" ro.countryh ");
Client properties acquisition modes:String customer=SystemProperties.get (" ro.customerh ");
Brand generic acquisition modes:Stringbrand=SystemProperties.get (" ro.brandh ").
4. the method as described in claim 1, which is characterized in that the differentiation property parameters in the preset memory areas domain pass through In the following manner is modified:
New differentiation property parameters are written in movable storage device, and establish the data of the movable storage device and terminal Connection when the terminal detects differentiation property parameters new in the movable storage device, obtains the new difference Change property parameters, and replace the differentiation property parameters stored in current preset memory areas domain;
Alternatively,
The system property menu of the terminal is called, differentiation property parameters in the system property menu are revised as new difference Alienation property parameters, and the new differentiation property parameters are preserved into preset memory areas domain, meanwhile, it is stored before deleting Differentiation property parameters.
5. method as claimed in claim 2, which is characterized in that the brand logo list obtains in the following manner:
Corresponding brand logo is determined for different differentiation property parameters;
Determining each brand logo with independent brand logo file is stored, obtains the brand logo list.
6. a kind of terminal, which is characterized in that including:
Resolution unit, for reading and parsing the differentiation property parameters stored in the domain of preset memory areas, wherein, the differentiation Property parameters include at least:National property parameters, client properties parameter and brand generic parameter;
Setting unit, for when it is effective to detect the differentiation property parameters, the differentiation property parameters to be set Corresponding acquisition modes are configured for system property, and for the differentiation property parameters, so that under any system operatio eventually End obtains the differentiation property parameters, and call phase according to the differentiation property parameters of acquisition according to the acquisition modes The exhibition method of adaptation, wherein, the exhibition method is arranged in system program.
7. terminal as claimed in claim 6, which is characterized in that further include:
Selecting unit, for after detecting that the differentiation property parameters are effective, being selected according to the differentiation property parameters The brand logo file being adapted, wherein, the brand logo file is stored in the brand logo list in preset memory areas domain;
Display unit for being decoded to the brand logo file that selecting unit selects, and shows the product that decoding obtains Board logo.
8. terminal as claimed in claim 6, which is characterized in that the acquisition modes include at least following standardization acquisition side Formula:
The attribute acquisition modes of state:String country=SystemProperties.get (" ro.countryh ");
Client properties acquisition modes:String customer=SystemProperties.get (" ro.customerh ");
Brand generic acquisition modes:Stringbrand=SystemProperties.get (" ro.brandh ").
9. terminal as claimed in claim 6, which is characterized in that the differentiation property parameters in the preset memory areas domain pass through In the following manner is modified:
New differentiation property parameters are written in movable storage device, and establish the data of the movable storage device and terminal Connection when the terminal detects differentiation property parameters new in the movable storage device, obtains the new difference Change property parameters, and replace the differentiation property parameters stored in current preset memory areas domain;
Alternatively,
The system property menu of the terminal is called, differentiation property parameters in the system property menu are revised as new difference Alienation property parameters, and the new differentiation property parameters are preserved into preset memory areas domain, meanwhile, it is stored before deleting Differentiation property parameters.
10. terminal as claimed in claim 7, which is characterized in that the brand logo list obtains in the following manner:
Corresponding brand logo is determined for different differentiation property parameters;
Determining each brand logo with independent brand logo file is stored, obtains the brand logo list.
CN201510042131.0A 2015-01-26 2015-01-26 A kind of system property setting method and terminal Active CN104615463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510042131.0A CN104615463B (en) 2015-01-26 2015-01-26 A kind of system property setting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510042131.0A CN104615463B (en) 2015-01-26 2015-01-26 A kind of system property setting method and terminal

Publications (2)

Publication Number Publication Date
CN104615463A CN104615463A (en) 2015-05-13
CN104615463B true CN104615463B (en) 2018-07-06

Family

ID=53149922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510042131.0A Active CN104615463B (en) 2015-01-26 2015-01-26 A kind of system property setting method and terminal

Country Status (1)

Country Link
CN (1) CN104615463B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630544A (en) * 2015-12-21 2016-06-01 小米科技有限责任公司 System updating control method and apparatus as well as server device
CN106648774A (en) * 2016-12-21 2017-05-10 上海斐讯数据通信技术有限公司 Method and device for configuring ONU product factory setting according to different manufacturers
CN107526612B (en) * 2017-08-18 2019-06-07 广州视源电子科技股份有限公司 Program activation method and system, readable storage medium and intelligent device
CN107682747A (en) * 2017-09-28 2018-02-09 深圳前海茂佳软件科技有限公司 TV set software rapid generation and device
CN109413472A (en) * 2018-12-06 2019-03-01 北京四达时代软件技术股份有限公司 A kind of configuration method and system of STB terminal
CN109656638A (en) * 2018-12-20 2019-04-19 广东浪潮大数据研究有限公司 A kind of user based on Purley platform customizes the implementation method of function
CN111124483B (en) * 2019-12-26 2024-01-30 深圳创维-Rgb电子有限公司 System software adaptation method, terminal and storage medium
CN111930437B (en) * 2020-07-15 2024-03-22 上海沪振物联技术有限公司 Parameter configuration method
CN112114885B (en) * 2020-09-15 2024-05-10 青岛海信移动通信技术有限公司 Terminal, control equipment and service processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063467A (en) * 2010-12-08 2011-05-18 中兴通讯股份有限公司 Method and system for acquiring customizable parameters
CN102446120A (en) * 2011-12-23 2012-05-09 广东步步高电子工业有限公司 Method for automatically switching drivers of different mobile phone screens and corresponding display system
CN102572807A (en) * 2012-03-06 2012-07-11 深圳市软讯信息技术有限公司 Device and method for automatically acquiring mobile phone terminal equipment model
CN102724657A (en) * 2012-06-19 2012-10-10 惠州Tcl移动通信有限公司 Method and system for automatically configuring mobile terminal parameters of Android system
CN102984359A (en) * 2012-11-13 2013-03-20 广东欧珀移动通信有限公司 Method of automatic set-up of mobile phone parameters

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063467A (en) * 2010-12-08 2011-05-18 中兴通讯股份有限公司 Method and system for acquiring customizable parameters
CN102446120A (en) * 2011-12-23 2012-05-09 广东步步高电子工业有限公司 Method for automatically switching drivers of different mobile phone screens and corresponding display system
CN102572807A (en) * 2012-03-06 2012-07-11 深圳市软讯信息技术有限公司 Device and method for automatically acquiring mobile phone terminal equipment model
CN102724657A (en) * 2012-06-19 2012-10-10 惠州Tcl移动通信有限公司 Method and system for automatically configuring mobile terminal parameters of Android system
CN102984359A (en) * 2012-11-13 2013-03-20 广东欧珀移动通信有限公司 Method of automatic set-up of mobile phone parameters

Also Published As

Publication number Publication date
CN104615463A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN104615463B (en) A kind of system property setting method and terminal
CN103092665B (en) Immediate updating device and immediate updating method
CN115097981B (en) Method for processing content and electronic device thereof
US20120230587A1 (en) Systems and methods for testing content of mobile communication devices
EP2570917B1 (en) Method and device for adding menu items in android menu
CN104217169B (en) Method and device, terminal are recommended in a kind of encryption
CN106843978B (en) SDK access method and system
CN110414249B (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN110221968A (en) Method for testing software and Related product
CN108776592B (en) Page construction method, device, equipment and storage medium
CN105446739A (en) UI interface setting method and apparatus
KR20130142692A (en) License verification method, apparatus and computer readable medium thereof
CN111563015A (en) Data monitoring method and device, computer readable medium and terminal equipment
CN113312083B (en) Application generation method, device and equipment
CN108874495B (en) Theme resource conversion method and device and electronic equipment
CN106776266A (en) The collocation method and terminal device of testing tool
CN106815037B (en) Application function execution method and device
CN108897588B (en) Routing method and routing device for communication between modules
CN112148395A (en) Page display method, device, equipment and storage medium
CN104615770A (en) Recommendation method and recommendation device for data of bookmark of mobile terminal
CN104572454B (en) A kind of method and device of locating resource
CN107368557B (en) Page editing method and device
CN105404663A (en) Android device file list display method and system
CN112799955A (en) Model change detection method and device, storage medium and electronic equipment
CN111435313A (en) Method and device for changing skin of software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Visual Technology Co., Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CP01 Change in the name or title of a patent holder