CN114070927A - Setting reservation method and terminal - Google Patents

Setting reservation method and terminal Download PDF

Info

Publication number
CN114070927A
CN114070927A CN202210045013.5A CN202210045013A CN114070927A CN 114070927 A CN114070927 A CN 114070927A CN 202210045013 A CN202210045013 A CN 202210045013A CN 114070927 A CN114070927 A CN 114070927A
Authority
CN
China
Prior art keywords
setting
terminal
setting item
item
setting value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210045013.5A
Other languages
Chinese (zh)
Other versions
CN114070927B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210045013.5A priority Critical patent/CN114070927B/en
Publication of CN114070927A publication Critical patent/CN114070927A/en
Application granted granted Critical
Publication of CN114070927B publication Critical patent/CN114070927B/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

A setting reservation method and a terminal. In the setting reservation method, if a certain setting item in the terminal is visible to a user and a setting value corresponding to the setting item can be set by the user, the setting reservation method in the embodiment of the present application may be implemented after the terminal leaves a factory, so that the terminal changes a default setting value corresponding to the setting item, and updates the default setting value corresponding to the setting item to a setting value corresponding to the setting item in the terminal before replacement.

Description

Setting reservation method and terminal
Technical Field
The present application relates to the field of terminals and communication technologies, and in particular, to a setting reservation method and a terminal.
Background
The smart terminal (for example, a mobile phone, abbreviated as a terminal) may include a plurality of setting items, where any one of the setting items is used to indicate a function, for example, a Bluetooth (BT) setting item is used to indicate a bluetooth function of the terminal, and the bluetooth function enables the terminal to establish a connection with another device through a wireless communication technology, that is, bluetooth, to share data. Common settings also include settings about the network, such as "5G enabled" settings and "data roaming" settings, among others. Any setting item corresponds to a setting value, the setting value is used for indicating the enabled state of the function indicated by the setting item, for example, the setting value may include open or close, when the setting value of a setting item is open, the function indicated by the setting item is enabled, the terminal may use the function indicated by the setting item, when the setting value is closed, the function indicated by the setting item is not enabled, and the terminal may not use the function provided by the setting item.
The user can select the setting values of the setting items in the terminal based on personal habits, so that the terminal can be more adaptive to the personal habits of the user, but after the user changes the terminal, the setting values of all the setting items in the changed terminal have universality, and the personal habits of the user are difficult to adapt, namely, the setting values of part or all the setting items are set as a default setting value when the changed terminal leaves a factory, and the default setting value is possibly different from the terminal before the change, so that the user is not adaptive. For example, in the terminal before the replacement, for the function of using the 5G network indicated by the "enabled 5G" setting item, the user selects to turn off, and in the terminal after the replacement, if a universal integrated circuit (UICC) card (for example, a Universal Subscriber Identity Module (USIM) card is a UICC card) and the terminal after the replacement both support the 5G network, generally speaking, the default setting value of the "enabled 5G" setting item may be on, and is different from the setting value of the "enabled 5G" setting item in the terminal before the user is replaced, so that the user may be unaccustomed to use the new terminal.
How to ensure that the replaced terminal can inherit the setting value of part or all of the setting items of the user in the terminal before replacement and retain the setting of the user is a problem which needs to be solved urgently.
Disclosure of Invention
The application provides a setting reservation method and a terminal, which can update a default setting value corresponding to a setting item included in a replaced terminal to a setting value corresponding to the setting item in the terminal before replacement.
In a first aspect, the present application provides a setting reservation method, where after determining that a universal integrated circuit card UICC card is inserted into a first terminal, the first terminal obtains first setting information based on the UICC card, where the first setting information includes at least one setting item in a second terminal and a corresponding setting value, where the first setting item includes a first setting item and a corresponding first setting value, and the first setting value is used to describe a state of a function indicated by the first setting item in the second terminal; the second terminal is a terminal which uses the UICC card and is different from the first terminal; the first terminal acquires second setting information; the second setting information includes at least one setting item in the first terminal, a setting value corresponding to the setting item, and a user interface UI attribute, where the setting item includes the first setting item, the second setting value corresponding to the first setting item, the second setting value is a default setting value of the first terminal when the first terminal leaves a factory, and is used to describe a state of a function indicated by the first setting item in the first terminal, and the UI attribute corresponding to the first setting item is used to describe whether the first setting item is visible in the first terminal; the first terminal determines that the first terminal reads the first setting information for the first time; after the first terminal determines that the first setting item is visible based on the UI attribute corresponding to the first setting item, the first terminal updates the second setting value corresponding to the first setting item in the second setting information to the first setting value when the terminal determines that the first setting value corresponding to the first setting item is not the same as the second setting value.
In the above embodiment, the first terminal may be a post-replacement terminal described in the following embodiment, and the second terminal may be a pre-replacement terminal described in the following embodiment, where if a certain setting item in the first terminal is visible to a user, a setting value corresponding to the setting item may be set by the user, and after the first terminal inserts the UICC card, the first terminal may change a default setting value corresponding to the setting item based on a correspondence between the setting item stored in the first setting information and the setting value, and update the default setting value corresponding to the setting item to the setting value corresponding to the setting item in the second terminal. In this way, the first terminal can inherit the adaptation habit of the user to the function indicated by each setting item before changing the machine, for example, a certain setting item is turned on when the default setting value in the first terminal is set, but the second terminal is turned off, and in the case that the setting item is visible, the corresponding default setting value (on) in the first terminal can be updated to off.
With reference to the first aspect, in an implementation manner, after the first terminal inserts the UICC card, the obtaining the first setting information specifically includes: after the first terminal is inserted into the UICC card, first setting information stored in the UICC card is obtained.
The above embodiment is a manner for the first terminal to obtain the first setting item, which means that the first setting information recording each setting item in the second terminal and its corresponding setting value is stored in the UICC card, and it should be understood that, when the user changes the terminal, the UICC card will not be changed in a large probability, and then each setting item in the second terminal and its corresponding setting value are stored by the UICC card, so that after changing the terminal, the first terminal can obtain each setting item in the second terminal and its corresponding setting value.
With reference to the first aspect, in an implementation manner, after the first terminal inserts the UICC card, the obtaining the first setting information specifically includes: after the first terminal is inserted into the UICC card, acquiring a UICC card identifier of the UICC card; the first terminal acquires the setting information matched with the UICC card identifier from the cloud server as first setting information.
In another way of acquiring the first setting item for the first terminal, the foregoing embodiment indicates that the first setting information recording each setting item in the second terminal and the corresponding setting value thereof is stored in the cloud server, so that the first terminal may acquire each setting item in the second terminal and the corresponding setting value thereof from the cloud server, and update the default setting value of the setting item in the first terminal is completed.
With reference to the first aspect, in one embodiment, the method further includes: after the first terminal determines that the first setting item is invisible based on the UI attribute corresponding to the first setting item, the first terminal updates the first setting value corresponding to the first setting item in the first setting information to the second setting value when the terminal determines that the first setting value corresponding to the first setting item is not the same as the second setting value.
In the foregoing embodiment, for the case that the first setting item is not visible, the first terminal may not display the first setting item, and the user may not update the default setting value corresponding to the first setting item, and then it is not necessary to update the default setting value to the setting value corresponding to the first setting item in the second terminal, the default setting value corresponding to the first setting item should be reserved, and then the setting value corresponding to the first setting item in the first setting information is updated to the default setting value corresponding to the first setting item.
With reference to the first aspect, in one embodiment, the method further includes: the first terminal records the second setting item and the corresponding setting value thereof into the UICC card, wherein the second setting item is a setting item which is not included in the first setting information and is included in the second setting information.
In the above embodiment, for a setting item newly added in the first terminal (a setting item not existing in the second terminal), the first setting information does not store a setting value corresponding to the first setting item, and the second setting item and a default setting value corresponding to the second setting item may be updated to the first setting information for storage, and may be available when the machine is changed next time.
With reference to the first aspect, in an implementation manner, the method further includes that the first terminal uploads updated second setting information and a UICC card identifier of the UICC card to the cloud server, where the second setting information corresponds to the UICC card identifier of the UICC card, and the UICC card identifier is used to indicate that the second setting information is related to the UICC card.
In the above embodiment, the UICC card identifier is used as the identifier of the second setting information, so that after the first terminal inserts the UICC card and determines the UICC card identifier of the UICC card, the second setting information corresponding to the UICC card identifier is obtained in the cloud server.
With reference to the first aspect, in an implementation manner, the determining, by the first terminal, that the first terminal reads the first setting information for the first time specifically includes: the first terminal determines that the reading identifier corresponding to the first setting information is unread, and the reading is unread and indicates that the first terminal does not read the first setting information.
In the foregoing embodiment, the setting identifier may be set in the terminal, corresponds to the terminal, and the default value is unread, and identifies that the first terminal has not read the first setting information, then the setting item of the first terminal has not been updated using the setting reservation method in the embodiment of the present application, and if the setting identifier is read, it indicates that the first terminal has read the first setting information, and then the setting item of the first terminal has been updated.
With reference to the first aspect, in an implementation manner, after the first terminal determines that the read identifier corresponding to the first setting information is unread, the method further includes: the first terminal updates the reading identifier corresponding to the first setting information to be read, and the reading identifier is read and indicates that the first terminal reads the first setting information.
In the above embodiment, when the first terminal determines that the read identifier corresponding to the first setting information is unread, the setting value corresponding to the first setting information is read, and the read identifier corresponding to the first setting information may be updated from unread to read.
With reference to the first aspect, in one implementation, the first setting item included in the first setting information is set by the user through the second terminal.
With reference to the first aspect, in an implementation manner, after the first terminal updates the second setting value corresponding to the first setting item in the second setting information to the first setting value, the method includes: in the first terminal, the state of the function indicated by the first setting item is updated from a first state to a second state, the first state is closed and the second state is open, or the first state is open and the second state is closed.
In a second aspect, the present application provides a first terminal, comprising: one or more processors and memory; the memory coupled with the one or more processors, the memory for storing computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the first terminal to perform: after determining that a Universal Integrated Circuit Card (UICC) card is inserted, acquiring first setting information based on the UICC card, wherein the first setting information comprises at least one setting item in a second terminal and a corresponding setting value thereof, and the first setting item and the corresponding first setting value thereof are included, and the first setting value is used for describing the state of a function indicated by the first setting item in the second terminal; the second terminal is a terminal which uses the UICC card and is different from the first terminal; acquiring second setting information; the second setting information includes at least one setting item in the first terminal, a setting value corresponding to the setting item, and a user interface UI attribute, where the setting item includes the first setting item, the second setting value corresponding to the first setting item, the second setting value is a default setting value of the first terminal when the first terminal leaves a factory, and is used to describe a state of a function indicated by the first setting item in the first terminal, and the UI attribute corresponding to the first setting item is used to describe whether the first setting item is visible in the first terminal; determining that the first terminal reads the first setting information for the first time; after determining that the first setting item is visible based on the UI attribute corresponding to the first setting item, under the condition that the terminal determines that the first setting value corresponding to the first setting item is not the same as the second setting value, the first terminal updates the second setting value corresponding to the first setting item in the second setting information to the first setting value.
In the above embodiment, the first terminal may be a post-replacement terminal described in the following embodiment, and the second terminal may be a pre-replacement terminal described in the following embodiment, where if a certain setting item in the first terminal is visible to a user, a setting value corresponding to the setting item may be set by the user, and after the first terminal inserts the UICC card, the first terminal may change a default setting value corresponding to the setting item based on a correspondence between the setting item stored in the first setting information and the setting value, and update the default setting value corresponding to the setting item to the setting value corresponding to the setting item in the second terminal. In this way, the first terminal can inherit the adaptation habit of the user to the function indicated by each setting item before changing the machine, for example, a certain setting item is turned on when the default setting value in the first terminal is set, but the second terminal is turned off, and in the case that the setting item is visible, the corresponding default setting value (on) in the first terminal can be updated to off.
With reference to the second aspect, in one embodiment, the one or more processors are specifically configured to invoke the computer instructions to cause the electronic device to perform: after the UICC card is inserted, first setting information stored in the UICC card is obtained.
The above embodiment is a manner for the first terminal to obtain the first setting item, which means that the first setting information recording each setting item in the second terminal and its corresponding setting value is stored in the UICC card, and it should be understood that, when the user changes the terminal, the UICC card will not be changed in a large probability, and then each setting item in the second terminal and its corresponding setting value are stored by the UICC card, so that after changing the terminal, the first terminal can obtain each setting item in the second terminal and its corresponding setting value.
With reference to the second aspect, in one embodiment, the one or more processors are specifically configured to invoke the computer instructions to cause the electronic device to perform: after inserting the UICC card, acquiring a UICC card identifier of the UICC card; the first terminal acquires the setting information matched with the UICC card identifier from the cloud server as first setting information.
In another way of acquiring the first setting item for the first terminal, this means that the first setting information recording each setting item in the second terminal and the corresponding setting value thereof is stored in the cloud server, so that the first terminal may also acquire each setting item in the second terminal and the corresponding setting value thereof from the cloud server, and update of the default setting value of the setting item in the first terminal is completed
With reference to the second aspect, in one embodiment, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: after determining that the first setting item is invisible based on the UI attribute corresponding to the first setting item, updating the first setting value corresponding to the first setting item in the first setting information to the second setting value when the terminal determines that the first setting value corresponding to the first setting item is not the same as the second setting value.
In the foregoing embodiment, for the case that the first setting item is not visible, the first terminal may not display the first setting item, and the user may not update the default setting value corresponding to the first setting item, and then it is not necessary to update the default setting value to the setting value corresponding to the first setting item in the second terminal, the default setting value corresponding to the first setting item should be reserved, and then the setting value corresponding to the first setting item in the first setting information is updated to the default setting value corresponding to the first setting item.
With reference to the second aspect, in one embodiment, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: and uploading the updated second setting information and the UICC card identifier of the UICC card to the cloud server, wherein the second setting information corresponds to the UICC card identifier of the UICC card, and the UICC card identifier is used for indicating that the second setting information is related to the UICC card.
In the above embodiment, the UICC card identifier is used as the identifier of the second setting information, so that after the first terminal inserts the UICC card and determines the UICC card identifier of the UICC card, the second setting information corresponding to the UICC card identifier is obtained in the cloud server.
With reference to the second aspect, in one embodiment, the one or more processors are specifically configured to invoke the computer instructions to cause the electronic device to perform: and determining that a reading identifier corresponding to the first setting information is unread, wherein the reading identifier is unread and indicates that the first setting information is not read by the first terminal.
In the foregoing embodiment, the setting identifier may be set in the terminal, corresponds to the terminal, and the default value is unread, and identifies that the first terminal has not read the first setting information, then the setting item of the first terminal has not been updated using the setting reservation method in the embodiment of the present application, and if the setting identifier is read, it indicates that the first terminal has read the first setting information, and then the setting item of the first terminal has been updated.
With reference to the second aspect, in one embodiment, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: the first terminal updates the reading identifier corresponding to the first setting information to be read, and the reading identifier is read and indicates that the first terminal reads the first setting information.
In the above embodiment, when the first terminal determines that the read identifier corresponding to the first setting information is unread, the setting value corresponding to the first setting information is read, and the read identifier corresponding to the first setting information may be updated from unread to read.
In a third aspect, the present application provides a chip system, which is applied to a first terminal, and includes one or more processors, which are configured to invoke computer instructions to cause the first terminal to perform the method described in the first aspect or any one of the implementation manners of the first aspect.
In the above embodiment, the first terminal may be a post-replacement terminal described in the following embodiment, and the second terminal may be a pre-replacement terminal described in the following embodiment, where if a certain setting item in the first terminal is visible to a user, a setting value corresponding to the setting item may be set by the user, and after the first terminal inserts the UICC card, the first terminal may change a default setting value corresponding to the setting item based on a correspondence between the setting item stored in the first setting information and the setting value, and update the default setting value corresponding to the setting item to the setting value corresponding to the setting item in the second terminal. In this way, the first terminal can be made to inherit the adaptation habit of the user to the function indicated by each setting item before changing the machine, for example, a default setting value of a certain setting item in the first terminal is on, but the second terminal is off, and in the case that the setting item is visible, the corresponding default setting value (on) in the first terminal can be updated to off.
In a fourth aspect, the present application provides a computer program product comprising instructions for causing a first terminal to perform the method as described in the first aspect or any one of the embodiments of the first aspect, when the computer program product is run on the first terminal.
In the above embodiment, the first terminal may be a post-replacement terminal described in the following embodiment, and the second terminal may be a pre-replacement terminal described in the following embodiment, where if a certain setting item in the first terminal is visible to a user, a setting value corresponding to the setting item may be set by the user, and after the first terminal inserts the UICC card, the first terminal may change a default setting value corresponding to the setting item based on a correspondence between the setting item stored in the first setting information and the setting value, and update the default setting value corresponding to the setting item to the setting value corresponding to the setting item in the second terminal. In this way, the first terminal can inherit the adaptation habit of the user to the function indicated by each setting item before changing the machine, for example, a certain setting item is turned on when the default setting value in the first terminal is set, but the second terminal is turned off, and in the case that the setting item is visible, the corresponding default setting value (on) in the first terminal can be updated to off.
In a fifth aspect, the present application provides a system upgrade method, a computer-readable storage medium comprising instructions, which, when executed on a first terminal, cause the first terminal to perform the method as described in the first aspect or any one of the embodiments of the first aspect.
In the above embodiment, the first terminal may be a post-replacement terminal described in the following embodiment, and the second terminal may be a pre-replacement terminal described in the following embodiment, where if a certain setting item in the first terminal is visible to a user, a setting value corresponding to the setting item may be set by the user, and after the first terminal inserts the UICC card, the first terminal may change a default setting value corresponding to the setting item based on a correspondence between the setting item stored in the first setting information and the setting value, and update the default setting value corresponding to the setting item to the setting value corresponding to the setting item in the second terminal. In this way, the first terminal can inherit the adaptation habit of the user to the function indicated by each setting item before changing the machine, for example, a certain setting item is turned on when the default setting value in the first terminal is set, but the second terminal is turned off, and in the case that the setting item is visible, the corresponding default setting value (on) in the first terminal can be updated to off.
Drawings
FIGS. 1a and 1b illustrate exemplary user interfaces for displaying part of setting items and their corresponding setting values in a terminal before replacement;
FIGS. 2a and 2b illustrate an exemplary user interface displaying part of setting items and their corresponding setting values in a scenario;
FIGS. 3a and 3b illustrate exemplary user interfaces displaying part of setting items and their corresponding setting values in a terminal according to an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating a setup reservation method according to an embodiment of the present application;
FIG. 5 is another schematic flow chart diagram of a setup reservation method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of the present application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the listed items.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Some terms referred to in the embodiments of the present application will be described first.
(1) Setting item and setting value
Any setting item in the terminal may be used to indicate a function, for example, a Bluetooth (BT) setting item is used to indicate a bluetooth function of the terminal. Any setting item corresponds to a setting value which is used for indicating the starting state of the function indicated by the setting item.
The partial setting items and the corresponding setting values thereof are visible to the user, that is, the partial setting items and the corresponding setting values thereof can be displayed in a User Interface (UI), and the user can view and update the setting items in the setting application. For example, for a certain setting item and its corresponding setting value, the terminal may provide a display area for displaying the setting item and its corresponding setting value.
The display form of each setting item in the user interface is characters, and can also be other forms, such as images, animations and the like, and the display form of the same setting item can be the same or different in different terminals, but although the display form of the same setting item can be different, the identifiers of the same setting item in different terminals can be the same, and the identifier of the setting item is used for uniquely representing one setting item. The setting value corresponding to any setting item can be displayed by using a setting control, here, it can also be said that each setting item corresponds to the setting control, the setting control is used for indicating the setting value corresponding to the setting item, and a user can update the setting value of the setting item corresponding to the setting control by touching the setting control.
Fig. 1a and 1b show exemplary user interfaces for displaying part setting items and their corresponding setting values in a terminal before replacement.
Here, the UICC card is taken as an USIM card for example, where the UICC card may include a USIM card 1 and a USIM card 2.
As shown in fig. 1a, the user interface 10 provides a setting interface for a terminal before replacement, the user interface 10 may include a plurality of setting items related to a network, including a "data roaming" setting item 101 (hereinafter, may be simply referred to as a setting item 101), a "5G enabled" setting item 102 (hereinafter, may be simply referred to as a setting item 102), a "VoNR high definition call" setting item 103 (hereinafter, may be simply referred to as a setting item 103), a "4G enabled" setting item 104 (hereinafter, may be simply referred to as a setting item 104), and a "VoLTE high definition call" setting item 105 (hereinafter, may be simply referred to as a setting item 105), which may respectively indicate a function, for example, the "5G enabled" setting item 101 is used to indicate a 5G function of the terminal, the 5G function enables the terminal to communicate using a 5G network, the setting items 101-105 included in the user interface 10 further correspond to a setting value (the setting value is indicated by a setting control, that is, it can be said that one setting item corresponds to one setting control), the setting value is used to indicate the state of the function indicated by the setting item, for example, when the setting value is OFF (OFF), the setting value indicates that the function indicated by the setting item corresponding to the setting value is in the OFF state, and the terminal cannot use the function indicated by the setting item.
Generally, since a network can be acquired by a UICC card after the UICC card is inserted into the terminal, the setting item related to the network may also be a setting item related to the UICC card, for example, a setting item related to the USIM card 1 included in the area 100A and a setting item related to the USIM card 2 included in the area 100B described below.
Wherein, the area 100A includes some setting items related to the USIM card 1 and their corresponding setting values (displayed in the form of setting controls, which may be referred to as setting controls corresponding to the setting items), such as a "data roaming" setting item 101 and its corresponding setting control 101A, a "5G enabled" setting item 102 and its corresponding setting control 102A, a "VoNR high definition call" setting item 103 and its corresponding setting control 103A, in some setting items related to the USIM card 1, the ON-off state of the setting control 101A corresponding to the "data roaming" setting item 101 is ON (ON), which indicates that the terminal can use the function of data roaming, the ON-off state of the setting control 102A corresponding to the "5G enabled" setting item 102 is ON, which indicates that the setting value corresponding to the "5G enabled" setting item 101 is ON, at this time, the terminal can use the 5G network, if the ON-off state of the setting control 103A corresponding to the "VoNR high definition call" setting item 103 is ON (ON), it indicates that the setting value corresponding to the "VoNR high definition call" setting item 103 is ON, and at this time, the terminal may use the call solution of VoNR to perform a call, thereby improving the call quality.
The area 100B includes some setting items related to the USIM card 2 and corresponding setting control values (displayed in the form of setting controls, which may be referred to as setting controls corresponding to the setting items), such as "enable 4G" setting item 104 and its corresponding setting control 104A, "VoLTE high definition call" setting item 105 and its corresponding setting control 105A.
For the description of other setting items related to the USIM card 1, and the partial setting items related to the USIM card 2 and the corresponding setting control values, reference may be made to the foregoing description of the setting items in the area 100A, such as the "data roaming" setting item 101 or the "5G enabled" setting item 102, and details are not repeated here.
It should be understood that the setting value of the setting item can be in various other types besides being turned on or off, such as number, or one of two or more options, and the like, and an example thereof can be shown with reference to fig. 1b described below.
As shown in fig. 1B, the user interface 11 is an exemplary setting interface corresponding to other setting items 106, the user interface 11 may include more setting items, for example, a setting item 111 of "WLAN/mobile data connection switching prompt", a setting value corresponding to the setting item 111 is one of three options, the three options may be shown as an area 112 and may include an option 112A, an option 112B, and an option 112C, where the option 112A is: when the WLAN connection is disconnected, prompting to use mobile data connection ", that is, when the WLAN connection connected to the terminal is disconnected, a prompt message may be displayed to prompt the user that the currently connected WLAN has been disconnected and whether to switch to mobile data (cellular network) for communication, where the option 112B is: when the WLAN connection is disconnected, the mobile data connection is automatically used, that is, when the WLAN connection connected to the terminal is disconnected, the mobile data is switched to perform communication, the prompt message is not displayed to prompt the user whether to switch, and when the option 112C is "when the WLAN connection is disconnected, the mobile data connection is not used", that is, when the WLAN connection connected to the terminal is disconnected, the mobile data is not switched to perform communication, and the prompt message is not displayed to prompt the user whether to switch, in fig. 1b, the setting value corresponding to the setting item 111 of "WLAN/mobile data connection switching prompt" is the setting value indicated by the option 112A.
In one scheme, when a replaced terminal (hereinafter, the replaced terminal is simply referred to as a terminal) leaves a factory, in order to make setting values of each setting item have universality, a default setting value is set for some or all of the setting items, so that the setting values of the setting items in the terminal before replacement cannot be inherited, and the terminal is difficult to adapt to personal habits of users. The scenario involved in the scheme may refer to the following descriptions of fig. 1a, fig. 1b, fig. 2a, and fig. 2 b.
It is assumed that the terminal shown in fig. 1a and 1b is a terminal before replacement by the user, and the terminal shown in fig. 2a and 2b is a terminal after replacement by the user.
Fig. 2a and 2b show an exemplary user interface displaying part of setting items and their corresponding setting values in a scenario.
Here, the UICC card is taken as an USIM card for example, where the UICC card may include a USIM card 1 and a USIM card 2.
As shown in fig. 2a, the user interface 20 provides an exemplary setting interface for the terminal, where the user interface 20 may include a plurality of setting items related to the network, and at this time, the user has not updated the setting items related to the network, that is, setting values corresponding to the setting items related to the network are default setting values preset before the terminal leaves the factory. The area 200A includes a part of setting items related to the USIM card 1 and corresponding setting values (displayed in the form of setting controls, which may be referred to as setting items corresponding to the setting items), and the area 200B includes a part of setting items related to the USIM card 2 and corresponding setting values.
The user interface 20 in fig. 2a is different from the aforementioned part of setting items related to the USIM card 1 in the user interface 10 in fig. 1a and their corresponding setting values, which are represented in the following two places:
(1) the setting values corresponding to the "data roaming" setting item 101 are different, wherein, in the terminal before replacement (refer to the area 100A in fig. 1A), the setting value corresponding to the "data roaming" setting item 101 is ON (ON) indicated by the setting control 101A, and in the replaced terminal (refer to the area 200A in fig. 2 a), the setting value corresponding to the "data roaming" setting item 101 is the on/OFF (OFF) indicated by the setting control 101B, which means that in the replaced terminal, the default setting value of the "data roaming" setting item 101 is different from the setting value of the "data roaming" setting item 101 in the terminal before the replacement, and in the terminal before and after the replacement, the experience feeling brought to the user by the function indicated by the "data roaming" setting item 101 is different, the function is in an on state before replacement, the user can experience the function, and the function cannot be experienced by the user in an off state after replacement.
(2) The "VoNR" setting item 103 is no longer visible in the replaced terminal, the terminal may not display the "VoNR" setting item 103, and the user may not update the setting value corresponding to the "VoNR" setting item 103.
The user interface 20 in fig. 2a is different from the aforementioned part of setting items related to the USIM card 2 in the user interface 10 in fig. 1a and the corresponding setting values thereof, and can be obtained by referring to the area 100B in the user interface 10 and the area 200B in the user interface 20, and the detailed description thereof can refer to the foregoing matters, and is not repeated here.
For example, as can be seen from fig. 2B and fig. 1B, in the terminal before the replacement, when the setting value corresponding to the "WLAN/mobile data connection switching prompt" setting item 111 in the terminal before the replacement is "WLAN connection disconnection indicated by the option 112B, it is prompted to use mobile data connection", and in the terminal after the replacement, when the setting value corresponding to the "WLAN/mobile data connection switching prompt" setting item 111 in fig. 2B is "WLAN connection disconnection indicated by the option 210, it is automatically used mobile data connection".
The terminal before replacement and the terminal after replacement may also have other setting items with different setting values, which is not illustrated here.
Based on the foregoing description, it can be seen that the situation that the setting values corresponding to the same setting item are different in the terminal before the replacement exists in the terminal after the replacement, and the terminal after the replacement cannot inherit the setting values of the setting item in the terminal before the replacement, and is difficult to adapt to the personal habits of the user.
In the setting reservation method, if a certain setting item in the terminal is visible to a user and a setting value corresponding to the setting item can be set by the user, the setting reservation method in the embodiment of the application can be implemented after the terminal leaves a factory, so that the terminal changes a default setting value corresponding to the setting item and updates the default setting value corresponding to the setting item to the setting value corresponding to the setting item before replacement.
In a possible implementation manner, after the UICC card is inserted, the terminal may obtain first setting information from the UICC card, where the first setting information may include a corresponding relationship between at least one setting item in the terminal before replacement and a setting value, for example, a corresponding relationship between at least one setting item related to the UICC card and a setting value. The terminal also comprises second setting information, wherein the second setting information comprises the corresponding relation between at least one setting item in the terminal and a default setting value and the corresponding relation between the setting item and a UI attribute, and the UI attribute is used for describing whether the setting item is visible or not. For a first setting item in the first setting information, the terminal determines whether the first setting item is visible or not based on the UI attribute corresponding to the first setting item in the second setting information, if the first setting item is not visible, the first setting item is not visible to the user, the user cannot change the default setting value corresponding to the first setting item, and in this case, the default setting value of the first setting item in the terminal is kept unchanged. If so, the first setting item is shown to be visible to the user, and the user can change the default setting value corresponding to the first setting item, in this case, the terminal determines whether the setting value of the first setting item in the first setting information is the same as the default setting value of the first setting item in the second setting information, if not, the default setting value of the first setting item is changed to the setting value of the first setting item in the first setting information, and if so, the default setting value of the first setting item is kept unchanged.
It should be understood that, here, the first setting item may be any one of the first setting information for which the above-described method may be adopted, so that in the terminal, the default setting value of the first setting item may be updated to the setting value corresponding to the setting item in the terminal before replacement.
An exemplary scenario involved in implementing the setup reservation method in the embodiments of the present application is described below.
Fig. 3a and 3b show exemplary user interfaces displaying part of setting items and their corresponding setting values in the terminal in the embodiment of the present application.
Here, a UICC card is taken as an example of a USIM card for user identity identification, where the UICC card may include a USIM card 1 and a USIM card 2.
After the setting reservation method according to the embodiment of the present application is adopted, the user interface 20 according to the foregoing description may be updated to the user interface 30 according to fig. 3a after the UICC card (including the USIM card 1 and the USIM card 2) is inserted, and the user interface 21 according to the foregoing description may be updated to the user interface 31 according to fig. 3b after the UICC card is inserted, at this time, the user does not update the related setting item shown in the drawing, and the updating of the user interface 20 to the user interface 30 and the changing of the user interface 21 to the user interface 31 are the result of the implementation of the setting reservation method according to the present application.
As shown in fig. 3a, after the UICC card is inserted, the user interface 20 may be updated to be the user interface 30, and compared to the user interface 20, the setting values corresponding to the setting items of the user interface 30 are the same as those of the terminal before replacement, and the part of the setting items related to the USIM card 1 and referred to in the area 300A is taken as an example to explain: the setting value 101B corresponding to the "data roaming" setting item 101 is updated from the default setting value (off) to the setting value 301 (on), the same as in the terminal before the replacement (refer to the setting value 101A corresponding to the "data roaming" setting item 101 in the aforementioned fig. 1A).
It should be understood that the setting value corresponding to the setting item 102 in the user interface 20 is the same as that of the terminal before replacement, and therefore, the setting value corresponding to the setting item 102 in the user interface 30 is the same as that in the user interface 20.
In fig. 3a, the description of the part of the setting items related to the USIM card 2 (for example, the setting items shown in the area 300B shown in fig. 3 a) may refer to the foregoing description of the part of the setting items related to the USIM card 1, and is not described herein again.
As shown in fig. 3b, after the UICC card is inserted, the user interface 21 may be updated to the user interface 31, and the setting value corresponding to the setting item of the user interface 31 is the same as that of the terminal before the replacement compared to the user interface 21, for example, when the setting value corresponding to the "WLAN/mobile data connection switching prompt" setting item 111 is updated from "WLAN connection disconnection indicated by option 210, mobile data connection is automatically used" to "WLAN connection disconnection indicated by option 310, mobile data connection is prompted to be used", so as to be the same as that of the terminal before the replacement.
An exemplary flowchart of when the terminal performs the setup reservation is described in detail below.
Fig. 4 shows a schematic flowchart of a setup reservation method according to an embodiment of the present application.
One implementation manner of the setting reservation method in the embodiment of the present application may include the following steps S101 to S111, and the detailed description of the process is as follows:
s101, a terminal detects an operation of inserting a UICC card, the UICC card comprises first setting information, the first setting information can comprise a corresponding relation between at least one setting item in the terminal before replacement and a setting value, the terminal comprises second setting information, the second setting information comprises a corresponding relation between at least one setting item in the terminal and a default setting value and a corresponding relation between the setting item and a UI attribute, and the UI attribute is used for describing whether the setting item is visible or not.
When the user replaces the terminal, the UICC card is not usually replaced, at least one setting item and a setting value corresponding to the setting item may be stored in the UICC card, and in a case that the user inserts the UICC card into the terminal, the terminal may monitor an operation of inserting the UICC card, and then perform the following step S102.
It should be understood that the setting value corresponding to the setting item stored in the UICC card may be set by the user through the terminal before updating, and inherits the usage habit of the user for the function indicated by the setting item.
The UICC card is provided with a storage area, which can store first setting information, the first setting information can include at least one setting item in the terminal before replacement and its corresponding setting value, that is, the first setting information can include the corresponding relationship between at least one setting item in the terminal before replacement and the setting value, the setting item included in the first setting information can be at least one setting item related to the UICC card, or other setting items, such as at least one setting item related to other UICC cards, or a setting item not related to the UICC card (for example, the aforementioned "WLAN/mobile data connection switching prompt" setting item 111 shown in fig. 1 b), and the first setting information can include other information of the setting item in addition to the corresponding relationship between at least one setting item and the setting value, such as the length of the setting item.
When a terminal before replacement includes a different UICC card, for example, the UICC card may be the USIM card 1 or the USIM card 2 related in fig. 2a, the setting item related to the USIM card 1 is stored in the USIM card 1, the setting item related to the USIM card 2 may be stored in the USIM card 2, the same setting item may be included in different UICC cards, but setting values corresponding to the same setting item may be different, both the setting items related to the USIM card 1 and the USIM card 2 may include one or more of setting items such as a "data roaming" setting item and a "VoLTE high definition call" setting item, and setting values corresponding to these setting items may be the same or different.
Before inserting UICC card, setting item in terminal corresponds to a default setting value, the terminal includes a second setting information, the second setting information includes setting item in terminal and its corresponding default setting value, i.e. the corresponding relation between setting item and default setting value, and the corresponding relation between setting item and UI attribute (also called setting item and its corresponding UI attribute), the UI attribute is used to describe whether the setting item is visible or not, the UI attribute corresponding to a setting item can be visible or invisible, when the UI attribute corresponding to the setting item is invisible, the setting item and/or the setting value corresponding to the setting item will not be displayed in the terminal, thus, user can not update the setting value of the setting item through the terminal, i.e. the setting value corresponding to the setting item can always keep the default setting value unchanged, when the UI attribute corresponding to the setting item is visible, the setting item and the corresponding setting value may be displayed in the terminal, so that the user may view or update the setting value of the setting item through the terminal, for example, the UI attribute corresponding to each setting item in the user interface 20 shown in fig. 2a is visible, the setting items may be displayed in the terminal, and the setting value corresponding to the setting item may be updated.
In one possible implementation, the manner in which one setting item is described may be: by using the identifier (type) of the setting item, the length (length) of the setting item, and the setting value (value) corresponding to the setting item, wherein the first setting information at least includes a plurality of setting items (identifiers of the setting items) and their corresponding setting values, and may further include the lengths of the setting items, the manner in which the terminal stores the first setting information in the UICC card includes, but is not limited to, the following two manners:
the following two modes are described by taking, as an example, type, length, and value (hereinafter, abbreviated as TLV) including any one setting item in the first setting information.
(1) The first setting information may be stored in an original basic (EF) file in the UICC card, for example, in an EF file, which is a disabled public land network (EF _ FPLMN) file, where the EF _ FPLMN file has an existing role of reading or writing carrier information that is prohibited from being selected and is included in the UICC card, and in this embodiment of the present application, the spare bits therein may be used to store the first setting information, and an exemplary EF _ FPLMN file in the UICC card is as shown in table 1:
Figure 980047DEST_PATH_IMAGE001
TABLE 1
In table 1, 3 bytes (bytes) can be used to store TLVs (type, length, and value) of a setting item, any 3 bytes corresponds to a description (description) field, which can be used to describe the content stored in the 3 bytes, for example, 10 th to 15 th bytes are free bits, which can be used to store the setting item and its corresponding setting value, wherein 10 th to 12 th bytes are used to store TLVs of setting item 1, its corresponding description field is used to describe TLVs of setting item 1, 13 th to 15 th bytes are used to store TLVs of setting item 2, and its corresponding description field is used to describe TLVs of setting item 2. M denotes whether a setting item is mandatory (mandatory), O denotes that a setting item is optional, and length may denote the length of a setting item or its corresponding setting value (here, 3 bytes).
The other information in this table 1 also includes: bytes 1-6 are used for storing operator information in the terminal (PLMN 1 and PLMN 2), bytes 7-9 are used as isolation bits, no information is stored, and then the following bytes are used for storing extended information, such as settings and their corresponding settings. The Identifier:6F7B indicates that the file identification number (ID) of the EF _ FPLMN file is '6F 7B', the structure: transfer indicates linear reading, the management indicates mandatory (mandatory), the SFI indicates a reading mode, the update activity: low indicates infrequent use, and the access conditions indicate access rights including read (read), update (update), inactive (inactive) and active (active).
It should be understood that the contents referred to in table 1 are illustrated, for example, the use of the 7 th byte to the 9 th byte as the isolation bit is illustrated, in practical applications, how many bytes are specifically used and which bytes are used as the isolation bit are not limited, and the isolation bit may not be needed, and the foregoing description of table 1 should not be construed as limiting the embodiments of the present application.
(2) Creating an EF file for storage in the UICC card, using the file to store the first setting information, an exemplary created EF file is as described in table 2:
Figure 467266DEST_PATH_IMAGE002
TABLE 2
In table 2, TLVs (type, length, and value) of one setting item may be stored using 3 bytes (bytes), for example, TLVs 1 to 3 bytes for storing setting item 1, TLVs 4 to 6 bytes for storing setting item 2, TLVs 7 to 9 bytes for storing setting item 2, and TLVs 7 to 9 bytes for storing setting item 3. For the description of other information in table 2, reference may be made to the description of table 1, which is not repeated herein.
S102, the terminal determines whether the first setting information is unread.
In some embodiments, after the terminal obtains the first setting information, it may set a read identifier for the terminal, as a read identifier corresponding to the first setting information, and record the read identifier in the terminal, where the read identifier is used to determine whether the first setting information has been read by the terminal, the read identifier may be read or unread, and is default to unread, and after the terminal reads the first setting information for the first time, the read identifier may be set as read from unread.
It should be understood that, if the read identifier corresponding to the first setting information is already recorded in the terminal, the read identifier corresponding to the first setting information may not be set again.
The method for the terminal to determine whether the reading identifier of the first setting information is unread is as follows:
in the case that the read flag is not read, which indicates that the terminal reads the first setting information for the first time, the setting value corresponding to the setting item in the terminal is not reset by using the setting retention method in the embodiment of the present application, and the terminal may determine that the first setting information is not read, then the following step S103 is executed.
If the read flag is read, it indicates that the setting value corresponding to the setting value in the terminal has been reset by using the setting reservation method in the embodiment of the present application, and it is determined that the first setting information is not unread, then the following step S111 is performed.
S103, the terminal updates the first setting information to be read.
The step S103 may occur after the step S102, and there is no precedence relationship between the step S104 and the step S110, that is, the terminal may update the first setting information to be read before or after the process of reading the first setting information and the process of reading the first setting information.
And under the condition that the reading identifier is not read, the terminal updates the reading identifier to be read.
And S104, for the first setting item in the first setting information, the terminal determines whether the first setting item is visible or not based on the UI attribute corresponding to the first setting item in the second setting information.
The first setting item is any one of the first setting information.
For the first setting item, the terminal determines whether the first setting item in the second setting information is visible, if so, the first setting item and the corresponding setting value thereof can be displayed in the terminal, thus, a user can check or update the setting value corresponding to the first setting item through the terminal, and if not, the first setting item is not displayed in the terminal.
The terminal determines the UI attribute corresponding to the first setting item, if the UI attribute is visible, the terminal determines that the first preset value is visible, then the following step S105 is executed, and if the UI attribute is invisible, the terminal determines that the first preset value is invisible, then the following step S109 is executed.
And S105, the terminal determines the setting value of the first setting item in the first setting information as the target setting value of the first setting item.
The setting value corresponding to the first setting item in the first setting information is the same as the setting value corresponding to the first setting item in the terminal before replacement, the usage habit of the user on the first setting item is inherited, the terminal can determine the setting value of the first setting item from the first setting information as the target setting value of the first setting item, if the default setting value corresponding to the first setting item in the terminal is not the same as the target setting value, the default setting value corresponding to the first setting item can be updated based on the target setting value, and the specific process can refer to the following description of step S106 and step S107.
S106, the terminal determines whether the target setting value is the same as a default setting value corresponding to the first setting item in the second setting information.
The target setting value is the same as the default setting value corresponding to the first setting item, which means that: the state of the function indicated by the first setting item before replacement is the same as that in the terminal, for example, when the default setting value corresponding to the first setting item includes off or on, it indicates that the state of the function indicated by the first setting item in the terminal is off (the default setting value is off) or on (the default setting value is on).
Here, the step S106 is described by taking as an example that the state of the function indicated by the first setting item in the terminal is on or off, and other cases may refer to what is described here:
and in the case that the terminal determines that the target setting value indicates that the function indicated by the first setting item is closed and determines that the default setting value indicates that the function indicated by the first setting item is closed, the terminal determines that the default setting item is the same as the target setting item. Or, in the case that the terminal determines that the target setting value indicates that the function indicated by the first setting item is on and determines that the default setting value indicates that the function indicated by the first setting item is on, the terminal determines that the default setting item is the same as the target setting item.
It should be understood that, when the target setting value and the default setting value are represented by characters, when the target setting value is a character whose meaning is OFF, etc., it indicates that the target is set OFF, it indicates that the function indicated by the first setting item is OFF, when the target setting value is a character whose meaning is ON, etc., it indicates that the target setting value is ON, it indicates that the function indicated by the first setting item is ON, and when the terminal determines that the first setting value and the default setting value are both OFF (for example, one of the characters of OFF, etc.), it determines that the default setting item is the same as the target setting item. Alternatively, when the terminal determines that the first setting value and the default setting value both have the meanings of ON (e.g., one of characters of ON, etc.), it determines that the default setting item is the same as the target setting item. There may be other ways to indicate the setting value corresponding to a setting item, for example, it may be "0" to indicate off, "1" to indicate on or "1" to indicate off, and "0" to indicate on.
And under the condition that the terminal determines that the target setting value indicates that the function indicated by the first setting item is closed and determines that the default setting value indicates that the function indicated by the first setting item is opened, the terminal determines that the default setting item is different from the target setting item. Or, the terminal determines that the default setting item is different from the target setting item when the terminal determines that the target setting value indicates that the function indicated by the first setting item is on and determines that the default setting value indicates that the function indicated by the first setting item is off.
When the terminal determines that the first setting value is the same as the default setting value, the following step S107 is performed.
When the terminal determines that the first setting value is not the same as the default setting value, the following step S110 is performed.
And S107, the terminal updates the default setting value corresponding to the first setting item in the second setting information into a target setting value.
And the terminal updates the default setting value corresponding to the first setting item in the second setting information to a target setting value, so that the state of the function indicated by the first setting item in the terminal is the same as that of the terminal before replacement. For example, when the default setting value is ON and the target setting value is OFF, the default setting value is updated to OFF, for example, as shown in the foregoing fig. 3a, the first setting item may be a "data roaming" setting item 101, then in a terminal (a terminal before the UICC card is inserted), the default setting value corresponding to the first setting item is OFF (OFF), as shown in fig. 1a, in a terminal before the replacement, the first setting value corresponding to the "data roaming" setting item 101 is ON (ON), then the terminal may update the default setting value corresponding to the first setting item to the first setting value, as shown in fig. 3a, after the UICC card is inserted, the setting item 101 in the terminal is updated to the first setting value: and (ON).
And S108, the terminal displays the first setting item and the corresponding setting value according to the first setting item and the corresponding target setting value.
In the user interface of the terminal, the first setting item and the corresponding setting value may be displayed, where the setting value corresponding to the first setting item is the target setting value, for example, in the terminal after the UICC card is inserted as shown in fig. 3a, the displayed "data roaming" setting item 101 may be the first setting item, and the corresponding updated setting value is turned ON (ON) may be the setting value corresponding to the displayed first setting item.
S109, the terminal keeps the default setting value corresponding to the first setting item in the second setting information unchanged, and updates the setting value corresponding to the first setting item in the first setting information to the default setting value corresponding to the first setting item in the second setting information.
When the UI attribute corresponding to the first setting item is invisible, it indicates that the first setting item is not displayed in the terminal, and the user may not view or update the default setting value corresponding to the first setting item through the terminal, in this case, it generally indicates: in the terminal, the state of the function indicated by the first setting item can only be the state represented by the default setting value, and cannot be updated, which may cause a system leak or other problems after updating.
In step S109, the terminal updates the setting value corresponding to the first setting item in the first setting information to the setting value corresponding to the first setting item in the second setting information. The process is similar to the aforementioned process of updating the setting value (default setting value) corresponding to the first setting item in the second setting information to the first setting value, and is not described herein again.
And S110, the terminal keeps the default setting value corresponding to the first setting item in the second setting information unchanged.
And S111, ending.
In another implementation, the terminal may store the first setting information and its corresponding UICC card identification (the UICC card identification is the UICC card identification storing the first setting new UICC card) as a setting file in the cloud server, and the setting file is set to correspond to the UICC card identification, wherein the UICC card identification is used to identify the profile, one profile may correspond to one or more UICC card identifications, when the setting information related to a plurality of UICC cards is recorded in the setting file, the plurality of UICC cards may be corresponded to the configuration file, after detecting the operation of inserting the UICC card, the terminal may obtain the setting file matching with the inserted UICC card identifier from the cloud server, and complete the updating of the setting item, and the detailed description of the process may refer to the following description.
Another exemplary flowchart when the terminal performs the setup reservation is described in detail below.
Fig. 5 shows another schematic flowchart of a setup reservation method according to an embodiment of the present application.
Another implementation manner of the setting reservation method in the embodiment of the present application may include the following steps S201 to S212, and the detailed description of the process is as follows:
s201, the terminal detects the operation of inserting the UICC card, a setting file matched with the UICC card identification of the UICC card is obtained from a cloud server, the setting file comprises at least one piece of setting information, the setting file corresponds to one or more UICC card identifications, the setting file comprises third setting information, the third setting information can comprise the corresponding relation between at least one setting item and a setting value in the terminal before replacement, the terminal comprises second setting information, the second setting information comprises the corresponding relation between at least one setting item and a default setting value in the terminal and the corresponding relation between the setting item and a UI attribute, and the UI attribute is used for describing whether the setting item is visible or not.
The setting file can include at least one piece of setting information, the setting file can correspond to one or more UICC card identifications, the one or more UICC card identifications are used for representing terminals for uploading the setting file to a cloud server, and when the terminals determine that one UICC card identification in the one or more UICC card identifications corresponding to the setting file is the same as the UICC card identification of the inserted UICC card, the setting file is determined to be matched with the UICC card identification of the inserted UICC card.
The setting file includes at least one setting information and one or more corresponding UICC card identifiers, for example, the setting file may include two pieces of setting information, one of which is used to record the aforementioned related setting item related to the USIM card 1 and the corresponding setting value, at this time, the UICC card identifier corresponding to the setting information may be the UICC card identifier of the USIM card 1, and the other is used to record the aforementioned related setting item related to the USIM card 2 and the corresponding setting value, at this time, the UICC card identifier corresponding to the setting information may be the UICC card identifier of the USIM card 2.
One piece of setting information in the setting file may be referred to as third setting information, and the third setting information may be the same as the aforementioned related first setting information, and the correspondence between at least one setting item and a setting value, and at least one setting item and its corresponding setting value are recorded. The description of the third setting information may refer to the description of the first setting information, and is not repeated here.
An exemplary profile is shown in table 3 below. In the setting information included in the setting file, any setting information includes not only at least one setting item (indicated by type) and its corresponding setting value (value), but also includes the length (length) of the setting item, and here, it is described that the setting value corresponding to any setting item is open or closed, where closed is indicated as "0", open is indicated as: "1".
Figure 812797DEST_PATH_IMAGE003
TABLE 3
In table 3, the setting file also corresponds to one or more UICC card identifiers, the setting file may include setting information 1 and setting information 2, and the aforementioned exemplary third setting information may be setting information 1 or setting information 2. Where type represents an identifier of a setting item, which is used to represent one setting item, value represents a setting value corresponding to the setting item, for example, "0" represents closed, "1" represents open, and length may be used to represent the length of the setting item or the setting value. The setting information 1 and the setting information 2 may also correspond to a UICC card identifier, for example, the UICC card identifier corresponding to the setting information 1 is "ICCID 1", which means that the setting information 1 is a setting item related to the UICC card represented by the UICC card identifier, and the setting information 1 may be stored in the UICC card represented by the UICC card identifier. As can be seen from table 3, the UICC card identifier corresponding to the profile may include ICCID1 and ICCID 2.
For other relevant descriptions of step S201, reference may be made to the foregoing description of step S101, for example, reference may be made to the foregoing description of step S101 for descriptions of relevant contents such as UI attributes, and details are not described herein again.
S202, the terminal determines that the UICC identification of the inserted UICC is matched with the UICC identification corresponding to the third setting information in the setting file.
The terminal obtains the UICC card identifier of the UICC card, matches the UICC card identifier corresponding to the third setting information, and if the UICC card identifier matches the UICC card identifier, the terminal indicates that the setting information related to the inserted UICC card is stored in the third setting information, and the terminal can be used to update the default setting value of the setting item in the second setting information.
S203, the terminal determines whether the third setting information is unread.
Step S203 is similar to step S102, and reference may be made to the description of step S102, which is not repeated herein.
And S204, the terminal determines that the third setting information is read.
Step S204 is similar to step S103, and reference may be made to the description of step S103, which is not repeated herein.
S205, for a first setting item in the first setting information, the terminal determines whether the first setting item is visible or not based on the UI attribute corresponding to the first setting item in the second setting information.
Step S205 is similar to step S104, and reference may be made to the description of step S104, which is not repeated herein.
S206, the terminal determines the setting value of the first setting item in the third setting information as the target setting value of the first setting item.
Step S206 is similar to step S105, and reference may be made to the description of step S105, which is not repeated herein.
S207, the terminal determines whether the target setting value is the same as a default setting value corresponding to the first setting item in the second setting information.
Step S207 is similar to step S106, and reference may be made to the description of step S106, which is not repeated herein.
And S208, the terminal updates the setting value corresponding to the first setting item in the second setting information into a target setting value.
Step S208 is similar to step S107, and reference may be made to the description of step S107, which is not repeated herein.
S209, the terminal displays the first setting item and the corresponding setting value according to the first setting item and the corresponding target setting value.
Step S209 is similar to step S108, and reference may be made to the description of step S108, which is not repeated herein.
S210, the terminal keeps the default setting value corresponding to the first setting item in the second setting information unchanged, and updates the setting value corresponding to the first setting item in the first setting information to the default setting value corresponding to the first setting item in the second setting information.
Step S210 is similar to step S109, and reference may be made to the description of step S109, which is not repeated herein.
S211, the terminal keeps the default setting value corresponding to the first setting item in the second setting information unchanged.
And S212, ending.
It should be understood that, in this embodiment of the application, in addition to uploading the setting items related to the UICC card to the cloud server, other setting items may also be uploaded to the cloud server, for example, a "WiFi" setting item, an "NFC" setting item, or a "GPS" setting item, and the terminal may place these other setting items in a setting file and upload the setting items to the cloud server, where the other setting items may not correspond to UICC card identifiers, and when it is determined that one or more UICC card identifiers corresponding to the setting file match a UICC identifier of an inserted UICC card, the setting item in the second setting information may be updated by using the other setting items.
For example, these other setting items (indicated by type), their corresponding setting values (value) and their corresponding lengths (length) may be included in the fourth setting information, and an exemplary description thereof may refer to table 4 below.
Figure 166418DEST_PATH_IMAGE004
TABLE 4
As shown in table 4, the setting information 3 may be the fourth setting information mentioned above, and the byte, value, and length of the "WiFi" setting item and the "NFC" setting item may be included in the setting information 3.
The terminal may update the setting value corresponding to the setting item in the terminal by using the fourth setting information and the related second setting information, and the process may refer to the foregoing description of step S201 to step S212, which is not described herein again.
In this embodiment, the terminal after replacement may be referred to as a first terminal, and the terminal before replacement may be referred to as a second terminal, where the second terminal is a terminal that uses the UICC card and is different from the first terminal. The first terminal detects an operation of inserting the UICC card, that is, after the first terminal determines to insert the UICC card, the first setting information may be obtained based on the UICC card, and the obtaining manner of the first setting information may refer to the foregoing description of step S101 or the description of steps S201 and S202. The first terminal may further record a second setting item and a setting value corresponding to the second setting item in the UICC card, where the second setting item is a setting item that is not included in the first setting information and is included in the second setting information. After the first terminal updates the second setting information according to the setting reservation method in the embodiment of the present application, the first terminal may upload the updated second setting information and the UICC card identifier of the UICC card to the cloud server, where the second setting information corresponds to the UICC card identifier of the UICC card, and the UICC card identifier is used to indicate that the second setting information is related to the UICC card.
An exemplary terminal provided by the embodiments of the present application is described below.
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
The following describes embodiments in detail by taking a terminal as an example. It should be understood that a terminal may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The terminal may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiments of the present invention does not limit the terminal specifically. In other embodiments of the present application, the terminal may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
Wherein, the controller can be the neural center and the command center of the terminal. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the terminal.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like.
The GPIO interface may be configured by software.
The SIM interface may be used to communicate with the SIM card interface 195, implementing functions to transfer data to or read data from the SIM card.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal, and may also be used to transmit data between the terminal and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other terminals, such as AR devices, etc.
It should be understood that the interface connection relationship between the modules in the embodiment of the present invention is only an exemplary illustration, and does not form a limitation on the structure of the terminal. In other embodiments of the present application, the terminal may also adopt different interface connection manners or a combination of multiple interface connection manners in the foregoing embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the terminal can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in a terminal may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication and the like applied on the terminal. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to a terminal, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the terminal is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160 so that the terminal can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), and the like.
The terminal implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), a Micro led, a Micro-o led, a quantum dot light emitting diode (QLED), and the like.
The terminal can implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the terminal may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the terminal selects a frequency point, the digital signal processor is used for performing fourier transform and the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The terminal may support one or more video codecs. In this way, the terminal can play or record video in a plurality of coding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize the intelligent cognition and other applications of the terminal, such as: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the terminal. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the terminal and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application (such as a face recognition function, a fingerprint recognition function, a mobile payment function, and the like) required by at least one function, and the like. The storage data area can store data (such as face information template data, fingerprint information template and the like) created in the use process of the terminal and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The terminal can implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The terminal can listen to music through the speaker 170A or listen to a hands-free call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the terminal answers a call or voice information, it can answer a voice by placing the receiver 170B close to the human ear.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The terminal may be provided with at least one microphone 170C. In other embodiments, the terminal may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal may further include three, four, or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194.
The gyro sensor 180B may be used to determine the motion attitude of the terminal.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal calculates altitude from the barometric pressure measured by barometric pressure sensor 180C to assist in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The terminal may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the terminal is a folder, the terminal may detect the opening and closing of the folder according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E can detect the magnitude of acceleration of the terminal in various directions (typically three axes). When the terminal is static, the size and the direction of gravity can be detected. The method can also be used for recognizing the terminal gesture, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The terminal may measure the distance by infrared or laser. In some embodiments, a scene is photographed and the terminal may range using the distance sensor 180F to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode.
The ambient light sensor 180L is used to sense the ambient light level.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is used to detect temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the terminal at a different position than the display screen 194.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The terminal may receive a key input, and generate a key signal input related to user setting and function control of the terminal.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the terminal by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The terminal can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal interacts with the network through the SIM card to realize functions of conversation, data communication and the like.
In this embodiment, the processor 110 may call a computer instruction stored in the internal memory 121 to enable the terminal to execute the interface calling method in this embodiment. In the embodiment of the present application, the processor 110 may call a computer instruction stored in the internal memory 121 to enable the terminal to execute the setting reservation method in the embodiment of the present application.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
As used in the above embodiments, the term "when …" may be interpreted to mean "if …" or "after …" or "in response to a determination of …" or "in response to a detection of …", depending on the context. Similarly, depending on the context, the phrase "at the time of determination …" or "if (a stated condition or event) is detected" may be interpreted to mean "if the determination …" or "in response to the determination …" or "upon detection (a stated condition or event)" or "in response to detection (a stated condition or event)".
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM or RAM, magnetic or optical disks, etc.

Claims (13)

1. A method for setting reservation, comprising:
after a first terminal determines to insert a Universal Integrated Circuit Card (UICC) card, acquiring first setting information based on the UICC card, wherein the first setting information comprises at least one setting item in a second terminal and a corresponding setting value thereof, and the first setting item comprises a first setting item and a corresponding first setting value thereof, and the first setting value is used for describing the state of a function indicated by the first setting item in the second terminal; the second terminal is a terminal which uses the UICC card and is different from the first terminal;
the first terminal acquires second setting information; the second setting information includes at least one setting item in the first terminal, a setting value corresponding to the setting item, and a User Interface (UI) attribute, where the second setting information includes the first setting item, the second setting value corresponding to the first setting item is a default setting value of the first terminal when the first terminal leaves a factory, and is used to describe a state of a function indicated by the first setting item in the first terminal, and the UI attribute corresponding to the first setting item is used to describe whether the first setting item is visible in the first terminal;
the first terminal determines that the first terminal reads the first setting information for the first time;
after the first terminal determines that the first setting item is visible based on the UI attribute corresponding to the first setting item, under the condition that the terminal determines that the first setting value corresponding to the first setting item is different from the second setting value, the first terminal updates the second setting value corresponding to the first setting item in the second setting information to the first setting value.
2. The method according to claim 1, wherein after the first terminal is inserted into the UICC card, acquiring the first setting information specifically includes:
and after the first terminal is inserted into the UICC card, acquiring the first setting information stored in the UICC card.
3. The method according to claim 1, wherein after the first terminal is inserted into the UICC card, acquiring the first setting information specifically includes:
after the first terminal is inserted into the UICC card, acquiring a UICC card identifier of the UICC card;
and the first terminal acquires the setting information matched with the UICC card identifier from a cloud server as the first setting information.
4. The method of claim 1, further comprising:
after the first terminal determines that the first setting item is invisible based on the UI attribute corresponding to the first setting item, under the condition that the terminal determines that the first setting value corresponding to the first setting item is different from the second setting value, the first terminal updates the first setting value corresponding to the first setting item in the first setting information to the second setting value.
5. The method of claim 1, further comprising:
and the first terminal records a second setting item and a setting value corresponding to the second setting item into the UICC card, wherein the second setting item is a setting item which is not included in the first setting information and is included in the second setting information.
6. The method of claim 3, further comprising:
the first terminal uploads updated second setting information and a UICC card identifier of the UICC card to the cloud server, the second setting information corresponds to the UICC card identifier of the UICC card, and the UICC card identifier is used for indicating that the second setting information is related to the UICC card.
7. The method according to claim 4, wherein the determining, by the first terminal, that the first terminal is reading the first setting information for the first time specifically includes:
and the first terminal determines that a reading identifier corresponding to the first setting information is unread, and the reading is unread and indicates that the first setting information is not read by the first terminal.
8. The method according to claim 6, wherein after the first terminal determines that the read identifier corresponding to the first setting information is unread, the method further comprises:
and the first terminal updates the reading identifier corresponding to the first setting information to be read, wherein the reading identifier is read and indicates that the first terminal reads the first setting information.
9. The method according to any one of claims 1-8, wherein:
the first setting item included in the first setting information is set by the user through the second terminal.
10. The method according to any one of claims 1 to 8, wherein after the first terminal updates the second setting value corresponding to the first setting item in the second setting information to the first setting value, the method further comprises:
in the first terminal, the state of the function indicated by the first setting item is updated from a first state to a second state, the first state is closed, the second state is open, or the first state is open, and the second state is closed.
11. A first terminal, characterized in that the first terminal comprises one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors for storing computer program code, the computer program code comprising computer instructions which, when executed by the one or more processors, are for invoking the computer instructions to cause the first terminal to perform the method of any of claims 1-10.
12. A computer storage medium, characterized in that the storage medium has stored therein a computer program comprising executable instructions that, when executed by a processor, cause the processor to perform the method of any of claims 1 to 10.
13. A computer program product, characterized in that, when run on a first terminal, causes the first terminal to perform the method according to any one of claims 1 to 10.
CN202210045013.5A 2022-01-14 2022-01-14 Setting reservation method and terminal Active CN114070927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210045013.5A CN114070927B (en) 2022-01-14 2022-01-14 Setting reservation method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210045013.5A CN114070927B (en) 2022-01-14 2022-01-14 Setting reservation method and terminal

Publications (2)

Publication Number Publication Date
CN114070927A true CN114070927A (en) 2022-02-18
CN114070927B CN114070927B (en) 2022-07-08

Family

ID=80230929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210045013.5A Active CN114070927B (en) 2022-01-14 2022-01-14 Setting reservation method and terminal

Country Status (1)

Country Link
CN (1) CN114070927B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404826A (en) * 2008-10-22 2009-04-08 闻泰集团有限公司 Method for altering mobile communication terminal settings
CN102647701A (en) * 2012-03-28 2012-08-22 惠州Tcl移动通信有限公司 Method and device for updating application information of mobile terminal
CN104469741A (en) * 2014-11-17 2015-03-25 小米科技有限责任公司 Terminal configuration method and device
CN104660634A (en) * 2013-11-20 2015-05-27 中国电信股份有限公司 Inter-terminal-system setting method and system and terminal
CN105187478A (en) * 2015-06-11 2015-12-23 小米科技有限责任公司 Method and device used for rapidly setting terminal equipment
CN106303013A (en) * 2016-08-10 2017-01-04 惠州Tcl移动通信有限公司 A kind of method and system that mobile terminal is set based on SIM automatization

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404826A (en) * 2008-10-22 2009-04-08 闻泰集团有限公司 Method for altering mobile communication terminal settings
CN102647701A (en) * 2012-03-28 2012-08-22 惠州Tcl移动通信有限公司 Method and device for updating application information of mobile terminal
CN104660634A (en) * 2013-11-20 2015-05-27 中国电信股份有限公司 Inter-terminal-system setting method and system and terminal
CN104469741A (en) * 2014-11-17 2015-03-25 小米科技有限责任公司 Terminal configuration method and device
CN105187478A (en) * 2015-06-11 2015-12-23 小米科技有限责任公司 Method and device used for rapidly setting terminal equipment
CN106303013A (en) * 2016-08-10 2017-01-04 惠州Tcl移动通信有限公司 A kind of method and system that mobile terminal is set based on SIM automatization

Also Published As

Publication number Publication date
CN114070927B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN110347269B (en) Empty mouse mode realization method and related equipment
CN112771900B (en) Data transmission method and electronic equipment
CN113498124B (en) SIM card and eSIM card switching method and electronic equipment
US20220179827A1 (en) File Sharing Method of Mobile Terminal and Device
CN110730114A (en) Method and equipment for configuring network configuration information
CN113254409A (en) File sharing method, system and related equipment
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
CN113504887A (en) Volume setting method and electronic equipment
CN113645571A (en) Data transmission method and electronic equipment
CN114115770A (en) Display control method and related device
CN111556479B (en) Information sharing method and related device
CN113973398A (en) Wireless network connection method, electronic equipment and chip system
CN111492678B (en) File transmission method and electronic equipment
CN113467735A (en) Image adjusting method, electronic device and storage medium
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
CN113901485B (en) Application program loading method, electronic device and storage medium
CN114070927B (en) Setting reservation method and terminal
CN113467747A (en) Volume adjustment method, electronic device, storage medium, and computer program product
CN114971107A (en) Privacy risk feedback method and device and first terminal equipment
CN115248693A (en) Application management method and electronic equipment
CN114116610A (en) Method, device, electronic equipment and medium for acquiring storage information
CN113364067B (en) Charging precision calibration method and electronic equipment
CN114079694B (en) Control labeling method and device
CN114363820A (en) Electronic equipment searching method and electronic equipment
CN118057858A (en) Data processing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant