Data display control method, device, system and program product
By maintaining and updating the logical expressions of display control on the service side and applying them on the terminal device, the problem of untimely update of the terminal device user interface display control logic is solved, and the timely adjustment and update of the display effect of the terminal device is achieved.
Patent Information
- Application Number
- CN202111095489.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-17
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-09-17
Smart Images

Figure CN113885747B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of rendering technology, and in particular to a data display control method, device, system and program product. Background Art
[0002] With the development of Internet technology and the increasing popularity of terminal devices, various application software are installed and used. The user interface (UI) of application software is the medium for interaction and information exchange between users and software systems.
[0003] In the prior art, the display control logic of some user interfaces related to terminal device parameters is controlled by the terminal. However, if the display control logic needs to be modified, the user needs to update the application software version, which will cause the display control logic to be updated untimely and affect the user experience. Summary of the invention
[0004] Multiple aspects of the present application provide a data display control method, device, system and program product to achieve real-time adjustment of display effects by a service-side control terminal and improve the timeliness of display logic updates.
[0005] The present application provides a data display control method, which is applied to the cloud, including:
[0006] Get the service request sent by the terminal;
[0007] Determine the service type corresponding to the service request and the requested service data;
[0008] Determine the logical expression corresponding to the service type from the preset logical expressions for display control;
[0009] The service data and a logical expression corresponding to the service type are provided to the terminal, so that the terminal can perform display control on the service data based on the logical expression corresponding to the service type.
[0010] The present application also provides a data display control method, including:
[0011] Send a service request to the service side;
[0012] receiving service data and a logical expression for display control returned by the service side in response to the service request;
[0013] Acquire the status data of the application corresponding to the service data and the attribute data of the terminal; and perform display control on the service data according to the status data of the application, the attribute data of the terminal and the logical expression.
[0014] The embodiment of the present application also provides a data processing system, including: a terminal and a service side;
[0015] The terminal is used to send a service request to the service side;
[0016] The service side is used to determine the service type and the requested service data corresponding to the service request; determine the logical expression corresponding to the service type from the pre-stored logical expressions for display control; and provide the service data and the logical expression corresponding to the service type to the terminal;
[0017] The terminal is further used to obtain the status data of the application corresponding to the service data and the attribute data of the terminal; and to control the display of the service data according to the status data of the application, the attribute data of the terminal and the logical expression.
[0018] The embodiment of the present application also provides a server device, including: a memory, a processor and a communication component; wherein the memory is used to store a computer program;
[0019] The processor is coupled to the memory and the communication component, and is used to execute the computer program to execute the steps in the service-side execution data display control method.
[0020] The embodiment of the present application also provides a terminal device, including: a memory, a processor, a communication component and a display component; wherein the memory is used to store a computer program;
[0021] The processor is coupled to the memory, the communication component and the display component, and is used to execute the computer program to execute the steps in the above-mentioned method for controlling data display executed by the terminal.
[0022] The embodiment of the present application also provides a computer program product, including: a computer program; when the computer program is executed by a processor, the steps in the above-mentioned method of controlling data display executed by a terminal can be implemented.
[0023] In the embodiment of the present application, the service side pre-stores a logical expression for display control; and can respond to the service request of the terminal and provide the logical expression and service data corresponding to the service request to the terminal; the terminal can display the service data according to its own attribute data, the status data of the application and the logical expression, thereby realizing the control of the terminal display effect by the service side. The service side maintains the logical expression of the user display control, and can modify and publish the logical expression in time according to the display rules. The terminal can obtain the new display control logic without updating the application software version, which helps to improve the timeliness of the display control logic update. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0025] Figure 1 A schematic diagram of the structure of a data processing system provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of a flow chart of data display control performed by a data processing system provided in an embodiment of the present application;
[0027] Figure 3 A schematic diagram of service data sent by the service side provided in an embodiment of the present application;
[0028] Figure 4 A schematic diagram of the terminal display effect provided in an embodiment of the present application;
[0029] Figure 5 and Figure 6 A flow chart of a data display control method provided in an embodiment of the present application;
[0030] Figure 7 A schematic diagram of the structure of a server device provided in an embodiment of the present application;
[0031] Figure 8 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0033] In the prior art, the display control logic of the user interface is controlled by the terminal. However, if the display control logic needs to be modified, the user needs to update the application software version, which results in the display control logic being updated untimely and unable to meet application requirements.
[0034] In response to the above technical problems, in some embodiments of the present application, the service side pre-stores a logical expression for display control; and can respond to the service request of the terminal and provide the logical expression and service data corresponding to the service request to the terminal; the terminal can display the service data according to its own attribute data, the status data of the application and the logical expression, thereby realizing the control of the terminal display effect by the service side. The service side maintains the logical expression of the user display control, and can modify and publish the logical expression in a timely manner according to the display rules. The terminal can obtain the new display control logic without updating the application software version, which helps to improve the timeliness of the display control logic update.
[0035] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0036] It should be noted that the same reference numerals denote the same objects in the following drawings and embodiments, and therefore, once an object is defined in one drawing or embodiment, it does not need to be further discussed in the subsequent drawings and embodiments.
[0037] Figure 1 This is a schematic diagram of the structure of the data processing system provided in the embodiment of the present application. Figure 1 As shown, the data processing system includes: a terminal 10 and a service side 20.
[0038] The service side 20 and the terminal 10 may be connected wirelessly or by wire. Optionally, the terminal 10 may be connected to the service side 20 through a mobile network. Accordingly, the network standard of the mobile network may be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4G+ (LTE+), 5G, WiMax, etc. Optionally, the terminal 10 may also be connected to the service side 20 through Bluetooth, WiFi, infrared, etc.
[0039] In this embodiment, the terminal 10 refers to a computer device used by a user and having the computing, Internet access, communication and other functions required by the user, such as a mobile phone, a tablet computer, a personal computer, a wearable device, etc.
[0040] In this embodiment, the service side 20 may include one or more server devices. In this embodiment, the service side 20 can perform data management, and respond to the service request of the terminal 10, and provide the user with computer equipment related to data processing, generally with the ability to undertake and guarantee services. The server device can be a single server device, or a cloud server array, or a virtual machine (VM) running in a cloud server array. In addition, the server device can also refer to other computing devices with corresponding service capabilities, such as computers and other terminal devices (running service programs), etc.
[0041] In this embodiment, the terminal 10 can run an application. If the terminal 10 is a computer, etc., the application can be a client software, a web page, etc. If the terminal 10 is a mobile phone, etc., the application can be an APP or a free installation software (such as a small program software), etc. For applications, different operating states and different service types have different display effects. For example, for an application with an electronic map function, when displaying an electronic map, different service interfaces provide different types of services and have different display effects; different operating states have different display effects. For example, when a user slides the map, the map data displayed on each screen is different; for another example, the service interfaces of different service types such as search services, route query services, and navigation services display different map data. For the same service type, the map data displayed in different operating states is also different.
[0042] Conventional service data display control logic is generally controlled on the terminal 10 , but in this case, if the display control logic needs to be modified, the user needs to update the application software version, resulting in untimely update of the display control logic, affecting user use.
[0043] In order to solve the above technical problems, the embodiment of the present application uses the service side 20 to control the terminal 10 to achieve the demand for display effect changes at different times. The main implementation methods are as follows:
[0044] In this embodiment, the service side 20 pre-stores a logical expression for display control, wherein the logical expression can use logical operators and / or logical conjunctions to connect statements into more complex statements.
[0045] In an embodiment of the present application, a logical expression is used to describe the control display logic of the terminal 10, and may include: filtering conditions and display control parameters. The filtering conditions may include: service data filtering conditions and application status filtering conditions. Among them, the service data filtering conditions are used to filter service data. The application status filtering conditions are used to limit the status conditions that the application needs to meet when the terminal 10 performs display control on the filtered service data according to the display control parameters. The display control parameters are used to describe the strategy or rules for display control of the filtered service data, and may include: display scale, display density and display strategy under the display scale, and display attributes. Display attributes refer to displaying or hiding the filtered service data.
[0046] The above logic expression for display control is determined according to the display rules updated in real time. Figure 2 As shown, the logical expression for display control can be set by the technician or operation and maintenance personnel according to the display rules updated in real time. Accordingly, the service side 20 can obtain the logical expression for display control in response to the setting operation, and load the logical expression for display control so that the terminal can make a request. For the technician or operation and maintenance personnel, the service data filtering conditions, application status filtering conditions and display control parameters corresponding to each service type can be determined according to the display rules updated in real time. For example, in the field of electronic maps, the display rule is that a certain map interface A displays the icon corresponding to the restaurant with the highest priority, then the service data filtering condition is to filter out the restaurant; the application status filtering condition is: the application is in the map interface A; the display control parameters include: the display strategy is the highest priority, and the display attribute is display. For another example, the display rule is that when layer B slides one screen, the three restaurants with the highest priority are displayed at a scale of 1:100, and the 10 restaurants with the highest priority are displayed at a scale of 1:10. Accordingly, the service data filtering condition is to filter out restaurants; the application status filtering condition is: the layer B of the application slides one screen; the display control parameters include: display scale 1:100, display strategy priority is the highest, display density is 3 restaurants, display attribute is display, and display scale 1:10, display strategy priority is the highest, display density is 10 restaurants, and display attribute is display.
[0047] Furthermore, the technician or operation and maintenance personnel can set the logical expression for display control corresponding to each service type based on the service data screening condition, application status screening condition and display control parameter corresponding to each service type. Specifically, the technician or operation and maintenance personnel can write the service data screening condition, application status screening condition and display control parameter corresponding to each service type into the corresponding program statement according to the grammatical format of the logical expression to obtain the logical expression for display control corresponding to the service type.
[0048] In other embodiments, the service side 20 may also automatically generate a logical expression for display control. Accordingly, the service side 20 may generate a logical expression for display control according to the display rules updated in real time, and load the logical expression so that the terminal can make a request. Accordingly, the service side 20 may determine the service data filtering conditions, application status filtering conditions and display control parameters corresponding to each service type according to the display rules; further, based on the service data filtering conditions, application status filtering conditions and display control parameters corresponding to each service type, a logical expression for display control corresponding to the service type may be generated. Specifically, the service data filtering conditions, application status filtering conditions and display control parameters corresponding to each service type may be written into the corresponding program statement according to the set grammatical format to obtain the logical expression for display control corresponding to the service type. Among them, the logical expression may be an SQL control statement, etc.
[0049] In the embodiment of the present application, the service side 20 can modify and publish the logical expression used for display control in a timely manner when the display rules change, and the modification takes effect in real time, which helps to improve the timeliness of the update of the display control logic.
[0050] In the embodiment of the present application, an interaction protocol between the terminal 10 and the service side 20 may also be defined, so that the terminal 10 and the service side 20 may communicate through the defined interaction protocol. For the terminal 10, service data may be requested from the service side 20 through a service request. The service request follows the defined interaction protocol.
[0051] Optionally, the terminal 10 may send a service request to the service side 20 in response to the interactive operation for the application. In some embodiments, the terminal 10 may determine the service type associated with the interactive operation in response to the interactive operation for the application; at least encapsulate the service type to obtain the service request. Further, the terminal 10 may send the service request to the service side 20.
[0052] The service side 20 may obtain the service request sent by the terminal 10 and determine the service type and requested service data corresponding to the service request. Optionally, the service side 20 may parse the service type identifier from the service request and determine that the service type corresponding to the service type identifier is the service type corresponding to the service request.
[0053] The service side 20 can also parse the request conditions from the service request; further, the service side 20 can obtain service data that meets the request conditions from the database corresponding to the application according to the request conditions. In some embodiments, the application is an application software that includes an electronic map function, such as navigation software, map software, or life service software with an electronic map function (such as food delivery software, rental software, or online car-hailing software, etc.). In this application scenario, for example, the request condition is a search condition; the service side 20 can obtain point of interest (POI) data that meets the search condition from the map data. Among them, the search condition includes the search target and the geographical location range. For example, searching for hospitals, gas stations, etc. within a set geographical range of a certain location.
[0054] Furthermore, the service side 20 may determine the logical expression corresponding to the service type corresponding to the service request from the pre-stored logical expressions for display control. The logical expression corresponding to the service type may be one or more. More than one means two or more.
[0055] Optionally, the service side 20 may match the service type corresponding to the service request in the pre-stored correspondence between the service type and the logical expression to obtain the logical expression corresponding to the service type corresponding to the service request.
[0056] Furthermore, the service side 20 may provide the service data and the logical expression corresponding to the service type to the terminal 10. The terminal 10 may receive the service data and the logical expression corresponding to the service type. Figure 2 As shown, the terminal 10 can load the service data and the logical expression corresponding to the service type.
[0057] In the embodiment of the present application, a logical expression is used to describe the display rules, and the attribute data of the terminal 10 and the status data of the application determine which service data is specifically displayed and which display rules are used for display. For example, the screen size of the terminal 10 affects the displayed content, etc. Based on this, the terminal 10 can obtain its attribute data and the status data of the application corresponding to the service data. Among them, the attribute data of the terminal 10 refers to the attribute data of the terminal 10 itself, which may include static attribute data (such as the screen size of the terminal 10, etc.) and dynamic attribute data. Dynamic attribute data refers to the dynamically changeable attribute data of the terminal 10 itself, such as time information, definition information, etc. These data can only be obtained from the terminal 10.
[0058] The state data of the application refers to the running state of the application corresponding to the service data. Accordingly, the terminal 10 can also monitor the running state of the application to obtain the state data of the application. The application can provide a user interface (UI), and the user can adjust the running state of the application by interacting with the user interface. For example, the user can trigger the icon or link of the application to start the application; or the user can slide the screen to turn the page of the application; or the user can zoom the user interface, etc. Accordingly, the terminal 10 can respond to the interactive operation on the application and determine the running state of the application triggered by the interactive operation as the state data of the application. For example, the terminal 10 can respond to the interactive operation on the icon of the application and determine that the application is in the startup state. For another example, the terminal 10 can respond to the sliding operation on the screen and determine that the state of the application is page sliding. For another example, the terminal 10 can respond to the zooming operation on the user interface and determine that the application is in the zooming state, etc. Of course, the state data of the application can also include the user interface displayed by the application and the display scale of the user interface, etc.
[0059] After acquiring the attribute data of the terminal 10 and the status data of the application, the terminal 10 may control the display of the service data according to the attribute data of the terminal 10, the status data of the application and the logical expression corresponding to the service type.
[0060] Specifically, the terminal 10 can parse the service data filtering conditions, application state filtering conditions and display control parameters from the logical expression. Considering that for the same service type, the running state of the application is different, the display effect may also be different. For example, the application displays or hides some or all elements when it is started; the application selects one or some elements of certain conditions for display when the interface is dragged. For another example, the user interface corresponding to the same service type (such as a search interface, a navigation interface, etc.) has different display effects when the user interface is in a sliding state and a zooming state. Based on this, when the state data of the application meets the application state filtering conditions, the target service data filtering conditions and target display control parameters corresponding to the state data of the application are obtained from the service data filtering conditions and the display control parameters. Further, the terminal 10 can obtain the target data that meets the target service data filtering conditions from the service data; and display control the target data according to the terminal's attribute data, the state data of the application and the target display control parameters, so as to achieve different display effects for the same data in different application states, meet the requirements of the state change of the application software at different times, that is, meet the requirements of the application software having different display effects in different states.
[0061] Alternatively, if Figure 2As shown, the terminal 10 can determine whether to trigger the application status screening condition according to the status data of the application; if the judgment result is yes, the above-mentioned service data screening and display control operations can be performed. If the judgment result is no, the above-mentioned operation of monitoring the running status of the application is returned.
[0062] The data display control method provided in the embodiment of the present application can be adapted to any application scenario. For example, in an online shopping scenario, the display control of the commodity data can be performed based on the logical expression, the attribute data of the terminal, and the status data of the online shopping application. For another example, in life service scenarios such as online car-hailing, the display control of vehicle data or map data can be performed based on the logical expression, the attribute data of the terminal, and the status data of the application with the online car-hailing function. For another example, in a POI map display scenario, the display control of POI data can be performed based on the logical expression, the attribute data of the terminal, and the status data of the electronic map application. Taking the POI map display scenario as an example, the specific implementation method of displaying the target data based on the attribute data of the terminal, the status data of the application, and the target display control parameters is exemplified.
[0063] For the POI map scene, the service data may be POI data. Accordingly, the terminal 10 may obtain target POI data that meets the target service data screening conditions from the POI data. Further, the terminal 10 may obtain the display scale corresponding to the application from the application's status data; and determine the basic map data to be rendered based on the terminal's attribute data and display scale. Specifically, the terminal 10 may obtain the terminal's positioning information and screen size information from the terminal's attribute data; and determine the basic map data to be rendered based at least on the terminal's positioning information, screen size information, and display scale.
[0064] Furthermore, the terminal 10 may render the basic map data to obtain the basic map. The terminal 10 may select the point of interest data to be displayed from the target point of interest data based at least on the basic map data and the target display control parameter.
[0065] Optionally, the terminal 10 may obtain the point of interest display strategy from the target display control parameter; and select the point of interest data to be displayed from the target point of interest data according to the basic map data and the point of interest display strategy. Alternatively, the terminal time information is obtained from the terminal attribute data; and the point of interest data to be displayed is selected from the target point of interest data according to the basic map data, the terminal time information and the point of interest display strategy.
[0066] For example, Figure 3As shown, the screen displays the service data sent by the service side 20 to the terminal 10. It should be noted that in actual applications, the service data sent by the service side 20 to the terminal 10 may not be fully displayed on the screen. Figure 3 The purpose is only to allow readers to have an intuitive understanding of the service data sent by the service side 20 and the service data finally displayed by the terminal 10, and it does not constitute a limitation.
[0067] Further, assume that the service data screening condition is to screen out the cuisine list; the service data with the highest priority; the application status screening condition is that the terminal is in the POI search interface; and the POI display strategy included in the display control parameter is to display the cuisine list with the highest priority. Accordingly, the terminal 10 can select the cuisine list with the highest priority according to the terminal's location information (such as Figure 3 Wangjing shown in the figure), screen size information and display scale, determine the basic map data to be rendered; and render the basic map data to obtain Figure 3 and Figure 4 The basic map layer shown. Further, the terminal 10 may determine the display strategy to display the cuisine list with the highest priority; and select the cuisine list whose location information is located in the basic map data from the filtered cuisine list, and select the cuisine list with the highest priority from the cuisine list located in the basic map data. Further, as Figure 4 As shown, when the terminal 10 is in the POI search interface, the terminal 10 renders the cuisine list with the highest priority on the screen. Figure 4 Only the bubble corresponding to the cuisine list with the highest priority, “Must-eat Jiangsu cuisine in Chaoyang District”, is illustrated, but it does not constitute a limitation.
[0068] In the data processing system provided by this embodiment, the service side pre-stores the logical expression for display control; and can respond to the service request of the terminal and provide the logical expression and service data corresponding to the service request to the terminal; the terminal can display the service data according to its own attribute data, the state data of the application and the logical expression, thereby realizing the control of the terminal display effect by the service side. The service side maintains the logical expression of the user display control, and can modify and publish the logical expression in time according to the display rules. The terminal can obtain the new display control logic without updating the application software version, which helps to improve the timeliness of the display control logic update.
[0069] In addition to the data processing system provided in the above-mentioned embodiments, the embodiments of the present application also provide a data display control method. The data display control method provided in the embodiments of the present application is exemplarily described below from the perspectives of the cloud (i.e., the service side) and the terminal side.
[0070] Figure 5 This is a flow chart of the data display control method provided in the embodiment of the present application. Figure 5As shown, the data display control method includes:
[0071] 501. Obtain a service request sent by a terminal.
[0072] 502. Determine the service type corresponding to the service request and the requested service data.
[0073] 503. Determine a logical expression corresponding to the service type from pre-stored logical expressions for display control.
[0074] 504. Provide the service data and the logical expression corresponding to the service type to the terminal, so that the terminal can control the display of the service data based on the logical expression corresponding to the service type.
[0075] Figure 6 Another data display control method provided in the embodiment of the present application is a flow chart of the method. Figure 6 As shown, the data display control method includes:
[0076] 601. Send a service request to the service side.
[0077] 602. Receive service data and a logical expression for display control returned by the service side in response to the service request.
[0078] 603. Obtain the terminal's attribute data and the status data of the application corresponding to the service data.
[0079] 604. Display control of service data is performed according to the terminal's attribute data, the application's state data and the logical expression.
[0080] In this embodiment, the cloud (service side) pre-stores a logical expression for display control. The description of the logical expression can refer to the relevant content of the above system embodiment, which will not be repeated here.
[0081] Among them, the above-mentioned logical expression for display control is determined according to the display rules. In some embodiments, the logical expression for display control can be set by a technician or an operation and maintenance personnel according to the display rules updated in real time. Accordingly, in response to the setting operation, the logical expression for display control can be obtained, and the logical expression for display control can be loaded so that the terminal can make a request. The specific operation of how the technician or operation and maintenance personnel sets the logical expression can refer to the relevant content of the above-mentioned system embodiment, which will not be repeated here.
[0082] In other embodiments, the cloud can also automatically generate a logical expression for display control. Accordingly, a logical expression for display control can be generated according to the display rules, and the logical expression can be loaded so that the terminal can make a request. Optionally, the service data filtering conditions, application status filtering conditions and display control parameters corresponding to each service type can be determined according to the display rules; further, based on the data filtering conditions, application status filtering conditions and display control parameters corresponding to each service type, a logical expression for display control corresponding to the service type can be generated. Among them, the logical expression can be a SQL control statement, etc.
[0083] In an embodiment of the present application, the cloud or service side can modify and publish the logical expression used for display control in a timely manner when the display rules change, and the modification takes effect in real time, which helps to improve the timeliness of the update of the display control logic.
[0084] In the embodiment of the present application, an interaction protocol between the terminal and the service side may also be defined, so that the terminal and the service side can communicate through the defined interaction protocol. For the terminal, service data may be requested from the service side through a service request. The service request follows the defined interaction protocol.
[0085] Optionally, the terminal may send a service request to the service side in response to the interactive operation for the application. In some embodiments, the terminal may determine the service type associated with the interactive operation in response to the interactive operation for the application; at least data encapsulate the service type to obtain the service request. That is, in step 601, the terminal may send a service request to the service side.
[0086] For the cloud, in step 501, a service request sent by the terminal may be obtained; and in step 502, the service type corresponding to the service request and the requested service data may be determined. The specific implementation of step 502 may refer to the relevant contents of the above system embodiment, which will not be repeated here.
[0087] Further, in step 503, a logical expression corresponding to the service type corresponding to the service request may be determined from pre-stored logical expressions for display control. The logical expression corresponding to the service type may be one or more. More than one means two or more.
[0088] Optionally, the service type corresponding to the service request may be matched in a preset correspondence between the service type and the logical expression to obtain a logical expression corresponding to the service type corresponding to the service request.
[0089] Further, in step 504, the service data and the logical expression corresponding to the service type may be provided to the terminal. The terminal may display and control the service data based on the logical expression corresponding to the service type. The specific implementation is as follows: In step 602, the terminal may receive the service data and the logical expression for display control returned by the cloud in response to the service request. For the description of the service side determining the service data and the logical expression, please refer to the relevant contents of the above steps 502 and 503, which will not be repeated here.
[0090] Further, for the terminal, in step 603, the state data of the application corresponding to the attribute information and service data of the terminal may be obtained. Optionally, the terminal may also monitor the running state of the application to obtain the state data of the application. For the specific implementation of the terminal monitoring the running state of the application, please refer to the relevant content of the above-mentioned system embodiment, which will not be repeated here.
[0091] Furthermore, in step 604, the service data may be displayed and controlled according to the attribute information of the terminal, the state data of the application program, and the logical expression corresponding to the service type.
[0092] Specifically, the service data screening conditions, application status screening conditions and display control parameters can be parsed from the logical expression; and when the application status data meets the application status screening conditions, the target service data screening conditions and target display control parameters corresponding to the application status data are obtained from the service data screening conditions and display control parameters. Further, the target data that meets the target service data screening conditions can be obtained from the service data; and the target data can be displayed and controlled according to the terminal's attribute data, the application status data and the target display control parameters, so that the same data has different display effects in different application states, meeting the requirements of application status changes at different times, that is, meeting the requirements of different display effects in different states of application software.
[0093] The data display control method provided in the embodiment of the present application can be adapted to any application scenario. Taking the POI map display scenario as an example, the specific implementation method of displaying and controlling the target data according to the terminal attribute data, the application status data and the target display control parameters is exemplified below.
[0094] For the POI map scene, the service data may be POI data. Accordingly, the target POI data that meets the target service data screening conditions may be obtained from the POI data. Furthermore, the display scale corresponding to the application may be obtained from the application's status data; and the basic map data to be rendered may be determined based on the terminal's attribute data and display scale. Specifically, the terminal's location information and screen size information may be obtained from the terminal's attribute data; and the basic map data to be rendered may be determined based at least on the terminal's location information, screen size information, and display scale.
[0095] Further, the basic map data may be rendered to obtain a basic map. The point of interest data to be displayed may be selected from the target point of interest data based at least on the basic map data and the target display control parameter.
[0096] Optionally, the POI display strategy can be obtained from the target display control parameters; and the POI data to be displayed can be selected from the target POI data according to the basic map data and the POI display strategy. Alternatively, the time information of the terminal can be obtained from the attribute data of the terminal; and the POI data to be displayed can be selected from the target POI data according to the basic map data, the time information of the terminal and the POI display strategy.
[0097] In the data display control method provided by this embodiment, the service side pre-stores the logical expression for display control; and can respond to the service request of the terminal and provide the logical expression and service data corresponding to the service request to the terminal; the terminal can display the service data according to its own attribute data, the status data of the application and the logical expression, thereby realizing the control of the terminal display effect by the service side. The service side maintains the logical expression of the user display control, and can modify and publish the logical expression in time according to the display rules. The terminal can obtain the new display control logic without updating the application software version, which helps to improve the timeliness of the display control logic update.
[0098] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 501 and 502 can be device A; for another example, the execution subject of step 501 can be device A, and the execution subject of step 502 can be device B; and so on.
[0099] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the sequence numbers of the operations, such as 501, 502, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.
[0100] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above-mentioned data display control methods.
[0101] The embodiment of the present application also provides a computer program product, including: a computer program; when the computer program is executed by a processor, the steps in the above data display control method can be implemented. In the embodiment of the present application, the specific implementation form of the computer program product is not limited.
[0102] In some embodiments, the computer program product is a computer program product executed by a terminal. Optionally, the computer program product can be implemented as an application software (such as an APP, etc.). In the embodiments of the present application, the specific services provided by the application software are not limited. Optionally, the application software can be an application software with an electronic map function. Such as map application software or life service application software with an electronic map function (such as online car-hailing application software, rental and purchase application software, or takeaway application software), etc. Of course, the application software can also be an application software that provides other services, such as online shopping software, video software, or news software.
[0103] In other embodiments, the computer program product is a computer program product executed by the service side or the cloud. The computer program product can be implemented as service side software corresponding to the above application software, such as SaaS software, etc., and can be implemented as a container instance or a virtual machine instance running in the cloud.
[0104] Figure 7 This is a schematic diagram of the structure of the server device provided in the embodiment of the present application. Figure 7 As shown, the server device includes: a memory 70a, a processor 70b and a communication component 70c; wherein the memory 70a is used to store computer programs.
[0105] The processor 70b is coupled to the memory 70a and the communication component, and is used to execute a computer program for: obtaining a service request sent by the terminal through the communication component 70c; determining a service type and requested service data corresponding to the service request; determining a logical expression corresponding to the service type from pre-stored logical expressions for display control; and providing the service data and the logical expression corresponding to the service type to the terminal through the communication component 70c, so that the terminal can display the service data based on the logical expression corresponding to the service type.
[0106] In some embodiments, the processor 70b is further used to: generate a logical expression for display control according to the display rule; or, in response to a setting operation, obtain a logical expression for display control.
[0107] Optionally, when generating a logical expression for display control, the processor 70b is specifically used to: determine, according to the display rules, the service data filtering conditions, application status filtering conditions and display control parameters corresponding to the service type; and, based on the service data filtering conditions, application status filtering conditions and display control parameters corresponding to the service type, generate a logical expression for display control corresponding to the service type.
[0108] In some optional embodiments, such as Figure 7 As shown, the server device may also include optional components such as a power supply component 70d. Figure 7 Only some components are shown schematically, which does not mean that the server device must include Figure 7 All components shown do not mean that the server device can only include Figure 7 Components shown.
[0109] The server device provided in this embodiment pre-stores a logical expression for display control; and can respond to the service request of the terminal and provide the logical expression and service data corresponding to the service request to the terminal; the terminal can display the service data based on the logical expression, thereby realizing the control of the terminal display effect by the service side. The logical expression of user display control is maintained by the server, and the logical expression can be modified and published in a timely manner according to the display rules. The terminal can obtain the new display control logic without updating the application software version, which helps to improve the timeliness of the display control logic update.
[0110] Figure 8 The terminal device provided in the embodiment of the present application is a schematic diagram of the structure of the terminal device. The terminal device includes: a memory 80a, a processor 80b, a communication component 80c and a display component 80d; wherein the memory 80a is used to store computer programs.
[0111] The processor 80b is coupled to the memory 80a and the communication component, and is used to execute a computer program for: sending a service request to the service side through the communication component 80c; and receiving the service data and the logical expression for display control returned by the service side in response to the service request through the communication component 80c; and obtaining the status data of the application and the attribute data of the terminal corresponding to the service data; and displaying the service data according to the status data of the application, the attribute data of the terminal and the logical expression, so as to display the relevant data through the display component 80d.
[0112] Optionally, when the processor 80b performs display control on the service data, it is specifically used to: parse the service data filtering conditions, application status filtering conditions and display control parameters from the logical expression; when the status data of the application satisfies the application status filtering conditions, obtain the target service data filtering conditions and target display control parameters corresponding to the status data of the application from the service data filtering conditions and display control parameters; obtain the target data that meets the target service data filtering conditions from the service data; and perform display control on the target data according to the terminal's attribute data, the application's status data and the target display control parameters.
[0113] In some embodiments, the target service data is target point of interest data. Accordingly, when the processor 80b performs display control on the target data, it is specifically used to: obtain the display scale corresponding to the application from the status data of the application; determine the basic map data to be rendered according to the attribute data and the display scale of the terminal; render the basic map data to obtain the basic map; select the point of interest data to be displayed from the target point of interest data at least according to the basic map data and the target display control parameters; and display the point of interest data to be displayed on the basic map.
[0114] Optionally, when the processor 80b selects the point of interest data to be displayed from the target point of interest data, it is specifically used to: obtain the point of interest display strategy from the target display control parameters; select the point of interest data to be displayed from the target point of interest data according to the basic map data and the point of interest display strategy; or obtain the time information of the terminal from the attribute data of the terminal; select the point of interest data to be displayed from the target point of interest data according to the basic map data, the time information of the terminal and the point of interest display strategy.
[0115] Optionally, when determining the basic map data to be rendered, the processor 80b is specifically used to: obtain the terminal's positioning information and screen size information from the terminal's attribute data; and determine the basic map data to be rendered based on at least the terminal's positioning information, screen size information and display scale.
[0116] In some optional embodiments, such as Figure 8As shown, the terminal device may also include optional components such as a power supply component 80e and an audio component 80f. Figure 8 Some components are shown schematically, and it does not mean that the terminal equipment must include them. Figure 8 The components shown do not imply that the terminal equipment can only include Figure 8 Components shown.
[0117] The terminal device provided in this embodiment can display service data according to the terminal's attribute data, the application's status data and the logical expression used for display control, thereby realizing the service side's control over the terminal's display effect. The service side maintains the user's display control logical expression, and can modify and publish the logical expression in a timely manner according to the display rules. The terminal can obtain new display control logic without updating the application software version, which helps to improve the timeliness of display control logic updates.
[0118] In an embodiment of the present application, the memory is used to store a computer program and can be configured to store various other data to support operations on the device where it is located. Among them, the processor can execute the computer program stored in the memory to implement the corresponding control logic. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0119] In the embodiment of the present application, the processor can be any hardware processing device that can execute the logic of the above method. Optionally, the processor can be a central processing unit (CPU), a graphics processing unit (GPU) or a microcontroller unit (MCU); it can also be a field programmable gate array (FPGA), a programmable array logic device (PAL), a general array logic device (GAL), a complex programmable logic device (CPLD) and other programmable devices; or an advanced reduced instruction set (RISC) processor (Advanced RISC Machines, ARM) or a system on chip (System on Chip, SOC), etc., but not limited to this.
[0120] In an embodiment of the present application, the communication component is configured to facilitate wired or wireless communication between the device in which it is located and other devices. The device in which the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G, 5G or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component can also be implemented based on near field communication (NFC) technology, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology or other technologies.
[0121] In an embodiment of the present application, the display component may include a liquid crystal display (LCD) and a touch panel (TP). If the display component includes a touch panel, the display component may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0122] In an embodiment of the present application, a power supply component is configured to provide power to various components of the device in which it is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply component is located.
[0123] In an embodiment of the present application, the audio component may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal. For example, for a device with a language interaction function, voice interaction with a user can be achieved through an audio component.
[0124] It should be noted that the descriptions such as “first” and “second” in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit “first” and “second” to different types.
[0125] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0126] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0127] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0128] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0129] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0130] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0131] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0132] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0133] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A data display control method, applied to the cloud, wherein: include: Get the service request sent by the terminal; Determine the service type corresponding to the service request and the requested service data; Determine a logic expression corresponding to the service type from pre-stored logic expressions for display control, wherein the logic expression is used to describe a display control logic of a user interface related to terminal parameters; The service data and a logical expression corresponding to the service type are sent to the terminal, so that the terminal displays the service data based on the logical expression corresponding to the service type.
2. The method according to claim 1, wherein: Also includes: Generating the logic expression for display control according to the display rule; or, In response to the setting operation of the display rule, the logical expression for display control is acquired.
3. The method according to claim 2, wherein: Generating the logical expression for display control according to the display rule includes: According to the display rules, determine the service data screening conditions, application status screening conditions and display control parameters corresponding to the service type; Based on the service data screening conditions, application status screening conditions and display control parameters corresponding to the service type, a logical expression for display control corresponding to the service type is generated.
4. A data display control method, applied to a terminal, wherein: include: Send a service request to the service side; receiving service data and a logic expression for display control returned by the service side in response to the service request, wherein the logic expression is used to describe the display control logic of the user interface related to the terminal parameters, and the logic expression corresponds to the service type corresponding to the service request; Acquire status data of the application corresponding to the service data and attribute data of the terminal; The service data is displayed and controlled according to the status data of the application, the attribute data of the terminal and the logical expression.
5. The method according to claim 4, wherein: The display control of the service data according to the state data of the application, the attribute data of the terminal and the logical expression includes: Parsing the service data screening condition, the application status screening condition and the display control parameter from the logical expression; When the state data of the application satisfies the application state screening condition, acquiring a target service data screening condition and a target display control parameter corresponding to the state data of the application from the service data screening condition and the display control parameter; Acquire target data satisfying the target service data screening condition from the service data; The target data is displayed and controlled according to the attribute data of the terminal, the status data of the application and the target display control parameter.
6. The method according to claim 5, wherein: The target service data is target point of interest data, The display control of the target data according to the attribute data of the terminal, the state data of the application and the target display control parameter includes: Obtaining a display scale corresponding to the application from the status data of the application; Determining basic map data to be rendered according to the attribute data of the terminal and the display scale; Rendering the basic map data to obtain a basic map; selecting, based at least on the basic map data and the target display control parameter, point of interest data to be displayed from the target point of interest data; The to-be-displayed point of interest data is displayed on the basic map.
7. The method according to claim 6, wherein: The selecting, at least according to the basic map data and the target display control parameter, the point of interest data to be displayed from the target point of interest data comprises: Obtaining a point of interest display strategy from the target display control parameters; selecting, according to the basic map data and the point of interest display strategy, point of interest data to be displayed from the target point of interest data; Alternatively, the time information of the terminal is acquired from the attribute data of the terminal; and the point of interest data to be displayed is selected from the target point of interest data according to the basic map data, the time information of the terminal and the point of interest display strategy.
8. The method according to claim 6, wherein: The determining of the basic map data to be rendered according to the attribute data of the terminal and the display scale includes: Acquiring location information and screen size information of the terminal from the attribute data of the terminal; The basic map data to be rendered is determined at least according to the positioning information, the screen size information and the display scale of the terminal.
9. A data processing system, wherein: include: Terminal and service side; The terminal is used to send a service request to the service side; The service side is used to determine the service type corresponding to the service request and the requested service data; Determine a logical expression corresponding to the service type from pre-stored logical expressions for display control, the logical expression being used to describe a display control logic of a user interface related to terminal parameters; provide the service data and the logical expression corresponding to the service type to the terminal; The terminal is further used to obtain the status data of the application corresponding to the service data and the attribute data of the terminal; and to control the display of the service data according to the status data of the application, the attribute data of the terminal and the logical expression.
10. A server device, wherein: include: Memory, processor and communication components; wherein the memory is used to store computer programs; The processor is coupled to the memory and the communication component, and is configured to execute the computer program to perform the steps in the method according to any one of claims 1 to 3.
11. A terminal device, wherein: include: A memory, a processor, a communication component and a display component; wherein the memory is used to store a computer program; The processor is coupled to the memory, the communication component and the display component, and is configured to execute the computer program to perform the steps in the method according to any one of claims 4 to 8.
12. A computer program product, wherein: include: Computer program; when the computer program is executed by a processor, the steps in the method according to any one of claims 4 to 8 can be implemented.
