Method, device and equipment for supporting use of eSIM (Embedded Subscriber Identity Module) based on TYPE-C interface
By connecting the terminal device and the hardware with the built-in eSIM chip through the TYPE-C interface, and using the application to generate and display communication commands, the problem of the terminal device not supporting eSIM is solved, the eSIM communication function is realized, the user cost is reduced and the ease of use is improved.
Patent Information
- Application Number
- CN202511629167.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-07
- Publication Date
- 2026-02-13
AI Technical Summary
Existing terminal devices do not support eSIM functionality, preventing users from enjoying the communication convenience and multi-device interconnection advantages of eSIM.
By connecting the terminal device and the target hardware with the built-in eSIM chip through the TYPE-C interface, the application generates and sends communication request commands, receives and displays the execution results, and realizes the communication function of eSIM.
Implementing eSIM functionality on terminal devices without hardware support for eSIM reduces user costs and improves flexibility and convenience.
Smart Images

Figure CN121531340A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of communication, and particularly relates to a method, device and equipment for supporting use of eSIM based on a TYPE-C interface. BACKGROUND
[0002] An embedded SIM (eSIM) is a virtual SIM chip directly welded on a mainboard of a device, and can activate operator services without a physical SIM card. The eSIM stores operator information in a software manner, and a user can remotely switch a package or an operator, and is suitable for smart devices such as mobile phones, watches and tablets. The core features of the eSIM are as follows: 1. No physical card: the device does not need a SIM card slot, and is thinner and has better waterproof performance. 2. Remote activation: an operator can be bound by scanning a two-dimensional code or inputting an activation code. 3. Multiple number switching: multiple eSIM packages (such as a main number and a travel number) can be stored. 4. Global applicability: when traveling abroad, a local eSIM traffic package can be quickly purchased without changing a card.
[0003] The eSIM is gradually replacing a physical SIM card, and is particularly suitable for a multi-device interconnection and a global seamless roaming scenario. However, the eSIM needs to be supported by device hardware, and if the hardware does not support the eSIM, the function of the eSIM cannot be used. At present, most mobile terminal devices do not support the eSIM, and if a device is not replaced, the communication function of the eSIM cannot be enjoyed. SUMMARY
[0004] The present application provides a method, device and equipment for supporting use of an eSIM based on a TYPE-C interface, so that a device without hardware supporting the eSIM can realize a communication function of the eSIM, and the cost of using the eSIM by a user is reduced.
[0005] In a first aspect, the present application provides a method for supporting use of an eSIM based on a TYPE-C interface, applied to a terminal device, the terminal device is connected to target hardware through a TYPE-C interface, the target hardware is built-in with an eSIM chip, the terminal device includes an application program matched with the target hardware, and the method comprises the following steps. Obtaining a communication demand; Generating a communication demand instruction according to a current communication flow node of the communication demand, and sending the communication demand instruction to the target hardware; Receiving an execution result returned by the target hardware for the communication demand, and displaying a corresponding communication page according to the execution result.
[0006] In one embodiment, prior to obtaining the communication requirement, the method further includes: obtaining an eSIM profile from the eSIM service management platform; parsing the eSIM profile and sending the parsed eSIM profile to the target hardware; obtaining a first execution result from the target hardware for the parsed eSIM profile; reporting the first execution result to the eSIM service management platform and obtaining an activation result from the eSIM service management platform; obtaining and displaying a profile list based on the activation result; receiving an activation instruction for a target profile in the profile list; sending the activation instruction to the target hardware and obtaining an activation result from the target hardware for the activation instruction, wherein the activation result indicates that the target profile has been successfully activated.
[0007] In one embodiment, before obtaining the eSIM profile from the eSIM service management platform, the method further includes: obtaining an operator profile through the application; obtaining user identity information; sending the user identity information and an eSIM activation request to the eSIM service management platform; obtaining the eSIM profile from the eSIM service management platform includes: obtaining the eSIM profile from the eSIM service management platform in response to the eSIM activation request.
[0008] In one embodiment, the communication requirement includes a call-making requirement, and the method includes: generating a dialing instruction for the user through the application, the dialing instruction including a target phone number; sending the dialing instruction to the target hardware and obtaining the dialing result of the target hardware in response to the dialing instruction; displaying a waiting-to-answer page based on the dialing result; and after receiving a second execution result returned by the target hardware in response to the dialing instruction, displaying a call page and establishing a call by sending audio data collected by the terminal device to the target hardware and obtaining audio data from the call recipient of the target hardware, wherein the second execution result is used to indicate successful connection.
[0009] In one embodiment, the communication requirement includes a phone call requirement, the method includes: receiving a call request from the target hardware, and displaying a call-in page; receiving a call-in instruction through the call-in page, and sending the call-in instruction to the target hardware; after receiving a third execution result returned by the target hardware for the call-in instruction, displaying a call page, and implementing a call by sending audio data collected by the terminal device to the target hardware, and obtaining audio data of a call object from the target hardware, the third execution result indicating a successful connection; generating a call end instruction through the call page, and sending the call end instruction to the target hardware; after receiving a fourth execution result returned by the target hardware for the call end instruction, displaying a call end interface, the fourth execution result indicating a call end.
[0010] In one embodiment, the application program establishes a communication connection with the target hardware through a USB, and transmits the communication requirement of the user between the application program and the target hardware through a USB protocol.
[0011] In a second aspect, the application provides a method for supporting the use of eSIM based on a TYPE-C interface, applied to a target hardware, the target hardware being connected to a terminal device through a TYPE-C interface, the target hardware being built-in with an eSIM chip, the terminal device including an application program matched with the target hardware, the method including: receiving a communication requirement instruction generated by the terminal device according to a current communication flow node of the communication requirement; after executing the communication requirement instruction, sending an execution result of the communication requirement instruction to the terminal device.
[0012] In a third aspect, the application provides a device for supporting the use of eSIM based on a TYPE-C interface, applied to a terminal device, the terminal device being connected to a target hardware through a TYPE-C interface, the target hardware being built-in with an eSIM chip, the terminal device including an application program matched with the target hardware, the device including: an obtaining unit, configured to obtain a communication requirement; a generating unit, configured to generate a communication requirement instruction according to a current communication flow node of the communication requirement, and send the communication requirement instruction to the target hardware; a first receiving unit, configured to receive an execution result returned by the target hardware for the communication requirement, and display a corresponding communication page according to the execution result.
[0013] In a fourth aspect, the application provides a device for supporting use of eSIM based on a TYPE-C interface, applied to target hardware, wherein the target hardware is connected to a terminal device through a TYPE-C interface, the target hardware is internally provided with an eSIM chip, and the terminal device comprises an application matched with the target hardware; and the device comprises: a second receiving unit configured to receive a communication demand instruction generated by the terminal device according to a current communication process node of the communication demand; an executing unit configured to send an execution result of the communication demand instruction to the terminal device after executing the communication demand instruction.
[0014] In a fifth aspect, an electronic device is provided, comprising a processor and a memory storing a computer program, wherein the processor executes the program to implement the steps of the method for supporting use of eSIM based on a TYPE-C interface according to the first aspect or the second aspect.
[0015] In a sixth aspect, a non-transitory computer readable storage medium is provided, storing a computer program, wherein the computer program is executed by a processor to implement the steps of the method for supporting use of eSIM based on a TYPE-C interface according to the first aspect or the second aspect.
[0016] In a seventh aspect, a computer program product is provided, comprising a computer program, wherein the computer program is executed by a processor to implement the steps of the method for supporting use of eSIM based on a TYPE-C interface according to the first aspect or the second aspect.
[0017] In an eighth aspect, a system is provided, comprising a processing device configured to execute the method for supporting use of eSIM based on a TYPE-C interface according to the first aspect or the second aspect.
[0018] The method, device and equipment for supporting use of eSIM based on a TYPE-C interface provided by the application can generate a communication demand instruction according to a current communication process node of the communication demand after the terminal device obtains the communication demand, and send the communication demand instruction to the target hardware, and then send an execution result to the terminal device after the target hardware executes the communication demand instruction, and the terminal device displays a corresponding communication page according to the execution result. In this way, the target hardware supporting eSIM is connected to the terminal device through a TYPE-C interface, and the terminal device can use the application matched with the portable device to realize use of eSIM. Thus, the terminal device without hardware supporting eSIM can realize the communication function of eSIM, reduce the cost of using eSIM, and realize plug and play, and improve the flexibility and convenience of use. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0020] Figure 1 is one of the flowcharts of the method for supporting the use of eSIM based on TYPE-C interface provided by the present application.
[0021] Figure 2 is the second flowchart of the method for supporting the use of eSIM based on TYPE-C interface provided by the present application.
[0022] Figure 3 is the third flowchart of the method for supporting the use of eSIM based on TYPE-C interface provided by the present application.
[0023] Figure 4 is the flowchart of eSIM profile download and activation provided by the present application.
[0024] Figure 5 is the flowchart of making a call provided by the present application.
[0025] Figure 6 is the flowchart of answering a call provided by the present application.
[0026] Figure 7 is one of the functional unit composition block diagrams of the device for supporting the use of eSIM based on TYPE-C interface provided by the present application.
[0027] Figure 8 is the second functional unit composition block diagram of the device for supporting the use of eSIM based on TYPE-C interface provided by the present application.
[0028] Figure 9 is the structural schematic diagram of the electronic device provided by the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely in the following with reference to the drawings in the present application. Obviously, the described embodiments are some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0030] The terms "first", "second", and the like in the description and in the claims of the present application and above-described drawings are used to distinguish different objects, and are not used to describe a particular order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product, or device.
[0031] Reference herein to "embodiments" means that a particular feature, structure, or characteristic described in connection with an embodiment can be included in at least one embodiment of the application. The appearance of the phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily independent or alternative embodiments to other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0032] eSIM requires hardware support, if the hardware does not support, the function of eSIM cannot be used. At present, most mobile terminals do not support eSIM, if not through the replacement of the machine, the device cannot enjoy the communication function of eSIM.
[0033] In view of the above problems, the application provides a method, device and equipment for supporting the use of eSIM based on TYPE-C interface. The embodiments of the application will be described in detail below with reference to the accompanying drawings.
[0034] Please refer to Figure 1 , Figure 1 is one of the flowcharts of the method for supporting the use of eSIM based on TYPE-C interface provided by the application. The method for supporting the use of eSIM based on TYPE-C interface is applied to a terminal device, the terminal device is connected with target hardware through a TYPE-C interface, the target hardware is built-in with an eSIM chip, and the terminal device includes an application program matched with the target hardware. Specifically, it includes the following steps.
[0035] S101, obtaining a communication demand.
[0036] The communication demand includes the demand of making a call and the demand of receiving a call, etc. The user can click the call button through the call interface displayed by the application program (APP), and then the application program receives the demand of making a call from the user. Alternatively, the application program receives the call receiving request from the target hardware.
[0037] S102, generating a communication demand instruction according to the current communication flow node of the communication demand, and sending the communication demand instruction to the target hardware.
[0038] One communication requirement can correspond to multiple communication flow nodes, for example, the flow of the requirement of making a call can include a call making node, a call node and a call hanging up node, etc. Different nodes correspond to different requirement instructions, for example, the call making node corresponds to a dialing instruction, and the call hanging up node corresponds to a call end instruction.
[0039] In a specific implementation, whether it is making a call or receiving a call, at the call node, the application program can acquire audio data collected by the electronic device, and then send the audio data to the target hardware, so that the call object can hear the user's voice. At the same time, the target hardware sends the audio of the call object to the application program, so that the user can complete the call with the call object.
[0040] S103, receiving an execution result returned by the target hardware for the communication requirement, and displaying a corresponding communication page according to the execution result.
[0041] After the application program sends the corresponding requirement instruction to the target hardware, the target hardware performs the corresponding operation based on the requirement instruction and obtains an execution result. For example, if the requirement instruction is a dialing instruction, the target hardware performs a dialing operation, if the requirement instruction is a call end instruction, the target hardware performs a call hanging up operation, etc. After the application program obtains the execution result, it displays a corresponding communication page based on the execution result, for example, if the execution result for the dialing operation is obtained, the execution result indicates that the dialing is successful, and at this time, a page for waiting for the other party to answer is displayed on the electronic device.
[0042] It can be seen that in the embodiment, the terminal device obtains a communication requirement, generates a communication requirement instruction according to a current communication flow node of the communication requirement, sends the communication requirement instruction to the target hardware, and finally receives an execution result returned by the target hardware for the communication requirement, and displays a corresponding communication page according to the execution result. Through the interaction between the application program and the target hardware, the communication function of eSIM can be realized on the terminal device without supporting eSIM hardware, the cost of using eSIM is reduced, and the plug-and-play is also improved, and the use flexibility and convenience are also improved.
[0043] In one possible embodiment, before the communication requirement is acquired, the method further comprises: acquiring an eSIM profile from the eSIM service management platform; parsing the eSIM profile and sending the parsed eSIM profile to the target hardware; acquiring a first execution result of the parsed eSIM profile from the target hardware; reporting the first execution result to the eSIM service management platform, acquiring an opening result from the eSIM service management platform; acquiring and displaying a profile list according to the opening result; receiving an activation instruction for a target profile in the profile list; sending the activation instruction to the target hardware and acquiring an activation result of the target hardware for the activation instruction, the activation result being used to indicate that the target profile is activated successfully.
[0044] Wherein, before the eSIM function is used by the target hardware, the eSIM profile also needs to be activated. Specifically, the APP can acquire eSIM profile data from the eSIM service management platform, then the APP parses the eSIM profile data and transmits the parsed value to the target hardware. Then the execution result of the hardware based on the eSIM profile data is acquired, and then the execution result is reported to the eSIM service management platform. The eSIM service management platform confirms the opening result based on the execution result. When the opening is successful, the APP displays the downloaded profile list on the page, and the user can select the profile to be activated on the page. The APP sends the profile to be activated to the target hardware through the activation instruction, and when the activation success result of the target hardware is acquired, the APP interface prompts the user that the activation is successful. Then the user can interact with the target hardware through the APP to use the eSIM communication function.
[0045] In one possible embodiment, before the eSIM profile from the eSIM service management platform is acquired, the method further comprises: acquiring an operator profile by the application program; acquiring user identity information; sending the user identity information and an eSIM opening request to the eSIM service management platform; and the eSIM profile from the eSIM service management platform is acquired, including: acquiring an eSIM profile from the eSIM service management platform for the eSIM opening request.
[0046] Wherein, the user can select or scan the operator profile to be downloaded through the APP, and then input the basic information of the user, complete the real-name authentication and other verification processes, and then the APP carries the basic information of the user to apply for opening the eSIM to the eSIM business management platform. After the eSIM business management platform verifies the user information, the eSIM profile data is sent to the APP.
[0047] It can be seen that in the embodiment, after the target hardware is connected to the electronic device through the TYPE-C interface, the opening of the eSIM can be realized through the APP matched with the target hardware, so that the electronic device can download and activate the eSIM profile. The communication function of the eSIM is realized on the terminal device without supporting eSIM hardware, and the cost of using eSIM by the user is reduced.
[0048] In one possible embodiment, the communication requirement includes a call requirement, and the method includes: generating a dialing instruction of the user through the application program, the dialing instruction including a target phone number; sending the dialing instruction to the target hardware and obtaining a dialing result of the target hardware for the dialing instruction; displaying a waiting answer page according to the dialing result; after receiving a second execution result returned by the target hardware for the dialing instruction, displaying a call page, and realizing a call by sending audio data collected by the terminal device to the target hardware, and obtaining audio data of a call object from the target hardware, the second execution result being used to indicate a successful connection.
[0049] Wherein, when making a call, the user connects the target hardware to the terminal device through the type-c port, and can dial according to the demand on the call interface of the APP, or automatically dial the opposite number through the selected service interface. After obtaining the target phone number, the APP encapsulates the dialing instruction and sends it to the target hardware. Then the APP receives the dialing result of the target hardware. If the dialing is successful, a page waiting for the opposite party to answer is displayed. If the dialing fails, a corresponding page is displayed. The APP can also determine whether the opposite party answers based on the result returned by the target hardware. If the opposite party answers, a call interface is displayed. At this time, the APP and the target hardware perform two-way voice interaction to realize the call.
[0050] When the call ends, the user can perform a hang-up operation on the APP, at which time an end call instruction is generated and sent to the portable device. Then based on the hang-up success result returned by the portable device, a call end page is displayed on the display interface. Or if the opposite party performs a hang-up operation, the APP displays a call end page when the opposite party hang-up result of the portable device is obtained.
[0051] It can be seen that in the embodiment, after the target hardware is connected to the electronic device through the TYPE-C interface, the APP matched with the target hardware can realize the eSIM-based call making function. The communication function of eSIM is realized on the terminal device without hardware supporting eSIM, and the cost of using eSIM by the user is reduced.
[0052] In one possible embodiment, the communication requirement includes a call receiving requirement, the method includes: receiving a call request from the target hardware, and displaying a call-in page; receiving a call receiving instruction through the call-in page, and sending the call receiving instruction to the target hardware; after receiving a third execution result returned by the target hardware for the call receiving instruction, displaying a call page, and realizing a call by sending audio data collected by the terminal device to the target hardware, and obtaining audio data of a call object from the target hardware, the third execution result being used to indicate a successful connection; generating a call end instruction through the call page, and sending the call end instruction to the target hardware; and after receiving a fourth execution result returned by the target hardware for the call end instruction, displaying a call end interface, the fourth execution result being used to indicate a call end.
[0053] When the user connects the target hardware to the terminal device through the type-c port, the APP establishes a communication connection with the target hardware, at this time, the APP can receive a call receiving instruction from the target hardware, so as to obtain the call receiving requirement. At this time, whether to receive the call can be selected through the APP, if the user clicks to receive, the receiving instruction is encapsulated and sent to the target hardware. When the APP parses the execution result returned by the target hardware to indicate that the call is connected, a call-in page is displayed on the display interface. At this time, the APP and the target hardware perform bidirectional voice transmission to realize the call between the user and the other party. When the call is ended, the user can perform a hang-up operation on the APP, at this time, a call end instruction is generated and sent to the portable device, and then based on the hang-up success result returned by the portable device, a call end page is displayed on the display interface. Or if the other party performs a hang-up operation, the APP displays the call end page when the other party hang-up result of the portable device is obtained.
[0054] It can be seen that in the embodiment, after the target hardware is connected to the electronic device through the TYPE-C interface, the APP matched with the target hardware can realize the eSIM-based call making function. The communication function of eSIM is realized on the terminal device without hardware supporting eSIM, and the cost of using eSIM by the user is reduced.
[0055] In one possible embodiment, the application program establishes a communication connection with the target hardware through a USB, and transmits the communication demand of the user between the application program and the target hardware through a USB protocol.
[0056] That is, the demand instruction sent by the APP to the target hardware and the obtained execution result of the target hardware are transmitted through the USB protocol. The universality and stability of data transmission can be improved.
[0057] Please refer to Figure 2 , Figure 2 is the second flowchart of the method for supporting eSIM use based on a TYPE-C interface provided in the present application. The method for supporting eSIM use based on a TYPE-C interface is applied to a target hardware, the target hardware is connected with a terminal device through a TYPE-C interface, the target hardware is built-in with an eSIM chip, and the terminal device comprises an application program matched with the target hardware. Specifically, the method comprises the following steps.
[0058] S201, receiving a communication demand instruction generated by the terminal device according to a current communication flow node of the communication demand.
[0059] Wherein, when the communication demand is a phone call demand, the terminal device can also actively send a call request to the APP.
[0060] S202, after executing the communication demand instruction, sending an execution result of the communication demand instruction to the terminal device.
[0061] Wherein, the target hardware can be a portable hardware. The target hardware can indicate a corresponding operation based on the communication demand instruction. For example, for a dialing instruction, a dialing operation is executed, and for an end call instruction, a phone call hang-up operation is executed.
[0062] As can be seen, in the present embodiment, after the target hardware is connected with the terminal device through the TYPE-C interface, the communication demand instruction can be obtained, and then the execution result is sent to the APP after the communication demand instruction is executed, so as to realize the communication function of the eSIM.
[0063] In one possible embodiment, before using the communication function of the eSIM, the eSIM profile also needs to be downloaded and activated. In a specific implementation, the target hardware can obtain the eSIM profile parsed by the terminal device, and then perform corresponding operations based on the eSIM profile, such as performing decryption and verification operations of the eSIM profile, and then returns the execution result to the APP. Then, the activation instruction for the target profile in the profile list is received from the APP, and the activation operation is performed, and the activation result is returned. In this way, the activation of the eSIM profile is realized, and then the user can use the communication function of the eSIM through the APP and the target hardware.
[0064] In one possible embodiment, when the communication requirement includes the requirement of making a call, the portable device obtains the dialing instruction from the APP, and then performs the dialing operation based on the target phone number encapsulated in the dialing instruction, and returns the dialing result. The dialing result includes waiting for the other party to answer, the other party hanging up, etc. When the dialing result is waiting for the other party to answer, the dialing situation is continuously monitored, and when the other party answers, the portable device sends the answer success result to the APP, at which time the portable device and the APP perform bidirectional voice transmission to realize user call. When the call ends, if the other party hangs up, the portable device generates and sends the call end result to the APP after determining that the other party ends the call. If the user actively hangs up, the portable device will perform the hang-up operation after receiving the call end instruction from the APP, and returns the execution result to the APP.
[0065] In one possible embodiment, when the communication requirement includes the requirement of making a call, the portable device obtains the dialing instruction from the APP, and then performs the dialing operation based on the target phone number encapsulated in the dialing instruction, and returns the dialing result. The dialing result includes waiting for the other party to answer, the other party hanging up, etc. When the dialing result is waiting for the other party to answer, the dialing situation is continuously monitored, and when the other party answers, the portable device sends the answer success result to the APP, at which time the portable device and the APP perform bidirectional voice transmission to realize user call. When the call ends, if the other party hangs up, the portable device generates and sends the call end result to the APP after determining that the other party ends the call. If the user actively hangs up, the portable device will perform the hang-up operation after receiving the call end instruction from the APP, and returns the execution result to the APP.
[0066] In one possible embodiment, the communication requirement of the user is transmitted between the application program and the target hardware through the USB protocol.
[0067] Please refer to Figure 3 , Figure 3is a flowchart of a method for supporting use of eSIM based on a TYPE-C interface provided in the present application. In the method for supporting use of eSIM based on a TYPE-C interface, a target hardware and a terminal device are connected through a TYPE-C interface, the target hardware has an eSIM chip built-in, and the terminal device includes an application program matched with the target hardware. The method specifically includes the following steps.
[0068] The terminal device acquires a communication requirement. The terminal device generates a communication requirement instruction according to a current communication flow node of the communication requirement, and sends the communication requirement instruction to the target hardware. The target hardware executes the communication requirement instruction, and sends an execution result to the terminal device. The terminal device displays a corresponding communication page according to the execution result.
[0069] The present application will be described in detail below with the example of APP and target hardware communicating through a USB protocol, and the terminal device being a mobile phone and the target hardware being a portable hardware.
[0070] Please refer to Figure 4 When downloading and activating an eSIM profile, a user first enters an APP to handle an eSIM service, and then the APP is initialized to filter and match a specified USB device, open a USB connection channel, and establish a connection with a portable hardware. After the initialization of the APP is completed, the APP selects / scans an operator profile to be downloaded, at this time, the user inputs information, completes a real-name authentication verification process, and the like. Then the APP applies for opening an eSIM by carrying user information, an eSIM service management platform verifies the user information, and returns eSIM profile data after the verification is passed. Then the APP analyzes the returned data of the platform, and transmits the data to the portable hardware through a USB channel, the portable hardware executes an instruction, and returns an instruction execution result. Then the APP reports the instruction execution result of the portable hardware to the eSIM service management platform, and the eSIM service management platform returns an opening result. The APP displays a profile list that has been downloaded, and the user selects a profile to be activated, the APP sends an instruction for activating the profile to the portable hardware through the USB channel, the portable hardware executes the activation instruction, and returns an instruction execution result, finally, the APP interface prompts the user that the activation is successful, and the eSIM service handling is completed.
[0071] Please refer to Figure 5When the communication requirement is a phone call requirement, first, the user connects the portable hardware to the mobile phone through the type-c port, enters the dedicated APP, and then the APP is initialized, filters and matches the specified USB device, opens the USB connection channel, and establishes a connection with the portable hardware. After the APP initialization is completed, the user inputs the phone number on the APP interface or automatically enters the opposite number for dialing through the selected service interface. Then the APP encapsulates the dialing instruction and transmits it to the portable hardware through the USB protocol. The portable hardware receives the instruction, returns the instruction execution result, and executes the dialing logic. Then the APP analyzes the hardware instruction execution result, and the interface prompts the user to wait for the other party to answer. At this time, the portable hardware continuously transmits the call state instruction to the APP, the APP analyzes the instruction, and after receiving the connection instruction, it enters the call interface. Then the APP collects the microphone audio data and plays the audio data transmitted by the hardware. The APP and the hardware transmit audio data bidirectionally through the USB protocol. When the call is over, the user clicks the hang up button on the APP interface, the APP encapsulates the hang up instruction and transmits it to the portable hardware, the portable hardware executes the hang up instruction and returns the instruction execution result, and then the APP interface prompts that the call is over.
[0072] Please refer to Figure 6 When the communication requirement is a phone call requirement, first, the user connects the portable hardware to the mobile phone through the type-c port, enters the dedicated APP, and then the APP is initialized, filters and matches the specified USB device, opens the USB connection channel, and establishes a connection with the portable hardware. After the APP initialization is completed, the user inputs the phone number on the APP interface or automatically enters the opposite number for dialing through the selected service interface. Then the APP encapsulates the dialing instruction and transmits it to the portable hardware through the USB protocol. The portable hardware receives the instruction, returns the instruction execution result, and executes the dialing logic. Then the APP analyzes the hardware instruction execution result, and the interface prompts the user to wait for the other party to answer. At this time, the portable hardware continuously transmits the call state instruction to the APP, the APP analyzes the instruction, and after receiving the connection instruction, it enters the call interface. Then the APP collects the microphone audio data and plays the audio data transmitted by the hardware. The APP and the hardware transmit audio data bidirectionally through the USB protocol. When the call is over, the user clicks the hang up button on the APP interface, the APP encapsulates the hang up instruction and transmits it to the portable hardware, the portable hardware executes the hang up instruction and returns the instruction execution result, and then the APP interface prompts that the call is over.
[0073] The device for supporting eSIM use based on a TYPE-C interface provided by the embodiments of the present application is described below. The device for supporting eSIM use based on a TYPE-C interface described below can correspond to the method for supporting eSIM use based on a TYPE-C interface described above.
[0074] Referring to Figure 7 The device 700 for supporting eSIM use based on a TYPE-C interface is applied to a terminal device connected to target hardware through a TYPE-C interface. The target hardware is built-in with an eSIM chip. The terminal device includes an application matched with the target hardware. The device 700 for supporting eSIM use based on a TYPE-C interface includes an acquisition unit 710 configured to acquire a communication requirement; a generation unit 711 configured to generate a communication requirement instruction according to a current communication process node of the communication requirement, and send the communication requirement instruction to the target hardware; and a first receiving unit 712 configured to receive an execution result returned by the target hardware for the communication requirement, and display a corresponding communication page according to the execution result.
[0075] In one possible embodiment, the device 700 for supporting eSIM use based on a TYPE-C interface further includes an activation unit. Before the eSIM profile is acquired from the eSIM service management platform, the activation unit is configured to: acquire an operator profile through the application; acquire user identity information; send the user identity information and an eSIM opening request to the eSIM service management platform; and acquire the eSIM profile from the eSIM service management platform for the eSIM opening request.
[0076] In one possible embodiment, before the eSIM profile is acquired from the eSIM service management platform, the activation unit is further configured to: acquire an operator profile through the application; acquire user identity information; send the user identity information and an eSIM opening request to the eSIM service management platform; and acquire the eSIM profile from the eSIM service management platform for the eSIM opening request.
[0077] In one possible implementation, the communication requirement includes a phone call making requirement, and the device 700 for supporting eSIM usage based on a TYPE-C interface is specifically configured to: generate a dial instruction of the user through the application, the dial instruction including a target phone number; send the dial instruction to the target hardware and acquire a dial result of the target hardware for the dial instruction; display a waiting answer page according to the dial result; after receiving a second execution result returned by the target hardware for the dial instruction, display a call page, and implement a call by sending audio data collected by the terminal device to the target hardware and acquiring audio data of a call object from the target hardware, the second execution result being used to indicate a successful connection.
[0078] In one possible implementation, the communication requirement includes a phone call making requirement, and the device 700 for supporting eSIM usage based on a TYPE-C interface is specifically configured to: generate a dial instruction of the user through the application, the dial instruction including a target phone number; send the dial instruction to the target hardware and acquire a dial result of the target hardware for the dial instruction; display a waiting answer page according to the dial result; after receiving a second execution result returned by the target hardware for the dial instruction, display a call page, and implement a call by sending audio data collected by the terminal device to the target hardware and acquiring audio data of a call object from the target hardware, the second execution result being used to indicate a successful connection.
[0079] In one possible implementation, the application and the target hardware establish a communication connection through a USB, and the communication requirement of the user is transmitted between the application and the target hardware through a USB protocol.
[0080] Please refer to Figure 8 , the device 700 for supporting eSIM usage based on a TYPE-C interface is applied to a target hardware, the target hardware is connected with a terminal device through a TYPE-C interface, the target hardware is built-in with an eSIM chip, the terminal device includes an application matched with the target hardware, and the device 700 for supporting eSIM usage based on a TYPE-C interface includes: a second receiving unit 720, configured to receive a communication requirement instruction generated by the terminal device according to a current communication process node of the communication requirement; and an execution unit 721, configured to send an execution result of the communication requirement instruction to the terminal device after executing the communication requirement instruction.
[0081] Please refer to Figure 9 ,Figure 9 An example of a schematic diagram of a physical structure of an electronic device can include: a processor 910, a communication interface 920, a memory 930, and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 930 communicate with each other through the communication bus 940. The processor 910 can invoke a computer program in the memory 930 to execute a method for supporting the use of eSIM based on a TYPE-C interface, which is applied to a terminal device connected to target hardware through a TYPE-C interface, the target hardware is built-in with an eSIM chip, and the terminal device includes an application matched with the target hardware. The method includes: obtaining a communication requirement; generating a communication requirement instruction according to a current communication process node of the communication requirement, and sending the communication requirement instruction to the target hardware; receiving an execution result returned by the target hardware for the communication requirement, and displaying a corresponding communication page according to the execution result.
[0082] Alternatively, the processor 910 can invoke a computer program in the memory 930 to execute a method for supporting the use of eSIM based on a TYPE-C interface, which is applied to target hardware connected to a terminal device through a TYPE-C interface, the target hardware is built-in with an eSIM chip, and the terminal device includes an application matched with the target hardware. The method includes: receiving a communication requirement instruction generated by the terminal device according to a current communication process node of the communication requirement; and sending an execution result of the communication requirement instruction to the terminal device after executing the communication requirement instruction.
[0083] In addition, the logical instructions in the memory 930 described above can be implemented in the form of a software functional unit and sold or used as an independent product, which can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0084] In another aspect, the embodiments of the present application also provide a computer program product, which comprises a computer program, the computer program being stored in a non-transitory computer-readable storage medium, and the computer program being executable by a processor to enable a computer to execute the method for supporting eSIM use based on a TYPE-C interface provided by any of the above embodiments, the method being applied to a terminal device, the terminal device being connected to target hardware through a TYPE-C interface, the target hardware being built-in with an eSIM chip, the terminal device comprising an application matched with the target hardware, and the method comprising: obtaining a communication requirement; generating a communication requirement instruction according to a current communication process node of the communication requirement, and sending the communication requirement instruction to the target hardware; receiving an execution result returned by the target hardware for the communication requirement, and displaying a corresponding communication page according to the execution result.
[0085] Alternatively, the computer program is executable by the processor to enable the computer to execute the method for supporting eSIM use based on a TYPE-C interface provided by any of the above embodiments, the method being applied to target hardware, the target hardware being connected to a terminal device through a TYPE-C interface, the target hardware being built-in with an eSIM chip, the terminal device comprising an application matched with the target hardware, and the method comprising: receiving a communication requirement instruction generated by the terminal device according to a current communication process node of the communication requirement; and sending an execution result of the communication requirement instruction to the terminal device after executing the communication requirement instruction.
[0086] In another aspect, the embodiments of the present application also provide a processor-readable storage medium, which stores a computer program, the computer program being used to enable a processor to execute the method for supporting eSIM use based on a TYPE-C interface provided by any of the above embodiments, the method being applied to a terminal device, the terminal device being connected to target hardware through a TYPE-C interface, the target hardware being built-in with an eSIM chip, the terminal device comprising an application matched with the target hardware, and the method comprising: obtaining a communication requirement; generating a communication requirement instruction according to a current communication process node of the communication requirement, and sending the communication requirement instruction to the target hardware; receiving an execution result returned by the target hardware for the communication requirement, and displaying a corresponding communication page according to the execution result.
[0087] Alternatively, the computer program is configured to enable a processor to execute the method for supporting eSIM usage based on a TYPE-C interface provided by each of the above embodiments, which is applied to target hardware connected with a terminal device through a TYPE-C interface, the target hardware is built-in with an eSIM chip, and the terminal device includes an application program matched with the target hardware, and the method includes: receiving a communication demand instruction generated by the terminal device according to a current communication process node of the communication demand; and after executing the communication demand instruction, sending an execution result of the communication demand instruction to the terminal device.
[0088] The processor-readable storage medium can be any available medium or data storage device that a processor can access, including but not limited to a magnetic storage (such as a floppy disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), an optical storage (such as a CD, a DVD, a BD, a HVD, etc.), and a semiconductor memory (such as a ROM, an EPROM, an EEPROM, a NAND FLASH, a solid state disk (SSD)), etc.
[0089] In another aspect, the embodiments of the present application also provide a system, including a processing device, the processing device is configured to execute the memory type determination method provided by each of the above embodiments, the method includes: determining a target server and a target running program, the target server adopts a non-uniform memory access architecture, the non-uniform memory access architecture includes a plurality of nodes, each node includes a central processing unit (CPU) and a memory; respectively determining a first access performance of a target CPU executing the target running program in a first simulation scenario and a second access performance in a second simulation scenario, the first simulation scenario indicates that the target CPU accesses the memory of other nodes, the second simulation scenario indicates that the target CPU accesses the memory of the local node, and the target CPU belongs to the CPUs included in the plurality of nodes; and determining a memory type corresponding to the target running program according to the first access performance and the second access performance, the memory type includes a small page memory or a large page memory.
[0090] The device embodiments described above are only schematic, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments. Those skilled in the art can understand and implement without creative labor.
[0091] Those skilled in the art can clearly understand the implementation of the various embodiments by means of software and the necessary general hardware platform from the above description of the embodiments, and of course, the embodiments can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that contributes to the technical solutions can be embodied in the form of a software product. The computer software product can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0092] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for supporting eSIM usage based on a TYPE-C interface, characterized in that, The method, applied to a terminal device connected to target hardware via a Type-C interface, wherein the target hardware has a built-in eSIM chip and the terminal device includes an application program compatible with the target hardware, comprises: Obtain communication requirements; A communication requirement instruction is generated based on the current communication process node of the communication requirement, and the communication requirement instruction is sent to the target hardware; Receive the execution result returned by the target hardware in response to the communication requirement, and display the corresponding communication page based on the execution result.
2. The method according to claim 1, characterized in that, Before obtaining the communication requirements, the method further includes: Obtain the eSIM profile from the eSIM service management platform; The eSIM profile is parsed, and the parsed eSIM profile is sent to the target hardware; Obtain the first execution result from the target hardware for the parsed eSIM profile; The first execution result is reported to the eSIM service management platform, and the activation result from the eSIM service management platform is obtained. Obtain and display the profile list based on the activation results; Receive an activation command for a target profile in the profile list; The activation command is sent to the target hardware, and the activation result of the target hardware in response to the activation command is obtained. The activation result is used to indicate that the target profile is successfully activated.
3. The method according to claim 2, characterized in that, Before obtaining the eSIM profile from the eSIM service management platform, the method further includes: The application retrieves the operator profile. Obtain user identity information; Send the user identity information and eSIM activation request to the eSIM service management platform; The step of obtaining the eSIM profile from the eSIM service management platform includes: Obtain the eSIM profile from the eSIM service management platform in response to the eSIM activation request.
4. The method according to claim 1, characterized in that, The communication requirement includes the need to make a phone call, and the method includes: The application generates the user's dialing instructions, which include the target phone number; Send the dialing command to the target hardware and obtain the dialing result of the target hardware in response to the dialing command; The dialing result displays a waiting page; After receiving the second execution result returned by the target hardware in response to the dialing command, the call page is displayed, and the call is made by sending the audio data collected by the terminal device to the target hardware and obtaining the audio data of the call object from the target hardware. The second execution result is used to indicate that the call was successfully connected.
5. The method according to claim 1, characterized in that, The communication requirement includes the requirement to answer a phone call, and the method includes: Receive a call request from the target hardware and display the incoming call page; The incoming call page receives the call answer instruction and sends the call answer instruction to the target hardware. After receiving the third execution result returned by the target hardware in response to the answer command, the call page is displayed, and the call is made by sending the audio data collected by the terminal device to the target hardware and obtaining the audio data of the call object from the target hardware. The third execution result is used to indicate that the call was successfully connected. A call termination command is generated through the call page and sent to the target hardware. Upon receiving the fourth execution result returned by the target hardware in response to the termination command, a call termination interface is displayed, wherein the fourth execution result is used to indicate the end of the call.
6. The method according to any one of claims 1-5, characterized in that, The application establishes a communication connection with the target hardware via USB, and transmits the user's communication needs between the application and the target hardware via the USB protocol.
7. A method for supporting eSIM usage based on a TYPE-C interface, characterized in that, The method is applied to target hardware, which is connected to a terminal device via a Type-C interface. The target hardware has a built-in eSIM chip, and the terminal device includes an application program compatible with the target hardware. The method includes: Receive the communication request instruction generated by the terminal device based on the current communication process node of the communication request; After executing the communication request instruction, the execution result of the communication request instruction is sent to the terminal device.
8. A device supporting eSIM use based on a TYPE-C interface, characterized in that, Applied to a terminal device, wherein the terminal device is connected to target hardware via a TYPE-C interface, the target hardware has a built-in eSIM chip, and the terminal device includes an application program compatible with the target hardware, the device comprising: The acquisition unit is used to acquire communication requirements; The generation unit is used to generate a communication requirement instruction based on the current communication process node of the communication requirement, and send the communication requirement instruction to the target hardware; The first receiving unit is used to receive the execution result returned by the target hardware in response to the communication requirement, and to display the corresponding communication page according to the execution result.
9. A device supporting eSIM use based on a TYPE-C interface, characterized in that, The device is applied to target hardware, which is connected to a terminal device via a TYPE-C interface. The target hardware has a built-in eSIM chip, and the terminal device includes an application program compatible with the target hardware. The device comprises: The second receiving unit is used to receive the communication request instruction generated by the terminal device according to the current communication process node of the communication request; An execution unit is configured to execute the communication request instruction and then send the execution result of the communication request instruction to the terminal device.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the method for supporting eSIM use based on the TYPE-C interface as described in any one of claims 1 to 7.
11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method for supporting eSIM use based on a TYPE-C interface as described in any one of claims 1 to 7.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method for supporting eSIM use based on a TYPE-C interface as described in any one of claims 1 to 7.