CN109525729B - Theme color matching control method, device and system and storage medium - Google Patents

Theme color matching control method, device and system and storage medium Download PDF

Info

Publication number
CN109525729B
CN109525729B CN201811438211.8A CN201811438211A CN109525729B CN 109525729 B CN109525729 B CN 109525729B CN 201811438211 A CN201811438211 A CN 201811438211A CN 109525729 B CN109525729 B CN 109525729B
Authority
CN
China
Prior art keywords
color
theme
terminal device
setting
identification code
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
CN201811438211.8A
Other languages
Chinese (zh)
Other versions
CN109525729A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811438211.8A priority Critical patent/CN109525729B/en
Publication of CN109525729A publication Critical patent/CN109525729A/en
Application granted granted Critical
Publication of CN109525729B publication Critical patent/CN109525729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/727Identification code transfer arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a theme color matching control method, a device and a system and a computer readable storage medium, wherein the method comprises the following steps: acquiring a hardware identification code of the terminal equipment; acquiring a color zone bit corresponding to the color of a battery cover of the terminal equipment according to the hardware identification code; and setting the software theme of the terminal equipment according to the color zone bit. The color flag bit corresponding to the battery cover color can be acquired by acquiring the hardware identification code of the terminal device, the software theme of the terminal device is automatically set according to the color flag bit, the software theme and the battery cover color are automatically matched and set, misoperation which may occur in manual setting is avoided, and meanwhile labor cost is saved.

Description

Theme color matching control method, device and system and storage medium
Technical Field
The present application relates to the field of terminal device technologies, and in particular, to a theme color matching control method, device, system, and computer-readable storage medium.
Background
At present, the popularity of mobile terminal devices such as mobile phones and the like is higher and higher, and smart phones become essential personal belongings for people going out. In order to realize good user experience, the smart phone supports the user-defined setting of theme software, and corresponding contents such as standby pictures, screen protection programs, ringtones, operation interfaces, icons and the like can be set at one time by downloading the theme software of the mobile phone, so that a user can more quickly and conveniently personalize the mobile phone in mind.
Disclosure of Invention
The application provides a theme color matching control method, device and system and a computer readable storage medium, which can realize automatic matching setting of software theme and battery cover color.
In a first aspect, an embodiment of the present application provides a theme color matching control method, including: acquiring a hardware identification code of the terminal equipment; acquiring a color zone bit corresponding to the color of a battery cover of the terminal equipment according to the hardware identification code; and setting the software theme of the terminal equipment according to the color zone bit.
In a second aspect, an embodiment of the present application provides a theme color matching control apparatus, including: the hardware identification module is used for acquiring a hardware identification code of the terminal equipment; the color acquisition module is used for acquiring a color flag bit corresponding to the color of a battery cover of the terminal equipment according to the hardware identification code; and the theme setting module is used for setting the software theme of the terminal equipment according to the color zone bit.
In a third aspect, an embodiment of the present application provides a theme color matching control system, which includes a terminal device, a production execution system, and a current test tool, where the current test tool is configured to read a hardware identification code of the terminal device, obtain a color flag bit corresponding to a color of a battery cover of the terminal device from the production execution system, and write the color flag bit into the terminal device, and the terminal device is configured to set a software theme of the terminal device according to the color flag bit.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, in which program code is stored, and the program code can be called by a processor to execute the method according to the first aspect.
The theme color matching control method, the device and the system as well as the computer readable storage medium provided by the embodiment of the application can be used for firstly acquiring the hardware identification code of the terminal equipment, then acquiring the color flag bit corresponding to the color of the battery cover of the terminal equipment according to the hardware identification code, and finally setting the software theme of the terminal equipment according to the color flag bit. According to the embodiment of the application, the color flag bit corresponding to the color of the battery cover can be acquired by acquiring the hardware identification code of the terminal equipment, the software theme of the terminal equipment is automatically set according to the color flag bit, the software theme and the color of the battery cover are automatically matched and set, misoperation which possibly occurs in manual setting is avoided, and meanwhile, the labor cost is saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a theme color matching control method according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating a subject color matching control method according to another embodiment of the present application;
FIG. 3 is a schematic flow chart showing steps S208 to S214 in yet another embodiment of the present application;
fig. 4 shows a block diagram of a subject color matching control apparatus provided in an embodiment of the present application;
fig. 5 is a block diagram of a terminal device for executing a subject color matching control method according to an embodiment of the present application;
FIG. 6 is a block diagram of a subject color matching control system provided by an embodiment of the present application;
fig. 7 is a storage unit for storing or carrying a program code for implementing a subject color matching control method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the rapid development of the science and technology level, the science and technology beauty industry is emerging as a new industry. Fashion IT brands are diversified with the market.
In the middle and later stages of the nineties of the twentieth century, the mobile phone protection shell begins to prevail by means of the opportunity of slimming of the mobile phone, the types of the mobile phone protection shell are diversified along with the increase of the brand and the function of the mobile phone, and the mobile phone protection shell is qualitatively divided into leather, silica gel, cloth, hard plastic, soft plastic and other products. With the popularization of mobile phones in young communities, almost every young person pursuing fashion wants to have a unique mobile phone, and beauty treatment of the mobile phone gradually becomes a way for showing individuality.
However, the mobile phone protection shell always belongs to a peripheral product of the mobile phone, and under the condition that the price of the current intelligent terminal is generally high, not all users are willing to continuously purchase the mobile phone protection shell only for the purpose of attractiveness after purchasing the intelligent mobile phone. In this case, the importance of aesthetic design of the handset body is becoming increasingly apparent.
In order to make the mobile phone body more beautiful, mobile phone manufacturers start to make the mobile phone battery covers into different colors, and generally, mobile phones of the same style have a plurality of different selectable battery cover colors, so that the intelligent terminal product becomes more unique and attractive.
In order to further improve the user experience, manufacturers of the intelligent terminals usually match the battery covers with different colors with the matched software themes, so that the whole intelligent terminal looks more harmonious. The software theme setting of the existing intelligent terminal is mostly manual operation, and workers on a production line manually set a color theme by utilizing a menu in a mobile phone interface engineering mode according to the corresponding relation between the specified color and the battery cover in a production scheme so as to achieve the purpose of color adaptation with the battery cover. However, the software theme is set manually by a worker, operation is easy to miss or misoperation, the set theme is not matched with the color of the battery cover, the manual operation process is complicated, and the labor cost is high.
In order to solve the above problems, the inventors have studied and proposed a subject color matching control method, apparatus, system, and computer-readable storage medium in the embodiments of the present application.
The following describes in detail a theme color matching control method, apparatus, terminal device, and storage medium provided in the embodiments of the present application with specific embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a theme color matching control method according to an embodiment of the present application. The theme color matching control method can firstly acquire the hardware identification code of the terminal equipment, then acquire the color zone bit corresponding to the battery cover color of the terminal equipment according to the hardware identification code, and finally set the software theme of the terminal equipment according to the color zone bit. In a specific embodiment, the theme color matching control method may be applied to the theme color matching control apparatus 300 shown in fig. 4 and the terminal device 100 shown in fig. 5, and is used to improve the experience of the user in viewing the display using the terminal device. The flow shown in fig. 1 will be described in detail below. The above-described theme color matching control method may specifically include the steps of:
step S101: and acquiring a hardware identification code of the terminal equipment.
The theme color matching control method provided by the embodiment can be suitable for terminal equipment, and the terminal equipment can be portable terminal equipment such as a mobile phone, a tablet personal computer and a wearable intelligent terminal. The terminal device has a hardware identification code corresponding thereto for characterizing the identity of the terminal device.
In one way, the hardware identifier of the terminal device may be a PCBA (Printed Circuit Board + Assembly) serial number. It is understood that in other possible embodiments, the hardware identification code may also be other identification codes that can be used to characterize the terminal device identity information.
Step S102: and acquiring a color flag bit corresponding to the color of a battery cover of the terminal equipment according to the hardware identification code.
In this embodiment, the color flag corresponding to the color of the battery cover of the terminal device can be obtained according to the hardware identification code of the terminal device.
In this embodiment, the battery cover may be a housing (or a back case or a shell) of the terminal device, and has a surface exposed to the outside, and different battery cover surfaces may have different battery cover colors, that is, different terminal devices may have different battery cover colors.
In this embodiment, one battery cover color corresponds to one color flag. In one approach, the color flag bits may be hexadecimal color codes, with different colors corresponding to different hexadecimal color codes, e.g., magenta "# FF00 FF", indigo "# 4B 0082", gold "# FFD 700", dark gray "# A9 A9", etc. In one approach, the color flag may also be an RGB value, such as magenta (255,0,255), indigo (75,0,130), gold (255,215,0), dark gray (169,169,169), and the like. It will be appreciated that the color flag may also be other flag information that may be used to indicate the color of the battery cover.
In some embodiments, the hardware identification code may be associated with a color flag corresponding to a color of the battery cover in advance, for example, a relationship between the hardware identification code and the color flag corresponding to the color of the battery cover may be established at a wire drawing process starting station of the terminal device, so that the hardware identification code of each terminal device can correspond to at least one color flag.
It will be appreciated that the same hardware identification code may also correspond to multiple color flag bits. For example, when the battery cover is a multi-color (with multiple colors), the hardware identification code of the terminal device corresponding to the battery cover may correspond to multiple different color flag bits.
Particularly, when the color of the battery cover is a single color, if the single color is suitable for a plurality of different colors, for example, when the color of the battery cover is silver, the battery cover is suitable for a plurality of colors such as white, dark gray, light gray, etc., and the color of the battery cover can also correspond to a plurality of color flag bits.
Step S103: and setting the software theme of the terminal equipment according to the color zone bit.
In this embodiment, after the color flag corresponding to the color of the battery cover of the terminal device is obtained, the software theme of the corresponding color can be matched according to the color flag, and the software theme is set as the software theme of the terminal device.
As one way, after the color flag is obtained, the user interface main tone of the terminal device may be switched to the color corresponding to the battery cover. In some embodiments, when the software theme of the terminal device has multiple colors, the color corresponding to the color flag bit can be used as a reference, and the similar color is used to render the color of the software theme, so as to realize the setting of the software theme with richer colors.
According to the theme color matching control method provided by one embodiment of the application, the color flag bit corresponding to the color of the battery cover can be obtained by obtaining the hardware identification code of the terminal equipment, the software theme of the terminal equipment is automatically set according to the color flag bit, the automatic matching setting of the software theme and the color of the battery cover is realized, the misoperation possibly occurring in manual setting is avoided, and meanwhile, the labor cost is saved.
Referring to fig. 2, fig. 2 is a flow chart illustrating a theme color matching control method according to another embodiment of the present application. The flow shown in fig. 2 will be described in detail below. The above-described theme color matching control method may specifically include the steps of:
step S201: and acquiring the binding relationship between the hardware identification code of the terminal equipment and the terminal material code.
In this embodiment, the terminal material code may be a material code corresponding to a battery cover material of the terminal device. It can be understood that the battery cover is manufactured by using different materials to process the battery cover so that the battery cover has different surface colors, and the different battery cover colors correspond to different terminal material codes.
As a way, the binding relationship between the hardware identification code and the terminal material code can be established at the start station of the wire pulling process section of the terminal device, so that the hardware identification code of each terminal device can have the terminal material code corresponding to the hardware identification code.
Step S202: and acquiring the corresponding relation between the hardware identification code and the battery cover color of the terminal equipment and the color flag bit corresponding to the battery cover color according to the binding relation.
In this embodiment, since the terminal material code may directly correspond to the battery cover color of the terminal device, after the binding relationship between the hardware identification code and the terminal material code is obtained, the corresponding relationship between the hardware identification code of the terminal device and the battery cover color and the color flag corresponding to the battery cover color may be further obtained.
As a way, after the terminal device establishes the binding relationship between the hardware identification code and the terminal material code, the corresponding relationship between the material code corresponding to the terminal device as a whole, the battery cover color and the color flag bit can be maintained in a Manufacturing Execution System (MES).
Step S203: and acquiring a hardware identification code of the terminal equipment.
In this embodiment, the hardware identifier of the terminal device may be a PCBA serial number, the hardware identifier of the terminal device may be stored locally in the terminal device, and the terminal device may directly obtain the PCBA serial number corresponding to the terminal device as the hardware identifier.
Step S204: and acquiring a terminal material code of the terminal equipment according to the hardware identification code and the binding relation.
In this embodiment, after the hardware identification code is obtained, the mobile phone material code corresponding to the hardware identification code may be obtained according to the binding relationship between the PCBA serial number and the terminal material code, which is established in advance at the start station of the wire pulling process section.
In this embodiment, as a mode, the binding relationship between the hardware identification code and the terminal material code may be stored locally in the terminal device, or may be stored in the production execution system.
In some embodiments, when the terminal device is tested at the current testing station, the current testing tool can issue a control instruction to the terminal device and read a terminal material code of the terminal device; in other embodiments, the current testing tool may read a hardware identification code of the terminal device, and match a corresponding terminal material code in the production execution system according to the hardware identification code and the binding relationship.
Step S205: and responding to a control instruction issued by the current testing tool, and sending a terminal material code to the current testing tool so that the current testing tool can acquire the battery cover color corresponding to the terminal material code and the color zone bit corresponding to the battery cover color.
In this embodiment, when the terminal device performs a test at the current test station, the current test tool may issue a control instruction to the terminal device to read the terminal material code of the terminal device, and match the corresponding color of the battery cover and the color flag corresponding to the color of the battery cover in the production execution system according to the terminal material code.
In this embodiment, as a mode, the control command issued by the current testing tool to the terminal device may be an AT command.
Step S206: the color flag bit written by the current test tool is obtained.
In this embodiment, after the current testing tool obtains the battery cover color corresponding to the terminal material code and the color flag bit corresponding to the battery cover color from the production execution system, the color flag bit corresponding to the battery cover color of the terminal device may be written into the local memory of the terminal device through the control instruction, so that the terminal device can read the color flag bit.
Step S207: and setting the software theme of the terminal equipment according to the color zone bit.
In this embodiment, after the current testing tool writes the color flag bit in the local memory of the terminal device, the terminal device may read the color flag bit and match the corresponding software theme color according to the color flag bit, so as to automatically set the software theme of the terminal device.
Referring to fig. 3, in this embodiment, further, after the software theme of the terminal device is set, the setting result of the software theme may be checked to avoid a situation that the automatic setting fails.
Step S208: and acquiring a color result after the software theme setting of the terminal equipment takes effect.
In this embodiment, the color result after the software theme setting takes effect may be represented in the same manner as a hexadecimal color code, an RGB value, or the like. As one way, the display color of the software theme may be called from the display module of the terminal device, and the dominant hue of the software theme is taken as the color result. After the color result is obtained, the color result may be checked against the color flag bit.
Step S209: and judging whether the color result is matched with the color zone bit.
In this embodiment, as a mode, when the color result after the software theme setting is validated is the same as the color represented by the color flag, it may be considered that the color result matches the color flag. In some embodiments, a color float range may also be set centered on the color flag bit, and when the color result of the software theme is within the color float range, the color result may also be considered to match the color flag bit.
In some embodiments, color matching may be performed either locally at the terminal device or through a current test tool. The current testing tool can read the color result of the validated software theme setting of the terminal equipment again through the control instruction, and compares and verifies the color result with the color flag bit acquired from the production execution system to judge whether the color result is consistent with the color flag bit.
In this embodiment, when the color result matches the color flag, it may be considered that the software theme color of the current terminal device is automatically set successfully, and a subsequent terminal test process in other aspects may be performed; when the color result does not match the color flag, step S210 may be performed.
Step S210: and searching a target theme corresponding to the color zone bit in the production execution system according to the color zone bit.
In this embodiment, when the color result does not match the color flag, the terminal device may not locally store the software theme corresponding to the color flag, and the color of the software theme cannot be correctly set to the color corresponding to the color flag. In this case, the terminal device may attempt to search for a target subject corresponding to the color flag in the production execution system.
Step S211: and judging whether a target theme corresponding to the color flag bit exists in the production execution system.
In this embodiment, when the target theme corresponding to the color flag does not exist in the production execution system, step S212 may be executed; when the target subject corresponding to the color flag exists in the production execution system, step S213 may be performed.
Step S212: and outputting defective product information.
In this embodiment, the defective product information may be used to indicate that the current terminal device is a defective product. It can be understood that, when there is not the target theme corresponding with the color flag bit in the production execution system, the terminal device can't obtain the target theme corresponding with the color flag bit from the production execution system, and at this moment, the battery cover color of the terminal device may not bind the corresponding color flag bit in advance, or the display module of the terminal device has a problem, resulting in that the color result set is not matched with the color flag bit, and at this moment, the terminal device can be considered as a defective product, and the staff needs to be prompted to screen and rework.
Step S213: and acquiring a target theme corresponding to the color zone bit.
In this embodiment, when a target theme corresponding to the color flag exists in the production execution system, the terminal device may obtain the target theme from the production execution system. In some embodiments, the current testing tool may first read the color flag corresponding to the terminal device from the production execution system, match the color flag to the target theme in the production execution system, and transmit the target theme to the terminal device, so that the terminal device obtains the target theme.
Step S214: and setting the software theme of the terminal equipment as a target theme.
In this embodiment, after the terminal device obtains the target theme corresponding to the color flag, the software theme of the terminal device may be switched to the target theme.
As a way, after switching to the target theme, the terminal device may check the color of the set software theme again, and if the obtained color result is not matched with the color flag bit, it may be that the hardware of the terminal device has a problem, resulting in that an interface with a correct color cannot be displayed, and at this time, the defective product information may be output, and the staff is informed to screen and rework the terminal device.
Compared with the theme color matching control method shown in fig. 1, the theme color matching control method provided in another embodiment of the present application further compares and verifies the color result after the software theme setting of the terminal device takes effect with the color flag corresponding to the battery cover color, and cuts out the defective product when the two are not consistent, thereby improving the production efficiency and further saving the labor.
Referring to fig. 4, fig. 4 is a block diagram illustrating a theme color matching control apparatus 300 according to an embodiment of the present application. The theme color matching control apparatus 300 is applied to the terminal device 100 shown in fig. 5, and will be explained with reference to the block diagram shown in fig. 4, and the theme color matching control apparatus 300 includes: a hardware identification module 310, a color acquisition module 320, and a theme setting module 330, wherein:
and the hardware identification module 310 is configured to obtain a hardware identification code of the terminal device.
And a color obtaining module 320, configured to obtain, according to the hardware identification code, a color flag corresponding to a color of a battery cover of the terminal device. Further, the color obtaining module 320 includes:
and the binding unit is used for acquiring the terminal material code of the terminal equipment according to the hardware identification code and the binding relation.
And the color unit is used for responding to a control instruction issued by the current testing tool and sending the terminal material code to the current testing tool so that the current testing tool can acquire the battery cover color corresponding to the terminal material code and the color zone bit corresponding to the battery cover color.
An obtaining unit for obtaining the color flag bit written by the current test tool.
And the theme setting module 330 is configured to set a software theme of the terminal device according to the color flag.
In some embodiments, further, the theme color matching control apparatus 300 further includes:
and the binding module is used for acquiring the binding relationship between the hardware identification code of the terminal equipment and the terminal material code.
And the corresponding module is used for acquiring the corresponding relation between the hardware identification code and the battery cover color of the terminal equipment and the color flag bit corresponding to the battery cover color according to the binding relation.
And the result module is used for acquiring the color result after the software theme setting of the terminal equipment takes effect.
And the checking module is used for comparing and checking the color result and the color zone bit. Further, the check module includes:
and the matching unit is used for judging whether the color result is matched with the color zone bit.
And the information unit is used for outputting defective product information when the color result is not matched with the color zone bit, wherein the defective product information is used for indicating that the current terminal equipment is a defective product. Further, the information unit includes:
and the searching subunit is used for searching a target theme corresponding to the color zone bit in the production execution system according to the color zone bit.
And the judging subunit is used for judging whether a target theme corresponding to the color flag bit exists in the production execution system.
And the information subunit is used for outputting the defective product information when the target theme corresponding to the color zone bit does not exist in the production execution system.
And the obtaining subunit is used for obtaining the target theme corresponding to the color flag bit from the production execution system when the target theme corresponding to the color flag bit exists in the production execution system.
And the setting subunit is used for setting the software theme of the terminal equipment as the target theme.
According to the theme color matching control device provided by one embodiment of the application, the color flag bit corresponding to the color of the battery cover can be acquired by acquiring the hardware identification code of the terminal equipment, the software theme of the terminal equipment is automatically set according to the color flag bit, the automatic matching setting of the software theme and the color of the battery cover is realized, the misoperation possibly occurring in manual setting is avoided, and meanwhile, the labor cost is saved.
Referring to fig. 5, a block diagram of a terminal device 100 according to an embodiment of the present disclosure is shown. The terminal device 100 may be a terminal device capable of running an application, such as a smart phone, a tablet computer, an electronic book, a wearable smart terminal, and the like. The terminal device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 110 may include one or more processing cores, among other things. The processor 110 connects various parts within the entire terminal device 100 using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
Referring to fig. 6, a block diagram of a theme color matching control system 1000 according to an embodiment of the present application is shown. The theme color matching control system 1000 includes the terminal device 100, the production execution system 400, and the current test tool 500 in the above-described embodiment.
In some embodiments, the current testing tool 500 may read a hardware identification code of the terminal device 100, and obtain a color flag corresponding to a color of a battery cover of the terminal device 100 from the production execution system 400 based on the hardware identification code, and write the color flag into the terminal device 100; the terminal device 100 can set the software theme of the terminal device 100 according to the color flag.
Referring to fig. 7, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 200 has stored therein a program code which can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 200 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 200 includes a non-volatile computer-readable storage medium. The computer readable storage medium 200 has storage space for program code 210 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 210 may be compressed, for example, in a suitable form.
In summary, the theme color matching control method, the device, the system and the computer readable storage medium provided in the embodiments of the present application may obtain the hardware identification code of the terminal device, obtain the color flag corresponding to the color of the battery cover of the terminal device according to the hardware identification code, and set the software theme of the terminal device according to the color flag. According to the embodiment of the application, the color flag bit corresponding to the color of the battery cover can be acquired by acquiring the hardware identification code of the terminal equipment, the software theme of the terminal equipment is automatically set according to the color flag bit, the software theme and the color of the battery cover are automatically matched and set, misoperation which possibly occurs in manual setting is avoided, and meanwhile, the labor cost is saved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (7)

1. A theme color matching control method is used for setting a software theme of a terminal device on a production line, and comprises the following steps:
acquiring a hardware identification code of a terminal device, wherein the hardware identification code is used for representing identity information of the terminal device;
acquiring a color flag bit corresponding to the color of a battery cover of the terminal equipment according to the hardware identification code;
setting a software theme of the terminal equipment according to the color zone bit;
judging whether the color result of the validated software theme setting of the terminal equipment is matched with the color flag bit;
when the color result is not matched with the color zone bit, judging whether a target theme corresponding to the color zone bit exists in a production execution system or not;
when a target theme corresponding to the color flag bit exists in the production execution system, setting the software theme of the terminal equipment as the target theme;
and outputting defective product information when the color result of the target theme setting after the target theme setting is in effect is not matched with the color flag bit, wherein the defective product information is used for indicating that the current terminal equipment is a defective product.
2. The method of claim 1, wherein before the obtaining the hardware identification code of the terminal device, the method further comprises:
acquiring a binding relationship between a hardware identification code of the terminal equipment and a terminal material code;
and acquiring the corresponding relation between the hardware identification code and the battery cover color of the terminal equipment and the corresponding color flag bit corresponding to the battery cover color according to the binding relation.
3. The method of claim 2, wherein obtaining a color flag corresponding to a battery cover color of the terminal device according to the hardware identification code comprises:
acquiring a terminal material code of the terminal equipment according to the hardware identification code and the binding relation;
responding to a control instruction issued by a current testing tool, and sending the terminal material code to the current testing tool so as to enable the current testing tool to acquire a battery cover color corresponding to the terminal material code and a color zone bit corresponding to the battery cover color;
a color flag bit written by the current test tool is obtained.
4. The method of claim 1, further comprising:
and outputting defective product information when the target theme corresponding to the color zone bit does not exist in the production execution system.
5. A theme color matching control device is used for setting a software theme of a terminal device on a production line, and comprises:
the hardware identification module is used for acquiring a hardware identification code of the terminal equipment, and the hardware identification code is used for representing the identity information of the terminal equipment;
the color acquisition module is used for acquiring a color flag bit corresponding to the color of the battery cover of the terminal equipment according to the hardware identification code;
the theme setting module is used for setting a software theme of the terminal equipment according to the color zone bit;
the verification module is used for judging whether the color result after the software theme setting of the terminal equipment takes effect is matched with the color zone bit; when the color result is not matched with the color zone bit, judging whether a target theme corresponding to the color zone bit exists in a production execution system or not; when a target theme corresponding to the color flag bit exists in the production execution system, setting the software theme of the terminal equipment as the target theme; and outputting defective product information when the color result of the target theme setting after the target theme setting is in effect is not matched with the color flag bit, wherein the defective product information is used for indicating that the current terminal equipment is a defective product.
6. A theme color matching control system is used for setting a software theme of a terminal device on a production line, and comprises the terminal device, a production execution system and a current test tool, wherein the current test tool is used for reading a hardware identification code of the terminal device, the hardware identification code is used for representing identity information of the terminal device, a color flag bit corresponding to the color of a battery cover of the terminal device is obtained from the production execution system, the color flag bit is written into the terminal device, the terminal device is used for setting the software theme of the terminal device according to the color flag bit, the current test tool is also used for judging whether a color result after the software theme setting of the terminal device is effective is matched with the color flag bit, and when the color result is not matched with the color flag bit, judging whether a target theme corresponding to the color zone bit exists in the production execution system or not, setting the software theme of the terminal equipment as the target theme when the target theme corresponding to the color zone bit exists in the production execution system, and outputting defective product information when a color result after the target theme setting is in effect is not matched with the color zone bit, wherein the defective product information is used for indicating that the current terminal equipment is a defective product.
7. A computer-readable storage medium for on-line setting of a software theme for a terminal device, the computer-readable storage medium having stored therein program code that can be invoked by a processor to perform the method according to any one of claims 1 to 4.
CN201811438211.8A 2018-11-27 2018-11-27 Theme color matching control method, device and system and storage medium Active CN109525729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811438211.8A CN109525729B (en) 2018-11-27 2018-11-27 Theme color matching control method, device and system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811438211.8A CN109525729B (en) 2018-11-27 2018-11-27 Theme color matching control method, device and system and storage medium

Publications (2)

Publication Number Publication Date
CN109525729A CN109525729A (en) 2019-03-26
CN109525729B true CN109525729B (en) 2021-03-12

Family

ID=65793621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811438211.8A Active CN109525729B (en) 2018-11-27 2018-11-27 Theme color matching control method, device and system and storage medium

Country Status (1)

Country Link
CN (1) CN109525729B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225205A (en) * 2019-06-26 2019-09-10 努比亚技术有限公司 Initial subject setting method, mobile terminal and computer readable storage medium
CN111414142B (en) * 2020-03-13 2023-10-03 青岛海信移动通信技术有限公司 Mobile terminal and display method of application interface thereof
CN111562956B (en) * 2020-04-14 2023-04-07 Oppo(重庆)智能科技有限公司 Theme switching method and device for terminal, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715332A (en) * 2015-03-17 2015-06-17 长电科技(滁州)有限公司 Automatic material checking method
CN104951182A (en) * 2015-05-27 2015-09-30 深圳市万普拉斯科技有限公司 Replacement method and device for interface theme of application and intelligent terminal
CN105791484A (en) * 2016-05-06 2016-07-20 北京小米移动软件有限公司 Cellphone capable of recognizing housing
CN107172288A (en) * 2017-05-27 2017-09-15 上海斐讯数据通信技术有限公司 A kind of method and system of mobile phone theme automatic adaptation mobile phone shell

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100651542B1 (en) * 2005-11-14 2006-11-29 삼성전자주식회사 Method for setting environment using a multimedia message in mobile communication terminal
CN101360403A (en) * 2008-09-23 2009-02-04 无敌科技(西安)有限公司 Apparatus and method capable of automatically adjusting outer color
CN102981619B (en) * 2012-11-19 2015-12-02 广东欧珀移动通信有限公司 A kind of method and system of the color replacement theme based on mobile phone users clothes
CN205015782U (en) * 2015-07-22 2016-02-03 上海与德通讯技术有限公司 Electronic equipment
CN105224904B (en) * 2015-11-05 2017-12-05 上海工业自动化仪表研究院 A kind of boiler-steam dome manufacturing process data tracking
CN106814937A (en) * 2017-02-06 2017-06-09 联想(北京)有限公司 A kind of information configuring methods, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715332A (en) * 2015-03-17 2015-06-17 长电科技(滁州)有限公司 Automatic material checking method
CN104951182A (en) * 2015-05-27 2015-09-30 深圳市万普拉斯科技有限公司 Replacement method and device for interface theme of application and intelligent terminal
CN105791484A (en) * 2016-05-06 2016-07-20 北京小米移动软件有限公司 Cellphone capable of recognizing housing
CN107172288A (en) * 2017-05-27 2017-09-15 上海斐讯数据通信技术有限公司 A kind of method and system of mobile phone theme automatic adaptation mobile phone shell

Also Published As

Publication number Publication date
CN109525729A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109525729B (en) Theme color matching control method, device and system and storage medium
CN110020622B (en) Fingerprint identification method and related product
US9594473B2 (en) Sound visualization method and apparatus of electronic device
KR20200017249A (en) Apparatus and method for providing feedback for confirming intent of a user in an electronic device
CN106056533B (en) A kind of method and terminal taken pictures
CN108181992A (en) Voice awakening method, device, equipment and computer-readable medium based on gesture
CN110047443B (en) Backlight brightness adjusting method and device, mobile terminal and storage medium
CN105843681B (en) Mobile terminal and operating system switching method thereof
WO2013075538A1 (en) Method, device and terminal for customising multiple default configurations for one version of software
CN112035042A (en) Application program control method and device, electronic equipment and readable storage medium
CN106254791A (en) The startup method of photographic head and mobile terminal
CN104883436A (en) Information hiding method and apparatus
US7599684B2 (en) Automatic setting method for terminal information using subscriber identity module
US20200034101A1 (en) Data displaying method and electronic device
CN110827824B (en) Voice processing method, device, storage medium and electronic equipment
CN114415530A (en) Control method, control device, electronic equipment and storage medium
CN108986187A (en) A kind of implementation method, device, storage medium and the android terminal of general animation
CN100449526C (en) Data processing device, control method of data processing device, control program and manufacturing method of data processing device
CN110336918B (en) Bright screen control method and device, storage medium and mobile terminal
CN109034808B (en) Operation method and device of payment application program and terminal equipment
CN114745468A (en) Electronic device, theme setting method and medium thereof
CN111554278A (en) Video recording method, video recording device, electronic equipment and storage medium
JP5537921B2 (en) Mobile phone, confirmation information display program, and confirmation information display method
JP2002199089A (en) Mobile telephone set
CN112634891A (en) Identification code response method and device, vehicle-mounted terminal and storage medium

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