CN112416455B - Data processing method, device, terminal and storage medium - Google Patents

Data processing method, device, terminal and storage medium Download PDF

Info

Publication number
CN112416455B
CN112416455B CN202011295442.5A CN202011295442A CN112416455B CN 112416455 B CN112416455 B CN 112416455B CN 202011295442 A CN202011295442 A CN 202011295442A CN 112416455 B CN112416455 B CN 112416455B
Authority
CN
China
Prior art keywords
page
applet
control
program
server
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
CN202011295442.5A
Other languages
Chinese (zh)
Other versions
CN112416455A (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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202011295442.5A priority Critical patent/CN112416455B/en
Publication of CN112416455A publication Critical patent/CN112416455A/en
Application granted granted Critical
Publication of CN112416455B publication Critical patent/CN112416455B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The embodiment of the disclosure provides a data processing method, a device, a terminal and a storage medium, wherein the data processing method comprises the following steps: when it is monitored that a starting control of a first small program is triggered, a page acquisition request is sent to a server, wherein the starting control of the first small program is triggered based on a toolbar of a conversation page of a preset application program; receiving a page file returned by a server; and presenting the service page of the first small program according to the page file. In other words, in the embodiment of the present disclosure, the applet can be added to the toolbar of the session page of the preset application program, so that more functions are provided for the user, and the requirements of the user on more functions are met.

Description

Data processing method, device, terminal and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method, an apparatus, a terminal, and a storage medium.
Background
In the instant messaging application program, some basic functions are provided, such as sending pictures, sending videos, sending positions and the like, but with the development of technology and the expansion of service scenes, the basic functions cannot meet the requirements of users.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method, a data processing device, a terminal and a storage medium, which satisfy the requirements of users for more functions.
In a first aspect, an embodiment of the present disclosure provides a data processing method, including:
when it is monitored that a starting control of a first small program is triggered, a page acquisition request is sent to a server, wherein the starting control of the first small program is triggered based on a toolbar of a conversation page of a preset application program;
receiving a page file returned by the server;
and presenting the service page of the first small program according to the page file.
Optionally, the presenting a service page of the first applet according to the page file includes:
creating a page display window on the session page;
and displaying the service page of the first small program on the page display window according to the page file.
Optionally, before sending the page obtaining request to the server, the method further includes:
collecting starting scene parameters;
the sending of the page acquisition request to the server includes:
and sending a page acquisition request carrying the starting scene parameters to the server so that the server returns a page file matched with the starting scene parameters.
Optionally, the collecting the startup scenario parameters includes:
collecting at least one of a scene value, a trigger code, session information of the session page, and user information of the session page of the first applet.
Optionally, the method further comprises:
card parameters are collected through the business page, and the card parameters are written into a card template to generate a message card;
and sending the message card to the session page.
Optionally, the triggering of the start control of the first applet based on a toolbar of a session page of a preset application program includes:
and triggering the starting control of the first applet based on a pop-up menu of a preset control in the toolbar.
Optionally, the pop-up menu includes a function expansion control, and the method further includes:
when the function extension control is triggered, popping up a function extension page, wherein the function extension page comprises a recommended control of a second applet;
and when the recommendation control is triggered, downloading the second applet.
Optionally, the pop-up menu includes a function expansion control, and the method further includes:
when the function extension control is triggered, popping up a function extension page, wherein the function extension page comprises an available program area and a recommended program area, the available program area displays a starting control of the first small program, and the recommended program area displays a recommended control of a second small program;
downloading the second applet when the recommendation control is triggered.
In a second aspect, an embodiment of the present disclosure provides a data processing apparatus, including:
the system comprises a sending module and a receiving module, wherein the sending module is used for sending a page acquisition request to a server when monitoring that a starting control of a first small program is triggered, and the starting control of the first small program is triggered based on a toolbar of a conversation page of a preset application program;
the receiving module is used for receiving the page file returned by the server;
and the presentation module is used for presenting the service page of the first small program according to the page file.
In a third aspect, an embodiment of the present disclosure provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the data processing method according to the first aspect when executing the program.
In a fourth aspect, the embodiments of the present disclosure provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the data processing method according to the first aspect of the embodiments of the present disclosure.
In the embodiment of the disclosure, a starting control of an applet can be provided in a toolbar of a session page of a preset application program, when it is monitored that the starting control of a first applet is triggered, a page acquisition request is sent to a server, a page file returned by the server is received, and a service page of the first applet is presented according to the page file; namely, in the embodiment of the present disclosure, the applet may be added to the toolbar of the session page of the preset application program, so as to provide more functions for the user and meet the requirements of the user for more functions.
Drawings
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present disclosure.
Fig. 2 is another schematic flow chart of a data processing method provided in the embodiment of the present disclosure.
Fig. 3 is a schematic diagram of a configuration interface of an applet in the background provided by an embodiment of the present disclosure.
Fig. 4 to 7 are schematic diagrams of interfaces for enabling an applet on a mobile terminal according to an embodiment of the disclosure.
Fig. 8 is a schematic flowchart of a data processing method according to an embodiment of the present disclosure.
Fig. 9 to 12 are schematic interface diagrams of enabling an applet on a PC side according to an embodiment of the present disclosure.
Fig. 13 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure.
Fig. 14 is a schematic structural diagram of a terminal provided in an embodiment of the present disclosure.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
In the prior art, the session page of the instant messaging application only provides some basic functions, and the functions are few and cannot meet the requirements of the user, so that the embodiment of the disclosure provides a data processing method, which can provide more functions for the session page of the instant messaging application and meet the requirements of the user on more functions.
Fig. 1 is a schematic flowchart of a data processing method provided by an embodiment of the present disclosure, where the method may be executed by a data processing apparatus provided by an embodiment of the present disclosure, and the apparatus may be implemented in software and/or hardware. In a specific embodiment, the apparatus may be integrated in a terminal, in which a preset application is installed, the terminal may be a mobile terminal, such as a mobile phone, or a PC terminal, such as a notebook computer, a desktop computer, or the like. The following embodiments will be described taking as an example that the apparatus is integrated in a terminal. Referring to fig. 1, the method may specifically include the following steps:
step 101, when it is monitored that a starting control of a first applet is triggered, sending a page acquisition request to a server, wherein the starting control of the first applet is triggered based on a toolbar of a session page of a preset application program.
The preset application program can be an instant messaging application program for enterprises and/or individuals, the preset application program can be installed on a terminal of a user, the user can preset a toolbar of a session page of the application program on the terminal, a starting control of the first small program is triggered through voice operation or touch operation, and the terminal sends a page acquisition request of the first small program to the server according to the triggering of the user.
The toolbar of the session page of the preset application program usually has a start control of a native program, for example, a start control of a native program for sending a picture, sending a video, initiating a voice call, sending an expression, and the like. The first applet is an extension program additionally added to a toolbar of a conversation page of the preset application program through an open platform of the preset application program.
In a specific implementation, the first applet may be a program developed by a developer of the preset application program and different from the native program, or the first applet may also be a program developed by a third party different from the developer of the preset application program.
Illustratively, the first applet is such as: and the small programs such as votes, project tasks, backlogs, questionnaires, cloud disk documents and the like are not particularly limited.
In the specific implementation, when the first applet needs to be added to the toolbar of the session page of the preset application program, a manager can add the link information (i.e., APPLink) of the applet in the session page implementation frame of the preset application program through an open platform of the preset application program at a management end, submit the session page implementation frame of the preset application program, to which the link information of the applet is added, to a server, update an installation package of the preset application program by the server according to the session page implementation frame, download the updated installation package of the preset application program by the terminal, and update the preset application program according to the updated installation package of the preset application program, so that the addition of the first applet can be realized.
The added applet may be a newly developed applet or an existing applet that is not integrated into the default application. For example, a new applet may be developed, the installation package of the applet is uploaded to the server, the URL of the applet is obtained, and the URL of the applet is added to the session page implementation framework of the preset application. For another example, an existing applet may be used to obtain a URL of the existing applet, and then the URL of the existing applet is added to a session page implementation frame of a preset application.
And 102, receiving the page file returned by the server.
And 103, presenting a service page of the first small program according to the page file.
For example, the terminal may parse and render the page file to generate and present a service page of the first applet.
In a specific embodiment, in order to not leave the session page, facilitate the user to perform instant messaging, and avoid frequent page skipping, when the service page of the first applet is presented, the following may be further performed:
creating a page display window on a session page;
and presenting the service page of the first small program in a page display window according to the page file.
For example, the page display window may be created on the left, right, or bottom of the conversation page, e.g., the size of the created page display window may be smaller than the size of the conversation page. Illustratively, the page display window may be created by creating a sidebar container (sidebar) at the conversation page, which may be located, for example, at the right side of the conversation page, where the business page of the first applet is presented.
In the embodiment of the disclosure, a starting control of an applet can be provided in a toolbar of a session page of a preset application program, when it is monitored that the starting control of a first applet is triggered, a page acquisition request is sent to a server, a page file returned by the server is received, and a service page of the first applet is presented according to the page file; namely, in the embodiment of the present disclosure, the applet may be added to the toolbar of the session page of the preset application program, so as to provide more functions for the user and meet the requirements of the user for more functions.
In a specific embodiment, the triggering of the launch control of the first applet based on a toolbar of a session page of the preset application may include: and triggering the starting control of the first small program based on a pop-up menu of a preset control in the toolbar. That is, the start control of the first applet may be located in a toolbar of a session page of the preset application program, or may be located in a pop-up menu of a preset control of the toolbar, where the preset control is, for example, a + control. The following description will take the example that the start control of the first applet is triggered based on the pop-up menu of the preset control in the toolbar.
First, a data processing method provided by the embodiment of the present disclosure is described by taking an example in which a preset application is installed in a mobile terminal, such as a mobile phone, as shown in fig. 2, the method includes the following steps:
step 201, when it is monitored that a start control of a first applet is triggered, starting scene parameters are collected.
For example, as shown in fig. 3, the manager can use the open platform of the preset application program of the management end, adding the link information (i.e. APPLink) of the first applet in a session page implementation frame (specifically, the pop-up menu configuration of the + number control) of the preset application program, submitting a session page implementation frame of the preset application program added with the link information of the first applet to a background server corresponding to the preset application program, updating an installation package of the preset application program by the server according to the session page implementation frame, downloading the updated installation package of the preset application program by the terminal, updating the preset application program according to the updated installation package of the preset application program, the method can be used for adding the first applet, and after the first applet is added, the starting control of the first applet can be located in a pop-up menu of a + control of a preset application program conversation page toolbar.
When a user performs instant messaging through a preset application program and needs to start a first applet in the communication process, as shown in fig. 4, a + number control is triggered in a toolbar of a session page, so that a start control of the first applet is triggered in a pop-up menu of the + number control, and when the terminal monitors that the start control of the first applet is triggered, start scene parameters are collected. For example, at least one of a scene value, a trigger code, session information of a session page, and user information of the session page of the first applet may be collected.
The scene value may be used to identify a source of the applet accessed by the user, such as the applet accessed through a certain pop-up menu of a certain control, for example, the applet accessed through a session page of the application, the applet accessed through a workbench page of the application, and the like, and the scene value may be obtained by an onLaunch or onShow method in a preset application; the trigger code may identify a trigger mode for starting the applet, such as triggering the start by a voice instruction, triggering the start by touch operation, or the like; the session information may be a session record of the session page, and the user information may be identification information, quantity information, etc. of the users participating in the session.
Step 202, sending a page acquisition request carrying the startup scene parameters to a server.
Specifically, the terminal may encapsulate the startup scene parameter in a page acquisition request, and then send the page acquisition request to the server.
Step 203, the receiving server returns the page file matched with the starting scene parameters.
For example, different startup scene parameters may be preset to correspond to different page files, for example, when the startup scene parameter is M, the page file of the applet is a page file corresponding to a main page of the applet (that is, a landing page after the applet is started is a main page), and when the startup scene parameter is N, the page file of the applet is a page file corresponding to a certain sub-page of the applet (that is, a landing page after the applet is started is a certain sub-page), so that the landing page is matched with the startup scene, the landing page fits the current startup scene to the maximum extent, and the user operation is facilitated.
Step 204, a page display window is created on the session page.
And step 205, displaying a service page of the first applet on a page display window according to the page file.
Taking the first applet as an example of a voting procedure, in a specific example, a business page of the first applet presented in a page display window can be as shown in fig. 5.
And step 206, collecting the card parameters through the business page, and writing the card parameters into the card template to generate the message card.
For example, when the first applet is a voting program, card parameters such as voting events, voting items, voting rules and the like created by a user may be collected through a service page of the first applet, and the collected card parameters are written into a preset card template, so that a message card may be obtained.
Step 207, the message card is sent to the session page.
The terminal can send the message card to the conversation page according to the operation of the user, so that the voting results of the conversation participants are collected through the message card. In one specific example, the display of a message card on a conversation page may be as shown in FIG. 6.
And step 208, when the function expansion control in the pop-up menu is triggered, popping up a function expansion page, wherein the function expansion page comprises a recommendation control of the second applet.
In the embodiment of the disclosure, the function of customizing the applet required by the access can be provided for the user on the session page of the preset application program, so that the functional requirements of the user are further met. For example, a function extension control may be provided in a pop-up menu of a preset control, and when the function extension control is triggered, a function extension page pops up, where the function extension page includes a recommendation control of the second applet. In a specific example, the functionality extension control may be as shown in fig. 4, and to "get more" control, the functionality extension page may be as shown in fig. 7, and the functionality extension page may include recommendation controls for one or more applets, where each recommendation control corresponds to a second applet.
It should be noted that, in the embodiment of the present disclosure, the first applet and the second applet are only used to classify the applets, where the first applet refers to an applet that has been downloaded and can be directly used in a preset application, the second applet refers to an applet that is not downloaded and is recommended to be downloaded by a user, after the second applet is downloaded, the first applet and the second applet can be activated in the preset application as the first applet, and the number of the first applet and the second applet may be one or more, which is not limited herein.
And step 209, downloading the second applet when the recommendation control is triggered.
For example, when the recommendation control of the second applet is triggered, the second applet may be downloaded through the app store, and after the downloading is completed, the start control of the second applet may be generated in a pop-up menu of the preset control.
In the embodiment of the disclosure, a starting control of an applet can be provided in a pop-up menu of a preset control in a dialog page toolbar of a preset application program, when it is monitored that the starting control of a first applet is triggered, a page acquisition request is sent to a server, a page file returned by the server is received, and a service page of the first applet is presented according to the page file; namely, in the embodiment of the present disclosure, the applet may be added in the pop-up menu of the preset control in the preset application session page toolbar, and the user may be allowed to access other applets in the pop-up menu by self-definition, so as to provide more functions for the user and meet the requirements of the user for more functions.
The following describes a data processing method provided by the embodiment of the present disclosure, taking an example in which a preset application is installed on a PC side, where the PC side is, for example, a notebook computer, a desktop computer, and the like, as shown in fig. 8, the method includes the following steps:
step 301, when it is monitored that the start control of the first applet is triggered, collecting start scene parameters.
For example, the launch control of the first applet may be located in a pop-up menu that presets the + control of the application session page toolbar. When a user performs instant messaging through a preset application program and needs to start a first applet in the communication process, as shown in fig. 9, a + number control is triggered in a session page toolbar, so that a start control of the first applet is triggered in a pop-up menu of the + number control, and when monitoring that the start control of the first applet is triggered, a terminal collects start scene parameters. For example, at least one of a scene value, a trigger code, session information of a session page, and user information of the session page of the first applet may be collected.
The scene value may be used to identify a source of the applet accessed by the user, such as the applet accessed through a certain pop-up menu of a certain control, for example, the applet accessed through a session page of the application, the applet accessed through a workbench page of the application, and the like, and the scene value may be obtained by an onLaunch or onShow method in a preset application; the trigger code may identify a trigger mode for starting the applet, such as triggering the start by a voice instruction, triggering the start by touch operation, or the like; the session information may be a session record of the session page, and the user information may be identification information, quantity information, etc. of the users participating in the session.
Step 302, sending a page acquisition request carrying the startup scene parameters to a server.
Specifically, the terminal may encapsulate the startup scene parameter in a page acquisition request, and then send the page acquisition request to the server.
Step 303, the receiving server returns a page file matched with the starting scene parameters.
For example, different page files corresponding to different startup scene parameters may be preset, for example, when the startup scene parameter is M, the page file of the applet is a page file corresponding to a main page of the applet (that is, a landing page after the applet is started is a main page), and when the startup scene parameter is N, the page file of the applet is a page file corresponding to a certain sub-page of the applet (that is, a landing page after the applet is started is a certain sub-page), so that the landing page is matched with the startup scene, and the landing page fits the current startup scene to the maximum extent, thereby facilitating the user operation.
At step 304, a page display window is created on the session page.
For example, a page display window can be created on the right side of the conversation page, so that the user can know the conversation content of the conversation bar in real time when using the applet.
And 305, presenting a business page of the first small program in a page display window according to the page file.
Also taking the first applet as an example of a voting procedure, in a specific example, a business page of the first applet presented in a page display window can be as shown in fig. 10.
And step 306, collecting card parameters through the business page, writing the card parameters into the card template, and generating the message card.
For example, when the first applet is a voting program, card parameters such as voting events, voting items, voting rules, and the like created by a user may be collected through a service page of the first applet, and the collected card parameters are written into a preset card template, so that a message card may be obtained. In one specific example, the generated message card may be as shown in FIG. 11.
Step 307, the message card is sent to the conversation page.
The terminal can send the message card to the conversation page according to the operation of the user, so that the voting results of the conversation participants are collected through the message card.
And 308, when the function expansion control in the pop-up menu is triggered, popping up a function expansion page, wherein the function expansion page comprises an available program area and a recommended program area, the available program area displays the starting control of the first small program, and the recommended program area displays the recommended control of the second small program.
In the embodiment of the disclosure, the function of customizing the applet required by the access can be provided for the user on the session page of the preset application program, so that the functional requirements of the user are further met. For example, a function expansion control may be provided in a pop-up menu of preset controls, and when the function expansion control is triggered, a function expansion page pops up. In a specific example, the functionality extension control may be a "more" control as shown in fig. 9, the functionality extension page may be a "more" control as shown in fig. 12, and the functionality extension page may include an available program area and a recommender area, the available program area displaying the launch control of the first applet, and the recommender area displaying the recommendation control of the second applet.
It should be noted that, in the embodiment of the present disclosure, the first applet and the second applet are only used to classify the applets, where the first applet refers to an applet that has been downloaded and can be directly used in a preset application, the second applet refers to an applet that is not downloaded and is recommended to be downloaded by a user, after the second applet is downloaded, the first applet and the second applet can be activated in the preset application as the first applet, and the number of the first applet and the second applet may be one or more, which is not limited herein.
Step 309, when the recommendation control is triggered, downloading the second applet.
For example, when the recommended control of the second applet is triggered, the second applet may be downloaded by the app store, and after the downloading is completed, the start control of the second applet may be generated in the pop-up menu of the preset control and/or the available program area of the pop-up menu.
In the embodiment of the disclosure, a starting control of an applet can be provided in a pop-up menu of a preset control in a dialog page toolbar of a preset application program, when it is monitored that the starting control of a first applet is triggered, a page acquisition request is sent to a server, a page file returned by the server is received, and a service page of the first applet is presented according to the page file; namely, in the embodiment of the present disclosure, the applet may be added to the pop-up menu of the preset control in the preset application session page toolbar, and the user may be allowed to access other applets in the pop-up menu in a customized manner, so that more functions are provided for the user, and the user's requirements for more functions are met.
Fig. 13 is a schematic structural diagram of a data processing apparatus provided in an embodiment of the present disclosure, where the data processing apparatus may be integrated in a terminal, as shown in fig. 13, the data processing apparatus includes:
the sending module 401 is configured to send a page acquisition request to a server when it is monitored that a start control of a first applet is triggered, where the start control of the first applet is triggered based on a toolbar of a session page of a preset application program;
a receiving module 402, configured to receive a page file returned by the server;
a presenting module 403, configured to present a service page of the first applet according to the page file.
In an embodiment, the presenting module 403 presents the service page of the first applet according to the page file, including:
creating a page display window on the session page;
and displaying the service page of the first small program on the page display window according to the page file.
In one embodiment, the data processing apparatus further comprises:
the collection module is used for collecting the starting scene parameters;
the sending module 401 sends a page obtaining request to a server, including:
and sending a page acquisition request carrying the starting scene parameters to the server so that the server returns a page file matched with the starting scene parameters.
In one embodiment, the collecting module collects startup scenario parameters, and includes:
collecting at least one of a scene value, a trigger code, session information of the session page, and user information of the session page of the first applet.
In one embodiment, the data processing apparatus further comprises:
and the generating module is used for collecting card parameters through the service page, writing the card parameters into a card template, generating a message card and sending the message card to the session page.
In an embodiment, the triggering of the launch control of the first applet based on a toolbar of a session page of a preset application includes:
and triggering the starting control of the first applet based on a pop-up menu of a preset control in the toolbar.
In an embodiment, the pop-up menu includes a function expansion control, and the data processing apparatus further includes:
and the first recommending module is used for popping up a function extension page when the function extension control is triggered, the function extension page comprises a recommending control of a second applet, and the second applet is downloaded when the recommending control is triggered.
In an embodiment, the pop-up menu includes a function expansion control, and the data processing apparatus further includes:
and the second recommending module is used for popping up a function extension page when the function extension control is triggered, wherein the function extension page comprises an available program area and a recommended program area, the available program area displays the starting control of the first small program, the recommended program area displays the recommended control of a second small program, and the second small program is downloaded when the recommended control is triggered.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the functional module, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
The device provided by the embodiment of the disclosure can provide a starting control of an applet in a toolbar of a session page of a preset application program, and when it is monitored that the starting control of a first applet is triggered, a page acquisition request is sent to a server, a page file returned by the server is received, and a service page of the first applet is presented according to the page file; namely, in the embodiment of the present disclosure, the applet may be added to the toolbar of the session page of the preset application program, so as to provide more functions for the user and meet the requirements of the user for more functions.
Fig. 14 is a block diagram of a terminal provided in an embodiment of the present disclosure, and fig. 14 shows a block diagram of an exemplary terminal 912 suitable for implementing an embodiment of the present invention. The terminal 912 shown in fig. 14 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 14, terminal 912 is shown in the form of a general purpose computing device. The components of terminal 912 may include, but are not limited to: one or more processors or processing units 916, a system memory 928, and a bus 918 that couples various system components including the system memory 928 and the processing unit 916.
Bus 918 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 912 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by terminal 912 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 928 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)930 and/or cache memory 932. Terminal 912 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 934 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 14, and typically referred to as a "hard disk drive"). Although not shown in FIG. 14, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 918 through one or more data media interfaces. Memory 928 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 940 having a set (at least one) of program modules 942, which may include, but is not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples possibly including an implementation of a network environment, may be stored in, for example, the memory 928. The program modules 942 generally perform the functions and/or methodologies of the described embodiments of the invention.
Terminal 912 may also communicate with one or more external devices 914 (e.g., keyboard, pointing device, display 924, etc.), with one or more devices that enable a user to interact with terminal 912, and/or with any devices (e.g., network card, modem, etc.) that enable terminal 912 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 922. Also, device 912 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) through network adapter 920. As shown, network adapter 920 communicates with the other modules of device 912 over bus 918. It should be appreciated that although not shown in fig. 14, other hardware and/or software modules may be used in conjunction with terminal 912, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
The processing unit 916 executes various functional applications and data processing by executing programs stored in the system memory 928, for example, implementing the data processing methods provided by the embodiments of the present disclosure:
that is, the processing unit 916 executes the programs to: when it is monitored that a starting control of a first small program is triggered, a page acquisition request is sent to a server, wherein the starting control of the first small program is triggered based on a toolbar of a conversation page of a preset application program; receiving a page file returned by the server; and presenting the service page of the first small program according to the page file.
Of course, it can be understood by those skilled in the art that the processing unit may also implement the data processing method provided by any embodiment of the present invention.
The disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the data processing method provided by all the inventive embodiments of this application:
that is, the program when executed by the processor implements: when it is monitored that a starting control of a first small program is triggered, a page acquisition request is sent to a server, wherein the starting control of the first small program is triggered based on a toolbar of a conversation page of a preset application program; receiving a page file returned by the server; and presenting the service page of the first small program according to the page file.
Of course, the computer program stored on the computer readable storage medium provided in the embodiments of the present disclosure is not limited to the method operations described above, and may also execute the operations related to the data processing method provided in the embodiments of the present disclosure.
The computer storage media of the disclosed embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. A method of data processing, comprising:
when it is monitored that a starting control of a first small program is triggered, a page acquisition request is sent to a server, wherein the starting control of the first small program is triggered based on a toolbar of a conversation page of a preset application program; the launch control of the first applet is added to the toolbar by:
adding link information of the first applet to a session page implementation frame of the preset application program, and submitting the session page implementation frame added with the link information to the server; after the server updates the installation package of the preset application program according to the conversation page implementation frame, downloading the updated installation package of the preset application program from the server, and updating the preset application program according to the updated installation package of the preset application program, so that a starting control of a first small program is added to a toolbar of a conversation page of the preset application program;
receiving a page file returned by the server;
and presenting the service page of the first small program according to the page file.
2. The data processing method of claim 1, wherein the presenting a business page of the first applet according to the pagefile comprises:
creating a page display window on the session page;
and displaying the service page of the first small program on the page display window according to the page file.
3. The data processing method of claim 1, before sending the page get request to the server, further comprising:
collecting starting scene parameters;
the sending of the page acquisition request to the server includes:
and sending a page acquisition request carrying the starting scene parameters to the server so that the server returns a page file matched with the starting scene parameters.
4. The data processing method of claim 3, wherein the collecting startup scenario parameters comprises:
collecting at least one of a scene value, a trigger code, session information of the session page, and user information of the session page of the first applet.
5. The data processing method of claim 1, wherein the method further comprises:
card parameters are collected through the business page, and the card parameters are written into a card template to generate a message card;
and sending the message card to the conversation page.
6. The data processing method according to claim 1, wherein the triggering of the launch control of the first applet based on a toolbar of a session page of a preset application comprises:
and triggering the starting control of the first applet based on a pop-up menu of a preset control in the toolbar.
7. The data processing method of claim 6, wherein the pop-up menu includes a functionality extension control therein, the method further comprising:
when the function extension control is triggered, popping up a function extension page, wherein the function extension page comprises a recommended control of a second applet;
downloading the second applet when the recommendation control is triggered.
8. The data processing method of claim 6, wherein the pop-up menu includes a functionality extension control therein, the method further comprising:
when the function extension control is triggered, popping up a function extension page, wherein the function extension page comprises an available program area and a recommended program area, the available program area displays a starting control of the first small program, and the recommended program area displays a recommended control of a second small program;
and when the recommendation control is triggered, downloading the second applet.
9. A data processing apparatus, characterized by comprising:
the system comprises a sending module and a processing module, wherein the sending module is used for sending a page acquisition request to a server when monitoring that a starting control of a first applet is triggered, and the starting control of the first applet is triggered based on a toolbar of a conversation page of a preset application program; the launch control of the first applet is added to the toolbar in the following manner: adding link information of the first applet to a session page implementation frame of the preset application program, and submitting the session page implementation frame added with the link information to the server; after the server updates the installation package of the preset application program according to the session page implementation framework, downloading the updated installation package of the preset application program from the server, and updating the preset application program according to the updated installation package of the preset application program, so that a starting control of a first small program is added to a toolbar of a session page of the preset application program;
the receiving module is used for receiving the page file returned by the server;
and the presentation module is used for presenting the service page of the first small program according to the page file.
10. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the data processing method according to any of claims 1 to 8 when executing the program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the data processing method of any one of claims 1 to 8.
CN202011295442.5A 2020-11-18 2020-11-18 Data processing method, device, terminal and storage medium Active CN112416455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011295442.5A CN112416455B (en) 2020-11-18 2020-11-18 Data processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011295442.5A CN112416455B (en) 2020-11-18 2020-11-18 Data processing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112416455A CN112416455A (en) 2021-02-26
CN112416455B true CN112416455B (en) 2022-09-06

Family

ID=74774428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011295442.5A Active CN112416455B (en) 2020-11-18 2020-11-18 Data processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112416455B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113082721B (en) * 2021-05-11 2022-09-27 腾讯音乐娱乐科技(深圳)有限公司 Resource management method and device for application program of integrated game module, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158785A (en) * 2019-12-30 2020-05-15 掌阅科技股份有限公司 Method, equipment and storage medium for determining electronic book application starting function page
CN111581567A (en) * 2019-02-18 2020-08-25 阿里巴巴集团控股有限公司 Page generation method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132814A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 Page loading method, device, computer equipment and the storage medium of application program
CN111949314A (en) * 2020-08-20 2020-11-17 苏州朗动网络科技有限公司 Method and device for generating application installation package, server and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111581567A (en) * 2019-02-18 2020-08-25 阿里巴巴集团控股有限公司 Page generation method and device
CN111158785A (en) * 2019-12-30 2020-05-15 掌阅科技股份有限公司 Method, equipment and storage medium for determining electronic book application starting function page

Also Published As

Publication number Publication date
CN112416455A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
US10831567B2 (en) Application processing method and apparatus
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN113609834A (en) Information processing method, device, equipment and medium
CN112631910A (en) Front-end testing method and device, computer equipment and storage medium
CN112732386A (en) Message processing method, device, terminal and storage medium
CN114036439A (en) Website building method, device, medium and electronic equipment
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
CN109902726B (en) Resume information processing method and device
CN111913922B (en) Binary structured log generation method, device, equipment and storage medium
CN112416455B (en) Data processing method, device, terminal and storage medium
CN110673886B (en) Method and device for generating thermodynamic diagrams
CN108563476B (en) Application program running method and device, storage medium and electronic equipment
CN107862035B (en) Network reading method and device for conference record, intelligent tablet and storage medium
CN113190229A (en) Method and device for generating government affair page
CN112905935A (en) Page recording method, page recording animation generation method, equipment and storage medium
CN112230944A (en) Application installation method and device, electronic equipment and computer readable medium
CN108289056B (en) Method and device for sharing dynamic chart and computing equipment
CN112416374B (en) Data processing method, device, terminal and storage medium
CN113220381A (en) Click data display method and device
CN107465604B (en) E-mail display method and device and medium computing device
CN116192789A (en) Cloud document processing method and device and electronic equipment
CN115470432A (en) Page rendering method and device, electronic equipment and computer readable medium
CN111988405B (en) Message rewriting method of load balancing device and load balancing device
CN111931465B (en) Method and system for automatically generating user manual based on user operation
CN112287261A (en) Resource loading method and electronic equipment

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