Request processing method and apparatus, electronic device, and computer-readable storage medium

By collaboratively managing the request processing of electronic signage through central cloud and edge cloud, and flexibly determining the response end according to actual needs, the problems of high system pressure and latency under public cloud management are solved, and more efficient electronic signage display is achieved.

CN115866050BActive Publication Date: 2026-05-01BOE TECHNOLOGY GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BOE TECHNOLOGY GROUP CO LTD
Filing Date
2022-11-24
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In existing technologies, relying on public cloud to control and manage electronic signage results in high system pressure, computational latency, and full network bandwidth usage, affecting the stability of electronic signage usage.

Method used

The request processing method adopts collaborative management of central cloud and edge cloud. The response end is flexibly determined according to the number of electronic signs and the response time of the central cloud server, so as to alleviate the processing pressure of the central cloud server and reduce network bandwidth consumption.

Benefits of technology

Through the collaborative management of the central cloud and edge cloud, the processing pressure on the central cloud server is alleviated, the computing latency is reduced, and the efficiency and stability of electronic signage are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115866050B_ABST
    Figure CN115866050B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a request processing method and device, electronic equipment and computer readable storage medium, and relate to the technical field of computers. The method comprises: determining a response end for responding to the display request according to the number of target electronic labels requested in the display request and / or the estimated response time of the central cloud server responding to the display request; and responding to the display request based on the response end. In this way, the display requirement of the electronic labels in the actual scene and the data processing capability of the central cloud server can be flexibly determined to respond to the display request by the central cloud server and / or the edge cloud server, thereby relieving the processing pressure of the central cloud server, reducing the network bandwidth occupation, and reducing the calculation delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically, to a request processing method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] Electronic signage (such as electronic paper display signage or electrophoretic display signage (EPD, or E-paper, a display screen using EPD technology)) is an electronic display device with information transmission and reception capabilities. It can replace traditional paper labels and is commonly used in various scenarios, including smart retail, smart offices, and smart transportation. For example, when used in meeting settings, electronic signage can be categorized into door signs, table signs, and workstation signs to display corresponding information.

[0003] The display of electronic signage can be controlled by cloud servers. In related technologies, the display of electronic signage is usually controlled and managed through public clouds (such as central clouds). However, this control and management method that relies on public clouds will cause problems such as system pressure, computing latency, and network bandwidth saturation, affecting the stability of the use of electronic signage. Summary of the Invention

[0004] The purpose of this application is to address at least one of the aforementioned technical deficiencies, particularly the high pressure on public cloud systems and the low stability of electronic signage.

[0005] According to one aspect of this application, a request processing method is provided, the method comprising:

[0006] Receive requests from clients to display the target electronic signage;

[0007] Based on the number of the target electronic signs requested in the display request and / or the estimated response time of the central cloud server in response to the display request, the response end for responding to the display request is determined;

[0008] The response end includes the central cloud server and / or an edge cloud server that has a communication connection with the central cloud server;

[0009] Based on the aforementioned response terminal, the display request is responded to.

[0010] Optionally, after receiving the request from the client to display the target electronic signage, the method further includes:

[0011] The estimated response time for displaying the target electronic signage is determined based on the idle processing resources and / or processing speed of the central cloud server.

[0012] Optionally, determining the response end that responds to the display request includes:

[0013] If the number of target electronic signs is less than a first preset threshold, and / or the expected response time is less than a second preset threshold, the central cloud server is determined to be the response end;

[0014] If the number of target electronic signs is greater than a first preset threshold, and / or the expected response time is greater than a second preset threshold, then the central cloud server and at least one edge cloud server are determined to be the response endpoints.

[0015] Optionally, if the central cloud server is determined to be the responding end,

[0016] The process of responding to the display request based on the response terminal includes:

[0017] Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file;

[0018] A display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0019] Optionally, if the central cloud server and at least one of the edge cloud servers are determined to be the responding endpoints,

[0020] The process of responding to the display request based on the response terminal includes:

[0021] Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file;

[0022] Establish a communication connection with the target edge cloud server; send the display file to the target edge cloud server, so as to send a display instruction and the display file to a preset gateway through the target edge cloud server, and send the display file to the target electronic sign through the preset gateway, instructing the target electronic sign to display the sign content through the preset display template.

[0023] Optionally, if the edge cloud server comprises multiple servers, after generating the display file, the method further includes:

[0024] The target edge cloud server is determined based on the random timeout duration corresponding to each edge cloud server.

[0025] Establish a communication connection with the target edge cloud server.

[0026] According to one aspect of this application, a request processing method is provided, the method comprising:

[0027] In response to a client's request to display the target electronic signage, a communication connection is established with the central cloud server.

[0028] Wherein, the number of target electronic signs is greater than a first preset threshold, and / or the expected response time of the central cloud server in response to the display request is greater than a second preset threshold;

[0029] Respond to the display request.

[0030] Optionally, responding to the display request includes:

[0031] Receive and store the display file sent by the central cloud server; wherein the display file is generated based on the sign content of the target electronic sign added to the display template;

[0032] A display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0033] Optionally, a second edge cloud server may also be included.

[0034] After receiving the display file sent by the central cloud server, the method further includes:

[0035] The display file is sent to the second edge cloud server so that the display command and the display file are sent to the preset gateway through the second edge cloud server.

[0036] According to another aspect of this application, a request processing apparatus is provided, the apparatus comprising:

[0037] The receiving module is used to receive requests from clients to display the target electronic signage.

[0038] The determining module is used to determine the response end that responds to the display request based on the number of the target electronic signs requested in the display request and / or the expected response time of the central cloud server in response to the display request;

[0039] The response end includes the central cloud server and / or an edge cloud server that has a communication connection with the central cloud server;

[0040] A response module is used to respond to the display request based on the response terminal.

[0041] According to another aspect of this application, a request processing apparatus is provided, the apparatus comprising:

[0042] The connection module is used to respond to the client's request to display the target electronic sign and establish a communication connection with the central cloud server.

[0043] Wherein, the number of target electronic signs is greater than a first preset threshold, and / or the expected response time of the central cloud server in response to the display request is greater than a second preset threshold;

[0044] A response module is used to respond to the display request.

[0045] According to another aspect of this application, an electronic device is provided, the electronic device comprising:

[0046] One or more processors;

[0047] Memory;

[0048] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to: perform the request processing method described in either the first or second aspect above.

[0049] For example, in a fifth aspect of this application, a computing device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus;

[0050] The memory is used to store at least one executable instruction that causes the processor to perform an operation corresponding to the request processing method shown in the first aspect of this application.

[0051] According to another aspect of this application, a computer-readable storage medium is provided, wherein when the computer program is executed by a processor, it implements the request processing method described in either the first or second aspect above.

[0052] For example, in a sixth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the request processing method shown in the first aspect of the present application.

[0053] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations of the first or second aspect described above.

[0054] The beneficial effects of the technical solution provided in this application are:

[0055] In this embodiment, the response end for responding to the display request is determined based on the number of target electronic signs requested in the display request and / or the estimated response time of the central cloud server in responding to the display request. Based on the response end, the display request is responded to. This allows for flexible determination of whether the central cloud server and / or edge cloud server should respond to the display request, according to the display requirements of the electronic signs in the actual scenario and the data processing capabilities of the central cloud server. This alleviates the processing pressure on the central cloud server, reduces network bandwidth usage, and decreases computational latency. Attached Figure Description

[0056] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below.

[0057] Figure 1 A schematic diagram of a system architecture for a request processing method provided in an embodiment of this application;

[0058] Figure 2 One of the flowcharts of a request processing method provided in this application embodiment;

[0059] Figure 3 This is a schematic diagram illustrating one application scenario of a request processing method provided in an embodiment of this application;

[0060] Figure 4 This is a second schematic diagram illustrating an application scenario of a request processing method provided in this application embodiment;

[0061] Figure 5 This is a third illustration of an application scenario for a request processing method provided in this application embodiment;

[0062] Figure 6 A second schematic flowchart illustrating a request processing method provided in an embodiment of this application;

[0063] Figure 7 This is one of the structural schematic diagrams of a request processing device provided in an embodiment of this application;

[0064] Figure 8 This is a second schematic diagram of the structure of a request processing device provided in an embodiment of this application;

[0065] Figure 9 This is a schematic diagram of the structure of an electronic device for request processing provided in an embodiment of this application. Detailed Implementation

[0066] The embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions of the embodiments of this application.

[0067] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this application mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term; for example, “A and / or B” can be implemented as “A,” or as “B,” or as “A and B.”

[0068] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0069] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0070] The management of electronic signage uses a centralized cloud platform. If the cloud service fails or goes down, it can lead to delays in signage updates or data loss, compromising the availability of the electronic signage. Furthermore, when the number of electronic signages reaches a certain scale, the cloud service can experience system stress, computational latency, and network bandwidth saturation, all of which can negatively impact the availability of the electronic signage.

[0071] This application provides a request processing method that employs collaborative management of central cloud and edge cloud to solve the aforementioned technical problems.

[0072] Cloud computing refers to the increased availability, use, and interaction of internet-based services, typically involving the provision of dynamically scalable and often virtualized resources via the internet. Cloud computing is a product of the convergence and development of traditional computer and network technologies such as distributed computing, parallel computing, utility computing, network storage technologies, virtualization, load balancing, and high availability.

[0073] A central cloud is a cloud computing platform built on cloud data center infrastructure based on cloud computing technology. It can effectively store and manage massive amounts of data by aggregating and analyzing complex and large-scale global data processing tasks.

[0074] Edge cloud: It is a cloud computing platform built on edge infrastructure based on the core of cloud computing technology and edge computing capabilities. It forms a comprehensive elastic cloud platform with computing, network, storage, and security capabilities at the edge. It forms an end-to-end technical architecture of "cloud-edge-device three-body collaboration" with the central cloud and IoT terminals. By placing network forwarding, storage, computing, and intelligent data analysis at the edge, it reduces response latency, alleviates the pressure on the central cloud, reduces bandwidth costs, and provides cloud services such as network-wide scheduling and computing power distribution.

[0075] Compared to centralized clouds or traditional cloud computing platforms, edge cloud is a relative concept. Edge cloud refers to cloud computing platforms located relatively close to the end user. In other words, unlike centralized clouds or traditional cloud computing platforms, which may include resource-scalable and geographically concentrated data centers, edge cloud nodes cover a wider network area and are therefore closer to the end user. While a single edge cloud node has a smaller resource scale, the number of edge cloud nodes is greater. In this embodiment, the end user refers to the end user demanding cloud computing services, such as a terminal or user terminal on the Internet, or a terminal or user terminal in the Internet of Things (IoT).

[0076] Combination Figure 1 The diagram shown is a system architecture diagram of an embodiment of this application, which includes a central cloud, an edge cloud, a gateway, electronic signage, etc.

[0077] Specifically, the central cloud includes its business platform, cloud management server components, and gateway communication proxy. The central cloud business platform enables a multi-user system, visualized configuration and data storage for electronic signage services, visualized operation and maintenance management and business operations for electronic signage, and visualized operation and maintenance management and user relationship maintenance for the edge cloud. The cloud management server components implement registration management, data monitoring, command issuance to the edge cloud, and synchronization of user business data. The gateway communication proxy enables data communication and command issuance with the electronic signage gateway.

[0078] The edge cloud consists of autonomous nodes deployed at the user's edge, including an edge cloud business platform, cloud management client components, distributed components, and gateway communication proxies. The edge cloud business platform enables visualization of user business data, distributed creation and management, and business operations for electronic signage. The cloud management client components implement cloud registration, data reporting, and user business and command data reporting between the edge cloud and the central cloud. The gateway communication proxy enables data communication and command issuance with the electronic signage gateway. The distributed components ensure distributed high availability of the edge cloud and guarantee data consistency.

[0079] Gateways are used to manage electronic signage within a user's area and to communicate uplink and downlink data with the central cloud / edge cloud.

[0080] Electronic signage is used to display information sent by the gateway.

[0081] In this embodiment of the application, the user and the central cloud, the central cloud and the edge cloud, the edge cloud and the gateway can communicate and connect through the network. When a display request for electronic signs is received from the user through the client, the response end for responding to the display request can be determined according to the number of electronic signs and / or the expected response time of the central cloud to the display request. Based on the response end, the display request is responded to.

[0082] Specifically, Figure 2 A flowchart of a request processing method provided in an embodiment of this application is shown. This method is applied to a central cloud server, which is a cloud server or server cluster that can provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0083] Those skilled in the art should understand that the above-described server is merely an example, and other existing or future servers that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.

[0084] like Figure 2 As shown, the method includes the following steps:

[0085] Step S201: Receive the request from the client to display the target electronic sign.

[0086] The embodiments of this application can be applied to the field of computer technology, specifically to application scenarios where a display request is received to display a target electronic sign, and the target electronic sign is controlled to display corresponding sign content in response to the display request.

[0087] Specifically, the target electronic signage can be any electronic signage intended to display content within an application scenario. Specific application scenarios include smart retail, smart office, and smart transportation. Taking a meeting / office scenario within a smart office as an example, common electronic signage products include meeting room door signs, table signs, and workstation signs. For instance, if the sign is a table sign, the content includes information about the attendees, such as name, company, and job title, among other things. If the sign is a workstation sign, the content includes information about the person at that workstation, workstation reservation information, and advertising information. If the sign is a meeting room door sign, the content includes meeting room scheduling information and advertising information.

[0088] Display requests can be sent through a client installed on the terminal. For example, when it is necessary to display sign content on a target electronic sign, the display request can be sent through the client. For example, in a meeting and office scenario, the terminal can be the terminal corresponding to the meeting administrator. It should be noted that the meeting administrator can be the terminal of a designated user participating in the meeting, such as the terminal held by the meeting host; of course, it can also be a user terminal used to manage various meetings but not joined a meeting, and this application embodiment does not limit this.

[0089] Optionally, the display request may include the number of target electronic signs, the identification document (ID) of the target electronic signs, the sign content to be displayed on the target electronic signs, the preset display template for displaying the sign content, the display time for displaying the sign content on the target electronic signs, the update time for updating the sign content, etc.

[0090] The preset display template is a pre-determined template for displaying sign content. The preset display template may include the font, font size, color, and layout format of the displayed sign content.

[0091] Step S202: Determine the response end to respond to the display request based on the number of the target electronic signs requested in the display request and / or the expected response time of the central cloud server in response to the display request.

[0092] The response end includes the central cloud server and / or an edge cloud server that has a communication connection with the central cloud server.

[0093] Specifically, the responding end is a server that responds to the display request. Specifically, the responding end is used to obtain the sign content of the target electronic sign according to the display request, and send the sign content to the target electronic sign through a gateway or other device, and control the target electronic sign to display the sign content.

[0094] When determining the responding end to the response request, the central cloud server and / or the edge cloud server can be determined as the responding end based on the number of target electronic signs and / or the expected response time of the central cloud server to the display request.

[0095] Optionally, when the number of target electronic signs is small, or the expected response time is short, the display request can be responded to by the central cloud server. When the number of target electronic signs is large, or the expected response time is long, the display request can be responded to by the central cloud server and at least one edge cloud server.

[0096] Specifically, the estimated response time can be determined based on the idle processing resources and / or processing speed of the central cloud server. Idle processing resources can be determined based on the utilization rate of the Central Processing Unit (CPU), Graphics Processing Unit (GPU), and Accelerated Processing Units (APUs), etc. It is understood that the more idle processing resources the central cloud server has and the faster its processing speed, the shorter the estimated response time; conversely, the fewer idle processing resources the central cloud server has and the slower its processing speed, the longer the estimated response time.

[0097] In other words, in this embodiment of the application, when the number of target electronic signs is small, the central cloud server has a lot of idle processing resources, and the central cloud server has a fast processing speed, the central cloud server can respond to the display request; conversely, when the number of target electronic signs is large, the central cloud server has a lot of idle processing resources, and the central cloud server has a slow processing speed, the central cloud server and the edge cloud server can respond to the display request.

[0098] It should be noted that when the central cloud server and edge cloud servers respond to the display request, the response may be determined by one or more edge cloud servers based on the specific circumstances of the number of target electronic signs, the idle processing resources of the central cloud server, and the processing speed of the central cloud server. For example, when the number of target electronic signs is extremely large (e.g., the number of target electronic signs exceeds a certain threshold), or the idle processing resources of the central cloud server are very small (e.g., the idle processing resources are less than a certain threshold), or the processing speed of the central cloud server is very slow (e.g., the processing speed is less than a certain threshold), in such cases where the number of pending tasks is large, or the idle processing resources of the central cloud server are small and the processing speed is slow, the response can be handled by the central cloud server and multiple edge cloud servers to reduce the task processing pressure and improve the response speed.

[0099] When the central cloud server and the edge cloud server respond to the display request, the central cloud server can establish a communication connection with the edge cloud server and send the sign content of the target electronic sign to the edge cloud server, so as to realize the data sinking to the edge cloud server and control the display of the target electronic sign through the edge cloud server.

[0100] Optionally, edge cloud servers can connect to the central cloud server via communication protocols such as LwM2M, UDP, TCP, HTTP, and MQTT.

[0101] Determining the responder for the display request can be based on factors such as the number of target electronic signs in the actual scenario, the available processing resources of the central cloud server, and its processing speed. This allows for flexible determination of whether the central cloud server or the edge cloud server should respond to the display request, alleviating the processing pressure on the central cloud server, reducing network bandwidth usage, and minimizing computational latency.

[0102] Step S203: Based on the response terminal, respond to the display request.

[0103] Once the response end is determined, the display request can be responded to based on the response end.

[0104] Specifically, when responding to the display request through the central cloud server, the sign content of the target electronic sign and the preset display template can be obtained first according to the display request, and the sign content can be added to the preset display template. In this way, a display file can be generated based on the preset display template with added sign content.

[0105] Then, a display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0106] In practical scenarios, the preset gateway may include, but is not limited to, Bluetooth gateways, Wi-Fi (Wireless Fidelity) gateways, etc., which can be determined according to the actual situation.

[0107] Furthermore, when responding to the display request through the central cloud server and at least one of the edge cloud servers, the central cloud server can establish a communication connection with the edge cloud server and send the aforementioned display file to the edge cloud server. The edge cloud server then sends a display instruction and the display file to a preset gateway, and the preset gateway sends the display file to the target electronic signboard, instructing the target electronic signboard to display the signboard content through the preset display template.

[0108] In this embodiment, the response end for responding to the display request is determined based on the number of target electronic signs requested in the display request and / or the estimated response time of the central cloud server in responding to the display request. Based on the response end, the display request is responded to. This allows for flexible determination of whether the central cloud server and / or edge cloud server should respond to the display request, according to the display requirements of the electronic signs in the actual scenario and the data processing capabilities of the central cloud server. This alleviates the processing pressure on the central cloud server, reduces network bandwidth usage, and decreases computational latency.

[0109] In one embodiment of this application, determining the responding end to the display request includes:

[0110] If the number of target electronic signs is less than a first preset threshold, and / or the expected response time is less than a second preset threshold, the central cloud server is determined to be the response end;

[0111] If the number of target electronic signs is greater than a first preset threshold, and / or the expected response time is greater than a second preset threshold, then the central cloud server and at least one edge cloud server are determined to be the response endpoints.

[0112] Specifically, in real-world scenarios, when determining the response end, the number of target electronic signs and the expected response time can be compared with corresponding thresholds.

[0113] For example, if the number of target electronic signs is less than a first preset threshold and / or the expected response time is less than a second preset threshold, the central cloud server can be determined as the response end; if the number of target electronic signs is greater than the first preset threshold and / or the expected response time is greater than the second preset threshold, the central cloud server and at least one edge cloud server can be determined as the response end.

[0114] Optionally, the second preset threshold can be set to the response duration carried in the display request, which can be understood as the maximum response duration set by the client to respond to the display request.

[0115] In some embodiments, when the number of target electronic signs is greater than a third preset threshold, and / or the expected response time is greater than a fourth preset threshold (the third preset threshold is greater than the first preset threshold; the fourth preset threshold is less than the second preset threshold), that is, when the number of target electronic signs is extremely large, or the maximum response time set by the client is very short, i.e., when the real-time requirement for responding to the display request is extremely high, the central cloud server and multiple edge cloud servers can be determined as the response end.

[0116] In one embodiment of this application, when the central cloud server is determined to be the responding end,

[0117] The process of responding to the display request based on the response terminal includes:

[0118] Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file;

[0119] A display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0120] Specifically, when the central cloud server responds to the display request, i.e., when the number of target electronic signs is small, the central cloud server has a lot of idle processing resources, and the central cloud server has a fast processing speed, the sign content of the target electronic sign and the preset display template can be obtained first according to the display request, and the sign content can be added to the preset display template. In this way, a display file can be generated based on the preset display template with added sign content.

[0121] Then, a display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0122] As an example, the following combines Figure 3 This section will introduce the processing flow in a real-world scenario where the central cloud server acts as the response end.

[0123] Step 1: Users can access the business platform of the central cloud server through the World Wide Web (WEB), register an account and log in.

[0124] Step 2: The gateway (i.e., the preset gateway in this embodiment) connects to the network; users can access the web page built into the gateway and configure the central cloud server address.

[0125] Step 3: Users can add a gateway on the business platform of the central cloud server and configure the gateway, such as configuring the communication channel, search time, interface address, etc.

[0126] Step 4: After the gateway goes online, it automatically connects to the central cloud server. After being verified by the central cloud server, the gateway obtains the configured data (configuration communication channel, search time, and interface address) from the central cloud server.

[0127] Step 5: Users can add electronic signs and enable the gateway's automatic search function. After the gateway finds electronic signs within the search range, it binds the electronic signs and then reports the electronic sign information to the central cloud server.

[0128] Step 6: The user creates a display template for the electronic signage (i.e., the preset display template in this embodiment) and configures the display template.

[0129] Step 7: The user selects the target electronic signage to be used and binds the display template.

[0130] Step 8: When the refresh conditions of the electronic sign are met, the central cloud server generates a display file and display instructions based on the template and sign content bound to the electronic sign, and sends the display file and display instructions to the gateway. The gateway then sends the display file to the target electronic sign, and the target electronic sign displays the sign content.

[0131] In one embodiment of this application, if the central cloud server and at least one of the edge cloud servers are determined to be the responding endpoints,

[0132] The process of responding to the display request based on the response terminal includes:

[0133] Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file;

[0134] Establish a communication connection with the target edge cloud server; send the display file to the target edge cloud server, so as to send a display instruction and the display file to a preset gateway through the target edge cloud server, and send the display file to the target electronic sign through the preset gateway, instructing the target electronic sign to display the sign content through the preset display template.

[0135] When the display request is responded to by the central cloud server and at least one of the edge cloud servers, the central cloud server can first obtain the sign content of the target electronic sign and the preset display template according to the display request, and add the sign content to the preset display template. In this way, a display file can be generated based on the preset display template with added sign content.

[0136] On the other hand, the central cloud server can communicate with the edge cloud server and send the aforementioned display file to the edge cloud server. The edge cloud server then sends a display instruction and the display file to a preset gateway. The display file is then sent to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0137] As an example, the following combines Figure 4 This section will introduce the processing flow in a real-world scenario, where the central cloud server and edge cloud servers act as the response end.

[0138] Step 1: Users can access the business platform of the edge cloud server via the web and log in using the default account.

[0139] Step 2: The user configures the central cloud server address and security certificate on the edge cloud server's business platform, and records the edge cloud server's system number.

[0140] Step 3: The edge cloud server automatically connects to the central cloud server based on the configured central cloud server address and security certificate.

[0141] Step 4: Users access the business platform of the central cloud server via the web, register an account and log in.

[0142] Step 5: The user adds an edge cloud server (the edge cloud server whose system number was recorded in Step 2) on the business platform of the central cloud server.

[0143] Step 6: The central cloud server sends a change command for the electronic signage user to the edge cloud node; after receiving the change command, the edge cloud server clears the historical data.

[0144] Step 7: The gateway (i.e., the preset gateway in this embodiment) connects to the network; users can access the web page built into the gateway and configure the central cloud server address.

[0145] Step 8: Users can add gateways on the central cloud server's business platform and configure them, such as configuring communication channels, search times, and interface addresses. The central cloud server writes gateway data to the edge cloud server and writes the edge cloud server addresses to the gateway.

[0146] Step 9: After the gateway goes online, it automatically connects to the edge cloud server. After verification by the edge cloud server, the gateway obtains the configured data (configuration communication channel, search time, interface address) from the edge cloud server.

[0147] Step 10: Add electronic signage to the business platform of the central cloud server.

[0148] Step 11: Enable automatic search for the gateway on the business platform of the edge cloud server. After the gateway finds the electronic signage within the search range, it binds the electronic signage and then reports the electronic signage identification information to the edge cloud server.

[0149] Step 12: On the business platform of the central cloud server, the user creates a display template for the electronic signage (i.e., the preset display template in this embodiment) and configures the display template. The user selects the target electronic signage to be used and binds it to the display template.

[0150] Step 13: The central cloud server generates a display file based on the template and content of the electronic signage, and sends the display file to the edge cloud server.

[0151] Step 14: When the refresh conditions of the electronic sign are met, the edge cloud server sends the display file and display instructions to the gateway, which then sends the display file to the target electronic sign, and the target electronic sign displays the sign content.

[0152] In the process described above, data is pushed down to the edge cloud server. In this way, when the central cloud server is abnormal, down, or experiencing network problems, the edge cloud server can achieve offline autonomy and the business can continue to operate normally. This improves the efficiency of electronic signage and reduces the system pressure on the central cloud server.

[0153] In one embodiment of this application, when the edge cloud server includes multiple servers, after generating the display file, the method further includes:

[0154] The target edge cloud server is determined based on the random timeout duration corresponding to each edge cloud server.

[0155] Establish a communication connection with the target edge cloud server.

[0156] Specifically, when there are a large number of target electronic signs, or when the maximum response time set by the client is very short, that is, when the real-time requirement for responding to the display request is extremely high, the central cloud server and multiple edge cloud servers can be determined as the response end.

[0157] Among multiple edge cloud servers, a target edge cloud server needs to be determined as a management node based on the random timeout duration corresponding to each edge cloud server. This management node receives display files sent by the central cloud server, distributes the display files to other edge cloud servers, and assigns corresponding tasks for displaying target electronic signs to other edge cloud nodes. For example, when responding to a display request, the management node determines which electronic signs each edge cloud server should display.

[0158] Optionally, in this embodiment of the application, the target edge cloud server can be determined through an election process, as described below. Figure 5 The election process will be explained as follows:

[0159] For example, there are three edge cloud servers, which are denoted as node A, node B, and node C.

[0160] Before the election, the term number is 0, and each node is a Follower with a random timeout. Specifically, the random timeout for node A is 100ms, for node B it is 120ms, and for node C it is 150ms.

[0161] During the election, node A has the shortest random timeout, so it is the first to wake up and successfully becomes a Candidate. Its term number becomes 1, node A casts its own vote, and then sends a request to other Followers to vote.

[0162] After receiving a voting request from node A, nodes B and C determine whether they have voted in the election with term number 1. If not, they will cast their votes for A, set their own term number to 1, and reset their random timeout.

[0163] Node A wins a majority of votes in election with term number 1 and becomes the Leader (management node) for this term. To maintain its management node status, Node A continuously sends heartbeats (heartbeats can be understood as instructions) to Nodes B and C, instructing them to reset the random timeout to prevent B and C from re-initiating the vote.

[0164] It should be noted that if all nodes have the same random timeout, the node that first receives a majority of votes becomes the Leader, and the other Candidates revert to Followers. If the number of votes is the same, all nodes revert to Followers, reset their random timeouts, and prepare for the next round of elections.

[0165] When the Leader fails, all nodes will re-elect a new Leader, which will continue to communicate with the central cloud server according to the original registration information.

[0166] In this embodiment, the response end for responding to the display request is determined based on the number of target electronic signs requested in the display request and / or the estimated response time of the central cloud server in responding to the display request. Based on the response end, the display request is responded to. This allows for flexible determination of whether the central cloud server and / or edge cloud server should respond to the display request, according to the display requirements of the electronic signs in the actual scenario and the data processing capabilities of the central cloud server. This alleviates the processing pressure on the central cloud server, reduces network bandwidth usage, and decreases computational latency.

[0167] Specifically, Figure 6 A flowchart of a request processing method provided in an embodiment of this application is shown. This method is applied to a first edge cloud server, which is a cloud server or server cluster that can provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0168] Those skilled in the art should understand that the above-described server is merely an example, and other existing or future servers that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.

[0169] like Figure 6 As shown, the method includes the following steps:

[0170] Step S601: In response to the client's request to display the target electronic signage, establish a communication connection with the central cloud server.

[0171] Wherein, the number of target electronic signs is greater than a first preset threshold, and / or the expected response time of the central cloud server in response to the display request is greater than a second preset threshold;

[0172] The embodiments of this application can be applied to the field of computer technology, specifically to application scenarios where a display request is received to display a target electronic sign, and the target electronic sign is controlled to display corresponding sign content in response to the display request.

[0173] Specifically, the target electronic signage can be the electronic signage in the application scenario that is intended to display signage content.

[0174] Display requests can be sent through a client installed on the terminal. For example, when it is necessary to display sign content on a target electronic sign, the display request can be sent through the client.

[0175] Optionally, the display request may include the number of target electronic signs, the identification document (ID) of the target electronic signs, the sign content to be displayed on the target electronic signs, the preset display template for displaying the sign content, the display time for displaying the sign content on the target electronic signs, the update time for updating the sign content, etc.

[0176] The preset display template is a pre-determined template for displaying sign content. The preset display template may include the font, font size, color, and layout format of the displayed sign content.

[0177] When the number of target electronic signs is greater than a first preset threshold, and / or the expected response time is greater than a second preset threshold, the central cloud server and at least one edge cloud server can be identified as the response end.

[0178] In response to a client's request to display the target electronic signage, the edge cloud server can establish a communication connection with the central cloud server. Optionally, the edge cloud server can connect to the central cloud server via communication protocols such as LwM2M, UDP, TCP, HTTP, and MQTT.

[0179] Step S602: Respond to the display request.

[0180] Optionally, the edge cloud server receives and stores the display file sent by the central cloud server; wherein the display file is generated based on the sign content of the target electronic sign added to the display template;

[0181] A display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0182] Specifically, when the display request is responded to by the central cloud server and at least one of the edge cloud servers, the central cloud server can first obtain the sign content of the target electronic sign and the preset display template according to the display request, and add the sign content to the preset display template. In this way, a display file can be generated based on the preset display template with added sign content.

[0183] On the other hand, the central cloud server can communicate with the edge cloud server and send the aforementioned display file to the edge cloud server. The edge cloud server then sends a display instruction and the display file to a preset gateway. The display file is then sent to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0184] In one embodiment of this application, a second edge cloud server is also included.

[0185] After receiving the display file sent by the central cloud server, the method further includes:

[0186] The display file is sent to the second edge cloud server so that the display command and the display file are sent to the preset gateway through the second edge cloud server.

[0187] Specifically, when the number of target electronic signs is extremely large, or when the maximum response time set by the client is very short, i.e., when the real-time requirement for responding to the display request is extremely high, a central cloud server and multiple edge cloud servers can be determined as the response end. The second edge cloud server is an edge cloud server other than the first edge cloud server among the multiple edge cloud servers. In conjunction with the above embodiment, the first edge cloud server is the management node among the multiple edge cloud servers.

[0188] In real-world scenarios, when multiple edge cloud servers act as response endpoints, it's necessary to determine one edge cloud server (i.e., the first edge cloud server) as a management node based on the random timeout duration corresponding to each edge cloud server. This management node receives the display file sent by the central cloud server, distributes the display file to other edge cloud servers (second edge cloud servers), and assigns the corresponding task of displaying the target electronic signage to the other edge cloud nodes. For example, when responding to a display request, the management node determines which electronic signage to display on each of the second edge cloud servers.

[0189] In this embodiment, the response end for responding to the display request is determined based on the number of target electronic signs requested in the display request and / or the estimated response time of the central cloud server in responding to the display request. Based on the response end, the display request is responded to. This allows for flexible determination of whether the central cloud server and / or edge cloud server should respond to the display request, according to the display requirements of the electronic signs in the actual scenario and the data processing capabilities of the central cloud server. This alleviates the processing pressure on the central cloud server, reduces network bandwidth usage, and decreases computational latency.

[0190] This application provides a request processing apparatus, such as... Figure 7 As shown, the request processing device 70 may include: a receiving module 701, a determining module 702, and a response module 703, wherein,

[0191] The receiving module 701 is used to receive the display request sent by the client to display the target electronic signboard;

[0192] The determining module 702 is used to determine the response end that responds to the display request based on the number of the target electronic signs requested in the display request and / or the expected response time of the central cloud server in response to the display request;

[0193] The response end includes the central cloud server and / or an edge cloud server that has a communication connection with the central cloud server;

[0194] The response module 703 is used to respond to the display request based on the response terminal.

[0195] In one embodiment of this application, the apparatus further includes a duration determination module, configured to determine the estimated response time for displaying the target electronic signboard based on the idle processing resources and / or processing speed of the central cloud server after receiving a display request from the client.

[0196] In one embodiment of this application, the determining module is specifically used for:

[0197] If the number of target electronic signs is less than a first preset threshold, and / or the expected response time is less than a second preset threshold, the central cloud server is determined to be the response end;

[0198] If the number of target electronic signs is greater than a first preset threshold, and / or the expected response time is greater than a second preset threshold, then the central cloud server and at least one edge cloud server are determined to be the response endpoints.

[0199] In one embodiment of this application, when the central cloud server is determined to be the responding end,

[0200] The response module is specifically used for:

[0201] Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file;

[0202] A display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0203] In one embodiment of this application, if the central cloud server and at least one of the edge cloud servers are determined to be the responding endpoints,

[0204] The response module is specifically used for:

[0205] Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file;

[0206] Establish a communication connection with the target edge cloud server; send the display file to the target edge cloud server, so as to send a display instruction and the display file to a preset gateway through the target edge cloud server, and send the display file to the target electronic sign through the preset gateway, instructing the target electronic sign to display the sign content through the preset display template.

[0207] In one embodiment of this application, when the edge cloud server includes multiple servers, the apparatus further includes a target determination module, used after the generation of the display file,

[0208] The target edge cloud server is determined based on the random timeout duration corresponding to each edge cloud server.

[0209] Establish a communication connection with the target edge cloud server.

[0210] The apparatus in this application embodiment can execute the method provided in this application embodiment, and the implementation principle is similar. The actions performed by each module in the apparatus of each embodiment of this application correspond to the steps in the method of each embodiment of this application. For detailed functional descriptions of each module of the apparatus, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.

[0211] In this embodiment, the response end for responding to the display request is determined based on the number of target electronic signs requested in the display request and / or the estimated response time of the central cloud server in responding to the display request. Based on the response end, the display request is responded to. This allows for flexible determination of whether the central cloud server and / or edge cloud server should respond to the display request, according to the display requirements of the electronic signs in the actual scenario and the data processing capabilities of the central cloud server. This alleviates the processing pressure on the central cloud server, reduces network bandwidth usage, and decreases computational latency.

[0212] This application provides a request processing apparatus, such as... Figure 8 As shown, the request processing device 80 may include: a connection module 801 and a response module 802, wherein,

[0213] The connection module 801 is used to respond to the client's request to display the target electronic sign and establish a communication connection with the central cloud server.

[0214] Wherein, the number of target electronic signs is greater than a first preset threshold, and / or the expected response time of the central cloud server in response to the display request is greater than a second preset threshold;

[0215] The response module 802 is used to respond to the display request.

[0216] In one embodiment of this application, the response module is specifically used for:

[0217] Receive and store the display file sent by the central cloud server; wherein the display file is generated based on the sign content of the target electronic sign added to the display template;

[0218] A display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

[0219] In one embodiment of this application, a second edge cloud server is also included.

[0220] The device further includes a sending module, which is used to send the display file to the second edge cloud server after receiving the display file sent by the central cloud server, so as to send the display instruction and the display file to the preset gateway through the second edge cloud server.

[0221] The apparatus in this application embodiment can execute the method provided in this application embodiment, and the implementation principle is similar. The actions performed by each module in the apparatus of each embodiment of this application correspond to the steps in the method of each embodiment of this application. For detailed functional descriptions of each module of the apparatus, please refer to the descriptions in the corresponding methods shown above, which will not be repeated here.

[0222] In this embodiment, the response end for responding to the display request is determined based on the number of target electronic signs requested in the display request and / or the estimated response time of the central cloud server in responding to the display request. Based on the response end, the display request is responded to. This allows for flexible determination of whether the central cloud server and / or edge cloud server should respond to the display request, according to the display requirements of the electronic signs in the actual scenario and the data processing capabilities of the central cloud server. This alleviates the processing pressure on the central cloud server, reduces network bandwidth usage, and decreases computational latency.

[0223] This application provides an electronic device comprising: a memory and a processor; at least one program stored in the memory, which, when executed by the processor, can achieve the following compared to the prior art: In this application, based on the number of target electronic signs requested in the display request and / or the expected response time of the central cloud server in responding to the display request, a response terminal for responding to the display request is determined, and the display request is responded to based on the response terminal; thus, the display request can be flexibly determined to be responded to by the central cloud server and / or the edge cloud server according to the display requirements of electronic signs in the actual scenario and the data processing capabilities of the central cloud server, alleviating the processing pressure on the central cloud server, reducing network bandwidth consumption, and reducing computational latency.

[0224] In one alternative embodiment, an electronic device is provided, such as Figure 9 As shown, Figure 9 The illustrated electronic device 9000 includes a processor 9001 and a memory 9003. The processor 9001 and the memory 9003 are connected, for example, via a bus 9002. Optionally, the electronic device 9000 may further include a transceiver 9004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 9004 is not limited to one type, and the structure of the electronic device 9000 does not constitute a limitation on the embodiments of this application.

[0225] Processor 9001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 9001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0226] Bus 9002 may include a pathway for transmitting information between the aforementioned components. Bus 9002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 9002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 9 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0227] The memory 9003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0228] The memory 9003 stores application code (computer program) that executes the solution of this application, and its execution is controlled by the processor 9001. The processor 9001 executes the application code stored in the memory 9003 to implement the content shown in the foregoing method embodiments.

[0229] Electronic devices include, but are not limited to: mobile phones, laptops, multimedia players, desktop computers, etc.

[0230] This application provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the corresponding content in the aforementioned method embodiments.

[0231] In this embodiment, the response end for responding to the display request is determined based on the number of target electronic signs requested in the display request and / or the estimated response time of the central cloud server in responding to the display request. Based on the response end, the display request is responded to. This allows for flexible determination of whether the central cloud server and / or edge cloud server should respond to the display request, according to the display requirements of the electronic signs in the actual scenario and the data processing capabilities of the central cloud server. This alleviates the processing pressure on the central cloud server, reduces network bandwidth usage, and decreases computational latency.

[0232] The terms "first," "second," "third," "fourth," "1," "2," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than that shown in the figures or text.

[0233] It should be understood that although arrows indicate various operation steps in the flowcharts of this application's embodiments, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of this application's embodiments, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all steps in each flowchart, based on the actual implementation scenario, may include multiple sub-steps or multiple stages. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and this application's embodiments do not limit this.

[0234] The above description is only an optional implementation method for some implementation scenarios of this application. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this application without departing from the technical concept of this application also fall within the protection scope of the embodiments of this application.

Claims

1. A request processing method, applied to a central cloud server, characterized in that, include: Receive requests from clients to display the target electronic signage; Based on the number of the target electronic signs requested in the display request and / or the estimated response time of the central cloud server in response to the display request, the response end for responding to the display request is determined; The response end includes the central cloud server and an edge cloud server that has a communication connection with the central cloud server; Based on the aforementioned response terminal, the display request is responded to; The method further includes: determining a target edge cloud server as a management node based on the random timeout duration corresponding to each edge cloud server, establishing a communication connection with the target edge cloud server, receiving the display file sent by the central cloud server through the management node, distributing the display file to other edge cloud servers, and assigning corresponding response display target electronic signage tasks to other edge cloud nodes; If the central cloud server and at least one of the edge cloud servers are determined to be the responding endpoints... The process of responding to the display request based on the response terminal includes: Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file; Establish a communication connection with the target edge cloud server; send the display file to the target edge cloud server, so as to send a display instruction and the display file to a preset gateway through the target edge cloud server, and send the display file to the target electronic sign through the preset gateway, instructing the target electronic sign to display the sign content through the preset display template.

2. The request processing method according to claim 1, characterized in that, After receiving the request from the client to display the target electronic signage, the method further includes: The estimated response time for displaying the target electronic signage is determined based on the idle processing resources and / or processing speed of the central cloud server.

3. The request processing method according to claim 1, characterized in that, If the central cloud server is determined to be the responding end, The process of responding to the display request based on the response terminal includes: Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file; A display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

4. The request processing method according to claim 1, characterized in that, The process of determining the response end that responds to the display request includes: If the number of target electronic signs is less than a first preset threshold, and / or the expected response time is less than a second preset threshold, the central cloud server is determined to be the response end; If the number of target electronic signs is greater than a third preset threshold and / or the expected response time is greater than a fourth preset threshold, the central cloud server and multiple edge cloud servers are determined as the response end, wherein the third preset threshold is greater than the first preset threshold and the fourth preset threshold is less than the second preset threshold.

5. A request processing method, applied to a first edge cloud server, characterized in that, include: In response to a client's request to display a target electronic sign, a communication connection is established with the central cloud server. The first edge cloud server is the management node determined by the central cloud server after the central cloud server receives the client's request to display a target electronic sign. This is based on the number of target electronic signs requested in the display request and / or the estimated response time of the central cloud server in responding to the display request. The management node is determined according to the random timeout duration corresponding to each edge cloud server. Wherein, the number of target electronic signs is greater than a first preset threshold, and / or the expected response time of the central cloud server in response to the display request is greater than a second preset threshold; Responding to the display request; The method further includes: The system receives the display file sent by the central cloud server, distributes the display file to other edge cloud servers, and assigns the corresponding task of displaying the target electronic sign to other edge cloud nodes. The method further includes: The central cloud server obtains the sign content of the target electronic sign and adds the sign content to a preset display template to generate a display file; The central cloud server establishes a communication connection with the target edge cloud server; it sends the display file to the target edge cloud server, so that the target edge cloud server can send a display instruction and the display file to a preset gateway, and the preset gateway can send the display file to the target electronic signboard, instructing the target electronic signboard to display the signboard content through the preset display template.

6. The request processing method according to claim 5, characterized in that, The response to the display request includes: Receive and store the display file sent by the central cloud server; wherein the display file is generated based on the sign content of the target electronic sign added to a preset display template; A display instruction and the display file are sent to a preset gateway to send the display file to the target electronic signboard through the preset gateway, instructing the target electronic signboard to display the signboard content through the preset display template.

7. The request processing method according to claim 5, characterized in that, It also includes a second edge cloud server. After receiving the display file sent by the central cloud server, the method further includes: The display file is sent to the second edge cloud server so that the display command and the display file are sent to the preset gateway through the second edge cloud server.

8. A request processing apparatus, characterized in that, include: The receiving module is used to receive requests from clients to display the target electronic signage; The determining module is used to determine the response end that responds to the display request based on the number of the target electronic signs requested in the display request and / or the expected response time of the central cloud server in response to the display request; The response end includes the central cloud server and an edge cloud server that has a communication connection with the central cloud server; The response module is used to respond to the display request based on the response terminal; The response end includes the central cloud server and at least one of the edge cloud servers. The response module is also used to determine a target edge cloud server as a management node based on the random timeout duration corresponding to each edge cloud server, establish a communication connection with the target edge cloud server, receive the display file sent by the central cloud server through the management node, distribute the display file to other edge cloud servers, and assign the corresponding response display target electronic sign task to other edge cloud nodes. If the central cloud server and at least one of the edge cloud servers are determined to be the responding endpoints... The determining module is specifically used for: Obtain the sign content of the target electronic sign, add the sign content to a preset display template, and generate a display file; Establish a communication connection with the target edge cloud server; send the display file to the target edge cloud server, so as to send a display instruction and the display file to a preset gateway through the target edge cloud server, and send the display file to the target electronic sign through the preset gateway, instructing the target electronic sign to display the sign content through the preset display template.

9. A request processing apparatus, characterized in that, include: The connection module is used to respond to a client's request to display a target electronic signage, establish a communication connection with the central cloud server, and determine the central cloud server and the edge cloud server with communication connection with the central cloud server as the responding end based on the number of target electronic signsage requested in the display request and / or the expected response time of the central cloud server in responding to the display request. The first edge cloud server is the management node determined according to the random timeout duration corresponding to each edge cloud server. Wherein, the number of target electronic signs is greater than a first preset threshold, and / or the expected response time of the central cloud server in response to the display request is greater than a second preset threshold; A response module is used to respond to the display request; The response module is also used to receive the display file sent by the central cloud server, distribute the display file to other edge cloud servers, and assign the corresponding response display target electronic sign task to other edge cloud nodes; The process involves a central cloud server acquiring the sign content of the target electronic sign and adding it to a preset display template to generate a display file. The central cloud server establishes a communication connection with a target edge cloud server. The display file is then sent to the target edge cloud server to send a display instruction and the display file to a preset gateway. The preset gateway then sends the display file to the target electronic sign, instructing the target electronic sign to display the sign content through the preset display template.

10. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to: perform the request processing method according to any one of claims 1 to 7.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the request processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Electric quantity prompting method, electronic label, system and storage medium

    CN114047447A

  • Network resource scheduling method, gateway device, edge and cloud data center server

    CN115378938A