`( 19 ) United States
`( 12 ) Patent Application Publication ( 10 ) Pub . No . : US 2019 / 0213019 A1
`( 43 ) Pub . Date :
`Jul . 11 , 2019
`HU et al .
`
`( 54 ) APPLICATION PROGRAM PAGE
`PROCESSING METHOD AND DEVICE
`( 71 ) Applicant : Tencent Technology ( Shenzhen )
`Company Limited , Shenzhen ( CN )
`( 72 ) Inventors : Hao HU , Shenzhen ( CN ) ; Haojun Hu ,
`Shenzhen ( CN ) ; Qingjie Lin , Shenzhen
`( CN )
`
`( 73 ) Assignee : Tencent Technology ( Shenzhen )
`Company Limited , Shenzhen ( CN )
`
`( 21 ) Appl . No . : 16 / 354 , 371
`
`( 22 ) Filed :
`
`Mar . 15 , 2019
`
`( 63 )
`
`Related U . S . Application Data
`Continuation of application No . PCT / CN2017 /
`113066 , filed on Nov . 27 , 2017 .
`Foreign Application Priority Data
`( 30 )
`Dec . 5 , 2016
`( CN ) . . . . . . . . . . . . . . . . . . . . . . . . . 201611104220 . 4
`
`Publication Classification
`
`2 )
`
`( 51 ) Int . CI .
`( 2006 . 01 )
`G06F 9 / 445
`G06F 9 / 54
`( 2006 . 01 )
`U . S . CI .
`CPC . . . . . . . . . . G06F 9 / 44505 ( 2013 . 01 ) ; G06F 9 / 542
`( 2013 . 01 ) ; G06F 9 / 44578 ( 2013 . 01 )
`ABSTRACT
`( 57 )
`Aspects of the disclosure provide a method and an apparatus
`for information processing . For example , the apparatus
`includes a storage medium , processing circuitry and network
`interface circuitry . The storage medium stores a first appli
`cation program , and other application programs that are
`downloaded via the network interface circuitry . The pro
`cessing circuitry executes the first application program in an
`operating system to provide a running environment . Further ,
`the processing circuitry executes a second application pro
`gram in the running environment to start a logic process and
`a first view process corresponding to a first view page of the
`second application program . The logic process and the first
`view process respectively interface with the running envi
`ronment . The logic process generates initial first page data ,
`and the initial first page data is transferred from the logic
`process to the first view process . The first view page is
`rendered in the first view process .
`
`Terminal 110
`
`Processor 210
`
`Operating system
`221
`
`Application
`program page
`processing device
`222
`Non - volatile storage medium
`220
`
`Internal memory
`230
`
`Network
`interface 240
`
`Display screen
`250
`
`Input device 260
`
`
`
`Patent Application Publication
`
`Jul . 11 , 2019 Sheet 1 of 7
`
`US 2019 / 0213019 A1
`
`120
`
`110
`
`Network
`connection
`
`YYYYYYYYYYYYY
`
`Terminal 110
`
`FIG . 1
`
`Processor 210
`
`Operating system
`221
`
`Application
`program page
`processing device
`222
`Non - volatile storage medium
`220
`
`FIG . 2
`
`Internal memory
`230
`
`Network
`interface 240
`Display screen
`250
`
`Input device 260
`
`
`
`Patent Application Publication
`
`Jul . 11 , 2019 Sheet 2 of 7
`
`US 2019 / 0213019 A1
`
`S302
`Acquire initial page data of a first page through the sub - application program
`logic layer unit according to logic code of the first page , send the initial page
`data to the first sub - application program view layer unit corresponding to the
`first page ; the sub - application program logic layer unit and the first sub
`application program view layer unit running in an environment provided by
`the parent application program , and the parent application program running
`on an operating system
`
`S304
`Render the first page through the first sub - application program view layer
`unit according to the initial page data of the first page , and feed back an
`initial rendering completion notification to the sub - application program logic
`layer unit
`
`5306
`Acquire updated page data after receiving the initial rendering completion
`notification through the sub - application program logic layer unit , and send
`the updated page data to the first sub - application program view layer unit
`5308
`
`Re - render an updated part in the first page through the first sub - application
`program view layer unit according to the updated page data
`
`FIG . 3
`
`First sub
`application
`program view
`layer unit
`
`Event
`
`Sub
`application
`program logic
`layer unit
`Event
`Page data
`Page data
`Parent application program native unit
`Parent application program
`
`Second sub
`application
`program view
`layer unit
`Event
`
`Operating system
`
`FIG . 4
`
`Page data
`
`
`
`Patent Application Publication
`
`Jul . 11 , 2019 Sheet 3 of 7
`
`US 2019 / 0213019 A1
`
`S502
`Acquire a sub - application program identifier through the parent application
`program , acquire sub - application program global configuration code
`corresponding to the sub - application program identifier , and start the sub
`application program logic layer unit and the first sub - application program
`view layer unit according to the sub - application program global
`configuration code
`
`5504
`Register the logic code of the first page through the sub - application
`program logic layer unit when the sub - application program logic layer unit
`is started
`
`S506
`Initialize through the first sub - application program view layer unit when
`the first sub - application program view layer unit is started and send an
`initialization completion notification to the sub - application program logic
`layer unit after initialization
`
`S508
`
`Perform step S302 through the sub - application program logic layer unit
`after receiving the initialization completion notification .
`
`FIG . 5
`
`
`
`Patent Application Publication
`
`Jul . 11 , 2019 Sheet 4 of 7
`
`US 2019 / 0213019 A1
`
`5602
`Acquire initial page data of a first page through a sub - application program
`logic layer unit according to logic code of the first page and send the initial
`page data to a first sub - application program view layer unit corresponding
`to the first page , the sub - application program logic layer unit and the first
`sub - application program view layer unit running in the environment
`provided by a parent application program , and the parent application
`program running on an operating system
`
`5604
`Render the first page through the first sub - application program view layer
`unit according to a public component provided by the parent application
`program and the initial page data of the first page , and feed back an initial
`rendering completion notification to the sub - application program logic
`layer unit
`
`S606
`
`Receive the initial rendering completion notification through the sub
`application program logic layer unit
`
`5608
`Acquire a public component binding event triggered for the public
`component in the first page through the first sub - application program view
`layer unit , and transmit the public component binding event to the sub
`application program logic layer unit
`
`S610
`Make a response to the public component binding event through the sub
`application program logic layer unit according to the logic code of the first
`page , acquire updated page data , and send the updated page data to the first
`sub - application program view layer unit
`
`5612
`Re - render the updated part in the first page through the first sub - application
`program view layer unit according to the updated page data .
`
`FIG . 6
`
`
`
`Patent Application Publication
`
`Jul . 11 , 2019 Sheet 5 of 7
`
`US 2019 / 0213019 A1
`
`S702
`
`Acquire a page switching event triggered for the first page through the sub
`application program logic layer unit , and determine the second page
`matching the page switching event
`
`$ 704
`Acquire the page data of the second page through the sub - application
`program logic layer unit and send the page data of the second page to the
`second sub - application program view layer unit corresponding to the
`second page
`
`WS706
`
`Render the second page through the second sub - application program view
`layer unit according to the page data of the second page
`
`FIG . 7
`
`
`
`Patent Application Publication
`
`Jul . 11 , 2019 Sheet 6 of 7
`
`US 2019 / 0213019 A1
`
`First sub
`application
`program view
`layer thread
`Initialize
`
`I
`
`Initialize a
`page
`
`Render
`
`Initial pagel
`data
`
`Notification |
`
`Event
`
`User input
`
`Page data
`
`LLLLLL
`
`Re - render
`
`Second sub
`application
`program
`view layer
`thread
`
`Start
`
`Sub - application program
`logic layer tread
`Start a life cycle function
`
`Page
`routing
`
`First page
`Page loading
`life cycle
`function and
`page displaying
`life cycle
`function
`
`Written
`
`Life cycle
`function of
`initial rendering
`completion
`
`Message
`processing
`
`Page
`routing
`
`Second
`page
`
`Page
`routing
`
`Page
`routing
`
`Page hiding
`life cycle
`function
`
`Page
`displaying
`life cycle
`function
`
`Page
`unloading life
`cycle function
`
`Parent
`application
`program
`native unit
`
`FIG . 8
`
`
`
`Patent Application Publication
`
`Jul . 11 , 2019 Sheet 7 of 7
`
`US 2019 / 0213019 A1
`
`Application program page
`processing device 900
`901
`Sub - application program
`logic layer unit
`
`902
`First sub - application
`program view layer unit
`
`FIG . 9
`Application program page
`processing device 900
`w
`901
`Sub - application program
`logic layer unit
`
`902
`First sub - application
`prograin view layer unit
`»
`903
`Parent application
`program native unit
`
`FIG . 10
`Application program page
`processing device 900
`901
`Sub - application program
`logic layer unit
`2902
`First sub - application
`program view layer unit
`904
`Second sub - application
`program view layer unit
`FIG . 11
`
`
`
`US 2019 / 0213019 A1
`
`Jul . 11 , 2019
`
`APPLICATION PROGRAM PAGE
`PROCESSING METHOD AND DEVICE
`RELATED APPLICATION
`This application is a continuation of International
`[ 0001 ]
`Application No . PCT / CN2017 / 113066 , filed on Nov . 27 ,
`2017 , which claims priority to Chinese Patent Application
`No . 201611104220 . 4 , entitled “ APPLICATION PRO
`GRAM PAGE PROCESSING METHOD AND DEVICE ”
`filed with the Chinese Patent Office on Dec . 5 , 2016 . The
`entire disclosures of the prior applications are hereby incor
`porated by reference in their entirety .
`FIELD OF THE TECHNOLOGY
`[ 0002 ] This application relates to the field of computers ,
`and particularly , to an application program page processing
`method and an application program page processing device .
`BACKGROUND OF THE DISCLOSURE
`[ 0003 ] Application program
`is a coded instruction
`sequence executed by a terminal capable of processing
`information such as a computer , so as to achieve a certain
`result , or a symbolized instruction sequence or a symbolized
`statement sequence that can be converted into a coded
`instruction sequence automatically . At present , a user can
`install various application programs on a terminal , such as a
`photographing application program , a social application
`program , or a mail application program , and various func
`tions , such as a photographing function , a social function ,
`and an e - mail management function , can be implemented by
`the application programs installed on the terminal .
`10004 ] However , at present , a user needs to download an
`application program installation package from network first ,
`decompress the application program installation package on
`a terminal , places various decompressed files in a specified
`installation directory , registers the application program in an
`operating system , and generates an icon of the application
`program , and then , the user can start and use the application
`program by clicking the icon . Therefore , an application
`program is installed and used after a series of time - consum
`ing and troublesome steps at present , resulting in
`a low
`utilization rate of an application program .
`SUMMARY
`[ 0005 ] On the basis of this , it is necessary to provide an
`application program page processing method , an application
`program page processing device , and a storage medium so
`as to resolve the current problem that the utilization rate of
`an application program is low .
`[ 0006 ] Aspects of the disclosure provide a method and an
`apparatus for information processing . In some examples , the
`apparatus includes a storage medium , processing circuitry
`and network interface circuitry . The storage medium stores
`a first application program , and other application programs
`that are downloaded via the network interface circuitry . The
`processing circuitry executes the first application program in
`an operating system . The execution of the first application
`program provides a running environment for other applica
`tion programs . Further , the processing circuitry executes a
`second application program in the running environment that
`is provided by the execution of the first application program .
`The execution of the second application program starts a
`logic process and a first view process corresponding to a first
`
`view page of the second application program . The logic
`process and the first view process respectively interface with
`the running environment that is provided by the execution of
`the first application program . The logic process generates
`initial first page data based on first logic code of the first
`view page . Then the processing circuitry transfers , via the
`running environment , the initial first page data from the
`logic process to the first view process . Further , the process
`ing circuitry renders , in the first view process , the first view
`page according to the initial first page data of the first view
`page , and feeds back , via the running environment , a
`completion notification from the first view process to the
`logic process .
`[ 0007 ] According to an aspect of the disclosure , the pro
`cessing circuitry transfers , via the running environment ,
`updated data for a portion of the first view page from the
`logic process to the first view process . Then , the processing
`circuitry re - renders , in the first view process , the portion of
`the first view page according to the updated data for the
`portion of the first view page .
`[ 0008 ]
`In some embodiments , the processing circuitry
`acquires , in the running environment , global configuration
`codes of the second application program based on a program
`identifier of the second application program . The processing
`circuitry starts , in the running environment , the logic process
`and the first view process according to the global configu
`ration codes of the second application program . Further , the
`processing circuitry registers , in the logic process , the first
`logic code of the first view page when the logic process of
`the second application program starts . The processing cir
`cuitry acquires , in the logic process , the initial first page data
`of the first view page , according to the first logic code , after
`completion of an initialization in the first view process , and
`sends , via the running environment , the initial first page data
`of the first view page , from the logic process to the first view
`process corresponding to the first view page .
`[ 0009 ]
`In some embodiments , the processing circuitry
`starts in the running environment , the logic process accord
`ing to a global logic code in the global configuration codes
`of the second application program , and starts , the first view
`process according to a global feature of the first view page
`that is defined by global page configuration codes in the
`global configuration codes of the second application pro
`gram . The global page configuration codes defines global
`features for view pages of the second application program .
`[ 0010 ]
`In some embodiments , the processing circuitry
`acquires , in the first view process , a public component from
`the running environment that is provided by the execution of
`the first application program , according to a page configu
`ration file of the second application program . The public
`component is shared by different application programs that
`are executed in the running environment . Then , the process
`ing circuitry renders , in the first view process , the first view
`page according to the public component and the initial first
`page data of the first view page . Further , in some examples ,
`the processing circuitry acquires in the first view process , an
`event that binds with the public component , and forwards ,
`via the running environment that is provided by the execu
`tion of the first application , the event from the first view
`process to the logic process . The processing circuitry gen
`erates , in the logic process and via an interface provided by
`the running environment to the public component , updated
`data for a portion of the first view page in response to the
`event , according to the logic code of the first view page .
`
`
`
`US 2019 / 0213019 A1
`
`Jul . 11 , 2019
`
`In some embodiments , the processing circuitry
`[ 0011 ]
`acquires , in the logic process , an event that triggers a
`switching from the first view page to a second view page ,
`and acquires , in the logic process , second page data of the
`second view page . Further , the processing circuitry transfers ,
`via the running environment , the second page data of the
`second view page from the logic process to a second view
`process corresponding to the second view page . The execu
`tion of the second application program in the running
`environment starts the second view process after the first
`view process starts . The processing circuitry then renders in
`the second view process , the second view page according to
`the second page data of the second view page . When the
`second view page is a new view page , the processing
`circuitry acquires in the logic process , the second page data
`according to the logic code of the first view page , and loads ,
`in the logic process , the second page data into a page stack
`that buffers view pages . When the second view page has
`been accessed previously , the processing circuitry acquires
`in the logic process , the second page data from the page
`stack . The page stack buffers the view pages that have been
`accessed previously .
`[ 0012 ]
`In some embodiments , a state change of the first
`view page from a first state to a second state is triggered in
`the running environment . Then , the processing circuitry
`performs an operation that is defined in the first logic code
`of the first view page by a function associated with the
`second state .
`[ 0013 ] Aspects of the disclosure also provide a non
`transitory computer - readable medium storing instructions
`which when executed by a computer cause the computer to
`perform the method for information processing .
`[ 0014 ] Regarding the application program page process
`ing method and the application program page processing
`device , a parent application program runs on an operating
`system , the parent application program provides a running
`environment for the sub - application program logic layer unit
`and the first sub - application program view layer unit ,
`acquires initial page data through the sub - application pro
`gram logic layer unit , and implements rendering of the first
`page through the first sub - application program view layer
`unit . Thus , when the parent application program is running ,
`a page that belongs to a sub - application program can be
`implemented , thereby saving time of installing an applica
`tion program and enhancing use efficiency of the sub
`application program . Furthermore , when the first page is
`changed , only an updated part needs to be rendered , so as to
`further enhance the use efficiency of the sub - application
`program . Furthermore , the sub - application program logic
`layer unit and the first sub - application program view layer
`unit separate a view layer and a logic layer of the application
`program , so as to realize and maintain the sub - application
`program conveniently .
`BRIEF DESCRIPTION OF THE DRAWINGS
`[ 0015 ]
`FIG . 1 is a diagram of an application environment
`of an application program page processing method accord
`ing to an embodiment ;
`[ 0016 ] FIG . 2 is a schematic diagram of an internal
`structure of a terminal according to an embodiment ;
`[ 0017 ] FIG . 3 is a schematic flowchart of an application
`program page processing method according to an embodi -
`ment ;
`
`[ 0018 ] FIG . 4 is a schematic diagram of a relationship of
`an operating system , a parent application program , a sub
`application program view layer unit , and a sub - application
`program logic layer unit according to an embodiment ;
`[ 0019 ] FIG . 5 is a schematic flowchart of the steps of
`starting the sub - application program logic layer unit and the
`first sub - application program view layer unit according to an
`embodiment ;
`[ 0020 ]
`FIG . 6 is a schematic flowchart of the application
`program page processing method according to another
`embodiment ;
`10021 ]
`FIG . 7 is a schematic flowchart of the steps of
`switching a first page to a second page according to an
`embodiment ;
`[ 0022 ] FIG . 8 is a schematic view of a life cycle of a
`sub - application program page according to an embodiment ;
`100231 . FIG . 9 is a structural block diagram of an applica
`tion program page processing device according to an
`embodiment ;
`[ 0024 ] FIG . 10 is a structural block diagram of an appli
`cation program page processing device according to another
`embodiment ; and
`[ 0025 ]
`FIG . 11 is a structural block diagram of an appli
`cation program page processing device according to further
`another embodiment .
`DESCRIPTION OF EMBODIMENTS
`To make the objectives , technical solutions , and
`10026
`advantages of the embodiments of this application be more
`clear and comprehensible , this application will be further
`described with reference to the accompany drawings and
`embodiments . It should be understood that , the specific
`embodiments described herein are only used to interpret this
`application , rather than limiting this application .
`[ 0027 ] FIG . 1 is a diagram of an application environment
`of an application program page processing method accord
`ing to an embodiment . Referring to FIG . 1 , the application
`program page processing method is applied in an application
`program page processing system . The application program
`page processing system includes a terminal 110 and a server
`120 . The server 120 stores a code package corresponding to
`a sub - application program identifier . An operating system
`runs on the terminal 110 , a parent application program runs
`on the operating system , the code package corresponding to
`the sub - application program identifier is acquired by the
`parent application program , and a sub - application program
`logic layer unit and a first sub - application program view
`layer unit run in an environment provided by the parent
`application program according to the code package . The
`terminal 110 specifically can acquire initial page data of a
`first page through the sub - application program logic layer
`unit according to logic code of the first page and send the
`initial page data of the first page to the first sub - application
`program view layer unit corresponding to the first page ;
`render the first page through the first sub - application pro
`gram view layer unit according to the initial page data of the
`first page , and feed back an initial rendering completion
`notification to the sub - application program logic layer unit ;
`receive the initial rendering completion notification through
`the sub - application program logic layer unit , then acquire
`updated page data , and send the updated page data to the first
`sub - application program view layer unit ; and re - render the
`
`
`
`US 2019 / 0213019 A1
`
`Jul . 11 , 2019
`
`updated part in the first page through the first sub - applica
`tion program view layer unit according to the updated page
`data .
`[ 0028 ] FIG . 2 is a schematic diagram of an internal
`structure of a terminal according to an embodiment . Refer
`ring to FIG . 2 , the terminal 110 includes a processor 210 , a
`non - volatile storage medium 220 , an internal memory 230 ,
`a network interface 240 , a display screen 250 , and an input
`device 260 connected through a system bus . The non
`volatile storage medium 220 of the terminal 110 stores an
`operating system 221 , and further stores an application
`program page processing device 222 . The application pro
`gram page processing device 222 is configured to implement
`an application program page processing method . The pro
`cessor 210 of the terminal 110 is configured to provide
`computation and control ability to support operation of the
`whole terminal 110 . The internal memory 230 in the termi
`nal 110 provides an environment for operation of the appli
`cation program page processing device 222 in the non
`volatile storage medium 220 . The internal memory 230 may
`store a computer readable instruction and when the com
`puter readable instruction is executed by the processor 210 ,
`the processor 210 may perform an application program page
`processing method . The network interface 240 of the termi
`nal 110 is configured to perform network communications
`with a server , for example , download a code package
`corresponding to the sub - application program identifier . The
`display screen 250 of the terminal 110 may be a liquid
`crystal display or an electronic ink display screen , and the
`input device 260 of the terminal 110 may be a touch layer
`covered on the display screen , may also be a button , a track
`ball , or a touch pad disposed on a housing of the terminal
`110 , and further may also be an external keyboard , an
`external touch pad , or a mouse . The terminal 110 may be a
`personal computer or a mobile terminal , and the mobile
`terminal is , for example , a mobile phone , a tablet PC , a
`personal digital assistant , or a wearable device . A person
`skilled in the art may understand that , the structure in FIG .
`2 is only a block diagram of a part of the structure that is
`associated with the solution of this application , and do not
`limit the terminal to which the solution of this application is
`applied . The specific terminal 110 may include more or less
`members than those in FIG . 2 , have some members com
`bined , or have different member arrangements .
`[ 0029 ]
`FIG . 3 is a schematic flowchart of an application
`program page processing method according to an embodi
`ment . In this embodiment , for example , the method is
`mainly applied to a terminal 110 in FIG . 1 . Referring to FIG .
`3 , the method specifically includes the following steps .
`[ 0030 ] S302 : Acquire initial page data of a first page
`through the sub - application program logic layer unit accord
`ing to logic code of the first page , send the initial page data
`of the first page to the first sub - application program view
`layer unit corresponding to the first page ; the sub - application
`program logic layer unit and the first sub - application pro
`gram view layer unit running in an environment provided by
`the parent application program , and the parent application
`program running on an operating system .
`[ 0031 ]
`The first page and a second page that will be
`described subsequently are both sub - application program
`pages . The logic code of the first page defines data process
`ing logic of the first page , such as processing logic of an
`event triggered in the first page or data update logic not
`driven by an event in the first page . The initial page data of
`
`the first page is page data pre - defined for the first page and
`data required for rendering the first page .
`[ 0032 ] Referring to FIG . 4 , the operating system runs on
`the terminal and the parent application program runs on the
`operating system . The parent application program provides
`an environment for operation of the sub - application pro
`gram , and creates a sub - application program logic layer unit
`and a corresponding sub - application program view layer
`unit for implementing a sub - application program .
`[ 0033 ] The operating system ( OS ) is a computer program
`for managing and controlling hardware and software
`resources of a terminal and is most basic system software
`directly running on a bare terminal . An application program
`needs to run under the support of the operating system . The
`operating system may be a desktop operating system such as
`a Windows operating system , a Linux operating system or a
`Mac OS , and may also be a mobile terminal operating
`system such as an iOS or an Android operating system .
`[ 0034 ] The parent application program is an application
`program for carrying a sub - application program and pro
`vides an environment for implementation of the sub - appli
`cation program . The parent application program is a native
`application program . The native application program is an
`application program that can run on an operating system
`directly . The parent application program may be a social
`application program , a dedicated application program spe
`cially supporting the sub - application program , a file man
`agement application program , a mail application program or
`a game application program . The social application program
`includes an instant communications application , a Social
`Network Service ( SNS ) application or a live application .
`The sub - application program is an application program that
`can be implemented in an environment provided by the
`parent application program . The sub - application program
`specifically may be a social application program , a
`file
`management application program , a mail application pro
`gram , or a game application program .
`[ 0035 ]
`The sub - application program logic layer unit and
`the corresponding sub - application program view layer unit
`are configured to implement an example of a sub - application
`program . One sub - application program can be implemented
`by one sub - application program logic layer unit and at least
`one sub - application program view layer unit . The sub
`application program view layer units may be one - to - one
`corresponding to the sub - application program pages . The
`first sub - application program view layer unit is one of at
`least one sub - application program view layer units , is cor
`responding to the first page , and is configured to organize the
`view of the first page and render the first page .
`[ 0036 ] The sub - application program view layer unit is
`configured to organize and render a view of a sub - applica
`tion program . The sub - application program logic layer unit
`is configured to process the sub - application program and
`data processing logic of a corresponding sub - application
`program page . The unit may be specifically a process or
`thread , the sub - application program view layer unit is , for
`example a sub - application program view layer thread , and
`the sub - application program logic layer unit is , for example ,
`a sub - application program logic layer thread . The sub
`application program logic layer unit may run in
`a virtual
`machine . The sub - application program view layer unit and
`the sub - application program logic layer unit may perform
`transference and communications through the parent appli
`cation program native unit , the parent application program
`
`
`
`US 2019 / 0213019 A1
`
`Jul . 11 , 2019
`
`native unit is an interface for communications between the
`parent application program and the sub - application program ,
`and the parent application program native unit may be a
`thread or process of the parent application program .
`[ 0037 ] The logic code of each sub - application program
`page includes logic code of the first page and a second page
`that will be described subsequently , and may be registered
`by the sub - application program logic layer unit when being
`started . The first page may be a home page of a sub
`application program , so that the sub - application program
`logic layer unit can directly acquire the initial page data of
`the first page after being started and send the initial page data
`of the first page to the first sub - application program view
`layer unit corresponding to the first page . The first page may
`also be a sub - application program page specified by the
`parent application program , so that the sub - application pro
`gram logic layer unit can acquire the initial page data of the
`first page after the parent application program specifies the
`first page and send the initial page data to the first sub
`application program view layer unit corresponding to the
`first page .
`[ 0038 ] S304 : Render the first page through the first sub
`application program view layer unit according to the initial
`page data of the first page , and feed back an initial rendering
`completion notification to the sub - application program logic
`layer unit .
`[ 0039 ] The initial rendering com