WO2022262444A1 - 文件管理方法、装置、电子设备和可读存储介质 - Google Patents

文件管理方法、装置、电子设备和可读存储介质 Download PDF

Info

Publication number
WO2022262444A1
WO2022262444A1 PCT/CN2022/090378 CN2022090378W WO2022262444A1 WO 2022262444 A1 WO2022262444 A1 WO 2022262444A1 CN 2022090378 W CN2022090378 W CN 2022090378W WO 2022262444 A1 WO2022262444 A1 WO 2022262444A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
file
user terminal
information
download
Prior art date
Application number
PCT/CN2022/090378
Other languages
English (en)
French (fr)
Inventor
文俊
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022262444A1 publication Critical patent/WO2022262444A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/42Security arrangements using identity modules using virtual identity modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data

Definitions

  • the present application relates to the technical field of mobile communication, and more specifically, to a file management method, device, electronic equipment and readable storage medium.
  • SIM Subscriber Identification Module
  • customer identification module the SIM card commonly used by operators is used as the user authentication information carrier of mobile communication.
  • the Internet of Things market a new technology has been proposed for the SIM card. Requirements, as well as migration flexibility requirements, traditional SIM cards can no longer meet people's needs for mobile terminals.
  • eSIM embedded Subscriber Identification Module, embedded client identification module
  • eSIM is to write the mobile operator's customer identification information into an embedded universal integrated circuit card (embedded Universal Integrated Circuit Card, eUICC), And it is fixed on the embedded mobile terminal.
  • the eSIM supports remote configuration and number writing. Users can purchase the operator package online to realize the online download of the eSIM configuration file (Profile).
  • Profile eSIM configuration file
  • eSIM cards also has some disadvantages, such as complicated download and activation of configuration files. Therefore, how to better manage the files corresponding to the eSIM card is an urgent technical problem to be solved.
  • the present application proposes a file management method, device, electronic equipment and readable storage medium to improve the above defects.
  • the embodiment of the present application provides a file management method applied to a user terminal, the method comprising: sending a file download request to a server, and the server is configured to send a file download request to the user terminal based on the file download request The configuration file of the user identification card of the user terminal; if the error code information sent by the server is received as specified information, a download retry operation is triggered, and the download retry operation includes sending the file download request to the For the server, the specified information is used to indicate that the server has not generated the configuration file.
  • the embodiment of the present application further provides a file management device, the device is applied to a user terminal, and the device includes: a sending module and a retry module.
  • the sending module is configured to send a file download request to a server
  • the server is configured to send the configuration file of the user identification card of the user terminal to the user terminal based on the file download request.
  • a retry module configured to trigger a download retry operation if receiving the error code information sent by the server as specified information, the download retry operation including sending the file download request to the server, the specified information
  • the configuration file used to characterize the server was not generated.
  • the embodiment of the present application also provides an electronic device, including one or more processors; memory; one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more programs configured to perform the above method.
  • the embodiment of the present application further provides a computer-readable medium, where program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above method.
  • Fig. 1 shows a schematic structural diagram of a file management system
  • FIG. 2 shows a method flowchart of a file management method provided by an embodiment of the present application
  • FIG. 3 shows a method flowchart of a file management method provided in another embodiment of the present application
  • FIG. 4 shows a method flowchart of a file management method provided in another embodiment of the present application.
  • FIG. 5 shows a flow chart of step S405 in the file management method provided by another embodiment of the present application.
  • FIG. 6 shows a structural block diagram of a file management device provided by an embodiment of the present application.
  • FIG. 7 shows a structural block diagram of the retry module 602 in the file management device provided by the embodiment of the present application.
  • FIG. 8 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 9 shows a storage unit provided by an embodiment of the present application for storing or carrying program codes for implementing a file management method according to an embodiment of the present application.
  • the mobile terminal when handling business at the operator, the mobile terminal usually obtains an activation code, and each activation code corresponds to a profile (Profile), wherein the activation code is used for authentication on the server corresponding to the operator, And trigger the download of the configuration file after the authentication is successful.
  • the mobile terminal can handle eSIM-related services at the operator, and can obtain an activation code after successful processing, and then the mobile terminal can download configuration files from the server based on the activation code.
  • the server after the user successfully handles related services at the operator, there may be a delay problem when the server generates the configuration file, that is, the configuration file cannot be generated in time, which will cause the mobile terminal to fail when downloading the configuration file.
  • the user terminal needs to repeatedly trigger the download process, and the delay in generating the configuration file may be long, which will affect the normal use of the mobile terminal by the user to a certain extent.
  • the inventor proposed the file management method, device electronic equipment and storage medium provided by the embodiment of the present application.
  • the download retry operation can be triggered to a certain extent.
  • the user terminal can send a file download request to the server, and the server is used to send the configuration file of the user identification card of the user terminal to the user terminal based on the file download request, and then when the user terminal determines the configuration file sent by the server
  • the error code information is specified information, it may trigger a download retry operation, wherein the download retry operation includes sending a file download request to the server, and the specified information is used to indicate that the server has not generated the configuration file.
  • the application determines that the error code information is specified information, by introducing a download retry operation to a certain extent, unnecessary notification information can be avoided from affecting the user's normal use of the terminal, thereby improving the user experience.
  • the specific file management method is described in detail in the subsequent embodiments.
  • Fig. 1 is a schematic structural diagram of a file management system according to an exemplary embodiment.
  • the system includes a user terminal 101, a first server 102, and a second server 103, wherein the first server 102 and the second server 103 can be independent physical servers, or server clusters or distributed systems composed of multiple physical servers , can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), and big data Cloud servers for basic cloud computing services such as artificial intelligence platforms.
  • CDN Content Delivery Network, content distribution network
  • big data Cloud servers for basic cloud computing services such as artificial intelligence platforms.
  • the first server 102 can also be called an eSIM server, and the first server 102 can be an SM-DP+ server (Subscription Manager-data Preparation Plus Server, subscription management-data preparation plus server), SM - The DP+ server is used to generate the eSIM configuration file and send the generated configuration file to the user terminal 101, that is, the first server 102 is used to prepare and store the configuration file package and provide the remote service of the configuration file to the device.
  • SM-DP+ server Subscribescription Manager-data Preparation Plus Server, subscription management-data preparation plus server
  • the first server 102 can also be used for authentication, that is, when the first server 102 receives the activation code acquisition file download request sent by the user terminal 101, it can first authenticate the activation code or file download request, And the generated configuration file is allowed to be sent to the user terminal 101 only after the authentication is passed.
  • the second server 103 can be referred to as an operator server, and the second server 103 can be a resource-oriented background support system (network, equipment, computer system), which can include a professional network management system, resource management system, professional activation system, service guarantee system, etc., to provide support means for the reliable, safe and stable operation of the network.
  • the second server 103 may receive the terminal information sent by the user terminal 101 and generate an activation code based on the terminal information, and finally the second server 103 may send the generated activation code to the user terminal 103 .
  • the user terminal 101 may be an electronic device, and the electronic device may be a cellular phone, a smart phone, a smart speaker, a smart watch, a portable computer, a handheld communication device, a handheld computing device, a satellite radio device, a global positioning system, PDA (Personal Digital Assistant, PDA) and/or any other suitable device for communicating on the wireless communication system 100, etc., but not limited thereto.
  • the first server 102, the second server 103, and the user terminal 101 may be connected directly or indirectly through wired network or wireless network communication, which is not limited in this application.
  • the aforementioned wireless network or wired network uses standard communication technologies and/or protocols.
  • the network is usually the Internet, but can be any network, including but not limited to Local Area Network (LAN), Metropolitan Area Network (MAN), Wide Area Network (WAN), mobile, wired or wireless Any combination of network, private network, or virtual private network.
  • data exchanged over a network is represented using technologies and/or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), and the like.
  • HTML Hyper Text Mark-up Language
  • XML Extensible Markup Language
  • FIG. 2 shows a schematic flowchart of a file management method provided by an embodiment of the present application.
  • the file management method is applied to a file management apparatus 600 as shown in FIG. 6 and to an electronic device 810 as shown in FIG. 8 .
  • the process shown in FIG. 2 will be described in detail below.
  • the file management method can be specifically applied to a user terminal, and the method can include steps 201 to 202.
  • Step S201 Send a file download request to a server, and the server is configured to send the configuration file of the user identification card of the user terminal to the user terminal based on the file download request.
  • the user terminal may send a file download request to the server, wherein the server is configured to send the configuration file of the user identification card of the user terminal to the user terminal based on the file download request.
  • the file download request may be generated by the user terminal after receiving the download instruction input by the user, that is, before sending the file download request to the server, the user terminal may detect whether the download instruction input by the user is received, and the download instruction is used to instruct the user The terminal gets the configuration file.
  • the user terminal may first detect whether the configuration file of the user identification card of the user terminal is stored in the user terminal, and if so, may prompt the user that the configuration file has been downloaded.
  • the file download request may also be a request automatically triggered by the user terminal.
  • the file download request may be a request automatically triggered when the user terminal receives the activation code sent by the server, or a request automatically triggered by the user terminal after a preset period of time after receiving the activation code sent by the server, or It may be a request triggered when the user terminal detects the first operation instruction input by the user after receiving the activation code sent by the server this time.
  • the first operation instruction may be an instruction such as clicking or sliding.
  • the subscriber identification card of the user terminal may include an embedded client identification card (eSIM card).
  • the eSIM card is a programmable SIM card whose configuration file (Profile) can be edited after leaving the factory.
  • the eSIM card supports The download technology (Over-The-Air technology, OTA) remotely configures the eUICC card to realize the download, installation, activation, deactivation and deletion of the configuration file (Profile), so as to realize the flexible selection of multiple operators, which can be applied to the terminal Scenarios such as activating services in batches after leaving the factory, renewing contracts after service expiration, changing contracts, and changing operators during roaming.
  • OTA Over-The-Air technology
  • the configuration file includes user identification information, and the user identification information may include user identity, authentication parameters, operator customization parameters, service subscription information, and the like.
  • the download of the configuration file needs to comply with the SGP protocol of the GSMA (Global System for Mobile Communications Association, Global Mobile Communications Association).
  • the embodiment of the present application may generate a file download request, and send the file download request generated by the user terminal to the server, and instruct the server to The download request sends the configuration file of the user identification card of the user terminal to the user terminal, wherein the configuration file may be a file generated by the server after receiving the notification information sent by the operator server, and the notification information may include the eUICC chip identifier (eUICC chip ID) of the user terminal Identification, EID), may also include eSIM card data generated by the operator's server, and the eSIM card data may include an integrated circuit card identification code (Integrate Circuit Card Identity, ICCID) and the like.
  • the server can be an SM-DP+ server, and the SM-DP+ server is mainly used to generate the eSIM configuration file, and send the generated configuration file to the user terminal, that is, the SM-DP+ server is used to prepare and store the configuration file A remote service that packages and provides configuration files to the device.
  • the SM-DP+ server can also be used for authentication, that is, when the user terminal sends a file download request to the SM-DP+ server, it can instruct the SM-DP+ server to first authenticate the file download request sent by the user terminal , and the configuration file generated by it is allowed to be sent to the user terminal only after the authentication is passed. Therefore, the server in the embodiment of the present application may be a subscription relationship management data preparation platform, which is mainly used to provide a configuration file data download service for the communication module of the user terminal.
  • the user terminal may include an eSIM local profile assistant (Local Profile Assistant, LPA) service module, LPA is an independent system application, and the profile on the eSIM server is usually managed by the LPA, specifically Yes, the user terminal can perform operations such as downloading, activating, and deleting configuration files through the LPA.
  • LPA eSIM local profile assistant
  • the embodiment of the present application can use LPA to download the configuration file to the eSIM card of the user terminal.
  • the LPA can usually include 3 parts, and these 3 parts are the local discovery service (Local Discovery Service, LDS), the local configuration File download (Local Profile Download, LPD) and local user interface (Local User Interface, LUI). Therefore, the main function of LDP is to obtain the event records about eUICC registered by the server (SM-DS+ server) from the server (SM-DS+ server). (SM-DS+ server) Obtain the data packet of the configuration file, and then transfer the data packet of the configuration file to the eUICC to provide the user with the function of configuration file management.
  • the management operation may include the activation, deactivation, and deletion of the configuration file, etc. .
  • the user identification card of the user terminal may be an embedded user identification card
  • the user identification card may be an identification card obtained by remote configuration of the embedded universal integrated circuit card of the user terminal using OTA technology, wherein, Remote configuration may include downloading, installing, activating, deactivating, and deleting configuration files.
  • Remote configuration may include downloading, installing, activating, deactivating, and deleting configuration files.
  • different user terminals have different chip identifications (eUICC Identification, EID) corresponding to the embedded universal integrated circuit card, and the EID can also be called the identity identification of the user terminal.
  • the user terminal after the user terminal sends a file download request to the server, it can detect whether it receives the data information sent by the server, and if it receives the data information sent by the server, then determine whether the data information includes the configuration file, if the data If the information includes the configuration file, it means that the file download request is successfully responded, that is, the configuration file is downloaded successfully.
  • the user terminal may determine whether the data information includes error code information, and if the data information includes error code information, the embodiment of the present application may continue to determine whether the error code information is specified information, If the user terminal receives the error code information sent by the server as specified information, it triggers a download retry operation, that is, enters step S202.
  • the embodiment of the present application may output the first prompt information, through which the user is prompted that the download of the configuration file failed, wherein the specified Information used to characterize the server did not generate a configuration file. Moreover, this embodiment of the present application may also prompt the user that the event or operation that causes the configuration file download to fail is not the event or operation corresponding to the specified information.
  • the user terminal when the user terminal receives the error code information sent by the server, it can first determine whether the error code information is specified information, if yes, trigger the download retry operation, if not, then output the third prompt information, the The third prompt information is used to prompt the user that the error code information received by the user terminal is the second information, and the second information may be used to indicate that the cause of the file download failure is not that the server has not generated the configuration file, which means that the file download is caused The reason for the failure is the second reason.
  • the second reason may be that the user terminal has successfully performed a configuration file download operation before, and received a delete operation input by the user after it obtains the configuration file, that is, the user terminal has successfully received the configuration file and the configuration file is deleted, At this time, if the file download request is sent to the server again, the configuration file download may fail.
  • the second reason may also be that the identity of the user terminal does not match the preset identity, wherein the preset identity is the chip identity of the user terminal bound to the configuration file, that is, when the user terminal handles the eSIM service, the user The identity of the terminal will be bound to the configuration file. If the identity of the user terminal currently triggering the download of the configuration file is inconsistent with the identity saved by the server, the download of the configuration file will fail.
  • the corresponding error codes are different depending on the reasons for the failure of the configuration file download.
  • the error codes can include the subject code, the reason code, and the error code. Code description (Description) and so on. For example, when the configuration file download fails because the server has not generated the configuration file, the corresponding error codes are—Subject Code: 8.2; Reason Code: 1.2; Description: Profile has not yet been released.
  • Step S202 If the error code information sent by the server is received as specified information, trigger a download retry operation.
  • the embodiment of the present application when the user terminal receives the error code information sent by the server, the embodiment of the present application can trigger the download retry operation, wherein the specified information is used to indicate that the server has not generated the configuration file, that is, the specified information can be that the server has not generated the configuration file.
  • the fact that the server has not generated the configuration file may mean that the server has not started to execute the operation of generating the configuration file, or it may be that the operation of generating the configuration file is being executed but the operation has not been completed.
  • the download retry operation may include sending a file download request to the server. Specifically, after the user terminal sends the file download request to the server for the first time, it may determine whether it has received the error code information sent by the server. If After receiving the error code information sent by the server, it is determined whether the error code information is specified information, if it is specified information, the user terminal can send a file download request to the server for the second time; if the error code information sent by the server is received is not specified information , the user terminal can output a third prompt message, through which the user is prompted that the download of the configuration file failed, and the cause of the download failure of the configuration file does not include the situation that the error code is the specified information, that is, the download of the configuration file fails The reason is the second reason.
  • triggering the download retry operation can also be referred to as triggering the download retry mechanism, and the download retry mechanism is used to repeatedly send the file download multiple times when it is determined that the error code information sent by the server is specified information. request to the server.
  • the user terminal when it sends the file download request to the server, it may instruct the server to perform an authentication operation first, and then instruct the server to obtain the configuration file corresponding to the file download request after the authentication operation passes.
  • the main function of the authentication operation is to authenticate the legality of the file download request, and the legality authentication may include authenticating the device identification of the user terminal, authenticating the account of the user terminal, or authenticating the password sent by the user terminal Wait.
  • the user terminal when the download retry operation is triggered, can send the file download request to the server again. During this process, the user terminal can instruct the server to perform the authentication operation first. After the authentication operation passes, Then instruct the server to obtain the configuration file corresponding to the file download request.
  • the user terminal can instruct the server to perform an authentication operation, and only after the authentication operation passes, the user terminal can instruct the server to obtain the configuration file, so that the configuration file can be is more secure to obtain.
  • the user terminal can send the file download request to the server again.
  • the user terminal can instruct the server to directly obtain the configuration file corresponding to the file download request, because the server has already performed the authentication operation when receiving the first file download request sent by the user terminal, so when the download retry operation is triggered , and when resending the file download request, the user terminal can directly instruct the server to obtain the configuration file corresponding to the file download request, thus speeding up the speed of obtaining the configuration file.
  • the user terminal can determine the current time and the previous file download request. time difference, and determine whether the difference is less than the preset time difference, if the difference is less than the preset time difference, the user terminal can instruct the server to directly obtain the configuration file corresponding to the file download request. If the difference between the current time and the time of the previous file download request is greater than or equal to the preset time difference, the user terminal can instruct the server to perform the authentication operation first, and then instruct the server to obtain the configuration corresponding to the file download request after the authentication operation is passed document. In this way, not only can the acquisition rate of the configuration file be accelerated, but also the security of the configuration file can be guaranteed.
  • the user terminal may output second prompt information and trigger a download retry operation, wherein the second prompt information is used to prompt the user that the user terminal will Resend the file download request to the server after a preset time period.
  • the user terminal when the user terminal receives the error code information sent by the server as specified information, it can output the second prompt information, and at the same time start a timing task, and the timing task is used to instruct the user terminal to wait for a preset period of time
  • Resending the file download request to the server means that the user terminal may send the file download request to the server every preset time period, wherein the preset time period may be fixed. For example, the user terminal may send a file download request to the server every 30 minutes.
  • the preset time period can also be constantly changing, that is, the preset time period is set based on the currently sent file download request, for example, the preset time period can increase as the number of times the file download request is sent increases
  • the preset time period may decrease as the number of times the file download request is sent increases. For example, if a file download request is sent once, the preset time period can be increased by 10 minutes.
  • the time interval between the time for sending the file download request for the first time and the time for sending the file download request for the second time can be 30 minutes, and the time for sending the file download request for the second time
  • the time interval between sending the file download request for the third time can be 40 minutes, and so on.
  • the specific value of the preset time period is not explicitly limited here and can be selected according to the actual situation.
  • a file management method proposed in the embodiment of this application can improve the effectiveness of file management to a certain extent by triggering the download retry operation when receiving the error code information sent by the server as specified information.
  • the user terminal can Sending a file download request to the server, the server is used to send the configuration file of the subscriber identification card of the user terminal to the user terminal based on the file download request, and then when the user terminal determines that the error code information sent by the server is specified information, it can trigger the download to repeat A trial operation, wherein the download retry operation includes sending a file download request to the server, and the specified information is used to indicate that the server has not generated the configuration file.
  • the application determines that the error code information is specified information, by introducing a download retry operation to a certain extent, unnecessary notification information can be avoided from affecting the user's normal use of the terminal, thereby improving the user experience.
  • the file management method may include steps S301 to S303.
  • Step S301 Send a file download request to a server, and the server is configured to send the configuration file of the user identification card of the user terminal to the user terminal based on the file download request.
  • Step S302 if it is received that the error code information sent by the server is specified information, obtain the sending times of the file download request.
  • this embodiment of the present application can obtain the number of times the file download request is sent, and the number of times the file download request is sent can be the number of times the user terminal is executing the current The total number of file download requests sent to the server during the file download operation.
  • the specified information is mainly used to indicate that the server has not generated a configuration file, that is, when the error code information received by the user terminal is the error code information that the server has not generated a configuration file, the embodiment of the present application can trigger a download retry Operation, where the specified information can be Subject Code: 8.2; Reason Code: 1.2; Description: Profile has not yet been released.
  • the user terminal can determine whether the sending times are less than the preset times, if the sending times are less than the preset times, trigger the download retry operation, and update the The number of times of sending, until the number of times of sending is greater than or equal to the preset number of times, or until the configuration file sent by the server is received, that is, enter step S303.
  • Step S303 If the sending times are less than the preset times, trigger the download retry operation, and update the sending times until the sending times are greater than or equal to the preset times, or until receiving the configuration file.
  • the download retry operation may be triggered, and the number of sending times may be updated until the number of sending times is greater than or equal to the preset number of times, or the user terminal receives the file download request sent by the server. configuration file.
  • the download retry operation is triggered, that is, the file download request is resent to the server.
  • the number of times is updated to 2.
  • the download retry operation is triggered again, that is, the third Send the file download request to the server once, the number of file download requests at this time is updated to 3 times, until the number of times the file download request is sent is greater than or equal to the preset number of times, then the sending of the file download request is stopped.
  • the preset number of times may be preset by the user terminal before leaving the factory, or may be obtained according to the usage habits of the user corresponding to the user terminal, or may be obtained according to the current network information of the user terminal.
  • the embodiment of the present application may first obtain the duration of the user terminal corresponding to the user's use of the terminal, and determine whether the duration is less than the preset duration.
  • the preset number of times is set as the first number, otherwise, the preset number of times is set as the second number, wherein the first number is greater than the second number, for example, the second number can be the default number of times, the first number Can be a target count, which is greater than the default count.
  • the target number of times is 6, the default number of times is 4, and the user usually uses the user terminal for a short period of time (that is, the usage time is less than the preset time), then the preset number of times can be set to 6 times, or more. How to set the preset number of times is not explicitly limited here, and can be selected according to the actual situation.
  • the embodiment of the present application may first obtain the current network signal strength of the user terminal, and determine whether the network signal strength is less than the preset signal strength, and if it is smaller, the preset Set the number of times as the first number, otherwise, set the preset number of times as the second number, wherein the first number is greater than the second number.
  • the second number of times is 4 times, and the signal strength of the current environment of the user terminal is poor, and it is impossible to make a call normally, that is, it is impossible to normally seek help from the operator's customer.
  • the preset number of times can be set to the first number, that is, 6 times.
  • the user terminal may output first prompt information, wherein the first prompt information may be used to prompt the user that the download of the configuration file fails.
  • the user terminal may also output the reason for the failure of the download.
  • the user may output the reason for the failure of the configuration file download.
  • the configuration file corresponding to the user identification card of the terminal, and at the same time, the embodiment of the present application can also notify the user to contact the operator through the first prompt message, so as to quickly and effectively solve the problem of download failure.
  • this embodiment of the present application may also obtain the number of times the file download request is sent within the specified time period, and determine whether the number of times the file download request is sent within the specified time period Less than the preset number of times, if it is determined that the number of times the file download request is sent within the specified time period is less than the preset number of times, the download retry operation will be triggered, and the number of sending times will be updated until the number of sending times is greater than or equal to the preset number of times, or the specified time period is exceeded, Or until the configuration file sent by the server is received, the solution of this embodiment ends.
  • the start time of the specified time period may be the time when the error code information sent by the server is received as the specified information, that is, when the error code information sent by the server is received as the specified information, the user terminal can start a timing task, and the timing task It can be started by the android system interface of the user terminal, Alarm manager.
  • the specified time period can be adjusted according to the actual test situation.
  • the user terminal can also determine whether the number of times the file download request is sent within the specified time period is less than The preset number of times, if it is less than, trigger the download retry operation, and update the sending times until the sending times are greater than or equal to the preset times, or exceed the specified time period, or until the configuration file sent by the server is received.
  • the embodiment of the present application may output first prompt information, wherein the first prompt information is used to prompt the user to configure the file download failed.
  • the user terminal when the user terminal outputs the first prompt information, it may also output the reason for the failure of the download. Specifically, the user may output the reason for the failure of the configuration file download. configuration file, and at the same time, the embodiment of the present application can also notify the user to contact the operator through the first prompt message, so as to quickly and effectively solve the problem of download failure.
  • a file management method proposed in the embodiment of this application can improve the effectiveness of file management to a certain extent by triggering the download retry operation when receiving the error code information sent by the server as specified information.
  • the user terminal can Sending a file download request to the server, the server is used to send the configuration file of the subscriber identification card of the user terminal to the user terminal based on the file download request, and then when the user terminal determines that the error code information sent by the server is specified information, it can trigger the download to repeat A trial operation, wherein the download retry operation includes sending a file download request to the server, and the specified information is used to indicate that the server has not generated the configuration file.
  • the embodiment of the present application determines whether to end the repeated sending of the file download request by acquiring the number of times the file download request is sent, which not only improves the efficiency of file acquisition, but also does not affect the normal use of the terminal by the user.
  • the file management method may include steps S401 to S405.
  • Step S401 Receive the activation code sent by the operator's server.
  • the activation code may be a code value generated by the operator server based on the registration information when receiving the registration information sent by the user terminal, where the registration information may include the chip identification (EID) corresponding to the user terminal and the registration information. request etc.
  • the operator server is mainly used to handle different services for different users, and can generate an activation code correspondingly when receiving the user identification card, user number, etc. sent by the user terminal. After receiving the activation code sent by the merchant server, it can store the activation code.
  • the activation code may be a code value generated by the operator server based on the registration information when it receives the registration information sent by the user terminal, or it may be an identity/chip identification corresponding to the operator server combined with the user identification card, The code value generated comprehensively by user account, password, user number, etc.
  • Step S402 Generate the file download request based on the activation code, and the file download request is used to instruct the server to obtain a configuration file corresponding to the activation code.
  • the user terminal can detect whether a download instruction input by the user is received, and if the download instruction input by the user is received, a file download request can be generated, and the file download request can include an activation code. code.
  • the file download request is used to instruct the server to acquire the configuration file corresponding to the activation code.
  • Step S403 Send a file download request to a server, and the server is configured to send the configuration file of the user identification card of the user terminal to the user terminal based on the file download request.
  • Step S404 if it is received that the error code information sent by the server is specified information, obtain the sending times of the file download request.
  • Step S405 If the sending times are less than the preset times, trigger the download retry operation, and update the sending times until the sending times are greater than or equal to the preset times, or until receiving the configuration file.
  • triggering the download retry operation may include steps as shown in FIG. 5 .
  • step S405 may include steps S4051 to S4052.
  • Step S4051 If it is received that the error code information sent by the server is designated information, then determine whether the activation code is still valid.
  • whether the activation code is valid may include whether the activation code exists, whether the activation code remains unchanged, etc. If the activation code has not been deleted and remains unchanged, the download retry operation may be triggered and the described The number of times of sending until the number of times of sending is greater than or equal to the preset number of times, or until the configuration file sent by the server is received, that is, enter step S4052.
  • Step S4052 If the activation code is still valid, trigger the download retry operation, and update the sending times until the sending times are greater than or equal to the preset times, or until the configuration file sent by the server is received .
  • the embodiment of the present application when the error code information sent by the server is received as specified information, and the activation code is determined to be valid, the embodiment of the present application may trigger the download retry operation, and update the sending times until the sending times greater than or equal to the preset number of times, or until the configuration file sent by the server is received, so that the finally obtained configuration file can be more accurate.
  • the embodiment of the present application can cancel the download retry operation, that is, after receiving the error code information sent by the server as specified information, and the activation code is deleted, the download retry operation is cancelled.
  • Trial operation or the error code information sent by the server is received as the specified information, and the activation code changes, cancel the download and retry operation, and the reason for the change of the activation code may be that the user has re-applied eSIM at the operator. business.
  • the user terminal may also first determine whether the number of times the file download request is sent within the specified time period is less than the preset number of times, and if it is less than the preset number of times, it may determine whether the activation code is still valid within the specified time period, If the activation code is still valid within the specified time period, a download retry operation is triggered. In addition, if the activation code is invalid within the specified time period, the download retry operation is canceled.
  • the user terminal when receiving the error code information sent by the server as specified information, the effectiveness of file management can be improved to a certain extent by triggering the download retry operation.
  • the user terminal can Sending a file download request to the server, the server is used to send the configuration file of the subscriber identification card of the user terminal to the user terminal based on the file download request, and then when the user terminal determines that the error code information sent by the server is specified information, it can trigger the download to repeat A trial operation, wherein the download retry operation includes sending a file download request to the server, and the specified information is used to indicate that the server has not generated the configuration file.
  • the embodiment of the present application can make the download of the configuration file more accurate and effective by determining the validity of the activation code, that is, avoid invalid downloading of the configuration file caused by the failure of the activation code.
  • the embodiment of the present application proposes a file management apparatus 600, which can be applied to a user terminal.
  • the file management device 600 includes: a sending module 601 and a retrying module 602 .
  • the sending module 601 is configured to send a file download request to a server, and the server is configured to send the configuration file of the user identification card of the user terminal to the user terminal based on the file download request.
  • the file management device 600 is also configured to receive the activation code sent by the operator server, the activation code is generated based on the registration information when the operator server receives the registration information sent by the user terminal code value; generating the file download request based on the activation code, where the file download request is used to instruct the server to obtain a configuration file corresponding to the activation code.
  • the file management apparatus 600 is further configured to cancel the download retry operation if the activation code is invalid.
  • the retry module 602 is configured to trigger a download retry operation if the error code information sent by the server is received as specified information, the download retry operation includes sending the file download request to the server, and the specified Information used to characterize that the server did not generate the configuration file.
  • the retry module 602 may include an acquiring unit 6021 and an updating unit 6022 .
  • the obtaining unit 6021 is configured to obtain the sending times of the file download request if the error code information sent by the server is received as specified information.
  • An updating unit 6022 configured to trigger the download retry operation if the number of times of sending is less than a preset number of times, and update the number of times of sending until the number of times of sending is greater than or equal to a preset number of times, or until the number of times of sending is received Configuration file sent by the server.
  • the retry module 602 is further configured to output first prompt information if the sending times are greater than or equal to the preset times, and the first prompt information is used to prompt the user that the download of the configuration file fails.
  • the retry module 602 is also used to obtain the number of times the file download request is sent within the specified time period if the error code information sent by the server is received as specified information; if the number of times the file download request is sent within the specified time period is less than preset times, trigger the download retry operation, and update the sending times until the sending times are greater than or equal to the preset times, or exceed the specified time period, or until the configuration file sent by the server is received.
  • the retry module 602 is also configured to output first prompt information if the number of times the file download request is sent within the specified time period is greater than or equal to the preset number, or exceeds the specified time period, and the first prompt information is used to prompt The download of the configuration file described by the user failed.
  • the retry module 602 is also configured to output second prompt information and trigger a download retry operation if the error code information sent by the server is received as specified information, and the second prompt information is used to prompt the user The user terminal will resend the file download request to the server after a preset time period.
  • the user identification card of the user terminal includes an embedded client identification card.
  • each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.
  • a file management device proposed in the embodiment of this application, when the application receives the specified information from the server, the effectiveness of file management can be improved to a certain extent by triggering the download retry operation.
  • the user The terminal can send a file download request to the server, and the server is used to send the configuration file of the user identification card of the user terminal to the user terminal based on the file download request, and then when the user terminal determines that the error code information sent by the server is specified information, it can trigger A download retry operation, wherein the download retry operation includes sending a file download request to a server, and the specified information is used to indicate that the server has not generated the configuration file.
  • the application determines that the error code information is specified information, by introducing a download retry operation to a certain extent, unnecessary notification information can be avoided from affecting the user's normal use of the terminal, thereby improving the user experience.
  • FIG. 8 shows a structural block diagram of an electronic device 800 provided by an embodiment of the present application.
  • the electronic device 800 may be an electronic device capable of running application programs, such as a smart phone, a tablet computer, and an e-book.
  • the electronic device 800 in this application may include one or more of the following components: a processor 810, a memory 820, and one or more application programs, wherein one or more application programs may be stored in the memory 820 and configured to be used by One or more processors 810 are executed, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • Processor 810 may include one or more processing cores.
  • the processor 810 uses various interfaces and lines to connect various parts in the entire electronic device 800, and executes or executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 820, and calling data stored in the memory 820.
  • the processor 810 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 810 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a voiceprint recognizer (Graphics Processing Unit, GPU) and a modem.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used to render and draw the displayed content
  • the modem is used to handle wireless communication. It can be understood that the above modem may also not be integrated into the processor 810, but implemented by a communication chip alone.
  • the memory 820 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory). Memory 820 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 820 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the storage data area can also store data created by the electronic device 800 during use (such as phonebook, audio and video data, chat record data) and the like.
  • FIG. 9 shows a structural block diagram of a computer-readable storage medium 900 provided by an embodiment of the present application.
  • Program codes are stored in the computer-readable storage medium 900, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
  • the computer readable storage medium 900 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 900 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium).
  • the computer-readable storage medium 900 has a storage space for program code 910 for executing any method steps in the above method embodiments. These program codes can be read from or written into one or more computer program products.
  • Program code 910 may, for example, be compressed in a suitable form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请公开了一种文件管理方法、装置、电子设备和可读存储介质,属于移动通讯技术领域。所述方法应用于用户终端,该方法包括:向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终端的用户识别卡的配置文件;若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,所述下载重试操作包括发送所述文件下载请求至所述服务器,所述指定信息用于表征所述服务器未生成所述配置文件。本申请通过引入重试操作可以提高获取配置文件的有效性。

Description

文件管理方法、装置、电子设备和可读存储介质
相关申请的交叉引用
本申请要求于2021年06月16日提交中国专利局的申请号为202110668185.3、名称为“文件管理方法、装置、电子设备和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中
技术领域
本申请涉及移动通讯技术领域,更具体的,涉及一种文件管理方法、装置、电子设备和可读存储介质。
背景技术
在移动蜂窝网络通信中,运营商普遍使用的SIM(Subscriber Identification Module,SIM,客户识别模块)卡作为移动通信的用户鉴权信息载体,随着物联网市场的发展,对SIM卡提出了新的工艺要求,以及迁移灵活性要求,传统的SIM卡已经不能满足人们对移动终端的需求。
在此背景下诞生了eSIM(embedded Subscriber Identification Module,嵌入式客户端识别模块)技术,eSIM是将移动运营商的客户识别信息写入嵌入式通用集成电路卡(embedded Universal Integrated Circuit Card,eUICC),并固定在嵌入式移动终端上,eSIM支持远程配置写号,用户可以通过在线购买运营商套餐,以实现在线下载eSIM的配置文件(Profile)。可见,eSIM主要是将传统的SIM卡直接嵌入到设备芯片上,而不是作为独立的可移除零部件加入设备中,故使用eSIM卡可以为普通消费者和企业用户节省更多移动终端的使用成本,并提升移动终端的便利性和安全性,然而,eSIM卡的使用也存在着一些弊端,如配置文件的下载、激活等比较复杂。因此,如何更好的对eSIM卡对应的文件进行管理是亟待解决的技术问题。
发明内容
本申请提出了一种文件管理方法、装置、电子设备和可读存储介质,以改善上述缺陷。
第一方面,本申请实施例提供了一种文件管理方法,应用于用户终端,所述方法包括:向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终 端的用户识别卡的配置文件;若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,所述下载重试操作包括发送所述文件下载请求至所述服务器,所述指定信息用于表征所述服务器未生成所述配置文件。
第二方面,本申请实施例还提供了一种文件管理装置,所述装置应用于用户终端,所述装置包括:发送模块和重试模块。其中,发送模块,用于向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终端的用户识别卡的配置文件。重试模块,用于若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,所述下载重试操作包括发送所述文件下载请求至所述服务器,所述指定信息用于表征所述服务器未生成所述配置文件。
第三方面,本申请实施例还提供了一种电子设备,包括一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述方法。
第四方面,本申请实施例还提供了一种计算机可读介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。
本申请实施例的其他特征和优点将在随后的说明书阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请实施例而了解。本申请实施例的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了一种文件管理系统的结构示意图;
图2示出了本申请一个实施例提供的文件管理方法的方法流程图;
图3示出了本申请另一个实施例提供的文件管理方法的方法流程图;
图4示出了本申请又一个实施例提供的文件管理方法的方法流程图;
图5示出了本申请又一个实施例提供的文件管理方法中步骤S405的步骤流程图;
图6示出了本申请实施例提供的文件管理装置的结构框图;
图7示出了本申请实施例提供的文件管理装置中重试模块602的结构框图;
图8示出了本申请实施例提供的电子设备的结构框图;
图9示出了本申请实施例提供的用于保存或者携带实现根据本申请实施例的文件管理方法的程序代码的存储单元。
具体实施方式
下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述 和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
目前在运营商处办理业务时,移动终端通常会获取到一个激活码,且每个激活码会对应一个配置文件(Profile),其中,激活码用于在运营商对应的服务器上进行鉴权,并在鉴权成功之后触发对配置文件的下载。具体的,移动终端可以在运营商处办理eSIM相关业务,并在办理成功后可以获取到一个激活码,而后移动终端可以基于该激活码从服务器处下载配置文件。然而,用户在运营商处成功办理相关业务之后,服务器生成配置文件时可能会存在延时问题,即无法及时生成配置文件,如此会导致移动终端在下载配置文件时存在失败的情况。在这种情况下,现有技术用户终端需要重复触发下载流程,并且配置文件生成的延时可能会很久,其在一定程度上会影响用户正常使用移动终端。
针对上述问题,发明人提出了本申请实施例提供的文件管理方法、装置电子设备以及存储介质,在接收到服务器发送的错误码信息为指定信息时,通过触发下载重试操作在一定程度上可以提高文件管理的有效性,具体的,用户终端可以向服务器发送文件下载请求,该服务器用于基于文件下载请求向用户终端发送用户终端的用户识别卡的配置文件,而后当用户终端确定服务器发送的错误码信息是指定信息时,其可以触发下载重试操作,其中,下载重试操作包括发送文件下载请求至服务器,而指定信息用于表征所述服务器未生成所述配置文件。本申请在确定错误码信息为指定信息时,通过引入下载重试操作在一定程度上可以避免不必要通知信息影响用户正常使用终端,进而可以提高用户的使用体验。其中,具体的文件管理方法在后续的实施例中进行详细的说明。
图1是根据一示例性实施例示出的一种文件管理系统的结构示意图。该系统包括用户终端101、第一服务器102以及第二服务器103,其中,第一服务器102和第二服务器103可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)、以及大数据和人工智能平台等基础云计算服务的云服务器。
在一些实施方式中,第一服务器102也可以称作是eSIM服务器,且所述第一服务器102可以是SM-DP+服务器(Subscription Manager-data Preparation Plus Server,签约管理-数据准备增强服务器),SM-DP+服务器用于生成eSIM配置文件,并将其生成的配置文件发送给用户终端101,即第一服务器102用于准备、存储配置文件包并将配置文件提供给设备的远程服务。另外,第一服 务器102也可以用于鉴权,即当第一服务器102接收到用户终端101发送的激活码获取文件下载请求等时,其可以先对激活码或者文件下载请求等进行鉴权,并在鉴权通过之后才允许将其生成的配置文件发送至用户终端101。
在另一些实施方式中,第二服务器103可以称作是运营商服务器,第二服务器103可以是面向资源(网络、设备、计算机系统)的后台支撑系统,其可以包括专业网络管理系统、资源管理系统、专业开通系统、服务保障系统等,为网络可靠安全和稳定运行提供支撑手段。第二服务器103可以接收用户终端101发送的终端信息,并基于该终端信息生成激活码,最后第二服务器103可以将其生成的激活码发送至用户终端103。
本申请实施例中,用户终端101可以是电子设备,该电子设备可以是蜂窝电话、智能电话、智能音箱、智能手表、便携式电脑、手持通信设备、手持计算设备、卫星无线电装置、全球定位系统、掌上电脑(Personal Digital Assistant,PDA)和/或用于在无线通信系统100上通信的任意其它适合设备等,但并不局限于此。第一服务器102、第二服务器103以及用户终端101之间可以通过有线网络或无线网络的通信方式进行直接或间接地连接,本申请在此不做限制。
可选的,上述的无线网络或有线网络使用标准通信技术和/或协议。网络通常为因特网、但也可以是任何网络,包括但不限于局域网(Local Area Network,LAN)、城域网(Metropolitan Area Network,MAN)、广域网(Wide Area Network,WAN)、移动、有线或者无线网络、专用网络或者虚拟专用网络的任何组合。在一些实施例中,使用包括超文本标记语言(Hyper Text Mark-up Language,HTML)、可扩展标记语言(Extensible Markup Language,XML)等的技术和/或格式来代表通过网络交换的数据。此外还可以使用诸如安全套接字层(Secure Socket Layer,SSL)、传输层安全(Transport Layer Security,TLS)、虚拟专用网络(Virtual Private Network,VPN)、网际协议安全(Internet Protocol Security,IPsec)等常规加密技术来加密所有或者一些链路。在另一些实施例中,还可以使用定制和/或专用数据通信技术取代或者补充上述数据通信技术。
请参阅图2,图2示出了本申请一个实施例提供的文件管理方法的流程示意图。在具体的实施例中,所述文件管理方法应用于如图6所示的文件管理装置600以及应用于如图8所示的电子设备810。下面将针对图2所示的流程进行详细的阐述,所述文件管理方法具体可以应用于用户终端,该方法可包括步骤201至步骤S202。
步骤S201:向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终端的用户识别卡的配置文件。
本申请实施例中,用户终端可以向服务器发送文件下载请求,其中,服务器用于基于文件下载请求向用户终端发送用户终端的用户识别卡的配置文件。文件下载请求可以是用户终端在接收到用户输入的下载指令之后生成的,即在向服务器发送文件下载请求之前,用户终端可以检测是否接收到用户输入的下载指令,所述下载指令用于指示用户终端获取配置文件。当用户终端接收到用户输入的下载指令时,其可以先检测用户终端中是否存储有所述用户终端的用户识别卡的配置文件,如果存储有,则可以提示用户配置文件已下载。
在另一些实施方式中,文件下载请求也可以是用户终端自动触发的请求。具体的,文件下载请求可以是用户终端在接收到服务器发送的激活码时自动触发的请求,也可以是用户终端在接收到服务器发送的激活码之后的预设时长后自动触发的请求,或者也可以是用户终端在本次接收到服务器发送的激活码之后,检测到用户输入的首个操作指令时触发的请求。其中,首个操作指令可以是点击、滑动等指令。
作为一种方式,用户终端的用户识别卡可以包括嵌入式客户端识别卡(eSIM卡),eSIM卡是一种可编程SIM卡,其配置文件(Profile)出厂后可编辑,eSIM卡支持通过空中下载技术(Over-The-Air technology,OTA)对eUICC卡进行远程配置,实现配置文件(Profile)的下载、安装、激活、去激活及删除,从而实现灵活选择多家运营商,可应用于终端出厂后批量业务开通、业务到期后续约、改变签约以及在漫游时变更运营商等场景。其中,配置文件(Profile)包含用户识别信息,所述用户识别信息可以包括用户身份、认证参数、运营商定制参数和业务签约信息等。另外,配置文件的下载需要遵守GSMA(Global System for Mobile Communications Association,全球移动通信协会)的SGP协议。
在一些实施方式中,如果用户终端中未存储有用户识别卡的配置文件,本申请实施例则可以生成文件下载请求,并将用户终端生成的文件下载请求发送至服务器,并指示服务器基于该文件下载请求向用户终端发送用户终端的用户识别卡的配置文件,其中,配置文件可以是服务器在接收到运营商服务器发送的通知信息之后生成的文件,通知信息可以包括用户终端的eUICC芯片标识(eUICC Identification,EID),也可以包括运营商服务器生成的eSIM卡数据,所述eSIM卡数据可以包括集成电路卡识别码(Integrate Circuit Card Identity,ICCID)等等。
在一些实施方式中,服务器可以是SM-DP+服务器,SM-DP+服务器主要用于生成eSIM配置文件,并将其生成的配置文件发送给用户终端,即SM-DP+服务器用于准备、存储配置文件包并将配置文件提供给设备的远程服务。另外,SM-DP+服务器也可以用于鉴权,即当用户终端将文件下载请求发送至SM-DP+服务器时,其可以指示SM-DP+服务器先对用户终端发送的所述文件下载请求进行鉴权,并在鉴权通过之后才允许将其生成的配置文件发送至用户终端。因此,本申请实施例中的服务器可以是签约关系管理数据准备平台,其主要用于为用户终端的通信模块提供配置文件数据下载服务。
在一个具体的实施方式中,用户终端可以包括eSIM本地配置文件助手(Local Profile Assistant,LPA)服务模块,LPA是一款独立的系统应用,eSIM服务器上的配置文件通常是由LPA进行管理,具体的,用户终端可以通过LPA对配置文件进行下载、激活以及删除等操作。
可选的,本申请实施例可以利用LPA将配置文件下载到用户终端的eSIM卡中,LPA通常可以包括3个部分,这3个部分分别是本地发现服务(Local Discovery Service,LDS)、本地配置文件下载(Local Profile Download,LPD)以及本地用户交互界面(Local User Interface,LUI)。因此,LDP主要作用是从服务器(SM-DS+服务器)获取服务器(SM-DS+服务器)登记的关于eUICC的事件记录,LPA作为eUICC与服务器(SM-DS+服务器)之间的代理,其可以从服务器(SM-DS+ 服务器)获取配置文件的数据包,再将配置文件的数据包转移到eUICC中面向用户提供配置文件管理的功能,具体的,管理操作可以包括配置文件的激活、去激活、删除等。
本申请实施例中,用户终端的用户识别卡可以是嵌入式用户识别卡,该用户识别卡可以是利用空中下载技术对用户终端的嵌入式通用集成电路卡进行远程配置获取的识别卡,其中,远程配置可以包括配置文件的下载、安装、激活、去激活以及删除等。另外,不同的用户终端其对应的嵌入式通用集成电路卡的芯片标识(eUICC Identification,EID)也不相同,EID也可以称作是用户终端的身份标识。
在一些实施方式中,用户终端向服务器发送文件下载请求之后,其可以检测是否接收到服务器发送的数据信息,如果接收到服务器发送的数据信息,则确定该数据信息是否包括配置文件,如果该数据信息包括配置文件,则表示文件下载请求得到成功响应,即配置文件下载成功。另外,如果该数据信息未包括配置文件,则用户终端可以确定该数据信息是否包括错误码信息,如果数据信息包括错误码信息,本申请实施例则可以继续确定该错误码信息是否为指定信息,如果用户终端接收到服务器发送的错误码信息为指定信息,则触发下载重试操作,即进入步骤S202。
在另一些实施方式中,如果用户终端接收到服务器发送的错误码信息不是指定信息,本申请实施例则可以输出第一提示信息,通过该第一提示信息提示用户配置文件下载失败,其中,指定信息用于表征服务器未生成配置文件。并且,本申请实施例也可以提示用户导致配置文件下载失败的事件或者操作不是指定信息对应的事件或者操作。
综上所述,用户终端接收到服务器发送的错误码信息时,其可以先确定错误码信息是否为指定信息,如果是,则触发下载重试操作,如果不是,则输出第三提示信息,该第三提示信息用于提示用户该用户终端接收到的错误码信息是第二信息,第二信息可以用于表示导致文件下载失败的原因非服务器未生成所述配置文件,也即表示导致文件下载失败的原因为第二原因。其中,第二原因可以是用户终端之前已成功执行过配置文件下载操作,并且在其获取到配置文件之后接收到用户输入的删除操作,即用户终端已成功接收配置文件并且该配置文件被删除,此时再次向服务器发送文件下载请求,便会发生配置文件下载失败的可能。
另外,第二原因也可能是用户终端的身份标识与预设身份标识不匹配,其中,预设身份标识是与配置文件绑定的用户终端的芯片标识,即用户终端在办理eSIM业务时,用户终端的身份标识会与配置文件进行绑定,若当前触发配置文件下载的用户终端的身份标识与服务器保存的身份标识不一致,则会导致配置文件下载失败。
需要说明的是,导致配置文件下载失败的原因不同,则对应的错误码也不相同,其中,错误码可以包括错误码的大类(Subject Code)、错误码的小类(Reason Code)以及错误码的描述(Description)等。例如,导致配置文件下载失败的原因是服务器处并未生成配置文件时,其对应的错误码则是—Subject Code:8.2;Reason Code:1.2;Description:Profile has not yet been released。
步骤S202:若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作。
本申请实施例中,当用户终端接收到服务器发送的错误码信息时,本申请实施例可以触发下 载重试操作,其中,指定信息用于表征服务器未生成配置文件,即指定信息可以是服务器未生成用户终端发送的用户终端的用户识别卡的配置文件的情形。另外,服务器未生成配置文件可以是服务器未开始执行配置文件生成操作,也可以是正在执行生成配置文件的操作但是未完成该操作。
在一个实施方式中,下载重试操作可以包括发送文件下载请求至服务器,具体的,当用户终端第一次向服务器发送文件下载请求之后,其可以确定是否接收到服务器发送的错误码信息,如果接收到服务器发送的错误码信息,则确定该错误码信息是否为指定信息,若为指定信息,用户终端可以第二次向服务器发送文件下载请求;如果接收到服务器发送的错误码信息不是指定信息,用户终端则可以输出第三提示信息,通过该第三提示信息提示用户配置文件下载失败,且导致此次配置文件下载失败的原因不包括错误码为指定信息的情形,即导致配置文件下载失败的原因为第二原因。
在另一些实施方式中,触发下载重试操作也可以称作是触发下载重试机制,所述下载重试机制用于在确定服务器发送的错误码信息为指定信息时,重复多次发送文件下载请求至服务器。
需要说明的是,用户终端在将文件下载请求发送至服务器时,其可以指示服务器先执行鉴权操作,当鉴权操作通过之后,再指示服务器获取与文件下载请求对应的配置文件。其中,鉴权操作主要作用是对文件下载请求的合法性进行认证,所述合法性认证可以包括对用户终端的设备标识进行认证、对用户终端的账号进行认证或者对用户终端发送的密码进行认证等。
作为另一种实施方式,当下载重试操作被触发时,用户终端可以再次发送文件下载请求至服务器,在此过程中,用户终端可以指示服务器先执行鉴权操作,当鉴权操作通过之后,再指示服务器获取与文件下载请求对应的配置文件。在本申请实施方式中,只要用户终端发送一次文件下载请求,其便可以指示服务器执行一次鉴权操作,且只有鉴权操作通过之后,用户终端才可以指示服务器获取配置文件,如此可以使配置文件的获取更加安全。
作为另一种方式,若接收到服务器发送的错误码信息为指定信息,则触发下载重试操作,并且,当下载重试操作触发时,用户终端可以再次发送文件下载请求至服务器,在此过程中,用户终端可以指示服务器直接获取与文件下载请求对应的配置文件,因为服务器在接收到用户终端发送的第一个文件下载请求时,已执行过鉴权操作,故当下载重试操作被触发,并重新发送文件下载请求时,用户终端可以直接指示服务器获取与文件下载请求对应的配置文件,如此可以加快配置文件获取的速度。
作为另一种方式,若接收到服务器发送的错误码信息为指定信息,则触发下载重试操作,并且,当下载重试操作被触发时,用户终端可以确定当前时间与前一次发送文件下载请求时间的差值,并确定该差值是否小于预设时间差,如果该差值差小于预设时间差,用户终端则可以指示服务器直接获取与文件下载请求对应的配置文件。如果当前时间与前一次发送文件下载请求时间的差值大于或者等于预设时间差,用户终端则可以指示服务器先执行鉴权操作,当鉴权操作通过之后再指示服务器获取与文件下载请求对应的配置文件。如此,不仅可以加快配置文件获取的速率,同时可以保证配置文件的安全性。
在一些实施方式中,若接收到服务器发送的错误码信息为指定信息,用户终端则可以输出第二提示信息,且触发下载重试操作,其中,第二提示信息用于提示用户用户终端将在预设时间段之后重新发送文件下载请求至服务器。换句话说,用户终端在接收到服务器发送的错误码信息为指定信息时,其可以输出第二提示信息,同时可以开启一个定时任务,所述定时任务用于指示用户终端延迟预设时间段后重新发送文件下载请求至服务器,即用户终端可以每隔预设时间段发送一次文件下载请求至服务器,其中,预设时间段可以是固定不变的。例如,用户终端可以每间隔30min向服务器发送一次文件下载请求。
另外,预设时间段也可以是不断变化的,即预设时间段基于当前已发送的文件下载请求设置,示例性地,预设时间段可以随着文件下载请求的发送次数的增加而增大,当然,预设时间段可以随着文件下载请求的发送次数的增加而降低。例如,发送一次文件下载请求,则预设时间段可以增加10min,第一次发送文件下载请求的时间与第二次发送文件下载请求的时间间隔可以是30min,第二次发送文件下载请求的时间和第三次发送文件下载请求的时间间隔可以是40min,以此类推,预设时间段具体取值在此不进行明确限制可以根据实际情况进行选择。
本申请实施例提出的一种文件管理方法,在接收到服务器发送的错误码信息为指定信息时,通过触发下载重试操作在一定程度上可以提高文件管理的有效性,具体的,用户终端可以向服务器发送文件下载请求,该服务器用于基于文件下载请求向用户终端发送用户终端的用户识别卡的配置文件,而后当用户终端确定服务器发送的错误码信息是指定信息时,其可以触发下载重试操作,其中,下载重试操作包括发送文件下载请求至服务器,而指定信息用于表征所述服务器未生成所述配置文件。本申请在确定错误码信息为指定信息时,通过引入下载重试操作在一定程度上可以避免不必要通知信息影响用户正常使用终端,进而可以提高用户的使用体验。
本申请另一实施例提供了一种文件管理方法,请参阅图3,该文件管理方法可以包括步骤S301至步骤S303。
步骤S301:向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终端的用户识别卡的配置文件。
步骤S302:若接收到所述服务器发送的错误码信息为指定信息,则获取文件下载请求的发送次数。
在一些实施方式中,如果接收到服务器发送的错误码信息为指定信息,本申请实施例则可以获取文件下载请求的发送次数,所述文件下载请求的发送次数可以是所述用户终端在执行当前文件下载操作过程中向服务器发送文件下载请求总的次数。通过上述介绍可以知道,指定信息主要用于表征服务器未生成配置文件,即当用户终端接收到的错误码信息为服务器未生成配置文件的错误码信息时,本申请实施例则可以触发下载重试操作,其中,指定信息可以为Subject Code:8.2;Reason Code:1.2;Description:Profile has not yet been released。
本申请实施例中,在获取到文件下载请求的发送次数之后,用户终端可以确定所述发送次数是否小于预设次数,如果发送次数小于预设次数,则触发下载重试操作,并更新所述发送次数, 直至所述发送次数大于或者等于预设次数,或者直至接收到所述服务器发送的配置文件,即进入步骤S303。
步骤S303:若所述发送次数小于预设次数,则触发所述下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者直至接收到所述服务器发送的配置文件。
本申请实施例中,如果文件下载请求的发送次数小于预设次数,则可以触发下载重试操作,并更新发送次数,直至发送次数大于或者等于预设次数,或者是用户终端接收到服务器发送的配置文件。作为一个示例,用户终端向服务器发送文件下载请求后,若接收到服务器发送的错误码信息为指定信息,则触发下载重试操作,即重新发送文件下载请求至服务器,此时的文件下载请求的次数更新为2,当用户终端第二次发送文件下载请求至服务器之后,继续检测接收到服务器发送的错误码信息是否为指定信息,如果为指定信息,则再次触发下载重试操作,即第三次发送文件下载请求至服务器,此时的文件下载请求的次数更新为3次,直至文件下载请求的发送次数大于或者等于预设次数,则停止文件下载请求的发送。
本申请实施例中,预设次数可以是用户终端在出厂前预先设置的,或者也可以是根据用户终端对应的用户的使用习惯获取的,或者也可以是根据用户终端当前的网络信息获取。作为一种方式,在确定发送次数小于预设次数时,本申请实施例可以先获取用户终端对应用户使用终端的时长,并确定该时长是否小于预设时长,如果小于预设时长,则可以将预设次数设置为第一次数,否则,将预设次数设置为第二次数,其中,第一次数大于第二次数,示例性地,该第二次数可以是默认次数,第一次数可以是目标次数,该目标次数大于默认次数。例如,目标次数为6,默认次数为4,用户平时使用用户终端的时长较短(即使用时长小于预设时长),此时则可以将预设次数设置为6次,或者是更多。具体如何设置预设次数这里不进行明确限制可以根据实际情况进行选择。
作为另一种方式,在确定发送次数小于预设次数时,本申请实施例可以先获取用户终端当前的网络信号强度,并确定网络信号强度是否小于预设信号强度,如果小于,则可以将预设次数设置为第一次数,否则,将预设次数设置为第二次数,其中,第一次数大于第二次数。例如,第二次数为4次,用户终端当前环境的信号强度较差,无法正常进行通话,即无法正常寻求运营商客户的帮助,此时则可以将预设次数设置为第一次数,即6次。
在另一些实施方式中,如果发送次数大于或者等于预设次数,用户终端则可以输出第一提示信息,其中,第一提示信息可以用于提示用户配置文件下载失败。另外,用户终端在输出第一提示信息时,也可以输出下载失败的原因,具体的,用户可以输出配置文件下载失败的原因,所述原因可以是经过多次重试之后服务器仍未生成该用户终端的用户识别卡对应的配置文件,同时本申请实施例也可以通过第一提示信息告知用户联系运营商,以此来快速有效的解决下载失败的问题。
在另一些实施方式中,如果接收到服务器发送的错误码为指定信息,本申请实施例也可以获取指定时间段内文件下载请求的发送次数,并确定指定时间段内文件下载请求的发送次数是否小 于预设次数,如果确定指定时间段内文件下载请求的发送次数小于预设次数,则触发下载重试操作,并更新发送次数,直至发送次数大于或者等于预设次数,或者超出指定时间段,或者直至接收到服务器发送的配置文件,则结束本实施例的方案。其中,指定时间段的起始时间可以是接收到服务器发送的错误码信息为指定信息的时间,即当接收到服务器发送的错误码信息为指定信息,用户终端可以开启一个定时任务,该定时任务可以由用户终端的android系统接口,Alarm manager开启。
本申请实施例中,指定时间段可以根据实际测试情况进行调整,在接收到服务器发送的错误码信息为指定信息时,用户终端也可以确定在该指定时间段内文件下载请求的发送次数是否小于预设次数,如果小于,则触发下载重试操作,并更新发送次数,直至发送次数大于或者等于预设次数,或者超出指定时间段,或者直至接收到服务器发送的配置文件。
另外,如果指定时间段内文件下载请求的发送次数大于或者等于预设次数,或者超出指定时间段,本申请实施例则可以输出第一提示信息,其中,第一提示信息用于提示用户配置文件下载失败。另外,用户终端在输出第一提示信息时,也可以输出下载失败的原因,具体的,用户可以输出配置文件下载失败的原因,所述原因可以是服务器未生成该用户终端的用户识别卡对应的配置文件,同时本申请实施例也可以通过第一提示信息告知用户联系运营商,以此来快速有效的解决下载失败的问题。
本申请实施例提出的一种文件管理方法,在接收到服务器发送的错误码信息为指定信息时,通过触发下载重试操作在一定程度上可以提高文件管理的有效性,具体的,用户终端可以向服务器发送文件下载请求,该服务器用于基于文件下载请求向用户终端发送用户终端的用户识别卡的配置文件,而后当用户终端确定服务器发送的错误码信息是指定信息时,其可以触发下载重试操作,其中,下载重试操作包括发送文件下载请求至服务器,而指定信息用于表征所述服务器未生成所述配置文件。本申请在确定错误码信息为指定信息时,通过引入下载重试操作在一定程度上可以避免不必要通知信息影响用户正常使用终端,进而可以提高用户的使用体验。另外,本申请实施例通过获取文件下载请求的发送次数来确定是否结束文件下载请求的重复发送,如此不仅可以提高文件获取的效率,同时不会影响用户正常使用终端。
本申请又一实施例提供了一种文件管理方法,请参阅图4,该文件管理方法可以包括步骤S401至步骤405。
步骤S401:接收运营商服务器发送的激活码。
本申请实施例中,激活码可以是运营商服务器在接收到用户终端发送的注册信息时基于所述注册信息产生的码值,其中,注册信息可以包括用户终端对应的芯片标识(EID)以及注册请求等。通过上述介绍可以知道,运营商服务器主要用于为不同的用户办理不同的业务,并且在接收到用户终端发送的用户识别卡、用户号码等时可以对应生成一个激活码,用户终端在获取到运营商服务器发送的激活码之后,其可以对该激活码进行存储。
作为一种方式,激活码可以是运营商服务器在接收到用户终端发送的注册信息时基于所述注 册信息产生的码值,也可以是运营商服务器结合用户识别卡对应的身份标识/芯片标识、用户账号、密码、用户号码等综合生成的码值。
步骤S402:基于所述激活码生成所述文件下载请求,所述文件下载请求用于指示所述服务器获取与所述激活码对应的配置文件。
本申请实施例中,在获取到激活码之后,用户终端可以检测是否接收到用户输入的下载指令,如果接收到用户输入的下载指令,则可以生成文件下载请求,所述文件下载请求可以包括激活码。其中,文件下载请求用于指示服务器获取与激活码对应的配置文件。
步骤S403:向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终端的用户识别卡的配置文件。
步骤S404:若接收到所述服务器发送的错误码信息为指定信息,则获取文件下载请求的发送次数。
步骤S405:若所述发送次数小于预设次数,则触发所述下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者直至接收到所述服务器发送的配置文件。
本申请实施例中,若接收到服务器发送的错误码信息为指定信息,则触发下载重试操作可以包括如图5所示的步骤,从图5可知步骤S405可以包括步骤S4051至步骤S4052。
步骤S4051:若接收到所述服务器发送的错误码信息为指定信息,则确定所述激活码是否依然有效。
本申请实施例中,激活码是否有效可以包括激活码是否存在、激活码是否保持不变等,如果激活码未被删除,且其保持不变,则可以触发下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者直至接收到所述服务器发送的配置文件,即进入步骤S4052。
步骤S4052:若所述激活码依然有效,则触发所述下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者直至接收到所述服务器发送的配置文件。
本申请实施例中,接收到服务器发送的错误码信息为指定信息,且确定激活码有效时,本申请实施例可以触发所述下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者直至接收到所述服务器发送的配置文件,如此可以使最终获取的配置文件更准确。另外,如果确定用户终端接收的激活码无效,本申请实施例则可以取消下载重试操作,即在接收到所述服务器发送的错误码信息为指定信息,且激活码被删除,则取消下载重试操作;或者是接收到所述服务器发送的错误码信息为指定信息,且激活码发生改变,则取消下载重试操作,导致激活码发生改变的原因可以是用户在运营商处重新办理eSIM相关业务。
在另一些实施方式中,用户终端也可以先确定指定时间段内文件下载请求的发送次数是否小于预设次数,如果小于预设次数,则可以确定指定时间段内所述激活码是否依然有效,若指定时间段内所述激活码依然有效,则触发下载重试操作。另外,如果指定时间段内激活码无效,则取消所述下载重试操作。
本申请实施例提出的一种文件管理方法,在接收到服务器发送的错误码信息为指定信息时, 通过触发下载重试操作在一定程度上可以提高文件管理的有效性,具体的,用户终端可以向服务器发送文件下载请求,该服务器用于基于文件下载请求向用户终端发送用户终端的用户识别卡的配置文件,而后当用户终端确定服务器发送的错误码信息是指定信息时,其可以触发下载重试操作,其中,下载重试操作包括发送文件下载请求至服务器,而指定信息用于表征所述服务器未生成所述配置文件。本申请在确定错误码信息为指定信息时,通过引入下载重试操作在一定程度上可以避免不必要通知信息影响用户正常使用终端,进而可以提高用户的使用体验。另外,本申请实施例通过确定激活码的有效性可以使配置文件的下载更加准确有效,即避免激活码失效而导致配置文件的无效下载。
请参阅图6,本申请实施例提出了一种文件管理装置600,该文件管理装置600可以应用于用户终端。在具体的实施例中,该文件管理装置600包括:发送模块601、和重试模块602。
发送模块601,用于向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终端的用户识别卡的配置文件。
进一步地,向服务器发送文件下载请求之前文件管理装置600还用于接收运营商服务器发送的激活码,所述激活码是运营商服务器在接收到所述用户终端发送的注册信息时基于注册信息产生的码值;基于所述激活码生成所述文件下载请求,所述文件下载请求用于指示所述服务器获取与所述激活码对应的配置文件。
进一步地,文件管理装置600还用于若所述激活码无效,则取消所述下载重试操作。
重试模块602,用于若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,所述下载重试操作包括发送所述文件下载请求至所述服务器,所述指定信息用于表征所述服务器未生成所述配置文件。
请参阅图7,重试模块602可以包括获取单元6021和更新单元6022。
其中,获取单元6021用于若接收到所述服务器发送的错误码信息为指定信息,则获取文件下载请求的发送次数。
更新单元6022,用于若所述发送次数小于预设次数,则触发所述下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者直至接收到所述服务器发送的配置文件。
进一步地,指定信息用于表征所述服务器未生成所述配置文件。重试模块602还用于若所述发送次数大于或者等于预设次数,则输出第一提示信息,所述第一提示信息用于提示用户所述配置文件下载失败。
进一步地,重试模块602还用于若接收到所述服务器发送的错误码信息为指定信息,则获取指定时间段内文件下载请求的发送次数;若指定时间段内文件下载请求的发送次数小于预设次数,则触发所述下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者超出指定时间段,或者直至接收到所述服务器发送的配置文件。
进一步地,重试模块602还用于若指定时间段内文件下载请求的发送次数大于或者等于预设 次数,或者超出指定时间段,则输出第一提示信息,所述第一提示信息用于提示用户所述配置文件下载失败。
进一步地,重试模块602还用于若接收到所述服务器发送的错误码信息为指定信息,则输出第二提示信息,且触发下载重试操作,所述第二提示信息用于提示用户所述用户终端将在预设时间段之后重新发送所述文件下载请求至所述服务器。
可选的,用户终端的用户识别卡包括嵌入式客户端识别卡。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
本申请实施例提出的一种文件管理装置,本申请在接收到服务器发送的错误码信息为指定信息时,通过触发下载重试操作在一定程度上可以提高文件管理的有效性,具体的,用户终端可以向服务器发送文件下载请求,该服务器用于基于文件下载请求向用户终端发送用户终端的用户识别卡的配置文件,而后当用户终端确定服务器发送的错误码信息是指定信息时,其可以触发下载重试操作,其中,下载重试操作包括发送文件下载请求至服务器,而指定信息用于表征所述服务器未生成所述配置文件。本申请在确定错误码信息为指定信息时,通过引入下载重试操作在一定程度上可以避免不必要通知信息影响用户正常使用终端,进而可以提高用户的使用体验。
请参阅图8,其示出了本申请实施例提供的一种电子设备800的结构框图。该电子设备800可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备800可以包括一个或多个如下部件:处理器810、存储器820、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器820中并被配置为由一个或多个处理器810执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。
处理器810可以包括一个或者多个处理核。处理器810利用各种接口和线路连接整个电子设备800内的各个部分,通过运行或执行存储在存储器820内的指令、程序、代码集或指令集,以及调用存储在存储器820内的数据,执行电子设备800的各种功能和处理数据。可选地,处理器810可以采用数字信号处理(Digital Signal ProceSSing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器810可集成中央处理器(Central ProceSSing Unit,CPU)、声纹识别器(Graphics ProceSSing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器810中,单独通过一块通信芯片进行实现。
存储器820可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器820可用于存储指令、程序、代码、代码集或指令集。存储器820 可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备800在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。
请参阅图9,其示出了本申请实施例提供的一种计算机可读存储介质900的结构框图。该计算机可读存储介质900中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。
计算机可读存储介质900可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质900包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质900具有执行上述方法实施例中的任何方法步骤的程序代码910的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码910可以例如以适当形式进行压缩。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (20)

  1. 一种文件管理方法,其特征在于,应用于用户终端,所述方法包括:
    向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终端的用户识别卡的配置文件;
    若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,所述下载重试操作包括发送所述文件下载请求至所述服务器,所述指定信息用于表征所述服务器未生成所述配置文件。
  2. 根据权利要求1所述的方法,其特征在于,所述若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,包括:
    若接收到所述服务器发送的错误码信息为指定信息,则获取文件下载请求的发送次数;
    判断所述发送次数是否小于预设次数;
    若所述发送次数小于预设次数,则触发所述下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者直至接收到所述服务器发送的配置文件。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    若所述发送次数大于或者等于预设次数,则输出第一提示信息,所述第一提示信息用于提示用户所述配置文件下载失败。
  4. 根据权利要求2所述的方法,其特征在于,所述判断所述发送次数是否小于预设次数之前,还包括:
    获取所述用户终端的使用时长;
    若所述使用时长小于预设时长,则设定所述预设次数为第一次数;
    若所述使用时长大于或等于所述预设时长,则设定所述预设次数为第二次数,所述第一次数大于所述第二次数。
  5. 根据权利要求2所述的方法,其特征在于,所述判断所述发送次数是否小于预设次数之前,还包括:
    获取所述用户终端当前的网络信号强度;
    若所述网络信号强度小于预设信号强度,设定所述预设次数为第一次数;
    若所述网络信号强度大于或等于预设信号强度,则设定所述预设次数为第二次数,所述第一次数大于所述第二次数。
  6. 根据权利要求2所述的方法,其特征在于,所述若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,包括:
    若接收到所述服务器发送的错误码信息为指定信息,则获取指定时间段内文件下载请求的发送次数;
    若指定时间段内文件下载请求的发送次数小于预设次数,则触发所述下载重试操作,并更新所述发送次数,直至所述发送次数大于或者等于预设次数,或者直至超出所述指定时间段,或者 直至接收到所述服务器发送的配置文件。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    若指定时间段内文件下载请求的发送次数大于或者等于预设次数,或者超出所述指定时间段,则输出第一提示信息,所述第一提示信息用于提示用户所述配置文件下载失败。
  8. 根据权利要求1所述的方法,其特征在于,所述向服务器发送文件下载请求之前,包括:
    接收运营商服务器发送的激活码,所述激活码是运营商服务器在接收到所述用户终端发送的注册信息时基于所述注册信息产生的码值
    基于所述激活码生成所述文件下载请求,所述文件下载请求用于指示所述服务器获取与所述激活码对应的配置文件。
  9. 根据权利要求8所述的方法,其特征在于,基于所述激活码生成所述文件下载请求,包括:
    在本次接收到发送激活码之后,当检测到用户输入的首个操作指令时,基于所述激活码生成所述文件下载请求。
  10. 根据权利要求8所述的方法,其特征在于,所述若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,包括:
    若接收到所述服务器发送的错误码信息为指定信息,则确定所述激活码是否依然有效;
    若所述激活码依然有效,则触发所述下载重试操作。
  11. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    若所述激活码无效,则取消所述下载重试操作。
  12. 根据权利要求1-11任一所述的方法,其特征在于,所述用户终端的用户识别卡包括嵌入式客户端识别卡。
  13. 根据权利要求1-11任一所述的方法,其特征在于,所述若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,包括:
    若接收到所述服务器发送的错误码信息为指定信息,则输出第二提示信息,且在预设时间段之后触发下载重试操作,所述第二提示信息用于提示用户所述用户终端将在所述预设时间段之后重新发送所述文件下载请求至所述服务器。
  14. 根据权利要求13所述的方法,其特征在于,所述预设时间段基于当前已发送的文件下载请求的次数设置。
  15. 根据权利要求14所述的方法,其特征在于,所述预设时间段的时长与所述当前已发送的文件下载请求的次数正相关。
  16. 根据权利要求1-15任一所述的方法,其特征在于,还包括:
    若接收到所述服务器发送的错误码信息不为指定信息,输出第三提示信息,该第三提示信息用于提示用户该用户终端接收到的错误码信息是第二信息,所述第二信息可以用于表征导致文件下载失败的原因非服务器未生成所述配置文件。
  17. 根据权利要求16所述的方法,其特征在于,所述第二信息可以用于表征导致文件下载失 败的原因为第二原因,所述第二原因表征所述用户终端已成功接收配置文件并且该配置文件被删除。
  18. 一种文件管理装置,其特征在于,所述装置应用于用户终端,所述装置包括:
    发送模块,用于向服务器发送文件下载请求,所述服务器用于基于所述文件下载请求向所述用户终端发送所述用户终端的用户识别卡的配置文件;
    重试模块,用于若接收到所述服务器发送的错误码信息为指定信息,则触发下载重试操作,所述下载重试操作包括发送所述文件下载请求至所述服务器,所述指定信息用于表征所述服务器未生成所述配置文件。
  19. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储器;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序被配置为用于执行如权利要求1-17任一项所述的方法。
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-17任一项所述的方法。
PCT/CN2022/090378 2021-06-16 2022-04-29 文件管理方法、装置、电子设备和可读存储介质 WO2022262444A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110668185.3 2021-06-16
CN202110668185.3A CN115484586A (zh) 2021-06-16 2021-06-16 文件管理方法、装置、电子设备和可读存储介质

Publications (1)

Publication Number Publication Date
WO2022262444A1 true WO2022262444A1 (zh) 2022-12-22

Family

ID=84419463

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090378 WO2022262444A1 (zh) 2021-06-16 2022-04-29 文件管理方法、装置、电子设备和可读存储介质

Country Status (2)

Country Link
CN (1) CN115484586A (zh)
WO (1) WO2022262444A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116546551A (zh) * 2023-07-06 2023-08-04 深圳市华曦达科技股份有限公司 无线网络设备检测方法、装置和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282731A (zh) * 2014-07-19 2016-01-27 三星电子株式会社 处理配置简档的方法和用于支持该方法的电子装置
JP2020061661A (ja) * 2018-10-10 2020-04-16 株式会社Nttドコモ プロファイルダウンロード制御システム
CN112533211A (zh) * 2020-12-30 2021-03-19 深圳杰睿联科技有限公司 eSIM卡的证书更新方法和系统以及存储介质
CN112671694A (zh) * 2019-10-16 2021-04-16 中兴通讯股份有限公司 一种hls播放方法、客户端、服务器及存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821057A (zh) * 2011-06-09 2012-12-12 腾讯科技(深圳)有限公司 文件传送方法、装置和系统
KR20160124648A (ko) * 2015-04-20 2016-10-28 삼성전자주식회사 프로파일 다운로드 및 설치 장치
ES2946168T3 (es) * 2016-03-03 2023-07-13 Huawei Tech Co Ltd Procedimiento y sistema de descarga de perfiles y dispositivo relacionado
CN105704702B (zh) * 2016-04-20 2019-02-15 中国联合网络通信集团有限公司 下载卡应用的方法及装置
CN108881359A (zh) * 2017-10-31 2018-11-23 北京视联动力国际信息技术有限公司 一种基于视联网的文件下载方法和装置
CN109246687A (zh) * 2018-09-27 2019-01-18 努比亚技术有限公司 eSIM测试方法、移动终端、系统及可读存储介质
CN110225510A (zh) * 2019-06-11 2019-09-10 三星电子(中国)研发中心 用于烧录嵌入式sim卡的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282731A (zh) * 2014-07-19 2016-01-27 三星电子株式会社 处理配置简档的方法和用于支持该方法的电子装置
JP2020061661A (ja) * 2018-10-10 2020-04-16 株式会社Nttドコモ プロファイルダウンロード制御システム
CN112671694A (zh) * 2019-10-16 2021-04-16 中兴通讯股份有限公司 一种hls播放方法、客户端、服务器及存储介质
CN112533211A (zh) * 2020-12-30 2021-03-19 深圳杰睿联科技有限公司 eSIM卡的证书更新方法和系统以及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116546551A (zh) * 2023-07-06 2023-08-04 深圳市华曦达科技股份有限公司 无线网络设备检测方法、装置和系统
CN116546551B (zh) * 2023-07-06 2023-10-27 深圳市华曦达科技股份有限公司 无线网络设备检测方法、装置和系统

Also Published As

Publication number Publication date
CN115484586A (zh) 2022-12-16

Similar Documents

Publication Publication Date Title
US8571540B2 (en) Systems, methods, and computer program products for providing device updates to a mobile device operating in a wireless telecommunications network
US10609015B2 (en) Method and apparatus of providing messaging service and callback feature to mobile stations
TWI743405B (zh) 語音播報方法、智慧型播報裝置、編碼有電腦程式指令的一個或多個非暫時性電腦儲存媒體以及智慧型播報設備
US8589910B2 (en) Coordinating firmware over-the-air updates for mobile devices utilizing presence information
US20150319299A1 (en) Method and apparatus for remote control and updating of wireless mobile devices
AU2018220050A1 (en) Enforcing policies based on information received from external systems
CN109474650B (zh) 一种配置文件下载方法及终端
WO2011088714A1 (zh) 应用程序运行方法、装置及系统
US11245725B2 (en) Dynamically updating policy controls for mobile devices and applications
JP2021533454A (ja) コンフィギュレーション・シナリオ順守のためのモバイル・デバイスによるコンプライアンス設定の実装
CA2548227A1 (en) Mobile device programming system and method
WO2011127847A2 (zh) 非结构化补充业务服务内容的更新方法、装置及移动终端
WO2022262444A1 (zh) 文件管理方法、装置、电子设备和可读存储介质
WO2017166906A1 (zh) 一种管理eUICC中的签约信息集的方法及相关设备
CN109450997B (zh) 数据跨终端迁移方法、装置、计算机设备及存储介质
CN107305608A (zh) 终端设备的管理方法和装置
CN112486543A (zh) 一种网络设备的固件升级方法、装置、存储介质及系统
US20230214207A1 (en) Device upgrade control method and apparatus, and computer device and storage medium
CN108429694A (zh) 一种无线路由器及基于无线路由器的app运行方法及系统
WO2016173122A1 (zh) 网络查找方法及装置
EP3165013A1 (en) Enforcing policies based on information received from external systems
KR101457177B1 (ko) 컨텐츠 제공 방법, 이를 저장한 기록 매체
CN114363408A (zh) 信息推送方法、装置、计算机可读介质及计算机设备
US20160192107A1 (en) System And Method To Selectively Manage Add-On Data, Application, Software, Hardware On A Handheld Device Over The Air
WO2016112506A1 (zh) 配置嵌入式通用集成电路卡的方法及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22823927

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE