Information pushing method and device, equipment, medium and product

By receiving and processing information push requests on the edge server, and selecting the appropriate edge server to push information according to the preset strategy, the problems of long information push delay and poor user experience in the existing technology are solved, and efficient , low-latency information push.

CN119484627APending Publication Date: 2025-02-18CHINA MOBILE INTERNET CO LTD +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411534542.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing information push solutions have high resource requirements for cloud servers, resulting in a long delay in information push and failure to effectively utilize edge servers, resulting in poor user experience.

Method used

By receiving the information push request on the first edge server to which the first user ends, an appropriate information push policy is determined based on the corresponding relationship between the preset information push type and the policy, and push the to-be-pushed to the second user end according to the policy. information. At the same time, select the edge server with the largest server score for information push to reduce latency.

Benefits of technology

It realizes the selection of appropriate strategies based on the type of information push, improves the efficiency and user experience of information push, and reduces the delay in information push by selecting the edge server with the lowest delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484627A_ABST
    Figure CN119484627A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an information pushing method and device, equipment, a medium and a product, the method is applied to a first edge server side to which a first user side belongs, and the method specifically comprises the following steps: receiving an information pushing request sent by the first user side; determining an information push strategy corresponding to the information push type of the to-be-pushed information based on a preset corresponding relationship between the information push type and the information push strategy; and pushing the to-be-pushed information to the second user side according to the information pushing strategy. According to the embodiment of the invention, the situation that the push tasks of all the user sides are gathered at the cloud server side can be avoided, the information push time delay is reduced, and different information push strategies can be selected for information push according to the actual situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of edge computing technology, and in particular, relates to a method, device, equipment, medium and product for information push. Background Art

[0002] The existing information push solutions are generally based on the service provider, and the data computing and storage services are concentrated on the cloud server. This leads to high requirements for the cloud server. At the same time, it also leads to high information push latency in the existing information push solutions. Summary of the invention

[0003] The embodiments of the present application provide a method, apparatus, device, medium and product for information push, which can not only avoid the situation where all push tasks of all user terminals are concentrated on the cloud service terminal, reducing the information push delay, but also select different information push strategies for information push according to actual conditions.

[0004] In a first aspect, an embodiment of the present application provides a method for information push, which is applied to a first edge server to which a first user terminal belongs, and the method includes:

[0005] Receiving an information push request sent by the first user terminal, the information push request including the information to be pushed and the information push type of the information to be pushed, the information to be pushed being information used to be pushed to the second user terminal;

[0006] Based on the correspondence between the preset information push type and the information push strategy, determine the information push strategy corresponding to the information push type of the information to be pushed;

[0007] Pushing the information to be pushed to the second user terminal according to the information push strategy;

[0008] Among them, the first edge server is an edge server with the largest service score selected from multiple edge servers based on the service score of each edge server among the multiple edge servers connected to the cloud server respectively. The service score of the edge server is inversely proportional to the information push delay of the edge server.

[0009] In an optional implementation of the first aspect, the server score of each edge server is determined based on at least one indicator to be evaluated of the edge server;

[0010] The at least one indicator to be evaluated includes at least one of the distance between the first user terminal and the edge server terminal, load information of the edge server terminal, and user distribution information within the service range of the edge server terminal.

[0011] In an optional implementation of the first aspect, the information push type includes at least one push type, the correspondence between the preset information push type and the information push strategy includes at least one sub-correspondence, and each sub-correspondence includes an information push type and an information push strategy corresponding to the information push type;

[0012] Based on the correspondence between the preset information push type and the information push strategy, determining the information push strategy corresponding to the information push type of the information to be pushed includes:

[0013] Based on at least one sub-correspondence, the information push type of the information to be pushed is matched, and an information push strategy corresponding to the information push type of the information to be pushed is determined.

[0014] In an optional implementation manner of the first aspect, the information push type of the information to be pushed is a first push type, and the first push type indicates that the first user terminal and the second user terminal are the same user terminal;

[0015] Based on the correspondence between the preset information push type and the information push strategy, determining the information push strategy corresponding to the information push type of the information to be pushed includes:

[0016] In the case where the information push type of the information to be pushed is the first push type, based on the correspondence between the preset information push type and the information push strategy, determining that the information push strategy corresponding to the information push type of the information to be pushed is the first push strategy, the first push strategy indicating that the first edge server can directly push the information to be pushed to the second user terminal;

[0017] According to the information push strategy, the information to be pushed is pushed to the second user terminal, including:

[0018] According to the first push strategy, the information to be pushed is directly pushed to the second user terminal.

[0019] In an optional implementation of the first aspect, the information push type of the information to be pushed is a second push type, and the second push type indicates that the first user terminal and the second user terminal are different user terminals, and the first user terminal and the second user terminal have an associated relationship;

[0020] The information push request also includes a user identifier of the second user terminal, and the first edge server to which the first user terminal belongs stores user identifiers of multiple third user terminals;

[0021] Before determining the information push strategy corresponding to the information push type of the information to be pushed based on the preset correspondence between the information push type and the information push strategy, the method further includes:

[0022] Determining target information based on the user identifiers of the plurality of third user terminals and the user identifier of the second user terminal;

[0023] When the target information indicates that the first edge server and the second edge server are the same edge server, determining that the information push type of the information to be pushed is the first subtype;

[0024] When the target information indicates that the first edge server and the second edge server are different edge servers, determining that the information push type of the information to be pushed is the second subtype;

[0025] The second edge server is an edge server to which the second user terminal belongs, and the second push type includes the first subtype or the second subtype.

[0026] In an optional implementation of the first aspect, determining the information push type corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push strategy includes:

[0027] In the case where the information push type of the information to be pushed is the first subtype, based on the correspondence between the preset information push type and the information push strategy, determining that the information push strategy corresponding to the information push type of the information to be pushed is the first push strategy, the first push strategy indicating that the first edge server can directly push the information to be pushed to the second user terminal;

[0028] According to the information push strategy, the information to be pushed is pushed to the second user terminal, including:

[0029] According to the first push strategy, the information to be pushed is directly pushed to the second user terminal.

[0030] In an optional implementation of the first aspect, determining the information push strategy corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push strategy includes:

[0031] In the case where the information push type of the information to be pushed is the second subtype, based on the correspondence between the preset information push type and the information push strategy, it is determined that the information push strategy corresponding to the information push type of the information to be pushed is the second push strategy, and the second push strategy indicates that the first edge server needs to push the information to be pushed to the second user terminal through the intermediate terminal, and the intermediate terminal includes the cloud server and the second edge server to which the second user terminal belongs;

[0032] According to the information push strategy, the information to be pushed is pushed to the second user terminal, including:

[0033] According to the second push strategy, the information to be pushed and the user identification of the second user terminal are sent to the cloud server. The cloud server stores a preset relationship between the user terminal and the edge server, so that the cloud server can determine the second edge server to which the second user terminal belongs based on the preset relationship between the user terminal and the edge server and the user identification of the second user terminal, and push the information to be pushed to the second user terminal via the second edge server.

[0034] In an optional implementation manner of the first aspect, the information push type of the information to be pushed is a third push type, and the third push type indicates that the first user terminal and the second user terminal are different user terminals;

[0035] Based on the correspondence between the preset information push type and the information push strategy, determining the information push strategy corresponding to the information push type of the information to be pushed includes:

[0036] In the case where the information push type of the information to be pushed is the third push type, based on the correspondence between the preset information push type and the information push strategy, it is determined that the information push strategy corresponding to the information push type of the information to be pushed is the third push strategy, and the third push strategy indicates that the first edge server needs to determine the second user terminal to be pushed through the intermediate terminal, and push the information to be pushed to the second user terminal to be pushed through the intermediate terminal, and the intermediate terminal includes the cloud server and the second edge server to which the second user terminal belongs;

[0037] According to the information push strategy, the information to be pushed is pushed to the second user terminal, including:

[0038] According to the third push strategy, the information to be pushed is sent to the cloud server so that the cloud server can determine the content information of the information to be pushed, and based on the content information of the information to be pushed, determine the second user terminal to be pushed from multiple fourth user terminals, and based on the preset relationship between the user terminal and the edge server, determine the second edge server to which the second user terminal to be pushed belongs, and push the information to be pushed to the second user terminal to which the second user terminal to be pushed belongs via the second edge server to which the second user terminal to be pushed belongs. The multiple fourth user terminals are user terminals within the service range of the cloud server, and the cloud server stores the preset relationship between the user terminals and the edge server.

[0039] In an optional implementation of the first aspect, the content information of the information to be pushed includes the information content type and / or the information content popularity, and the cloud service end further stores user preference content types corresponding to a plurality of fourth user ends respectively;

[0040] In the case where the content information includes the information content type, the user preference content type corresponding to the second user terminal to be pushed includes the information content type;

[0041] In the case where the content information includes information content popularity, and in the case where the content popularity meets a preset condition, the second user terminals to be pushed include multiple fourth user terminals.

[0042] In a second aspect, a method for information push is provided, which is applied to a cloud server, and the cloud server is connected to multiple edge servers respectively, and the method includes:

[0043] Receiving a registration and login request sent by a first user terminal;

[0044] Based on the registration and login request, a server score of each edge server among multiple edge servers is obtained, and the server score of the edge server is inversely proportional to the information push delay of the edge server;

[0045] Based on the service score of each edge server among the multiple edge servers, an edge server with the largest server score among the multiple edge servers is determined as the first edge server to which the first user terminal belongs, so that when the first edge server receives an information push request sent by the first user terminal, the information push request includes the information to be pushed and the information push type of the information to be pushed, and the information to be pushed is pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed.

[0046] In a third aspect, an embodiment of the present application provides an information push device, which is applied to a first edge server to which a first user terminal belongs, and the device includes:

[0047] A receiving module, configured to receive an information push request sent by a first user terminal, wherein the information push request includes information to be pushed and an information push type of the information to be pushed, and the information to be pushed is information for being pushed to a second user terminal;

[0048] A determination module, used to determine the information push strategy corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push strategy;

[0049] A push module, used to push the information to be pushed to the second user terminal according to the information push strategy;

[0050] Among them, the first edge server is an edge server with the largest service score selected from multiple edge servers based on the service score of each edge server among the multiple edge servers connected to the cloud server respectively. The service score of the edge server is inversely proportional to the information push delay of the edge server.

[0051] In a fourth aspect, a device for information push is provided, which is applied to a cloud server, and the cloud server is connected to a plurality of edge servers respectively, and the device comprises:

[0052] A receiving module, used to receive a registration and login request sent by a first user terminal;

[0053] An acquisition module, used for acquiring a server score of each edge server among multiple edge servers based on a registration and login request, wherein the server score of the edge server is inversely proportional to the information push delay of the edge server;

[0054] A determination module is used to determine, based on the service score of each edge server among the multiple edge servers, an edge server with the largest server score among the multiple edge servers, as the first edge server to which the first user terminal belongs, so that when the first edge server receives an information push request sent by the first user terminal, the information push request includes the information to be pushed and the information push type of the information to be pushed, and pushes the information to be pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed.

[0055] In a fifth aspect, an electronic device is provided, comprising: a memory for storing computer program instructions; and a processor for reading and running the computer program instructions stored in the memory to execute the information push method provided by any optional implementation method in the first aspect.

[0056] In a sixth aspect, a computer storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the method for information push provided by any optional implementation method in the first aspect is implemented.

[0057] In a seventh aspect, a computer program product is provided, the computer program product comprising a computer program, and when the computer program is executed by a processor, the method for information push provided by any optional implementation manner in the first aspect is implemented.

[0058] In an embodiment of the present application, the first edge server to which the first user terminal belongs can receive an information push request sent by the first user terminal, and the information push request can include the information to be pushed and the information push type of the information to be pushed, and can determine the information push strategy corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push strategy, and then push the information to be pushed to the second user terminal according to the information push strategy. In this way, different information push strategies can be determined according to the different information push types of the information to be pushed, thereby improving user satisfaction. In addition, the first edge server to which the first user terminal belongs is responsible for pushing the information to be pushed generated by the first user terminal, and the first edge server is the edge server with the largest service score selected from multiple edge servers connected to the cloud server. Since the service score of the edge server is inversely proportional to the information push delay of the edge server, that is, the first edge server is the edge server with the smallest information push delay selected from multiple edge servers, in this way, it can not only avoid the situation in the prior art that the push tasks of all user terminals are concentrated on the cloud server, but also reduce the information push delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0060] Figure 1 This is an architecture diagram of a cloud server, an edge server, and a user terminal provided in an embodiment of the present application;

[0061] Figure 2 This is one of the flow charts of a method for information push provided in an embodiment of the present application;

[0062] Figure 3 This is a second flow chart of a method for information push provided in an embodiment of the present application;

[0063] Figure 4 This is a flowchart of a method for information push provided in an embodiment of the present application;

[0064] Figure 5 This is a fourth flow chart of a method for information push provided in an embodiment of the present application;

[0065] Figure 6 This is a flowchart of a method for information push provided in an embodiment of the present application;

[0066] Figure 7This is a sixth flow chart of a method for information push provided in an embodiment of the present application;

[0067] Figure 8 It is a structural diagram of an information push device provided in an embodiment of the present application;

[0068] Fig. 9 It is a structural schematic diagram of another information push device provided in an embodiment of the present application;

[0069] Fig.10 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0071] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0072] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0073] In the existing information push scheme, the generation and push of information are generally concentrated on the cloud server, resulting in high requirements for the resource pool of the cloud server. In addition, since the existing information push scheme does not consider the physical distance between the user and the cloud server resource pool, when the information is pushed from the cloud server to the user, there is a problem of too long data transmission distance, and at the same time, the transmission bandwidth requirement is high, which will affect the information push delay. In addition, there is another information push scheme that is based on the push data history combined with the service load, through the combination of read diffusion and write diffusion, push and pull data are nested, and the fuse mechanism is added to optimize and adjust the information push algorithm to ensure that the service load does not exceed the threshold and the response time is within a reasonable range. However, in reality, the user experience is sacrificed and when the user is far away from the service, the problem of long response time still exists. When a large number of users adopt the read diffusion logic, it is easy to trigger the fuse mechanism, resulting in users only seeing the data preheated by the content delivery network (CDN), and unable to achieve thousands of faces.

[0074] In order to solve the above problems existing in the prior art, the embodiment of the present application provides a method, device, equipment, medium and product for information push, wherein the first edge server to which the first user terminal belongs can receive an information push request sent by the first user terminal, and the information push request can include the information to be pushed and the information push type of the information to be pushed, and can determine the information push strategy corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push strategy, and then push the information to be pushed to the second user terminal according to the information push strategy. In this way, different information push strategies can be determined according to the different information push types of the information to be pushed, thereby improving user satisfaction. In addition, the first edge server to which the first user terminal belongs is responsible for pushing the information to be pushed generated by the first user terminal, and the first edge server is the edge server with the largest service score selected from multiple edge servers connected to the cloud server. Since the service score of the edge server is inversely proportional to the information push delay of the edge server, that is, the first edge server is the edge server with the smallest information push delay selected from multiple edge servers, in this way, it can not only avoid the situation in the prior art that the push tasks of all user terminals are concentrated on the cloud server, but also reduce the information push delay.

[0075] Since the information push method provided in the embodiment of the present application involves the interaction between the cloud server, the edge server, and the user end, in order to facilitate the subsequent understanding of the information push method provided in the embodiment of the present application, before introducing the information push method provided in the embodiment of the present application, the architecture between the cloud server, the edge server, and the user end involved in the embodiment of the present application is first introduced in detail in conjunction with the accompanying drawings.

[0076] Figure 1 This is an architecture diagram of a cloud server, an edge server, and a user terminal provided in an embodiment of the present application.

[0077] like Figure 1 As shown, the architecture diagram includes a cloud service end 10, multiple edge service ends 20, and multiple user ends 30. Specifically, the cloud service end 10 is connected to multiple edge service ends 20, and each edge service end 20 is connected to multiple user ends 30.

[0078] based on Figure 1 The architecture between the cloud server, edge server and user end shown in the figure is based on the information push method provided in the embodiment of the present application. In the case of a new user, the cloud server can determine the optimal edge server for processing the information push task of the new user from the multiple edge servers it manages. In this way, when the new user has a demand for information push, the corresponding user end can be used to send an information push request to the corresponding optimal edge server, so that the optimal edge server can provide different information push strategies for information push based on the actual needs of the user reflected by the information push request.

[0079] based on Figure 1 The architecture between the cloud server, edge server and user end shown in the figure is as follows: Figures 2 to 8 The information push method provided in the embodiment of the present application is described in detail.

[0080] Figure 2 It is a flowchart of a method for information push provided in an embodiment of the present application.

[0081] like Figure 2 As shown, the execution subject of the method can be the first edge server to which the first user terminal belongs. It should be noted here that the first edge server can be an edge server based on each edge server in the multiple edge servers respectively connected to the cloud server, and the edge server with the largest service score selected from the multiple edge servers. Among them, the service score of the edge server is inversely proportional to the information push delay of the edge server, that is, the larger the service score of the edge server, the smaller the information push delay of the corresponding edge server, and the smaller the service score of the edge server, the larger the information push delay of the corresponding edge server.

[0082] Based on this, the information push method provided in the embodiment of the present application may specifically include the following steps:

[0083] S210: Receive an information push request sent by a first user terminal.

[0084] In some embodiments, the information push request may include the information to be pushed and the information push type of the information to be pushed. The information to be pushed may be relevant information for pushing to the second user terminal.

[0085] It should be noted that the second user terminal may be a user terminal known to the first user terminal, or may be a user terminal unknown to the first user terminal. In addition, the embodiment of the present application does not specifically limit the number of second user terminals.

[0086] S220: Determine an information push policy corresponding to the information push type of the information to be pushed based on a preset correspondence between the information push type and the information push policy.

[0087] The correspondence between the preset information push type and the information push strategy may be preset based on actual experience or circumstances, and is not specifically limited here.

[0088] Specifically, after the first edge server receives the information push request sent by the first user terminal, since the information push request includes the information push type of the information to be pushed, the first edge server can determine the information push policy corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push policy, that is, the information push policy corresponding to the information to be pushed included in the information push request.

[0089] S230: Push the information to be pushed to the second user terminal according to the information push strategy.

[0090] Specifically, after determining the information push policy corresponding to the information to be pushed, the first edge server can push the information to be pushed to the second user terminal according to the information push policy corresponding to the information to be pushed.

[0091] In an embodiment of the present application, the first edge server to which the first user terminal belongs can receive an information push request sent by the first user terminal, and the information push request can include the information to be pushed and the information push type of the information to be pushed, and can determine the information push strategy corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push strategy, and then push the information to be pushed to the second user terminal according to the information push strategy. In this way, different information push strategies can be determined according to the different information push types of the information to be pushed, thereby improving user satisfaction. In addition, the first edge server to which the first user terminal belongs is responsible for pushing the information to be pushed generated by the first user terminal, and the first edge server is the edge server with the largest service score selected from multiple edge servers connected to the cloud server. Since the service score of the edge server is inversely proportional to the information push delay of the edge server, that is, the first edge server is the edge server with the smallest information push delay selected from multiple edge servers, in this way, it can not only avoid the situation in the prior art that the push tasks of all user terminals are concentrated on the cloud server, but also reduce the information push delay.

[0092] Based on this, it should be noted that, in some embodiments, the server score of each edge server may be determined based on at least one indicator to be evaluated of the edge server.

[0093] The at least one indicator to be evaluated may include at least one of the distance between the first user terminal and the edge server terminal, the load information of the edge server terminal, and the user distribution information within the service range of the edge server terminal. The service range of the edge server terminal may be determined according to actual conditions and is not specifically limited here.

[0094] In this embodiment, since the server score of each edge server is determined based on at least one indicator to be evaluated of the edge server, and the at least one indicator to be evaluated includes at least one of the distance between the first user terminal and the edge server, the load information of the edge server, and the user distribution information within the service range of the edge server, in this way, the optimal edge server can be dynamically selected from multiple edge servers to process the information push task of the user terminal according to the user's geographical location, the edge server load situation, and the user distribution situation.

[0095] In order to accurately obtain the information push strategy, so that accurate and personalized information push can be performed later. In one embodiment, the information push type may include at least one push type, and accordingly, the correspondence between the above-mentioned preset information push type and the information push strategy may include at least one sub-correspondence, and each sub-correspondence includes an information push type and an information push strategy corresponding to the information push type.

[0096] Based on this, the above-mentioned S220 may specifically include the following steps:

[0097] Based on at least one sub-correspondence, the information push type of the information to be pushed is matched, and an information push strategy corresponding to the information push type of the information to be pushed is determined.

[0098] Specifically, the information push type may include at least one push type, and accordingly, the correspondence between the above-mentioned preset information push type and the information push strategy may include at least one sub-correspondence, and each sub-correspondence includes an information push type and the information push strategy corresponding to the information push type. In this way, the first edge server can match the information push type of the information to be pushed based on at least one sub-correspondence included in the correspondence between the preset information push type and the information push strategy to determine the information push strategy corresponding to the information push type of the information to be pushed.

[0099] In this embodiment, the information push type of the information to be pushed can be matched based on the sub-correspondence between at least one information push type and the information push strategy, so as to accurately determine the information push strategy of the information to be pushed, so that accurate and personalized information push can be performed subsequently, thereby improving user satisfaction.

[0100] Since in the information push method provided in the embodiment of the present application, the corresponding information push strategies will also be different for different information push types, therefore, in order to accurately and in detail describe the information push method provided in the embodiment of the present application.

[0101] In one embodiment, if the information push type of the information to be pushed is the first push type, the first push type indicates that the first user terminal and the second user terminal are the same user terminal. It can be understood here that when the first user terminal sends an information push request to the first edge service terminal, the information to be pushed is set to the "only visible to oneself" mode, that is, the user himself views the relevant information generated by his own user terminal, so that the second user terminal to which the information is pushed is also the first user terminal.

[0102] Based on this, Figure 3 As shown, the above S220 may specifically include the following steps:

[0103] S2201: When the information push type of the information to be pushed is the first push type, based on a preset correspondence between the information push type and the information push policy, determine that the information push policy corresponding to the information push type of the information to be pushed is the first push policy.

[0104] The first push strategy may indicate that the first edge server can directly push the information to be pushed to the second user terminal.

[0105] Specifically, if the information push type of the information to be pushed is the first push type, it indicates that the first user terminal and the second user terminal are the same user terminal. At this time, the push of the information to be pushed should be processed by the same edge server (i.e., the first edge server). In this way, the first push type can be matched based on the correspondence between the preset information push type and the information push policy to determine that the information push policy of the push information is the first push policy, that is, the first edge server can directly push the information to be pushed to the second user terminal when the information push type of the information to be pushed is the first push type.

[0106] Thus, the above S230 may specifically include the following steps:

[0107] S2301: Push the information to be pushed directly to the second user terminal according to the first push strategy.

[0108] Since the first push strategy indicates that the first edge server can directly push the information to be pushed to the second user terminal, the first edge server can directly push the information to be pushed to the second user terminal according to the first push strategy when determining that the information push strategy of the information to be pushed is the first push strategy.

[0109] In this embodiment, when the information push type of the information to be pushed is the first push type, based on the correspondence between the preset information push type and the information push strategy, it is determined that the information push strategy of the information to be pushed is the first push strategy, and according to the first push strategy, the information to be pushed is directly pushed to the second user terminal. In this way, accurate and personalized information push can be achieved based on the actual needs of the user.

[0110] In another embodiment, if the information push type of the above-mentioned information to be pushed is the second push type, it means that the first user terminal and the second user terminal are different user terminals, and the first user terminal and the second user terminal have an associated relationship. It can be understood here that when the first user terminal sends an information push request to the first edge server, the information to be pushed is set to the "only visible to friends" mode, that is, the user corresponding to the first user terminal can unidirectionally follow the user of the second user terminal in the application, or the user corresponding to the first user terminal and the user corresponding to the second user terminal can be users who follow each other in the application, or the user corresponding to the first user terminal and the user corresponding to the second user terminal are in the same group. For example, the information to be pushed can be the information flow of celebrities, newspapers, magazines and other institutions that the user follows, the information flow posted by other users in the same city life group joined, and so on.

[0111] Furthermore, when the information push type of the information to be pushed is the second push type, the information push request may further include a user identifier of the second user terminal.

[0112] In addition, the first edge server to which the first user terminal belongs may store user identifiers of multiple third user terminals. The multiple third user terminals are all connected to the first edge server, which can also be understood as the information push tasks of the multiple third user terminals are all carried by the first edge server, and the multiple third user terminals may include the first user terminal.

[0113] Based on this, Figure 4 As shown, before the above S220, the information push method provided in the embodiment of the present application may also include the following steps:

[0114] S410, determining target information based on user identifiers of multiple third user terminals and the user identifier of the second user terminal.

[0115] S420: When the target information indicates that the first edge server and the second edge server are the same edge server, determine that the information push type of the information to be pushed is a first subtype.

[0116] S430: When the target information indicates that the first edge server and the second edge server are different edge servers, determine that the information push type of the information to be pushed is a second subtype.

[0117] In some embodiments, the target information is used to indicate whether the first edge server and the second edge server are the same edge server. The second edge server involved is the edge server to which the second user terminal belongs.

[0118] In addition, the second push type may include the first subtype or the second subtype.

[0119] In the case where the information push type of the information to be pushed is the second push type, the information push request sent by the first user terminal may also include the user identifier of the second user terminal. In addition, the first edge server to which the first user terminal belongs also stores the user identifiers of multiple third user terminals. In this way, the first edge server can determine whether the first edge server and the second edge server are the same edge server by judging whether the user identifiers of the multiple third user terminals include the user identifier of the second user terminal, and then obtain the target information.

[0120] Specifically, if the user identifiers of the plurality of third users include the user identifier of the second user, the obtained target information may indicate that the first edge server and the second edge server are the same edge server, and the information push type of the information to be pushed may be determined to be the first subtype.

[0121] If the user identifiers of the plurality of third user terminals do not include the user identifier of the second user terminal, the obtained target information can indicate that the first edge server terminal and the second edge server terminal are different edge servers, and the information push type of the information to be pushed can be determined to be the second subtype.

[0122] In this embodiment, when the information push type of the information to be pushed is the second push type, it is possible to determine whether the first edge server and the second edge server are the same edge server by judging whether the user identifiers of all users stored in the first user terminal include the user identifier in the information push request, so as to further accurately determine the information push type, and then more accurately determine the appropriate information push strategy, thereby achieving accurate and personalized information push and improving user satisfaction.

[0123] Based on this, in one embodiment, when the information push type of the information to be pushed is the first subtype, such as Figure 5 As shown, the above-mentioned 220 may specifically include:

[0124] S2202: When the information push type of the information to be pushed is the first subtype, based on a preset correspondence between the information push type and the information push policy, determine that the information push policy corresponding to the information push type of the information to be pushed is the first push policy.

[0125] The first push strategy indicates that the first edge server can directly push the information to be pushed to the second user terminal.

[0126] Specifically, when the information push type of the information to be pushed is the first subtype, that is, when the first edge server to which the first user terminal belongs and the second edge server to which the second user terminal belongs are the same edge server, the first edge server can determine, based on the correspondence between the preset information push type and the information push strategy, that the information push strategy corresponding to the information push type of the information to be pushed is the first push strategy, which indicates that the push of the information to be pushed only needs to be processed by the first edge server or the second edge server.

[0127] Based on this, the above S230 may specifically include the following steps:

[0128] S2302: Push the information to be pushed directly to the second user terminal according to the first push strategy.

[0129] Specifically, when the first edge server determines that the information push strategy for the information to be pushed is the first push strategy, since the first push strategy indicates that the first edge server can directly push the information to be pushed to the second user terminal, the first edge server can directly push the information to be pushed to the second user terminal according to the first push strategy.

[0130] More specifically, each edge server stores the user identifier and user address of each user terminal within the service range of the edge server. In this way, the first edge server can query the user address of the second user terminal based on the user identifier of the second user terminal, and then can push the above-mentioned information to be pushed to the second user terminal based on the user address of the second user terminal.

[0131] In this embodiment, when the information push type of the information to be pushed is the second push type, and the first edge server to which the first user terminal belongs and the second edge server to which the second user terminal belongs are the same edge server, the information push strategy can be determined to be the first push strategy, and the above-mentioned information to be pushed can be directly pushed to the second user terminal. In this way, it is convenient to accurately and personalizedally implement information push in the subsequent process, thereby improving user satisfaction.

[0132] In another embodiment, when the information push policy of the information to be pushed is the second subtype, continue as follows Figure 5 As shown, the above S220 may specifically include the following steps:

[0133] S2203: When the information push type of the information to be pushed is the second subtype, based on a preset correspondence between the information push type and the information push policy, determine that the information push policy corresponding to the information push type of the information to be pushed is the second push policy.

[0134] In some embodiments, the second push strategy indicates that the first edge server needs to push the information to be pushed to the second user terminal through an intermediate terminal, wherein the intermediate terminal may include a cloud server and a second edge server to which the second user terminal belongs.

[0135] Specifically, when the information push type of the information to be pushed is the second subtype, that is, when the first edge server to which the first user terminal belongs and the second edge server to which the second user terminal belongs are different edge servers, the first edge server can determine, based on the correspondence between the preset information push type and the information push strategy, that the information push strategy corresponding to the information push type of the information to be pushed is the second push strategy, that is, the push of the information to be pushed needs to be processed in sequence by the first edge server, the cloud server and the second edge server.

[0136] Based on this, continue as Figure 5 As shown, the above S230 may specifically include the following steps:

[0137] S2303, according to the second push strategy, sends the information to be pushed and the user identifier of the second user terminal to the cloud server, so that the cloud server can determine the second edge server to which the second user terminal belongs based on the preset relationship between the user terminal and the edge server and the user identifier of the second user terminal, and push the information to be pushed to the second user terminal via the second edge server.

[0138] In some embodiments, the cloud server stores a preset relationship between a user terminal and an edge server. The preset relationship between the user terminal and the edge server is used to characterize which user terminal belongs to which edge server, or which user terminal establishes a connection with which edge server. The edge server will carry the information push task or other tasks of the user terminal. It should be noted that the preset relationship between the user terminal and the edge server may depend on the actual situation.

[0139] Specifically, when the first edge server determines that the information push strategy for the information to be pushed is the second push strategy, since the second push strategy indicates that the first edge server can push the above-mentioned information to be pushed to the second user terminal through the intermediate terminal, the intermediate terminal may include a cloud server and a second edge server to which the second user terminal belongs. Based on this, the first edge server can send the information to be pushed and the user identifier of the second user terminal to the cloud server in accordance with the second push strategy, so that the cloud server can determine the second edge server to which the second user terminal belongs based on the preset relationship between the user terminal and the edge server and the user identifier of the second user terminal, and push the information to be pushed to the second user terminal via the second edge server.

[0140] In this embodiment, when the information push type of the information to be pushed is the second push type, and the first edge server to which the first user terminal belongs and the second edge server to which the second user terminal belongs are different edge servers, the information push strategy of the information to be pushed can be determined to be the second push strategy, that is, the first edge server can push the information to be pushed to the second user terminal through the intermediate terminal. In this way, it is convenient to realize information push more effectively in the future, and then realize accurate and personalized information push, thereby improving user satisfaction.

[0141] In addition, in one embodiment, if the information type of the information to be pushed is the third push type, it means that the first user terminal and the second user terminal are different user terminals. It should be noted that the first user terminal and the second user terminal may have an association relationship or may not have an association relationship, and no specific limitation is made here. Based on this, it can be understood here that when the first user terminal sends an information push request to the first edge server, it sets the information to be pushed to the "publicly visible" mode. In this way, the second user terminal to which the information is pushed is a different user terminal from the first user terminal. And the user corresponding to the second user terminal to which the information is pushed and the user corresponding to the first user terminal may be users who follow each other in the application, or users who do not follow each other in the application.

[0142] So, like Figure 6 As shown, the above S220 may specifically include the following steps:

[0143] S2204: When the information push type of the information to be pushed is the third push type, based on a preset correspondence between the information push type and the information push policy, determine that the information push policy corresponding to the information push type of the information to be pushed is the third push policy.

[0144] In some embodiments, the third push strategy indicates that the first edge server needs to determine the second user terminal to be pushed through the intermediate terminal, and push the information to be pushed to the second user terminal through the intermediate terminal. The intermediate terminal may include the cloud server and the second edge server to which the second user terminal belongs.

[0145] Specifically, if the information push type of the information to be pushed is the third push type, it indicates that the first user terminal and the second user terminal are different user terminals. In this way, the first edge server can determine that the information push strategy of the information to be pushed is the third push strategy when the information push type of the information to be pushed is the third push type. That is, the first edge server needs to determine the second user terminal to be pushed through the intermediate terminal, and push the information to be pushed to the second user terminal to be pushed through the intermediate terminal.

[0146] Based on this, the above S230 may specifically include the following steps:

[0147] S2304, according to the third push strategy, sends the information to be pushed to the cloud server, so that the cloud server determines the content information of the information to be pushed, and based on the content information of the information to be pushed, determines the second user terminal to be pushed from multiple fourth user terminals, and based on the preset relationship between the user terminal and the edge server, determines the second edge server to which the second user terminal to be pushed belongs, and pushes the information to be pushed to the second user terminal to which the second user terminal to be pushed belongs via the second edge server to which the second user terminal to be pushed belongs.

[0148] Among them, the multiple fourth user terminals may be user terminals within the service range of the cloud service terminal.

[0149] In addition, the cloud server stores a preset relationship between the user terminal and the edge server. The preset relationship between the user terminal and the edge server can be preset based on actual experience or circumstances, and is not specifically limited here.

[0150] Specifically, when it is determined that the information push strategy for the information to be pushed is the third push strategy, the first edge server can send the information to be pushed to the cloud server in accordance with the third push strategy, so that the cloud server can determine the content information of the information to be pushed, and based on the content information of the information to be pushed, determine the second user terminal to be pushed from multiple fourth user terminals, and because the cloud server stores a preset relationship between the user terminal and the edge server, the cloud server can determine the second edge server to which the second user terminal to be pushed belongs based on the preset relationship between the user terminal and the edge server, and push the information to be pushed to the second user terminal to which the second user terminal to be pushed belongs via the second edge server to which the second user terminal to be pushed belongs.

[0151] In this embodiment, when the information push type of the information to be pushed is the third push type, the information push strategy can be determined as the third push strategy, that is, the second user terminal to be pushed is determined through the intermediate end, and the information to be pushed is pushed to the second user terminal to be pushed through the intermediate end. In this way, it is convenient to implement information push more effectively in the subsequent process.

[0152] Since the cloud service end needs to determine the second user end to be pushed from multiple fourth user ends based on the content information of the information to be pushed, in order to be able to more accurately and in detail describe the method of information push provided by the embodiment of the present application, in one embodiment, the content information of the information to be pushed may include the information content type and / or the information content popularity. Among them, the information content type may include literature, history, etc., which are not specifically limited here. The above-mentioned information content popularity can be used to characterize the popularity of the information content.

[0153] In addition, the cloud service end also stores user preferred content types corresponding to a plurality of fourth user ends respectively, and the user preferred content type refers to the content type that the user corresponding to the fourth user end likes.

[0154] Based on this, in the case where the content information includes the information content type, the user preferred content type corresponding to the second user terminal to be pushed includes the information content type. That is, when the content information of the information to be pushed includes the information content type, the cloud service end will select the fourth user terminal whose user preferred content type includes the above content type from the multiple fourth user terminals based on the user preferred content types corresponding to the multiple fourth user terminals stored in the cloud service end as the second user terminal to be pushed.

[0155] and / or,

[0156] In the case where the content information includes information content popularity, and in the case where the content popularity is greater than a preset condition, the second user terminals to be pushed include multiple fourth user terminals.

[0157] Among them, the preset conditions involved above can be pre-set conditions based on actual experience or circumstances. For example, the preset conditions can include that the content heat is greater than the preset heat threshold, or that all the information to be pushed received by the cloud server within the current time is sorted from large to small according to the content heat to obtain a sorted information queue. In this way, the preset condition can be the first N positions of the information to be pushed in the sorted information queue. Among them, the preset heat threshold can be pre-set based on actual experience or circumstances, and the value of N also depends on the actual situation, and is not specifically limited here.

[0158] In this way, that is, when the content information includes the popularity of the information content, and when the popularity of the information content meets the preset conditions, the cloud server can push the above-mentioned information to be pushed to all second user terminals via the second edge server terminals to which all second user terminals belong.

[0159] In this embodiment, a more accurate and appropriate second user terminal to be pushed can be selected from multiple edge servers connected to the cloud server according to the content information of the information to be pushed, so as to better realize information push and improve user satisfaction with the pushed content.

[0160] In addition, in order to more accurately and in detail describe the information push method provided in the embodiment of the present application, in one embodiment, the information push method may further include the following steps:

[0161] Periodically obtain the information to be processed by the first edge server;

[0162] When the evaluation value exceeds the preset range, an alarm message is generated, and the alarm message is used to notify the alarm processing system to redeploy multiple edge servers. The evaluation value is determined based on the information to be processed.

[0163] In some embodiments, the information to be processed may include at least one of the number of user terminals within the service range of the first edge server, the concurrent information volume of the first edge server, and the total amount of information pushed by the first edge server within a period.

[0164] In this way, the above evaluation value can be determined based on the information to be processed. For example, if the information to be processed includes only one of the above indicators, the evaluation value can be the value of the indicator itself. If the information to be processed includes at least two of the above indicators, the evaluation value can be obtained by weighted summing the at least two indicators, which is not specifically limited here. In addition, the above preset range can be a range pre-set based on actual experience or circumstances, which is not limited here.

[0165] In addition, the alarm information is used to notify the alarm processing system to redeploy multiple edge servers.

[0166] Specifically, the first edge server may periodically obtain the information to be processed of the first edge server, and determine an evaluation value based on the information to be processed. If the evaluation value exceeds a preset range, an alarm message is generated to notify the alarm processing system to redeploy multiple edge servers.

[0167] More specifically, the above-mentioned preset range may include an upper limit value and a lower limit value. If the evaluation value is less than the lower limit value, it means that the workload of the first edge server is relatively small, and the number of edge servers can be considered to be reduced. Then a first alarm message is generated. The first alarm message is used to notify the alarm processing system to reduce the number of edge servers, and redeploy the user terminals that each edge server is responsible for based on the deleted edge servers.

[0168] If the evaluation value is greater than the upper limit value, it means that the workload of the first edge server is relatively large, and the number of edge servers can be increased. Then, a second alarm message is generated, and the second alarm message is used to notify the alarm processing system to increase the number of edge servers, and redeploy the user terminals that each edge server is responsible for based on the increased edge servers.

[0169] In this way, when the edge server triggers a threshold alarm, the edge service container is increased or decreased in time, or even a new set of edge servers is added, and the incremental users are routed to the new edge server. It should be noted that the newly launched edge service only processes new users to ensure that existing users are not affected. When the edge service goes offline, the optimal edge service address is recalculated one by one according to the user dimension and switched to ensure a smooth and orderly switching process.

[0170] In this embodiment, by periodically acquiring the information to be processed at the edge server, it is possible to determine whether the edge server is suffering from information flow aggregation and imbalanced distribution due to network or geographical reasons, and then dynamically learn and adjust the respective processing strategies to improve the efficiency and performance of the overall system.

[0171] Figure 7 It is a flowchart of a method for information push provided in an embodiment of the present application.

[0172] Figure 7 As shown, the execution subject of the information push method may be a cloud server, and the cloud server is connected to multiple edge servers respectively. Thus, the method may include the following steps:

[0173] S710, receiving a registration and login request sent by a first user terminal.

[0174] S720: Based on the registration and login request, obtain a server score of each edge server among the multiple edge servers.

[0175] Among them, the server score of the edge server is inversely proportional to the information push latency of the edge server. That is, if the server score of the edge server is higher, the information push latency of the edge server is lower, and vice versa, if the server score of the edge server is lower, the information push latency of the edge server is higher.

[0176] S730, based on the server score of each edge server among the multiple edge servers, determine the edge server with the largest server score among the multiple edge servers as the first edge server to which the first user terminal belongs, so that when the first edge server receives the information push request sent by the first user terminal, it pushes the information to be pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed.

[0177] The above-mentioned information push request may include the information to be pushed and the information push type corresponding to the information to be pushed.

[0178] Specifically, when the first user terminal registers and logs in a certain application or system, the first user terminal can send a registration and login request to the cloud server terminal. In this way, the cloud server terminal can receive the registration and login request sent by the first user terminal. Based on this, the cloud server terminal can obtain the service score of each edge server terminal among multiple edge servers based on the registration and login request. Since the service score of the edge server terminal is inversely proportional to the information push delay of the edge server terminal, the cloud server terminal determines the edge server terminal with the largest service score among the multiple edge servers based on the service score of each edge server terminal among the multiple edge servers, that is, selects the edge server terminal with the lowest information push delay from the multiple edge servers. In this way, when the first edge server terminal receives the information push request sent by the first user terminal, it can push the information to be pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed.

[0179] In an embodiment of the present application, it is possible to receive a registration and login request sent by a first user terminal, and based on the registration and login request, obtain a service score for each edge server among multiple edge servers, and then determine the edge server with the largest service score among the multiple edge servers as the first edge server to which the first user terminal belongs. Since the service score of the edge server is inversely proportional to the information push delay of the edge server, the edge server with the lowest information push delay is selected from the multiple edge servers as the first edge server, so that the first edge server can subsequently receive an information push request sent by the first user terminal, and the information push request includes the information to be pushed and the information push type of the information to be pushed, and then push the information to be pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed. In this way, not only can the information push tasks of all user terminals be avoided from being concentrated on the cloud server, but the information push delay can also be reduced.

[0180] In order to fully and in detail describe the information push method provided by the embodiment of the present application, in one embodiment, the information push method provided by the embodiment of the present application may also include the following steps:

[0181] When the information push type of the information to be pushed is the second subtype, receiving a first push request sent by the first edge server;

[0182] According to the second push type, based on the preset relationship between the user terminal and the edge server and the user identifier of the second user terminal, determine the second edge server to which the second user terminal belongs;

[0183] The first push request is forwarded to the second edge server, so that the second edge server pushes the information to be pushed to the second user terminal based on the first push request.

[0184] The second subtype indicates that the first user terminal and the second user terminal are different user terminals, and the first user terminal and the second user terminal have an association relationship, and the first edge server terminal and the second edge server terminal are different edge server terminals, and the second edge server terminal is the edge server terminal to which the second user terminal belongs.

[0185] In addition, the first push request may include the information to be pushed, the user identifier of the second user terminal, and the second push policy corresponding to the second subtype.

[0186] Specifically, the cloud server can receive a first push request sent by the first edge server when the information push type of the information to be pushed is the second subtype. The first push request includes the information to be pushed, the user identifier of the second user terminal, and the second push policy corresponding to the second subtype. In this way, the cloud server can determine the second edge server to which the second user terminal belongs according to the second push type, based on the preset relationship between the user terminal and the edge server stored in the cloud server and the user identifier of the second user terminal, and then forward the above-mentioned first push request to the second edge server, so that the second edge server can push the above-mentioned information to be pushed to the second user terminal based on the first push request.

[0187] In this embodiment, when the information push type of the information to be pushed is the second subtype, the first push request sent by the first edge server is received, and according to the second push type, based on the preset relationship between the user terminal and the edge server and the user identifier of the second user terminal, the second edge server to which the second user terminal belongs is determined, so that the first push request can be forwarded to the second edge server later, and the information to be pushed can be pushed to the second user terminal. In this way, accurate and personalized information push can be achieved according to the actual needs of users, thereby improving user satisfaction.

[0188] In another embodiment, the information push method provided in the embodiment of the present application may also include the following steps:

[0189] When the information push type of the information to be pushed is the third push type, receiving a second push request sent by the first edge server;

[0190] Determine the content information of the information to be pushed according to the third push strategy;

[0191] Based on the content information of the information to be pushed, determining a second user terminal to be pushed from a plurality of fourth user terminals;

[0192] Based on the preset relationship between the user terminal and the edge server, determine the second edge server to which the second user terminal to be pushed belongs;

[0193] The second push request is forwarded to the second edge server, so that the second edge server pushes the information to be pushed to the second user terminal based on the second push request.

[0194] In some embodiments, the second push request may include information to be pushed and a third push strategy corresponding to a third push type, wherein the third push type indicates that the first user terminal and the second user terminal are different user terminals.

[0195] The above-mentioned multiple fourth user terminals can be user terminals within the service range of the cloud service terminal, and the size of the service range of the cloud service terminal can be determined according to the specific situation, and is not specifically limited here. In addition, the above-mentioned preset relationship between the user terminal and the edge service terminal can be stored by the cloud service terminal and pre-set based on the actual situation, and is not specifically limited here.

[0196] Specifically, the cloud server can receive a second push request sent by the first edge server when the information push type of the information to be pushed is the third push type. The second push request can include the information to be pushed and the third push type. In this way, the cloud server can first determine the content information of the information to be pushed according to the third push strategy, and then determine the second user terminal to be pushed from multiple fourth user terminals based on the content information, and determine the second edge server to which the second user terminal to be pushed belongs based on the preset relationship between the user terminal and the edge server, and then forward the second push request to the second edge server, so that the second edge server can push the information to be pushed to the second user terminal to be pushed based on the second push request.

[0197] In this embodiment, when the information push type of the information to be pushed is the third push type, the second push request sent by the first edge server can be received, and the content information of the information to be pushed can be determined according to the third push strategy in the second push request, and based on the content information of the information to be pushed, the second user terminal to be pushed can be determined from multiple fourth user terminals, and then the second edge server to which the second user terminal to be pushed belongs can be determined based on the relationship between the preset user terminal and the edge server, and then the second push request can be forwarded to the second edge server, so that the second edge server pushes the information to be pushed to the second user terminal to be pushed based on the second push request. In this way, accurate and personalized information push can be achieved according to the actual needs of users, thereby improving user satisfaction.

[0198] Based on this, in one embodiment, the content information of the information to be pushed may include the information content type and / or the information content popularity. In addition, the cloud service end stores the user preference types corresponding to multiple fourth user ends. Based on this, the step of determining the second user end to be pushed from multiple fourth user ends based on the content information of the information to be pushed may specifically include the following steps:

[0199] In the case where the content information of the information to be pushed includes the information content type, determining a fourth user terminal among the plurality of fourth user terminals whose user preferred content type includes the information content type as the second user terminal to be pushed;

[0200] When the content information of the information to be pushed includes the popularity of the information content, and the popularity of the information content meets a preset condition, a plurality of fourth user terminals are determined as second user terminals to be pushed.

[0201] Among them, the preset condition can be pre-set based on actual experience or situation. For example, the preset condition can include that the content heat is greater than the preset heat threshold, or sort all the information to be pushed received by the cloud server in the current time from large to small according to the content heat, and obtain the sorted information queue. In this way, the preset condition can be the first N positions of the information to be pushed in the sorted information queue. Among them, the above-mentioned preset heat threshold can be pre-set based on actual experience or situation, and the value of N also depends on the actual situation, and is not specifically limited here.

[0202] Specifically, if the content information of the information to be pushed includes the information content type, the cloud service end can filter the fourth user end whose user preferred content type includes the information content type from multiple fourth user ends, and determine the fourth user end as the second user end to be pushed.

[0203] If the content information of the information to be pushed includes the popularity of the information content, and the popularity of the information content meets the preset condition, the cloud service end can determine that the multiple fourth user ends are all the second user ends to be pushed.

[0204] In this embodiment, a more accurate and appropriate second user terminal to be pushed can be selected from multiple edge servers connected to the cloud server according to the content information of the information to be pushed, so as to better realize information push and improve user satisfaction with the pushed content.

[0205] In order to accurately obtain the server score of each edge server among the multiple edge servers, so that the cloud server can select the edge server with the lowest information push delay from the multiple edge servers to be responsible for the information push task of the first user. In one embodiment, the step of obtaining the server score of each edge server among the multiple edge servers may specifically include the following steps:

[0206] For each edge server among the multiple edge servers, obtaining at least one indicator to be evaluated of the edge server;

[0207] For each of the at least one indicator to be evaluated, based on the indicator to be evaluated and a preset score mapping relationship corresponding to the indicator to be evaluated, determine the indicator score of the indicator to be evaluated, and obtain at least one indicator score of the edge server;

[0208] Based on at least one indicator score of the edge server, an overall score of the edge server is determined.

[0209] In some embodiments, the at least one indicator to be evaluated may include at least one of the distance between the first user terminal and the edge server terminal, the load information of the edge server terminal, and the user distribution information within the service range of the edge server terminal, and the distance between the first user terminal and the edge server terminal is determined based on the location information of the first user terminal and the location information of the edge server terminal. The load information of the edge server terminal is used to reflect the service load of the edge server terminal, and the user distribution information can reflect the population distribution within the service range of the edge server terminal.

[0210] It should be noted that the distance between the first user terminal and the edge server terminal can be expressed as follows:

[0211]

[0212] Among them, d represents the distance between the first user terminal and the edge server terminal, r represents the radius of the earth, lat1 and lat2 represent the latitude of the first user terminal and the latitude of the edge server terminal, respectively, and lon1 and lon2 represent the longitude of the first user terminal and the longitude of the edge server terminal, respectively. Physical distance determines hard variables such as bandwidth, service response, and network transmission, and is the most important factor affecting node selection.

[0213] In addition, the above-mentioned preset score mapping relationship may be preset based on actual experience or circumstances, and is not specifically limited here. It should be noted that the preset score mapping relationship may vary depending on different server-side indicators, and is not specifically limited here.

[0214] Specifically, the cloud service end can obtain at least one indicator to be evaluated of the edge service end for each of the multiple edge service ends. The at least one indicator to be evaluated may include at least one of the distance between the first user end and the edge service end, the load information of the edge service end, and the user distribution information of the service range of the edge service end. In this way, for each indicator to be evaluated, the indicator score of the indicator to be evaluated can be determined based on the indicator to be evaluated and the preset score mapping relationship corresponding to the indicator to be evaluated, and at least one indicator score of the edge service end can be obtained. Then, based on the at least one indicator score of the edge service end, the total score of the edge service end can be determined.

[0215] In an example, if at least one indicator to be evaluated of the edge server includes the distance between the first user terminal and the edge server, the load information of the edge server, and the user distribution information within the service range of the edge server, based on this, the process of determining the total score of the edge server based on the at least one indicator score of the edge server can be shown as the following formula (2):

[0216] Score = af 1 +bf 2+cf 3 (2)

[0217] Among them, Score is used to represent the total score of the edge server. If the indicator to be evaluated is the distance between the first user terminal and the edge server, a is the weight corresponding to the indicator to be evaluated, and f 1 is the score of the indicator to be evaluated; if the indicator to be evaluated is the load information of the edge server, b is the weight corresponding to the indicator to be evaluated, f 2 Score the indicator corresponding to the indicator to be evaluated; if the indicator to be evaluated is the user distribution information within the service range of the edge server, c is the weight corresponding to the indicator to be evaluated, and f 3 Score the indicator corresponding to the indicator to be evaluated.

[0218] It should be noted that the information push method provided in the embodiment of the present application can not only process at least one indicator score of the edge server based on the weighted summation method provided by the above formula (2) to accurately obtain the total score of each edge server, but also can process at least one indicator score of the edge server by cumulative method to accurately obtain the total score of each edge server.

[0219] In this embodiment, at least one indicator to be evaluated of each edge server can be obtained, and for each indicator to be evaluated, based on the indicator to be evaluated and the preset scoring relationship corresponding to the indicator to be evaluated, the indicator score of each indicator to be evaluated in each edge server can be accurately determined, and the at least one indicator to be evaluated can include at least one of the distance between the first user terminal and the edge server, the load information of the edge server, and the user distribution information of the service range of the edge server. In this way, the server score of each edge server can be accurately determined according to information such as the user's geographic location, the edge server load situation, and the user distribution dynamics, so that the optimal edge server can be selected from multiple edge servers to process the user's information push task in the subsequent information push process, thereby avoiding the push of all information being concentrated on the cloud server in the subsequent information push process, thereby avoiding excessive requirements on the resource pool of the cloud server, and reducing the information push delay.

[0220] Since for each edge server, it is necessary to first determine the indicator score of each indicator to be evaluated of the edge server, the total score of the edge server can be accurately calculated based on at least one indicator score of the edge server. The preset score mapping relationship used to calculate the indicator score will also be different for different indicators to be evaluated. Therefore, in order to accurately and in detail describe the information push method provided in the embodiment of the present application, the calculation method of the indicator score of each indicator to be evaluated is described in detail in combination with the following embodiments.

[0221] In one embodiment, when the indicator to be evaluated is the distance between the first user terminal and the edge server terminal, the preset score mapping relationship corresponding to the indicator to be evaluated may include a preset mapping relationship between the distance and the score.

[0222] Based on this, the above step of determining the indicator score of the indicator to be evaluated based on the indicator to be evaluated and the preset score mapping relationship corresponding to the indicator to be evaluated may specifically include the following steps:

[0223] Based on a preset mapping relationship between the distance and the score, the distance between the first user terminal and the edge server terminal is matched to determine the indicator score corresponding to the distance.

[0224] The above-mentioned preset mapping relationship between the distance and the score may be preset based on actual experience or circumstances, and is not specifically limited here.

[0225] Specifically, when the indicator to be evaluated is the distance between the first user terminal and the edge server terminal, the distance between the first user terminal and the edge server terminal can be matched based on a preset mapping relationship between the distance and the score to obtain the distance between the first user terminal and the edge server terminal.

[0226] In this embodiment, the indicator to be evaluated, which is the distance between the first user terminal and the edge server terminal, can be matched through a preset mapping relationship between the distance and the score to accurately obtain the indicator score of the indicator to be evaluated.

[0227] In another embodiment, when the indicator to be evaluated is the load information of the edge service end, the preset score mapping relationship corresponding to the indicator to be evaluated includes a mapping relationship between a preset remaining load value and a score. The preset mapping relationship between the remaining load value and the score can be pre-set based on actual experience or circumstances, and is not specifically limited here.

[0228] The above-mentioned steps of determining the indicator score of the indicator to be evaluated based on the indicator to be evaluated and the preset score mapping relationship corresponding to the indicator to be evaluated may be specifically as follows:

[0229] Processing at least one sub-information using a preset function to obtain a target load value;

[0230] Determine the difference between the preset value and the target load value as the remaining load value;

[0231] Based on the preset mapping relationship between the remaining load value and the score, the remaining load value is matched to determine the indicator score corresponding to the load information.

[0232] In some embodiments, the load information of the edge server may include at least one sub-information, and the at least one sub-information may include at least one of a central processing unit (CPU) usage rate, a memory usage rate, and an input / output (IO) usage rate. The at least one sub-information is used to reflect the service load of the edge server.

[0233] Based on this, it should be noted that the at least one sub-information characterizes the load of the corresponding edge server from different aspects, so the target load value can be a relevant value that best characterizes the load of the edge server determined based on the at least one sub-information. The remaining load value is used to characterize the remaining load of the edge server.

[0234] It should also be noted that the above-mentioned preset function can be a function preset based on actual experience or situation. For example, the preset function can include a maximum value function, a minimum value function, an average value function, etc., which are not specifically limited here. In addition, the above-mentioned preset mapping relationship between the remaining load value and the score can be preset based on actual experience or situation, which are not specifically limited here. The above-mentioned preset value can be preset based on actual experience or situation. For example, the preset value can be set to 1, which is not specifically limited here.

[0235] Specifically, when the indicator to be evaluated is the load information of the edge server, at least one sub-information can be processed using a preset function to obtain a target load value, and the difference between the preset value and the target load value can be determined as the remaining load value. Then, based on the mapping relationship between the preset remaining load value and the score, the remaining load value can be matched to determine the indicator score corresponding to the load information of the edge server.

[0236] In one embodiment, when the at least one sub-information includes CPU usage, memory usage, and IO usage, the process of processing the at least one sub-information using a preset function to obtain a target load value and determining the difference between the preset value and the target load value as the remaining load value can be shown in the following formula (3):

[0237] RL=dF(cp,mp,ip) (3)

[0238] Among them, RL can be expressed as the above-mentioned remaining load value, F() can be expressed as the above-mentioned preset function, cp is the CPU utilization rate, mp is the memory utilization rate, and ip is the IO utilization rate.

[0239] In this embodiment, for the load information of the edge server, which is the indicator to be evaluated, at least one sub-information in the load information can be processed by using a preset function to obtain a target load value, and the difference between the preset value and the target load value can be determined as the remaining load value. Then, based on the mapping relationship between the preset remaining load value and the score, the remaining load value can be matched to accurately obtain the indicator score corresponding to the load information.

[0240] Taking into account the differences in population distribution in different regions, the system also has spatial distribution problems for user groups. In another embodiment, when the indicator to be evaluated is the user distribution information within the service range of the edge server, the preset score mapping relationship corresponding to the indicator to be evaluated includes a mapping relationship between preset user distribution information and scores. The mapping relationship between the preset user distribution information and scores can be pre-set based on actual experience or circumstances, and is not specifically limited here.

[0241] Based on this, the step of determining the indicator score of the indicator to be evaluated based on the indicator to be evaluated and the preset score mapping relationship corresponding to the indicator to be evaluated may specifically include the following steps:

[0242] Based on the preset mapping relationship between user distribution information and scores, the user distribution information within the service range of the edge server is matched to determine the indicator score corresponding to the user distribution information.

[0243] The above-mentioned preset mapping relationship between user distribution information and ratings may be preset based on actual experience or circumstances, and is not specifically limited here.

[0244] Specifically, when the indicator to be evaluated is the user distribution information within the service scope of the edge server, the user distribution information within the service scope of the edge server can be mapped based on the preset mapping relationship between the user distribution information and the score, and the indicator score corresponding to the user distribution information within the service scope of the edge server can be determined.

[0245] It should be noted that the user distribution information involved in the embodiment of the present application can be determined based on the target value and the performance configuration score of the edge server, wherein the target value can be the ratio of the total number of user terminals within the service range of the edge server to the sum of the total number of user terminals within the service range of multiple edge servers. In addition, the performance configuration score of the above-mentioned edge server can be predetermined based on the specific configuration of the edge server. For example, if the edge server is configured with 1 core 2G+500G mechanical hard disk and the performance is relatively low, the performance configuration score of the edge server can be determined to be score 1; if the edge server is configured with 4 cores 8G+2T solid state drive (SSD), the performance is relatively standard, then the performance configuration score of the edge server can be determined to be score 2; if the edge server is configured with 8 cores 16G+10TSSD and the performance is relatively high, then the performance configuration score of the edge server can be determined to be score 3, wherein score 1 is less than score 2, score 2 is less than score 3, and no specific limitation is made here.

[0246] In an example, the above user distribution information can be determined by the following formula (4):

[0247] UDD=(cu / au)×sc (4)

[0248] Among them, UDD can be expressed as user distribution information, cu is the total number of users within the service range of the edge server, au is the sum of the total number of users within the service range of multiple edge servers, and sc is the performance configuration score of the edge server.

[0249] In this embodiment, for the indicator to be evaluated, which is the user distribution information within the service scope of the edge server, the user information within the service scope of the edge server can be mapped through a preset mapping relationship between the user distribution information and the score, so as to accurately obtain the indicator score corresponding to the user distribution information.

[0250] In the information push method provided in the embodiment of the present application, it is also necessary to explain that the cloud service end and the edge service end are in a master-slave complementary relationship. The edge service end focuses on processing the data produced by the current edge service-related users, and the cloud service end focuses on aggregating the data of other edge service users and distributing them to each edge service end synchronously. The edge service end only needs to save a small amount of the latest data, and the remaining data is stored in the cloud through hot standby to ensure the data processing response efficiency of the edge service end. When the edge service end receives cloud data, it is necessary to filter the data according to whether the user belongs to the current edge service end and the message type. When displaying data, the information produced and stored by the current edge service is displayed first. If cloud data is received, the cloud information is displayed after aggregation. If the current edge information is generated in small quantities, messages can be actively pulled from the cloud and pushed to users as recommended content. The edge service and cloud service data implement data interaction through a combination of push and pull: the cloud service end regularly pushes the aggregation results to the edge service end; the edge service end can also actively pull messages from the cloud service end as needed.

[0251] It should also be noted that new users register on the cloud server and record their geographic location. At the same time, the best edge service node is selected based on the first point and the address of the nearest edge server is returned and cached to the client. Subsequent operations related to the user are processed by the edge server. The edge server and the cloud server ensure the final consistency of data through regular data synchronization. In addition, when the user changes the geographic location, the edge server also switches accordingly.

[0252] The edge service interacts with the cloud data asynchronously, and the edge does not rely on or wait for cloud data. For edge services, cloud data can be regarded as data generated by the current edge node user. When data loss occurs between the edge service and the cloud service, it can be compensated by retrying, but eventual consistency is not required. The data interaction between edge services is similar to that of cloud services, mainly asynchronous interaction, abnormal retries, and message loss are allowed. Only the messages generated and pushed by the edge service itself are guaranteed not to be lost. From the above description, it can be seen that there is data interaction between edge services and between edge services and cloud services. Therefore, before the edge service aggregates data and pushes it to the user, idempotent processing is required to prevent message duplication.

[0253] Based on the same inventive concept, the embodiment of the present application also provides an information push device, which is applied to the first edge server to which the first user terminal belongs. Figure 8 The information push device provided in the embodiment of the present application is described in detail.

[0254] Figure 8 It is a structural diagram of an information push device provided in an embodiment of the present application.

[0255] like Figure 8 As shown, the information push device 800 may include:

[0256] The receiving module 810 is used to receive an information push request sent by the first user terminal, where the information push request includes the information to be pushed and the information push type of the information to be pushed, and the information to be pushed is information for being pushed to the second user terminal;

[0257] A determination module 820, configured to determine an information push strategy corresponding to the information push type of the information to be pushed based on a preset correspondence between the information push type and the information push strategy;

[0258] The push module 830 is used to push the information to be pushed to the second user terminal according to the information push strategy;

[0259] Among them, the first edge server is an edge server with the largest service score selected from multiple edge servers based on the service score of each edge server among the multiple edge servers connected to the cloud server respectively. The service score of the edge server is inversely proportional to the information push delay of the edge server.

[0260] In some embodiments, the server score of each edge server is determined based on at least one indicator to be evaluated of the edge server;

[0261] The at least one indicator to be evaluated includes at least one of the distance between the first user terminal and the edge server terminal, load information of the edge server terminal, and user distribution information within the service range of the edge server terminal.

[0262] In some embodiments, the information push type includes at least one push type, and the correspondence between the preset information push type and the information push strategy includes at least one sub-correspondence, each sub-correspondence includes an information push type and an information push strategy corresponding to the information push type;

[0263] Based on this, the information push device provided in the embodiment of the present application may also include a matching module, which is used to match the information push type of the information to be pushed based on at least one sub-correspondence, and determine the information push strategy corresponding to the information push type of the information to be pushed.

[0264] In some embodiments, the information push type of the information to be pushed is a first push type, and the first push type indicates that the first user terminal and the second user terminal are the same user terminal;

[0265] Based on this, the above determination module is specifically used for:

[0266] In the case where the information push type of the information to be pushed is the first push type, based on the correspondence between the preset information push type and the information push strategy, determining that the information push strategy corresponding to the information push type of the information to be pushed is the first push strategy, the first push strategy indicating that the first edge server can directly push the information to be pushed to the second user terminal;

[0267] The above-mentioned push module is specifically used to push the information to be pushed directly to the second user terminal according to the first push strategy.

[0268] In some embodiments, the information push type of the information to be pushed is a second push type, and the second push type indicates that the first user terminal and the second user terminal are different user terminals, and the first user terminal and the second user terminal have an associated relationship;

[0269] The information push request also includes a user identifier of the second user terminal, and the first edge server to which the first user terminal belongs stores user identifiers of multiple third user terminals;

[0270] Based on this, the above-mentioned determination module is further used to determine the target information based on the user identifications of the plurality of third user terminals and the user identification of the second user terminal;

[0271] The above-mentioned determination module is further used to determine that the information push type of the information to be pushed is the first subtype when the target information indicates that the first edge server and the second edge server are the same edge server;

[0272] The above-mentioned determination module is further used to determine that the information push type of the information to be pushed is the second subtype when the target information indicates that the first edge server and the second edge server are different edge servers;

[0273] The second edge server is an edge server to which the second user terminal belongs, and the second push type includes the first subtype or the second subtype.

[0274] In one embodiment, the above-mentioned determination module is specifically used to:

[0275] In the case where the information push type of the information to be pushed is the first subtype, based on the correspondence between the preset information push type and the information push strategy, determining that the information push strategy corresponding to the information push type of the information to be pushed is the first push strategy, the first push strategy indicating that the first edge server can directly push the information to be pushed to the second user terminal;

[0276] Based on this, the above push module is specifically used for:

[0277] According to the first push strategy, the information to be pushed is directly pushed to the second user terminal.

[0278] In one embodiment, the above-mentioned determination module is specifically used for:

[0279] In the case where the information push type of the information to be pushed is the second subtype, based on the correspondence between the preset information push type and the information push strategy, it is determined that the information push strategy corresponding to the information push type of the information to be pushed is the second push strategy, and the second push strategy indicates that the first edge server needs to push the information to be pushed to the second user terminal through the intermediate terminal, and the intermediate terminal includes the cloud server and the second edge server to which the second user terminal belongs;

[0280] Based on this, the above push module is specifically used for:

[0281] According to the second push strategy, the information to be pushed and the user identification of the second user terminal are sent to the cloud server. The cloud server stores a preset relationship between the user terminal and the edge server, so that the cloud server can determine the second edge server to which the second user terminal belongs based on the preset relationship between the user terminal and the edge server and the user identification of the second user terminal, and push the information to be pushed to the second user terminal via the second edge server.

[0282] In some embodiments, the information push type of the information to be pushed is a third push type, and the third push type indicates that the first user terminal and the second user terminal are different user terminals;

[0283] Based on this, the above-mentioned determination module is specifically used to determine that the information push type of the information to be pushed is the third push type, based on the correspondence between the preset information push type and the information push strategy, the information push strategy corresponding to the information push type of the information to be pushed is the third push strategy, and the third push strategy indicates that the first edge server needs to determine the second user end to be pushed through the intermediate end, and push the information to be pushed to the second user end to be pushed through the intermediate end, and the intermediate end includes the cloud server and the second edge server to which the second user end belongs;

[0284] The above-mentioned push module is specifically used to send the information to be pushed to the cloud server according to the third push strategy, so that the cloud server can determine the content information of the information to be pushed, and based on the content information of the information to be pushed, determine the second user terminal to be pushed from multiple fourth user terminals, and based on the preset relationship between the user terminal and the edge server, determine the second edge server to which the second user terminal to be pushed belongs, and push the information to be pushed to the second user terminal to which the second user terminal to be pushed belongs via the second edge server to which the second user terminal to be pushed belongs. The multiple fourth user terminals are user terminals within the service range of the cloud server, and the cloud server stores the preset relationship between the user terminals and the edge server.

[0285] In some embodiments, the content information of the information to be pushed includes the information content type and / or the information content popularity, and the cloud service end further stores user preference content types corresponding to a plurality of fourth user ends respectively;

[0286] In the case where the content information includes the information content type, the user preference content type corresponding to the second user terminal to be pushed includes the information content type;

[0287] In the case where the content information includes information content popularity, and in the case where the content popularity meets a preset condition, the second user terminals to be pushed include multiple fourth user terminals.

[0288] In an embodiment of the present application, the first edge server to which the first user terminal belongs can receive an information push request sent by the first user terminal, and the information push request can include the information to be pushed and the information push type of the information to be pushed, and can determine the information push strategy corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push strategy, and then push the information to be pushed to the second user terminal according to the information push strategy. In this way, different information push strategies can be determined according to the different information push types of the information to be pushed, thereby improving user satisfaction. In addition, the first edge server to which the first user terminal belongs is responsible for pushing the information to be pushed generated by the first user terminal, and the first edge server is the edge server with the largest service score selected from multiple edge servers connected to the cloud server. Since the service score of the edge server is inversely proportional to the information push delay of the edge server, that is, the first edge server is the edge server with the smallest information push delay selected from multiple edge servers, in this way, it can not only avoid the situation in the prior art that the push tasks of all user terminals are concentrated on the cloud server, but also reduce the information push delay.

[0289] Each module in the information push device provided in the embodiment of the present application can be implemented Figures 2 to 6 The method steps of any of the illustrated embodiments can achieve the corresponding technical effects, and for the sake of brevity, they will not be repeated here.

[0290] Based on the same inventive concept, the embodiment of the present application also provides a device for information push, which is applied to a cloud service end, and the cloud service end is connected to multiple edge service ends respectively. Fig. 9 The information push device provided in the embodiment of the present application is described in detail.

[0291] Fig. 9 It is a structural diagram of an information push device provided in an embodiment of the present application.

[0292] like Fig. 9 As shown, the information push device 900 may include:

[0293] The receiving module 910 is used to receive a registration and login request sent by the first user terminal;

[0294] An acquisition module 920 is used to acquire a server score of each edge server among the multiple edge servers based on the registration and login request, where the server score of the edge server is inversely proportional to the information push delay of the edge server;

[0295] Determination module 930 is used to determine, based on the service score of each edge server among the multiple edge servers, an edge server with the largest server score among the multiple edge servers, as the first edge server to which the first user terminal belongs, so that when the first edge server receives an information push request sent by the first user terminal, the information push request includes the information to be pushed and the information push type of the information to be pushed, and pushes the information to be pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed.

[0296] In an embodiment of the present application, it is possible to receive a registration and login request sent by a first user terminal, and based on the registration and login request, obtain a service score for each edge server among multiple edge servers, and then determine the edge server with the largest service score among the multiple edge servers as the first edge server to which the first user terminal belongs. Since the service score of the edge server is inversely proportional to the information push delay of the edge server, the edge server with the lowest information push delay is selected from the multiple edge servers as the first edge server, so that the first edge server can subsequently receive an information push request sent by the first user terminal, and the information push request includes the information to be pushed and the information push type of the information to be pushed, and then push the information to be pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed. In this way, not only can the information push tasks of all user terminals be avoided from being concentrated on the cloud server, but the information push delay can also be reduced.

[0297] Each module in the information push device provided in the embodiment of the present application can be implemented Figure 7 The method steps of the illustrated embodiment can achieve the corresponding technical effects, and for the sake of brevity, they will not be repeated here.

[0298] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0299] The electronic device may include a processor 1001 and a memory 1002 storing computer program instructions.

[0300] Specifically, the processor 1001 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0301] Memory 1002 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 1002 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, memory 1002 may include a removable or non-removable (or fixed) medium. Where appropriate, memory 1002 may be inside or outside of an electronic device. In a particular embodiment, memory 1002 is a non-volatile solid-state memory.

[0302] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0303] The processor 1001 implements any one of the information push methods in the above embodiments by reading and executing computer program instructions stored in the memory 1002 .

[0304] In one example, the electronic device may further include a communication interface 1003 and a bus 1010. Fig.10 As shown, the processor 1001, the memory 1002, and the communication interface 1003 are connected via a bus 1010 and communicate with each other.

[0305] The communication interface 1003 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0306] Bus 1010 includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 1010 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0307] In addition, in combination with the information push method in the above embodiment, the embodiment of the present application can provide a computer storage medium to implement. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the information push method provided in the embodiment of the present application is implemented.

[0308] An embodiment of the present application also provides a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the method for information push provided in the embodiment of the present application.

[0309] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0310] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0311] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0312] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable information push device to produce a machine so that these instructions executed by the processor of the device of the computer or other programmable information push enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0313] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for information push, characterized in that: Applied to a first edge server to which a first user terminal belongs, the method includes: Receiving an information push request sent by a first user terminal, the information push request including information to be pushed and an information push type of the information to be pushed, the information to be pushed being information used to be pushed to a second user terminal; Based on the correspondence between the preset information push type and the information push strategy, determine the information push strategy corresponding to the information push type of the information to be pushed; According to the information push strategy, push the information to be pushed to the second user terminal; Among them, the first edge server is an edge server with the largest server score selected from the multiple edge servers based on the service score of each edge server among the multiple edge servers respectively connected to the cloud server, and the service score of the edge server is inversely proportional to the information push delay of the edge server.

2. The method according to claim 1, characterized in that The server score of each edge server is determined based on at least one indicator to be evaluated of the edge server; The at least one indicator to be evaluated includes at least one of the distance between the first user terminal and the edge server terminal, the load information of the edge server terminal, and the user distribution information within the service range of the edge server terminal.

3. The method according to claim 1 or 2, characterized in that: The information push type includes at least one push type, the correspondence between the preset information push type and the information push strategy includes at least one sub-correspondence, and each sub-correspondence includes an information push type and an information push strategy corresponding to the information push type; The determining, based on the correspondence between the preset information push type and the information push strategy, the information push strategy corresponding to the information push type of the information to be pushed includes: Based on the at least one sub-correspondence, the information push type of the information to be pushed is matched, and an information push strategy corresponding to the information push type of the information to be pushed is determined.

4. The method according to claim 1, characterized in that: The information push type of the information to be pushed is a first push type, and the first push type indicates that the first user terminal and the second user terminal are the same user terminal; The determining, based on the correspondence between the preset information push type and the information push strategy, the information push strategy corresponding to the information push type of the information to be pushed includes: In the case where the information push type of the information to be pushed is the first push type, based on the correspondence between the preset information push type and the information push strategy, determining that the information push strategy corresponding to the information push type of the information to be pushed is the first push strategy, wherein the first push strategy indicates that the first edge server can directly push the information to be pushed to the second user terminal; The step of pushing the information to be pushed to the second user terminal according to the information push strategy includes: According to the first push strategy, the information to be pushed is directly pushed to the second user terminal.

5. The method according to claim 1, characterized in that The information push type of the information to be pushed is a second push type, and the second push type indicates that the first user terminal and the second user terminal are different user terminals, and the first user terminal and the second user terminal have an associated relationship; The information push request also includes a user identifier of the second user terminal, and the first edge server to which the first user terminal belongs stores user identifiers of multiple third user terminals; Before determining the information push strategy corresponding to the information push type of the information to be pushed based on the correspondence between the preset information push type and the information push strategy, the method further includes: Determining target information based on the user identifiers of the plurality of third user terminals and the user identifier of the second user terminal; In a case where the target information indicates that the first edge server and the second edge server are the same edge server, determining that the information push type of the information to be pushed is a first subtype; In a case where the target information indicates that the first edge server and the second edge server are different edge servers, determining that the information push type of the information to be pushed is a second subtype; The second edge server is an edge server to which the second user terminal belongs, and the second push type includes the first subtype or the second subtype.

6. The method according to claim 5, characterized in that The determining, based on the correspondence between the preset information push type and the information push strategy, the information push type corresponding to the information push type of the information to be pushed includes: In the case where the information push type of the information to be pushed is the first subtype, based on the correspondence between the preset information push type and the information push strategy, determining that the information push strategy corresponding to the information push type of the information to be pushed is the first push strategy, wherein the first push strategy indicates that the first edge server can directly push the information to be pushed to the second user terminal; The step of pushing the information to be pushed to the second user terminal according to the information push strategy includes: According to the first push strategy, the information to be pushed is directly pushed to the second user terminal.

7. The method according to claim 5, characterized in that The determining, based on the correspondence between the preset information push type and the information push strategy, the information push strategy corresponding to the information push type of the information to be pushed includes: In the case where the information push type of the information to be pushed is the second subtype, based on the correspondence between the preset information push type and the information push strategy, determining that the information push strategy corresponding to the information push type of the information to be pushed is the second push strategy, the second push strategy indicating that the first edge server needs to push the information to be pushed to the second user terminal through the intermediate terminal, the intermediate terminal including the cloud server and the second edge server to which the second user terminal belongs; The step of pushing the information to be pushed to the second user terminal according to the information push strategy includes: According to the second push strategy, the information to be pushed and the user identifier of the second user terminal are sent to the cloud server. The cloud server stores a preset relationship between the user terminal and the edge server, so that the cloud server can determine the second edge server to which the second user terminal belongs based on the preset relationship between the user terminal and the edge server and the user identifier of the second user terminal, and push the information to be pushed to the second user terminal via the second edge server.

8. The method according to claim 1, characterized in that The information push type of the information to be pushed is a third push type, and the third push type indicates that the first user terminal and the second user terminal are different user terminals; The determining, based on the correspondence between the preset information push type and the information push strategy, the information push strategy corresponding to the information push type of the information to be pushed includes: In the case where the information push type of the information to be pushed is the third push type, based on the correspondence between the preset information push type and the information push strategy, it is determined that the information push strategy corresponding to the information push type of the information to be pushed is the third push strategy, and the third push strategy indicates that the first edge server needs to determine the second user terminal to be pushed through the intermediate terminal, and push the information to be pushed to the second user terminal to be pushed through the intermediate terminal, and the intermediate terminal includes the cloud server and the second edge server to which the second user terminal belongs; The step of pushing the information to be pushed to the second user terminal according to the information push strategy includes: According to the third push strategy, the information to be pushed is sent to the cloud server so that the cloud server can determine the content information of the information to be pushed, and based on the content information of the information to be pushed, determine the second user terminal to be pushed from multiple fourth user terminals, and based on the preset relationship between the user terminal and the edge server, determine the second edge server to which the second user terminal to be pushed belongs, and push the information to be pushed to the second user terminal to which the second user terminal to be pushed belongs via the second edge server to which the second user terminal to be pushed belongs. The multiple fourth user terminals are user terminals within the service range of the cloud server, and the cloud server stores the preset relationship between the user terminal and the edge server.

9. The method according to claim 8, characterized in that The content information of the information to be pushed includes the information content type and / or the information content popularity, and the cloud service end further stores user preference content types corresponding to a plurality of fourth user ends respectively; In the case where the content information includes the information content type, the user preference content type corresponding to the second user terminal to be pushed includes the information content type; In a case where the content information includes information content popularity, and in a case where the content popularity satisfies a preset condition, the second user terminals to be pushed include the plurality of fourth user terminals.

10. A method for information push, characterized in that: Applied to a cloud server, the cloud server is connected to a plurality of edge servers respectively, and the method comprises: Receiving a registration and login request sent by a first user terminal; Based on the registration and login request, obtaining a server score of each edge server among the multiple edge servers, wherein the server score of the edge server is inversely proportional to the information push delay of the edge server; Based on the service score of each edge server among the multiple edge servers, an edge server with the largest server score among the multiple edge servers is determined as the first edge server to which the first user terminal belongs, so that when the first edge server receives an information push request sent by the first user terminal, the information push request includes the information to be pushed and the information push type of the information to be pushed, and pushes the information to be pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed.

11. A device for information push, characterized in that: Applied to a first edge server to which a first user terminal belongs, the device includes: A receiving module, configured to receive an information push request sent by a first user terminal, wherein the information push request includes information to be pushed and an information push type of the information to be pushed, and the information to be pushed is information for being pushed to a second user terminal; A determination module, configured to determine an information push strategy corresponding to the information push type of the information to be pushed based on a preset correspondence between the information push type and the information push strategy; A push module, used for pushing the information to be pushed to the second user terminal according to the information push strategy; Among them, the first edge server is an edge server with the largest server score selected from the multiple edge servers based on the service score of each edge server among the multiple edge servers respectively connected to the cloud server, and the service score of the edge server is inversely proportional to the information push delay of the edge server.

12. A device for information push, characterized in that: Applied to a cloud server, the cloud server is connected to a plurality of edge servers respectively, and the device comprises: A receiving module, used to receive a registration and login request sent by a first user terminal; An acquisition module, configured to acquire a server score of each edge server among the plurality of edge servers based on the registration and login request, wherein the server score of the edge server is inversely proportional to the information push delay of the edge server; A determination module is used to determine, based on the service score of each edge server among the multiple edge servers, an edge server with the largest server score among the multiple edge servers, as the first edge server to which the first user terminal belongs, so that when the first edge server receives an information push request sent by the first user terminal, the information push request includes the information to be pushed and the information push type of the information to be pushed, and pushes the information to be pushed to the second user terminal according to the information push policy corresponding to the information push type of the information to be pushed.

13. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the information push method as described in any one of claims 1-10.

14. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the method for pushing information according to any one of claims 1 to 10 is implemented.

15. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method for pushing information according to any one of claims 1 to 10 is implemented.

Citation Information

Patent Citations

  • System, method and device for message processing

    CN107438201A

  • Data processing method and device based on edge computing technology

    CN109040298A

  • Live broadcast method, gateway, equipment cluster, system and device

    CN110267058A

  • Product information recommendation method, device and system and storage medium

    CN112650946A

  • Video processing method and device, electronic equipment and readable storage medium

    CN113747200A