US 12,405,778 B2
Application porting method and apparatus, device, and medium
Danxiong Lei, Shenzhen (CN); Weizhou Jiang, Shenzhen (CN); Zhaowei Wang, Shenzhen (CN); and Qiang Lu, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Feb. 9, 2024, as Appl. No. 18/438,306.
Application 18/438,306 is a continuation of application No. 17/725,427, filed on Apr. 20, 2022, granted, now 11,934,814.
Application 17/725,427 is a continuation of application No. PCT/CN2021/094024, filed on May 17, 2021.
Claims priority of application No. 202010494866.8 (CN), filed on Jun. 3, 2020.
Prior Publication US 2024/0192939 A1, Jun. 13, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 8/51 (2018.01); G06F 8/36 (2018.01); G06F 9/445 (2018.01)
CPC G06F 8/51 (2013.01) [G06F 8/36 (2013.01); G06F 9/44526 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for porting a first application into a second application performed by an electronic device, wherein the first application corresponds to a third-party development tool and the second application is a sub-application that executes on a social networking platform, the method comprising:
transforming the first application from a first operating mechanism corresponding to the third-party development tool into a second operating mechanism corresponding to the sub-application, wherein the first operating mechanism allows the first application to operate in an offline mode and the second operating mechanism requires that the sub-application operates in an online mode only;
converting a design resource in the transformed first application from a first resource format corresponding to the third-party development tool into a second resource format corresponding to the social networking platform and a code resource in the transformed first application from a first programming language corresponding to the third-party development tool into a second programming language corresponding to the social networking platform, respectively;
exporting the converted design resource and the converted code resource to a development tool of the second application on the social networking platform; and
performing secondary development on the design resource and the code resource in the development tool of the sub-application, to obtain the second application corresponding to the social networking platform.