CN116546484A - Configuration file state management method, device, electronic equipment and storage medium - Google Patents

Configuration file state management method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116546484A
CN116546484A CN202310296886.8A CN202310296886A CN116546484A CN 116546484 A CN116546484 A CN 116546484A CN 202310296886 A CN202310296886 A CN 202310296886A CN 116546484 A CN116546484 A CN 116546484A
Authority
CN
China
Prior art keywords
configuration file
instruction
configuration
activation
return result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310296886.8A
Other languages
Chinese (zh)
Inventor
司江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Fibocom Wireless Software Inc
Original Assignee
Xian Fibocom Wireless Software Inc
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 Xian Fibocom Wireless Software Inc filed Critical Xian Fibocom Wireless Software Inc
Priority to CN202310296886.8A priority Critical patent/CN116546484A/en
Publication of CN116546484A publication Critical patent/CN116546484A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a configuration file state management method, a configuration file state management device, electronic equipment and a storage medium, which are applied to the technical field of computers, wherein the configuration file state management method comprises the following steps: acquiring an activation instruction for a configuration file set, wherein the configuration file set comprises at least two configuration files, the at least two configuration files are in an unactivated state, and the activation instruction is used for indicating to activate any configuration file in the configuration file set; executing the activation instruction, and obtaining a first return result, wherein the managed configuration files corresponding to different return results are different; and activating a first configuration file corresponding to the first returned result in the configuration file set. In order to solve prior art, need activation tool activation configuration file to make the higher problem of input production cost.

Description

Configuration file state management method, device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for managing a configuration file state, an electronic device, and a storage medium.
Background
Industry has different references to esims. Such as eSIM or embedded universal integrated circuit card (embedded Universal Integrated Circuit Card, eUICC) refers to different extensions to the third generation partnership project (3rd Generation Partnership Project,3GPP), GSM association (Global System for Mobile Communications assembly, GSMA), european telecommunications standardization institute (European Telecommunications Standards Institute, ETSI). Collectively referred to herein as esims.
The Profile (Profile) represents the file system, file content and application on the eSIM operating system, and mainly carries the information such as IMSI (International Mobile Subscriber Identification Number, international mobile subscriber identity), authentication parameters and the like, and is collectively referred to herein as a Profile.
The user of the PC-IOT project eSIM configuration file management finger can switch configuration files according to different scenes, the current configuration file management scheme is imperfect, the eSIM generally has two configuration files, the provision configuration file is used for user business, and the Test configuration file is used for research and development Test and factory acceptance
In general, both profiles are in an disable state when shipped, and therefore, the profiles need to be activated before use.
In the related art, there is a need to develop a production-related activation tool by which a profile is activated. However, the process of developing activation tools can result in high production costs.
Disclosure of Invention
The application provides a configuration file state management method, a configuration file state management device, electronic equipment and a storage medium, which are used for solving the problem that in the prior art, an activation tool is required to activate a configuration file, so that the input production cost is high.
In a first aspect, an embodiment of the present application provides a method for managing a configuration file state, including:
acquiring an activation instruction for a configuration file set, wherein the configuration file set comprises at least two configuration files, the at least two configuration files are in an unactivated state, and the activation instruction is used for indicating to activate any configuration file in the configuration file set;
executing the activation instruction, and obtaining a first return result, wherein the managed configuration files corresponding to different return results are different;
and activating a first configuration file corresponding to the first returned result in the configuration file set.
Optionally, the method further comprises:
acquiring a switching instruction for the first configuration file, wherein the switching instruction carries a second return result, and the switching instruction is used for indicating the first configuration file to be deactivated and activating a second configuration file in the configuration file set corresponding to the second return result;
and deactivating the first configuration file and activating the second configuration file based on the switching instruction.
Optionally, before the activating the second configuration file, the method further includes:
acquiring the current state of the first configuration file;
if the current state is a forbidden state, maintaining the current state of the first configuration file;
and if the current state is an enabling state, switching the current state of the first configuration file into a disabling state, and executing the activation of the second configuration file.
Optionally, the method further comprises:
acquiring a deactivation instruction for the configuration file set, wherein the switching instruction carries a third return result, and the deactivation instruction is used for indicating to deactivate a third configuration file, wherein the third configuration file is an activated configuration file in the configuration file set corresponding to the third return result;
and deactivating the third configuration file based on the deactivation instruction.
Optionally, before the acquiring the activation instruction for the configuration file set, the method further includes:
acquiring activation configuration data of a configuration file set, wherein the activation configuration data comprises a corresponding relation between each configuration file in the configuration file set and a return value;
and storing the activation configuration data.
In a second aspect, an embodiment of the present application provides a configuration file status management apparatus, including:
the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring an activation instruction of a configuration file set, the configuration file set comprises at least two configuration files, the at least two configuration files are in an unactivated state, and the activation instruction is used for indicating any configuration file in the configuration file set to be activated;
the execution module is used for executing the activation instruction and obtaining a first return result, and the managed configuration files corresponding to different return results are different;
and the activation module is used for activating a first configuration file corresponding to the first return result in the configuration file set.
Optionally, the method further comprises:
the second acquisition module is used for acquiring a switching instruction for the first configuration file, wherein the switching instruction carries a second return result, and the switching instruction is used for indicating the first configuration file to be deactivated and activating a second configuration file in the configuration file set corresponding to the second return result;
and the switching module is used for deactivating the first configuration file and activating the second configuration file based on the switching instruction.
Optionally, the method further comprises:
a third obtaining module, configured to obtain a deactivation instruction for the configuration file set, where the switching instruction carries a third return result, and the deactivation instruction is used to instruct deactivation of a third configuration file, where the third configuration file is an activated configuration file in the configuration file set corresponding to the third return result;
and the deactivation module is used for deactivating the third configuration file based on the deactivation instruction.
In a third aspect, an embodiment of the present application provides an electronic device, including: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the configuration file state management method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program, where the computer program implements the profile state management method of the first aspect when executed by a processor.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, the configuration file set comprises at least two configuration files, the at least two configuration files are in an unactivated state, and the activation instruction is used for indicating to activate any configuration file in the configuration file set; executing the activation instruction, and obtaining a first return result, wherein the managed configuration files corresponding to different return results are different; and activating a first configuration file corresponding to the first returned result in the configuration file set. Therefore, the first configuration file corresponding to the first return result of the activation instruction can be activated based on the first return result of the execution of the activation instruction by issuing the activation instruction without developing an activation tool, so that the cost is saved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is an application scenario diagram of a method for managing a configuration file status according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for managing a profile state according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a method for managing a profile state according to another embodiment of the present application;
FIG. 4 is a flowchart of a method for managing a profile state according to another embodiment of the present disclosure;
FIG. 5 is a block diagram of a configuration file status management apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
Before describing embodiments of the present invention in further detail, the terms and terminology involved in the embodiments of the present invention will be described, and the terms and terminology involved in the embodiments of the present invention will be used in the following explanation.
EC (Embeded Controller): an embedded controller for managing PC peripheral equipment is integrated on a PC main board; the modules are connected with the EC through a standard I2C synchronous serial bus, and data interaction is carried out according to a standard I2C protocol; besides the management of the EC and the PC in the whole design, the EC can work normally and restart the module following the power-on sequence of the module when the PC is in the S4/S5 state, which means that the module can work normally and respond to various commands triggered by the EC even in the S4/S5 state.
An embodiment of the application provides a configuration file state management method. Alternatively, in the embodiment of the present application, the above-described profile state management method may be applied to a hardware environment configured by the terminal 101 and the server 102 as shown in fig. 1. As shown in fig. 1, the server 102 is connected to the terminal 101 through a network, which may be used to provide services (such as video services, application services, etc.) to the terminal or clients installed on the terminal, and a database may be provided on the server or independent of the server, for providing data storage services to the server 102, where the network includes, but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, or the like.
The profile state management method in the embodiment of the present application may be executed by the server 102, may be executed by the terminal 101, or may be executed by both the server 102 and the terminal 101. The terminal 101 may execute the profile state management method according to the embodiment of the present application, or may be executed by a client installed thereon.
Taking a terminal executing the profile state management method according to the embodiment of the present application as an example, fig. 2 is a schematic flow chart of an alternative profile state management method according to the embodiment of the present application, as shown in fig. 2, the flow of the method may include the following steps:
step 201, an activation instruction for a configuration file set is obtained, the configuration file set includes at least two configuration files, the at least two configuration files are in an inactive state, and the activation instruction is used for indicating to activate any configuration file in the configuration file set.
In some embodiments, more than one configuration file is usually set in the terminal, and after the terminal leaves the factory, the manufacturer is often required to activate the configuration file so as to facilitate the subsequent use of the terminal.
In this embodiment, the activation instruction of the configuration file set may be that a related technician inputs specific code data for activation as an activation instruction into the terminal; or, a corresponding activation key can be developed at the terminal, and the activation instruction is generated after the activation key is triggered.
Wherein the activation instruction may be, but is not limited to, an AT command or an EC instruction.
In an alternative embodiment, before the acquiring the activation instruction for the configuration file set, the method further includes:
acquiring activation configuration data of a configuration file set, wherein the activation configuration data comprises a corresponding relation between each configuration file in the configuration file set and a return value; and storing the activation configuration data.
In some embodiments, the activation configuration data may be preconfigured by a developer, and after the configuration is completed, the activation configuration data is input into the terminal to be stored by the terminal.
The configuration file sets of the terminal can be two, including a first configuration file and a second configuration file, and the return values can be three, namely a first return result, a second return result and a third return result. The corresponding relation between the configuration file and the return value can be: when the returned result is a first returned result, the terminal configuration management mode is to enable the first configuration file; when the returned result is a second returned result, the terminal configuration management mode is to enable a second configuration file; and when the return result is a third return result, the terminal configuration management mode is to disable the first configuration file and the second configuration file.
It can be understood that, when the terminal leaves the factory, both configuration files are in a disabled state, AT this time, an AT or EC command is issued to return error, AT this time, a CSIM command can be issued to open its channel and activate one of the configuration files; the two profiles may then use either the AT or EC instructions to complete the handoff. The AT command and the CSIM command, or the EC command and the CSIM command in this embodiment may be used as an activation command to activate the configuration file. In order to facilitate the operation and reduce the issuing times of the instruction, the AT instruction and the CSIM instruction can be combined and issued to the terminal as an activating instruction to complete the activation. Because the operation of the CSIM command is complicated, the AT command and the CSIM command are combined and then issued as the activation command, the CSIM command is not needed, the operation steps are reduced, and the user experience is improved.
Step 202, executing the activation instruction, and obtaining a first return result, wherein the managed configuration files corresponding to different return results are different.
In some embodiments, the terminal executes the acquired activation instruction, and can obtain the first return result. In this embodiment, a plurality of returned results are set for execution of the activation instruction, and corresponding management modes are configured based on the difference of the returned results.
And 203, activating a first configuration file corresponding to the first return result in the configuration file set.
In some embodiments, after determining the first return result of the activation instruction, a first configuration file corresponding to the first return result may be determined based on the stored activation configuration data, so as to activate the first configuration file.
In this embodiment, an activation instruction for the configuration file is obtained; executing the activation instruction and obtaining a first return result; and activating a first configuration file corresponding to the first return result in the configuration files. Therefore, the first configuration file corresponding to the first return result of the activation instruction can be activated based on the first return result of the execution of the activation instruction by issuing the activation instruction without developing an activation tool, so that the cost is saved.
In an optional embodiment, the method for managing a configuration file state further includes:
acquiring a switching instruction for the first configuration file, wherein the switching instruction carries a second return result, and the switching instruction is used for indicating the first configuration file to be deactivated and activating a second configuration file in the configuration file set corresponding to the second return result;
deactivating the first profile and activating the second profile based on the switch instruction
In some embodiments, after the configuration file on the terminal is activated, the switching of the configuration file may also be implemented by sending a switching instruction.
The switching instruction may also be issued by means of an AT command or an EC command. In the above embodiment, different return results are different, and corresponding configuration files to be activated are different, so that by carrying the second return result in the switch instruction, the terminal can switch the configuration files into the second configuration files corresponding to the second return result after receiving the switch instruction.
It can be understood that the switching instruction can be recorded by a related technician, or a switching key can be set on the terminal, and the switching instruction is generated by triggering the switching key.
In an alternative embodiment, before the method activates the second configuration file, the method further includes:
acquiring the current state of the first configuration file;
and if the current state is a forbidden state, maintaining the current state of the first configuration file.
And if the current state is an enabling state, switching the current state of the first configuration file into a disabling state, and executing the activation of the second configuration file.
In some embodiments, to ensure that the terminal can have available configuration files, the current state of the activated first configuration file is maintained by acquiring the current state of the first configuration file before switching the configuration file, and when the current state is a disabled state. And if the current state is an enabling state, switching the current state of the first configuration file into a disabling state, and executing the switching of the first configuration file into a second configuration file corresponding to the second return result in the configuration files.
In an optional embodiment, the method for managing a configuration file state further includes:
acquiring a deactivation instruction for the configuration file set, wherein the switching instruction carries a third return result, and the deactivation instruction is used for indicating to deactivate a third configuration file, wherein the third configuration file is an activated configuration file in the configuration file set corresponding to the third return result;
and deactivating the third configuration file based on the deactivation instruction.
In some embodiments, the deactivation instruction may also be issued by way of an AT command or an EC instruction. Based on the activation configuration data, a third return result is set in the deactivation instruction, so that the first configuration file and the second configuration file can be in a disabled state, and the deactivation of the configuration files can be realized.
In a specific embodiment, a method for managing a configuration file state in the present application, referring to fig. 3, the configuration file includes a Provisioning (commercial) configuration file and a Test (Test) configuration file, and the corresponding activation instruction is "at+gtprofile? ", the return value includes 0 and 1. Wherein, a return value of "error" represents that both the Provisioning profile and the Test profile are in a disable state; a return value of 0 represents a Provisioning profile enable state; a return value of 1 represents the Test profile enable state.
Specifically, after the device leaves the factory, the eSIM remains in the factory default state, and the user issues "at+gtprofile? To confirm the activation status of the configuration file. When the return result is error, the user issues a CSIM command again or activates one of the profiles with production line tool (i.e. a line tool), and after one of the profiles is activated, issues "at+gtprofile? To confirm the activation status of the configuration file. Test profile enable is asserted when the return value is 1, and Provisioning profile enable (i.e., business profile enable) is asserted when the return value is 0. Further, when the configuration file needs to be switched, after the Test configuration file is activated, the "at+gt configuration file=0" may be issued to activate the Provisioning configuration file, and the state of the Test configuration file is determined, if the state of the Test configuration file is enabled, the Test configuration file is set to be in a disabled state, and if the state of the Test configuration file is disabled, the state of the Test configuration file is reserved. When a profile needs to be deactivated, a CSIM command may be issued or both profiles may be deactivated using production line tool.
In a specific embodiment, referring to fig. 4, a configuration file state management method in the present application, a configuration file set includes a Provisioning configuration file and a Test configuration file, and the corresponding activation instruction is "at+gtprofile? The return values include 0, 1 and 2. Wherein, a return value of 2 represents that the Provisioning configuration file and the Test configuration file are both in a disable state; a return value of 0 represents the Provisioning configuration file enable state; a return value of 1 represents the Test profile enable state.
The related steps in this embodiment may refer to the related embodiments described above, and are not described herein.
According to the configuration file state management method, through developing the GT configuration file multi-state function, the operations of configuration file activation, deactivation, switching and the like can be realized by using AT or EC instructions. In addition, by combining the at command and the csim command, research and development do not need to be carried out by means of the csim command, the input cost of research and development production Production Line Tool is not needed, and the method is simple and easy to use and low in cost.
According to different scenes, for example, if the LTE network does not support CATM, the CATM needs to be switched to a Test configuration file to be connected with a CWM500 instrument or a Callbox to verify the functions of the CATM; when sold by a Module machine, the PC (computer) manufacturer can instruct the near end via AT or EC to activate the commercial profile and validate the PC-IOT function. Based on a PC-IOT platform, the GT configuration file is developed to be in a disabled state by perfecting an eSIM management scheme, and finally, the switching of the configuration file, namely the full disable, provisioning configuration file and the Test configuration file, can be realized through AT or EC instructions, so that the testing and production are convenient, the user experience is improved, and the production cost is reduced.
Based on the same concept, the embodiment of the present application provides a configuration file state management device, and the specific implementation of the device may be referred to the description of the embodiment of the method, and the repetition is omitted, as shown in fig. 5, where the device mainly includes:
a first obtaining module 501, configured to obtain an activation instruction for a set of configuration files, where the set of configuration files includes at least two configuration files, and the at least two configuration files are in an inactive state, and the activation instruction is configured to instruct any configuration file in the set of configuration files to be activated;
the execution module 502 is configured to execute the activation instruction and obtain a first return result, where managed configuration files corresponding to different return results are different;
and an activating module 503, configured to activate a first configuration file corresponding to the first returned result in the configuration file set.
Optionally, the method further comprises:
the second acquisition module is used for acquiring a switching instruction for the first configuration file, wherein the switching instruction carries a second return result, and the switching instruction is used for indicating the first configuration file to be deactivated and activating a second configuration file in the configuration file set corresponding to the second return result;
and the switching module is used for deactivating the first configuration file and activating the second configuration file based on the switching instruction.
Optionally, the method further comprises:
a third obtaining module, configured to obtain a deactivation instruction for the configuration file set, where the switching instruction carries a third return result, and the deactivation instruction is used to instruct deactivation of a third configuration file, where the third configuration file is an activated configuration file in the configuration file set corresponding to the third return result;
and the deactivation module is used for deactivating the third configuration file based on the deactivation instruction.
Based on the same concept, the embodiment of the application also provides an electronic device, as shown in fig. 6, where the electronic device mainly includes: processor 601, memory 602, and communication bus 603, wherein processor 601 and memory 602 accomplish communication with each other through communication bus 603. The memory 602 stores a program executable by the processor 601, and the processor 601 executes the program stored in the memory 602 to implement the following steps:
acquiring an activation instruction for a configuration file set, wherein the configuration file set comprises at least two configuration files, the at least two configuration files are in an unactivated state, and the activation instruction is used for indicating to activate any configuration file in the configuration file set;
executing the activation instruction, and obtaining a first return result, wherein the managed configuration files corresponding to different return results are different;
and activating a first configuration file corresponding to the first returned result in the configuration file set.
The communication bus 603 mentioned in the above-mentioned electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated to PCI) bus, an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated to EISA) bus, or the like. The communication bus 603 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus.
The memory 602 may include random access memory (Random Access Memory, simply RAM) or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Alternatively, the memory may be at least one memory device located remotely from the aforementioned processor 601.
The processor 601 may be a general-purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), a digital signal processor (Digital Signal Processing, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a Field programmable gate array (Field-Programmable Gate Array, FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components.
The electronic device provided in the embodiment of the application may be a module capable of implementing a communication function or a terminal device including the module, and the terminal device may be a mobile terminal or an intelligent terminal. The mobile terminal can be at least one of a mobile phone, a tablet computer, a notebook computer and the like; the intelligent terminal can be a terminal containing a wireless communication module, such as an intelligent automobile, an intelligent watch, a sharing bicycle, an intelligent cabinet and the like; the module may specifically be any one of a wireless communication module, such as a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, and an NB-IOT communication module.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to perform the profile state management method described in the above embodiments.
In the above embodiments, it may be implemented in whole or in part 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 the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, by a wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, microwave, etc.) means from one website, computer, server, or data center to another. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape, etc.), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for managing a profile state, comprising:
acquiring an activation instruction for a configuration file set, wherein the configuration file set comprises at least two configuration files, the at least two configuration files are in an unactivated state, and the activation instruction is used for indicating to activate any configuration file in the configuration file set;
executing the activation instruction, and obtaining a first return result, wherein the managed configuration files corresponding to different return results are different;
and activating a first configuration file corresponding to the first returned result in the configuration file set.
2. The profile state management method of claim 1, further comprising:
acquiring a switching instruction for the first configuration file, wherein the switching instruction carries a second return result, and the switching instruction is used for indicating the first configuration file to be deactivated and activating a second configuration file in the configuration file set corresponding to the second return result;
and deactivating the first configuration file and activating the second configuration file based on the switching instruction.
3. The profile state management method of claim 2, wherein prior to said activating said second profile, further comprising:
acquiring the current state of the first configuration file;
if the current state is a forbidden state, maintaining the current state of the first configuration file;
and if the current state is an enabling state, switching the current state of the first configuration file into a disabling state, and executing the activation of the second configuration file.
4. The profile state management method of claim 1, further comprising:
acquiring a deactivation instruction for the configuration file set, wherein the switching instruction carries a third return result, and the deactivation instruction is used for indicating to deactivate a third configuration file, wherein the third configuration file is an activated configuration file in the configuration file set corresponding to the third return result;
and deactivating the third configuration file based on the deactivation instruction.
5. The profile state management method of claim 1, further comprising, prior to the obtaining the activation instruction for the profile set:
acquiring activation configuration data of a configuration file set, wherein the activation configuration data comprises a corresponding relation between each configuration file in the configuration file set and a return value;
and storing the activation configuration data.
6. A profile state management apparatus, comprising:
the system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring an activation instruction of a configuration file set, the configuration file set comprises at least two configuration files, the at least two configuration files are in an unactivated state, and the activation instruction is used for indicating any configuration file in the configuration file set to be activated;
the execution module is used for executing the activation instruction and obtaining a first return result, and the managed configuration files corresponding to different return results are different;
and the activation module is used for activating a first configuration file corresponding to the first return result in the configuration file set.
7. The profile state management apparatus of claim 6, further comprising:
the second acquisition module is used for acquiring a switching instruction for the first configuration file, wherein the switching instruction carries a second return result, and the switching instruction is used for indicating the first configuration file to be deactivated and activating a second configuration file in the configuration file set corresponding to the second return result;
and the switching module is used for deactivating the first configuration file and activating the second configuration file based on the switching instruction.
8. The profile state management apparatus of claim 6, further comprising:
a third obtaining module, configured to obtain a deactivation instruction for the configuration file set, where the switching instruction carries a third return result, and the deactivation instruction is used to instruct deactivation of a third configuration file, where the third configuration file is an activated configuration file in the configuration file set corresponding to the third return result;
and the deactivation module is used for deactivating the third configuration file based on the deactivation instruction.
9. An electronic device, comprising: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to execute a program stored in the memory, and implement the profile state management method of any one of claims 1 to 5.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the profile state management method of any one of claims 1-5.
CN202310296886.8A 2023-03-23 2023-03-23 Configuration file state management method, device, electronic equipment and storage medium Pending CN116546484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310296886.8A CN116546484A (en) 2023-03-23 2023-03-23 Configuration file state management method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310296886.8A CN116546484A (en) 2023-03-23 2023-03-23 Configuration file state management method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116546484A true CN116546484A (en) 2023-08-04

Family

ID=87454959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310296886.8A Pending CN116546484A (en) 2023-03-23 2023-03-23 Configuration file state management method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116546484A (en)

Similar Documents

Publication Publication Date Title
US10015165B2 (en) Methods and apparatus to support GlobalPlatform™ usage on an embedded UICC (eUICC)
US9401842B2 (en) Method and device for configuring terminal devices
US10862881B2 (en) Method of managing shared files and device for authenticating subscriber by using same
JP5710680B2 (en) System and method for reducing factory program time for wireless devices
US11272336B2 (en) System, method, and computer program for transferring subscriber identity module (SIM) information for SIM card or eSIM activation
KR20200017175A (en) Electronic device, external electronic device and method for managing embedded subscriber identity module of the external electronic device
US20160012451A1 (en) Combined application programming interface and device management for remote device diagnostics and management
WO2016173349A1 (en) Network access method and mobile communications terminal
US11570611B2 (en) Electronic device, external electronic device, and method for managing eSIM of external electronic device
US11283909B2 (en) Electronic device supporting multiple SIMs and operation method thereof
US20220386105A1 (en) Electronic device, and method for processing profile policy rule of embedded subscriber identification module by electronic device
WO2014071774A1 (en) Method for registering terminal and terminal
JP2021002793A (en) Communication system and communication method
CN107733866A (en) RPC requests, RPC request processing methods, device and equipment
CN116546484A (en) Configuration file state management method, device, electronic equipment and storage medium
US9973921B2 (en) Conflict detection
CN112235842A (en) Communication method and device of Internet of things equipment
CN105207980A (en) Information processing method and electronic equipment
CN115278649B (en) Telephone number acquisition method, equipment, system and medium based on machine learning
CN114071451B (en) Multi-APN switching processing method and system for mobile communication device
CN116319725A (en) Device control method, device, electronic device and storage medium
CN118175532A (en) Method and device for managing profile file, electronic equipment and storage medium
CN116909970A (en) Method and device for debugging serial port redirection, electronic equipment and storage medium
CN112151948A (en) Mobile terminal antenna amplification method, system, equipment and storage medium
CN116266941A (en) Dual-system-based SIM card processing method, device, equipment and storage medium

Legal Events

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