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

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

Info

Publication number
CN112416374A
CN112416374A CN202011299102.XA CN202011299102A CN112416374A CN 112416374 A CN112416374 A CN 112416374A CN 202011299102 A CN202011299102 A CN 202011299102A CN 112416374 A CN112416374 A CN 112416374A
Authority
CN
China
Prior art keywords
page
program
preset
applet
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.)
Granted
Application number
CN202011299102.XA
Other languages
Chinese (zh)
Other versions
CN112416374B (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 CN202011299102.XA priority Critical patent/CN112416374B/en
Publication of CN112416374A publication Critical patent/CN112416374A/en
Application granted granted Critical
Publication of CN112416374B publication Critical patent/CN112416374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the disclosure provides a data processing method, a device, a terminal and a storage medium, wherein the method comprises the following steps: when the situation that a starting control of the small program is triggered is monitored, sending a page acquisition request to a preset server, wherein the starting control of the small program is triggered based on a main navigation area of a preset application program; receiving a page file returned by a preset server; and presenting the service page of the small program according to the page file. The embodiment of the disclosure can meet the requirements of users on more functions.

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
The traditional applications have native functions, for example, a main navigation area of a traditional application has native functions of messages, contacts, calendars and the like, but with the development of technology and the expansion of business scenes, the native 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 an applet is triggered, sending a page acquisition request to a preset server, wherein the starting control of the applet is triggered based on a main navigation area of a preset application program;
receiving a page file returned by the preset server;
and presenting the service page of the applet according to the page file.
Optionally, before sending the page obtaining request to the preset server, the method further includes:
sending an application downloading request to a native server, wherein the application downloading request comprises a user identifier, and the native server is a service provider of the preset application program;
receiving an application installation package returned by the native server, wherein the applet matched with the user identifier is added in the application installation package;
and installing the preset application program based on the application installation package.
Optionally, the main navigation area of the preset application program further includes a start control of a native program, the start control of the native program and the start control of the applet are arranged in the main navigation area according to a preset arrangement mode, and the preset arrangement mode is a layout mode matched with the user identifier.
Optionally, the sending, by the applet, a page acquisition request to a preset server includes:
and sending the page acquisition request to a native server, wherein the native server is a service provider of the preset application program.
Optionally, the sending, by the applet, a page obtaining request to a preset server, where the page obtaining request is provided by a third party different from a service provider of the preset application, and the sending, by the applet, the page obtaining request includes:
and sending the page acquisition request to a third-party server, wherein the third-party server is a service provider of a third-party program.
Optionally, the presenting a service page of the applet according to the page file includes:
creating a page display window in the service area of the preset application program;
and presenting the service page of the small program in the page display window according to the page file.
Optionally, the method further comprises:
and when it is monitored that a calling control on the business page is triggered, calling a native program of the preset application program, wherein the calling control is a control for calling the native program.
In a second aspect, an embodiment of the present disclosure provides a data processing apparatus, including:
the sending module is used for sending a page acquisition request to a preset server when the starting control of the applet is monitored to be triggered, wherein the starting control of the applet is triggered based on a main navigation area of a preset application program;
the receiving module is used for receiving the page file returned by the preset server;
and the presentation module is used for presenting the service page of the applet 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, when it is monitored that a starting control of an applet is triggered, a page acquisition request is sent to a preset server, wherein the starting control of the applet is triggered based on a main navigation area of a preset application program, receives a page file returned by the preset server, and presents a service page of the applet according to the page file; namely, in the embodiment of the present disclosure, a small program may be added in the main navigation area 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 a schematic flowchart of an application downloading method provided in the embodiment of the present disclosure.
Fig. 3 is another schematic flow chart diagram of a data processing method provided in the embodiment of the present disclosure.
Fig. 4 is a schematic diagram of an effect of application main page partitioning provided by the embodiment of the present disclosure.
Fig. 5 is a schematic flowchart of a data processing method according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure.
Fig. 7 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.
Because the application program can only provide native functions and cannot meet the requirements of the user in the prior art, the embodiment of the disclosure provides a data processing method, which can add a small program in the main navigation area of the application program, thereby providing more functions for the user and meeting 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, and the terminal may be a computer device with computing capability, such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, and the like, which has a storage unit and is equipped with a microprocessor. 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 the applet is triggered, sending a page acquisition request to a preset server, wherein the starting control of the applet is triggered based on a main navigation area of a preset application program.
Illustratively, the preset application may be an instant messaging application for businesses and/or individuals. In specific implementation, a preset application program can be downloaded in advance, the preset application program can be installed on a terminal of a user after being downloaded, the user can preset a main navigation area of the application program on the terminal, a starting control of an applet is triggered through voice operation, touch operation and the like, and when the terminal monitors that the starting control of the applet is triggered, a page acquisition request is sent to a preset server.
In addition, the main navigation area of the preset application program is generally provided with a starting control of a native program, such as a message, a calendar, a workbench, a contact and the like. The applet of the embodiment of the disclosure is an extension program additionally added in a main navigation area of a preset application program through an open platform of the preset application program.
In a specific implementation, the applet may be provided by a service provider of the preset application, for example, a function developed by the applet for the service provider of the preset application is different from a program of the native program; or the applet may be provided by a third party different from the service provider of the preset application, for example, the applet develops the function for the third party different from the program of the native program.
Further, the applet can be a web page program, such as an applet for current affairs information, shopping, etc.; or the applet may be a non-web application, such as an applet that is a voting, questionnaire, approval, or the like.
In the specific implementation, when the small program needs to be added to the main navigation area of the preset application program, a manager can add the implementation mode of the small program in the main navigation area implementation frame of the preset application program through an open platform of the preset application program at a management end, submit the main navigation area implementation frame of the preset application program with the implementation mode of the small program added to a native server, wherein the native server is a service provider of the preset application program, the native server updates an installation package of the preset application program according to the main navigation area implementation frame, the terminal downloads the updated installation package of the preset application program, and updates the preset application program according to the updated installation package of the preset application program, so that the small program can be added to the main navigation area.
For example, when the applet is provided by a service provider of the preset application, the implementation manner of the applet added in the main navigation area implementation framework of the preset application may be identification information of the applet, such as an icon, a name, a code number, description information, and the like of the applet, the identification information being used to indicate that the installation package of the applet can be downloaded from the native server according to the identification information when the installation package of the preset application is downloaded. When the applet is provided by a third party, the implementation manner of the applet added in the main navigation area implementation framework of the preset application program may be link information (i.e., APPLink) of the applet, where the link information is used to indicate that when an installation package of the preset application program is downloaded, the installation package of the applet may be downloaded from a third party server according to the link information, where the third party server is a service provider of the third party program.
The added applet may be a newly developed applet or an existing applet that is not integrated into the default application. For example, a service provider of a preset application may develop a new applet and upload an installation package of the applet to a native server, and a manager may add identification information of the newly developed applet to a main navigation area implementation frame of the preset application, or a manager may add identification information of an existing applet (the applet is not in the main navigation area, for example, the applet is in a service page of a certain native program) in the native server to the main navigation area implementation frame of the preset application, so as to add the applet to the main navigation area. For another example, the third party may develop a new applet for the preset application program, and upload the installation package of the new applet to the third party server, so as to generate link information of the new applet, and the administrator acquires the link information and adds the link information to the main navigation area implementation frame of the preset application program, or the administrator may acquire link information of a certain applet originally developed by the third party (for example, the applet is integrated in a certain third party application program) and add the link information to the main navigation area implementation frame of the preset application program, so as to add the applet to the main navigation area.
Specifically, when the applet is provided by a service provider of the preset application, the preset server may be a native server, that is, when it is monitored that a start control of the applet is triggered, the terminal may send a page acquisition request to the native server. When the applet is provided by a third party different from a service provider of the preset application program, the preset server may be a third party server, that is, when it is monitored that the start control of the applet is triggered, the terminal may send a page acquisition request to the third party server.
And 102, receiving a page file returned by a preset server.
And 103, presenting the service page of the 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 applet.
In a specific embodiment, the service page of the applet may be presented in the service area of the preset application, that is, when the service page of the applet is presented, the following may be performed:
creating a page display window in the service area of the preset application program;
and presenting the service page of the small program in a page display window according to the page file.
For example, a page display window may be created in a service area of a predetermined application program, and the size of the page display window is the same as the size of the service area. For example, the page display window may be created by creating a main navigation container in the service area, where the main navigation container is generally located in the service area and has the same size as the service area.
After the service page of the applet is presented, the operation of a user can be monitored, when it is monitored that a calling control on the service page is triggered, a native program of a preset application program is called, and the calling control is a control for calling the native program.
In other words, in the embodiment of the present disclosure, in order to expand the application scenario of the extended applet and simplify the development process, the calling control of the native program may also be integrated in the service page of the applet, so as to directly call the native program when the applet is used. For example, the applet is an approval program, a calling control of a contact person can be integrated on a service page of the applet, when the approval task is created and needs to be submitted to the approval person, a user can trigger the calling control, when the terminal monitors that the calling control is triggered, the contact person can be called and a contact person list is displayed, the user can select the approval person from the contact person list, and the terminal submits the approval task to the approval person selected by the user.
According to the technical scheme, when the starting control of the small program is triggered, a page acquisition request is sent to a preset server, wherein the starting control of the small program is triggered based on a main navigation area of a preset application program, a page file returned by the preset server is received, and a service page of the small program is presented according to the page file; namely, in the embodiment of the present disclosure, a small program may be added in the main navigation area 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 addition, in the process of practicing the embodiment of the present disclosure, the inventor finds that the main navigation area of the existing application is the same for the functions configured for different users, and cannot meet the requirement of personalized function configuration of the user. To solve this problem, the embodiment of the present disclosure further provides a corresponding solution, that is, when a preset application program is downloaded for the first time or a downloaded application program is updated, according to the manner shown in fig. 2:
step 201, sending an application download request to a native server, where the application download request includes a user identifier, and the native server is a service provider of a preset application program.
The preset application may be an instant messaging application for an enterprise and/or an individual, and the user identifier may be information such as a name, a code number, and the like of the enterprise/department where the user/user is located.
Step 202, receiving an application installation package returned by the native server, wherein an applet matched with the user identifier is added in the application installation package.
For example, a user may propose a applet to be configured in a main navigation area of a preset application program to a manager in advance, the manager may add an implementation manner of the applet required by the user to a main navigation area implementation frame of the preset application program through an open platform of the preset application program at a management end, and submit the main navigation area implementation frame of the preset application program added with the implementation manner of the applet and a user identifier to a native server, and the native server updates an installation package of the preset application program according to the main navigation area implementation frame to obtain an application installation package dedicated to the user, thereby implementing the configuration of the user-specific applet in the preset application program. And when the native server receives the application downloading request triggered by the user, feeding back an application installation package special for the user.
For example, a user a needs to configure a small program X in a main navigation area of a preset application program, an administrator may add an implementation manner of the small program X in a main navigation area implementation frame of the preset application program through an open platform of the preset application program at a management end, and submit the main navigation area implementation frame of the preset application program added with the implementation manner of the small program X and a user identifier of the user a to a native server, and the native server updates an installation package of the preset application program according to the main navigation area implementation frame to obtain an application installation package dedicated to the user a. For another example, if the user B needs to configure the small program Y in the main navigation area of the preset application program, the administrator may add the implementation manner of the small program Y in the main navigation area implementation frame of the preset application program through the open platform of the preset application program at the management end, and submit the main navigation area implementation frame of the preset application program to which the implementation manner of the small program Y is added and the user identifier of the user B to the native server, and the native server updates the installation package of the preset application program according to the main navigation area implementation frame to obtain the application installation package dedicated to the user B.
It should be noted that the user a and the user B may represent a single specific user, or represent a business where the user is located, or represent a certain department of the business where the user is located.
And step 203, installing a preset application program based on the application installation package.
And after the terminal installs the preset application program based on the application installation package, displaying a starting control of the small program matched with the user identifier in the main navigation area of the preset application program. For example, for user a, the terminal of which presets the main navigation area of the application program, the start control of the applet X will be displayed, and for user B, the terminal of which presets the main navigation area of the application program, the start control of the applet Y will be displayed. The user can activate the applet by triggering the activation control, and the specific activation method can refer to the description of the foregoing embodiment, which is not described herein again.
According to the technical scheme, the terminal can send the application downloading request comprising the user identification to the native server, receive the application installation package returned by the native server, add the small program matched with the user identification in the application installation package, and after the preset application program is installed based on the application installation package, the main navigation area of the preset application program is displayed with the starting control of the small program, so that the personalized configuration of the functions of the main navigation area of the preset application program is realized, and the requirements of the personalized function configuration of the user are met.
Further, in the process of practicing the embodiment of the present disclosure, the inventor finds that the layout manner of the control in the main navigation area of the existing application is the same for all users, and different users often have different requirements on the layout of the control in the main navigation area. For example, the common programs of different departments in an enterprise are different, the common program of the human resource department is a human resource management program, the common program of the financial department is a financial management program, the common program of the sales department is a customer relationship management program, and each department wants to place the starting control of the common program at a position convenient for operation, which cannot be realized by the prior art. In response to this problem, embodiments of the present disclosure provide a corresponding solution.
For example, a user may put forward a required control layout mode (i.e., a preset layout mode) of a main navigation area to a manager in advance, the manager may set the required control layout mode in a main navigation area implementation frame of a preset application program through an open platform of the preset application program at a management end, and submit the main navigation area implementation frame of the preset application program added with the required control layout mode of the user and a user identifier to a native server, and the native server updates an installation package of the preset application program according to the main navigation area implementation frame to obtain an application installation package specific to the user, thereby implementing the control layout mode exclusive for the user configured in the preset application program. And when the native server receives the application downloading request triggered by the user, feeding back an application installation package special for the user.
In a specific implementation, the preset layout mode may include a layout mode of a start control of a native program of a preset application program, that is, after the user installs the dedicated application installation package, the start control of the native program of the preset application program is laid out in the main navigation area according to the preset layout mode. Or the preset layout mode may include a layout mode of a start control of a native program of the preset application program and a start control of the applet, that is, after the user installs the dedicated application installation package, the start control of the native program and the start control of the applet are both laid out in the main navigation area according to the preset layout mode.
For example, for the human resource department, the start control of the human resource management program can be distributed in a position where the main navigation area is more prominent and more convenient to click, and for the sales department, the start control of the customer relationship management program can be distributed in a position where the main navigation area is more prominent and more convenient to click; therefore, different application installation packages can be provided for different departments, and after the corresponding application installation packages are installed by the different departments, the starting controls of the main navigation area of the preset application program have different layout modes, so that the personalized control layout requirements of the user are met.
Fig. 3 is another schematic flow chart of a data processing method provided in an embodiment of the present disclosure, which is described by taking an example that an applet is provided by a service provider of a preset application, and as shown in fig. 3, the data processing method includes the following steps:
step 301, sending an application download request to a native server, where the application download request includes a user identifier, and the native server is a service provider of a preset application program.
The preset application may be an instant messaging application for an enterprise and/or an individual, and the user identifier may be information such as a name, a code number, and the like of the enterprise/department where the user/user is located.
And step 302, receiving an application installation package returned by the native server, wherein the applet matched with the user identifier is added in the application installation package.
Taking a user of a terminal as a user A, for example, the user A wants to add a small program of 'approval' in a main navigation area of a preset application program, a manager can add an implementation mode of the approval program in a main navigation area implementation frame of the preset application program through an open platform of the preset application program at a management end, submit the main navigation area implementation frame of the preset application program added with the implementation mode of the approval program and a user identifier of the user A to a native server, and the native server updates an installation package of the preset application program according to the main navigation area implementation frame to obtain an application installation package exclusive for the user A. And when the native server receives an application downloading request triggered by the user A, feeding back an application installation package special for the user A.
And 303, installing a preset application program based on the application installation package.
Continuing with the above example, after installing the default application, the main navigation area of the default application will display the start control of the approval program.
And step 304, when the startup control of the applet is monitored to be triggered, sending a page acquisition request to the native server.
And step 305, receiving the page file returned by the original server.
Step 306, creating a page display window in a service area of a preset application program.
In a specific embodiment, the preset application main page may include, as shown in fig. 4, a main navigation area and a service area, where the main navigation area is used to display a start control of a native program and a start control of an applet, and the service area is used to display a service page of the native program or a service page of the applet.
Step 307, according to the page file, presenting a service page of the applet in a page display window.
Continuing with the above example, the business page of the approval process is presented in the page display window.
After the service page of the applet is presented, the operation of a user can be monitored, when it is monitored that a calling control on the service page is triggered, a native program of a preset application program is called, and the calling control is a control for calling the native program.
For example, the applet is an approval program, a call control of a contact person can be integrated on a service page of the approval program, when the approval task needs to be submitted to the approval person after being created, the user can trigger the call control, when the terminal monitors that the call control is triggered, the contact person can be called and a contact person list is displayed, the user can select the approval person from the contact person list, and the terminal submits the approval task to the approval person selected by the user.
In the embodiment of the disclosure, the small programs required by the user can be added in the main navigation area of the preset application program, so that more functions are provided for the user, the requirements of the user on more functions are met, and the personalized function configuration requirements of the user are met.
Fig. 5 is another schematic flow chart of the data processing method provided in the embodiment of the present disclosure, and in the embodiment, the applet is provided by a third party as an example for explanation, as shown in fig. 5, the data processing method includes the following steps:
step 501, sending an application download request to a native server, where the application download request includes a user identifier, and the native server is a service provider of a preset application program.
The preset application may be an instant messaging application for an enterprise and/or an individual, and the user identifier may be information such as a name, a code number, and the like of the enterprise/department where the user/user is located.
Step 502, receiving an application installation package returned by the native server, wherein an applet matched with the user identifier is added in the application installation package.
Taking a user of a terminal as a user B, and taking the small program that the user B wants to add 'current affair information' in a main navigation area of a preset application program as an example, a manager can add an implementation mode of the current affair information program in a main navigation area implementation frame of the preset application program through an open platform of the preset application program of a management end, submit the main navigation area implementation frame of the preset application program added with the implementation mode of the current affair information program and a user identifier of the user B to a native server, and the native server updates an installation package of the preset application program according to the main navigation area implementation frame to obtain an application installation package dedicated to the user B. And when the native server receives an application downloading request triggered by the user B, feeding back an application installation package special for the user B.
And 503, installing the preset application program based on the application installation package.
Continuing with the above example, after installing the default application program, the main navigation area of the default application program will display the start control of the current affairs information program.
Step 504, when it is monitored that the starting control of the applet is triggered, a page acquisition request is sent to a third-party server.
And step 505, receiving the page file returned by the third-party server.
Step 506, a page display window is created in the service area of the preset application program.
And 507, displaying the service page of the applet on a page display window according to the page file.
Continuing with the above example, the business page of the event information program is presented in the page display window.
In the embodiment of the disclosure, the small programs required by the user can be added in the main navigation area of the preset application program, so that more functions are provided for the user, the requirements of the user on more functions are met, and the personalized function configuration requirements of the user are met.
Fig. 6 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. 6, the data processing apparatus includes:
the sending module 601 is configured to send a page acquisition request to a preset server when it is monitored that a start control of an applet is triggered, where the start control of the applet is triggered based on a main navigation area of a preset application program;
a receiving module 602, configured to receive a page file returned by the preset server;
and a presentation module 603, configured to present a service page of the applet according to the page file.
In an embodiment, the sending module 601 is further configured to send an application download request to a native server, where the application download request includes a user identifier, and the native server is a service provider of the preset application program;
the receiving module 602 is further configured to receive an application installation package returned by the native server, where the applet matched with the user identifier is added in the application installation package;
the device further comprises an installation module, wherein the installation module is used for installing the preset application program based on the application installation package.
In an embodiment, the main navigation area of the preset application program further includes a start control of a native program, the start control of the native program and the start control of the applet are arranged in the main navigation area according to a preset arrangement mode, and the preset arrangement mode is a layout mode matched with the user identifier.
In an embodiment, the applet is provided by a service provider of the preset application, and the sending module 601 sends a page obtaining request to a preset server, where the sending request includes:
and sending the page acquisition request to a native server, wherein the native server is a service provider of the preset application program.
In an embodiment, the applet is provided by a third party different from the service provider of the preset application, and the sending module 601 sends the page obtaining request to the preset server, where the sending request includes:
and sending the page acquisition request to a third-party server, wherein the third-party server is a service provider of a third-party program.
In an embodiment, the presenting module 603 presents the service page of the applet according to the page file, including:
creating a page display window in the service area of the preset application program;
and presenting the service page of the small program in the page display window according to the page file.
In one embodiment, the apparatus further comprises a calling module;
the calling module is used for calling a native program of the preset application program when it is monitored that a calling control on the service page is triggered, wherein the calling control is a control for calling the native program.
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 sends a page acquisition request to a preset server when monitoring that a start control of an applet is triggered, wherein the start control of the applet is triggered based on a main navigation area of a preset application program, receives a page file returned by the preset server, and presents a service page of the applet according to the page file; namely, in the embodiment of the present disclosure, a small program may be added in the main navigation area 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. 7 is a block diagram of a terminal provided in an embodiment of the present disclosure, and fig. 7 shows a block diagram of an exemplary terminal 912 suitable for implementing an embodiment of the present invention. The terminal 912 shown in fig. 7 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. 7, terminal 912 is a representative 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).
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. 7, and typically referred to as a "hard disk drive"). Although not shown in FIG. 7, 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 can 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, the network adapter 920 communicates with the other modules of the device 912 via the bus 918. It should be appreciated that although not shown in FIG. 7, 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, among others.
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 an applet is triggered, sending a page acquisition request to a preset server, wherein the starting control of the applet is triggered based on a main navigation area of a preset application program; receiving a page file returned by the preset server; and presenting the service page of the applet 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 an applet is triggered, sending a page acquisition request to a preset server, wherein the starting control of the applet is triggered based on a main navigation area of a preset application program; receiving a page file returned by the preset server; and presenting the service page of the applet 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 (10)

1. A data processing method, comprising:
when it is monitored that a starting control of an applet is triggered, sending a page acquisition request to a preset server, wherein the starting control of the applet is triggered based on a main navigation area of a preset application program;
receiving a page file returned by the preset server;
and presenting the service page of the applet according to the page file.
2. The data processing method according to claim 1, before sending the page obtaining request to the preset server, further comprising:
sending an application downloading request to a native server, wherein the application downloading request comprises a user identifier, and the native server is a service provider of the preset application program;
receiving an application installation package returned by the native server, wherein the applet matched with the user identifier is added in the application installation package;
and installing the preset application program based on the application installation package.
3. The data processing method according to claim 2, wherein the primary navigation area of the preset application program further includes a start control of a native program, and the start control of the native program and the start control of the applet are arranged in the primary navigation area according to a preset arrangement mode, where the preset arrangement mode is a layout mode matched with the user identifier.
4. The data processing method according to claim 1, wherein the applet is provided by a service provider of the preset application, and the sending of the page acquisition request to the preset server comprises:
and sending the page acquisition request to a native server, wherein the native server is a service provider of the preset application program.
5. The data processing method according to claim 1, wherein the applet is provided by a third party different from a service provider of the preset application, and the sending of the page get request to the preset server comprises:
and sending the page acquisition request to a third-party server, wherein the third-party server is a service provider of a third-party program.
6. The data processing method of claim 1, wherein the presenting the business page of the applet according to the page file comprises:
creating a page display window in the service area of the preset application program;
and presenting the service page of the small program in the page display window according to the page file.
7. The data processing method of claim 1, wherein the method further comprises:
and when it is monitored that a calling control on the business page is triggered, calling a native program of the preset application program, wherein the calling control is a control for calling the native program.
8. A data processing apparatus, comprising:
the sending module is used for sending a page acquisition request to a preset server when the starting control of the applet is monitored to be triggered, wherein the starting control of the applet is triggered based on a main navigation area of a preset application program;
the receiving module is used for receiving the page file returned by the preset server;
and the presentation module is used for presenting the service page of the applet according to the page file.
9. 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 7 when executing the program.
10. 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 7.
CN202011299102.XA 2020-11-18 2020-11-18 Data processing method, device, terminal and storage medium Active CN112416374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011299102.XA CN112416374B (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
CN202011299102.XA CN112416374B (en) 2020-11-18 2020-11-18 Data processing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112416374A true CN112416374A (en) 2021-02-26
CN112416374B CN112416374B (en) 2022-10-25

Family

ID=74773713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011299102.XA Active CN112416374B (en) 2020-11-18 2020-11-18 Data processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112416374B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155890A (en) * 2023-11-01 2023-12-01 腾讯科技(深圳)有限公司 Method and device for processing applet message and electronic equipment

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060123414A1 (en) * 2004-12-03 2006-06-08 International Business Machines Corporation Method and apparatus for creation of customized install packages for installation of software
US20090204900A1 (en) * 2008-02-13 2009-08-13 International Business Machines Corporation Method And System For Navigation Of Web Sites And Applications
US20130144928A1 (en) * 2011-12-05 2013-06-06 Microsoft Corporation Minimal download and simulated page navigation features
CN104750722A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Information acquisition and display method and information acquisition and display device
US20160011752A1 (en) * 2014-07-08 2016-01-14 Verizon Patent And Licensing Inc. System and method for providing a user interface for device installation
CN105391840A (en) * 2014-08-22 2016-03-09 苹果公司 automatic purposed-application creation
CN107241638A (en) * 2017-06-30 2017-10-10 环球智达科技(北京)有限公司 The method for configuring navigation bar
CN108132814A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 Page loading method, device, computer equipment and the storage medium of application program
US20180241799A1 (en) * 1998-03-18 2018-08-23 Implicit, Llc Application server for delivering applets to client computing devices in a distributed environment
CN109814778A (en) * 2018-12-24 2019-05-28 天津字节跳动科技有限公司 Implementation method, device, electronic equipment and the medium of small routine tabs
CN110309475A (en) * 2019-06-28 2019-10-08 百度在线网络技术(北京)有限公司 A kind of webpage representation method, apparatus, terminal device and storage medium
CN110389936A (en) * 2019-07-25 2019-10-29 上海连尚网络科技有限公司 A kind of method, equipment and computer storage medium starting small routine
CN111240788A (en) * 2020-01-16 2020-06-05 支付宝(杭州)信息技术有限公司 Method, device and equipment for generating small program page
CN111596997A (en) * 2020-05-13 2020-08-28 深圳市宏电技术股份有限公司 UI information request method, device, terminal and storage medium
WO2020187121A1 (en) * 2019-03-15 2020-09-24 上海连尚网络科技有限公司 Applet start method, device, and computer storage medium
CN111767069A (en) * 2020-06-30 2020-10-13 北京百度网讯科技有限公司 Applet processing method, server, device and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180241799A1 (en) * 1998-03-18 2018-08-23 Implicit, Llc Application server for delivering applets to client computing devices in a distributed environment
US20060123414A1 (en) * 2004-12-03 2006-06-08 International Business Machines Corporation Method and apparatus for creation of customized install packages for installation of software
US20090204900A1 (en) * 2008-02-13 2009-08-13 International Business Machines Corporation Method And System For Navigation Of Web Sites And Applications
US20130144928A1 (en) * 2011-12-05 2013-06-06 Microsoft Corporation Minimal download and simulated page navigation features
CN104750722A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Information acquisition and display method and information acquisition and display device
US20160011752A1 (en) * 2014-07-08 2016-01-14 Verizon Patent And Licensing Inc. System and method for providing a user interface for device installation
CN105391840A (en) * 2014-08-22 2016-03-09 苹果公司 automatic purposed-application creation
CN107241638A (en) * 2017-06-30 2017-10-10 环球智达科技(北京)有限公司 The method for configuring navigation bar
CN108132814A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 Page loading method, device, computer equipment and the storage medium of application program
CN109814778A (en) * 2018-12-24 2019-05-28 天津字节跳动科技有限公司 Implementation method, device, electronic equipment and the medium of small routine tabs
WO2020187121A1 (en) * 2019-03-15 2020-09-24 上海连尚网络科技有限公司 Applet start method, device, and computer storage medium
CN110309475A (en) * 2019-06-28 2019-10-08 百度在线网络技术(北京)有限公司 A kind of webpage representation method, apparatus, terminal device and storage medium
CN110389936A (en) * 2019-07-25 2019-10-29 上海连尚网络科技有限公司 A kind of method, equipment and computer storage medium starting small routine
CN111240788A (en) * 2020-01-16 2020-06-05 支付宝(杭州)信息技术有限公司 Method, device and equipment for generating small program page
CN111596997A (en) * 2020-05-13 2020-08-28 深圳市宏电技术股份有限公司 UI information request method, device, terminal and storage medium
CN111767069A (en) * 2020-06-30 2020-10-13 北京百度网讯科技有限公司 Applet processing method, server, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄不逗: "微信小程序实现自定义导航栏(适合多种机型)", 《HTTPS://BLOG.CSDN.NET/WEIXIN_45172119/ARTICLE/DETAILS/108547828》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155890A (en) * 2023-11-01 2023-12-01 腾讯科技(深圳)有限公司 Method and device for processing applet message and electronic equipment
CN117155890B (en) * 2023-11-01 2024-01-26 腾讯科技(深圳)有限公司 Method and device for processing applet message and electronic equipment

Also Published As

Publication number Publication date
CN112416374B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
US10831567B2 (en) Application processing method and apparatus
US10877826B2 (en) Message processing method and apparatus, storage medium, and computer device
CN110046021B (en) Page display method, device, system, equipment and storage medium
US9697353B2 (en) Method and device for intercepting call for service by application
CN112036824A (en) Business approval method, system, storage medium and electronic equipment
US8468457B1 (en) Global keyboard shortcuts management for web applications
US20100107150A1 (en) Terminal having application update managing function, and application update managing program and system
CN110309006B (en) Function calling method and device, terminal equipment and storage medium
CN108549568B (en) Application entry processing method and device, storage medium and electronic equipment
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
CN112732386A (en) Message processing method, device, terminal and storage medium
CN111190673B (en) Page display method and device based on operation monitoring and electronic equipment
CN111400488B (en) Online document information processing method and device, electronic equipment and readable medium
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN111290871A (en) Method and device for acquiring crash information of application program
US9971611B2 (en) Monitoring a mobile device application
CN115470432A (en) Page rendering method and device, electronic equipment and computer readable medium
CN115795211A (en) Page display method, device, system, equipment and storage medium
CN115309470A (en) Method, device and equipment for loading widgets and storage medium
CN112416374B (en) Data processing method, device, terminal and storage medium
US20230401377A1 (en) Document creation method and apparatus, and device and storage medium
CN111736825B (en) Information display method, device, equipment and storage medium
US20230379279A1 (en) Interaction method and apparatus, and electronic device
CN112416455B (en) Data processing method, device, terminal and storage medium
CN110134477B (en) Method, device, medium and electronic equipment for dynamically laying out user pages

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