Navigation bar data processing method and device, storage medium and electronic device

By obtaining and displaying navigation bar update data when the application is not started, the problem of inefficient update of navigation bar data is solved, and the updated navigation bar is quickly displayed, avoiding lag and improving user experience.

CN114722314BActive Publication Date: 2025-08-12TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110004960.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-04
Publication Date
2025-08-12
Estimated Expiration
2041-01-04

AI Technical Summary

Technical Problem

In the prior art, the navigation bar data update efficiency of applications is low, resulting in page flickering and startup stuttering, affecting the user experience.

Method used

Get the navigation bar update data of the first server when the target application is not started, and read and display the updated navigation bar at startup to avoid failure of requesting to the second server.

Benefits of technology

Improve the efficiency of update of navigation bar data, avoid lag during startup, and optimize the display effect of navigation bar.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114722314B_ABST
    Figure CN114722314B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for processing navigation bar data, a storage medium, and an electronic device. The method comprises: when a target application is not started, obtaining first navigation bar update data sent by a first server to a target application, wherein the first navigation bar update data is update data sent by a second server to the first server, the second server is the server of the target application, and the first navigation bar update data is used to display the updated target navigation bar in the target application; when the target application is started and the target application fails to request navigation bar update data from the second server, reading the first navigation bar update data; and displaying the updated target navigation bar in the target application according to the first navigation bar update data. The present invention solves the technical problem of low efficiency in updating navigation bar data of applications in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a method and device for processing navigation bar data, a storage medium, and an electronic device. Background Art

[0002] In the current related technologies, some applications need to configure corresponding navigation bars during operation so that users can obtain different information through interactive operations. After such applications are started, the navigation bar needs to be initialized. If the data of the navigation bar is updated slowly, the page corresponding to the navigation bar of the application will be reloaded, and the displayed page will flicker, resulting in low display efficiency, thereby destroying the user experience.

[0003] In addition, the data corresponding to the above-mentioned navigation bar needs to be updated frequently. Since the data corresponding to the navigation bar needs to be re-downloaded when the navigation bar data is requested, it will cause a problem of lag in the startup process of the application.

[0004] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention

[0005] Embodiments of the present invention provide a method and apparatus for processing navigation bar data, a storage medium, and an electronic device, so as to at least solve the technical problem of low efficiency in updating navigation bar data of an application program existing in the related art.

[0006] According to one aspect of an embodiment of the present invention, a method for processing navigation bar data is provided, including: when a target application is not started, obtaining first navigation bar update data sent by a first server to a target application, wherein the first navigation bar update data is update data sent by a second server to the first server, the second server is the server of the target application, and the first navigation bar update data is used to display an updated target navigation bar in the target application; when the target application is started and the target application fails to request the navigation bar update data from the second server, reading the first navigation bar update data; and displaying the updated target navigation bar in the target application according to the first navigation bar update data.

[0007] Optionally, the method also includes: when the target application is started, sending a target request to the second server in the target application, wherein the target request is used to request the second navigation bar update data of the target application; when the target application cannot obtain a target response sent by the second server in response to the target request within a first preset time period, or when the target application obtains a target response sent by the second server in response to the target request within the first preset time period, and the target response is used to indicate that the request for the second navigation bar update data failed, determining that the target application has failed to request the navigation bar update data from the second server.

[0008] Optionally, obtaining the first navigation bar update data sent by the first server to the target application includes: receiving the first navigation bar update data sent by the first server to the target application; when the data volume of the first navigation bar update data is less than or equal to a preset data volume threshold, storing the first navigation bar update data in the memory corresponding to the target application; when the data volume of the first navigation bar update data is greater than the preset data volume threshold, storing the first navigation bar update data in the storage space corresponding to the target application, wherein the storage space is different from the memory.

[0009] Optionally, the method further includes: when the target application is started, obtaining channel information of the target application, wherein the channel information includes a set of channel identifiers and a set of exhibition point ratios, the set of channel identifiers and the set of exhibition point ratios have a one-to-one correspondence, the set of channel identifiers are used to represent a set of channels in the navigation bar of the target application, and each exhibition point ratio in the set of exhibition point ratios is used to represent the ratio between the number of displays and the number of clicks of a channel represented by the channel identifier; sending the channel information of the target application to the second server, wherein the channel information of the target application is used by the second server to update the navigation bar of the target application.

[0010] Optionally, obtaining the channel information of the target application includes: obtaining a first operation performed on the first channel in the navigation bar of the target application or the first page under the first channel in the target application; in response to the first operation, obtaining a first channel identifier of the first channel and a first exhibition point ratio of the first channel, wherein the first exhibition point ratio is used to represent the ratio between the number of displays and the number of clicks of the first channel; sending the channel information of the target application to the second server includes: in response to the first operation, sending the first channel identifier and the first exhibition point ratio to the second server, wherein the group of channel identifiers includes the first channel identifier, and the group of exhibition point ratios includes the first exhibition point ratio.

[0011] Optionally, the method also includes: obtaining the channel information of the target application on the second server; reordering the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar; and sending the first navigation bar update data corresponding to the target navigation bar to the first server on the second server.

[0012] Optionally, reordering the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar includes: reordering the group of channels in the navigation bar of the target application in ascending order of the exhibition point ratio on the second server to obtain the target navigation bar, wherein the first part of the channels in the target navigation bar is in a default display position, and the second part of the channels in the target navigation bar is in a default hidden position.

[0013] Optionally, the channels in the navigation bar of the target application are reordered on the second server according to the channel information to obtain the target navigation bar, including: when the channel information also includes a set of operation information, the second channel is in a default hidden position, and the number of second operations represented by the second operation information is greater than a first preset threshold, the position of the second channel in the navigation bar of the target application is adjusted from the default hidden position to the default display position, wherein the set of channel identifiers and the set of operation information have a one-to-one correspondence, each of the operation information is used to represent an operation performed on a channel represented by a corresponding channel identifier, the second operation information is used to represent the second operation performed on the second channel, the second operation includes a sliding operation performed on the second channel, or includes the sliding operation and a click operation performed on the second channel, and the sliding operation is used to slide the position of the second channel from the default hidden position to the default display position.

[0014] Optionally, the method further includes: when the target application is in an unstarted state, obtaining page configuration information sent to the target application by the first server, wherein the page configuration information is configuration information sent by the second server to the first server, and the page configuration information is used to indicate page data that is allowed to be displayed or page data that is not allowed to be displayed in the page under the channel in the target navigation bar; when the target application is started and the updated target navigation bar is displayed in the target application, obtaining the first page data under the fourth channel in the target navigation bar from the second server; determining the second page data allowed to be displayed in the first page data according to the page configuration information; and rendering the page under the fourth channel in the target application according to the second page data.

[0015] Optionally, obtaining the first navigation bar update data sent by the first server to the target application includes: when the target application is last started for more than a second preset time, obtaining the first navigation bar update data sent by the first server to the target application.

[0016] Optionally, the method also includes: obtaining target authentication information sent by the first server on the target application, wherein the target authentication information is the authentication information assigned to the target application when the first server successfully authenticates the target application; and sending the target authentication information to the second server on the target application, wherein the target authentication information is used to instruct the second server to send application data of the target application to the first server, and the application data includes the first navigation bar update data.

[0017] Optionally, obtaining the first navigation bar update data sent by the first server to the target application includes: obtaining the first navigation bar update data sent by the first server to the target application, wherein the first server is used to provide a message push service for the target system, the target system is the operating system on the target terminal, and the target application runs on the target terminal.

[0018] According to another aspect of an embodiment of the present invention, a device for processing navigation bar data is provided, including:

[0019] an acquisition module, configured to, when the target application is not started, acquire first navigation bar update data sent by the first server to the target application, wherein the first navigation bar update data is update data sent by the second server to the first server, the second server being the server of the target application, and the first navigation bar update data is used to display the updated target navigation bar in the target application;

[0020] a reading module, configured to read the first navigation bar update data when the target application is started and the target application fails to request the navigation bar update data from the second server;

[0021] The display module is configured to display the updated target navigation bar in the target application according to the updated data of the first navigation bar.

[0022] Optionally, the device is also used to: when the target application is started, send a target request to the second server in the target application, wherein the target request is used to request the second navigation bar update data of the target application; when the target application cannot obtain a target response sent by the second server in response to the target request within a first preset time period, or when the target application obtains a target response sent by the second server in response to the target request within the first preset time period, and the target response is used to indicate that the request for the second navigation bar update data failed, determine that the target application has failed to request the navigation bar update data from the second server.

[0023] Optionally, the device is also used to obtain the first navigation bar update data sent by the first server to the target application in the following manner: receiving the first navigation bar update data sent by the first server to the target application; when the data volume of the first navigation bar update data is less than or equal to a preset data volume threshold, storing the first navigation bar update data in the memory corresponding to the target application; when the data volume of the first navigation bar update data is greater than the preset data volume threshold, storing the first navigation bar update data in the storage space corresponding to the target application, wherein the storage space is different from the memory.

[0024] Optionally, the device is also used to: when the target application is started, obtain channel information of the target application, wherein the channel information includes a group of channel identifiers and a group of exhibition point ratios, the group of channel identifiers and the group of exhibition point ratios have a one-to-one correspondence, the group of channel identifiers are used to represent a group of channels in the navigation bar of the target application, and each exhibition point ratio in the group of exhibition point ratios is used to represent the ratio between the number of displays and the number of clicks of a channel represented by the channel identifier; send the channel information of the target application to the second server, wherein the channel information of the target application is used by the second server to update the navigation bar of the target application.

[0025] Optionally, the device is also used to obtain the channel information of the target application in the following manner: obtaining a first operation performed on the first channel in the navigation bar of the target application or the first page under the first channel in the target application; in response to the first operation, obtaining a first channel identifier of the first channel and a first exhibition point ratio of the first channel, wherein the first exhibition point ratio is used to represent the ratio between the number of displays and the number of clicks of the first channel; the device is also used to send the channel information of the target application to the second server in the following manner: in response to the first operation, sending the first channel identifier and the first exhibition point ratio to the second server, wherein the group of channel identifiers includes the first channel identifier, and the group of exhibition point ratios includes the first exhibition point ratio.

[0026] Optionally, the device is also used to: obtain the channel information of the target application on the second server; reorder the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar; and send the first navigation bar update data corresponding to the target navigation bar to the first server on the second server.

[0027] Optionally, the device is also used to reorder the channels in the navigation bar of the target application according to the channel information on the second server in the following manner to obtain the target navigation bar: reorder the group of channels in the navigation bar of the target application in ascending order of the exhibition point ratio on the second server to obtain the target navigation bar, wherein the first part of the channels in the target navigation bar is in a default display position, and the second part of the channels in the target navigation bar is in a default hidden position.

[0028] Optionally, the device is also used to reorder the channels in the navigation bar of the target application according to the channel information on the second server in the following manner to obtain the target navigation bar: when the channel information also includes a set of operation information, the second channel is in a default hidden position, and the number of second operations represented by the second operation information is greater than a first preset threshold, the position of the second channel in the navigation bar of the target application is adjusted from the default hidden position to the default display position, wherein the set of channel identifiers and the set of operation information have a one-to-one correspondence, each of the operation information is used to represent an operation performed on a channel represented by a corresponding channel identifier, the second operation information is used to represent the second operation performed on the second channel, the second operation includes a sliding operation performed on the second channel, or includes the sliding operation and a click operation performed on the second channel, and the sliding operation is used to slide the position of the second channel from the default hidden position to the default display position.

[0029] Optionally, the device is also used to: when the target application is in an unstarted state, obtain page configuration information sent to the target application by the first server, wherein the page configuration information is configuration information sent by the second server to the first server, and the page configuration information is used to indicate page data that is allowed to be displayed or page data that is not allowed to be displayed in the page under the channel in the target navigation bar; when the target application is started and the updated target navigation bar is displayed in the target application, obtain the first page data under the fourth channel in the target navigation bar from the second server; determine the second page data allowed to be displayed in the first page data according to the page configuration information; and render the page under the fourth channel in the target application according to the second page data.

[0030] Optionally, the device is further used to obtain first navigation bar update data sent by the first server to the target application in the following manner: when the target application is last started for more than a second preset time, obtain the first navigation bar update data sent by the first server to the target application.

[0031] Optionally, the device is also used to: obtain target authentication information sent by the first server on the target application, wherein the target authentication information is the authentication information allocated to the target application when the first server successfully authenticates the target application; and send the target authentication information to the second server on the target application, wherein the target authentication information is used to instruct the second server to send application data of the target application to the first server, and the application data includes the first navigation bar update data.

[0032] Optionally, the device is also used to obtain the first navigation bar update data sent by the first server to the target application in the following manner: obtain the first navigation bar update data sent by the first server to the target application, wherein the first server is used to provide a message push service for the target system, the target system is the operating system on the target terminal, and the target application runs on the target terminal.

[0033] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned method for processing navigation bar data when running.

[0034] According to another aspect of an embodiment of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned method for processing navigation bar data through the computer program.

[0035] In an embodiment of the present invention, when the target application is in an unstarted state, first navigation bar update data sent by the first server to the target application is obtained, wherein the first navigation bar update data is update data sent by the second server to the first server, the second server is the server of the target application, and the first navigation bar update data is used to display the updated target navigation bar in the target application; when the target application is started and the target application fails to request the navigation bar update data from the second server, the first navigation bar update data is read; according to the first navigation bar update data, the updated target navigation bar is displayed in the target application. By updating the navigation bar data when the application is not started, the updated navigation bar can be quickly displayed after the application is started, thereby achieving the purpose of optimizing the display effect of the navigation bar, thereby achieving the technical effect of avoiding the stuck display of the navigation bar due to the update of the navigation bar data and improving the update efficiency of the navigation bar data, thereby solving the technical problem of low efficiency of updating the navigation bar data of the application existing in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0037] Figure 1 is a schematic diagram of an application environment of an optional method for processing navigation bar data according to an embodiment of the present invention;

[0038] Figure 2is a flowchart of an optional method for processing navigation bar data according to an embodiment of the present invention;

[0039] Figure 3 is a schematic diagram of an optional method for processing navigation bar data according to an embodiment of the present invention;

[0040] Figure 4 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention;

[0041] Figure 5 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention;

[0042] Figure 6 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention;

[0043] Figure 7 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention;

[0044] Figure 8 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention;

[0045] Figure 9 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention;

[0046] Figure 10 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention;

[0047] Figure 11 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention;

[0048] Figure 12 is a schematic structural diagram of an optional device for processing navigation bar data according to an embodiment of the present invention;

[0049] Figure 13 FIG. 4 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0051] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0052] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:

[0053] APNS: Push notification service for iOS operating system.

[0054] Navigation bar: Most apps will add a channel page at the top of the homepage, which can switch between different business function pages.

[0055] Marking: When a user performs a key action (clicking a button, sliding a page, or displaying an element on the page), these actions will have a significant impact on the user's role positioning and recommendation data. At this time, code will be inserted when the user performs the action and the user behavior data will be reported.

[0056] The present invention will be described below in conjunction with embodiments:

[0057] According to one aspect of an embodiment of the present invention, a method for processing navigation bar data is provided. Optionally, in this embodiment, the method for processing navigation bar data can be applied to: Figure 1 In the hardware environment composed of the server 101 and the user terminal 103 shown in FIG. Figure 1As shown, the server 101 is connected to the terminal 103 via a network and can be used to provide services for the user terminal or the client installed on the user terminal. The client can be a video client, an instant messaging client, a browser client, an education client, a game client, etc. A database 105 can be set on the server or independently of the server to provide data storage services for the server 101, for example, a game data storage server. The above-mentioned network can include but is not limited to: a wired network, a wireless network, wherein the wired network includes: a local area network, a metropolitan area network and a wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that realize wireless communication. The user terminal 103 can be a terminal configured with a media information application and / or a target game application, and can include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop computer, a tablet computer, a PDA, an MID (Mobile Internet Device) Devices, mobile Internet devices), PADs, desktop computers, smart TVs and other computer devices. The above-mentioned server can be a single server, or a server cluster composed of multiple servers, or a cloud server, and can include but is not limited to routing or gateways. The target application 107 using the above-mentioned navigation bar data processing method is displayed through the user terminal 103. The navigation bar and the data corresponding to the navigation bar can be displayed in the target application 107 through the entrance of the target application 107 configured on the terminal. The above-mentioned server 101 can include but is not limited to the first server 109 and the second server 111. The above-mentioned first server can include but is not limited to the system server corresponding to the operating system used by the user terminal 103, and the above-mentioned second server can include but is not limited to the background server corresponding to the target application 107. The above-mentioned target application 107 is connected to the server 101 through a network, and the above-mentioned first server 109 and the second server 111 are connected through a network. The above is only an example and is not limited to this in this embodiment.

[0058] Combine Figure 1 As shown, the above-mentioned method for processing navigation bar data can be implemented in the user terminal 103 through the following steps:

[0059] S1. When a target application 107 is not started in the user terminal 103, obtain first navigation bar update data sent by the first server 109 to the target application 107. The first navigation bar update data is update data sent by the second server 111 to the first server 109. The second server 109 is the server of the target application 107. The first navigation bar update data is used to display the updated target navigation bar in the target application 107.

[0060] S2, when the target application 107 is started and the target application 107 fails to request the navigation bar update data from the second server 111, read the first navigation bar update data;

[0061] S3. Display the updated target navigation bar in the target application 107 according to the first navigation bar update data.

[0062] Optionally, in this embodiment, the above-mentioned method for processing navigation bar data may also be used by including but not limited to being configured on multiple user terminals.

[0063] The above is only an example and is not specifically limited in this embodiment.

[0064] Alternatively, as an optional implementation, Figure 2 As shown, the method for processing the above navigation bar data includes:

[0065] S202, when the target application is not started, obtaining first navigation bar update data sent by the first server to the target application, wherein the first navigation bar update data is update data sent by the second server to the first server, the second server being the server of the target application, and the first navigation bar update data is used to display the updated target navigation bar in the target application;

[0066] S204, when the target application is started and the target application fails to request the navigation bar update data from the second server, read the first navigation bar update data;

[0067] S206: Display the updated target navigation bar in the target application according to the first navigation bar update data.

[0068] Optionally, in this embodiment, the above-mentioned navigation bar data processing method may include but is not limited to being applied to various current or future terminals or servers. The above-mentioned terminals may include but are not limited to being configured with one or more operating systems. The above-mentioned operating systems may include but are not limited to iOS operating system, Android operating system, etc. The above-mentioned terminals may realize the exchange of system data between the operating system used by the terminal and the server corresponding to the operating system by including but not limited to configuring predetermined system services.

[0069] Taking the above operating system as iOS operating system as an example, Figure 3 is a schematic diagram of an optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 3 As shown, the process may include but is not limited to the following steps:

[0070] S1, the iOS device sends the information for registering the App to the APNS Server (corresponding to the target application mentioned above). Each application App has its own App ID, description file, certificate, etc. This information is sent to the APNS Server service through the iOS system;

[0071] S2: After receiving the registered App information, the APNS Server will send a token message to the iOS device after successful internal authentication.

[0072] S3, after receiving the token, the App will send a message to the App's backend server (corresponding to the aforementioned second server, corresponding to Figure 3 My Server in

[0073] S4: When the target application is not started, the backend server of the App actively sends a message carrying the navigation bar data to the APNS server;

[0074] S5, the APNS server returns a message carrying the navigation bar data to the App of the iOS device. When the iOS device used by the user receives the push message carrying the navigation bar data, the message will be displayed on the notification bar of the iOS device.

[0075] The above is only an example, and this embodiment does not impose any specific limitation.

[0076] Optionally, in this embodiment, the above-mentioned target applications may include but are not limited to video applications, instant messaging applications, browser applications, educational applications, game applications, etc. that have navigation bars, or applications corresponding to components with the same function as the navigation bar. No specific limitation is made to the application fields of the above-mentioned target applications.

[0077] Optionally, in this embodiment, the target application being in an unstarted state may include but is not limited to not running the target application through a touch operation, or the target application failing to establish an effective connection with its corresponding server.

[0078] Optionally, in this embodiment, the above-mentioned first server may include but is not limited to a system-level server corresponding to the operating system used by the terminal where the target application is located, the above-mentioned second server may include but is not limited to the background server of the above-mentioned target application, and the above-mentioned first navigation bar update data may include but is not limited to data used to display the updated target navigation bar in the target application. Specifically, it may include but is not limited to the identification data of the navigation bar, the page data corresponding to the navigation bar, the location data of the navigation bar, and the priority data of the navigation bar and other data associated with the navigation bar. The above-mentioned target application can update the displayed target navigation bar and / or the display content corresponding to the target navigation bar according to the above-mentioned first navigation bar update data.

[0079] Optionally, in this embodiment, the target application may be started including but not limited to running the target application in response to a touch operation, or running the target application according to predetermined operation rules. The predetermined operation rules may include but are not limited to running the target application at a predetermined time node or running the target application according to a predetermined time period.

[0080] Optionally, in this embodiment, the failure of the target application to request navigation bar update data from the second server may include but is not limited to the target application failing to establish a connection with the second server, or the target application failing to obtain the required navigation bar update data from the second server after establishing a connection with the second server.

[0081] Optionally, in this embodiment, the reading of the first navigation bar update data may include but is not limited to reading from a storage device of the terminal where the target application is located, for example, may include but is not limited to a memory, a hard disk, a database, and other storage devices.

[0082] Optionally, in this embodiment, the above-mentioned display of the updated target navigation bar in the target application may include but is not limited to displaying the updated navigation bar and / or the information corresponding to the updated navigation bar and / or the updated information corresponding to the navigation bar in the display interface of the target application.

[0083] For example, Figure 4 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 4 The following may be included but not limited to:

[0084] S1, configuring a logo 406 associated with a navigation bar in a display interface 404 of a target application 402;

[0085] S2, after the target application 402 is started, the logo 406 is displayed in the display interface 404, and the navigation bar corresponding to the logo 406 is the updated navigation bar;

[0086] S3 , after performing a touch operation on the logo 406 , display content 408 corresponding to the logo 406 is displayed on the display interface 404 , wherein the display content 408 is the updated display content of the logo 406 .

[0087] Through this embodiment, when the target application is in an unstarted state, first navigation bar update data sent to the target application by the first server is obtained, wherein the first navigation bar update data is update data sent to the first server by the second server, the second server is the server of the target application, and the first navigation bar update data is used to display the updated target navigation bar in the target application; when the target application is started and the target application fails to request navigation bar update data from the second server, the first navigation bar update data is read; according to the first navigation bar update data, the updated target navigation bar is displayed in the target application. By updating the navigation bar data when the application is not started, the updated navigation bar can be quickly displayed after the application is started, thereby achieving the purpose of optimizing the display effect of the navigation bar, thereby achieving the technical effect of avoiding the stuck display of the navigation bar due to the update of the navigation bar data and improving the update efficiency of the navigation bar data, thereby solving the technical problem of low efficiency of updating navigation bar data of the application in the related art.

[0088] As an optional solution, the method further includes:

[0089] S1, when the target application is started, sending a target request to the second server in the target application, wherein the target request is used to request the second navigation bar of the target application to update data;

[0090] S2, when the target application cannot obtain the target response sent by the second server in response to the target request within the first preset time period, or when the target application obtains the target response sent by the second server in response to the target request within the first preset time period, and the target response is used to indicate that the request for the second navigation bar update data has failed, it is determined that the target application has failed to request the second server to update the navigation bar data.

[0091] Optionally, in this embodiment, the above-mentioned first preset duration can be pre-configured by the server, and may also include but not be limited to being set in the target application according to actual needs, and may also include but not be limited to being dynamically configured by the above-mentioned first server or target application according to historical response time. The above-mentioned historical response time may include but is not limited to being determined based on historical data of sending and receiving navigation bar update data.

[0092] Optionally, in this embodiment, the second navigation bar update data may include but is not limited to content that is identical or similar to the first navigation bar update data, and may include but is not limited to real-time navigation bar update data, etc.

[0093] Optionally, in this embodiment, the target response sent by the second server in response to the target request within the first preset time period obtained in the target application may include but is not limited to receiving a response message in the target application, such as a pop-up message, a sound prompt message, etc. used to indicate the request status of requesting the second navigation bar to update data. The above request status may include but is not limited to indicating a successful request or a failed request.

[0094] For example, Figure 5 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 5 The following may be included but not limited to:

[0095] S1, after starting the target application 502, displaying the display interface 504 of the target application 502;

[0096] S2, after the target application 502 sends a target request to the second server 506, the second server 506 returns a target response to the target application 502;

[0097] S3, displaying on the display interface 504 the identification information 508 indicating that the target response requesting the second navigation bar to update data has failed, for example, a text identification carrying text information of “response failed”.

[0098] The above is only an example, and this embodiment does not impose any specific limitation.

[0099] Through this embodiment, when the target application is started, a target request is sent to the second server in the target application, and when the target application cannot obtain the target response sent by the second server in response to the target request within a first preset time period, or when the target application obtains the target response sent by the second server in response to the target request within the first preset time period, and the target response is used to indicate that the request for the second navigation bar update data has failed, it is determined that the target application has failed to request the second server to update the navigation bar data. By sending a request to the second server when the application is started, and determining that the target application cannot obtain the navigation bar update data from the second server based on the response corresponding to the request, the navigation bar data can be updated. When the application is started and cannot obtain the navigation bar update data from the second server to update the navigation bar data, the first navigation bar update data sent by the first server can be read to quickly update the navigation bar, thereby achieving the technical effect of quickly displaying the updated navigation bar, avoiding the failure of updating the navigation bar data, and improving the updating efficiency of the navigation bar data, thereby solving the technical problem of low navigation bar data updating efficiency of the application in the related art.

[0100] As an optional solution, obtaining the first navigation bar update data sent by the first server to the target application includes: receiving the first navigation bar update data sent by the first server to the target application; when the data volume of the first navigation bar update data is less than or equal to a preset data volume threshold, storing the first navigation bar update data in the memory corresponding to the target application; when the data volume of the first navigation bar update data is greater than the preset data volume threshold, storing the first navigation bar update data in the storage space corresponding to the target application, wherein the storage space is different from the memory.

[0101] Optionally, in this embodiment, the above-mentioned preset data volume threshold may include but is not limited to being pre-configured by the target application, and may also include but is not limited to being adjusted according to the performance of the storage device of the terminal where the target application is located, and may also include but is not limited to the server issuing an indication message to indicate the preset data volume threshold based on the performance of the terminal where the target application is located.

[0102] Optionally, in this embodiment, the memory corresponding to the target application and the storage space corresponding to the target application may include but are not limited to being pre-configured according to the terminal where the target application is located.

[0103] For example, Figure 6 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 6 The following may be included but not limited to:

[0104] S602, start the target application;

[0105] S604: Determine whether the target application is unable to establish a connection with the network, or is unable to return the first navigation bar update data from the preset interface. If the result of the determination is that the target application can establish a connection with the network, or can return the first navigation bar update data from the preset interface, execute step S606; otherwise, execute step S608.

[0106] S606, send a request message to interface A and interface B, and execute step S614, wherein the target application includes maintaining a concurrent queue, which is responsible for distributing navigation bar data and event-related operations. The queue needs to obtain the shielding message (interface A) and the navigation data interface message (interface B), and finally generate the navigation bar data source. The data source is a one-dimensional array. The elements in the array are dictionaries, including the navigation channel name, navigation id, url of the loading page, time interval of channel exposure, and data sorting. The rule for generating the data source is: the channel id array sent by interface A indicates the channel that needs to be blocked, interface B sends the navigation channel data, records the timestamp of the interface call, the array in interface A matches the data in interface B, and generates the data source according to the timestamp and channel id.

[0107] S608, determining whether the pushed data can be read from the memory, if the determination result is yes, executing step S610, otherwise executing step S612;

[0108] S610, read the push data from the memory, and execute step S614;

[0109] S612, read the push data from the storage space, and execute step S614;

[0110] S614, generating the above-mentioned navigation bar data source;

[0111] Among them, the storage area of the target application includes memory and storage space. By comparing the data volume of the first navigation bar update data with the preset data volume threshold, if the data volume of the first navigation bar update data is less than or equal to the preset data volume threshold, the first navigation bar update data is stored in the memory; if the data volume of the first navigation bar update data is greater than the preset data volume threshold, the first navigation bar update data is stored in the memory.

[0112] The above is only an example, and this embodiment does not impose any specific limitation.

[0113] Through this embodiment, the first navigation bar update data sent by the first server to the target application is received. When the data volume of the first navigation bar update data is less than or equal to the preset data volume threshold, the first navigation bar update data is stored in the memory corresponding to the target application. When the data volume of the first navigation bar update data is greater than the preset data volume threshold, the first navigation bar update data is stored in the storage space corresponding to the target application. By comparing the size of the first navigation bar update data with the preset data volume threshold, the first navigation bar update data is flexibly stored in the corresponding area, so as to realize flexible and fast extraction of the first navigation bar update data, and then display the updated navigation bar, avoiding the failure of updating the navigation bar data, and improving the updating efficiency of the navigation bar data, thereby solving the technical problem of low updating efficiency of the navigation bar data of the application program existing in the related art.

[0114] As an optional solution, the method also includes: when the target application is started, obtaining channel information of the target application, wherein the channel information includes a group of channel identifiers and a group of exhibition point ratios, the group of channel identifiers and the group of exhibition point ratios have a one-to-one correspondence, the group of channel identifiers are used to represent a group of channels in the navigation bar of the target application, and each exhibition point ratio in the group of exhibition point ratios is used to represent the ratio between the number of displays and the number of clicks of a channel represented by the channel identifier; sending the channel information of the target application to the second server, wherein the channel information of the target application is used by the second server to update the navigation bar of the target application.

[0115] Optionally, in this embodiment, the channel information is used to update the navigation bar of the target application, wherein the channel information may include but is not limited to a set of channel identifiers and a set of display ratios corresponding to the channel identifiers.

[0116] It should be noted that the above-mentioned channel identification may include but is not limited to the channel ID, the character string corresponding to the channel, the channel category, etc., and the above-mentioned display point ratio may include but is not limited to the ratio between the number of displays and the number of clicks of the channel represented by a channel identification.

[0117] For example, Figure 7 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 7 The following may be included but not limited to:

[0118] S1, a navigation bar 704 is displayed in the display interface 702 of the target application;

[0119] S2, a group of channel identifiers including channel identifier 706 is displayed in the navigation bar 704, wherein each channel identifier in the group of channel identifiers corresponds to a channel in the navigation bar;

[0120] S3. After performing a touch operation in the target application, the channel content 708 corresponding to the channel identifier 706 is displayed in the display interface 702, wherein the above-mentioned touch operation is the above-mentioned number of clicks, the above-mentioned display of the channel content corresponding to the channel identifier is the above-mentioned number of displays, and the above-mentioned exhibition point ratio is the ratio of the above-mentioned number of displays to the number of clicks of the above-mentioned channel. When a touch operation is performed in the target application, the above-mentioned number of clicks is increased by 1, and when the channel content corresponding to the channel identifier is displayed, the number of displays of the channel is increased by 1. The above-mentioned exhibition point ratio is calculated separately for each channel corresponding to the above-mentioned set of channel identifiers to obtain the above-mentioned set of exhibition point ratios.

[0121] Through this embodiment, when the target application is started, the channel information of the target application is obtained and the channel information of the target application is sent to the second server, wherein the channel information of the target application is used by the second server to update the navigation bar of the target application. By obtaining a set of channel identifiers and corresponding display point ratios, the navigation bar of the target application is updated, so as to realize the flexible and rapid update of the navigation bar according to the extracted first navigation bar update data, thereby achieving the technical effect of improving the update efficiency of the navigation bar data, and thus solving the technical problem of low update efficiency of the navigation bar data of the application program existing in the related technology.

[0122] As an optional solution,

[0123] S1, obtaining the channel information of the target application, including: obtaining, in the target application, a first operation performed on a first channel in a navigation bar of the target application or a first page under the first channel; in response to the first operation, obtaining a first channel identifier of the first channel and a first display point ratio of the first channel, wherein the first display point ratio is used to represent a ratio between the number of impressions and the number of clicks on the first channel;

[0124] S2, sending the channel information of the target application to the second server includes: in response to the first operation, sending the first channel identifier and the first exhibition point ratio to the second server, wherein the group of channel identifiers includes the first channel identifier, and the group of exhibition point ratios includes the first exhibition point ratio.

[0125] Optionally, in this embodiment, the above-mentioned first channel may include but is not limited to the channel displayed in the navigation bar of the above-mentioned target application, and the above-mentioned first page may include but is not limited to the page corresponding to the above-mentioned first channel. By performing a preset touch operation on the channel of the navigation bar in the above-mentioned target application, the page corresponding to the above-mentioned channel is displayed in response to the above-mentioned touch operation. The page data of the above-mentioned first page can be determined based on the above-mentioned first navigation bar update data. The above-mentioned first channel may also include but is not limited to the channel that is not displayed in the display interface of the target application but still belongs to the navigation bar. By performing a touch operation on the predetermined logo in the navigation bar, the first channel that is not displayed in the display interface of the target application is displayed in response to the above-mentioned touch operation.

[0126] For example, Figure 8 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 8 The following may be included but not limited to:

[0127] Figure 8 A display interface 802 of a target application is displayed, wherein the display interface 802 includes an area 804 displaying a navigation bar and an area 806 displaying the above-mentioned first page. By performing a first operation on the first channel 808 in the area 804 or on the first page 810 displayed in the area 806, in response to the first operation, the first channel identifier of the first channel and the first display point ratio of the first channel are obtained.

[0128] Specifically, it may include but is not limited to the following specific exemplary descriptions:

[0129] The above-mentioned exhibition point ratio may be obtained, including but not limited to, from a record behavior log associated with the target application through a preset interface.

[0130] For example, taking method M for obtaining the above-mentioned exhibition point ratio from the recorded behavior log associated with the target application through a preset interface as an example, the parameters of method M include but are not limited to dictionaries, and the data to be obtained include but are not limited to channel ID, event type (slide, click, double-click, long press, etc.), current event (event type corresponding to time point / time period), exhibition point ratio (the ratio between the number of displays and the number of clicks), etc. The calling time of method M can be any time during the operation of the target application, for example, when the user generates user behavior on the channel page corresponding to the navigation bar (corresponding to the aforementioned first page) (behavior includes clicking, sliding to load the next page, pulling down to refresh, entering search, playing video, exposing page elements, etc.), and then passing in parameters and reporting to the server in real time.

[0131] Through this embodiment, a first operation performed on the first channel in the navigation bar of the target application or the first page under the first channel is obtained in the target application, and in response to the first operation, the first channel identifier of the first channel and the first display point ratio of the first channel are obtained. In response to the first operation, the first channel identifier and the first display point ratio are sent to the second server. By sending the first channel identifier and the first display point ratio to the second server, the navigation bar of the target application is updated, and the navigation bar is updated flexibly and quickly according to the extracted first navigation bar update data, thereby achieving the technical effect of improving the update efficiency of the navigation bar data, thereby solving the technical problem of low update efficiency of the navigation bar data of the application program existing in the related art.

[0132] As an optional solution, the method also includes: obtaining the channel information of the target application on the second server; reordering the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar; and sending the first navigation bar update data corresponding to the target navigation bar to the first server on the second server.

[0133] Optionally, in this embodiment, the above-mentioned reordering of channels in the navigation bar of the target application may include but is not limited to adjusting the positions of the above-mentioned channels in the navigation bar. The above-mentioned reordering may include but is not limited to depending on the target navigation bar pre-configured by the operator, the target navigation bar determined according to the exhibition point ratio, and sorting based on user usage records obtained in applications other than the target application to obtain the above-mentioned target navigation bar.

[0134] Optionally, in this embodiment, the channel sorting rules of the above-mentioned target navigation bar can also be based on a combination of the above-mentioned multiple rules. When sorting is performed simultaneously based on multiple sorting rules, corresponding priorities can be configured for different sorting rules, and the channels in the navigation bar can be reordered according to the corresponding priorities to obtain the above-mentioned target navigation bar.

[0135] Optionally, in this embodiment, the sending of the first navigation bar update data corresponding to the target navigation bar on the second server to the first server may include but is not limited to sending the first navigation bar update data to the first server through a predetermined interface, wherein the predetermined interface is an interface for reordering the channels in the navigation bar of the target application.

[0136] Optionally, in this embodiment, the sending of the first navigation bar update data corresponding to the target navigation bar on the second server to the first server may include but is not limited to reordering the channels in the navigation bar of the target application when a predetermined condition is met.

[0137] For example, taking the case where the sorting rule includes determining the target navigation bar based on the ratio of exhibition points, Figure 9 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 9 The following may be included but not limited to:

[0138] The navigation bar includes channels 902, 904, 906, and 908. Before reordering, the distribution order was channel 902, channel 904, channel 906, and channel 908. When the operator manually set the sorting order of channel 908 to first, channels 902, 904, and 906 were not set. According to user behavior, the distribution order of the above channels was channel 904, channel 908, and channel 906. Channel 902 did not obtain user behavior. According to the user's browsing history in other applications, the distribution order of the above channels was channel 906, channel 908, channel 902, and channel 904. By reordering according to the priority of the sorting method, the order of the channels in the target navigation bar is channel 908, channel 904, channel 906, and channel 902.

[0139] The above is only an example, and this embodiment does not impose any specific limitation.

[0140] Through this embodiment, the channel information of the target application is obtained on the second server; the channels in the navigation bar of the target application are reordered on the second server according to the channel information to obtain the target navigation bar, and the first navigation bar update data corresponding to the target navigation bar is sent to the first server on the second server. By reordering the navigation bars and sending the generated first navigation bar update data corresponding to the target navigation bar to the first server, the navigation bar of the target application is updated, thereby achieving the technical effect of improving the updating efficiency of the navigation bar data, and thus solving the technical problem of low updating efficiency of the navigation bar data of the application program existing in the related art.

[0141] As an optional solution, reordering the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar includes:

[0142] The group of channels in the navigation bar of the target application are reordered on the second server in ascending order of the display point ratios to obtain the target navigation bar.

[0143] Optionally, in this embodiment, the order from small to large in terms of exhibition point ratio may include but is not limited to calculating the exhibition point ratio, and sorting the channels in the navigation bar from small to large in terms of exhibition point ratio to obtain the target navigation bar.

[0144] Optionally, in this embodiment, the above sorting process may include but is not limited to configuring the first part of channels in the target navigation bar to be in a default display position, and configuring the second part of channels in the target navigation bar to be in a default hidden position, the above first part of channels is a part of channels with a larger proportion of the above exhibition points, and the above second part of channels is a part of channels with a smaller proportion of the above exhibition points.

[0145] by Figure 9 For example, the above reordering of a group of channels in the navigation bar of the target application in the order of small to large display ratio may include but is not limited to the following: Figure 9 As shown, the above group of channels are reordered in ascending order according to the exhibition point ratio, which may specifically include but is not limited to sorting the above group of channels into channel 904, channel 908, and channel 906. If channel 902 does not obtain the exhibition point ratio, it is determined that there is no user behavior on channel 902 and it will not be reordered.

[0146] The above default placements may include but are not limited to Figure 9 The position 912 and position 914 of the navigation bar 910 are shown. The above default hidden position may include but is not limited to the above Figure 9 As shown in positions 916 and 918 of the navigation bar 910, when it is determined that the exhibition point ratio of channel 904 is greater than the exhibition point ratio of channel 908 and the exhibition point ratio of channel 908 is greater than the exhibition point ratio of channel 906, the above-mentioned channels 904 and 908 are displayed at positions 912 and 914 respectively, and channels 906 and 902 are displayed at positions 916 and 918 respectively.

[0147] The above is only an example, and this embodiment does not make any specific definition.

[0148] Through this embodiment, a method of obtaining a target navigation bar is adopted by reordering a group of channels in the navigation bar of the target application in ascending order according to the display point ratio on the second server. By reordering the navigation bar according to the display point ratio, the navigation bar of the target application is updated, and the channels that the user frequently uses can be displayed to the user, thereby achieving the technical effect of optimizing the user's usage experience, thereby solving the technical problem of low efficiency of updating navigation bar data of applications existing in related technologies.

[0149] As an optional solution, reordering the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar includes:

[0150] When the channel information also includes a set of operation information, the second channel is in a default hidden position, and the number of second operations represented by the second operation information is greater than a first preset threshold, the position of the second channel in the navigation bar of the target application is adjusted from the default hidden position to the default display position, wherein the set of channel identifiers and the set of operation information have a one-to-one correspondence, each of the operation information is used to represent an operation performed on a channel represented by a corresponding channel identifier, the second operation information is used to represent the second operation performed on the second channel, the second operation includes a sliding operation performed on the second channel, or includes the sliding operation and a click operation performed on the second channel, and the sliding operation is used to slide the position of the second channel from the default hidden position to the default display position.

[0151] Optionally, in this embodiment, the above-mentioned second operation includes but is not limited to a sliding operation or a sliding operation and a click operation. After obtaining the above-mentioned second operation performed on the second channel, in response to the above-mentioned second operation, the position of the second channel in the navigation bar of the target application is adjusted from the default hidden position to the default display position.

[0152] For example, Figure 9 For example, the second channel may include but is not limited to channel 906. When a sliding operation or the number of sliding operations and click operations on channel 906 reaches a first preset threshold, the display position of channel 906 is moved from position 916 to position 914, wherein position 914 is the default display position and position 916 is the default hidden position. It should be noted that the above-mentioned default display position is marked with a solid line and the default hidden position is marked with a dotted line.

[0153] Optionally, in this embodiment, taking the above-mentioned method M for reporting user behavior as an example, the user behavior is reported in real time according to the first preset threshold (the first preset threshold can change dynamically according to the user's usage time) set by obtaining the number of reports of user behavior (corresponding to the aforementioned sliding operation or sliding operation and click operation) called by method M. The reported data lays the foundation for pushing messages. Through the user's behavior data on the second channel recorded in the behavior log and the pre-set first preset threshold, when the conditions are met, the interface C is requested to reorder the channels in the navigation bar of the target application, and adjust the position of the second channel in the navigation bar of the target application from the default hidden position to the default display position to obtain the target navigation bar.

[0154] The above is only an example, and this embodiment does not impose any specific limitation.

[0155] Through this embodiment, when the channel information also includes a set of operation information, the second channel is in the default hidden position, and the number of second operations represented by the second operation information is greater than the first preset threshold, the position of the second channel in the navigation bar of the target application is adjusted from the default hidden position to the default display position, so as to update the navigation bar of the target application. The channel that has been used by the user the number of times reaches the first preset threshold can be adjusted from the default hidden position to the default display position, so that the user can intuitively view the channels that have been frequently used recently, thereby achieving the technical effect of optimizing the user's usage experience, thereby solving the technical problem of low efficiency in updating navigation bar data of applications existing in the related art.

[0156] As an optional solution, the method also includes: when the target application is in an unstarted state, obtaining page configuration information sent to the target application by the first server, wherein the page configuration information is configuration information sent by the second server to the first server, and the page configuration information is used to indicate page data that is allowed to be displayed or page data that is not allowed to be displayed in the page under the channel in the target navigation bar; when the target application is started and the updated target navigation bar is displayed in the target application, obtaining the first page data under the fourth channel in the target navigation bar from the second server; determining the second page data allowed to be displayed in the first page data according to the page configuration information; and rendering the page under the fourth channel in the target application according to the second page data.

[0157] Optionally, in this embodiment, the above-mentioned page configuration information is used to indicate the page data that is allowed to be displayed or the page data that is not allowed to be displayed in the page under the channel in the target navigation bar, wherein the page data that is allowed to be displayed in the page may include but is not limited to the page data to be displayed through the page, that is, the page configuration information records the identifier of the page data to be displayed, or the specific content of the page data to be displayed, etc. The above-mentioned page data that is not allowed to be displayed may include but is not limited to the page data that is prohibited from being displayed through the page or the page data that is canceled from being displayed through the page. That is, the page configuration information records the identifier of the page data that is prohibited from being displayed or canceled from being displayed, or the specific content of the page data that is prohibited from being displayed or canceled from being displayed, etc.

[0158] Optionally, in this embodiment, the above-mentioned page data may include but is not limited to data corresponding to the target application or channel information, and may include but is not limited to using the cloud control center to generate the above-mentioned page configuration information. The above-mentioned page configuration information may include but is not limited to determining the page data that is allowed to be displayed or the page data that is not allowed to be displayed in the page under the channel in the target navigation bar based on the user behavior log.

[0159] For example, Figure 10 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 10 The following may be included but not limited to:

[0160] S1, the display interface 1002 displays channel 1 and channel 2 (the fourth channel), and the current page display area 1004 displays the first page data associated with channel 2;

[0161] S2, after obtaining the page configuration information sent by the first server to the target application, determining second page data allowed to be displayed in the first page data according to the page configuration information 1006;

[0162] S3 , according to the second page data 1006 , the page under the fourth channel is rendered in the target application, and the page data displayed in the display area 1004 is updated.

[0163] Through this embodiment, when the target application is in an unstarted state, the page configuration information sent to the target application by the first server is obtained; when the target application is started and the updated target navigation bar is displayed in the target application, the first page data under the fourth channel in the target navigation bar is obtained from the second server; according to the page configuration information, the second page data allowed to be displayed is determined in the first page data; according to the second page data, the page under the fourth channel is rendered in the target application to configure the navigation bar of the target application, and the page data displayed corresponding to the channel can be updated so that the user can view the page data determined based on the page configuration information, thereby achieving the technical effect of optimizing the user experience, thereby solving the technical problem of low efficiency in updating the navigation bar data of the application program existing in the related art.

[0164] As an optional solution, obtaining the first navigation bar update data sent by the first server to the target application includes:

[0165] In a case where the target application is last started for more than a second preset time period, the first navigation bar update data sent by the first server to the target application is obtained.

[0166] Optionally, in this embodiment, the second preset duration may be preset by the server, may be manually updated by an operator, and may be dynamically determined including but not limited to based on the amount of data updated in the first navigation bar.

[0167] As an optional solution, the method also includes: obtaining target authentication information sent by the first server on the target application, wherein the target authentication information is the authentication information assigned to the target application when the first server successfully authenticates the target application; sending the target authentication information to the second server on the target application, wherein the target authentication information is used to instruct the second server to send application data of the target application to the first server, and the application data includes the first navigation bar update data.

[0168] Optionally, in this embodiment, the target authentication information may include but is not limited to token information, verification identification information, and other authentication information used to instruct the second server to send application data of the target application to the first server.

[0169] It should be noted that the target authentication information in the form of a token is only an example and can be flexibly adjusted according to the operating system of the terminal where the target application is located, for example, in the form of a random string, a key, etc.

[0170] As an optional solution, obtaining the first navigation bar update data sent by the first server to the target application includes: obtaining the first navigation bar update data sent by the first server to the target application, wherein the first server is used to provide a message push service for the target system, the target system is the operating system on the target terminal, and the target application runs on the target terminal.

[0171] Optionally, in this embodiment, the target system may include but is not limited to an operating system that can run on a terminal, such as an iOS system and an Android system.

[0172] The present invention will be further explained below with reference to specific embodiments:

[0173] Taking the iOS operating system as an example, the push service principle of the iOS system may include but is not limited to the following steps:

[0174] S1, each app has its own App ID, description file, certificate, etc., which is sent to the iOS APNS service through the iOS system;

[0175] S2: APNS receives the application information and issues a token to the application after successful internal authentication.

[0176] S3, after the App receives the token, it will send it to the server corresponding to the App;

[0177] S4: At specific times (including but not limited to when the app is not running or when the operator manually updates it), the server corresponding to the app proactively sends a message to APNS, which processes it and then passes it to the app. When the user receives the push message on their terminal, the message appears in the notification bar of the terminal device.

[0178] Optionally, in this embodiment, the interface method for opening a behavior log may include but is not limited to method M. The parameters of method M are dictionaries, and the data mainly include channel id, event type, current event, and exhibition point ratio. The reporting number of times method M is called is set to a threshold, and user behavior will be reported in real time. The reported data lays the foundation for push messages. Through the behavior log and the set threshold, interface C is requested when the conditions are met. Interface C is specifically used for top navigation sorting. The caller of method M can be at any time during the program running process. For example, when the user generates a user behavior on the channel page corresponding to the navigation bar (behavior includes clicking, sliding to load the next page, pulling down to refresh, entering search, playing videos, exposing page elements, etc.), the parameters are passed in and reported to the server in real time.

[0179] Figure 11 is a schematic diagram of another optional method for processing navigation bar data according to an embodiment of the present invention, such as Figure 11 As shown, taking the top navigation bar as an example, the specific process may include but is not limited to the following:

[0180] S1102, the user generates an action on the page;

[0181] S1104, calling method M;

[0182] S1106, determining whether the user behavior reaches a threshold;

[0183] S1108, sort the top navigation data.

[0184] Optionally, in this embodiment, it can also include but not be limited to presetting the user's inactive time as T in the following manner. When T is met, the server sends data to the client through APNS, verifies the data format, verifies whether the data is lost, and sorts the data after the verification is passed and stores it locally to replace the original data. When starting, the navigation bar backend is no longer requested, and the local data is directly loaded to render the view.

[0185] Through this embodiment, the situation where the navigation bar is not updated in time due to weak network or no network at startup can be reduced, thereby achieving the technical effect of optimizing user experience, increasing user stickiness, and improving DAU.

[0186] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0187] According to another aspect of an embodiment of the present invention, a device for processing navigation bar data for implementing the above-mentioned method for processing navigation bar data is also provided. Figure 12 As shown, the device includes:

[0188] an acquisition module 1202, configured to acquire, when the target application is not started, first navigation bar update data sent by the first server to the target application, wherein the first navigation bar update data is update data sent by the second server to the first server, the second server being the server of the target application, and the first navigation bar update data is used to display the updated target navigation bar in the target application;

[0189] The reading module 1204 is configured to read the first navigation bar update data when the target application is started and the target application fails to request the navigation bar update data from the second server;

[0190] The display module 1206 is configured to display the updated target navigation bar in the target application according to the first navigation bar update data.

[0191] As an optional solution, the device is also used to: when the target application is started, send a target request to the second server in the target application, wherein the target request is used to request the second navigation bar update data of the target application; when the target application cannot obtain the target response sent by the second server in response to the target request within a first preset time period, or when the target application obtains the target response sent by the second server in response to the target request within the first preset time period, and the target response is used to indicate that the request for the second navigation bar update data failed, determine that the target application has failed to request the navigation bar update data from the second server.

[0192] As an optional solution, the apparatus is further configured to obtain the first navigation bar update data sent by the first server to the target application in the following manner:

[0193] receiving the first navigation bar update data sent by the first server to the target application;

[0194] When the amount of the first navigation bar update data is less than or equal to a preset data amount threshold, storing the first navigation bar update data in a memory corresponding to the target application;

[0195] When the data volume of the first navigation bar update data is greater than the preset data volume threshold, the first navigation bar update data is stored in a storage space corresponding to the target application, wherein the storage space is different from the memory.

[0196] As an optional solution, the device is also used to: when the target application is started, obtain channel information of the target application, wherein the channel information includes a group of channel identifiers and a group of exhibition point ratios, the group of channel identifiers and the group of exhibition point ratios have a one-to-one correspondence, the group of channel identifiers are used to represent a group of channels in the navigation bar of the target application, and each exhibition point ratio in the group of exhibition point ratios is used to represent the ratio between the number of displays and the number of clicks of a channel represented by the channel identifier; send the channel information of the target application to the second server, wherein the channel information of the target application is used by the second server to update the navigation bar of the target application.

[0197] As an optional solution,

[0198] The device is further configured to obtain channel information of the target application by: obtaining, in the target application, a first operation performed on a first channel in a navigation bar of the target application or a first page under the first channel; and in response to the first operation, obtaining a first channel identifier of the first channel and a first display point ratio of the first channel, wherein the first display point ratio represents a ratio between the number of impressions and the number of clicks on the first channel.

[0199] The device is also used to send the channel information of the target application to the second server in the following manner: in response to the first operation, sending the first channel identifier and the first exhibition point ratio to the second server, wherein the group of channel identifiers includes the first channel identifier, and the group of exhibition point ratios includes the first exhibition point ratio.

[0200] As an optional solution, the device is also used to: obtain the channel information of the target application on the second server; reorder the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar; and send the first navigation bar update data corresponding to the target navigation bar to the first server on the second server.

[0201] As an optional solution, the apparatus is further configured to reorder the channels in the navigation bar of the target application according to the channel information on the second server in the following manner to obtain the target navigation bar:

[0202] On the second server, the group of channels in the navigation bar of the target application are reordered in ascending order according to the exhibition point ratio to obtain the target navigation bar, wherein the first part of the channels in the target navigation bar is in a default display position, and the second part of the channels in the target navigation bar is in a default hidden position.

[0203] As an optional solution, the apparatus is further configured to reorder the channels in the navigation bar of the target application according to the channel information on the second server in the following manner to obtain the target navigation bar:

[0204] When the channel information also includes a set of operation information, the second channel is in a default hidden position, and the number of second operations represented by the second operation information is greater than a first preset threshold, the position of the second channel in the navigation bar of the target application is adjusted from the default hidden position to the default display position, wherein the set of channel identifiers and the set of operation information have a one-to-one correspondence, each of the operation information is used to represent an operation performed on a channel represented by a corresponding channel identifier, the second operation information is used to represent the second operation performed on the second channel, the second operation includes a sliding operation performed on the second channel, or includes the sliding operation and a click operation performed on the second channel, and the sliding operation is used to slide the position of the second channel from the default hidden position to the default display position.

[0205] As an optional solution, the device is further configured to: when the target application is in an unactivated state, obtain page configuration information sent by the first server to the target application, wherein the page configuration information is configuration information sent by the second server to the first server, and the page configuration information is used to indicate page data that is allowed to be displayed or page data that is not allowed to be displayed in the page under the channel in the target navigation bar; when the target application is activated and the updated target navigation bar is displayed in the target application, obtain first page data under the fourth channel in the target navigation bar from the second server; and determine second page data that is allowed to be displayed in the first page data according to the page configuration information;

[0206] Rendering the page under the fourth channel in the target application according to the second page data.

[0207] As an optional solution, the apparatus is further configured to obtain the first navigation bar update data sent by the first server to the target application in the following manner:

[0208] In a case where the target application is last started for more than a second preset time period, the first navigation bar update data sent by the first server to the target application is obtained.

[0209] As an optional solution, the device is also used to: obtain target authentication information sent by the first server on the target application, wherein the target authentication information is the authentication information allocated to the target application when the first server successfully authenticates the target application; and send the target authentication information to the second server on the target application, wherein the target authentication information is used to instruct the second server to send application data of the target application to the first server, and the application data includes the first navigation bar update data.

[0210] As an optional solution, the device is also used to obtain the first navigation bar update data sent by the first server to the target application in the following manner: obtain the first navigation bar update data sent by the first server to the target application, wherein the first server is used to provide a message push service for the target system, the target system is the operating system on the target terminal, and the target application runs on the target terminal.

[0211] According to another aspect of the embodiment of the present invention, an electronic device for implementing the above-mentioned method for processing navigation bar data is also provided. The electronic device may be Figure 1 The terminal device or server shown in FIG. This embodiment is described by taking the electronic device as a terminal as an example. Figure 13 As shown, the electronic device includes a memory 1302 and a processor 1304. The memory 1302 stores a computer program, and the processor 1304 is configured to execute the steps in any of the above method embodiments through the computer program.

[0212] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0213] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:

[0214] S1, when a target application is not started, obtaining first navigation bar update data sent by a first server to the target application, wherein the first navigation bar update data is update data sent by a second server to the first server, the second server being the server of the target application, and the first navigation bar update data is used to display an updated target navigation bar in the target application;

[0215] S2, when the target application is started and the target application fails to request the navigation bar update data from the second server, reading the first navigation bar update data;

[0216] S3. Display the updated target navigation bar in the target application according to the first navigation bar update data.

[0217] Alternatively, those skilled in the art will appreciate that Figure 13 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 13 It does not limit the structure of the electronic device. For example, the electronic device may also include Figure 13 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 13 Different configurations shown.

[0218] Among them, the memory 1302 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for processing navigation bar data in the embodiment of the present invention. The processor 1304 executes various functional applications and data processing by running the software programs and modules stored in the memory 1302, that is, realizes the above-mentioned method for processing navigation bar data. The memory 1302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1302 may further include a memory remotely located relative to the processor 1304, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1302 can be used specifically but not limited to information such as navigation bar update data and page data. As an example, if Figure 13 As shown, the memory 1302 may include, but is not limited to, the acquisition module 1202, the reading module 1204, and the display module 1206 in the navigation bar data processing device. In addition, it may also include, but is not limited to, other module units in the navigation bar data processing device, which will not be repeated in this example.

[0219] Optionally, the transmission device 1306 is configured to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1306 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1306 is a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.

[0220] In addition, the electronic device further includes: a display 1308 for displaying the target application; and a connection bus 1310 for connecting various module components in the electronic device.

[0221] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes through network communication. The nodes may form a peer-to-peer (P2P) network, and any computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0222] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various optional implementations of the aforementioned processing of navigation bar data.

[0223] The computer program is configured to execute the steps of any one of the above method embodiments when running.

[0224] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0225] S1, when a target application is not started, obtaining first navigation bar update data sent by a first server to the target application, wherein the first navigation bar update data is update data sent by a second server to the first server, the second server being the server of the target application, and the first navigation bar update data is used to display an updated target navigation bar in the target application;

[0226] S2, when the target application is started and the target application fails to request the navigation bar update data from the second server, reading the first navigation bar update data;

[0227] S3. Display the updated target navigation bar in the target application according to the first navigation bar update data.

[0228] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0229] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0230] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes a number of instructions for causing one or more computer devices (such as personal computers, servers, or network devices) to execute all or part of the steps of the methods described in various embodiments of the present invention.

[0231] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0232] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, and can be electrical or other forms.

[0233] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0234] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0235] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A method for processing navigation bar data, characterized in that: include: When a target application is not started, obtaining first navigation bar update data sent by a first server to the target application, wherein the first navigation bar update data is update data sent by a second server to the first server, the second server being the server of the target application, and the first navigation bar update data is used to display an updated target navigation bar in the target application; When the target application is started and the target application fails to request the navigation bar update data from the second server, reading the first navigation bar update data includes: when the target application can return the first navigation bar update data from the preset interface, sending a request message to interface A and interface B to generate the first navigation bar update data, wherein the target application includes a maintenance concurrent queue, the maintenance concurrent queue is responsible for distributing navigation bar data and event-related operations, the maintenance concurrent queue obtains shielding messages through the interface A, obtains navigation data interface messages through the interface B, uses the channel number array issued by the interface A to match the navigation channel data issued by the interface B to generate the first navigation bar update data; when the target application cannot return the first navigation bar update data from the preset interface, reading push data from the memory or storage space to generate the first navigation bar update data, wherein the storage area of the target application includes the memory and the storage space, and storing the first navigation bar update data in the memory or the storage space by comparing the data volume of the first navigation bar update data with a preset data volume threshold; Displaying the updated target navigation bar in the target application according to the first navigation bar update data.

2. The method according to claim 1, characterized in that The method further comprises: When the target application is started, sending a target request to the second server in the target application, wherein the target request is used to request the second navigation bar of the target application to update data; When the target application cannot obtain the target response sent by the second server in response to the target request within the first preset time period, or when the target application obtains the target response sent by the second server in response to the target request within the first preset time period, and the target response is used to indicate that the request for the second navigation bar update data has failed, it is determined that the target application has failed to request the second server to update the navigation bar data.

3. The method according to claim 1, characterized in that The acquiring the first navigation bar update data sent by the first server to the target application includes: receiving the first navigation bar update data sent by the first server to the target application; When the amount of the first navigation bar update data is less than or equal to the preset data amount threshold, storing the first navigation bar update data in the memory corresponding to the target application; When the data volume of the first navigation bar update data is greater than the preset data volume threshold, the first navigation bar update data is stored in a storage space corresponding to the target application, wherein the storage space is different from the memory.

4. The method according to claim 1, wherein The method further comprises: When the target application is started, obtaining channel information of the target application, wherein the channel information includes a set of channel identifiers and a set of display point ratios, the set of channel identifiers and the set of display point ratios having a one-to-one correspondence, the set of channel identifiers being used to represent a set of channels in a navigation bar of the target application, and each display point ratio in the set of display point ratios being used to represent a ratio between the number of impressions and the number of clicks of a channel represented by the channel identifier; The channel information of the target application is sent to the second server, wherein the channel information of the target application is used by the second server to update the navigation bar of the target application.

5. The method according to claim 4, characterized in that The acquiring of the channel information of the target application includes: acquiring, in the target application, a first operation performed on a first channel in a navigation bar of the target application or a first page under the first channel; and acquiring, in response to the first operation, a first channel identifier of the first channel and a first display point ratio of the first channel, wherein the first display point ratio is used to represent a ratio between the number of impressions and the number of clicks on the first channel; The sending of the channel information of the target application to the second server includes: in response to the first operation, sending the first channel identifier and the first exhibition point ratio to the second server, wherein the set of channel identifiers includes the first channel identifier, and the set of exhibition point ratios includes the first exhibition point ratio.

6. The method according to claim 4, characterized in that The method further comprises: acquiring, on the second server, the channel information of the target application; reordering the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar; The first navigation bar update data corresponding to the target navigation bar is sent on the second server to the first server.

7. The method according to claim 6, characterized in that The reordering, on the second server, the channels in the navigation bar of the target application according to the channel information to obtain the target navigation bar includes: The group of channels in the navigation bar of the target application are reordered on the second server in ascending order of the display point ratios to obtain the target navigation bar.

8. The method according to claim 6, characterized in that The reordering, on the second server, the channels in the navigation bar of the target application according to the channel information to obtain the target navigation bar includes: When the channel information also includes a set of operation information, the second channel is in a default hidden position, and the number of second operations represented by the second operation information is greater than a first preset threshold, the position of the second channel in the navigation bar of the target application is adjusted from the default hidden position to the default display position, wherein the set of channel identifiers and the set of operation information have a one-to-one correspondence, each of the operation information is used to represent an operation performed on a channel represented by a corresponding channel identifier, the second operation information is used to represent the second operation performed on the second channel, the second operation includes a sliding operation performed on the second channel, or includes the sliding operation and a click operation performed on the second channel, and the sliding operation is used to slide the position of the second channel from the default hidden position to the default display position.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: When the target application is in an inactive state, obtaining page configuration information sent by the first server to the target application, wherein the page configuration information is configuration information sent by the second server to the first server, and the page configuration information is used to indicate page data that is allowed to be displayed or page data that is not allowed to be displayed on a page under a channel in the target navigation bar; When the target application is started and the updated target navigation bar is displayed in the target application, obtaining first page data under the fourth channel in the target navigation bar from the second server; Determining, in the first page data, second page data that is allowed to be displayed according to the page configuration information; Rendering the page under the fourth channel in the target application according to the second page data.

10. The method according to any one of claims 1 to 8, characterized in that The acquiring the first navigation bar update data sent by the first server to the target application includes: In a case where the target application is last started for more than a second preset time period, the first navigation bar update data sent by the first server to the target application is obtained.

11. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Acquiring, on the target application, target authentication information sent by the first server, wherein the target authentication information is authentication information allocated to the target application when the first server successfully authenticates the target application; The target authentication information is sent to the second server on the target application, wherein the target authentication information is used to instruct the second server to send application data of the target application to the first server, and the application data includes the first navigation bar update data.

12. The method according to any one of claims 1 to 8, characterized in that The acquiring the first navigation bar update data sent by the first server to the target application includes: The first navigation bar update data sent by the first server to the target application is obtained, wherein the first server is used to provide a message push service for a target system, the target system is an operating system on a target terminal, and the target application runs on the target terminal.

13. A device for processing navigation bar data, characterized in that: include: an acquisition module, configured to, when a target application is not started, acquire first navigation bar update data sent by a first server to the target application, wherein the first navigation bar update data is update data sent by a second server to the first server, the second server being the server of the target application, and the first navigation bar update data is used to display an updated target navigation bar in the target application; A reading module, configured to read the first navigation bar update data when the target application is started and the target application fails to request the navigation bar update data from the second server, comprising: when the target application is able to return the first navigation bar update data from a preset interface, sending a request message to interface A and interface B to generate the first navigation bar update data, wherein the target application includes a maintenance concurrent queue, the maintenance concurrent queue is responsible for distributing navigation bar data and event-related operations, the maintenance concurrent queue obtains shielding messages through the interface A, obtains navigation data interface messages through the interface B, uses the channel number array issued by the interface A to match the navigation channel data issued by the interface B to generate the first navigation bar update data; when the target application cannot return the first navigation bar update data from the preset interface, reading push data from a memory or storage space to generate the first navigation bar update data, wherein the storage area of the target application includes the memory and the storage space, and storing the first navigation bar update data in the memory or the storage space by comparing the data volume of the first navigation bar update data with a preset data volume threshold; A display module is configured to display the updated target navigation bar in the target application according to the first navigation bar update data.

14. The device according to claim 13, characterized in that The device is also used for: When the target application is started, sending a target request to the second server in the target application, wherein the target request is used to request the second navigation bar of the target application to update data; When the target application cannot obtain the target response sent by the second server in response to the target request within the first preset time period, or when the target application obtains the target response sent by the second server in response to the target request within the first preset time period, and the target response is used to indicate that the request for the second navigation bar update data has failed, it is determined that the target application has failed to request the second server to update the navigation bar data.

15. The device according to claim 13, characterized in that The device is used to obtain the first navigation bar update data sent by the first server to the target application in the following manner: receiving the first navigation bar update data sent by the first server to the target application; When the amount of the first navigation bar update data is less than or equal to the preset data amount threshold, storing the first navigation bar update data in the memory corresponding to the target application; When the data volume of the first navigation bar update data is greater than the preset data volume threshold, the first navigation bar update data is stored in a storage space corresponding to the target application, wherein the storage space is different from the memory.

16. The device according to claim 13, characterized in that The device is also used for: When the target application is started, obtaining channel information of the target application, wherein the channel information includes a set of channel identifiers and a set of display point ratios, the set of channel identifiers and the set of display point ratios having a one-to-one correspondence, the set of channel identifiers being used to represent a set of channels in a navigation bar of the target application, and each display point ratio in the set of display point ratios being used to represent a ratio between the number of impressions and the number of clicks of a channel represented by the channel identifier; The channel information of the target application is sent to the second server, wherein the channel information of the target application is used by the second server to update the navigation bar of the target application.

17. The device according to claim 16, characterized in that The device is configured to obtain channel information of the target application by: obtaining, in the target application, a first operation performed on a first channel in a navigation bar of the target application or a first page under the first channel; and in response to the first operation, obtaining a first channel identifier of the first channel and a first display point ratio of the first channel, wherein the first display point ratio represents a ratio between the number of impressions and the number of clicks on the first channel. The device is used to send the channel information of the target application to the second server in the following manner: in response to the first operation, sending the first channel identifier and the first deployment point ratio to the second server, wherein the group of channel identifiers includes the first channel identifier, and the group of deployment point ratios includes the first deployment point ratio.

18. The device according to claim 16, characterized in that The device is also used for: acquiring, on the second server, the channel information of the target application; reordering the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar; The first navigation bar update data corresponding to the target navigation bar is sent on the second server to the first server.

19. The device according to claim 18, characterized in that The apparatus is configured to reorder the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar in the following manner: The group of channels in the navigation bar of the target application are reordered on the second server in ascending order of the display point ratios to obtain the target navigation bar.

20. The device according to claim 18, wherein The apparatus is configured to reorder the channels in the navigation bar of the target application according to the channel information on the second server to obtain the target navigation bar in the following manner: When the channel information also includes a set of operation information, the second channel is in a default hidden position, and the number of second operations represented by the second operation information is greater than a first preset threshold, the position of the second channel in the navigation bar of the target application is adjusted from the default hidden position to the default display position, wherein the set of channel identifiers and the set of operation information have a one-to-one correspondence, each of the operation information is used to represent an operation performed on a channel represented by a corresponding channel identifier, the second operation information is used to represent the second operation performed on the second channel, the second operation includes a sliding operation performed on the second channel, or includes the sliding operation and a click operation performed on the second channel, and the sliding operation is used to slide the position of the second channel from the default hidden position to the default display position.

21. The device according to any one of claims 13 to 20, characterized in that The device is also used for: When the target application is in an inactive state, obtaining page configuration information sent by the first server to the target application, wherein the page configuration information is configuration information sent by the second server to the first server, and the page configuration information is used to indicate page data that is allowed to be displayed or page data that is not allowed to be displayed on a page under a channel in the target navigation bar; When the target application is started and the updated target navigation bar is displayed in the target application, obtaining first page data under the fourth channel in the target navigation bar from the second server; Determining, in the first page data, second page data that is allowed to be displayed according to the page configuration information; Rendering the page under the fourth channel in the target application according to the second page data.

22. The device according to any one of claims 13 to 20, characterized in that The device is used to obtain the first navigation bar update data sent by the first server to the target application in the following manner: In a case where the target application is last started for more than a second preset time period, the first navigation bar update data sent by the first server to the target application is obtained.

23. The device according to any one of claims 13 to 20, characterized in that The device is also used for: Acquiring, on the target application, target authentication information sent by the first server, wherein the target authentication information is authentication information allocated to the target application when the first server successfully authenticates the target application; The target authentication information is sent to the second server on the target application, wherein the target authentication information is used to instruct the second server to send application data of the target application to the first server, and the application data includes the first navigation bar update data.

24. The device according to any one of claims 13 to 20, characterized in that The device is used to obtain the first navigation bar update data sent by the first server to the target application in the following manner: The first navigation bar update data sent by the first server to the target application is obtained, wherein the first server is used to provide a message push service for a target system, the target system is an operating system on a target terminal, and the target application runs on the target terminal.

25. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein the program can be executed by a terminal device or a computer to execute the method described in any one of claims 1 to 8.

26. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 8 through the computer program.

Citation Information

Patent Citations

  • Method, equipment and system for updating and pushing navigation bar

    CN103246529A

  • Page operation information maintenance method and server

    CN105573998A

  • Resource pushing method, terminal and message pushing system

    CN111401961A