CN110244984B - Application processing method, device, storage medium and computer equipment - Google Patents

Application processing method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN110244984B
CN110244984B CN201810183645.1A CN201810183645A CN110244984B CN 110244984 B CN110244984 B CN 110244984B CN 201810183645 A CN201810183645 A CN 201810183645A CN 110244984 B CN110244984 B CN 110244984B
Authority
CN
China
Prior art keywords
sub
application
game
application program
canvas
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810183645.1A
Other languages
Chinese (zh)
Other versions
CN110244984A (en
Inventor
池彦佳
林庆杰
胡浩
罗伟帮
朱一帆
彭宇洋
程哲
杨奕鸿
林超
梁兆鹏
胡豪俊
黄吉生
蔡润达
杜嘉辉
王泽琛
黄咪咪
崔文龙
孙春光
陈鸿强
陈辉
李凯
雷丹雄
马良
李顺
古思鑫
陈岳伟
李玮
赖夏伦
姚少棉
翁乐腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810183645.1A priority Critical patent/CN110244984B/en
Publication of CN110244984A publication Critical patent/CN110244984A/en
Application granted granted Critical
Publication of CN110244984B publication Critical patent/CN110244984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to an application program processing method, an application program processing device, a storage medium and computer equipment, wherein the method comprises the following steps: acquiring a target sub-application program identifier; acquiring corresponding logic codes and configuration files according to the target sub-application program identification; running the obtained logic code; when the type of the sub-application program corresponding to the target sub-application program identification is a game type, creating a canvas through the running logic code, and calling a drawing interface of the parent application program to draw game drawing resources specified by the configuration file on the canvas so as to construct a sub-application program game interface. The scheme provided by the application program processing efficiency is improved.

Description

Application processing method, device, storage medium and computer equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an application processing method, an apparatus, a storage medium, and a computer device.
Background
An application program is a coded instruction sequence that can be executed by a terminal having information processing capability such as a computer in order to obtain a certain result, or a symbolized instruction sequence or symbolized sentence sequence that can be automatically converted into a coded instruction sequence. Currently, a user may install various applications such as a photographing application, a social application, or a mail application on a terminal, so that various functions such as a photographing function, a social function, or an email management function may be implemented through the applications installed on the terminal.
However, currently, the user needs to download an application installation package from the network, decompress the application installation package on the terminal, place the decompressed files under the designated installation directory, register the application in the operating system, and generate an icon of the application, so that the subsequent user can click on the icon to start the application and use the application. Therefore, the installation and the use of the application program at present need to go through a series of steps with long time consumption, which is very tedious, so that the use efficiency of the application program is low.
Disclosure of Invention
Based on this, it is necessary to provide an application processing method, apparatus, storage medium and computer device, aiming at the problem that the current application use efficiency is low.
An application processing method, comprising:
acquiring a target sub-application program identifier;
acquiring corresponding logic codes and configuration files according to the target sub-application program identification;
running the obtained logic code;
when the sub-application type corresponding to the target sub-application identification is a game type, then
Creating a canvas through the running logic codes, and calling a drawing interface of the parent application program to draw the game drawing resources specified by the configuration files on the canvas so as to construct a sub-application program game interface.
An application processing apparatus comprising:
the acquisition module is used for acquiring the target sub-application program identification; acquiring corresponding logic codes and configuration files according to the target sub-application program identification;
the operation module is used for operating the acquired logic codes;
and the drawing module is used for creating a canvas through the running logic code and calling a drawing interface of the parent application program to draw the game drawing resource specified by the configuration file on the canvas so as to construct a game interface of the child application program when the type of the child application program corresponding to the target child application program identifier is the game type.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring a target sub-application program identifier;
acquiring corresponding logic codes and configuration files according to the target sub-application program identification;
running the obtained logic code;
when the sub-application type corresponding to the target sub-application identification is a game type, then
Creating a canvas through the running logic codes, and calling a drawing interface of the parent application program to draw the game drawing resources specified by the configuration files on the canvas so as to construct a sub-application program game interface.
A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of:
acquiring a target sub-application program identifier;
acquiring corresponding logic codes and configuration files according to the target sub-application program identification;
running the obtained logic code;
when the sub-application type corresponding to the target sub-application identification is a game type, then
Creating a canvas through the running logic codes, and calling a drawing interface of the parent application program to draw the game drawing resources specified by the configuration files on the canvas so as to construct a sub-application program game interface.
According to the application processing method, the device, the storage medium and the computer equipment, the mother application is operated on the operating system, the mother application provides the drawing interface, the target sub-application identification can be acquired through the mother application, different sub-applications can be identified by the sub-application identification, and different sub-applications can be realized by the mother application according to logic codes and configuration files corresponding to the different sub-application identifications. Thus, after the corresponding logic code and configuration file are obtained according to the target sub-application program identification, the logic code can be operated, when the target sub-application program is a game type sub-application program, a canvas is created through the operated logic code, and a drawing interface of the parent application program is called to draw game drawing resources designated by the configuration file on the canvas, so that a sub-application program game interface is constructed. That is, when the parent application is running, the drawing interface of the parent application can be used to quickly construct the game interface of the child application, so that the use efficiency of the application is greatly improved.
Drawings
FIG. 1 is an application environment diagram of an application processing method in one embodiment;
FIG. 2 is a flow chart of an application processing method in one embodiment;
FIG. 3 is a diagram of the relationship between an operating system, a parent application, a child application, and a child application interface in one embodiment;
FIG. 4 is a schematic diagram of a parent application page including child application type options in one embodiment;
FIG. 5 is a schematic diagram of a parent application page including child application type options in another embodiment;
FIG. 6 is a diagram of a page showing friend sub-application usage information in one embodiment;
FIG. 7 is a flowchart of another embodiment of an application processing method;
FIG. 8 is a block diagram of an application processing device in one embodiment;
FIG. 9 is a block diagram of an application processing apparatus according to another embodiment;
fig. 10 is an internal structural view of a computer device in one embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
FIG. 1 is an application environment diagram of an application processing method in one embodiment. Referring to fig. 1, the application processing method is applied to an application processing system. The application processing system includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network. The server 120 may have stored thereon logic code and configuration files corresponding to the sub-application identifications. An operating system is run on the terminal 110, a parent application is run on the operating system, and the terminal 110 executes an application processing method through the parent application. The terminal 110 may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be an independent server, or may be a server cluster formed by a plurality of independent servers. Server 120 may include an open service platform and may also include an access server that accesses the open service platform.
FIG. 2 is a flow chart of an application processing method in one embodiment. The present embodiment is mainly exemplified by the application of the method to the terminal 110 in fig. 1. Referring to fig. 2, the application processing method specifically includes the following steps:
S202, acquiring the target sub-application program identification.
Specifically, an operating system is running on the terminal, and a parent application is running on the operating system. An Operating System (OS) is a computer program for managing and controlling terminal hardware and software resources, and is the most basic System software directly running on a bare computer of a user terminal, and 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 (Windows) operating system, a Linux operating system, or a Mac (apple desktop operating system), or a mobile operating system such as an iOS (apple mobile terminal operating system) or an Android operating system.
The parent application is a native application. A native application is an application that can run directly on an operating system. The parent application may be a social application, mail application, or gaming application, among others. Social applications include instant messaging applications, SNS (Social Network Service, social networking sites) applications, or live applications, among others. The parent application may specifically be a WeChat program.
The sub-application is then an application that can run in the environment provided by the parent application. The sub-application may specifically be a social application, a file management application, a mail application, or a game application, etc. The parent application may in particular be a WeChat program (WeChat), and the corresponding child application may be referred to as applet or applet.
In one embodiment, the terminal may display the sub-application list through the parent application, receive a selection instruction for an option in the sub-application list, and determine, according to the selection instruction, a selected option in the sub-application list, so as to obtain a target sub-application identifier corresponding to the selected option.
Further, each option in the sub-application list represents a sub-application, and the options may be in the form of graphics and/or text. The sub-application list may be a list of all existing sub-applications on the server, a list of sub-applications selected from all existing sub-applications on the server according to a specified condition, or a list of sub-applications downloaded locally. The sub-application list may include one or more options.
The condition according to which the sub-application program is filtered may be a condition set by the server or a condition input by the user. The condition may be a sort condition, a keyword match query condition, or a pre-sort query condition. The sorting condition is, for example, a condition of sorting by the release time, download amount, name, or the like of the sub-application. The keyword matching query condition is a condition for querying a sub-application matching the keyword inputted by the terminal. The pre-sort query condition is a condition for querying sub-applications by the server in advance, such as a condition for querying sub-applications of an office class, a game class, or a social class.
In one embodiment, the terminal may detect a trigger event for the content of the session message after receiving the session in the session through the parent application and displaying the content of the session message on the session interface corresponding to the session, detect whether the session message includes a sub-application identifier when the trigger event is detected, include the sub-application identifier in the session message, and extract the detected sub-application identifier. Thereby obtaining the target sub-application identification.
The displayed message content can be a card obtained by splicing text content related to the sub-application program and/or sub-application program interface content. The content of the message presented may be used as an operation portal to trigger entry into the sub-application. The triggering event can be triggered by a touch operation, a clicking operation, a pressing of a physical key, a sound control mode, a device shaking operation or other triggering modes.
S204, obtaining corresponding logic codes and configuration files according to the target sub-application program identification.
Specifically, the terminal may obtain a sub-application code package corresponding to the target sub-application identifier from a local or server through the parent application, and then parse the sub-application code package through the parent application to obtain a corresponding logic code and a configuration file.
Wherein the logic code is code for implementing the execution of the sub-application and the logic response. The logic code may be code written in a scripting language. Scripting languages such as JavaScript or VBScript. The configuration file is a file that configures an interface presented by the sub-application. The configuration file may be a source code or a file obtained by compiling the source code. The interfaces presented by the sub-application are referred to as sub-application interfaces, and the sub-application may include one or more sub-application interfaces.
S206, running the acquired logic code.
Specifically, the terminal may create a sub-application thread through the parent application, and run the logic code through the created sub-application thread.
In a specific embodiment, the terminal may create a sub-application thread in the context of the high-level language virtual machine through the parent application, and run the logic code through the created sub-application thread. Wherein a high-level language virtual machine such as JavaScript virtual machine, etc. In the iOS (apple mobile terminal operating system), a JavaScript virtual machine is realized through a JavaScript core; in an Android (Android) operating system, a JavaScript virtual machine is realized through V8.
And S208, when the type of the sub-application program corresponding to the target sub-application program identification is the game type, creating a canvas through the running logic code, and calling a drawing interface of the parent application program to draw the game drawing resource specified by the configuration file on the canvas so as to construct a game interface of the sub-application program.
The sub-application program type is a classification result label obtained by classifying the sub-application program according to a certain classification mode. Sub-application types such as game type, office type, or social type, etc. Game-type sub-applications such as WeChat mini-games.
Those skilled in the art will appreciate that the manner of presentation may vary depending on the requirements of the application data of the sub-application program at the time of presentation. For example, for a game type sub-application, since a frame of game screen can be understood as a frame of image, the sub-application game interface can be constructed by drawing game drawing resources on a canvas. For non-game type sub-applications, the sub-application page is typically a web page view (WebView), which is typically built up from page structure code and page style code.
FIG. 3 is a diagram that illustrates the relationship between an operating system, a parent application, a child application, and a child application interface in one embodiment. Referring to fig. 3, an operating system is run on a terminal, and a parent application is run on the operating system, the parent application providing an environment for the running of child applications. The terminal may display the sub-application interface through the parent application.
Canvas (canvas) can be understood as a graphic container and the running logical code can draw graphics such as text, lines, rectangles, circles, etc. on the canvas through a drawing interface. The canvas may include an on screen canvas and an off screen canvas. The screen-on canvas is already displayed on the screen of the terminal and is the same width and height as the screen. The off-screen canvas is not yet displayed on the screen of the terminal.
The game drawing resource is a material for drawing game drawing elements in a game picture. The game drawing resources include static game drawing resources and dynamic game drawing resources. A static game drawing resource is a game drawing resource with universal consistency. It will be appreciated that the game screen of the game type sub-application may be the same screen for each user. The dynamic game drawing resources are game drawing resources having a difference. Such as a response screen after interaction with the user, etc.
The canvas may be one or more layers in one embodiment. The requirements for rendering are different for each game drawing element (layer) in the game screen. For many game scenes, the frequency and magnitude of the primary character change is large, while the frequency or magnitude of the background change is relatively small. It will be appreciated that characters need to be updated and redrawn very frequently when drawing a game picture, but the frequency of updating for the background is relatively low. In this way, the running logic code can create multiple canvas instances that are placed in overlapping relation, defining a corresponding stacking order for each canvas. And then redraws only on the canvas where the content change occurred.
The drawing interface may specifically be a OpenGL (Open Graphics Library) open graphic library, a WebGLRenderingContext interface conforming to WebGL (Web Graphics Library, web graphic library) 1.0 standard, and a canvas renderingcontext interface conforming to HTML (HyperText Markup Language ) standard. In this way, the child applications of the game types developed based on HTML can then be easily accessed to the parent application.
Specifically, after the terminal obtains the target sub-application program identifier through the parent application program, the terminal can query the sub-application program type corresponding to the target sub-application program identifier, when the sub-application program type corresponding to the target sub-application program identifier is the game type, a canvas is created through the running logic code, and a drawing interface of the parent application program is called to draw the game drawing resource specified by the configuration file on the canvas, so that the sub-application program game interface is constructed. Wherein the sub-application code package of game types may include logic code, game drawing resources, and configuration files. The logic code may include a game engine and game logic. The game engine is the framework of the sub-application of the game type, the configuration file being a file that configures the interface presented by the sub-application.
When the type of the sub-application program corresponding to the target sub-application program identification is not the game type, the public component identification is acquired from the configuration file through the running logic code, a public component corresponding to the acquired public component identification is selected from a public component library provided by the parent application program, and then a sub-application program page is constructed according to the selected public component.
According to the application processing method, the mother application is operated on the operating system, the mother application provides the drawing interface, the target sub-application identification can be obtained through the mother application, different sub-applications can be identified by the sub-application identification, and different sub-applications can be realized by the mother application according to logic codes and configuration files corresponding to the different sub-application identifications. Thus, after the corresponding logic code and configuration file are obtained according to the target sub-application program identification, the logic code can be operated, when the target sub-application program is a game type sub-application program, a canvas is created through the operated logic code, and a drawing interface of the parent application program is called to draw game drawing resources designated by the configuration file on the canvas, so that a sub-application program game interface is constructed. That is, when the parent application is running, the drawing interface of the parent application can be used to quickly construct the game interface of the child application, so that the use efficiency of the application is greatly improved.
In one embodiment, after the terminal obtains the target sub-application program identifier through the parent application program, a sub-application program logic thread and a sub-application program interface thread can be created through the parent application program, logic codes are operated by the sub-application program logic thread, game drawing resources specified by the configuration file are obtained, a canvas is created, and then the drawing interface of the parent application program is called by the sub-application program interface thread to draw the game drawing resources specified by the configuration file on the canvas so as to construct the sub-application program game interface.
In one embodiment, S202 includes: displaying a parent application page including child application type options; selecting a target sub-application type from the sub-application type options; inquiring the sub-application program identification belonging to the target sub-application program type; selecting a target sub-application program identifier from the queried sub-application program identifiers.
Wherein each sub-application type option represents a sub-application type, and the options can be in the form of graphics and/or text. The terminal may present an entry into a parent application page including a child application type option, and upon detecting a trigger operation for the entry, execute the step of displaying the parent application page including the child application type option.
Specifically, the terminal may detect a selection operation acting on a sub-application type option in the parent application page, trigger a corresponding selection instruction, and acquire an event triggered by the selection instruction, where the event carries a position coordinate in the display screen, so as to select, according to the position coordinate, a target sub-application type from the displayed sub-application type options. The selection operation may specifically be a touch operation, a physical key operation, or a terminal gesture change operation.
Further, the terminal can query the sub-application program identifier belonging to the target sub-application program type through the parent application program, enter the sub-application program identifier display page, and display the queried sub-application program identifier in the sub-application program identifier display page in an item manner, wherein each item corresponds to one sub-application program. The terminal can detect the selection operation of the display page of the sub-application program identification again, trigger a corresponding selection instruction, and select the target sub-application program identification from the displayed sub-application program identifications according to the position coordinates in the display screen carried by the selection instruction.
In the embodiment, the sub-application type is displayed on the parent application page for the user to select, so that the sub-application needing to be operated can be freely selected and operated, and the convenience in using the sub-application is improved.
FIG. 4 is a schematic diagram of a parent application page including a child application type option in one embodiment. Referring to the left diagram of fig. 4, the interface includes a sub-application type option 401, the terminal can detect a selection operation acting on the sub-application type option through the parent application, trigger a corresponding selection instruction, select a target sub-application type according to the selection instruction, further enter a sub-application identification display page shown in the right diagram of fig. 4, display a sub-application identification belonging to the target sub-application type on the sub-application identification display page, and continue to select the target sub-application identification from the displayed sub-application identifications according to the selection instruction.
FIG. 5 is a schematic diagram of a parent application page including child application type options in one embodiment. Referring to the left diagram of fig. 5, the interface includes a sub-application type option 501, the terminal can detect a selection operation acting on the sub-application type option through the parent application, trigger a corresponding selection instruction, select a target sub-application type according to the selection instruction, further enter a sub-application identification display page shown in the right diagram of fig. 5, display a sub-application identification belonging to the target sub-application type on the sub-application identification display page, and continue selecting the target sub-application identification from the displayed sub-application identifications according to the selection instruction.
In one embodiment, selecting a target sub-application identifier from among the queried sub-application identifiers comprises: sequencing the queried sub application program identifiers according to the last running time of the corresponding records; displaying the sequenced sub-application program identifiers; and selecting a target sub-application program identifier from the displayed sequenced sub-application program identifiers.
Specifically, when the terminal runs the sub-application through the parent application, the running time of the sub-application is recorded correspondingly. Thus, after the parent application program displays the queried sub-application program identifiers, the queried sub-application program identifiers can be ordered according to the last running time of the corresponding records. The sub application program identifiers are sorted in a reverse order according to the last running time of the corresponding records. I.e. the closer the last run time of the sub-application is to the current time, the earlier the ranking.
For example, assume that the last time the corresponding record of sub-application identification A was run 10:30 on 1 month 1 day 2018, the last time the corresponding record of sub-application identification B was run 12:23 on 1 month 1 day 2018, and the last time the corresponding record of sub-application identification C was run 10:13 on 1 month 1 day 2018. Then the ranking of sub-application identifications is B, A, C.
In this embodiment, the queried sub-application identifiers are ranked according to the last running time of the corresponding record for the user to select, so that the user can quickly select and run the commonly used sub-application, thereby improving the convenience of using the commonly used sub-application.
In one embodiment, S204 includes: acquiring a corresponding global configuration file according to the target sub-application program identification; obtaining the corresponding logic codes and the paths of the configuration files from the global configuration files; and acquiring the logic code and the configuration file according to the acquired path.
Specifically, the terminal may obtain, from the local, a global profile corresponding to the sub-application identifier through the parent application. The terminal can also send the sub-application program identification to the server through the parent application program and receive the global configuration file corresponding to the sub-application program identification, which is fed back by the server. The sub-application global configuration file is a file for configuring the whole of the corresponding sub-application, and specifically can configure logic codes, paths of the configuration files, network timeout threshold values of the sub-application and other sub-application global configuration information.
The global configuration file may be included in the sub-application code package, or may be a file independent of the sub-application. After the parent application installs the child application code package, the path of the logical code and configuration files local to the parent application may be determined from the global configuration file. The path may be an absolute or a relative path. The configuration file here may be an interface configuration file in particular. The global profile and the profile may also be one file.
In this embodiment, the path of the logic code and the configuration file may be obtained by using the global configuration file, so as to obtain the logic code and the configuration file corresponding to the identifier of the sub-application program, so that the global configuration and the interface configuration of the sub-application program are separated, and global management and interface management of the sub-application program are facilitated.
In one embodiment, S208 includes: when the type of the sub-application program corresponding to the target sub-application program identification is the game type, creating a canvas through the running logic code, and directly calling a drawing interface of the parent application program to draw the game drawing resource specified by the configuration file on the canvas so as to construct a sub-application program game interface.
In particular, the drawing interface of the parent application may be a package of drawing interfaces of the operating system, and one drawing interface of the parent application may be a package of one or more drawing interfaces of the operating system. The terminal calls a drawing interface provided by the parent application program through the running logic code, and further calls the drawing interface provided by the operating system, and the drawing event is transmitted to the operating system for processing, so that a corresponding event response result is obtained. In this embodiment, the running logic code performs canvas drawing through the drawing interface provided by the parent application program, so that the logic code of the child application program is lighter.
In one embodiment, S208 includes: when the type of the sub-application program corresponding to the target sub-application program identification is the game type, creating a canvas through the running logic code, calling a drawing interface of the parent application program, calling the drawing interface of an operating system providing a running environment for the parent application program through the drawing interface of the parent application program, and drawing game drawing resources specified by the configuration file on the canvas to construct a game interface of the sub-application program.
In this embodiment, the parent application is used as a bridge, and the drawing interface provided by the operating system is called by the running logic code to draw the canvas, so that not only is the logic code of the child application lighter, but also the development workload of the parent application can be reduced.
In one embodiment, the application processing method further includes: monitoring a sharing instruction of the sub-application program corresponding to the target sub-application program identifier; intercepting a sub-application game interface in response to the sharing instruction; sharing the intercepted sub-application game interface.
Wherein the sharing instruction is a computer readable instruction that triggers the sharing action. The sharing instruction aims at the sub-application program corresponding to the currently displayed sub-application program game interface. The terminal can trigger the sharing instruction when detecting a preset triggering operation, can trigger the sharing instruction at fixed time, and can trigger the sharing instruction when a specified spontaneous event occurs.
Specifically, when the terminal monitors the sharing instruction corresponding to the sub-application program corresponding to the target sub-application program identifier, the terminal performs a screenshot action on the currently displayed game interface of the sub-application program to obtain a corresponding screenshot. The screenshot may be obtained by an application running on the terminal for rendering the sub-application interface, or by the operating system of the terminal. The game interface of the sub-application program can be displayed in a full screen mode, and can only occupy a local display area of a display screen of the terminal.
Further, the terminal can share the screenshot obtained by intercepting the game interface of the sub-application program in the session so as to realize sharing of the sub-application program. The terminal can also obtain text content through the parent application program, wherein the text content is in a text form which is expected to be shared together by the sub-application program during screenshot sharing, and specifically can be the name, version number or other introduction information of the sub-application program.
In the embodiment, when sharing the sub-application program, the content belonging to the game interface of the sub-application program can be shared, so that the diversity and flexibility of the shared content are enhanced.
In one embodiment, the terminal may also directly obtain the default shared content and share the default shared content when monitoring the sharing instruction corresponding to the sub-application corresponding to the target sub-application identifier.
In one embodiment, the terminal may also call a data development interface provided by the parent application through the running logic code, log in the child application through the user identifier of the parent application, or obtain the child application usage information of the friends in the friend relationship chain of the parent application. Such as querying for applets or games used by friends, etc. Referring to FIG. 6, a diagram of a page showing buddy sub-application usage information in one embodiment is shown.
In one embodiment, the application processing method further includes: monitoring events corresponding to the game interface of the sub application program through the running logic code; when the running logic code monitors an event, the game interface of the sub-application program is updated according to the game drawing resources corresponding to the monitored event.
Specifically, the terminal may detect or monitor, through the running logic code, an event triggered in the sub-application page for the sub-application game interface. Wherein the event is used to describe an operation occurring in the sub-application game interface. Events can be categorized into a variety of event types, such as touch events or input events, and the like. Touch events such as a start touch event, a touch move event, a touch cancel event, a touch end event, and an event where a touch exceeds a preset duration.
The terminal can determine the event type of the event after acquiring the event through the running logic code, and further process the event by adopting the response code matched with the event type in the configuration file to obtain a corresponding event processing result. The event can also carry data, and the response code matched with the event type can transmit the data carried by the event into the response code for processing when the event is processed. The terminal can also update the sub-application game interface or switch the sub-application game interface through the running logic code according to the event processing result corresponding to the event.
In this embodiment, the sub-application page configuration file has a corresponding page logic code file, and the presentation and logic interaction of the sub-application page are separated, so that the sub-application page configuration file and the page logic code file can be updated and used respectively, and are more suitable for implementation and maintenance of the sub-application.
FIG. 7 is a flowchart of an application processing method in one embodiment. The application program processing method specifically comprises the following steps:
s702, displaying a parent application page comprising child application type options; the target sub-application type is selected from the sub-application type options.
S704, inquiring the sub-application program identification belonging to the target sub-application program type; sequencing the queried sub application program identifiers according to the last running time of the corresponding records; and displaying the sequenced sub-application program identifiers.
S706, selecting a target sub-application program identifier from the displayed sequenced sub-application program identifiers.
S708, acquiring a corresponding global configuration file according to the target sub-application program identification; obtaining the corresponding logic codes and the paths of the configuration files from the global configuration files; and acquiring the logic code and the configuration file according to the acquired path.
S710, running the acquired logic code.
S712, judging whether the sub-application type corresponding to the target sub-application identification is a game type; if yes, go to step S714; if not, go to step S720.
S714, creating a canvas through the running logic codes, and calling a drawing interface of the parent application program to draw the game drawing resources specified by the configuration file on the canvas so as to construct a sub-application program game interface.
S716, monitoring a sharing instruction of the sub-application corresponding to the target sub-application identifier; intercepting a sub-application game interface in response to the sharing instruction; sharing the intercepted sub-application game interface.
S718, monitoring events corresponding to the game interface of the sub-application program through the running logic code; when the running logic code monitors an event, the game interface of the sub-application program is updated according to the game drawing resources corresponding to the monitored event.
S720, obtaining a public component identifier from the configuration file through the running logic code; selecting a public component corresponding to the acquired public component identifier from a public component library provided by the parent application program; and constructing the sub-application program page according to the selected public components.
In this embodiment, a parent application is run on the operating system, a target sub-application identifier may be obtained by the parent application, different sub-applications may be identified by the sub-application identifier, and different sub-applications may be implemented by the parent application according to logic codes and configuration files corresponding to the different sub-application identifiers. Thus, after the corresponding logic code and configuration file are obtained according to the target sub-application program identification, the logic code can be operated, when the target sub-application program is a game type sub-application program, a canvas is created through the operated logic code, and a drawing interface of the parent application program is called to draw game drawing resources designated by the configuration file on the canvas, so that a sub-application program game interface is constructed. That is, when the parent application is running, the drawing interface of the parent application can be used to quickly construct the game interface of the child application, so that the use efficiency of the application is greatly improved.
And when the target sub-application program is not the game type sub-application program, selecting a public component from the public component library according to the configuration file of the sub-application program to construct a sub-application program page. That is, when the parent application is running, the child application pages can be quickly constructed by using the public components provided by the parent application, so that the application use efficiency is improved.
It should be understood that, although the steps in the flowcharts of the above embodiments are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the embodiments described above may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with at least a portion of other steps or sub-steps of other steps.
As shown in fig. 8, in one embodiment, an application processing apparatus 800 is provided. Referring to fig. 8, the application processing apparatus 800 includes: an acquisition module 801, a running module 802, and a drawing module 803.
An obtaining module 801, configured to obtain a target sub-application identifier; and acquiring corresponding logic codes and configuration files according to the target sub-application program identification.
An operation module 802, configured to operate the acquired logic code.
And the drawing module 803 is configured to create a canvas through the running logic code and call the drawing interface of the parent application to draw the game drawing resource specified by the configuration file on the canvas when the type of the sub-application corresponding to the target sub-application identifier is the game type, so as to construct a sub-application game interface.
In the application processing apparatus 800, a parent application is running on an operating system, the parent application provides a drawing interface, a target sub-application identifier can be obtained through the parent application, different sub-applications can be identified by the sub-application identifier, and different sub-applications can be implemented by the parent application according to logic codes and configuration files corresponding to the different sub-application identifiers. Thus, after the corresponding logic code and configuration file are obtained according to the target sub-application program identification, the logic code can be operated, when the target sub-application program is a game type sub-application program, a canvas is created through the operated logic code, and a drawing interface of the parent application program is called to draw game drawing resources designated by the configuration file on the canvas, so that a sub-application program game interface is constructed. That is, when the parent application is running, the drawing interface of the parent application can be used to quickly construct the game interface of the child application, so that the use efficiency of the application is greatly improved.
In one embodiment, the acquisition module 801 is further configured to display a parent application page including child application type options; selecting a target sub-application type from the sub-application type options; inquiring the sub-application program identification belonging to the target sub-application program type; selecting a target sub-application program identifier from the queried sub-application program identifiers.
In one embodiment, the obtaining module 801 is further configured to sort the queried sub application identifiers according to the last running time of the corresponding record; displaying the sequenced sub-application program identifiers; and selecting a target sub-application program identifier from the displayed sequenced sub-application program identifiers.
In one embodiment, the obtaining module 801 is further configured to obtain a corresponding global configuration file according to the target sub-application identifier; obtaining the corresponding logic codes and the paths of the configuration files from the global configuration files; and acquiring the logic code and the configuration file according to the acquired path.
In one embodiment, the drawing module 803 is further configured to create a canvas through the running logic code and directly call the drawing interface of the parent application to draw the game drawing resources specified by the configuration file on the canvas to construct a sub-application game interface; or creating a canvas through the running logic code, calling a drawing interface of the parent application program, calling a drawing interface of an operating system providing a running environment for the parent application program through the drawing interface of the parent application program, and drawing game drawing resources specified by the configuration file on the canvas to construct a sub-application program game interface.
In one embodiment, the application processing device 800 further comprises: the sharing module 804 is configured to monitor a sharing instruction corresponding to the sub-application program corresponding to the target sub-application program identifier; intercepting a sub-application game interface in response to the sharing instruction; sharing the intercepted sub-application game interface.
As shown in fig. 9, in one embodiment, the application processing apparatus 800 further includes: a sharing module 804 and an updating module 805.
An update module 805 for listening, through the running logic code, for events corresponding to the sub-application game interface; when the running logic code monitors an event, the game interface of the sub-application program is updated according to the game drawing resources corresponding to the monitored event.
FIG. 10 illustrates an internal block diagram of a computer device in one embodiment. The computer device may be specifically the terminal 110 of fig. 1. As shown in fig. 10, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by a processor, causes the processor to implement an application processing method. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform the application processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, etc., and the input device can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse, etc. It will be appreciated by those skilled in the art that the structure shown in fig. 10 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the application processing apparatus provided in the present application may be implemented in the form of a computer program, where the computer program may run on a computer device as shown in fig. 10, and a nonvolatile storage medium of the computer device may store respective program modules that make up the application processing apparatus, for example, an acquisition module 801, an execution module 802, and a rendering module 803 shown in fig. 8. The computer program comprising the individual program modules causes the processor to execute the steps in the application processing method of the individual embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 10 may acquire the target sub-application identification through the acquisition module 801 in the application processing apparatus 800 shown in fig. 8; and acquiring corresponding logic codes and configuration files according to the target sub-application program identification. The acquired logic code is executed by the execution module 802. When the type of the sub-application corresponding to the target sub-application identifier is a game type, through the drawing module 803, a canvas is created through the running logic code, and a drawing interface of the parent application is called to draw the game drawing resource specified by the configuration file on the canvas, so as to construct a sub-application game interface.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which when executed by a processor causes the processor to perform the steps of: acquiring a target sub-application program identifier; acquiring corresponding logic codes and configuration files according to the target sub-application program identification; running the acquired logic code; when the type of the sub-application program corresponding to the target sub-application program identification is the game type, creating a canvas through the running logic code, and calling a drawing interface of the parent application program to draw the game drawing resource specified by the configuration file on the canvas so as to construct a sub-application program game interface.
In one embodiment, obtaining the target sub-application identification includes: displaying a parent application page including child application type options; selecting a target sub-application type from the sub-application type options; inquiring the sub-application program identification belonging to the target sub-application program type; selecting a target sub-application program identifier from the queried sub-application program identifiers.
In one embodiment, selecting a target sub-application identifier from among the queried sub-application identifiers comprises: sequencing the queried sub application program identifiers according to the last running time of the corresponding records; displaying the sequenced sub-application program identifiers; and selecting a target sub-application program identifier from the displayed sequenced sub-application program identifiers.
In one embodiment, obtaining the corresponding logic code and configuration file according to the target sub-application identification includes: acquiring a corresponding global configuration file according to the target sub-application program identification; obtaining the corresponding logic codes and the paths of the configuration files from the global configuration files; and acquiring the logic code and the configuration file according to the acquired path.
In one embodiment, creating a canvas through running logic code and invoking a drawing interface of a parent application to draw game drawing resources specified by a configuration file on the canvas to construct a child application game interface, comprising: creating a canvas through the running logic codes, and directly calling a drawing interface of the parent application program to draw game drawing resources specified by the configuration files on the canvas so as to construct a game interface of the sub application program; or creating a canvas through the running logic code, calling a drawing interface of the parent application program, calling a drawing interface of an operating system providing a running environment for the parent application program through the drawing interface of the parent application program, and drawing game drawing resources specified by the configuration file on the canvas to construct a sub-application program game interface.
In one embodiment, the computer program, when executed by the processor, further causes the processor to perform the steps of: monitoring a sharing instruction of the sub-application program corresponding to the target sub-application program identifier; intercepting a sub-application game interface in response to the sharing instruction; sharing the intercepted sub-application game interface.
In one embodiment, the computer program, when executed by the processor, further causes the processor to perform the steps of: monitoring events corresponding to the game interface of the sub application program through the running logic code; when the running logic code monitors an event, the game interface of the sub-application program is updated according to the game drawing resources corresponding to the monitored event.
The storage medium runs the mother application program on the operating system, the mother application program provides a drawing interface, the target sub-application program identification can be acquired through the mother application program, different sub-application programs can be identified by the sub-application program identification, and different sub-application programs can be realized by the mother application program according to logic codes and configuration files corresponding to the different sub-application program identifications. Thus, after the corresponding logic code and configuration file are obtained according to the target sub-application program identification, the logic code can be operated, when the target sub-application program is a game type sub-application program, a canvas is created through the operated logic code, and a drawing interface of the parent application program is called to draw game drawing resources designated by the configuration file on the canvas, so that a sub-application program game interface is constructed. That is, when the parent application is running, the drawing interface of the parent application can be used to quickly construct the game interface of the child application, so that the use efficiency of the application is greatly improved.
In one embodiment, a computer device is provided that includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of: acquiring a target sub-application program identifier; acquiring corresponding logic codes and configuration files according to the target sub-application program identification; running the acquired logic code; when the type of the sub-application program corresponding to the target sub-application program identification is the game type, creating a canvas through the running logic code, and calling a drawing interface of the parent application program to draw the game drawing resource specified by the configuration file on the canvas so as to construct a sub-application program game interface.
In one embodiment, obtaining the target sub-application identification includes: displaying a parent application page including child application type options; selecting a target sub-application type from the sub-application type options; inquiring the sub-application program identification belonging to the target sub-application program type; selecting a target sub-application program identifier from the queried sub-application program identifiers.
In one embodiment, selecting a target sub-application identifier from among the queried sub-application identifiers comprises: sequencing the queried sub application program identifiers according to the last running time of the corresponding records; displaying the sequenced sub-application program identifiers; and selecting a target sub-application program identifier from the displayed sequenced sub-application program identifiers.
In one embodiment, obtaining the corresponding logic code and configuration file according to the target sub-application identification includes: acquiring a corresponding global configuration file according to the target sub-application program identification; obtaining the corresponding logic codes and the paths of the configuration files from the global configuration files; and acquiring the logic code and the configuration file according to the acquired path.
In one embodiment, creating a canvas through running logic code and invoking a drawing interface of a parent application to draw game drawing resources specified by a configuration file on the canvas to construct a child application game interface, comprising: creating a canvas through the running logic codes, and directly calling a drawing interface of the parent application program to draw game drawing resources specified by the configuration files on the canvas so as to construct a game interface of the sub application program; or creating a canvas through the running logic code, calling a drawing interface of the parent application program, calling a drawing interface of an operating system providing a running environment for the parent application program through the drawing interface of the parent application program, and drawing game drawing resources specified by the configuration file on the canvas to construct a sub-application program game interface.
In one embodiment, the computer program, when executed by the processor, further causes the processor to perform the steps of: monitoring a sharing instruction of the sub-application program corresponding to the target sub-application program identifier; intercepting a sub-application game interface in response to the sharing instruction; sharing the intercepted sub-application game interface.
In one embodiment, the computer program, when executed by the processor, further causes the processor to perform the steps of: monitoring events corresponding to the game interface of the sub application program through the running logic code; when the running logic code monitors an event, the game interface of the sub-application program is updated according to the game drawing resources corresponding to the monitored event.
According to the computer equipment, the mother application program is operated on the operating system, the mother application program provides the drawing interface, the target sub-application program identification can be obtained through the mother application program, different sub-application programs can be identified by the sub-application program identification, and different sub-application programs can be realized by the mother application program according to logic codes and configuration files corresponding to the different sub-application program identifications. Thus, after the corresponding logic code and configuration file are obtained according to the target sub-application program identification, the logic code can be operated, when the target sub-application program is a game type sub-application program, a canvas is created through the operated logic code, and a drawing interface of the parent application program is called to draw game drawing resources designated by the configuration file on the canvas, so that a sub-application program game interface is constructed. That is, when the parent application is running, the drawing interface of the parent application can be used to quickly construct the game interface of the child application, so that the use efficiency of the application is greatly improved.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (12)

1. An application processing method, comprising:
displaying a parent application page including child application type options;
selecting a game type from the sub-application type options, and selecting a target sub-application identifier from the sub-application identifiers of the queried game type;
acquiring a sub-application code package of a game type according to the target sub-application identification, wherein the sub-application code package comprises logic codes for realizing the running and logic response of the target sub-application and configuration files for configuring an interface presented by the target sub-application, the logic codes comprise a game engine and game logic, and the game engine is a framework of the sub-application of the game type; the sub-application code package further includes game drawing resources including static game drawing resources having general consistency and dynamic game drawing resources for frequently redrawing response pictures having differences after user interaction;
Running the obtained logic code;
creating multiple layers of canvas of the sub-application program of the game type through the running logic codes, defining corresponding stacking orders for each layer of canvas in the multiple layers of canvas which are placed in an overlapping mode, and calling a drawing interface of the parent application program to draw game drawing resources specified by the configuration file on the multiple layers of canvas of the sub-application program of the game type so as to construct and display a game interface of the sub-application program; wherein, the static game drawing resource and the dynamic game drawing resource are respectively drawn on canvases of different layers;
when the displayed sub-application game interface is operated, monitoring an event triggered by the sub-application game interface through running logic codes, determining the event type of the event, processing the event by adopting a response code matched with the event type in the configuration file to obtain a corresponding event processing result, determining canvas with content change in the multi-layer canvas according to the event processing result, redrawing the determined canvas according to the dynamic game drawing resource, and updating the sub-application game interface.
2. The method of claim 1, wherein selecting the target sub-application identifier from among the sub-application identifiers of the queried game types, comprises:
sequencing the queried sub application program identifiers according to the last running time of the corresponding records;
displaying the sequenced sub-application program identifiers;
and selecting a target sub-application program identifier from the displayed sequenced sub-application program identifiers.
3. The method of claim 1, wherein the step of obtaining the logic code and configuration file comprises:
acquiring a corresponding global configuration file from the sub-application code package;
obtaining the paths of the corresponding logic codes and configuration files from the global configuration files;
and acquiring the logic code and the configuration file according to the acquired path.
4. The method of claim 1, wherein the creating, by the running logic code, the multi-tier canvas of the game type sub-application, defining a respective stacking order for each of the overlapping multi-tier canvases, and invoking the drawing interface of the parent application to draw the game drawing resources specified by the configuration file on the multi-tier canvas of the game type sub-application to construct and display a sub-application game interface, comprises:
Creating multiple layers of canvas of the sub-application program of the game type through the running logic codes, defining corresponding stacking orders for each layer of canvas in the multiple layers of canvas which are placed in an overlapping mode, and directly calling a drawing interface of the parent application program to draw game drawing resources specified by the configuration file on the multiple layers of canvas of the sub-application program of the game type so as to construct a game interface of the sub-application program; or alternatively, the process may be performed,
creating multiple layers of canvas of the sub-application program of the game type through the running logic codes, defining a corresponding stacking order for each layer of canvas in the multiple layers of canvas which are overlapped, calling a drawing interface of a parent application program, calling a drawing interface of an operating system for providing a running environment for the parent application program through the drawing interface of the parent application program, and drawing game drawing resources specified by the configuration file on the multiple layers of canvas of the sub-application program of the game type to construct and display a game interface of the sub-application program.
5. The method according to any one of claims 1-4, further comprising:
monitoring a sharing instruction of the sub-application program corresponding to the target sub-application program identifier;
Intercepting the sub-application game interface in response to the sharing instruction;
and sharing the intercepted sub-application game interface.
6. An application processing apparatus, comprising:
the acquisition module is used for displaying a parent application page comprising child application type options; selecting a game type from the sub-application type options, and selecting a target sub-application identifier from the sub-application identifiers of the queried game type; acquiring a sub-application code package of a game type according to the target sub-application identification, wherein the sub-application code package comprises corresponding logic codes for realizing the running and logic response of the target sub-application and configuration files for configuring an interface presented by the target sub-application, the logic codes comprise a game engine and game logic, and the game engine is a framework of the sub-application of the game type; the sub-application code package further includes game drawing resources including static game drawing resources having general consistency and dynamic game drawing resources for frequently redrawing response pictures having differences after user interaction;
The operation module is used for operating the acquired logic codes;
the drawing module is used for creating multiple layers of canvas of the game type sub-application program through the running logic codes, defining corresponding stacking orders for each layer of canvas in the multiple layers of canvas which are placed in an overlapping mode, and calling a drawing interface of the parent application program to draw game drawing resources designated by the configuration file on the multiple layers of canvas of the game type sub-application program so as to construct and display a sub-application program game interface; wherein, the static game drawing resource and the dynamic game drawing resource are respectively drawn on canvases of different layers;
and the updating module is used for monitoring an event triggered by the game interface of the sub application program through running logic codes when the game interface of the sub application program is operated, determining the event type of the event, processing the event by adopting a response code matched with the event type in the configuration file to obtain a corresponding event processing result, determining a canvas with content change in the multi-layer canvas according to the event processing result, and redrawing the determined canvas according to the dynamic game drawing resource so as to update the game interface of the sub application program.
7. The apparatus of claim 6, wherein the acquisition module is further configured to rank the queried sub-application identifications by a last run time of a corresponding record; displaying the sequenced sub-application program identifiers; and selecting a target sub-application program identifier from the displayed sequenced sub-application program identifiers.
8. The apparatus of claim 6, wherein the obtaining module is further configured to obtain a corresponding global profile from the sub-application code package; obtaining the paths of the corresponding logic codes and configuration files from the global configuration files; and acquiring the logic code and the configuration file according to the acquired path.
9. The apparatus of claim 6, wherein the drawing module is further configured to create multiple layers of canvas of the game type sub-application by the running logic code, define a respective stacking order for each of the multiple layers of canvas placed one above the other, and directly call a drawing interface of a parent application to draw the game drawing resources specified by the configuration file on the multiple layers of canvas of the game type sub-application to construct a sub-application game interface; or creating multiple layers of canvas of the sub-application program of the game type through the running logic codes, defining a corresponding stacking order for each layer of canvas in the multiple layers of canvas which are overlapped, calling a drawing interface of the parent application program, calling a drawing interface of an operating system for providing a running environment for the parent application program through the drawing interface of the parent application program, and drawing game drawing resources specified by the configuration file on the multiple layers of canvas of the sub-application program of the game type to construct and display a game interface of the sub-application program.
10. The apparatus according to any one of claims 6-9, wherein the apparatus further comprises:
the sharing module is used for monitoring a sharing instruction of the sub-application program corresponding to the target sub-application program identifier; intercepting the sub-application game interface in response to the sharing instruction; and sharing the intercepted sub-application game interface.
11. A computer readable storage medium having stored thereon a computer program, which, when executed by a processor, causes the processor to perform the steps of the method according to any of claims 1 to 5.
12. A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 5.
CN201810183645.1A 2018-03-06 2018-03-06 Application processing method, device, storage medium and computer equipment Active CN110244984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810183645.1A CN110244984B (en) 2018-03-06 2018-03-06 Application processing method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810183645.1A CN110244984B (en) 2018-03-06 2018-03-06 Application processing method, device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN110244984A CN110244984A (en) 2019-09-17
CN110244984B true CN110244984B (en) 2023-06-02

Family

ID=67876181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810183645.1A Active CN110244984B (en) 2018-03-06 2018-03-06 Application processing method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN110244984B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659057B (en) * 2019-09-24 2021-10-22 腾讯科技(深圳)有限公司 Application program hot updating method and device, storage medium and computer equipment
CN110659032B (en) * 2019-09-24 2023-08-22 网易(杭州)网络有限公司 Instruction execution method and device for game application, terminal equipment and storage medium
CN111158750B (en) * 2019-12-26 2023-09-26 北京金山安全软件有限公司 Packing method and device of game installation package based on Unity
CN111080170B (en) * 2019-12-30 2023-09-05 北京云享智胜科技有限公司 Workflow modeling method and device, electronic equipment and storage medium
CN111787030B (en) * 2020-07-31 2024-01-05 腾讯科技(深圳)有限公司 Network security inspection method, device, equipment and storage medium
CN112035187A (en) * 2020-09-16 2020-12-04 北京思明启创科技有限公司 Resource loading and packing method, device, equipment and medium
CN112256286B (en) * 2020-10-21 2023-05-05 抖音视界有限公司 Application running method and device and computer storage medium
CN112631689A (en) * 2021-01-04 2021-04-09 北京字节跳动网络技术有限公司 Application program loading method and device and computer storage medium
CN112953965B (en) * 2021-03-18 2022-11-01 杭州网易云音乐科技有限公司 Client login method and system, client, medium and computing device
CN113590166B (en) * 2021-08-02 2024-03-26 腾讯数码(深圳)有限公司 Application program updating method and device and computer readable storage medium
CN117149468A (en) * 2023-10-30 2023-12-01 建信金融科技有限责任公司 Resource access method and device, electronic equipment and computer readable medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102880A (en) * 2017-05-11 2017-08-29 腾讯科技(深圳)有限公司 Message treatment method, device, storage medium and computer equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102880A (en) * 2017-05-11 2017-08-29 腾讯科技(深圳)有限公司 Message treatment method, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN110244984A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110244984B (en) Application processing method, device, storage medium and computer equipment
CN106598655B (en) Application page processing method and device
US11269696B2 (en) Application processing method and apparatus
US11314568B2 (en) Message processing method and apparatus, storage medium, and computer device
US11126328B2 (en) Application processing method and apparatus, storage medium, and computing device
KR102436987B1 (en) Method and terminal device for extracting web page content
WO2018177251A1 (en) Application program processing method, computer device and storage medium
CN109542543B (en) Application page processing method and device, storage medium and computer equipment
EP2866158A1 (en) Method for reader to provide service, reader, terminal and computer storage medium
WO2014194654A1 (en) Method and apparatus for page view switching
CN111258680B (en) Resource loading method and device, storage medium and electronic device
JP2022505656A (en) Sub-application development methods, equipment, computer equipment, and computer programs
US10445412B1 (en) Dynamic browsing displays
US9880861B2 (en) Method and apparatus for page view switching
US20220229638A1 (en) Content development device
CN111258434A (en) Method, device, equipment and storage medium for inserting pictures into chat interface
CN112817817B (en) Buried point information query method, buried point information query device, computer equipment and storage medium
CN112783660B (en) Resource processing method and device in virtual scene and electronic equipment
CN114610384A (en) Application migration method, device, equipment and storage medium
CN115617441A (en) Method and device for binding model and primitive, storage medium and computer equipment
CN113849195A (en) Application program loading method and device, storage medium and terminal
CN112051952A (en) Picture dynamic browsing method and device, electronic equipment and readable storage medium
CN106775639B (en) Information processing method, information processing apparatus, and computer device
CN110908745A (en) Data analysis display method and system, storage medium, server and client
CN115237413B (en) List processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant