CN117528490A - Data processing method, terminal equipment, server side and storage medium - Google Patents

Data processing method, terminal equipment, server side and storage medium Download PDF

Info

Publication number
CN117528490A
CN117528490A CN202311290740.9A CN202311290740A CN117528490A CN 117528490 A CN117528490 A CN 117528490A CN 202311290740 A CN202311290740 A CN 202311290740A CN 117528490 A CN117528490 A CN 117528490A
Authority
CN
China
Prior art keywords
partition
file
configuration files
card
files
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
CN202311290740.9A
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.)
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 CN202311290740.9A priority Critical patent/CN117528490A/en
Publication of CN117528490A publication Critical patent/CN117528490A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Landscapes

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

Abstract

The application provides a data processing method, terminal equipment, a server and a storage medium, and relates to the technical field of terminals. The method comprises the following steps: and responding to an over-the-air OTA upgrade completion event, and acquiring a plurality of general configuration files and card following configuration files corresponding to the terminal equipment in the card following configuration files from the configuration files of the first partition. The card following configuration file corresponding to the terminal equipment comprises network configuration information corresponding to a network operator of the location of the terminal equipment. And loading a plurality of general configuration files and card following configuration files corresponding to the terminal equipment in the second partition, and accessing the wireless communication network according to the plurality of general configuration files and the card following configuration files corresponding to the terminal equipment. Thus, the situation that the modem configuration file is abnormally loaded after the OTA is upgraded is reduced.

Description

Data processing method, terminal equipment, server side and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a data processing method, terminal equipment, a server side and a storage medium.
Background
Currently, most terminal devices are configured with software system update functionality. The manner in which The terminal device implements The software system update via wireless communication may be referred to as Over The Air (OTA) upgrade, or as online upgrade. Through the OTA technology, the terminal equipment can get rid of the restriction of the manual upgrading mode in time, place and other aspects, and update the software system anytime and anywhere. In this way, the terminal device can provide a better user experience to the user through the latest software system.
However, in some cases, after the OTA upgrade, the terminal device may have some abnormal loading of the modem configuration file, which may seriously affect the user experience.
Disclosure of Invention
The embodiment of the application provides a data processing method, terminal equipment, a server side and a storage medium, which are used for reducing the abnormal loading condition of a modem configuration file of the terminal equipment after OTA upgrading.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, a data processing method is provided, the method comprising: and responding to an over-the-air OTA upgrade completion event, and acquiring a plurality of general configuration files and card following configuration files corresponding to the terminal equipment in the card following configuration files from the configuration files of the first partition. The card following configuration file corresponding to the terminal equipment comprises network configuration information corresponding to a network operator of the location of the terminal equipment. And loading a plurality of general configuration files and card following configuration files corresponding to the terminal equipment in the second partition, and accessing the wireless communication network according to the plurality of general configuration files and the card following configuration files corresponding to the terminal equipment.
In the method, a memory space of the terminal device includes a first partition for storing a modem configuration file and a second partition for loading the modem configuration file. The modem profile includes a plurality of generic profiles provided for different devices and a plurality of card-along profiles. At least one general configuration file in a plurality of general configuration files in the modem configuration file is obtained based on at least one general configuration file which is not updated, and the card following configuration file corresponding to the terminal equipment comprises part of configuration information in the at least one general configuration file which is not updated. The card following configuration file corresponding to the terminal equipment is obtained by splitting part of configuration information in the general configuration file which is not updated. Compared with the general configuration file which is not updated, the general configuration file loaded by the terminal equipment has greatly reduced data volume. The card following configuration files corresponding to the terminal equipment only occupy a small part of the card following configuration files corresponding to the plurality of equipment, so that the data volume of the card following configuration files loaded by the terminal equipment is low. Therefore, the total data amount loaded by the terminal equipment in the second partition can be reduced, so that the second partition of the terminal equipment has enough memory space to load the modem configuration file, and the condition that some configuration information is not loaded due to insufficient space of the second partition is reduced. The terminal equipment can be connected with the wireless communication network through the loaded modem configuration file, and provides functions of calling, surfing the internet and the like for the user.
In a possible implementation manner of the first aspect, the first partition stores a first file, the second partition stores a first file, and the first file of the second partition is different from the first file of the first partition in content. The method further comprises the following steps: in the process of loading a plurality of general configuration files and card following configuration files corresponding to the terminal equipment in the second partition, if the first files of the first partition are different from the first files of the second partition, copying the first files in the second partition to obtain first temporary files, and modifying the first temporary files based on the first files in the first partition to obtain modified first temporary files. And replacing the first file in the second partition with the modified first temporary file.
In this implementation, the first file is one of a plurality of general configuration files and card-following configuration files corresponding to the terminal device. If the first file is a generic configuration file, the amount of data of the first file loaded by the terminal device in the second partition is substantially reduced compared to the non-updated generic configuration file. If the first file is an on-card profile, the on-card profile does not change much in data volume compared to the as-card profile that is not updated. In this way, the terminal device loads the first file in the second partition, and the probability of causing insufficient space of the second partition is smaller.
In another possible implementation manner of the first aspect, the card following configuration file corresponding to the terminal device is determined from the plurality of card following configuration files in the first partition according to an international mobile subscriber identity of the terminal device.
In the implementation mode, the terminal equipment can quickly determine the card following configuration file which needs to be loaded by the terminal equipment through the IMSI of the SIM card.
In another possible implementation manner of the first aspect, the network configuration information corresponding to the location where the terminal device belongs includes carrier aggregation information.
In this implementation, the carrier aggregation information loaded by the terminal device is in the card-following configuration file corresponding to the terminal device, rather than the general configuration file. In this way, the terminal equipment only needs to load carrier aggregation information of the terminal equipment, so that the data volume loaded by the terminal equipment in the second partition can be greatly reduced.
In another possible implementation manner of the first aspect, the method further includes: the wireless communication network is communicated with using a carrier combination indicated by the carrier aggregation information.
In this implementation, the terminal device may communicate with the wireless communication network using the carrier combination indicated by the carrier aggregation information, thereby increasing the rate at which the terminal device communicates with the wireless communication network.
In another possible implementation manner of the first aspect, the card-following configuration file corresponding to the terminal device further includes a nonvolatile memory NV parameter, where the NV parameter is used to indicate that the wireless communication network is preferentially accessed through a circuit switched domain or a packet switched domain. The method further comprises the following steps: the wireless communication network is preferentially accessed through the circuit switched domain or the packet switched domain indicated by the NV parameter.
In this implementation manner, the terminal device may normally load the NV parameter, and access to the wireless communication network preferentially through the circuit switched domain or the packet switched domain indicated by the NV parameter, so as to provide services such as calling, surfing the internet, and the like for the user.
In another possible implementation manner of the first aspect, a total data amount of the plurality of general configuration files and the card-following configuration files corresponding to the terminal device is smaller than a preset data amount.
In this implementation, the total data amount loaded by the terminal device is smaller than the preset data amount, so that the situation that the remaining space of the second partition is insufficient can be reduced.
In another possible implementation manner of the first aspect, the method further includes: and receiving an OTA upgrading data packet sent by the server, acquiring a modem configuration file from the OTA upgrading data packet, and storing the modem configuration file in the first partition.
In this implementation, the terminal device may obtain the modem configuration file in the OTA upgrade data packet, update the software system of the terminal device, and update the modem configuration file.
In another possible implementation manner of the first aspect, the method further includes: and if the residual space of the second partition is smaller than the preset capacity, deleting the temporary file in the second partition. The end identifier of the file name of the temporary file is a preset identifier.
In this implementation manner, if the remaining space of the second partition is insufficient, the terminal device may further release the memory space of the second partition by deleting the temporary file in the second partition, so that the terminal device continues to load the modem configuration file in the second partition, thereby implementing normal access of the wireless communication network.
In a second aspect, the present application provides a data processing method, applied to a server, where the method includes: and responding to the configuration operation of the user, configuring a modem configuration file, wherein the modem configuration file comprises a plurality of general configuration files and a plurality of card following configuration files which are provided for different devices, and each card following configuration file corresponding to each device comprises network configuration information corresponding to a network operator of the place where the device is located. And sending the modem configuration file to the terminal equipment.
In a possible implementation manner of the second aspect, the modem configuration file is carried in an OTA upgrade data packet, and the OTA upgrade data packet is sent to the terminal device.
In a possible implementation manner of the second aspect, in the modem configuration file, the card following configuration files corresponding to different devices respectively include carrier aggregation information.
In a third aspect, the present application provides a terminal device, including: a memory and one or more processors. The memory includes a first partition for storing the modem configuration file and a second partition for loading the modem configuration file. The modem profile includes a plurality of generic profiles provided for different devices and a plurality of card-along profiles. A memory is coupled to the processor, the memory having stored therein computer program code comprising computer instructions that, when executed by the processor, cause the terminal device to perform the steps of: responding to an over-the-air OTA upgrade completion event, and acquiring a plurality of general configuration files and card following configuration files corresponding to terminal equipment in the card following configuration files from the configuration files of the first partition; the card following configuration file corresponding to the terminal equipment comprises network configuration information corresponding to a network operator of the location of the terminal equipment; loading a plurality of general configuration files and card following configuration files corresponding to the terminal equipment in the second partition; and accessing the wireless communication network according to the plurality of general configuration files and the card following configuration files corresponding to the terminal equipment.
In a possible implementation manner of the third aspect, the first partition stores a first file, where the first file is one of a plurality of general configuration files and card following configuration files corresponding to the terminal device; the first file is stored in the second partition, and the content of the first file of the second partition is different from that of the first file of the first partition; the above computer instructions, when executed by the processor, cause the terminal device to further perform the steps of: in the process of loading a plurality of general configuration files and card following configuration files corresponding to terminal equipment in a second partition, if the first files of the first partition are different from the first files of the second partition, copying the first files in the second partition to obtain first temporary files; modifying the first temporary file based on the first file in the first partition to obtain a modified first temporary file; and replacing the first file in the second partition with the modified first temporary file.
In another possible implementation manner of the third aspect, the computer instructions, when executed by the processor, cause the terminal device to further perform the steps of: and determining the card following configuration file corresponding to the terminal equipment from the plurality of card following configuration files in the first partition according to the international mobile subscriber identification code of the terminal equipment.
In another possible implementation manner of the third aspect, the network configuration information corresponding to the location where the terminal device belongs includes carrier aggregation information.
In another possible implementation manner of the third aspect, the computer instructions, when executed by the processor, cause the terminal device to further perform the steps of: the wireless communication network is communicated with using a carrier combination indicated by the carrier aggregation information.
In another possible implementation manner of the third aspect, the card-following configuration file corresponding to the terminal device further includes a nonvolatile memory NV parameter; the NV parameter is used for indicating that the wireless communication network is accessed preferentially through a circuit switched domain or a packet switched domain; the above computer instructions, when executed by the processor, cause the terminal device to further perform the steps of: the wireless communication network is preferentially accessed through the circuit switched domain or the packet switched domain indicated by the NV parameter.
In another possible implementation manner of the third aspect, a total data amount of the plurality of general configuration files and the card-following configuration files corresponding to the terminal device is smaller than a preset data amount.
In another possible implementation manner of the third aspect, the computer instructions, when executed by the processor, cause the terminal device to further perform the steps of: receiving an OTA upgrading data packet sent by a server; acquiring a modem configuration file from an OTA upgrade data packet; the modem configuration file is saved in the first partition.
In another possible implementation manner of the third aspect, the computer instructions, when executed by the processor, cause the terminal device to further perform the steps of: if the remaining space of the second partition is smaller than the preset capacity, deleting the temporary file in the second partition; wherein, the end mark of the file name of the temporary file is a preset mark.
In a fourth aspect, the present application provides a server, including: a communication module, a memory, and one or more processors; the communication module and the memory are respectively coupled with the processor; the communication module is used for transmitting data or signaling with the terminal equipment; the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the server to perform the steps of: configuring a modem configuration file in response to a configuration operation of a user; the modem configuration files comprise a plurality of general configuration files and a plurality of card following configuration files, wherein the general configuration files and the card following configuration files are provided for different devices, and the card following configuration files corresponding to each device comprise network configuration information corresponding to a network operator of the location of the device; and sending the modem configuration file to the terminal equipment.
In a possible implementation manner of the fourth aspect, the computer instructions, when executed by the processor, cause the server to perform the following steps: and carrying the modem configuration file in an OTA upgrading data packet, and sending the OTA upgrading data packet to the terminal equipment.
In another possible implementation manner of the fourth aspect, in the modem configuration file, the card following configuration files corresponding to different devices respectively include carrier aggregation information.
In a fifth aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on a terminal device, cause the terminal device to perform the method of the first aspect and any one of the possible implementations thereof; alternatively, the computer instructions, when executed on a server side, cause the server side to perform the method of the second aspect and any one of its possible implementations.
In a sixth aspect, the present application provides a computer program product comprising program instructions which, when run on a computer, enable the computer to perform the method of the first aspect and any one of its possible implementations. For example, the computer may be the above-described terminal device. Alternatively, the computer program product, when run on a computer, enables the computer to perform the method of the second aspect and any one of the possible implementations thereof. For example, the computer may be the server side described above.
In a seventh aspect, the present application provides a chip system, where the chip system is applied to the terminal device or the server. The system-on-chip includes an interface circuit and a processor. The interface circuit and the processor are interconnected by a wire. The interface circuit is for receiving signals from the memory and transmitting signals to the processor, the signals including computer instructions stored in the memory. When the processor executes the computer instructions, the terminal device performs the method of the first aspect and any possible implementation manner thereof. Alternatively, the server side performs the method of the second aspect and any possible implementation manner thereof, when the processor executes the computer instructions.
Drawings
Fig. 1 is a schematic diagram of interaction between a server and a terminal device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an example of EFS partitioning provided by embodiments of the present application;
FIG. 3 is a schematic diagram of a modification example of a modem configuration file according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another modification example of a modem configuration file provided in an embodiment of the present application;
fig. 5 is a block diagram of a hardware structure of an example mobile phone 100 of a terminal device according to an embodiment of the present application;
Fig. 6 is a hardware structure block diagram of a server side example cloud server 200 according to an embodiment of the present application;
FIG. 7 is a flowchart of an example of a data processing method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a first generic profile example provided in an embodiment of the present application;
fig. 9 is a flowchart of an example of accessing a wireless communication network according to an embodiment of the present application.
Detailed Description
Currently, most terminal devices perform software system upgrades by OTA technology to add and modify some software functions. As shown in fig. 1, the server may send a data packet for upgrading a software system (may be referred to as an OTA upgrade data packet) to the terminal device through an OTA technology. The terminal device may update the software system according to the received data packet in response to an update operation by the user. Alternatively, the terminal device may automatically update the software system according to the received data packet during an idle period (e.g., 1-3 a.m.) when the user is not using the terminal device.
A modem (modem) is included in the terminal device. The modem is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal and demodulating a received electromagnetic wave signal into a low-frequency baseband signal. The modem is a key device for wireless communication by the terminal device. The terminal device may involve a change in the modem configuration file (which may be referred to as a modem configuration file) during the OTA upgrade. The modem configuration file is typically stored in a terminal device specific memory area, which may be referred to as a modem configuration (Modem Configuration Framework, MCFG) partition. The MCFG partition is a memory space specially set by the terminal device for modem configuration files, and is used for storing all modem configuration files. The modem configuration file may be a binary file, which may be referred to as a MBN (Modem Configuration Binary) file. The MBN file is used to provide configuration information required for the terminal device to access the wireless communication network. For example, the MBN file may provide information on networks, antenna switch status, etc. that the terminal device is allowed to register.
If updating of MBN files in the MCFG partition is involved in OTA upgrading, the terminal equipment loads the MBN files in the MCFG partition after starting up so as to access the wireless communication network. The memory area used to load the MBN file may be referred to as an encrypted file system (Encrypting File System, EFS) partition. And the terminal equipment reads the MBN file in the MCFG partition to the EFS partition, so as to realize loading of the MBN file. EFS partition is an independent memory space in the terminal device, like a cache. The terminal device may run MBN files in the EFS partition directly. For example, the terminal device may access the wireless communication network according to the registration allowed wireless communication network indicated by the MBN file in the EFS partition.
Taking file 1 of the plurality of MBN files as an example, a procedure in which the terminal device reads the MBN file in the MCFG partition to the EFS partition will be described. The updated file 1 is stored in the MCFG partition. The EFS partition stores therein the file 1 that is not updated. The terminal device copies the file 1 that is not updated in the EFS partition to obtain a temporary file 1. The terminal device further modifies the temporary file 1 in the EFS partition according to the updated file 1 in the MCFG partition. After the modification is completed, the terminal device replaces the temporary file with file 1 (e.g., renames the temporary file to file 1). In this way, the terminal device can read the latest file 1 in the MCFG partition into the EFS partition, and load the latest file 1.
In the process of reading the file 1, the terminal device may also have read-write operations of other MBN files in the EFS partition. However, the memory space corresponding to the EFS partition is limited. If the residual space of the EFS partition is insufficient, the terminal device can stop the loading process, so that redundant temporary files appear in the EFS partition and occupy the memory space of the EFS partition.
Illustratively, taking the above file 1 as an example, as shown in (1) of fig. 2, if the terminal device normally loads the MBN file in the EFS partition, the temporary file 1 of the file 1 is not present in the EFS partition. If the terminal device does not normally load the MBN file in the EFS partition, as shown in fig. 2 (2), there is a temporary file 1 in addition to the file 1 in the EFS partition of the terminal device. Temporary file 1 is identical in content to file 1, and the file size of temporary file 1 is the same as the file size of file 1. It can be seen that temporary file 1 is completely redundant, and temporary file 1 occupies memory space in the EFS partition. If the remaining space of the EFS partition is too small, it is difficult for the terminal device to continue to read MBN files from the MCFG partition, resulting in some MBN files not being loaded normally, thereby affecting the access of the terminal device to the wireless network.
In the following, an example is taken in which the terminal device is a mobile phone, and a Non-Volatile Memory (NV) parameter in an MBN file of the mobile phone is not normally loaded. After the OTA upgrade, the handset updates the software system by restarting. After the mobile phone is restarted, the mobile phone reads the updated MBN file in the MCFG partition to access the wireless communication network.
In the process that the mobile phone loads the MBN file in the MCFG partition to the EFS partition, the mobile phone stops executing the loading of the MBN file due to insufficient residual space of the EFS partition. For example, where the remaining space of the EFS partition is only 222 kilobytes, the amount of data to be loaded by the handset is 280 kilobytes. If the EFS partition of the mobile phone cannot load 280 kilobytes of data, the current loading flow is stopped. At this point, one of the NV parameters (e.g., NV 66048) in the MBN file is not loaded normally. The NV parameter is used to indicate that the wireless communication network is to be accessed preferentially over a circuit switched domain (Circuit Switching Domain) (CS domain for short) or over a packet switched domain (Packet Switching Domain) (PS domain for short).
Because the mobile phone does not complete the loading of the NV parameters, the mobile phone can preferentially apply for the base station to access the wireless communication network through the CS domain by default. However, when the communication network signal of the PS domain is stronger than the communication network signal of the CS domain, the base station preferentially registers the wireless communication network of the PS domain for the mobile phone. In this case, the base station may refuse the terminal device to connect to the wireless communication network of the CS domain. The handset may not be able to access the wireless communication network due to the non-normal loading of NV parameters, which may seriously affect the user experience.
In view of this, embodiments of the present application provide a method. In this method, the server may configure a modem configuration file (i.e., the above MBN file) in response to a configuration operation of the user, and send the modem configuration file to the terminal device. The modem profile includes a plurality of generic profiles provided for different devices and a plurality of card-along profiles. The modem configuration file received by the terminal device does not include configuration information specific to some devices (such as network configuration information corresponding to a network operator of the device) in at least one common configuration file shared by different devices, and the configuration information specific to the devices is moved to the card following configuration files corresponding to the devices. In this way, the terminal device responds to the OTA upgrade completion event, and obtains a plurality of general configuration files and card following configuration files corresponding to the terminal device in the modem configuration files of the first partition (i.e. the MCFG partition). Further, the terminal device loads the obtained plurality of general configuration files and the card following configuration files corresponding to the terminal device in the second partition (namely the EFS partition), so that the wireless communication network can be accessed according to the loaded plurality of general configuration files and the card following configuration files corresponding to the terminal device.
By the method, the data volume of MBN files loaded in the EFS partition by the terminal equipment can be reduced, so that the EFS partition of the terminal equipment has enough memory space to load the MBN files, and the condition that some configuration information is not loaded due to insufficient space of the EFS partition is reduced. Thus, the terminal equipment can be connected with the wireless communication network through the loaded MBN file, and the functions of calling, surfing the Internet and the like are provided for the user.
It will be appreciated that the MBN files stored in the MCFG partition of the terminal device may include a plurality of generic profiles and a plurality of card-on-card profiles. The generic configuration file includes generic configuration information. The generic configuration files corresponding to different devices may be the same. For example, the generic profile may include dynamic spectrum sharing information, a waiting period for network congestion timeout packet drops, and the like. The terminal device will load all the generic configuration files. The card following configuration file comprises network configuration information corresponding to the terminal equipment. The card-along profile includes network configuration information corresponding to a subscriber identity module (Subscriber Identity Module, SIM) (or referred to as a SIM card) configured by the terminal device, such as network configuration information corresponding to a network operator including the SIM card. The card-following configuration file may also include network configuration information corresponding to a network operator where the SIM card is located. The card following configuration files corresponding to different devices are usually different according to the different wireless communication networks corresponding to the SIM cards configured by the different devices. For example, the on-card configuration file may include carrier frequencies corresponding to different regions, carrier aggregation combination information corresponding to different regions, and so on. And a plurality of card following configuration files corresponding to the devices are stored in the MCFG partition of the terminal device. The terminal equipment selects and loads the card following configuration file corresponding to the terminal equipment from the plurality of card following configuration files.
In the embodiment of the application, the terminal device may receive the OTA upgrade data packet sent by the server, so as to obtain the modem configuration file in the OTA upgrade data packet. The server side can respond to the configuration operation of the user, update at least one general configuration file and a plurality of card following configuration files in the modem configuration files, and send the updated modem configuration files to the terminal equipment. The updated modem configuration file does not include configuration information specific to some devices in at least one general configuration file, for example, network configuration information corresponding to a network operator where each device is located. And the configuration information specific to the devices is moved to the card-following configuration files corresponding to the devices.
In some implementations, the server moves configuration information corresponding to each of a plurality of devices in the non-updated modem configuration file to an existing card-following configuration file to obtain the updated modem configuration file. Or the server moves the configuration information corresponding to the devices in the non-updated modem configuration file to the newly created card-following configuration file to obtain the updated modem configuration file.
In one example, as shown in FIG. 3, take the example of a modem configuration file that is not updated in the server side including 1 generic configuration file and 5 card-following configuration files. The 1 general configuration file includes 10 pieces of configuration information. The 10 pieces of configuration information are configuration information 1, configuration information 2, configuration information 3, configuration information 4, configuration information 5, … …, and configuration information 10, respectively. Of these 10 pieces of configuration information, the configuration information 1 to the configuration information 5 are configuration information specific to the devices of the regions 1 to 5, respectively. The 5 card following profiles are card following profile 1, card following profile 2, card following profile 3, card following profile 4 and card following profile 5, respectively. The card following profiles 1 to 5 are corresponding to the devices in the regions 1 to 5, respectively.
And the server moves the configuration information corresponding to the plurality of devices in the non-updated modem configuration file to the existing card-following configuration file. Specifically, the server moves configuration information (i.e., configuration information 1) specific to the device in zone 1 in the general configuration file into the card following configuration file 1, moves configuration information (i.e., configuration information 2) specific to the device in zone 2 in the general configuration file into the card following configuration file 2, moves configuration information (i.e., configuration information 3) specific to the device in zone 3 in the general configuration file into the card following configuration file 3, moves configuration information (i.e., configuration information 4) specific to the device in zone 4 in the general configuration file into the card following configuration file 4, and moves configuration information (i.e., configuration information 5) specific to the device in zone 5 in the general configuration file into the card following configuration file 5, thereby obtaining an updated general configuration file and card following configuration file 1 to card following configuration file 5.
The updated general configuration file includes configuration information 6 to configuration information 10, and no longer includes configuration information 1 to configuration information 5. Configuration information 1 is added in the updated card following configuration file 1, configuration information 2 is added in the updated card following configuration file 2, configuration information 3 is added in the updated card following configuration file 3, configuration information 4 is added in the updated card following configuration file 4, and configuration information 5 is added in the updated card following configuration file 5.
It can be seen that 5 pieces of configuration information are reduced in the updated generic profile, while only 1 piece of configuration information is added to each card-following profile updated. And the server side sends the updated modem configuration file to the terminal equipment. In the configuration files received by the terminal equipment, the data volume of the general configuration files is greatly reduced, and the data volume loaded by the terminal equipment (such as loading 1 general configuration file and 1 card following configuration file) is also greatly reduced, so that the occupation of the memory space of the EFS partition by loading the MBN file is reduced.
In another example, as shown in fig. 4, take the example that the modem configuration file not updated in the server side includes 1 general configuration file and a card following configuration file 6. The 1 general configuration file includes 10 pieces of configuration information. The 10 pieces of configuration information are configuration information 1, configuration information 2, configuration information 3, configuration information 4, configuration information 5, … …, and configuration information 10, respectively. Of the 10 pieces of configuration information, part of the configuration information 1 to configuration information 5 is configuration information specific to the devices of the regions 1 to 5, respectively.
And the server moves the configuration information corresponding to the plurality of devices in the non-updated modem configuration file to the newly created card-following configuration file. Specifically, the server cuts out configuration information specific to the equipment in the region 1 from the configuration information 1 of the general configuration file, and generates the card following configuration file 1. The server cuts out the configuration information specific to the equipment in the region 2 from the configuration information 2 of the general configuration file, and generates the card-following configuration file 2. The server cuts out the configuration information specific to the equipment in the region 3 from the configuration information 3 of the general configuration file, and generates the card-following configuration file 3. The server cuts out the configuration information specific to the equipment in the region 4 from the configuration information 4 of the general configuration file, and generates the card-following configuration file 4. The server cuts out the configuration information specific to the equipment in the region 5 from the configuration information 5 of the general configuration file, and generates the card-following configuration file 5. The configuration information 1 to the configuration information 5 of the cut general configuration file no longer include configuration information specific to the devices of the regions 1 to 5. The card following configuration file 1 to the card following configuration file 5 are added after clipping.
It can be seen that, in the configuration information 1 to the configuration information 5 of the cut general configuration file, part of information is reduced, and 5 card following configuration files are added in the modem configuration file. The server side further sends the updated modem configuration file to the terminal equipment. In the modem configuration file received by the terminal equipment, the data volume of the general configuration file is greatly reduced, and the data volume loaded by the terminal equipment (such as loading 1 general configuration file and 1 card following configuration file) is also greatly reduced, so that the occupation of the memory space of the EFS partition by loading the MBN file is reduced.
In some possible implementations, the total data size of the plurality of general configuration files in the modem configuration files received by the terminal device and the card following configuration files corresponding to the terminal device is smaller than the preset data size. For example, the data size of the plurality of generic profiles is less than 2 megabytes. The preset data amount may be set according to the capacity of the second partition. For example, the preset amount of data is equal to 75% of the capacity of the second partition. If the second partition is 2.5 megabytes, the preset amount of data may be equal to 75% x 2.5 megabytes. In this way, the terminal device may reserve a part of the remaining space (e.g. reserve 15% of the capacity) in the second partition, so as to reduce the situation that the capacity of the second partition is exceeded during the process of loading the modem configuration file by the terminal device.
By way of example, the terminal device described in the embodiments of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, a media player, a wearable device, or the like. The server side in the embodiment of the application can be a cloud server, a super computer and other devices.
In this embodiment, taking the mobile phone 100 as an example, the hardware structure of the terminal device is described by the mobile phone 100. As shown in fig. 5, the mobile phone 100 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, and subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), a driver processor, and the like. Wherein the different processing units may be separate devices or may be integrated in one or more processors. The processor 110 may be a neural and command center of the cell phone 100. The processor 110 may generate operation control signals according to the instruction operation code and the timing signals to complete instruction fetching and instruction execution control.
A memory may also be provided in the 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 the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capabilities of the handset 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the cellular phone 100 and data processing by executing instructions stored in the internal memory 121. For example, in an embodiment of the present application, the processor 110 may include a storage program area and a storage data area by executing instructions stored in the internal memory 121, and the internal memory 121 may include a storage program area and a storage data area.
The storage program area may store, among other things, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, a configuration file of the motor 191, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created during use of the handset 100, etc. 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 (universal flash storage, UFS), and the like. The internal memory 121 may include the first partition and the second partition described above.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. The charging management module 140 may also supply power to the mobile phone 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge 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. In some embodiments, the power management module 141 and the charge management module 140 may also be provided in the same device.
The wireless communication function of the mobile phone 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. In some embodiments, the antenna 1 and the mobile communication module 150 of the handset 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the handset 100 can communicate with a network and other devices through wireless communication technology.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into 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 for wireless communication including 2G/3G/4G/5G, etc. applied to the handset 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation.
The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. 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 provided 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 the 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 transmits the demodulated low frequency baseband signal to the 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 sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images 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 module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wi-Fi), bluetooth (BT), global navigation satellite system (globalnavigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. applied to the mobile phone 100.
The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the 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, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In the embodiment of the present application, the antenna 1 of the mobile phone 100 is coupled to the mobile communication module 150, so that the mobile phone 100 can communicate with a network and other devices through a wireless communication technology. The wireless communication techniques may include Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE) techniques, and the like. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), miniLED, microLED, micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195 or removed from the SIM card interface 195 to enable contact and separation with the handset 100. The handset 100 may support 1 or more SIM card interfaces. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. 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 mobile phone 100 interacts with the network through the SIM card to realize functions such as call and data communication.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only illustrative, and does not limit the structure of the terminal device. In other embodiments, the terminal device may also include more or fewer modules than provided in the foregoing embodiments, and different interfaces or a combination of multiple interfaces may also be used between the modules in the foregoing embodiments.
In this embodiment, taking the cloud server 200 as shown in fig. 6 as an example, a hardware structure of the server is described. Fig. 6 is a hardware structure block diagram of a server side example provided in an embodiment of the present application. As shown in fig. 6, cloud server 200 includes a processor 222 that further includes one or more processors, and memory resources, represented by memory 232, for storing instructions, such as applications, executable by processor 222. The application program stored in memory 232 may include one or more modules each corresponding to a set of instructions. Further, the processor 222 is configured to execute instructions to perform the above-described methods.
Cloud server 200 may also include a power component 226 configured to perform power management of cloud server 200, a wired or wireless network interface 250 configured to connect cloud server 200 to a network, and an input-output interface 258. Cloud server 200 may operate an operating system based on storage memory 232.
The methods in the following embodiments may be implemented in a terminal device and a server having the above hardware structures. The method provided by the embodiment of the present application is described in an exemplary manner by taking an example that the terminal device is a mobile phone, the server is a cloud server, and the network configuration information corresponding to the network operator where the mobile phone is located includes carrier aggregation information. As shown in fig. 7, the method provided in the embodiment of the present application may include S701-S705.
S701, the cloud server responds to configuration operation of a user to configure a modem configuration file.
And the cloud server responds to the configuration operation of the user to configure the modem configuration file. The configuration operation is used for indicating the configuration of the modem configuration file, such as the configuration operation of clicking a configuration key by a user.
For example, the cloud server updates the unexpired modem configuration file to include a plurality of unexpired generic configuration files and a plurality of unexpired card-following configuration files in response to a configuration operation of a user. Taking a first general configuration file in a plurality of general configuration files not updated in the non-updated modem configuration file as an example, the first general configuration file (e.g. ltefeature ca. Xml) includes carrier aggregation information corresponding to devices in a plurality of regions respectively. In the unepdated modem configuration file, the data size (or file size) of the first generic configuration file is the first data size, e.g., equal to 250 kilobytes. The carrier aggregation information is used to indicate carrier combinations of available frequency bands for wireless communications. As shown in fig. 8, the first general configuration file includes carrier aggregation information corresponding to devices in regions 1 to 5, respectively. Taking carrier aggregation information corresponding to region 1 as an example, the carrier aggregation information indicates that devices in region 1 can use carrier combinations of frequency band 1, frequency band 2, and frequency band 3 to implement wireless communication.
And the cloud server modifies the first general configuration file in the non-updated modem configuration file to obtain the updated modem configuration file. For example, the cloud server may cut carrier aggregation information corresponding to the devices in the multiple regions from the first general configuration file, and generate a first card following configuration file corresponding to the devices in each region in the multiple regions. The card following configuration file corresponding to the equipment in each region comprises carrier aggregation information corresponding to the equipment in the region.
The updated modem configuration file comprises the first general configuration file after clipping and the first card following configuration files corresponding to the newly added devices in a plurality of areas respectively. The data size of the first generic profile after clipping is a second data size, which is smaller than the first data size. For example, the second amount of data is equal to 100 kilobytes.
Of course, the updated modem configuration file may further include other general configuration files other than the first general configuration file, and other card following configuration files other than the first card following configuration file.
S702, the cloud server sends an OTA upgrade data packet to the mobile phone, wherein the OTA upgrade data packet comprises a modem configuration file.
After the modem configuration file is configured by the cloud server, the modem configuration file is carried in an OTA upgrade data packet, and the OTA upgrade data packet is sent to the mobile phone. In a modem configuration file included in an OTA upgrade data packet sent by the cloud server to the mobile phone, the first general configuration file no longer includes carrier aggregation information corresponding to devices in a plurality of regions. The first card-following configuration file corresponding to the equipment in each region comprises carrier aggregation information corresponding to the equipment in the region.
S703, the mobile phone acquires the modem configuration file from the OTA upgrade data packet, and stores the modem configuration file in the first partition.
After receiving the OTA upgrading data packet issued by the cloud server, the mobile phone upgrades the software system of the mobile phone according to the OTA upgrading data packet. For example, after receiving the OTA upgrade data packet sent by the cloud server, the mobile phone can display prompt information to the user in the display interface, and the user can upgrade the software system of the mobile phone through the prompt information. And the mobile phone responds to the updating operation of the user and updates the software system according to the received OTA updating data packet. Or, the mobile phone automatically updates the software system according to the received OTA upgrading data packet in the idle period (such as 1 to 3 am) when the user has rest.
In the process of updating the software system, the mobile phone analyzes the OTA upgrade data packet to obtain a modem configuration file. Further, the mobile phone stores the modem configuration file in the first partition. The first partition is a storage area of the mobile phone for storing modem configuration files exclusively, and the first partition is the MCFG partition.
S704, the mobile phone is restarted automatically, and a plurality of general configuration files in the modem configuration files and card following configuration files corresponding to the mobile phone are loaded to the second partition in the restarting process.
After the update is completed, the handset will automatically restart to load the new configuration. In the restarting process, the mobile phone reads a plurality of general configuration files in the modem configuration files and card following configuration files corresponding to the mobile phone from the first partition to the second partition, so that the loading of the modem configuration files is realized. The second partition is a storage area for loading modem configuration files in the mobile phone, and the second partition is the EFS partition.
In the process of loading the modem configuration file, the mobile phone can firstly load a plurality of general configuration files in the modem configuration file. For example, a plurality of general configuration files in the modem configuration file are stored in a preset folder. For example, the preset folder is in the Default folder. The mobile phone can determine a first preset folder from a plurality of folders storing modem configuration files, and further read a plurality of general configuration files from the first preset folder.
If the mobile phone is identified to be provided with the SIM card in the restarting process, the international mobile subscriber identity (International Mobile Subscriber Identity, IMSI) of the SIM card can be obtained. The mobile phone can determine the folder storing the card following configuration file corresponding to the mobile phone from a plurality of folders storing the modem configuration file in the first partition according to the IMSI of the SIM card, and read the card following configuration file corresponding to the mobile phone in the folder. Further, the mobile phone loads the card following configuration file corresponding to the terminal equipment in the EFS partition.
For example, the IMSI of the SIM card includes a mobile country number (Mobile Country Code, MCC) and a mobile network code (Mobile Network Code, MNC). The folder in which the card configuration file is located has a corresponding relation with MCC and MNC. The mobile phone can acquire the card following configuration file corresponding to the area where the mobile phone is located in the corresponding folder. Further, the mobile phone loads the card following configuration file corresponding to the terminal equipment in the EFS partition.
In the process of loading a plurality of general configuration files and card following configuration files corresponding to the mobile phone in the second partition, if the first files of the first partition are different from the first files of the second partition, copying the first files in the second partition to obtain first temporary files. Further, the mobile phone modifies the first temporary file based on the first file in the first partition to obtain a modified first temporary file. And then the mobile phone replaces the first file in the second partition with the modified first temporary file. Thus, the loading of a plurality of general configuration files and the first files in the card-following configuration files corresponding to the mobile phone is realized.
It will be appreciated that the modem profile received by the handset does not vary much in total data volume as compared to the unepdated modem profile. The mobile phone only needs to load a plurality of general configuration files in the modem configuration files and the card following configuration files corresponding to the mobile phone, and all the card following configuration files do not need to be loaded. Whereas the generic profile in the modem profile is much less data-intensive than the generic profile in the not updated modem profile. Therefore, the data amount loaded by the mobile phone is reduced.
And S705, the mobile phone accesses the wireless communication network according to the general configuration file and the card following configuration file loaded in the second partition.
After the mobile phone loads the universal configuration file and the card following configuration file in the second partition, the mobile phone can be connected with the wireless communication network according to the loaded universal configuration file and the card following configuration file.
For example, the carrier aggregation information is included in the card-following configuration file. The handset may connect to the wireless communication network and communicate with the wireless communication network using a carrier combination indicated by the carrier aggregation information.
The following describes the procedure of accessing the mobile phone to the wireless communication network by taking the NV parameter included in the card-following configuration file of the mobile phone as an example. The NV parameter is used to indicate a preference for accessing the wireless communication network through the CS domain or the PS domain. The mobile phone can access to the wireless communication network after the NV parameters are loaded. As shown in fig. 9, the procedure of accessing the wireless communication network by the handset includes the following S901 to S917.
S901, the mobile phone sends a random access message to the base station.
The random access message sent by the handset to the base station may be denoted as MSG1. The mobile phone requests to connect with the base station through the random access message.
S902, the base station responds to the random access message and returns a random access response message to the mobile phone.
The random access response message returned by the base station to the handset may be denoted as MSG2. The base station informs the mobile phone of the random access message of the mobile phone through the random access response message.
S903, the mobile phone responds to the random access response message and sends an RRC connection request to the base station.
The radio resource control (Radio Resource Control, RRC) connection request sent by the handset to the base station may be denoted MSG3. The mobile phone requests the base station to establish an RRC connection through the RRC connection request.
S904, the base station responds to the RRC connection request and returns an RRC connection establishment message to the mobile phone.
The RRC connection setup message sent by the base station to the handset may be denoted MSG4. The base station informs the mobile phone of the completion of random access through the RRC connection establishment message, and the mobile phone can communicate with the base station.
S905, the mobile phone sends an RRC connection setup complete message to the base station in response to the RRC connection setup message.
After receiving the RRC connection setup message, the base station may configure radio resources. After the configuration is completed, the mobile phone sends an RRC connection setup completion message to the base station, and notifies the base station that the radio resource is configured through the RRC connection setup completion message.
S906, the base station sends an initial message to the MME in response to the RRC connection setup complete message.
The mobility management entity (Mobility Management Entity, MME) is a key control node of the core network and may be used for network access control, mobility management, session management, routing, etc. The base station initiates an attach request to the MME via an initial message (which may be denoted as INITIAL UE MESSAGE) requesting that the handset attach to the core network.
S907, the MME sends an initial context setup message to the base station.
And the MME responds to the initial message and establishes connection with the mobile phone authentication and security. The MME then sends an initial context setup message to the base station, which may be denoted as INITIAL CONTEXT SETUP REQUEST. The MME requests to establish a default bearer with the handset through an initial context setup message, providing the handset with a network protocol (Internet Protocol, IP) address at the time of the first connection.
S908, the base station sends a capability query message to the mobile phone in response to the initial context setup message.
The capability query message sent by the base station to the handset may be denoted UE Capacity Enquiry. The base station inquires the information of supportable frequency bands, bandwidths, carrier wave combinations and the like from the mobile phone through the capability inquiry message.
S909, the mobile phone returns capability information to the base station in response to the capability query message.
The mobile phone can acquire supportable capacity information such as frequency bands, bandwidths and the like from the loaded modem configuration information, and returns the inquired capacity information to the base station. The capability information may be noted as UE Capacity Information.
S910, the base station sends a capability information indication message to the MME.
After receiving the capability information of the mobile phone, the base station reports the capability information of the mobile phone to the MME through the capability information indication message. The capability information indication message may be noted as UE Capacity Info Indication. The MME may update capability information of the handset.
S911, the base station sends the security mode command to the mobile phone.
In order to provide the security of mobile phone communication, the base station instructs the mobile phone to start a security mode through a security mode command, and encrypts the transmitted data or signaling. The secure mode command may be denoted Security Mode Command.
S912, the mobile phone responds to the security mode command to activate the security mode and returns a security mode completion message to the base station.
The security mode complete message sent by the handset to the base station may be noted as Security Mode Complete. The mobile phone informs the base station to activate the security mode through a security mode completion message.
S913, the base station sends an RRC connection reconfiguration message to the mobile phone.
The RRC connection reconfiguration message sent by the base station to the handset may be denoted RRC Connection Reconfiguration. The base station instructs the handset to reconfigure the RRC connection through the RRC connection reconfiguration message. The base station carries an Attach Accept message (which may be denoted as Attach Accept) in the RRC connection reconfiguration message, informing the handset of the consent to access the wireless communication network. The mobile phone can preferably select the CS domain or the PS domain to connect with the wireless communication network according to the loaded NV parameters.
S914, the mobile phone responds to the RRC connection reconfiguration message and sends an RRC connection reconfiguration complete message to the base station.
The handset reconfigures the RRC connection in response to the RRC connection reconfiguration message. After the RRC connection reconfiguration is completed, the mobile phone returns an RRC connection reconfiguration completion message to the base station, and notifies the base station of the completion of the RRC connection reconfiguration through the RRC connection reconfiguration completion message. The RRC connection reconfiguration complete message may be noted as RRC Connection Reconfiguration Complete.
In S915, the base station transmits an initial context setup response message to the MME in response to the RRC connection reconfiguration complete message.
The initial context setup response message sent by the base station to the MME may be denoted Initial Context Setup Response. The mobile phone informs the MME of the completion of the mobile phone context establishment through the initial context establishment response message.
S916, the mobile phone sends an uplink direct transmission message to the base station.
The uplink direct-transmission message sent by the mobile phone to the base station can be recorded as UL direct transfer. The mobile phone informs the MME of finishing the registration of the network through the uplink direct transmission message, and the network attachment is finished.
S917, the base station responds to the uplink direct transmission message and sends the uplink transmission message to the MME.
The uplink transmission message sent by the base station to the MME may be denoted UL NAS transport. The base station informs the mobile phone that the registration of the network is finished and the network attachment is finished through the uplink transmission message. The handset may then communicate with the wireless communication network through the base station.
If the handset does not normally load the NV parameters in the second partition, the handset defaults to using the CS domain to connect to the wireless communication network. However, if the base station indicates that the PS domain allows access through the RRC connection reconfiguration message in S913 described above, the mobile phone cannot access the wireless communication network in this case. In the above example, the general configuration file in the modem configuration file received by the mobile phone is cut, so that the data volume loaded by the mobile phone in the second partition is greatly reduced, and the NV parameters corresponding to the mobile phone can be loaded by the mobile phone. Thus, the mobile phone can access the wireless communication network to realize communication with the wireless communication network.
In some implementations, if the mobile phone detects that the remaining space of the second partition is insufficient during the process of loading the modem configuration file, the mobile phone deletes the temporary file in the second partition.
For example, in the process of loading the modem configuration file in the second partition, the mobile phone detects that the data volume to be loaded in the first partition is greater than the remaining space of the second partition, or the remaining space of the second partition is smaller than a preset capacity, such as less than 15% of the total capacity of the second partition. In this case, the handset considers that the remaining space of the second partition is insufficient. If the remaining space of the second partition is insufficient, determining the temporary file carrying the preset identifier (for example, carrying the preset identifier "$") in the second partition, and further deleting the temporary file carrying the preset identifier in the second partition.
In this way, the mobile phone can release the memory space of the second partition by deleting the temporary file under the condition that the remaining space of the second partition is insufficient, so that the memory space loaded with the modem configuration file exists in the second partition, the error reporting condition of the mobile phone is reduced, and the user experience is improved.
Still further, in other embodiments of the present application, a terminal device is provided, including: a memory and one or more processors. The memory comprises a first partition and a second partition, wherein the first partition is used for storing a modem configuration file, and the second partition is used for loading the modem configuration file; the modem profile includes a plurality of generic profiles provided for different devices and a plurality of card-along profiles. The memory is coupled to the processor. The memory has stored therein computer program code comprising computer instructions. The terminal device, when executed by the processor, may perform the various functions or steps of the method embodiments described above. Of course, the terminal device may also include other hardware structures such as other antennas for receiving signals. For example, the terminal device further includes a sensor, a display screen, and other hardware structures. The structure of the terminal device may refer to the structure of the mobile phone 100 shown in fig. 5.
Other embodiments of the present application provide a server, where the server includes: a communication module, a memory, and one or more processors. The communication module and the memory are respectively coupled with the processor. The communication module is used for transmitting data or signaling with the terminal equipment. The memory has stored therein computer program code comprising computer instructions. The server may perform the functions or steps of the method embodiments described above when the computer instructions are executed by the processor. Of course, the server may include other hardware structures. For example, the server side further includes a network interface, a power component, and other hardware structures. The structure of the cloud device may refer to the structure of the cloud server 200 shown in fig. 6.
The embodiment of the application also provides a chip system which is applied to the terminal equipment or the service end. The system-on-chip includes at least one processor and at least one interface circuit. The processors and interface circuits may be interconnected by wires. For example, the interface circuit may be used to receive signals from other devices (e.g., memory). For another example, the interface circuit may be used to send signals to other devices (e.g., processors). The interface circuit may, for example, read instructions stored in the memory and send the instructions to the processor. The instructions, when executed by the processor, may cause the terminal device or the server to perform the steps of the above embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in this embodiment of the present application.
The embodiments of the present application also provide a computer-readable storage medium, where the computer-readable storage medium includes computer instructions, which when executed on the terminal device or the server, cause the terminal device or the server to perform the functions or steps in the method embodiments described above.
Embodiments of the present application also provide a computer program product which, when run on a computer, causes the computer to perform the functions or steps of the method embodiments described above. For example, the computer may be the terminal device or the server.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. The data processing method is characterized by being applied to terminal equipment, wherein a memory space of the terminal equipment comprises a first partition and a second partition, the first partition is used for storing a modem configuration file, and the second partition is used for loading the modem configuration file; the modem configuration files comprise a plurality of general configuration files and a plurality of card following configuration files, wherein the general configuration files are provided for different devices; the method comprises the following steps:
responding to an over-the-air OTA upgrade completion event, and acquiring the plurality of general configuration files and card following configuration files corresponding to the terminal equipment in the plurality of card following configuration files from the configuration files of the first partition; the card following configuration file corresponding to the terminal equipment comprises network configuration information corresponding to a network operator of the location of the terminal equipment;
Loading the plurality of general configuration files and card-following configuration files corresponding to the terminal equipment in the second partition;
and accessing a wireless communication network according to the plurality of general configuration files and the card following configuration files corresponding to the terminal equipment.
2. The method of claim 1, wherein the first partition stores a first file, the first file being one of the plurality of generic configuration files and a card-along configuration file corresponding to the terminal device; the first file is stored in the second partition, and the content of the first file of the second partition is different from that of the first file of the first partition;
the method further comprises the steps of:
in the process of loading the plurality of general configuration files and card following configuration files corresponding to the terminal equipment in the second partition, if the first files of the first partition are different from the first files of the second partition, copying the first files in the second partition to obtain first temporary files;
modifying the first temporary file based on the first file in the first partition to obtain a modified first temporary file;
And replacing the first file in the second partition with the modified first temporary file.
3. The method according to claim 1 or 2, wherein obtaining, from the configuration files of the first partition, a card following configuration file corresponding to the terminal device in the plurality of card following configuration files, includes:
and determining the card following configuration file corresponding to the terminal equipment in the plurality of card following configuration files in the first partition according to the international mobile subscriber identity of the terminal equipment.
4. A method according to any of claims 1-3, characterized in that the network configuration information corresponding to the home location to which the terminal device belongs comprises carrier aggregation information.
5. The method according to claim 4, wherein the method further comprises:
communication with the wireless communication network using a carrier combination indicated by the carrier aggregation information.
6. The method according to any one of claims 1-5, wherein the card-following configuration file corresponding to the terminal device further includes a nonvolatile memory NV parameter; the NV parameter is used for indicating that the wireless communication network is accessed preferentially through a circuit switched domain or a packet switched domain;
The accessing to the wireless communication network according to the plurality of general configuration files and the card following configuration file corresponding to the terminal device comprises:
the wireless communication network is preferentially accessed through a circuit switched domain or a packet switched domain indicated by the NV parameter.
7. The method according to any one of claims 1-6, wherein a total data amount of the plurality of generic profiles and the card-on-card profile corresponding to the terminal device is smaller than a preset data amount.
8. The method according to any one of claims 1-7, further comprising:
receiving an OTA upgrading data packet sent by a server;
acquiring the modem configuration file from the OTA upgrade data packet;
a modem configuration file is saved in the first partition.
9. The method according to any one of claims 1-8, further comprising:
if the residual space of the second partition is smaller than the preset capacity, deleting the temporary file in the second partition; wherein, the end mark of the file name of the temporary file is a preset mark.
10. A data processing method, applied to a server, the method comprising:
Configuring a modem configuration file in response to a configuration operation of a user; the modem configuration files comprise a plurality of general configuration files and a plurality of card following configuration files, wherein the general configuration files and the card following configuration files are provided for different devices, and the card following configuration files corresponding to each device comprise network configuration information corresponding to a network operator of the location of the device;
and sending the modem configuration file to terminal equipment.
11. The method of claim 10, wherein transmitting the modem configuration file to a terminal device comprises:
and carrying the modem configuration file in an OTA upgrading data packet, and sending the OTA upgrading data packet to the terminal equipment.
12. The method according to claim 10 or 11, wherein the on-card configuration files corresponding to different devices respectively in the modem configuration files include carrier aggregation information.
13. A terminal device, comprising: a memory and one or more processors; the memory comprises a first partition and a second partition, wherein the first partition is used for storing a modem configuration file, and the second partition is used for loading the modem configuration file; the modem configuration files comprise a plurality of general configuration files and a plurality of card following configuration files, wherein the general configuration files are provided for different devices; the memory is coupled with the processor;
Wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the terminal device to perform the method of any of claims 1-9.
14. A server, comprising: a communication module, a memory, and one or more processors; the communication module and the memory are respectively coupled with the processor; the communication module is used for transmitting data or signaling with the terminal equipment; the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the server to perform the method of any of claims 10-12.
15. A computer readable storage medium comprising computer instructions which, when run on a terminal device, cause the terminal device to perform the method of any of claims 1-9; alternatively, the computer instructions, when run on a server, cause the server to perform the method of any of claims 10-12.
CN202311290740.9A 2023-09-27 2023-09-27 Data processing method, terminal equipment, server side and storage medium Pending CN117528490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311290740.9A CN117528490A (en) 2023-09-27 2023-09-27 Data processing method, terminal equipment, server side and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311290740.9A CN117528490A (en) 2023-09-27 2023-09-27 Data processing method, terminal equipment, server side and storage medium

Publications (1)

Publication Number Publication Date
CN117528490A true CN117528490A (en) 2024-02-06

Family

ID=89753841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311290740.9A Pending CN117528490A (en) 2023-09-27 2023-09-27 Data processing method, terminal equipment, server side and storage medium

Country Status (1)

Country Link
CN (1) CN117528490A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104838637A (en) * 2012-12-11 2015-08-12 高通股份有限公司 Methods and apparatus for updating a device configuration
CN105144763A (en) * 2013-03-28 2015-12-09 高通股份有限公司 Devices and methods for facilitating automated configuration of communications interfaces
CN106102083A (en) * 2016-05-19 2016-11-09 青岛海信移动通信技术股份有限公司 Collocation method and equipment
CN106937320A (en) * 2017-03-31 2017-07-07 努比亚技术有限公司 A kind of operator parameter method of automatic configuration and terminal
CN107005835A (en) * 2014-10-30 2017-08-01 亚马逊技术股份有限公司 Electronic installation is configured for radio communication
US20190036562A1 (en) * 2017-07-28 2019-01-31 Qualcomm Incorporated Enhanced modem based carrier auto-selection algorithm
CN115002747A (en) * 2022-08-02 2022-09-02 荣耀终端有限公司 Parameter updating method, system, terminal equipment and chip system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104838637A (en) * 2012-12-11 2015-08-12 高通股份有限公司 Methods and apparatus for updating a device configuration
CN105144763A (en) * 2013-03-28 2015-12-09 高通股份有限公司 Devices and methods for facilitating automated configuration of communications interfaces
CN107005835A (en) * 2014-10-30 2017-08-01 亚马逊技术股份有限公司 Electronic installation is configured for radio communication
CN106102083A (en) * 2016-05-19 2016-11-09 青岛海信移动通信技术股份有限公司 Collocation method and equipment
CN106937320A (en) * 2017-03-31 2017-07-07 努比亚技术有限公司 A kind of operator parameter method of automatic configuration and terminal
US20190036562A1 (en) * 2017-07-28 2019-01-31 Qualcomm Incorporated Enhanced modem based carrier auto-selection algorithm
CN115002747A (en) * 2022-08-02 2022-09-02 荣耀终端有限公司 Parameter updating method, system, terminal equipment and chip system

Similar Documents

Publication Publication Date Title
CN113766588B (en) Cell reselection method and related equipment
EP2302971B1 (en) Protocol processing method and apparatus for multi-sim terminal
CN105306681B (en) Management method and device supporting multiple SIM cards to share RF processor
KR101117712B1 (en) Communication terminal for multiple standby and method for operating thereof
EP3565369B1 (en) Esim card activation method, wireless router and computer storage medium
US8874710B2 (en) Access network discovery
CN111480350A (en) Method and equipment for data access of embedded SIM card
US20210076436A1 (en) Device-to-device communication method, terminal device, and network device
CN112398626B (en) Information transmission method, communication device and system
RU2767299C2 (en) Method of allocating resources, a network device and a terminal device
CN114584966B (en) Sharing method of radio frequency channels and related device
US20230076852A1 (en) Electronic device supporting plurality of sims and operating method therefor
CN115002747B (en) Parameter updating method, system, terminal equipment and chip system
CN110475270B (en) Terminal parameter configuration method and device
US20220174568A1 (en) Wireless communication method and terminal device
US10334553B2 (en) Wireless communications network registration method and terminal
CN113316151B (en) Communication method, device and equipment
KR20130009088A (en) Access profile registration/acquiction method using uicc application, peer-to-peer transmission method using the same and terminal therefor
CN114339814A (en) Relay communication information configuration method and device and electronic equipment
CN111132129A (en) SIM card information acquisition device and communication terminal device
CN117528490A (en) Data processing method, terminal equipment, server side and storage medium
CN115767685A (en) Network searching method, network searching device and storage medium
CN113709720A (en) SIM dual-mode card abnormity optimization method and electronic equipment
CN116982326A (en) Method and device for determining edge configuration server
CN117135618B (en) Method, equipment and storage medium for setting local number function

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