US 11,853,730 B2
Mini program data binding method and apparatus, device, and storage medium
Peiran Guo, Shenzhen (CN); Haicheng Su, Shenzhen (CN); Yuli Cai, Shenzhen (CN); Li Liu, Shenzhen (CN); and Shida Zhu, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Jun. 28, 2021, as Appl. No. 17/361,090.
Application 17/361,090 is a continuation of application No. PCT/CN2020/098553, filed on Jun. 28, 2020.
Claims priority of application No. 201910636599.0 (CN), filed on Jul. 15, 2019.
Prior Publication US 2021/0349700 A1, Nov. 11, 2021
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 8/38 (2018.01); G06F 9/448 (2018.01); G06F 9/451 (2018.01); G06F 3/04842 (2022.01); G06F 8/34 (2018.01)
CPC G06F 8/38 (2013.01) [G06F 3/04842 (2013.01); G06F 8/34 (2013.01); G06F 9/448 (2018.02); G06F 9/451 (2018.02)] 20 Claims
OG exemplary drawing
 
1. A mini program data binding method performed at a terminal, the mini program being a program executed in a host application program, and the method comprising:
displaying a mini program production interface of a visualization production program including a panel region and an editing region, the panel region being provided with n types of basic user interface (UI) controls, n being a positive integer;
in response to a user selection of a basic UI control from the n types of basic UI controls, generating a program interface of the mini program in the editing region according to the selected basic UI control, the program interface including a plurality of control components displayed in a first layout and a binding panel;
obtaining a dataset comprising a plurality of fields;
in response to a user selection of the dataset:
while displaying the plurality of control components in the first layout, displaying data from the plurality of fields in a first arrangement order for binding the plurality of fields to the plurality of control components; and
presenting, within the binding panel, a binding control element, wherein activation of the binding control element changes the first arrangement order;
in response to detecting a user activation of the binding control element, displaying data from the plurality of fields in a second arrangement order for binding the plurality of fields to the plurality of control components while continuing to display the plurality of control components in the first layout, wherein the second arrangement order is different from the first arrangement order;
in response to a user confirmation operation, binding the plurality of fields to respective control components of the plurality of control components in accordance with the second arrangement order, wherein each field is used for displaying the respective control component; and
in response to receiving a preview operation, transmitting a program package of the mini program to the host application program for running and/or previewing.