Display content updating method and system

The target data is actively obtained and parsed by the device side and updated the displayed content by itself, solving the problem of inefficiency caused by the large workload of the server and improving the efficiency of display content update.

CN118939147APending Publication Date: 2024-11-12SHENZHEN HUIDU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410935316.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

When updating the display content on the device side, the server needs to handle a large number of events, resulting in low data acquisition efficiency and affecting the efficiency of updating the display content.

Method used

The device side actively sends data acquisition instructions to the server, and determines the area key and area values ​​based on the received target data, and updates the displayed contents by itself, without the need for the server to actively search and send relevant data.

Benefits of technology

It improves the efficiency of updating the display content on the device side, reduces the workload on the server side, and improves the efficiency of data acquisition and update.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939147A_ABST
    Figure CN118939147A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a display content updating method and system. The method is applied to a device side, at least one alternative area is displayed on the device side, and the method comprises the steps that a data acquisition instruction is sent to a server side, and under the condition that target data returned by the server side for the data acquisition instruction is received, the alternative area is obtained according to the target data; determining at least one area key and an area value respectively corresponding to the at least one area key; for each alternative area in the at least one alternative area, under the condition that the alternative area is bound with any one area key in the at least one area key, taking the alternative area as a target area, determining a target value of the target area from the area values corresponding to the at least one area key, and determining the target value of the target area according to the target value. And updating the display content of the target area. According to the technical scheme provided by the embodiment of the invention, the display content updating efficiency of the equipment end is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of display content updating, and in particular to a display content updating method and system. Background Art

[0002] When updating the display content on the device side, it is usually inseparable from the cooperation of the server side.

[0003] However, the server usually needs to handle various events, which is a heavy workload. This will affect its efficiency in finding relevant data for updating the displayed content, and further affect the efficiency of updating the displayed content, which needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present invention provide a method and system for updating display content, which improves the efficiency of updating display content on a device side.

[0005] According to one aspect of the present invention, a method for updating display content is provided, which is applied to a device end, and at least one candidate area is displayed on the device end. The method includes:

[0006] Sending a data acquisition instruction to the server, and determining at least one region key and a region value respectively corresponding to the at least one region key according to the target data when receiving target data returned by the server in response to the data acquisition instruction;

[0007] For each alternative area in at least one alternative area, when the alternative area is bound to any area key in at least one area key, the alternative area is used as the target area, a target value of the target area is determined from the area values ​​corresponding to the at least one area key, and the display content of the target area is updated according to the target value.

[0008] According to another aspect of the present invention, a display content update system is provided, comprising: a server and a device, wherein at least one candidate area is displayed on the device;

[0009] The device side is used to send data acquisition instructions to the server side;

[0010] The server is used to send target data to the device in response to the data acquisition instruction;

[0011] The device side is further used to determine at least one region key and a region value respectively corresponding to the at least one region key according to the target data when receiving the target data returned by the server side in response to the data acquisition instruction;

[0012] The device side is also used to, for each alternative area in at least one alternative area, when the alternative area is bound to any area key in at least one area key, use the alternative area as the target area, determine the target value of the target area from the area values ​​corresponding to the at least one area key, and update the display content of the target area according to the target value.

[0013] The technical solution of the embodiment of the present invention sends a data acquisition instruction to the server, and when receiving the target data returned by the server for the data acquisition instruction, determines at least one area key and the area value corresponding to the at least one area key according to the target data; for each candidate area in at least one candidate area, when the candidate area is bound to any area key in at least one area key, the candidate area is used as the target area, and the target value of the target area is determined from the area values ​​corresponding to the at least one area key, and the display content of the target area is updated according to the target value. In the above technical solution, the device side can actively request to obtain the target data, and determine the relevant data for updating the display content from the target data. There is no need for the server side to actively search for the relevant data for updating the display content and actively send the relevant data to the device side when displaying the content is required, which avoids the influence of the server side's large workload on the efficiency of updating the display content of the device side, and improves the efficiency of updating the display content of the device side.

[0014] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 is a flow chart of a method for updating display content provided according to an embodiment of the present invention;

[0017] Figure 2 is a flowchart of another display content updating method provided according to an embodiment of the present invention;

[0018] Figure 3 is a structural block diagram of a display content updating system provided according to an embodiment of the present invention;

[0019] Figure 4is a structural block diagram of another display content updating system provided according to an embodiment of the present invention;

[0020] Figure 5 is a structural block diagram of a display content updating device provided according to an embodiment of the present invention;

[0021] Figure 6 It is a structural diagram of a device end for implementing the display content updating method according to an embodiment of the present invention. DETAILED DESCRIPTION

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

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

[0024] Figure 1 1 is a flow chart of a method for updating display content provided in an embodiment of the present invention. This embodiment is applicable to the case of display content updating. The method can be executed by a display content updating device provided in an embodiment of the present invention, the device can be implemented by software and / or hardware, the device can be integrated on a device end, and the device end can be various user terminals.

[0025] See also Figure 1 The method of the embodiment of the present invention is applied to a device end, and at least one candidate area is displayed on the device end. The method of the embodiment of the present invention specifically includes the following steps:

[0026] S110, sending a data acquisition instruction to the server, and determining at least one region key and a region value corresponding to the at least one region key according to the target data when receiving target data returned by the server in response to the data acquisition instruction.

[0027] Among them, the server can be an http server, etc.; the target data can be configured in the server so that the device can obtain the target data through the server. The candidate area is the area displayed on the device as a candidate for the target area. The data acquisition instruction is an instruction instructing the server to return the target data. The target data is the data used to determine the update of the displayed content. The area key is a key that can identify the target area to which it is bound, and the area key can also be understood as the identifier of the target area. The target area is an alternative area in at least one candidate area that is bound to any area key in at least one area key. The area value is the data used to update the display content of the target area bound to its corresponding area key.

[0028] It is understandable that a display page on the device may display multiple areas. For example, a video display page may display a video area, a title area, a text introduction area, and other areas. The multiple displayed areas can be used as at least one alternative area.

[0029] It should be noted that the target data sent by the server does not necessarily include only at least one region key corresponding to the device end and the region value corresponding to the at least one region key. The server can send the same target data to different device ends, that is, at least one region key in the target data and the region value corresponding to the at least one region key can be applicable to different device ends. Therefore, there may be a region key in the at least one region key that is bound to any of the at least one alternative region, and there may also be a region key that is not bound to any of the at least one alternative region.

[0030] In the embodiment of the present invention, for example, at least one region key and a region value respectively corresponding to the at least one region key may be directly obtained from the target region. In the embodiment of the present invention, the method of determining at least one region key and a region value respectively corresponding to the at least one region key according to the target data is not specifically limited.

[0031] S120. For each candidate area in at least one candidate area, when the candidate area is bound to any area key in at least one area key, the candidate area is used as a target area, a target value of the target area is determined from area values ​​corresponding to the at least one area key, and display content of the target area is updated according to the target value.

[0032] The display content is the content displayed in the target area on the device side, and the target value is used to update the data of the display content in the target area.

[0033] In an embodiment of the present invention, for each alternative area in at least one alternative area, that is, whether the alternative area is bound to an area key is determined. When the alternative area is bound to any area key in at least one area key, the alternative area is used as the target area, and a target value of the target area is determined from the area values ​​corresponding to the at least one area key, and the display content of the target area is updated according to the target value.

[0034] In the embodiment of the present invention, for each of the at least one area key, when the area key is bound to any candidate area of ​​the at least one candidate area, the candidate area bound to the area key can be used as the target area.

[0035] In the embodiment of the present invention, the region value corresponding to the region key bound to the target region can be used as the target value, and the target value can be used as data for updating the display content of the target region to update the display content of the target region. In the embodiment of the present invention, there is no specific limitation on the method of determining the target value of the target region from the region values ​​respectively corresponding to at least one region key when taking the candidate region as the target region, and the method of updating the display content of the target region according to the target value.

[0036] In an embodiment of the present invention, the display content update method also includes: determining, from at least one candidate area, an area to be processed that overlaps with any binding area in at least one binding area according to the received correspondence relationship sent by the first configuration end, to obtain at least one area to be processed; for each area to be processed in the at least one area to be processed, binding the area to be processed with a binding key corresponding to the area to be processed according to the correspondence relationship, and using the binding key bound to the area to be processed as the area key corresponding to the area to be processed; wherein the correspondence relationship includes a correspondence relationship between at least one binding key and at least one binding area, and at least one binding area at least partially overlaps with at least one candidate area.

[0037] In the embodiment of the present invention, sending the data acquisition instruction to the server includes: sending the data acquisition instruction to the server according to the received access time sent by the second configuration end.

[0038] In the embodiment of the present invention, sending the data acquisition instruction to the server includes: sending the data acquisition instruction to the server according to the address of the server sent by the third configuration end.

[0039] In an embodiment of the present invention, the display content update method also includes: receiving configuration data sent by a fourth configuration terminal, wherein the configuration data includes a corresponding relationship, an access time and / or an access time; according to the corresponding relationship, determining a to-be-processed area that overlaps with any binding area in at least one binding area from at least one candidate area to obtain at least one to-be-processed area, and for each to-be-processed area in the at least one to-be-processed area, binding the to-be-processed area with a binding key corresponding to the to-be-processed area according to the corresponding relationship, and using the binding key bound to the to-be-processed area as the area key corresponding to the to-be-processed area; and / or, sending a data acquisition instruction to the server according to the access time; and / or, sending a data acquisition instruction to the server according to the address of the server.

[0040] The technical solution of the embodiment of the present invention sends a data acquisition instruction to the server, and when receiving the target data returned by the server for the data acquisition instruction, determines at least one area key and the area value corresponding to the at least one area key according to the target data; for each candidate area in at least one candidate area, when the candidate area is bound to any area key in at least one area key, the candidate area is used as the target area, and the target value of the target area is determined from the area values ​​corresponding to the at least one area key, and the display content of the target area is updated according to the target value. In the above technical solution, the device side can actively request to obtain the target data, and determine the relevant data for updating the display content from the target data. There is no need for the server side to actively search for the relevant data for updating the display content and actively send the relevant data to the device side when displaying the content is required, which avoids the influence of the server side's large workload on the efficiency of updating the display content of the device side, and improves the efficiency of updating the display content of the device side.

[0041] An optional technical solution, based on target data, determines at least one area key and the area value corresponding to the at least one area key, including: parsing the target data according to preset data parsing rules; and determining at least one area key and the area value corresponding to the at least one area key based on the parsing results.

[0042] The data analysis rules are rules for analyzing target data, and the analysis results are the results obtained by analyzing the target data case data analysis rules.

[0043] It can be understood that the structure of the target data can be designed according to certain design rules. The target data can, according to the design rules, include at least one area key, an area value corresponding to at least one area key, and an update trigger condition including a condition representing an update time interval for updating the displayed content or a condition representing an update time for updating the displayed content, etc.

[0044] For example, the target data is, for example, {date:["key":{"value":"updated data","condition":"trigger condition (such as time update, update at intervals)""time":"replace with value data after condition reaches time"},"key":{...}]}. According to the data parsing rules, at least one area key "key" and area values ​​"updated data" corresponding to at least one area key can be parsed from the target data. The update trigger condition "trigger condition (such as time update, update at intervals)" and the trigger condition as the time update condition, that is, the specific time when the update time condition of the display content is updated "replace with value data after condition reaches time" and so on can also be parsed. The above parsed contents can be used as the parsing results, and then at least one area key and area values ​​corresponding to at least one area key can be determined according to the parsing results. Accordingly, the update trigger conditions corresponding to at least one area key and so on can also be determined according to the parsing results. In the embodiment of the present invention, the method of parsing the target data according to the preset data parsing rules and the method of determining at least one area key and area values ​​corresponding to at least one area key according to the parsing results are not specifically limited.

[0045] Exemplarily, the update trigger condition includes a condition representing an update time for updating the displayed content; determining whether the current time reaches the update time, and updating the displayed content of the target area according to the target value under the condition that the current time reaches the update time.

[0046] The above technical solution can improve the accuracy and determination efficiency of the at least one area key and the area value corresponding to the at least one area key by parsing the target data according to preset data parsing rules, and then determining at least one area key and the area value corresponding to the at least one area key.

[0047] Another optional technical solution is to update the display content of the target area according to the target value, including: generating a content update texture according to the target value, and rendering the target area according to the content update texture to update the display content of the target area.

[0048] The content update texture is a texture after the display content is updated and is used to update the display content of the target area.

[0049] In an embodiment of the present invention, a content update texture can be generated according to the target value. After being displayed in the target area, the content update texture can represent the display content and be updated. Therefore, the target area can be rendered according to the content update texture to update the display content of the target area. The above technical solution can update the display content of the target area by rendering the target area according to the generated content update texture, thereby improving the display effect after the display content is updated.

[0050] Figure 2 It is a flowchart of another display content update method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, before updating the display content of the target area according to the target value, it also includes: determining the update trigger condition corresponding to at least one area key according to the target data; determining the target trigger condition of the target area from the update trigger conditions corresponding to at least one area key according to the area key corresponding to the target area; updating the display content of the target area according to the target value, including: updating the display content of the target area according to the target value and the target trigger condition. Among them, the explanation of the terms that are the same or corresponding to the above-mentioned embodiments will not be repeated here.

[0051] See also Figure 2 The method of the embodiment of the present invention is applied to a device end, and at least one candidate area is displayed on the device end. The method of the embodiment of the present invention specifically includes the following steps:

[0052] S210: Send a data acquisition instruction to the server, and upon receiving target data returned by the server in response to the data acquisition instruction, determine at least one region key and a region value corresponding to the at least one region key according to the target data.

[0053] S220. Determine, according to the target data, an update trigger condition corresponding to at least one area key.

[0054] Among them, the update trigger condition is a condition for triggering the update of the display content of the target area corresponding to the area key corresponding to the update trigger condition; the update trigger condition may, for example, include a condition representing the update time interval for updating the display content or a condition representing the update time for updating the display content, etc.

[0055] S230. Determine a target trigger condition of the target area from update trigger conditions corresponding to at least one area key according to the area key corresponding to the target area.

[0056] The target trigger condition is an update trigger condition of the target area.

[0057] In the embodiment of the present invention, among the update trigger conditions corresponding to the at least one area key, the update trigger condition corresponding to the area key corresponding to the target area may be used as the target trigger condition.

[0058] S240. For each candidate area in at least one candidate area, when the candidate area is bound to any area key in at least one area key, the candidate area is used as the target area, a target value of the target area is determined from the area values ​​corresponding to the at least one area key, and the display content of the target area is updated according to the target value and the target trigger condition.

[0059] It should be noted that after determining the target value of the target area, the display content of the target area may not be updated immediately. The display content of the target area may be updated according to the target value when the update trigger condition is met, for example, when the current time reaches the update time for updating the display content determined according to the update trigger condition. In the embodiment of the present invention, the method for updating the display content of the target area according to the target value and the target trigger condition is not specifically limited.

[0060] The technical solution of the embodiment of the present invention is to determine the update trigger conditions corresponding to at least one area key respectively according to the target data before updating the display content of the target area according to the target value; determine the target trigger condition of the target area from the update trigger conditions corresponding to at least one area key respectively according to the area key corresponding to the target area; and update the display content of the target area according to the target value and the target trigger condition. The above technical solution can update the display content of the target area according to the target value and the target trigger condition, so that the update of the display content of the target area can be updated under the condition of meeting the demand.

[0061] An optional technical solution, wherein the update trigger condition includes a condition representing an update time interval for updating the displayed content; before updating the displayed content of the target area according to the target value and the target trigger condition, the condition also includes: storing the target value in a key value pool, and setting the target state of the target value stored in the key value pool to not updated; after updating the displayed content of the target area according to the target value and the target trigger condition, the condition also includes: setting the content state of the displayed content to updated, and setting the target state of the target value stored in the key value pool to updated; updating the displayed content of the target area according to the target value and the target trigger condition, including: when the time difference between the current time and the last judgment time is equal to the update time interval, judging whether the target state is consistent with the content state; when the target state is inconsistent with the content state, obtaining the target value from the key value pool, and updating the displayed content of the target area according to the target value.

[0062] Among them, the update time interval is the interval used to determine whether to update the displayed content. The key value pool is applicable to the pool for storing target values. The target state is the state of whether the target value has been used to update the displayed content. The content state is the state of whether the displayed content has been updated. The last judgment time is the time when the target state and the content state were last judged to be consistent.

[0063] It can be understood that, in the case where the update trigger condition includes the condition of the update time interval characterizing the update of the display content, it means that the update trigger condition is satisfied when the display content is updated every update time interval requirement. However, in the case where the target value has not changed, updating the display content will lead to a waste of resources. Therefore, before updating the display content of the target area according to the target value and the target trigger condition, the target value may be stored in the area corresponding to the target key corresponding to the target value in the key value pool, so as to facilitate the acquisition of the target value when the display content of the target area is subsequently updated according to the target value, and the target state of the target value stored in the key value pool is set to not updated; when updating the display content of the target area according to the target value and the target trigger condition, Afterwards, the content status of the displayed content is set to updated to indicate that the displayed content has been updated, and the target status of the target value stored in the key value pool is set to updated, which means that the target value has been used to update the displayed content; when the time difference between the current time and the previous judgment time is equal to the update time interval, it means that the update trigger condition is met, and it is determined whether the target status is consistent with the content status; when the target status is inconsistent with the content status, it means that the target value has not been used to update the displayed content, and the target value can be obtained from the key value pool, and the displayed content of the target area is updated according to the target value; when the target status is consistent with the content status, it means that the target value has been used to update the displayed content, and the displayed content of the target area is not updated.

[0064] In the embodiment of the present invention, by setting the target state of the target value stored in the key-value pool, it is possible to avoid wasting resources when the update trigger condition includes a condition representing an update time interval for updating the displayed content.

[0065] Figure 3 1 is a structural block diagram of a display content updating system provided in an embodiment of the present invention. This embodiment is applicable to the case of display content updating.

[0066] See also Figure 3The display content update system of the embodiment of the present invention includes: a server 310 and a device 320, wherein at least one candidate area is displayed on the device 320; wherein the device 320 is used to send a data acquisition instruction to the server 310; the server 310 is used to send target data to the device 320 in response to the data acquisition instruction; the device 320 is also used to determine at least one area key and the area value corresponding to the at least one area key according to the target data when receiving the target data returned by the server 310 in response to the data acquisition instruction; the device 320 is also used to, for each candidate area in the at least one candidate area, when the candidate area is bound to any area key in the at least one area key, take the candidate area as the target area, determine the target value of the target area from the area values ​​corresponding to the at least one area key, and update the display content of the target area according to the target value. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here.

[0067] In an embodiment of the present invention, the device end 320 is also used to determine, based on the target data, an update trigger condition corresponding to at least one area key before updating the display content of the target area according to the target value; determine, based on the area key corresponding to the target area, a target trigger condition of the target area from the update trigger conditions corresponding to at least one area key; the device end 320 is specifically used to update the display content of the target area according to the target value and the target trigger condition.

[0068] In an embodiment of the present invention, the update trigger condition includes a condition that characterizes an update time interval for updating the displayed content; the device end 320 is also used to store the target value in a key value pool before updating the displayed content of the target area according to the target value and the target trigger condition, and set the target state of the target value stored in the key value pool to not updated; the device end 320 is also used to set the content state of the displayed content to updated after updating the displayed content of the target area according to the target value and the target trigger condition, and set the target state of the target value stored in the key value pool to updated; the device end 320 is specifically used to determine whether the target state is consistent with the content state when the time difference between the current time and the previous determination time is equal to the update time interval; when the target state is inconsistent with the content state, obtain the target value from the key value pool, and update the displayed content of the target area according to the target value.

[0069] In the embodiment of the present invention, the device end 320 is specifically used to parse the target data according to a preset data parsing rule; and determine at least one region key and a region value corresponding to the at least one region key according to the parsing result.

[0070] In the embodiment of the present invention, the device end 320 is specifically configured to generate a content update texture according to a target value, and render a target area according to the content update texture to update display content of the target area.

[0071] The technical solution of the embodiment of the present invention is to send a data acquisition instruction to the server through the device side; send target data to the device side in response to the data acquisition instruction through the server side; determine at least one area key and the area value corresponding to the at least one area key according to the target data when the target data returned by the server side in response to the data acquisition instruction is received through the device side; for each candidate area in at least one candidate area, when the candidate area is bound to any area key in at least one area key, the candidate area is used as the target area, and the target value of the target area is determined from the area values ​​corresponding to the at least one area key, and the display content of the target area is updated according to the target value. In the above technical solution, the device side can actively request to obtain the target data, and determine the relevant data for updating the display content from the target data by itself, without the need for the server side to actively search for the relevant data for updating the display content and actively send the relevant data to the device side when displaying the content is required, thereby avoiding the influence of the server side on the efficiency of updating the display content of the device side due to the large workload, and improving the efficiency of updating the display content of the device side.

[0072] Figure 4 : is a structural block diagram of another display content update system provided by an embodiment of the present invention. This embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the number of device terminals is at least two; wherein each of the at least two device terminals is specifically used to send a data acquisition instruction to the server. The explanations of the terms that are the same or corresponding to the above embodiments are not repeated here.

[0073] For details, see Figure 4 The display content updating system of this embodiment includes: a server end 410 and a device end 420, and the number of the device ends 420 is at least two. Figure 4Taking the number of device ends 420 as two as an example, at least one alternative area is displayed on the device end 420; wherein each device end 420 of the at least two device ends 420 is specifically used to send a data acquisition instruction to the server end 410; the server end 410 is used to send target data to the device end 420 in response to the data acquisition instruction; the device end 420 is also used to determine at least one area key and an area value corresponding to the at least one area key according to the target data when receiving the target data returned by the server end 410 for the data acquisition instruction; the device end 420 is also used to, for each alternative area in the at least one alternative area, when the alternative area is bound to any area key in the at least one area key, use the alternative area as the target area, determine the target value of the target area from the area values ​​corresponding to the at least one area key, and update the display content of the target area according to the target value.

[0074] It is understandable that there may be multiple device terminals 420 in a cluster, and there may be a problem that the display contents such as pictures, texts or videos corresponding to the same area on multiple device terminals 420 need to be updated and changed at the same time. However, in this case, it is inefficient to use the server terminal 410 to actively send updated display content-related data to the device terminals 420 one by one, and the device terminals 420 cannot be notified in time when the updated display content-related data changes, which inevitably leads to some abnormal situations, such as failure to update to the specified area, and abnormal situations returned by the server terminal 410 to the device terminal 420. For this reason, a technical solution in an embodiment of the present invention is proposed, which can achieve high update efficiency and reduce the occurrence of abnormal situations when the display contents of multiple device terminals 420 are updated synchronously.

[0075] In an embodiment of the present invention, each of at least two device terminals sends a data acquisition instruction to a server terminal; the server terminal sends target data to the device terminal in response to the data acquisition instruction; the device terminal, upon receiving the target data returned by the server terminal in response to the data acquisition instruction, determines at least one region key and a region value corresponding to the at least one region key according to the target data; the device terminal, for each candidate region in at least one candidate region, in the case where the candidate region is bound to any region key in at least one region key, uses the candidate region as a target region, determines a target value of the target region from the region values ​​corresponding to the at least one region key, and updates the display content of the target region according to the target value. The above technical solution can send a data acquisition instruction to the server terminal through two device terminals, and the server terminal sends the same target data to the two device terminals respectively, so that the device terminal can update the display content of the target region that needs to be updated according to the target data, which not only improves the efficiency of updating the display content of the device terminal, but also can realize the synchronous update of at least two device terminals when the same content needs to be updated synchronously in some target regions displayed on at least two device terminals.

[0076] An optional technical solution, a display content update system, also includes: a first configuration end; the first configuration end is used to send a corresponding relationship to a device end, wherein the corresponding relationship includes a corresponding relationship between at least one binding key and at least one binding area, and at least one binding area at least partially overlaps with at least one alternative area displayed on the device end; the device end is also used to: determine, from at least one alternative area, a to-be-processed area that overlaps with any binding area in at least one binding area based on the received corresponding relationship, to obtain at least one to-be-processed area; for each to-be-processed area in at least one to-be-processed area, bind the to-be-processed area to the binding key corresponding to the to-be-processed area according to the corresponding relationship, and use the binding key bound to the to-be-processed area as the area key corresponding to the to-be-processed area.

[0077] The first configuration terminal is a configuration terminal for configuring a device-side display content update strategy. A binding key is a key that can be bound to a binding area. A binding area is an area that can be bound to a binding key. A pending area is an area in at least one candidate area that needs to be bound to its corresponding binding key.

[0078] In an embodiment of the present invention, the device end can determine, from at least one candidate area, a candidate area that overlaps with any binding area in at least one binding area as a to-be-processed area based on the received corresponding relationship, to obtain at least one to-be-processed area; for each to-be-processed area in the at least one to-be-processed area, according to the corresponding relationship, determine a binding key corresponding to the binding area that overlaps with the to-be-processed area as the binding key corresponding to the to-be-processed area, bind the binding key to the to-be-processed area, and use the binding key bound to the to-be-processed area as the area key corresponding to the to-be-processed area. The above technical solution can be performed by binding the to-be-processed area and the binding key, and then using the binding key bound to the to-be-processed area as the area key corresponding to the to-be-processed area, so as to facilitate determining the target area from at least one candidate area through the area key.

[0079] Another optional technical solution, the display content update system also includes: a second configuration end; the second configuration end is used to send the access time of the accessible server to the device end; the device end is specifically used to: send a data acquisition instruction to the server end according to the received access time.

[0080] The second configuration terminal is a configuration terminal used to configure the device end display content update strategy. The access time is the time when the device end sends a data acquisition instruction to the server end.

[0081] In an embodiment of the present invention, the second configuration end can send the access time of the server to the device end; the device end can send a data acquisition instruction to the server end when the received access time is reached. The above technical solution can make the device end send the data acquisition instruction to the server end when the device end is required to send the data acquisition instruction to the server end, avoiding repeated sending of data acquisition instructions to the server end, thereby avoiding waste of resources.

[0082] Another optional technical solution is a display content update system, which also includes: a third configuration terminal; the third configuration terminal is used to send the address of the server to the device terminal; the device terminal is specifically used to: send a data acquisition instruction to the server according to the received address.

[0083] The third configuration terminal is a configuration terminal for configuring a display content update strategy of the device terminal. The address is the address of the server terminal; the address may be, for example, an http / https address.

[0084] It should be noted that the first configuration terminal, the second configuration terminal and the third configuration terminal may be the same configuration terminal or different configuration terminals.

[0085] In an embodiment of the present invention, the third configuration end can send the address of the server end to the device end; the device end can access the address according to the received address to send a data acquisition instruction to the server end. The above technical solution can realize sending a data acquisition instruction to the correct server end.

[0086] Figure 5 This is a structural block diagram of a display content updating device provided in an embodiment of the present invention, and the device is used to execute the display content updating method provided in any of the above embodiments. The device and the display content updating method of the above embodiments belong to the same inventive concept, and the details not described in detail in the embodiment of the display content updating device can refer to the embodiment of the above display content updating method. Figure 5 The device may specifically include: an area value determination module 510 and a display content update module 520.

[0087] The region value determination module 510 is used to send a data acquisition instruction to the server, and determine at least one region key and a region value corresponding to the at least one region key according to the target data when receiving target data returned by the server in response to the data acquisition instruction;

[0088] The display content update module 520 is used to, for each alternative area in at least one alternative area, when the alternative area is bound to any area key in at least one area key, use the alternative area as the target area, determine the target value of the target area from the area values ​​corresponding to the at least one area key, and update the display content of the target area according to the target value.

[0089] Optionally, the device may further include:

[0090] An update trigger condition determination module, used to determine an update trigger condition corresponding to at least one area key according to the target data before updating the display content of the target area according to the target value;

[0091] A target trigger condition determination module, configured to determine a target trigger condition of a target area from update trigger conditions respectively corresponding to at least one area key according to the area key corresponding to the target area;

[0092] The display content updating module 520 includes:

[0093] The first display content updating unit is used to update the display content of the target area according to the target value and the target trigger condition.

[0094] Optionally, based on the above device, the update trigger condition includes a condition representing an update time interval for updating the displayed content;

[0095] The device may also include:

[0096] A first target state setting module is used to store the target value in a key value pool and set the target state of the target value stored in the key value pool to not updated before updating the display content of the target area according to the target value and the target trigger condition;

[0097] The device may also include:

[0098] A second target state setting module is used to set the content state of the displayed content to updated and the target state of the target value stored in the key value pool to updated after the displayed content of the target area is updated according to the target value and the target trigger condition;

[0099] The first display content updating unit includes:

[0100] A state judgment subunit, used to judge whether the target state is consistent with the content state when the time difference between the current time and the last judgment time is equal to the update time interval;

[0101] The display content update subunit is used to obtain the target value from the key value pool when the target state is inconsistent with the content state, and update the display content of the target area according to the target value.

[0102] Optionally, the region value determination module 510 includes:

[0103] A target data parsing unit, used to parse the target data according to preset data parsing rules;

[0104] The region value determination unit is used to determine at least one region key and a region value respectively corresponding to the at least one region key according to the parsing result.

[0105] Optionally, the display content updating module 520 includes:

[0106] The second display content updating unit is used to generate a content update texture according to the target value, and render the target area according to the content update texture to update the display content of the target area.

[0107] The display content update device provided by the embodiment of the present invention sends a data acquisition instruction to the server through the area value determination module, and determines at least one area key and the area value corresponding to the at least one area key according to the target data when receiving the target data returned by the server for the data acquisition instruction; through the display content update module, for each candidate area in at least one candidate area, when the candidate area is bound to any area key in at least one area key, the candidate area is used as the target area, and the target value of the target area is determined from the area values ​​corresponding to at least one area key, and the display content of the target area is updated according to the target value. In the above device, the device side can actively request to obtain the target data, and determine the relevant data for updating the display content from the target data by itself, without the need for the server side to actively search for the relevant data for updating the display content and actively send the relevant data to the device side when display content is required, thereby avoiding the influence of the server side on the efficiency of updating the display content of the device side due to the large workload, and improving the efficiency of updating the display content of the device side.

[0108] The display content updating device provided in the embodiment of the present invention can execute the display content updating method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0109] It is worth noting that in the above-mentioned embodiment of the display content updating device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0110] Figure 6 A schematic diagram of the structure of the device end 10 that can be used to implement an embodiment of the present invention is shown. The device end is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, mainframe computers, and other suitable computers. The device end can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0111] like Figure 6As shown, the device end 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the device end 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0112] A number of components in the device end 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the device end 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0113] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a display content update method.

[0114] In some embodiments, the display content update method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the device end 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the display content update method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the display content update method in any other appropriate manner (e.g., by means of firmware).

[0115] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0116] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0117] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0118] In order to provide interaction with the user, the systems and techniques described herein can be implemented on a device end, which has: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball), through which the user can provide input to the device end. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and the input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0119] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0120] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0121] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0122] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for updating display content, It is characterized in that Applied to a device, the device displays at least one candidate area, and the method includes: Sending a data acquisition instruction to a server, and upon receiving target data returned by the server in response to the data acquisition instruction, determining at least one region key and a region value respectively corresponding to the at least one region key according to the target data; For each of the at least one alternative area, when the alternative area is bound to any one of the at least one area key, the alternative area is used as the target area, a target value of the target area is determined from the area values ​​corresponding to the at least one area key, and the display content of the target area is updated according to the target value.

2. The method according to claim 1, It is characterized in that Before updating the display content of the target area according to the target value, the method further includes: Determining, according to the target data, update trigger conditions corresponding to the at least one region key respectively; According to the area key corresponding to the target area, determining a target trigger condition of the target area from the update trigger conditions respectively corresponding to the at least one area key; The updating of the display content of the target area according to the target value includes: The display content of the target area is updated according to the target value and the target trigger condition.

3. The method according to claim 2, It is characterized in that The update triggering condition includes a condition representing an update time interval for updating the displayed content; Before updating the display content of the target area according to the target value and the target trigger condition, the method further includes: Storing the target value in a key value pool, and setting the target state of the target value stored in the key value pool to not updated; After updating the display content of the target area according to the target value and the target trigger condition, the method further includes: Setting the content state of the displayed content to updated, and setting the target state of the target value stored in the key-value pool to updated; The updating of the display content of the target area according to the target value and the target trigger condition includes: In the case where the time difference between the current time and the last determination time is equal to the update time interval, determining whether the target state is consistent with the content state; When the target state is inconsistent with the content state, the target value is obtained from the key value pool, and the display content of the target area is updated according to the target value.

4. The method according to claim 1, It is characterized in that The determining, according to the target data, at least one area key and an area value respectively corresponding to the at least one area key comprises: Parsing the target data according to preset data parsing rules; According to the parsing result, the at least one region key and the region values ​​respectively corresponding to the at least one region key are determined.

5. The method according to claim 1, It is characterized in that The updating of the display content of the target area according to the target value includes: A content update texture is generated according to the target value, and the target area is rendered according to the content update texture to update the display content of the target area.

6. A display content updating system, It is characterized in that It includes: a server and a device, wherein at least one candidate area is displayed on the device; wherein: The device side is used to send a data acquisition instruction to the server side; The server is used to send target data to the device in response to the data acquisition instruction; The device side is further configured to determine at least one region key and a region value respectively corresponding to the at least one region key according to the target data when receiving the target data returned by the server side in response to the data acquisition instruction; The device end is also used to, for each of the at least one alternative area, use the alternative area as a target area when the alternative area is bound to any area key of the at least one area key, determine a target value of the target area from area values ​​corresponding to the at least one area key, and update the display content of the target area according to the target value.

7. The system according to claim 6, It is characterized in that The number of the device terminals is at least two; wherein, Each of the at least two device ends is specifically used to send a data acquisition instruction to the server end.

8. The system according to claim 7, It is characterized in that Also includes: A first configuration terminal; The first configuration end is used to send a corresponding relationship to the device end, wherein the corresponding relationship includes a corresponding relationship between at least one binding key and at least one binding area, and the at least one binding area is at least partially overlapped with at least one candidate area displayed on the device end; The device side is also used for: According to the received corresponding relationship, determining, from the at least one candidate area, an area to be processed that overlaps with any binding area in the at least one binding area, to obtain at least one area to be processed; For each of the at least one area to be processed, the area to be processed is bound to a binding key corresponding to the area to be processed according to the corresponding relationship, and the binding key bound to the area to be processed is used as the area key corresponding to the area to be processed.

9. The system according to claim 7, It is characterized in that Also includes: The second configuration terminal; The second configuration end is used to send the access time during which the server can be accessed to the device end; The device side is specifically used for: According to the received access time, a data acquisition instruction is sent to the server.

10. The system according to claim 7, It is characterized in that Also includes: The third configuration terminal; The third configuration end is used to send the address of the server end to the device end; The device side is specifically used for: According to the received address, a data acquisition instruction is sent to the server.