CN112416455A - Data processing method, device, terminal and storage medium - Google Patents
Data processing method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN112416455A CN112416455A CN202011295442.5A CN202011295442A CN112416455A CN 112416455 A CN112416455 A CN 112416455A CN 202011295442 A CN202011295442 A CN 202011295442A CN 112416455 A CN112416455 A CN 112416455A
- Authority
- CN
- China
- Prior art keywords
- page
- applet
- control
- program
- data processing
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
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. 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.
Description
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 conversation 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;
and when the recommendation control is triggered, downloading the second applet.
In a second aspect, an embodiment of the present disclosure provides a data processing apparatus, including:
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 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 interface diagrams of 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 accompanying 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 of the structures related to the present invention are shown in the drawings, not all of the structures.
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:
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 such as sending a picture, sending a video, initiating a voice call, and sending an expression. The first applet is an extension program additionally added in 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 the URL of the existing applet, and then the URL of the existing applet is added to the session page implementation frame of the 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 an example in which the start control of the first applet is triggered based on a pop-up menu of a 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:
For example, as shown in fig. 3, the administrator can use the open platform of the preset application program on the administration side, 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 adding of the first applet can be realized, and after the adding of the first applet, 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 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.
Specifically, the terminal may encapsulate the startup scene parameter in a page acquisition request, and then send the page acquisition request to the server.
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.
Taking the first applet as an example of the voting program, in a specific example, the business page of the first applet presented in the page display window can be as shown in fig. 5.
And step 206, collecting card parameters through the business page, writing the card parameters into the card template, and generating a 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.
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 particular 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:
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.
Specifically, the terminal may encapsulate the startup scene parameter in a page acquisition request, and then send the page acquisition request to the server.
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 the voting program, in a specific example, the business page of the first applet presented in the 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.
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.
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 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.
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 the 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, wherein 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 of 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 disclosure, and fig. 14 shows a block diagram of an exemplary terminal 912 suitable for implementing an embodiment of the disclosure. 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 the various system components (including the system memory 928 and the processing unit 916).
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.
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 implements, when executing the program: 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 will 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 by the embodiments of the present disclosure is not limited to the method operations described above, and may also perform related operations of the data processing method provided by 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. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become 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 data processing method, 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;
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 the business page of the first applet according to the page file 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;
and when the recommendation control is triggered, downloading the second applet.
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, 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 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.
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 true CN112416455A (en) | 2021-02-26 |
CN112416455B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113082721A (en) * | 2021-05-11 | 2021-07-09 | 腾讯音乐娱乐科技(深圳)有限公司 | Resource management method and device for application program of integrated game module, electronic equipment and storage medium |
CN114973495A (en) * | 2022-06-28 | 2022-08-30 | 北京字跳网络技术有限公司 | Voting processing method, system, device, electronic equipment and storage medium |
WO2024179308A1 (en) * | 2023-02-28 | 2024-09-06 | 北京字跳网络技术有限公司 | Information processing method and apparatus, electronic device, and computer-readable medium |
Citations (4)
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 |
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 |
CN111949314A (en) * | 2020-08-20 | 2020-11-17 | 苏州朗动网络科技有限公司 | Method and device for generating application installation package, server and storage medium |
-
2020
- 2020-11-18 CN CN202011295442.5A patent/CN112416455B/en active Active
Patent Citations (4)
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 |
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 |
CN111949314A (en) * | 2020-08-20 | 2020-11-17 | 苏州朗动网络科技有限公司 | Method and device for generating application installation package, server and storage medium |
Non-Patent Citations (1)
Title |
---|
勤奋的吃货88: "《百度经验》", 24 June 2020 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113082721A (en) * | 2021-05-11 | 2021-07-09 | 腾讯音乐娱乐科技(深圳)有限公司 | Resource management method and device for application program of integrated game module, electronic equipment and storage medium |
CN114973495A (en) * | 2022-06-28 | 2022-08-30 | 北京字跳网络技术有限公司 | Voting processing method, system, device, electronic equipment and storage medium |
CN114973495B (en) * | 2022-06-28 | 2024-06-04 | 北京字跳网络技术有限公司 | Voting processing method, voting processing system, voting processing device, electronic equipment and storage medium |
WO2024179308A1 (en) * | 2023-02-28 | 2024-09-06 | 北京字跳网络技术有限公司 | Information processing method and apparatus, electronic device, and computer-readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN112416455B (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10831567B2 (en) | Application processing method and apparatus | |
CN112416455B (en) | Data processing method, device, terminal and storage medium | |
CN110046021B (en) | Page display method, device, system, equipment and storage medium | |
US20110161989A1 (en) | Dynamic program integration | |
US9990214B2 (en) | Dynamic agent delivery | |
CN112732386A (en) | Message processing method, device, terminal and storage medium | |
CN112631910A (en) | Front-end testing method and device, computer equipment and storage medium | |
CN111752587A (en) | Batch processing method and device of small programs, electronic equipment and readable storage medium | |
WO2024011899A1 (en) | Widget loading method and apparatus, device, and storage medium | |
CN112395027A (en) | Widget interface generation method and device, storage medium and electronic equipment | |
CN107465604B (en) | E-mail display method and device and medium computing device | |
CN109117153A (en) | Processing method, device, terminal and the storage medium of application program | |
CN112416374B (en) | Data processing method, device, terminal and storage medium | |
CN111913922B (en) | Binary structured log generation method, device, equipment and storage medium | |
CN109902726B (en) | Resume information processing method and device | |
CN110673886B (en) | Method and device for generating thermodynamic diagrams | |
CN107862035B (en) | Network reading method and device for conference record, intelligent tablet and storage medium | |
CN113342450A (en) | Page processing method and device, electronic equipment and computer readable medium | |
CN113656193A (en) | Application communication method, system, electronic equipment and storage medium | |
CN112905935A (en) | Page recording method, page recording animation generation method, equipment and storage medium | |
CN112287261A (en) | Resource loading method and electronic equipment | |
CN110443062B (en) | Operation method and device of multi-tenant database and computer equipment | |
CN108289056B (en) | Method and device for sharing dynamic chart and computing equipment | |
CN116756016A (en) | Multi-browser testing method, device, equipment, medium and program product | |
CN114938359A (en) | Message group sending, configuring and executing method and device 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 |