CN110955478B - Partition dynamic display method, device and equipment of data and readable storage medium - Google Patents

Partition dynamic display method, device and equipment of data and readable storage medium Download PDF

Info

Publication number
CN110955478B
CN110955478B CN201910977163.8A CN201910977163A CN110955478B CN 110955478 B CN110955478 B CN 110955478B CN 201910977163 A CN201910977163 A CN 201910977163A CN 110955478 B CN110955478 B CN 110955478B
Authority
CN
China
Prior art keywords
data
page
configuration
information
shuttle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910977163.8A
Other languages
Chinese (zh)
Other versions
CN110955478A (en
Inventor
张凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ping An Medical Health Technology Service Co Ltd
Original Assignee
Shenzhen Ping An Medical Health Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ping An Medical Health Technology Service Co Ltd filed Critical Shenzhen Ping An Medical Health Technology Service Co Ltd
Priority to CN201910977163.8A priority Critical patent/CN110955478B/en
Publication of CN110955478A publication Critical patent/CN110955478A/en
Application granted granted Critical
Publication of CN110955478B publication Critical patent/CN110955478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method, a device and equipment for partitioned dynamic display of data and a readable storage medium, wherein the method comprises the following steps: when a page starting instruction is received, starting a preset frame page, and reading data to be configured and configuration data from a preset database; respectively adding the data to be configured and the configuration data into a first display area and a second display area on a preset frame page for displaying to generate a data page; and when a shuttle instruction sent based on the data page is received, configuring the data to be configured and the configuration data according to the shuttle instruction, and updating and displaying the data page. According to the scheme, the data to be configured and the configuration data are generated into the data page based on a big data processing technology, different display areas in the data page can rapidly distinguish unconfigured data from configured data, the configuration of the data to be configured and the configuration data can be achieved by triggering a shuttle instruction on the basis, the configuration result is updated and displayed, the operation is simple, and the data configuration efficiency is high.

Description

Partition dynamic display method, device and equipment of data and readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a readable storage medium for dynamically displaying data in a partitioned manner.
Background
With the development of big data technology, all walks of life have more and more strong awareness on the internal data management and data sharing among themselves; in order to ensure the security of data, the internal data of each industry is configured with access authority or member roles for internal members of each industry by each industry, and shared data between industries is configured with access authority or shared roles for industries with sharing requirements by a sharer.
At present, for the configuration of authority or roles inside or between industries, each member or each industry is loaded through a front end and is used as display data to be displayed, and then the non-configured data in the display data is configured or the configured data is configured. Due to the fact that the unconfigured data and the configured data exist in the display data in a mixed mode, complexity of configuration operation flow is caused, and configuration efficiency is low.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for dynamically displaying data in a partitioned mode and a readable storage medium, and aims to solve the problems that in the prior art, the data configuration operation process is complex and the configuration efficiency is low.
In order to achieve the above object, the present invention provides a method for dynamically displaying data in a partitioned manner, wherein the method for dynamically displaying data in a partitioned manner comprises the following steps:
when a page starting instruction is received, starting a preset frame page for dynamically displaying a data partition, and reading data to be configured and configuration data from a preset database;
adding the data to be configured and the configuration data into a first display area and a second display area on a preset frame page respectively for display to generate a data page;
and when a shuttle instruction which is sent based on the data page and is used for configuring each data in the data page is received, configuring the data to be configured and the configuration data according to the shuttle instruction, and updating and displaying the data page.
Preferably, the step of configuring the data to be configured and the configuration data according to the shuttle instruction, and updating and displaying the data page includes:
reading shuttle information carried in the shuttle instruction, and determining a shuttle type of the shuttle information;
when the shuttle type is a distribution configuration type, distributing a configuration identifier to the information to be configured corresponding to the shuttle information, and switching the information to be configured corresponding to the shuttle information to the second display area for display;
and when the shuttle type is a configuration removing type, removing the configuration identifier of the configuration information corresponding to the shuttle information, and switching the configuration information corresponding to the shuttle information to the first display area for display.
Preferably, the step of generating a data page comprises:
when a page turning instruction based on the data page is received, determining a page turning area corresponding to the page turning instruction;
and reading target configuration data corresponding to the page turning region from the preset database according to the single page display item of the data page, and adding the target configuration data to the page turning region for display.
Preferably, the step of generating a data page comprises:
when a search keyword based on the data page is detected, starting a preset timer to time, and generating delay time corresponding to the search keyword;
judging whether the delay time is greater than a preset time threshold, if so, searching based on the search keyword to generate a search result;
and determining a search area according to the search keyword, and adding the search result to the search area for display.
Preferably, the step of starting the preset frame page and reading the data to be configured and the configuration data from the preset database when the page start instruction is received includes:
when a page starting instruction is received, reading page attribute information and field attribute information carried in the starting instruction;
starting the preset frame page, and configuring the preset frame page according to the page attribute information;
and reading field information corresponding to the field attribute information from the preset database, and generating data to be configured and configuration data according to the configuration identifier of each field information.
Preferably, when a page start instruction is received, the step of reading the page attribute information and the field attribute information carried in the start instruction includes:
when an alternative setting instruction is received, reading an alternative field carried in the alternative setting instruction, and forming an alternative information page by using the alternative field;
the step of generating the data to be configured and the configuration data according to the configuration identifier of each field information comprises the following steps:
when an alternative adding instruction is received, reading alternative information corresponding to the alternative adding instruction from the alternative information page, and updating the data to be configured and the configuration data according to the configuration identifier of each alternative information.
Preferably, the step of adding the data to be configured and the configuration data to a first display area and a second display area on a preset frame page respectively for display, and generating a data page includes:
forming first data groups by using field information with the same field number in the data to be configured, and adding each first data group to a data line of the first display area for display according to the arrangement identification in the page attribute information;
and forming second data groups by using the field information with the same field number in the configuration data, and adding each second data group to the data line of the second display area for display according to the arrangement identification in the page attribute information to generate a data page.
In addition, in order to achieve the above object, the present invention further provides a device for dynamically displaying partitioned areas of data, comprising:
the starting module is used for starting a preset frame page for data partition dynamic display when a page starting instruction is received, and reading data to be configured and configuration data from a preset database;
the generating module is used for respectively adding the data to be configured and the configuration data into a first display area and a second display area on a preset frame page to be displayed so as to generate a data page;
and the display module is used for configuring the data to be configured and the configuration data according to the shuttle instruction and updating and displaying the data page when the shuttle instruction which is sent based on the data page and is used for configuring each data in the data page is received.
In addition, to achieve the above object, the present invention further provides a partitioned dynamic display device for data, including: a memory, a processor, a communication bus, and a partitioned dynamic display program of data stored on the memory;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the partitioned dynamic display program of the data to realize the following steps:
when a page starting instruction is received, starting a preset frame page for data partition dynamic display, and reading data to be configured and configuration data from a preset database;
adding the data to be configured and the configuration data into a first display area and a second display area on a preset frame page respectively for display to generate a data page;
and when a shuttle instruction which is sent based on the data page and is used for configuring each data in the data page is received, configuring the data to be configured and the configuration data according to the shuttle instruction, and updating and displaying the data page.
Further, to achieve the above object, the present invention also provides a readable storage medium storing one or more programs, the one or more programs being executable by one or more processors for:
when a page starting instruction is received, starting a preset frame page for data partition dynamic display, and reading data to be configured and configuration data from a preset database;
adding the data to be configured and the configuration data into a first display area and a second display area on a preset frame page respectively for display to generate a data page;
and when a shuttle instruction which is sent based on the data page and is used for configuring each data in the data page is received, configuring the data to be configured and the configuration data according to the shuttle instruction, and updating and displaying the data page.
In the partition dynamic display method for data of this embodiment, a preset frame page for partition dynamic display of data is preset, and data to be configured and configured, which are read from a preset database and are not configured, are respectively added to a first display area and a second display area of the preset frame page to be displayed, so as to generate a data page; and when a shuttle instruction for configuring each data in the data page is received, configuring the data to be configured and the configuration data, and updating and displaying the configured data to be configured and the configuration data on the data page. The method comprises the steps that non-configured data and configured data can be rapidly distinguished in different display areas in a data page, configuration of the data to be configured and the configured data can be achieved by triggering a shuttle instruction on the basis, and a display configuration result is updated; the method avoids the problems that the unconfigured data or the configured data are screened out from a large amount of displayed data, and then the screened unconfigured data or the screened configured data are configured or are not configured; the operation is simple, and the data configuration efficiency is high.
Drawings
FIG. 1 is a flow chart of a first embodiment of a method for dynamic display of partitioned data according to the present invention;
FIG. 2 is a functional block diagram of a first embodiment of an apparatus for partitioned dynamic display of data according to the present invention;
fig. 3 is a schematic device structure diagram of a hardware operating environment related to the method according to the embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a partition dynamic display method of data.
Referring to fig. 1, fig. 1 is a flowchart illustrating a partition dynamic display method according to a first embodiment of the present invention. In this embodiment, the method for dynamically displaying the data in the partitioned mode includes:
step S10, when a page starting instruction is received, starting a preset frame page for dynamically displaying the data partitions, and reading data to be configured and configuration data from a preset database;
the partition dynamic display method of the data is applied to a server, and is suitable for realizing partition dynamic display of the data in a terminal display interface through the server so as to configure the displayed data; the communication connection between the terminal and the server can be devices such as a tablet computer, a smart phone and a desktop computer. Specifically, a preset frame page for data partition display is set in advance through a component, and a search frame and a partition table are added in the preset frame page to realize functions of searching and partition display of various types of data. It should be noted that the preset frame page is suitable for a scenario in which various types of data are dynamically displayed in a partitioned manner for configuration, and a medical institution authorization scenario is taken as an example for description here; namely, the data displayed dynamically in the subarea is information data from each medical institution, and the authority for accessing a specific server is granted to each medical institution through the configuration of each information data.
Further, the server is in communication connection with a preset database, and the preset database is a database preset for storing information data of each medical institution. When the configuration requirement exists, a page starting instruction is sent to the server, the server receives the page starting instruction, and a preset frame page is started according to the page starting instruction; and then sending a data reading request to a preset database to read the data to be configured and the configuration data in the preset database. The data to be configured is data which is not configured yet, does not have the authority of accessing the feature server, and is information data which is possessed by each medical institution which is not configured yet; the configuration data is configured data, has an access right to the feature server, and is information data possessed by each configured medical institution.
Understandably, the information data of each medical institution is various, and the data type according to which the arrangement is based has specificity, for example, the information data of the medical institution at least includes: name, code, address, number of departments, number of experts, etc., and the data types according to which the configuration is based are: name, code and address; the data to be configured and the configuration data are the name, the code and the address of each medical institution, and the name, the code and the address of one medical institution correspond to one item of data to be configured or the configuration data; therefore, the data type to be used as the basis needs to be screened out from the preset database to form the data to be configured and the configuration data. Specifically, when a page starting instruction is received, the step of starting a preset frame page and reading the data to be configured and the configuration data from a preset database includes:
step S11, when a page starting instruction is received, page attribute information and field attribute information carried in the starting instruction are read;
further, the data type according to which the configuration process is based is added to the page start instruction as field attribute information, so that the data type according to which the configuration is based, such as name field, code word segment, etc. of the medical institution, is reflected by the field attribute information. In addition, page attribute information is added in the starting instruction to represent the preset frame page to-be-configured data and the display format of the configured data, such as the number of medical institutions displayed on each page, the display positions of various data and the like. After receiving a page starting instruction, the server reads the field attribute information and the page attribute information carried in the page starting instruction; the field attribute information and the page attribute information exist in the starting instruction in different identifications, and after the identification in the starting instruction is read, the field attribute information and the page attribute information are distinguished according to the meaning represented by the identification, so that the preset frame page can conveniently display the data to be configured and the configuration data according to the field attribute information and the page attribute information.
Step S12, starting the preset frame page, and configuring the preset frame page according to the page attribute information;
furthermore, the service starts the preset frame page, configures the preset frame page according to the page attribute information, and sets the number of data pieces which can be displayed on the preset frame page and the data type which is correspondingly displayed at each display position; the setting operation is essentially setting the number of data rows that the preset frame page can support simultaneous display, and the data type of each data column.
And step S13, reading field information corresponding to the field attribute information from the preset database, and generating data to be configured and configuration data according to the configuration identifier of each field information.
Further, the server sends a data reading request to a preset database according to the field attribute information, and the request captures field information represented by the field attribute information from the database; if the field attribute information is the name field and the code field, the name a1 and the code a2 of the medical institution a, and the name B1 and the code B2 of the medical institution B are read from the preset database. Since the information data of each medical institution contained in the preset database relates to a configured medical institution and also relates to an unconfigured medical institution, the information data of the configured medical institution and the unconfigured medical institution are characterized by the configuration identifier. For the configured medical institution, the configuration identifier carried by the information data is the configured identifier; for the medical institution which is not configured yet, the configuration identifier carried by the information data is an unconfigured identifier. After capturing each field information, dividing each field information into data to be configured and configuration data according to a configuration identifier carried by each field information; that is, the field information carrying the configured identifier is divided into configuration data, and the field information carrying the non-configured identifier is divided into data to be configured.
Understandably, the data type according to which the configuration is based may be changed, such as the data type according to which the configuration is currently based includes name, address and code, and the data type according to which the configuration is subsequently based is changed into name, address, code and organization responsible person; at this time, the display contents of the data to be configured and the configuration data in the preset frame page are changed, the data types are increased, and the increased data types need to be displayed in the preset frame page. In order to realize rapid change of the display content in the preset frame page, an alternative mechanism for setting other data types in the medical institution as alternative information is provided in the embodiment; specifically, when a page start instruction is received, the step of reading the page attribute information and the field attribute information carried in the start instruction includes:
step S14, when an alternative setting instruction is received, reading an alternative field carried in the alternative setting instruction, and forming an alternative information page by the alternative field;
further, an alternative setting instruction is initiated for an alternative field needing to be used as alternative information, and when the server receives the alternative setting instruction, the server judges that the alternative information needs to be set for a preset frame page; reading the alternative fields carried in the alternative setting instruction, and adding the alternative fields into a preset information page as column headers of data columns in the preset information page; and then, searching the alternative information corresponding to each alternative field from the preset database, and adding the searched alternative information into a preset information page according to the data column where each alternative field is located to form an alternative information page.
Understandably, after the captured field information is generated into the data to be configured and the configuration data, there may be a need to add alternative information in the data to be configured and the configuration data, so that the data to be configured and the configuration data displayed in the preset frame page are changed; at this time, the step of generating the data to be configured and the configuration data according to the configuration identifier of each field information includes:
step S15, when an alternative adding instruction is received, reading alternative information corresponding to the alternative adding instruction from the alternative information page, and updating the data to be configured and the configuration data according to the configuration identifier of each alternative information.
Further, when the server receives the alternative adding instruction, reading an alternative identifier carried by the alternative adding instruction to determine the type of the alternative information to be added through the alternative identifier; and comparing the alternative identification with the column header of each data column in the alternative information page to determine the column header with the alternative identification. And reading the data in the data column as the alternative information corresponding to the alternative adding instruction, and updating the to-be-configured data and the configuration data generated before according to the configuration identifier of each alternative information. And adding the alternative information carrying the configured identifier into the configuration data, and adding the alternative information carrying the non-configured identifier into the data to be configured so as to increase the data types of the data to be configured and the configuration data displayed in the preset frame page.
Step S20, adding the data to be configured and the configuration data into a first display area and a second display area on a preset frame page respectively for display, and generating a data page;
furthermore, the partitioned display of the preset frame page includes a first display area and a second display area, wherein the first display area is used for displaying the data to be configured and can be located at the left side or above the preset frame page, and the second display area is used for displaying the configuration data and can be located at the right side or below the preset frame page. After the data to be configured and the configuration data are generated, the data to be configured are added to the first display area and the configuration data are added to the second display area according to the page attribute information and the field attribute information. If the page attribute represents that the number of displayable data in a preset frame page is 20 and the field attribute information comprises A1, A2 and A3, adding 20 to-be-configured data which respectively correspond to the A1, the A2 and the A3 in 20 unconfigured medical institutions into a first display area for display; simultaneously adding 20 pieces of configuration data respectively corresponding to A1, A2 and A3 in 20 configured medical institutions into a second display area for display; considering that the number of configured medical institutions may be less than 20, the configuration data corresponding to each of A1, A2, and A3 among all the configured medical institutions is added to the second display area to be displayed. After the data to be configured and the configuration data are respectively added into the first display area and the second display area to be displayed, the preset frame page is generated into a data page, and the information of each medical institution which is not configured currently and the information of each configured medical institution are represented.
Considering that information data of a plurality of medical institutions are involved in both the data to be configured and the configuration data, in order to display the data with the configuration data and the configuration data respectively added to the first display area and the second display area, the data of the same data line in the first display area is from the same medical institution, and the data of the same data line in the second display area is from the same medical institution; it is necessary to distinguish information data originating from each medical institution in the addition process of the data to be configured and the configuration data to avoid confusion of display. Specifically, the data to be configured and the configuration data are respectively added to a first display area and a second display area on a preset frame page to be displayed, and the step of generating the data page comprises the following steps:
step S21, forming first data groups by using field information with the same field number in the data to be configured, and adding each first data group to a data line of the first display area for display according to the arrangement identification in the page attribute information;
further, the preset database is assigned with a number representing the uniqueness of each medical institution, the number is used as a field number of information data of each medical institution, and the information data with the same field number are originated from the same medical institution. The information of each field in the preset database is substantially the information data of each medical institution, so that the data to be configured and the configuration data formed by the information of each field also carry the field number. When the data to be configured are added to the first display area, the data to be configured are searched to determine field information carrying the same field number, and then the field information with the same field number is formed into a first data group, and the field information in the first data group is represented to be from the same medical institution. And then, according to the arrangement identification in the page attribute information, arranging the field information in each first data group, and displaying each data line added to the first display area. The arrangement identifier represents the data type displayed at each display position in the data line, and if the data line comprises three display positions and the displayed data types are names, codes and addresses respectively, the field information in the first data group is arranged according to the type, and then the field information is sequentially added to each display position of the data line for display.
And step S22, forming second data groups by using the field information with the same field number in the configuration data, adding each second data group to the data line of the second display area for display according to the arrangement identification in the page attribute information, and generating a data page.
Correspondingly, when the configuration data are added to the second display area, the configuration data are searched to determine the field information carrying the same field number, and the field information with the same field number is formed into a second data group, wherein the field information representing the field information comes from the same medical institution. And then, according to the arrangement identification in the page attribute information, arranging the field information in each second data group, and displaying each data line added to the second display area. After each first data group is added to the data line of the first display area for display and each second data group is added to the data line of the second display area for display, the preset frame page is generated into a data page.
And step S30, when a shuttle instruction which is sent based on the data page and is used for configuring each data in the data page is received, configuring the data to be configured and the configuration data according to the shuttle instruction, and updating and displaying the data page.
Furthermore, a shuttle virtual key is arranged between a first display area and a second display area in a preset frame page of the generated data page, so as to switch the data to be configured and the configuration data in the first display area and the second display area. Because the first display area is used for displaying the data to be configured and the second display area is used for displaying the configured data, the data to be configured and the configured data are switched between the first display area and the second display area, the process of configuring the data to be configured or deconfiguring the configured data is realized. When a data configuration demand exists, triggering a shuttle instruction through a shuttle virtual key, and configuring the data to be configured and the configuration data according to the shuttle instruction when the server receives the shuttle instruction; and when the type of the shuttle instruction is the configuration, the server configures the data to be configured according to the shuttle instruction, and when the type of the shuttle instruction is the deconfiguration, the server deconfigurates the configuration data according to the configuration data. After the configuration is completed, the server updates the data page and displays the updated data page to show the change condition of the configured medical institution.
The step of configuring the data to be configured and the configuration data according to the shuttle instruction, and updating and displaying the data page comprises the following steps:
step S31, reading shuttle information carried in the shuttle instruction, and determining a shuttle type of the shuttle information;
furthermore, the shuttle instruction carries shuttle information, and the shuttle information is used for representing data to be configured which needs to be configured or configuration data which needs to be configured and is released from configuration; if the data W to be configured in the first preset area needs to be configured, selecting W and triggering a shuttle instruction, where W is shuttle information in the shuttle instruction. The service reads the shuttle information in the shuttle threading instruction and determines the corresponding shuttle type; the shuttle type is used for representing whether the shuttle instruction configures the data to be configured or deconfigures the configuration data, and can be specifically determined by the type identifier. After the shuttle information is read, the type identifier in the shuttle information is further identified, so that the shuttle type of the shuttle information is determined through the identified type identifier.
Step S32, when the shuttle type is a distribution configuration type, distributing a configuration identifier to the information to be configured corresponding to the shuttle information, and switching the information to be configured corresponding to the shuttle information to the second display area for displaying;
furthermore, when the shuttle type of the shuttle information is determined to be the distribution configuration type through the type identifier, the shuttle instruction is used for configuring the data to be configured, so that the configuration identifier is distributed to the information to be configured represented by the shuttle information, and the medical institution with the information to be configured is granted the right to access the specific server. And simultaneously, switching the information to be configured after the configuration identifier is allocated from the first display area to the second display area for display, and representing to switch the information to be configured into configured data. It should be noted that the data to be configured is substantially all data in the first display area of the data page, and the information to be configured represented by the shuttle information is a certain piece of data selected from all data in the first display area through the shuttle instruction.
In addition, considering that the information to be configured corresponding to the shuttle information relates to a plurality of items of information data of the same medical institution, in order to facilitate the transmission of the items of information data in the first display area and the second display area, an encapsulation mechanism for the items of information data is preset. And packaging various information data of the medical institution represented by the information to be configured corresponding to the shuttle information into a data packet, setting arrangement marks for the various information data in the data packet according to respective types, and arranging and displaying the various information data on different positions of the data row of the second display area according to the arrangement marks, so that the configuration result after configuration is updated to the data page for display.
Step S33, when the shuttle type is the de-configuration type, de-configuring the identifier from the configuration information corresponding to the shuttle information, and switching the configuration information corresponding to the shuttle information to the first display area for display.
When the shuttle type of the shuttle information is determined to be the deconfiguration type through the type identifier, the shuttle instruction is used for deconfiguring the configuration data, so that the configuration identifier of the configuration information represented by the shuttle information is deconfigurated, and the authority of a medical institution with the configuration information to access the specific server is removed. And simultaneously, switching the configuration information with the configuration identifier removed from the second display area to the first display area for display, and representing to switch the configuration information into unconfigured data. Similarly, various information data of the medical institution represented by the configuration information corresponding to the shuttle information are packaged and encapsulated into a data packet, and arrangement identifications are set for the various information data in the data packet according to respective types, so that the various information data are arranged and displayed at different positions of the data line of the first display area according to the arrangement identifications, and the configuration result of the configuration release is updated to the data page for display.
In the partition dynamic display method for data of this embodiment, a preset frame page for partition dynamic display of data is preset, and data to be configured and configured, which are read from a preset database and are not configured, are respectively added to a first display area and a second display area of the preset frame page to be displayed, so as to generate a data page; and when a shuttle instruction for configuring each data in the data page is received, configuring the data to be configured and the configuration data, and updating and displaying the configured data to be configured and the configuration data on the data page. The method comprises the steps that non-configured data and configured data can be rapidly distinguished in different display areas in a data page, configuration of the data to be configured and the configured data can be achieved by triggering a shuttle instruction on the basis, and a display configuration result is updated; the method avoids the problems that the unconfigured data or the configured data are screened out from a large amount of displayed data, and then the screened unconfigured data or the screened configured data are configured or are not configured; the operation is simple, and the data configuration efficiency is high.
Further, a second real-time example of the partitioned dynamic display method of the data of the present invention is provided based on the first embodiment of the partitioned dynamic display method of the data of the present invention, and in the second embodiment, the step of generating the data page includes:
step a1, when a page turning instruction based on the data page is received, determining a page turning area corresponding to the page turning instruction;
understandably, there are many medical institutions which need to be configured to grant access rights to a specific server for preset database docking, that is, there are many items of data to be configured, and the number of display items of data to be configured in a data page is limited, so that all data to be configured cannot be displayed in the same display page. In order to facilitate displaying of each item of data to be configured, a mechanism for displaying each item of data to be configured by turning pages according to page attribute information is provided. Specifically, a page turning virtual key is arranged in a preset frame page for generating the data page, and when the page turning virtual key has a requirement for viewing other medical institutions, a page turning instruction is triggered through the page turning virtual key so as to switch currently displayed information data into information data of other medical institutions. The server determines a page turning area corresponding to the page turning instruction according to an area identifier carried by the server after receiving the page turning instruction.
Step a2, reading target configuration data corresponding to the page turning area from the preset database according to a single page display item of the data page, and adding the target configuration data to the page turning area for display.
Further, the information data of each medical structure in the preset database is arranged in a certain order, such as in the front-back order of the initials, or in the front-back order of the code initials. In addition, the page turning virtual keys comprise a next page key and a next page key which are turned upwards; after determining the page turning area corresponding to the page turning instruction, the server determines the page turning sequence of the page turning instruction according to the sequence identification; and when the page turning instruction comes from the previous page key, determining that the page turning sequence is upward turning, and otherwise, determining that the page turning sequence is downward turning. And after determining the page turning region and the page turning sequence of the page turning instruction, reading target configuration data corresponding to the page turning region from a preset database according to the single page display item of the data page. Wherein, the single page display item is the data to be configured represented by the page attribute information and the maximum number of display items, such as 20, of the configuration data displayed in the data page each time; the page turning region represents whether the data to be configured is turned or is turned, when the page turning region is the first display region, the other 20 pieces of data to be configured arranged in the front row or the rear row of the currently displayed data to be configured are read from the preset database, the read other 20 pieces of data to be configured are added into the first display region as target configuration data, and the currently displayed data with configuration in the first display region are replaced for display. Correspondingly, when the page turning region is a second display region, reading other configuration data which are arranged in the front column or the rear column of the currently displayed configuration data in the preset database and taking the other configuration data as target configuration data to be added to the second display region for display. If the items of data to be configured in the preset database are arranged in the order of B1, B2, B3 · B50, B51, B52 · s, the single-page display entry is 15, and the currently displayed data to be configured is B16, B17 · s30, when the received page-turning instruction is turned down correspondingly, the data to be configured B31, B32 · s 45 is read as the target configuration data, and replaces the currently displayed information to be configured with it for display.
In the embodiment, the page turning virtual keys are arranged in the first display area and the second display area to trigger the page turning instruction to perform page turning check on the data to be configured and the configuration data in the preset database, the content of page turning has pertinence, and confusion between the configuration data and the data to be configured is avoided. Meanwhile, the data to be configured and the configuration data in the preset database have the characteristic of dynamic update, and after the page turning instruction is received, the data to be configured and the configuration data read from the preset database are updated latest data in the preset database, so that the accuracy of the displayed data to be configured and the configuration data is ensured, and the configuration accuracy is further facilitated.
Further, a third real-time example of the partitioned dynamic display method of the data of the present invention is provided based on the first embodiment of the partitioned dynamic display method of the data of the present invention, and in the third embodiment, the step of generating the data page includes:
step b1, when a search keyword based on the data page is detected, starting a preset timer to time, and generating delay time corresponding to the search keyword;
furthermore, a preset frame page for generating the data page is provided with a search input box, and the first display area and the second display area are both provided with the search input box so as to search for the data to be configured and the configuration data respectively. In order to avoid frequent searching and searching of the preset database, a throttling mechanism for delaying is preset. When a search requirement exists, inputting a search keyword in a search input box, and starting a throttling mechanism when a server detects the search keyword; and counting the delay time corresponding to the search keyword by calling a preset timer, wherein the delay time is the pause time of the keyword inputter for inputting the search keyword.
B2, judging whether the delay time is greater than a preset time threshold, and if so, searching based on the search keyword to generate a search result;
furthermore, a preset time threshold is set in advance according to the requirement, and after the delay time in the search keyword input process is obtained through statistics, the delay time is compared with the preset time threshold, and whether the delay time is greater than the preset time threshold is judged. If the delay time is greater than a preset time threshold, judging that the input of the search keyword is finished, and searching a preset database according to the search keyword to obtain a search result; otherwise, continuing to count time until the delay time is larger than the preset time threshold value, and then searching.
And b3, determining a search area according to the search keyword, and adding the search result to the search area for display.
Further, the search keyword carries an area identifier representing a source area of the search keyword, and when the area identifier is an identifier of the first display area, the search keyword is from a search input box of the first display area, and the search is performed on the data to be configured; and when the area identifier is the identifier of the second display area, the search keyword is derived from the search input box of the second display area, and the search is performed on the data to be configured. And after the search result is obtained through searching, adding the search result to the search area for displaying according to the search area determined by the search keyword.
The embodiment sets a search mechanism for the data to be configured and the configuration data, so that the data to be configured and the configuration data which need to be checked can be conveniently and quickly found. Meanwhile, the preset timer is started to perform searching throttling in the searching process, so that frequent searching of the preset database is avoided, and the searching pressure of the preset database is reduced.
In addition, referring to fig. 2, the present invention provides a data partitioning dynamic display device, in a first embodiment of the data partitioning dynamic display device of the present invention, the data partitioning dynamic display device includes:
the starting module 10 is configured to, when receiving a page starting instruction, start a preset frame page for dynamically displaying a data partition, and read data to be configured and configuration data from a preset database;
the generating module 20 is configured to add the data to be configured and the configuration data to a first display area and a second display area on a preset frame page respectively for display, so as to generate a data page;
and the display module 30 is configured to, when a shuttle instruction for configuring each data in the data page is received, configure the data to be configured and the configuration data according to the shuttle instruction, and update and display the data page.
In the partition dynamic display device for data of this embodiment, by presetting a preset frame page for partition dynamic display of data, the starting module 10 and the generating module 20 respectively add the data to be configured and the configured data read from the preset database to the first display area and the second display area of the preset frame page for display, so as to generate a data page; when a shuttle instruction for configuring each data in the data page is received, the display module 30 configures the data to be configured and the configuration data, and updates and displays the configured data to be configured and the configuration data on the data page. The method comprises the steps that non-configured data and configured data can be rapidly distinguished in different display areas in a data page, configuration of the data to be configured and the configured data can be achieved by triggering a shuttle instruction on the basis, and a display configuration result is updated; the method avoids the problems that the unconfigured data or the configured data are screened out from a large amount of displayed data, and then the screened unconfigured data or the screened configured data are configured or are not configured; the operation is simple, and the data configuration efficiency is high.
Further, in another embodiment of the partitioned dynamic display device of the data of the present invention, the display module further includes:
a reading unit, configured to read shuttle information carried in the shuttle instruction, and determine a shuttle type of the shuttle information;
the distribution unit is used for distributing a configuration identifier to the information to be configured corresponding to the shuttle information and switching the information to be configured corresponding to the shuttle information to the second display area for displaying when the shuttle type is a distribution configuration type;
and a switching unit, configured to, when the shuttle type is a de-configuration type, de-configure the identifier for the configuration information corresponding to the shuttle information, and switch the configuration information corresponding to the shuttle information to the first display area for display.
Further, in another embodiment of the device for dynamically displaying partitioned data of the present invention, the device for dynamically displaying partitioned data further includes:
the determining module is used for determining a page turning area corresponding to the page turning instruction when the page turning instruction based on the data page is received;
and the reading module is used for reading target configuration data corresponding to the page turning area from the preset database according to the single page display item of the data page, and adding the target configuration data to the page turning area for display.
Further, in another embodiment of the device for dynamically displaying partitioned data of the present invention, the device for dynamically displaying partitioned data further includes:
the detection module is used for starting a preset timer to time when the search keyword based on the data page is detected, and generating delay time corresponding to the search keyword;
the judging module is used for judging whether the delay time is greater than a preset time threshold value or not, and if so, searching is carried out based on the search keywords to generate a search result;
and the adding module is used for determining a search area according to the search keyword and adding the search result to the search area for display.
Further, in another embodiment of the partitioned dynamic display device of the data of the present invention, the starting module further includes:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for reading page attribute information and field attribute information carried in a starting instruction when the page starting instruction is received;
the configuration unit is used for starting the preset frame page and configuring the preset frame page according to the page attribute information;
and the generating unit is used for reading the field information corresponding to the field attribute information from the preset database and generating the data to be configured and the configuration data according to the configuration identifier of each field information.
Further, in another embodiment of the device for dynamically displaying partitioned areas of data according to the present invention, the starting module further includes:
the forming unit is used for reading the alternative fields carried in the alternative setting instruction and forming the alternative fields into an alternative information page when the alternative setting instruction is received;
and the updating unit is used for reading the alternative information corresponding to the alternative adding instruction from the alternative information page when receiving the alternative adding instruction, and updating the data to be configured and the configuration data according to the configuration identifier of each alternative information.
Further, in another embodiment of the partitioned dynamic display apparatus of the data of the present invention, the generating module further includes an adding unit, and the adding unit is configured to:
forming first data groups by using field information with the same field number in the data to be configured, and adding each first data group to a data line of the first display area for display according to the arrangement identification in the page attribute information;
and forming second data groups by using the field information with the same field number in the configuration data, and adding each second data group to the data line of the second display area for display according to the arrangement identification in the page attribute information to generate a data page.
The virtual function modules of the above-described partitioned dynamic display apparatus for data are stored in the memory 1005 of the partitioned dynamic display device for data shown in fig. 3, and when the processor 1001 executes a partitioned dynamic display program for data, the functions of the modules in the embodiment shown in fig. 2 are implemented.
Referring to fig. 3, fig. 3 is a schematic device structure diagram of a hardware operating environment related to the method according to the embodiment of the present invention.
The partition dynamic display device of the data in the embodiment of the present invention may be a PC (personal computer), or may also be a terminal device such as a smart phone, a tablet computer, an e-book reader, a portable computer, or the like.
As shown in fig. 3, the partitioned dynamic display device of data may include: a processor 1001, such as a CPU (Central Processing Unit), a memory 1005, and a communication bus 1002. The communication bus 1002 is used for realizing connection communication between the processor 1001 and the memory 1005. The memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Optionally, the device for dynamically displaying data in zones may further include a user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi (Wireless broadband) module, and the like. The user interface may comprise a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may also comprise a standard wired interface, a wireless interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface).
Those skilled in the art will appreciate that the partitioned dynamic display device structure of data shown in FIG. 3 does not constitute a definition of a partitioned dynamic display device of data, and may include more or fewer components than shown, or some of the components may be combined, or a different arrangement of components.
As shown in fig. 3, a memory 1005, which is a readable storage medium, may include an operating system, a network communication module, and a partitioned dynamic display program of data. The operating system is a program that manages and controls the partitioned dynamic display device hardware and software resources of the data, supports the partitioned dynamic display program of the data, and supports the execution of other software and/or programs. The network communication module is used to enable communication between the various components within the memory 1005, as well as with other hardware and software in the partitioned dynamic display device for data.
In the partitioned dynamic display device for data shown in fig. 3, the processor 1001 is configured to execute a partitioned dynamic display program for data stored in the memory 1005, and implement the steps in each embodiment of the partitioned dynamic display method for data.
The invention provides a readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors for implementing the steps in the embodiments of the partition dynamic display method of the data.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A partition dynamic display method of data is characterized by comprising the following steps:
when a page starting instruction is received, starting a preset frame page for dynamically displaying a data partition, and reading data to be configured and configuration data from a preset database;
adding the data to be configured and the configuration data into a first display area and a second display area on a preset frame page respectively for display to generate a data page;
when a shuttle instruction which is sent based on the data page and used for configuring each data in the data page is received, configuring the data to be configured and the configuration data according to the shuttle instruction, and updating and displaying the data page;
the step of configuring the data to be configured and the configuration data according to the shuttle instruction and updating and displaying the data page comprises the following steps:
reading shuttle information carried in the shuttle instruction, and determining a shuttle type of the shuttle information;
when the shuttle type is a distribution configuration type, distributing a configuration identifier to the information to be configured corresponding to the shuttle information, and switching the information to be configured corresponding to the shuttle information to the second display area for display;
and when the shuttle type is a configuration removing type, removing the configuration identifier of the configuration information corresponding to the shuttle information, and switching the configuration information corresponding to the shuttle information to the first display area for display.
2. The method for partitioned dynamic display of data according to claim 1, wherein said step of generating a page of data is followed by the steps of:
when a page turning instruction based on the data page is received, determining a page turning area corresponding to the page turning instruction;
and reading target configuration data corresponding to the page turning area from the preset database according to the single page display item of the data page, and adding the target configuration data to the page turning area for display.
3. The method for partitioned dynamic display of data according to claim 1, said step of generating a data page being followed by:
when a search keyword based on the data page is detected, starting a preset timer to time, and generating delay time corresponding to the search keyword;
judging whether the delay time is greater than a preset time threshold, if so, searching based on the search keyword to generate a search result;
and determining a search area according to the search keyword, and adding the search result to the search area for display.
4. The method for partitioned dynamic display of data according to any one of claims 1 to 3, wherein the step of starting a preset frame page when a page start instruction is received and reading the data to be configured and the configuration data from a preset database comprises:
when a page starting instruction is received, reading page attribute information and field attribute information carried in the starting instruction;
starting the preset frame page, and configuring the preset frame page according to the page attribute information;
and reading field information corresponding to the field attribute information from the preset database, and generating data to be configured and configuration data according to the configuration identifier of each field information.
5. The method for partitioned dynamic display of data according to claim 4, wherein the step of reading the page attribute information and the field attribute information carried in the start instruction when receiving a page start instruction comprises:
when an alternative setting instruction is received, reading an alternative field carried in the alternative setting instruction, and forming an alternative information page by the alternative field;
the step of generating the data to be configured and the configuration data according to the configuration identifier of each field information comprises the following steps:
when an alternative adding instruction is received, reading alternative information corresponding to the alternative adding instruction from the alternative information page, and updating the data to be configured and the configuration data according to the configuration identifier of each alternative information.
6. The method for partitioned dynamic display of data according to claim 5, wherein the step of adding the data to be configured and the configuration data to a first display area and a second display area on a preset frame page respectively for display, and the step of generating a data page comprises:
forming first data groups by using field information with the same field number in the data to be configured, and adding each first data group to a data line of the first display area for display according to the arrangement identification in the page attribute information;
and forming second data groups by using the field information with the same field number in the configuration data, and adding each second data group to the data line of the second display area for display according to the arrangement identification in the page attribute information to generate a data page.
7. An apparatus for partitioned dynamic display of data, comprising:
the starting module is used for starting a preset frame page for data partition dynamic display when a page starting instruction is received, and reading data to be configured and configuration data from a preset database;
the generating module is used for respectively adding the data to be configured and the configuration data into a first display area and a second display area on a preset frame page to be displayed so as to generate a data page;
the display module is used for configuring the data to be configured and the configuration data according to a shuttle instruction when the shuttle instruction which is sent based on the data page and is used for configuring each data in the data page is received, and updating and displaying the data page;
the display module is further configured to read shuttle information carried in the shuttle instruction, and determine a shuttle type of the shuttle information; when the shuttle type is a distribution configuration type, distributing a configuration identifier to the information to be configured corresponding to the shuttle information, and switching the information to be configured corresponding to the shuttle information to the second display area for display; and when the shuttle type is a configuration removing type, removing the configuration identifier of the configuration information corresponding to the shuttle information, and switching the configuration information corresponding to the shuttle information to the first display area for display.
8. A device for partitioned dynamic display of data, comprising: a memory, a processor, a communication bus, and a partitioned dynamic display program of data stored on the memory;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the partitioned dynamic display program of the data to implement the steps of the partitioned dynamic display method of the data according to any one of claims 1 to 6.
9. A readable storage medium, wherein the readable storage medium stores thereon a partitioned dynamic display program of data, which when executed by a processor implements the steps of the partitioned dynamic display method of data according to any one of claims 1 to 6.
CN201910977163.8A 2019-10-12 2019-10-12 Partition dynamic display method, device and equipment of data and readable storage medium Active CN110955478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910977163.8A CN110955478B (en) 2019-10-12 2019-10-12 Partition dynamic display method, device and equipment of data and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910977163.8A CN110955478B (en) 2019-10-12 2019-10-12 Partition dynamic display method, device and equipment of data and readable storage medium

Publications (2)

Publication Number Publication Date
CN110955478A CN110955478A (en) 2020-04-03
CN110955478B true CN110955478B (en) 2023-02-03

Family

ID=69975656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910977163.8A Active CN110955478B (en) 2019-10-12 2019-10-12 Partition dynamic display method, device and equipment of data and readable storage medium

Country Status (1)

Country Link
CN (1) CN110955478B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035094B (en) * 2020-09-02 2024-04-16 中国银行股份有限公司 Shuttle frame implementation method and device based on Vuetify frame
CN113127779B (en) * 2021-03-22 2024-06-21 北京达佳互联信息技术有限公司 Data viewing method and device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007101596A (en) * 2005-09-30 2007-04-19 Brother Ind Ltd Display device and display program
JP5591450B2 (en) * 2008-02-12 2014-09-17 シャープ株式会社 Content display processing device, content display processing method, content display processing program, and computer-readable recording medium recording the content display processing program
EP2672443A4 (en) * 2011-02-04 2014-11-12 Rakuten Inc Information supply device
CN109992589B (en) * 2019-04-11 2020-04-10 北京启迪区块链科技发展有限公司 Method, device, server and medium for generating SQL (structured query language) statements based on visual page

Also Published As

Publication number Publication date
CN110955478A (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN108074177B (en) Data reconciliation method, system and computer-readable storage medium
US9544355B2 (en) Methods and apparatus for realizing short URL service
EP3399435A1 (en) Method and device for processing short link, and short link server
CN110955478B (en) Partition dynamic display method, device and equipment of data and readable storage medium
CN109829287A (en) Api interface permission access method, equipment, storage medium and device
CN109558091B (en) Lookup table storage method and device and computer readable storage medium
CN107092652B (en) Navigation method and device for target page
CN108401026B (en) Block chain-based data storage method, system and computer-readable storage medium
CN107038194B (en) Page jump method and device
CN109918392B (en) Structured query language positioning method, device, server and storage medium
CN112052374B (en) A page display method a device(s) computer device and storage medium
US11283689B2 (en) Method for managing multiple servers and device employing method
US20170289243A1 (en) Domain name resolution method and electronic device
CN110874383A (en) Data processing method and device and electronic equipment
CN111460474A (en) Method and device for realizing decentralized prediction machine, storage and computer
CN109582458A (en) Resource information loading method, device, storage medium and processor
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
CN107784085B (en) Data list exporting method and terminal thereof
CN106528136A (en) Widget-based display method and apparatus, and terminal device
CN108062401B (en) Application recommendation method and device and storage medium
CN110874365B (en) Information query method and related equipment thereof
CN112187548A (en) Method, device and equipment for synchronously updating configuration data and storage medium
CN110837499A (en) Data access processing method and device, electronic equipment and storage medium
CN110928895A (en) Data query method, data table establishing method, device and equipment
JP5204303B2 (en) Data combination system and data combination method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40023206

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220525

Address after: 518000 China Aviation Center 2901, No. 1018, Huafu Road, Huahang community, Huaqiang North Street, Futian District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Ping An medical and Health Technology Service Co.,Ltd.

Address before: Room 12G, Area H, 666 Beijing East Road, Huangpu District, Shanghai 200001

Applicant before: PING AN MEDICAL AND HEALTHCARE MANAGEMENT Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant