CN111813456A - Method and system for customizing boot logo - Google Patents

Method and system for customizing boot logo Download PDF

Info

Publication number
CN111813456A
CN111813456A CN202010663952.7A CN202010663952A CN111813456A CN 111813456 A CN111813456 A CN 111813456A CN 202010663952 A CN202010663952 A CN 202010663952A CN 111813456 A CN111813456 A CN 111813456A
Authority
CN
China
Prior art keywords
logo
user
interface
module
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010663952.7A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010663952.7A priority Critical patent/CN111813456A/en
Publication of CN111813456A publication Critical patent/CN111813456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • 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

Abstract

The invention has proposed a method and system of self-defining of the logo of starting machine, the said method includes judging whether the apparatus is the first start-up, if it is the first start-up, load apparatus and preset the logo and enter the apparatus interface, if it is not the first start-up and there is user-defined logo, load the said user-defined logo directly and enter the apparatus interface; after the device is started up for the first time and enters an equipment interface, the user is authorized to set, store and upload the custom logo at the API interface; and after restarting, loading the user-defined logo to enter the equipment interface. The system comprises modules corresponding to the method steps.

Description

Method and system for customizing boot logo
Technical Field
The invention provides a startup logo self-defining method and system, and belongs to the technical field of software application.
Background
The mobile terminal equipment is widely used, different mobile terminals have unique logos, and the logo design represents a special meaning, so that the logo has a very important effect in a mobile terminal use domain, but with the use of a large number of users, different user groups want to have a unique terminal product to meet psychological needs, for example, the logos with special meanings need to be set by a plurality of lovers through investigation are obviously impossible to manufacture independently by depending on the users.
Disclosure of Invention
The invention provides a method and a system for customizing a boot logo, which are used for solving the problem that the conventional mobile terminal cannot realize the user-defined setting of the boot logo, and adopt the following technical scheme:
a method for customizing a boot logo, the method comprising:
after the device is started up for the first time and enters an equipment interface, the user is authorized to set, store and upload the custom logo at the API interface;
and after restarting, loading the user-defined logo to enter the equipment interface.
Further, after the first boot and the device interface are entered, the user is authorized to set, store and upload the custom logo at the API interface, including:
when the device is started for the first time, loading a device boot preset logo, and entering a device interface through the preset logo;
opening the user-defined logo setting through an API opened by a UI, and authorizing a user to perform the user-defined logo setting;
storing the logo set by the user in a user space memory, and uploading the logo to an equipment file;
and restarting the equipment after uploading the custom-set logo.
Further, the step of opening the custom logo setting through the API interface opened by the UI, authorizing the user to perform the custom logo setting includes:
judging whether a user sets a custom logo or not; if the user does not set the self-defined logo, loading the logo into an equipment interface through equipment preset; if the user sets the custom logo, the operation of opening the API interface is executed;
opening an API interface opened by a UI in a user-defined manner;
proposing a logo change application to the API;
and performing interface authorization on the user, and allowing the user to perform custom logo setting.
Further, after the restart, loading the user-defined logo into the device interface, including:
judging whether the user-defined logo of the user exists at a BootLoader stage after the equipment is restarted; if the user-defined logo does not exist, loading the preset logo of the equipment to enter an equipment interface; if the user-defined logo exists, reading the user-defined logo;
and reading the user-defined logo from a user space memory, analyzing a data code of the user-defined logo, and setting the user-defined logo as a starting logo.
Further, the method further comprises:
judging whether the equipment is started for the first time, if so, loading the preset logo of the equipment into an equipment interface, and if not, directly loading the user-defined logo into the equipment interface;
when the mobile phone is started for the first time, before the API interface authorizes a user to set and upload the custom logo, the matching model obtains the information matching degree by utilizing the user identity information of the cloud registered account and the personal identity information input by the user, judges the relation between the information matching degree and a preset matching degree threshold value, obtains an information matching degree judgment result, and realizes the matching authentication of the user information through the information matching degree judgment result.
Wherein the matching model is:
Figure BDA0002579653230000021
the mobile device comprises a cloud registered account, a mobile device and a server, wherein M represents a user identity information set of the cloud registered account corresponding to the mobile device, and N represents a personal identity information set input by a user; sim (M, N) represents the matching degree of M and N, information is matched when Sim (M, N) is greater than 0.8, and information is unmatched when Sim (M, N) is less than or equal to 0.8; m represents the amount of information contained in the user identity information set; n represents the number of identity information contained in the personal identity information set. | N/M | represents a subset of elements of the set N which do not belong to the set M, and | M/N | represents a subset of elements of the set M which do not belong to the set N.
A boot logo customization system, the system comprising:
the authorization module is used for authorizing a user to set, store and upload the custom logo at the API interface after the device is started up for the first time and enters the device interface;
and the custom logo loading module is used for loading the user custom logo into the equipment interface after restarting.
Further, the authorization module includes:
the device comprises a preset logo loading module, a device interface and a control module, wherein the preset logo loading module is used for loading a device boot preset logo when the device boot is started for the first time and entering the device interface through the preset logo;
the Logo self-defining module is used for opening the self-defining Logo setting through an API (application program interface) opened by a UI (user interface) and authorizing a user to carry out the self-defining Logo setting;
the uploading module is used for storing the logo set by the user in a user space memory and uploading the custom logo to an equipment file;
and the restarting module is used for restarting the equipment after the user-defined logo is uploaded.
Further, the Logo customization module comprises:
the user-defined judging module is used for judging whether the user carries out user-defined logo setting or not; if the user does not set the self-defined logo, loading the logo into an equipment interface through equipment preset; if the user sets the custom logo, an interface opening module is started;
the interface opening module is used for opening the API interface opened by the UI in a user-defined manner;
the API application module is used for proposing logo change application to the API interface;
and the authorization implantation module is used for performing interface authorization on the user and allowing the user to perform custom logo setting.
Further, the custom logo loading module comprises:
the logo judging module is used for judging whether the user-defined logo exists in the BootLoader stage after the equipment is restarted; if the user-defined logo does not exist, loading the preset logo of the equipment to enter an equipment interface; if the self-defined logo exists, using a starting logo loading module;
and the logo loading module is used for reading the user-defined logo from the user space memory, analyzing the data code of the user-defined logo and setting the user-defined logo as the starting logo.
Further, the system further comprises:
the device comprises a first starting judgment module, a second starting judgment module and a third starting judgment module, wherein the first starting judgment module is used for judging whether the device is started for the first time, if the device is started for the first time, the device is loaded with a preset logo to enter a device interface, and if the device is not started for the first time and is provided with a user-defined logo, the user-defined logo is directly loaded to enter the device interface;
the user confirmation module is used for acquiring information matching degree by utilizing the user identity information of the cloud registered account and the personal identity information input by the user through a matching model before the authorization module, judging the relation between the information matching degree and a preset matching degree threshold value, acquiring an information matching degree judgment result, and realizing the matching authentication of the user information through the information matching degree judgment result, wherein the matching model is as follows:
Figure BDA0002579653230000031
the mobile device comprises a cloud registered account, a mobile device and a server, wherein M represents a user identity information set of the cloud registered account corresponding to the mobile device, and N represents a personal identity information set input by a user; sim (M, N) represents the matching degree of M and N, information is matched when Sim (M, N) is greater than 0.8, and information is unmatched when Sim (M, N) is less than or equal to 0.8; m represents the amount of information contained in the user identity information set; n represents the number of identity information contained in the personal identity information set. | N/M | represents a subset of elements of the set N which do not belong to the set M, and | M/N | represents a subset of elements of the set M which do not belong to the set N.
The invention has the beneficial effects that:
the method and the system for customizing the boot logo enable a user to flexibly set the boot logo at the mobile terminal, meet the psychological satisfaction degree and obtain the product friendly support; in addition, the user-defined logo set by the user is placed in the user space reserved memory, the reading permission of the user space reserved memory belongs to a user group, and a root permission is not needed, so that the safety risk of the mobile terminal equipment system is reduced while the mobile terminal system meets the setting of the user-defined logo, and the safety of the terminal equipment is ensured. Meanwhile, the user side sets the change of the logo loading mode, and compared with the direct compiling boot, the starting speed is high.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a schematic diagram of a method of the present invention;
fig. 3 is a schematic system diagram of the system of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides a method and a system for customizing a boot logo, which are used for solving the problem of … ….
The invention provides a method for customizing a boot logo in real time, which comprises the following steps of:
s1, judging whether the equipment is started for the first time, if so, loading the preset logo of the equipment into an equipment interface, and if not, directly loading the user-defined logo into the equipment interface;
s2, after the device is started for the first time and enters the device interface, the user is authorized to set, store and upload the custom logo at the API interface;
and S3, loading the user-defined logo to enter the equipment interface after restarting.
The working principle of the scheme is as follows: firstly, judging whether equipment is started for the first time, if so, loading equipment preset logo into an equipment interface, and if not, directly loading the user-defined logo into the equipment interface; then, after the device is started up for the first time and enters an equipment interface, the user is authorized to set, store and upload the custom logo at the API interface; and finally, after restarting, loading the user-defined logo to enter the equipment interface. The method for customizing the boot logo provided by the embodiment is mainly characterized in that related interface setting is provided on a user side and the user permission is authorized instead of the root permission, the user can flexibly use the interface to set the logo, the interface setting is permanent and effective, if the user needs to replace the logo, the user needs to reactivate the logo through applying the permission, the principle is as shown in fig. 2, the factory boot preset logo is used when the user is booted for the first time, the user-defined logo setting can be opened through an API opened by a UI after the user enters a desktop, the authorization mode is opened at the moment, the logo is uploaded and is effectively restarted, whether the user logo exists or not can be judged in a bootloader stage after the user is restarted, if the user exists, the factory preset logo loading is directly skipped, and the user space loads the logo set by the user-defined; the method provided by the embodiment is permanently effective in one time, and if the user is not satisfied with the existing logo, the user is required to apply for re-granting of the authority (the authority cloud service management) and reset through a specific interface for security.
The technical effects of the scheme are as follows: the user can flexibly set the startup custom logo at the mobile terminal, the psychological satisfaction degree is met, and the product friendly support is obtained; in addition, the user-defined logo set by the user is placed in the user space reserved memory, the reading permission of the user space reserved memory belongs to a user group, and a root permission is not needed, so that the safety risk of the mobile terminal equipment system is reduced while the mobile terminal system meets the setting of the user-defined logo, and the safety of the terminal equipment is ensured. Meanwhile, the user side sets the change of the logo loading mode, and compared with the direct compiling boot, the starting speed is high.
In an embodiment of the present invention, after the first boot and entering the device interface, authorizing the user to set, store, and upload the custom logo in the API interface includes:
s201, when the device is started for the first time, loading a device boot preset logo, and entering a device interface through the preset logo;
s202, opening the custom logo setting through an API opened by a UI, and authorizing a user to perform the custom logo setting;
s203, storing the logo set by the user in a user space memory, and uploading the custom logo to an equipment file;
and S204, restarting the equipment after the user-defined logo is uploaded.
The working principle of the scheme is as follows: firstly, loading a device boot preset logo when the device is started for the first time, and entering a device interface through the preset logo; then, opening the user-defined logo setting through an API opened by a UI, and authorizing a user to perform the user-defined logo setting; then, storing the logo set by the user in a user space memory, and uploading the custom logo to an equipment file; and finally, restarting the equipment after uploading the custom-set logo. In the embodiment, a memory is reserved in a user space and used for placing a logo to be set, and the memory reading permission belongs to a user group and does not need root permission; setting a related switch interface in a user space, displaying the setting of the custom logo when a switch is turned on, uploading the icon of the custom logo to a designated file, restarting a machine, reading a starting logo picture analysis data code in a memory segment of the user space when starting the machine, and setting the picture analysis data code as the starting logo.
The technical effects of the scheme are as follows: the user-defined logo set by the user is placed in the user space reserved memory, the reading permission of the user space reserved memory belongs to a user group, and a root permission is not needed, so that the safety risk of the mobile terminal equipment system is reduced while the mobile terminal system meets the setting of the user-defined logo, and the safety of the terminal equipment is ensured. Meanwhile, the user side sets the change of the logo loading mode, and compared with the direct compiling boot, the starting speed is high.
In an embodiment of the present invention, the opening the custom logo setting through the API interface opened by the UI, and authorizing the user to perform the custom logo setting includes:
s2021, judging whether a user sets a custom logo or not; if the user does not set the self-defined logo, loading the logo into an equipment interface through equipment preset; if the user sets the custom logo, the operation of opening the API interface is executed;
s2022, after the user is judged to set the custom logo, opening the API interface opened by the UI in a custom way;
s2023, after the API interface is opened in a self-defined mode, proposing a logo changing application to the API interface;
and S2024, after the application for changing the logo is received by the API interface, performing interface authorization on the user, and allowing the user to perform user-defined logo setting.
The working principle of the scheme is as follows: firstly, judging whether a user sets a custom logo or not; if the user does not set the self-defined logo, loading the logo into an equipment interface through equipment preset; if the user sets the custom logo, the operation of opening the API interface is executed; then, after judging that the user sets the custom logo, opening the API interface opened by the UI in a custom way; subsequently, after the API interface is opened in a self-defining mode, a logo changing application is provided for the API interface; and finally, after the API interface receives the application for changing the logo, performing interface authorization on the user, and allowing the user to perform user-defined logo setting.
The technical effects of the scheme are as follows: interface authorization of user-defined logo setting can be carried out without root authorization of the mobile equipment, and flexible user-defined setting can be provided for a user by the mobile equipment on the premise of ensuring the safety performance of the mobile equipment.
In an embodiment of the present invention, the loading the user-defined logo into the device interface after the restart includes:
s301, judging whether the user-defined logo exists in a BootLoader stage after the equipment is restarted; if the user-defined logo does not exist, loading the preset logo of the equipment to enter an equipment interface; if the user-defined logo exists, reading the user-defined logo, namely executing S302;
s302, reading the user-defined logo from a user space memory, analyzing data codes of the user-defined logo, and setting the user-defined logo as a starting logo.
The working principle of the scheme is as follows: firstly, judging whether the user-defined logo of a user exists at a BootLoader stage after equipment is restarted; if the user-defined logo does not exist, loading the preset logo of the equipment to enter an equipment interface; and if the user-defined logo exists, reading the user-defined logo, then reading the user-defined logo from a user space memory, analyzing a data code of the user-defined logo, and setting the user-defined logo as a starting logo.
The technical effects of the scheme are as follows: the user-defined logo set by the user is placed in the user space reserved memory, the reading permission of the user space reserved memory belongs to a user group, and a root permission is not needed, so that the safety risk of the mobile terminal equipment system is reduced while the mobile terminal system meets the setting of the user-defined logo, and the safety of the terminal equipment is ensured.
In one embodiment of the present invention, the method further comprises:
when the mobile phone is started for the first time, before an API (application program interface) authorizes a user to set and upload a custom logo, obtaining information matching degree by using user identity information of a cloud registered account and personal identity information input by the user through a matching model, judging the relation between the information matching degree and a preset matching degree threshold value, obtaining an information matching degree judgment result, and realizing matching authentication of user information through the information matching degree judgment result, wherein the matching model is as follows:
Figure BDA0002579653230000071
the mobile device comprises a cloud registered account, a mobile device and a server, wherein M represents a user identity information set of the cloud registered account corresponding to the mobile device, and N represents a personal identity information set input by a user; sim (M, N) represents the matching degree of M and N, information is matched when Sim (M, N) is greater than 0.8, and information is unmatched when Sim (M, N) is less than or equal to 0.8; m represents the amount of information contained in the user identity information set; n represents the number of identity information contained in the personal identity information set; | N/M | represents a subset of elements of the set N which do not belong to the set M, and | M/N | represents a subset of elements of the set M which do not belong to the set N.
Wherein, before the authorization module, the matching of the user information through the matching model includes:
reading user identity information of a cloud registered account corresponding to the mobile equipment;
when the equipment is started for the first time, a user inputs personal identity information into the equipment;
and matching the user identity information of the cloud corresponding to the mobile equipment with the personal identity information input by the user by using a matching model.
The working principle of the scheme is as follows: in this embodiment, since the mobile terminal needs to be modified by the user and the API interface needs to be authorized, before the authorization operation is performed, in order to prevent unauthorized modification of the mobile terminal by a person other than the user, the user information needs to be verified. When the mobile terminal is started for the first time, a cloud registered account login interface corresponding to the mobile terminal brand is provided, a user can log in the cloud account of the user, and then the mobile device reads user identity information of the cloud registered account; and then, the mobile terminal enters a personal identity information input interface, the user inputs personal information into the mobile terminal, finally, the mobile terminal calculates the matching degree of the user identity information in the cloud registered account and the personal identity information input by the current user by using the formula, and if the matching reaches the matching standard, the subsequent user-defined authorization operation is allowed to be performed on the user.
The technical effects of the scheme are as follows: the personal identity information of the user is input into the cloud registered account corresponding to the mobile device to be matched with the account information in the cloud registered account, the use safety performance of the device is improved, the matching degree is calculated through the formula, the accuracy of information matching is effectively improved, the authorization and the change of the mobile terminal are guaranteed to be carried out on the user, the safety and the privacy of the user-defined setting of the starting logo are improved to the greatest extent, and the situation that the non-user himself changes and sets the starting logo is effectively prevented.
A boot logo customizing system, as shown in fig. 3, the system comprising:
the device comprises a first starting judgment module, a second starting judgment module and a third starting judgment module, wherein the first starting judgment module is used for judging whether the device is started for the first time, if the device is started for the first time, the device is loaded with a preset logo to enter a device interface, and if the device is not started for the first time and is provided with a user-defined logo, the user-defined logo is directly loaded to enter the device interface;
the authorization module is used for authorizing a user to set, store and upload the custom logo at the API interface after the device is started up for the first time and enters the device interface;
and the custom logo loading module is used for loading the user custom logo into the equipment interface after restarting.
The working principle of the scheme is as follows: firstly, judging whether a module is disconnected by using a first startup, if so, loading equipment preset logo into an equipment interface, and if not, directly loading the user-defined logo into the equipment interface; then, after the system is started up for the first time and enters an equipment interface through an authorization module, authorizing a user to set, store and upload a custom logo at an API interface; and finally, loading the user-defined logo to enter an equipment interface after the user-defined logo loading module is restarted.
The technical effects of the scheme are as follows: the user can flexibly set the startup custom logo at the mobile terminal, the psychological satisfaction degree is met, and the product friendly support is obtained; in addition, the user-defined logo set by the user is placed in the user space reserved memory, the reading permission of the user space reserved memory belongs to a user group, and a root permission is not needed, so that the safety risk of the mobile terminal equipment system is reduced while the mobile terminal system meets the setting of the user-defined logo, and the safety of the terminal equipment is ensured. Meanwhile, the user side sets the change of the logo loading mode, and compared with the direct compiling boot, the starting speed is high.
In one embodiment of the present invention, the authorization module includes:
the device comprises a preset logo loading module, a device interface and a control module, wherein the preset logo loading module is used for loading a device boot preset logo when the device boot is started for the first time and entering the device interface through the preset logo;
the Logo self-defining module is used for opening the self-defining Logo setting through an API (application program interface) opened by a UI (user interface) and authorizing a user to carry out the self-defining Logo setting;
the uploading module is used for storing the logo set by the user in a user space memory and uploading the custom logo to an equipment file;
and the restarting module is used for restarting the equipment after the user-defined logo is uploaded.
The working principle of the scheme is as follows:
firstly, loading a device boot preset logo through a preset logo loading module when the device is started for the first time, and entering a device interface through the preset logo; then, opening the custom Logo setting through an API (application program interface) opened by a UI (user interface) by using a Logo custom module, and authorizing a user to carry out the custom Logo setting; then, storing the logo set by the user in a user space memory by using an uploading module, and uploading the custom logo to an equipment file; and finally, restarting the equipment after uploading the custom-set logo through a restarting module.
The technical effects of the scheme are as follows: the user-defined logo set by the user is placed in the user space reserved memory, the reading permission of the user space reserved memory belongs to a user group, and a root permission is not needed, so that the safety risk of the mobile terminal equipment system is reduced while the mobile terminal system meets the setting of the user-defined logo, and the safety of the terminal equipment is ensured. Meanwhile, the user side sets the change of the logo loading mode, and compared with the direct compiling boot, the starting speed is high.
In an embodiment of the present invention, the Logo customization module includes:
the user-defined judging module is used for judging whether the user carries out user-defined logo setting or not; if the user does not set the self-defined logo, loading the logo into an equipment interface through equipment preset; if the user sets the custom logo, an interface opening module is started;
the interface opening module is used for opening the API interface opened by the UI in a self-defining way after judging that the user sets the self-defining logo;
the API application module is used for submitting logo change application to the API interface after the API interface is opened in a user-defined mode;
and the authorization implantation module is used for performing interface authorization on the user after the application for changing the logo is received by the API interface, and allowing the user to perform custom logo setting.
The working principle of the scheme is as follows: firstly, judging whether a user sets a custom logo or not through a custom judging module; if the user does not set the self-defined logo, loading the logo into an equipment interface through equipment preset; if the user sets the custom logo, an interface opening module is started; the interface opening module performs custom opening on the API interface opened by the UI after judging that the user performs custom logo setting; then, an API application module is used for proposing logo change application to the API interface after the API interface is opened in a self-defining mode; and finally, after the API interface receives the application for changing the logo, the authorization implantation module authorizes the interface of the user and allows the user to perform custom logo setting.
The technical effects of the scheme are as follows: interface authorization of user-defined logo setting can be carried out without root authorization of the mobile equipment, and flexible user-defined setting can be provided for a user by the mobile equipment on the premise of ensuring the safety performance of the mobile equipment.
In an embodiment of the present invention, the custom logo loading module includes:
the logo judging module is used for judging whether the user-defined logo exists in the BootLoader stage after the equipment is restarted; if the user-defined logo does not exist, loading the preset logo of the equipment to enter an equipment interface; if the self-defined logo exists, using a starting logo loading module;
and the logo loading module is used for reading the user-defined logo from the user space memory, analyzing the data code of the user-defined logo and setting the user-defined logo as the starting logo.
The working principle of the scheme is as follows: judging whether the user-defined logo exists in a BootLoader stage after equipment is restarted through a logo judging module; if the user-defined logo does not exist, loading the preset logo of the equipment to enter an equipment interface; if the self-defined logo exists, using a starting logo loading module; and the logo loading module reads the user-defined logo from a user space memory, analyzes the data code of the user-defined logo and sets the user-defined logo as a starting logo.
The technical effects of the scheme are as follows: the user-defined logo set by the user is placed in the user space reserved memory, the reading permission of the user space reserved memory belongs to a user group, and a root permission is not needed, so that the safety risk of the mobile terminal equipment system is reduced while the mobile terminal system meets the setting of the user-defined logo, and the safety of the terminal equipment is ensured.
In one embodiment of the present invention, the system further comprises:
the user confirmation module is used for acquiring information matching degree by utilizing the user identity information of the cloud registered account and the personal identity information input by the user through a matching model before the authorization module, judging the relation between the information matching degree and a preset matching degree threshold value, acquiring an information matching degree judgment result, and realizing the matching authentication of the user information through the information matching degree judgment result, wherein the matching model is as follows:
Figure BDA0002579653230000101
the mobile device comprises a cloud registered account, a mobile device and a server, wherein M represents a user identity information set of the cloud registered account corresponding to the mobile device, and N represents a personal identity information set input by a user; sim (M, N) represents the matching degree of M and N, information is matched when Sim (M, N) is greater than 0.8, and information is unmatched when Sim (M, N) is less than or equal to 0.8; m represents the amount of information contained in the user identity information set; n represents the number of identity information contained in the personal identity information set; | N/M | represents a subset of elements of the set N which do not belong to the set M, and | M/N | represents a subset of elements of the set M which do not belong to the set N.
As shown in fig. 3, the user confirmation module includes:
the registration information reading module is used for reading the user identity information of the cloud registration account corresponding to the mobile equipment;
the information input module is used for enabling a user to input personal identity information in the equipment when the equipment is started for the first time;
and the information matching module is used for matching the user identity information of the cloud corresponding to the mobile equipment with the personal identity information input by the user by using a matching model.
The working principle of the scheme is as follows: in this embodiment, since the mobile terminal needs to be modified by the user and the API interface needs to be authorized, before the authorization operation is performed, in order to prevent unauthorized modification of the mobile terminal by a person other than the user, the user information needs to be verified. When the mobile terminal is started for the first time, a cloud registered account login interface corresponding to the brand of the mobile terminal is provided through a registration information reading module, and a user can log in a cloud account of the user and read user identity information of the cloud registered account; and then, enabling the mobile terminal to enter a personal identity information input interface through an information input module, enabling a user to input personal information into the mobile terminal, finally, calculating the matching degree of the user identity information in the cloud registered account and the personal identity information input by the current user through an information matching module by utilizing the formula (1), and if the matching reaches a matching standard, allowing the user to perform subsequent self-defined authorization operation.
The technical effects of the scheme are as follows: the personal identity information of the user is input into the cloud registered account corresponding to the mobile device to be matched with the account information in the cloud registered account, the use safety performance of the device is improved, the matching degree is calculated through the formula, the accuracy of information matching is effectively improved, the authorization and the change of the mobile terminal are guaranteed to be carried out on the user, the safety and the privacy of the user-defined setting of the starting logo are improved to the greatest extent, and the situation that the non-user himself changes and sets the starting logo is effectively prevented.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A startup logo customizing method is characterized by comprising the following steps:
after the device is started up for the first time and enters an equipment interface, the user is authorized to set, store and upload the custom logo at the API interface;
and after restarting, loading the user-defined logo to enter the equipment interface.
2. The method of claim 1, wherein after the first boot and entering the device interface, authorizing a user to set, store and upload the custom logo at the API interface comprises:
when the device is started for the first time, loading a device boot preset logo, and entering a device interface through the preset logo;
opening the user-defined logo setting through an API opened by a UI, and authorizing a user to perform the user-defined logo setting;
storing the logo set by the user in a user space memory, and uploading the logo to an equipment file;
and restarting the equipment after uploading the custom-set logo.
3. The method of claim 2, wherein the step of opening the custom logo setting through the API interface opened by the UI and authorizing the user to perform the custom logo setting comprises:
judging whether a user sets a custom logo or not; if the user does not set the self-defined logo, loading the logo into an equipment interface through equipment preset; if the user sets the custom logo, the operation of opening the API interface is executed;
opening an API interface opened by a UI in a user-defined manner;
proposing a logo change application to the API;
and performing interface authorization on the user, and allowing the user to perform custom logo setting.
4. The method of claim 1, wherein the loading the user-defined logo entry device interface after the reboot comprises:
judging whether the user-defined logo of the user exists at a BootLoader stage after the equipment is restarted; if the user-defined logo does not exist, loading the preset logo of the equipment to enter an equipment interface; if the user-defined logo exists, reading the user-defined logo;
and reading the user-defined logo from a user space memory, analyzing a data code of the user-defined logo, and setting the user-defined logo as a starting logo.
5. The method of claim 1, further comprising:
judging whether the equipment is started for the first time, if so, loading the preset logo of the equipment into an equipment interface, and if not, directly loading the user-defined logo into the equipment interface;
when the mobile phone is started for the first time, before the API interface authorizes a user to set and upload the custom logo, the matching model obtains the information matching degree by utilizing the user identity information of the cloud registered account and the personal identity information input by the user, judges the relation between the information matching degree and a preset matching degree threshold value, obtains an information matching degree judgment result, and realizes the matching authentication of the user information through the information matching degree judgment result.
6. A boot logo customization system, comprising:
the authorization module is used for authorizing a user to set, store and upload the custom logo at the API interface after the device is started up for the first time and enters the device interface;
and the custom logo loading module is used for loading the user custom logo into the equipment interface after restarting.
7. The system of claim 6, wherein the authorization module comprises:
the device comprises a preset logo loading module, a device interface and a control module, wherein the preset logo loading module is used for loading a device boot preset logo when the device boot is started for the first time and entering the device interface through the preset logo;
the Logo self-defining module is used for opening the self-defining Logo setting through an API (application program interface) opened by a UI (user interface) and authorizing a user to carry out the self-defining Logo setting;
the uploading module is used for storing the logo set by the user in a user space memory and uploading the custom logo to an equipment file;
and the restarting module is used for restarting the equipment after the user-defined logo is uploaded.
8. The system of claim 7, wherein the Logo customization module comprises:
the user-defined judging module is used for judging whether the user carries out user-defined logo setting or not; if the user does not set the self-defined logo, loading the logo into an equipment interface through equipment preset; if the user sets the custom logo, an interface opening module is started;
the interface opening module is used for opening the API interface opened by the UI in a user-defined manner;
the API application module is used for proposing logo change application to the API interface;
and the authorization implantation module is used for performing interface authorization on the user and allowing the user to perform custom logo setting.
9. The system of claim 6, wherein the custom logo loading module comprises:
the logo judging module is used for judging whether the user-defined logo exists in the BootLoader stage after the equipment is restarted; if the user-defined logo does not exist, loading the preset logo of the equipment to enter an equipment interface; if the self-defined logo exists, using a starting logo loading module;
and the logo loading module is used for reading the user-defined logo from the user space memory, analyzing the data code of the user-defined logo and setting the user-defined logo as the starting logo.
10. The system of claim 6, further comprising:
the device comprises a first starting judgment module, a second starting judgment module and a third starting judgment module, wherein the first starting judgment module is used for judging whether the device is started for the first time, if the device is started for the first time, the device is loaded with a preset logo to enter a device interface, and if the device is not started for the first time and is provided with a user-defined logo, the user-defined logo is directly loaded to enter the device interface;
and the user confirmation module is used for acquiring the information matching degree by utilizing the user identity information of the cloud registered account and the personal identity information input by the user through the matching model before the authorization module is started, judging the relation between the information matching degree and a preset matching degree threshold value, acquiring an information matching degree judgment result, and realizing the matching authentication of the user information through the information matching degree judgment result.
CN202010663952.7A 2020-07-10 2020-07-10 Method and system for customizing boot logo Pending CN111813456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010663952.7A CN111813456A (en) 2020-07-10 2020-07-10 Method and system for customizing boot logo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010663952.7A CN111813456A (en) 2020-07-10 2020-07-10 Method and system for customizing boot logo

Publications (1)

Publication Number Publication Date
CN111813456A true CN111813456A (en) 2020-10-23

Family

ID=72842807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010663952.7A Pending CN111813456A (en) 2020-07-10 2020-07-10 Method and system for customizing boot logo

Country Status (1)

Country Link
CN (1) CN111813456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835767A (en) * 2021-11-24 2021-12-24 惠州大亚湾华北工控实业有限公司 Starting method and device of electronic equipment, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113835767A (en) * 2021-11-24 2021-12-24 惠州大亚湾华北工控实业有限公司 Starting method and device of electronic equipment, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
RU2472310C2 (en) Virtual sim-card for mobile telephones
US20150350200A1 (en) Biometric framework allowing independent application control
EP2911076A1 (en) Biometric authentication
JP2003316467A (en) Security system for computer using sim card and control method therefor
CN104392166B (en) The method and terminal of data access
CN102301378A (en) Thin client-server system, thin client terminal, data management method, and computer readable recording medium
US20090165119A1 (en) Method, apparatus and computer program product for providing power control security features
CN104881667A (en) Characteristic information extraction method and apparatus
CN109286933B (en) Authentication method, device, system, computer equipment and storage medium
CN111813456A (en) Method and system for customizing boot logo
CN109413034B (en) Application program data display method and device, computer equipment and storage medium
CN104937602B (en) Privacy protection method and electronic equipment
CN109254661A (en) Image display method, device, storage medium and electronic equipment
KR20130082980A (en) User personalized recommendation system based on face-recognition
CN109614785B (en) Application operation control method and device, storage medium and electronic equipment
WO2016187966A1 (en) Terminal and method for protecting data security of terminal
US11698994B2 (en) Method for a first start-up operation of a secure element which is not fully customized
CN114254359A (en) Initialization method, device, terminal and storage medium
US11048781B1 (en) Assigning new passcodes to electronic devices
CN112351131A (en) Control method and device of electronic equipment, electronic equipment and storage medium
CN112035826A (en) Password management method, device, storage medium and electronic equipment
CN113286304A (en) Method and device for automatically adapting and locking SIM (subscriber identity Module) data, mobile terminal and storage medium
WO2018108103A1 (en) Method for network connection control of terminal and terminal
CN109446818A (en) A kind of novel computer starting method
CN112100672B (en) Application program unloading method and device

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