CN113032392B - Label data acquisition method, apparatus, computer device and storage medium - Google Patents
Label data acquisition method, apparatus, computer device and storage medium Download PDFInfo
- Publication number
- CN113032392B CN113032392B CN202110217686.XA CN202110217686A CN113032392B CN 113032392 B CN113032392 B CN 113032392B CN 202110217686 A CN202110217686 A CN 202110217686A CN 113032392 B CN113032392 B CN 113032392B
- Authority
- CN
- China
- Prior art keywords
- data
- label
- search field
- search
- field value
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24552—Database cache management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application relates to a method, a device, a computer device and a storage medium for acquiring signage data by receiving a first retrieval field value set; generating a label data acquisition request according to the first search field value set, and then sending the label data acquisition request to a server, so that the server searches and obtains corresponding first label associated data and first label data according to the label data acquisition request; receiving first label data and first label associated data and carrying out data caching; displaying the first signage data; receiving a second set of search field values; comparing the second set of search field values with the first set of search field values; when a second search field value which is the same as the first search field value exists in the second search field value set, searching corresponding second label data from the first label associated data in the cache; and displaying the second signage data, so that the interaction times between the terminal and the server can be reduced when the signage data is acquired, and the acquisition efficiency of the signage data can be improved.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for acquiring signage data, a computer device, and a storage medium.
Background
The important role of electric power in our life and production is not neglected, and the electric power brings great convenience to us, and becomes an important energy source in our production and life. The most critical factor in a power plant to enable proper operation and delivery of electricity is electrical equipment. The daily maintenance of electrical equipment is particularly important, and in order to facilitate the management and use of electrical equipment, labels are often attached to the electrical equipment to distinguish between different electrical equipment. Before the label is attached, the label corresponding to different electrical equipment needs to be acquired.
In the traditional method, once electronic signage data is acquired, the terminal needs to interact with the server once, and when different electronic signage data are acquired, the terminal needs to interact with the server for a plurality of times, so that the data acquisition efficiency is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a signage data acquisition method, apparatus, computer device, and storage medium that can improve data acquisition efficiency.
A method of signage data acquisition, the method comprising:
receiving a first set of search field values; generating a first search formula according to the first search field value set;
Generating a label data acquisition request according to a first search formula, and then sending the request to a server, so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and uses the same label data as the first label data corresponding to the first search formula after de-duplication;
receiving the first signage data and the first signage associated data, and carrying out data caching on the first signage data and the first signage associated data; displaying the first signage data;
receiving a second set of search field values; generating a second search formula according to the second search field value set;
comparing the second set of search field values with the first set of search field values;
when the second search field value which is the same as the first search field value exists in the second search field value set, searching second label data corresponding to the second search formula from the first label associated data in the cache; and displaying the second label data.
In one embodiment, before the receiving the first set of search field values, the method further comprises:
acquiring label attribute information and identity attribute information of operation and maintenance personnel;
constructing a search field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the search field comprises a label attribute field and an identity attribute field;
the receiving a first set of search field values includes:
a first signage attribute field value and a first identity attribute field value are received.
In one embodiment, the first signage data includes a first signage data inventory and first signage detailed information; the displaying the first signage data includes:
displaying the first signage data list;
when first label data in the first label data list receives detailed information inquiry triggering operation, searching detailed information corresponding to the first label data from cached first label detailed information; and displaying the detailed information corresponding to the first label data.
In one embodiment, the method further comprises:
when the second search field value set contains the first search field value set, searching for second label data corresponding to the second search formula from the first label data in the cache;
And displaying the second label data.
In one embodiment, the method further comprises:
storing the first search list to a history search list;
when a history retrieval list access request is received, displaying the history retrieval list;
and when the first retrieval type receives a retrieval triggering operation, reading the first label data from the cache, and displaying the first label data.
In one embodiment, at least one of the first set of search field values is a non-null value and at least one of the second set of search field values is a non-null value.
A signage data acquisition apparatus, the apparatus comprising:
the search generation module is used for receiving a first search field value set; generating a first search formula according to the first search field value set;
the label data acquisition request generation module is used for generating a label data acquisition request according to a first search type and sending the label data acquisition request to a server, so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and de-duplicates the same label data to be used as the first label data corresponding to the first search type;
The label data caching module is used for receiving the first label data and the first label associated data and carrying out data caching on the first label data and the first label associated data;
the sign data display module is used for displaying the first sign data;
the search generation module is further used for receiving a second search field value set; generating a second search formula according to the second search field value set;
a search field value comparison module for comparing the second search field value set with the first search field value set;
the label data searching module is used for searching and obtaining second label data corresponding to the second search formula from the first label associated data in the cache when the second search field value which is the same as the first search field value exists in the second search field value set;
the sign data display module is also used for displaying the second sign data.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
The tag data acquisition method, apparatus, computer device and storage medium, by receiving a first set of search field values; generating a first search formula according to the first search field value set; generating a label data acquisition request according to the first search formula and sending the request to a server so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and de-weights the same label data to be used as the first label data corresponding to the first search formula; receiving first label data and first label associated data, and carrying out data caching on the first label data and the first label associated data; displaying the first signage data; receiving a second set of search field values; generating a second search formula according to the second search field value set; comparing the second set of search field values with the first set of search field values; when a second search field value which is the same as the first search field value exists in the second search field value set, searching second label data corresponding to the second search formula from the first label associated data in the cache; and displaying the second signage data, so that the interaction times between the terminal and the server can be reduced when the signage data is acquired, and the acquisition efficiency of the signage data can be improved.
Drawings
FIG. 1 is an application environment diagram of a method of tag data acquisition in one embodiment;
FIG. 2 is a flow chart of a method of tag data retrieval in one embodiment;
FIG. 3 is a flow chart of a tag data presentation step in one embodiment;
FIG. 4 is a flowchart of a method for tag data retrieval in another embodiment;
FIG. 5 is a block diagram of a tag data retrieval device according to one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The method for acquiring the signage data can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
Specifically, the terminal 102 receives the first set of search field values and generates a first search expression from the first set of search field values. The terminal 102 generates a tag data acquisition request according to the first search, and transmits the tag data acquisition request to the server 104. After receiving the tag data obtaining request, server 104 searches for tag data corresponding to each of the first search field values in the first set of search field values according to the tag data obtaining request. The server 104 combines the label data corresponding to the first search field values to obtain first label associated data, extracts the same label data from the first label associated data, and uses the same label data as the first label data corresponding to the first search formula after the duplication of the same label data is removed. The server 104 transmits the first signage data and the first signage associated data to the terminal 102. The terminal 102 receives the first signage data and the first signage associated data, data caches the first signage data and the first signage associated data, and displays the first signage data. The terminal 102 receives the second set of search field values and generates a second search expression from the second set of search field values.
Further, the terminal 102 compares the second set of search field values with the first set of search field values. When the second search field value set has the second search field value identical to the first search field value, the terminal 102 searches the second label data corresponding to the second search formula from the first label associated data in the cache, and displays the second label data.
In one embodiment, as shown in fig. 2, there is provided a method for acquiring signage data, which is described by taking the terminal in fig. 1 as an example, and includes the following steps:
step 202, receiving a first search field value set; a first search formula is generated from the first set of search field values.
Wherein the first set of search field values is a set of first search field values. The first search field value is a value of a search field that can be regarded as a search condition for the tag data. The search field is a field preset for realizing the search and acquisition of the tag data.
Specifically, the terminal displays the signage data retrieval page. The signage data retrieval page comprises a signage data retrieval column and a retrieval trigger control. The index field of the label data comprises a set index field and an index field value input box. The user can input a first search field value in the search field value input box, and after the input is finished, the motor searches the trigger control to trigger the search operation. After receiving the search triggering operation, the terminal acquires the first search field values from each search field input box, namely receives a first search field value set, and combines each first search field value in the first search field value set according to a logic relationship to obtain a first search formula.
In one embodiment, prior to step 202, the method further comprises: acquiring label attribute information and identity attribute information of operation and maintenance personnel; constructing a search field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the retrieval fields include a signage attribute field and an identity attribute field.
The label attribute information comprises the state of the label, and the state of the label comprises the state of waiting to be processed, printed, pasted and the like. The identity attribute information of the operation and maintenance personnel comprises the information of the work number, the affiliated department, the unit and the like of the operation and maintenance personnel.
Specifically, the terminal acquires the label attribute information and the identity attribute information of the operation and maintenance personnel, and constructs a retrieval field according to the label data information and the identity attribute information of the operation and maintenance personnel. For example, the search field may be a status of a sign, a job number of an operation and maintenance person, a department to which the operation and maintenance person belongs, and the like.
In one embodiment, step 202 specifically includes: a first signage attribute field value and a first identity attribute field value are received.
Step 204, generating a label data acquisition request according to the first search, and sending the label data acquisition request to a server, so that the server searches for label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and uses the same label data as the first label data corresponding to the first search formula after de-duplication.
The label data acquisition request is a request sent by the terminal to the server, and the label data acquisition request carries a first retrieval formula and is used for requesting the server to retrieve first label data and first label associated data corresponding to the first retrieval formula. The first label data is label data satisfying a search condition of the first search expression. The first tag-related data is tag data satisfying a search condition of any one of the first search field values in the first search field value set.
For example, when the first search formula is "job number 001+label status is pasted", the first label data is the data of the label for which the job number 001 operation staff is responsible for the label status being pasted. The first label associated data is data of all labels for which the operation and maintenance personnel with a work number of 001 are responsible, and data of all labels with label states of stuck labels.
Specifically, the terminal generates a tag data acquisition request carrying the first search, and sends the tag data acquisition request to the server. After receiving the tag data obtaining request, the server responds to the tag data obtaining request, searches the tag data corresponding to each first search field value in the first search field value set in the database, and combines the tag data to obtain first tag association data.
Further, the server extracts the same label data from the first label associated data, de-duplicates the same label data and then uses the same label data as the first label data corresponding to the first search formula, namely deletes the same label data until only one item is reserved and then uses the same label data as the first label data corresponding to the first search formula.
For example, if the first search formula is "job number 001+label status is pasted", the server first searches the data of all labels responsible for the job number 001 operation staff and the data of all labels with the label status being pasted, and generates the first label related data. The data of all the labels which are responsible for the operation and maintenance personnel with the work number of 001 comprise the data which are pasted in the label state, and the data of all the labels which are pasted in the label state also comprise the data of the labels which are responsible for the operation and maintenance personnel with the work number of 001, and the two parts of data are identical. Therefore, the server can extract the data of the label which is responsible for the operation and maintenance personnel with the work number of 001 and has the state of the pasted label from the first label associated data. The server can obtain the data of the label which is responsible for the operation and maintenance personnel with the work number of 001 and has the state of the pasted label, namely the first label data after the server removes the weight.
Step 206, receiving the first signage data and the first signage associated data, and performing data caching on the first signage data and the first signage associated data; first signage data is displayed.
Specifically, after searching the database for the first label data and the first label associated data, the server sends the first label data and the first label associated data to the terminal. The terminal receives the first label data and the first label associated data, and performs data caching on the first label data and the first label associated data, so that the subsequent label data searching is facilitated.
Further, the terminal displays the first signage data.
Step 208, receiving a second set of search field values; and generating a second search formula according to the second search field value set.
Wherein the second set of search field values is a set of second search field values. The second search field value is also the value of the search field, as is the first search field value. It should be understood that the first and second are only used to distinguish between the time of the search, the first search field value is the search field value of the previous search, the second search field value is the search field value of the subsequent search, and the first search field value and the second search field value may be the same or different.
Specifically, the user can input a second search field value in the search field value input box, and after the input is finished, the motor searches the trigger control to trigger the search operation. After receiving the search triggering operation, the terminal acquires the second search field values from each search field input box, namely receives a second search field value set, and combines each second search field value in the second search field value set according to a logic relationship to obtain a second search formula.
Step 210, comparing the second set of search field values with the first set of search field values.
After receiving the second search field value set, the terminal compares the second search field value set with the first search field value set to obtain the relation between the first search field value set and the second search field value set. The relationship of the first set of search field values to the second set of search field values includes: inclusion, phase separation, and intersection.
Step 212, when the second search field value which is the same as the first search field value exists in the second search field value set, searching the first label associated data in the cache to obtain second label data corresponding to the second search formula; the second signage data is displayed.
Specifically, when there is a second search field value identical to the first search field value in the second search field value set, that is, the first search field value set and the second search field value set are in an intersecting relationship. Then, the terminal may find second tag data corresponding to the second search formula from the first tag associated data in the cache.
For example, if the first search field value set is (job number 001, stuck state) and the second search field value set is (job number 002, stuck state), then the first label-related data stores all the data of labels whose label state is stuck, including the data of labels responsible for the operation and maintenance personnel of job number 002.
Further, the terminal displays the second label data after searching the second label data.
In one embodiment, when the second search field value set includes the first search field value set, searching the first label data in the cache to obtain second label data corresponding to the second search formula; the second signage data is displayed.
Specifically, when the second search field value set includes the first search field value set, it is stated that the second search formula is to add a search condition based on the first search formula, or the second search formula is the same as the first search formula, and then the terminal may search the first tag data in the cache to obtain second tag data corresponding to the second search formula, and display the second tag data.
In the above-mentioned label data acquisition method, through receiving the first search field value set; generating a first search formula according to the first search field value set; generating a label data acquisition request according to the first search formula and sending the request to a server so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and de-weights the same label data to be used as the first label data corresponding to the first search formula; receiving first label data and first label associated data, and carrying out data caching on the first label data and the first label associated data; displaying the first signage data; receiving a second set of search field values; generating a second search formula according to the second search field value set; comparing the second set of search field values with the first set of search field values; when a second search field value which is the same as the first search field value exists in the second search field value set, searching second label data corresponding to the second search formula from the first label associated data in the cache; and displaying the second signage data, so that the interaction times between the terminal and the server can be reduced when the signage data is acquired, and the acquisition efficiency of the signage data can be improved.
In one embodiment, the first signage data includes a first signage data inventory and first signage detailed information; step 206 comprises: displaying a first signage data list; when the first label data in the first label data list receives detailed information inquiry triggering operation, detailed information corresponding to the first label data is searched from the cached first label detailed information; and displaying the detailed information corresponding to the first label data.
The index data list is a data list corresponding to a search formula, only data corresponding to a search field value is displayed, and one index data list includes data of a plurality of indexes. The tag detailed information is a list of detailed information for describing a tag, and one tag data detailed information page includes only data of one tag. The detailed information of the sign includes a functional location, a functional description, a sign size, etc. of the sign, more detailed information than the sign data list.
Specifically, after receiving the first signage data, the terminal displays a first signage data list. When a certain first label data in the first label data list receives detailed information inquiry triggering operation, searching the cached first label detailed information to obtain detailed information corresponding to the first label data, and displaying the detailed information. The detailed information query triggering operation may be clicking a position where a certain first signage data in the display interface is located.
In this embodiment, by caching the first signage detailed information, when a user needs to query the first signage detailed information, the terminal can directly obtain the first signage detailed information from the cache, so that the number of interactions between the terminal and the server is reduced, and the signage data obtaining efficiency is improved; and the terminal displays the first label data list firstly, and searches and displays the first label detailed information when receiving the detailed information inquiry triggering operation, so that the display interface is simplified, and the display interface is more attractive.
In one embodiment, as shown in fig. 3, the method further comprises:
step 302, storing the first search list in a history search list;
step 304, when a history retrieval list access request is received, a history retrieval list is displayed;
and 306, when the first search trigger operation is received by the first search, reading the first label data from the cache, and displaying the first label data.
The history retrieval list is used for storing a history retrieval formula.
Specifically, after the terminal receives the first tag data, the first retrievable formula is stored to the history retrieval list. When a history retrieval list access request is received, the terminal presents the history retrieval list for viewing by a user. When the first search formula receives the search triggering operation, the terminal can read the first label data from the cache and display the first label data.
In this embodiment, by storing the first search formula to the history search list, it is able to facilitate the user to view the history record, and when the user needs to view the first tag data again, the user may directly trigger the operation in the history search list to display the first tag data, without inputting the first search field value again, so as to improve the rationality of tag data acquisition and the efficiency of tag data acquisition.
In one embodiment, at least one first search field value in the first set of search field values is a non-null value and at least one second search field value in the second set of search field values is a non-null value.
Wherein, a non-null value refers to at least one search field value in the set of search field values being valid.
Specifically, the search bar includes a plurality of search field value input boxes. The user may or may not input the search field value in each search field value input box. When the search field value is not input in all the search field value input boxes and the search triggering operation is received, the terminal generates error reporting information to remind the user that the search operation is triggered after the search field value is input.
In one embodiment, when the set of search field values is (job number 001, sign status has no input), then the retrieved sign data is the data under all sign status for which the job number 001 operation and maintenance personnel is responsible.
In this embodiment, the validity of the tag data acquisition can be ensured by defining at least one search field value in the set of search field values as a non-null value.
In one embodiment, as shown in fig. 4, another method for obtaining signage data is provided, which is illustrated by taking the terminal in fig. 1 as an example, and includes the following steps:
step 402, acquiring label attribute information and identity attribute information of operation and maintenance personnel;
step 404, constructing a search field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the retrieval field comprises a label attribute field and an identity attribute field;
step 406, receiving a first set of search field values, the first set of search field values including a first signage attribute field value and a first identity attribute field value; at least one first search field value in the first search field value set is a non-null value;
step 408, generating a first search formula according to the first search field value set;
step 410, generating a label data acquisition request according to the first search, and sending the request to a server, so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and uses the same label data as the first label data corresponding to the first search formula after de-duplication;
Step 412, receiving the first signage data and the first signage associated data, and performing data caching on the first signage data and the first signage associated data; the first signage data includes a first signage data inventory and first signage detailed information;
step 414, displaying a first signage data list;
step 416, when the first tag data in the first tag data list receives the detailed information inquiry triggering operation, searching the detailed information corresponding to the first tag data from the cached first tag detailed information;
step 418, displaying detailed information corresponding to the first label data;
step 420, storing the first search list in a history search list;
step 422, when a history retrieval list access request is received, a history retrieval list is presented;
step 424, when the first search type receives the search triggering operation, the first label data is read from the cache, and the first label data is displayed;
step 426, receiving a second set of search field values; generating a second search formula according to the second search field value set; at least one second search field value in the second search field value set is a non-null value;
step 428, comparing the second set of search field values with the first set of search field values;
Step 430, when the second search field value identical to the first search field value exists in the second search field value set, searching the first label associated data in the cache to obtain second label data corresponding to the second search formula; displaying the second signage data;
step 432, when the second search field value set includes the first search field value set, searching the first label data in the cache to obtain second label data corresponding to the second search formula; the second signage data is displayed.
In this embodiment, by caching the tag data and the tag associated data obtained during the previous search, when the search field value set of the subsequent search and the search field value set of the previous search are intersected or included, the corresponding tag data can be directly obtained from the cache, the number of interactions between the terminal and the server is reduced, and the tag data obtaining efficiency is improved.
It should be understood that, although the steps in the flowcharts of fig. 2-4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-4 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in FIG. 5, there is provided a signage data acquisition apparatus 500 comprising: a search generation module 501, a tag data acquisition request generation module 502, a tag data cache module 503, a tag data presentation module 504, a search field value comparison module 505, and a tag data lookup module 506, wherein:
a search generation module 501, configured to receive a first search field value set; generating a first search formula according to the first search field value set;
the sign data acquisition request generating module 502 is configured to generate a sign data acquisition request according to a first search formula, and send the sign data acquisition request to the server, so that the server searches for sign data corresponding to each first search field value in the first search field value set according to the sign data acquisition request, combines the sign data corresponding to each first search field value to obtain first sign associated data, extracts the same sign data from the first sign associated data, and uses the same sign data as first sign data corresponding to the first search formula after duplication removal;
the tag data caching module 503 is configured to receive the first tag data and the first tag associated data, and cache the first tag data and the first tag associated data;
A signage data presentation module 504 for presenting the first signage data;
the search generation module 501 is further configured to receive a second set of search field values; generating a second search formula according to the second search field value set;
a search field value comparison module 505 for comparing the second set of search field values with the first set of search field values;
the tag data searching module 506 is configured to search, when a second search field value that is the same as the first search field value exists in the second search field value set, for obtaining second tag data corresponding to the second search expression from the first tag associated data in the cache;
the signage data presentation module 504 is also configured to present second signage data.
In one embodiment, the signage data acquisition apparatus 500 further includes a search field construction module 507 for acquiring signage attribute information and identity attribute information of an operation and maintenance person; constructing a search field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the retrieval fields include a signage attribute field and an identity attribute field.
In one embodiment, retrievable generation module 501 is further configured to receive a first signage attribute field value and a first identity attribute field value.
In one embodiment, the first signage data includes a first signage data inventory and first signage detailed information; the signage data display module 504 is further configured to display the first signage data inventory; when the first label data in the first label data list receives detailed information inquiry triggering operation, detailed information corresponding to the first label data is searched from the cached first label detailed information; and displaying the detailed information corresponding to the first label data.
In one embodiment, the tag data presentation module 504 is further configured to, when the second set of search field values includes the first set of search field values, find second tag data corresponding to the second search expression from the first tag data in the cache; the second signage data is displayed.
In one embodiment, the signage data presentation module 504 is further configured to store the first retrievable to a history retrieval list; when a history retrieval list access request is received, displaying a history retrieval list; when the first search formula receives a search trigger operation, the first label data is read from the cache, and the first label data is displayed.
In one embodiment, at least one first search field value in the first set of search field values is a non-null value and at least one second search field value in the second set of search field values is a non-null value.
For specific limitations on the tag data acquisition apparatus, reference may be made to the above limitations on the tag data acquisition method, and no further description is given here. The various modules in the signage data acquisition apparatus described above may be implemented in whole or in part in software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a signage data acquisition method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: receiving a first set of search field values; generating a first search formula according to the first search field value set; generating a label data acquisition request according to the first search formula and sending the request to a server so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and de-weights the same label data to be used as the first label data corresponding to the first search formula; receiving first label data and first label associated data, and carrying out data caching on the first label data and the first label associated data; displaying the first signage data; receiving a second set of search field values; generating a second search formula according to the second search field value set; comparing the second set of search field values with the first set of search field values; when a second search field value which is the same as the first search field value exists in the second search field value set, searching second label data corresponding to the second search formula from the first label associated data in the cache; the second signage data is displayed.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring label attribute information and identity attribute information of operation and maintenance personnel; constructing a search field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the retrieval fields include a signage attribute field and an identity attribute field.
In one embodiment, the processor when executing the computer program further performs the steps of: a first signage attribute field value and a first identity attribute field value are received.
In one embodiment, the processor when executing the computer program further performs the steps of: the first signage data includes a first signage data inventory and first signage detailed information; displaying a first signage data list; when the first label data in the first label data list receives detailed information inquiry triggering operation, detailed information corresponding to the first label data is searched from the cached first label detailed information; and displaying the detailed information corresponding to the first label data.
In one embodiment, the processor when executing the computer program further performs the steps of: when the second search field value set comprises the first search field value set, searching the first label data in the cache to obtain second label data corresponding to the second search formula; the second signage data is displayed.
In one embodiment, the processor when executing the computer program further performs the steps of: storing the first search formula to a history search list; when a history retrieval list access request is received, displaying a history retrieval list; when the first search formula receives a search trigger operation, the first label data is read from the cache, and the first label data is displayed.
In one embodiment, the processor when executing the computer program further performs the steps of: at least one first search field value in the first set of search field values is a non-null value and at least one second search field value in the second set of search field values is a non-null value.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a first set of search field values; generating a first search formula according to the first search field value set; generating a label data acquisition request according to the first search formula and sending the request to a server so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and de-weights the same label data to be used as the first label data corresponding to the first search formula; receiving first label data and first label associated data, and carrying out data caching on the first label data and the first label associated data; displaying the first signage data; receiving a second set of search field values; generating a second search formula according to the second search field value set; comparing the second set of search field values with the first set of search field values; when a second search field value which is the same as the first search field value exists in the second search field value set, searching second label data corresponding to the second search formula from the first label associated data in the cache; the second signage data is displayed.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring label attribute information and identity attribute information of operation and maintenance personnel; constructing a search field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the retrieval fields include a signage attribute field and an identity attribute field.
In one embodiment, the computer program when executed by the processor further performs the steps of: a first signage attribute field value and a first identity attribute field value are received.
In one embodiment, the computer program when executed by the processor further performs the steps of: the first signage data includes a first signage data inventory and first signage detailed information; displaying a first signage data list; when the first label data in the first label data list receives detailed information inquiry triggering operation, detailed information corresponding to the first label data is searched from the cached first label detailed information; and displaying the detailed information corresponding to the first label data.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the second search field value set comprises the first search field value set, searching the first label data in the cache to obtain second label data corresponding to the second search formula; the second signage data is displayed.
In one embodiment, the computer program when executed by the processor further performs the steps of: storing the first search formula to a history search list; when a history retrieval list access request is received, displaying a history retrieval list; when the first search formula receives a search trigger operation, the first label data is read from the cache, and the first label data is displayed.
In one embodiment, the computer program when executed by the processor further performs the steps of: at least one first search field value in the first set of search field values is a non-null value and at least one second search field value in the second set of search field values is a non-null value.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.
Claims (10)
1. A method of signage data acquisition, the method comprising:
receiving a first set of search field values; generating a first search formula according to the first search field value set;
generating a label data acquisition request according to a first search formula, and then sending the request to a server, so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and uses the same label data as the first label data corresponding to the first search formula after de-duplication;
Receiving the first signage data and the first signage associated data, and carrying out data caching on the first signage data and the first signage associated data; displaying the first signage data;
receiving a second set of search field values; generating a second search formula according to the second search field value set; the first search field value set is input by a user in a search field value input box at a first time, and the second search field value set is input by the user in a search field value input box at a second time, wherein the second time is backward time of the first time;
comparing the second set of search field values with the first set of search field values;
when the second search field value set is intersected with the first search field value set, second label data corresponding to the second search formula is searched from first label associated data in a cache; when the second search field value set contains the first search field value set, searching for second label data corresponding to the second search formula from the first label data in the cache;
and displaying the second label data.
2. The method of claim 1, wherein prior to said receiving the first set of search field values, the method further comprises:
acquiring label attribute information and identity attribute information of operation and maintenance personnel;
constructing a search field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the search field comprises a label attribute field and an identity attribute field;
the receiving a first set of search field values includes:
a first signage attribute field value and a first identity attribute field value are received.
3. The method of claim 1, wherein the first signage data includes a first signage data inventory and first signage detailed information; the displaying the first signage data includes:
displaying the first signage data list;
when first label data in the first label data list receives detailed information inquiry triggering operation, searching detailed information corresponding to the first label data from cached first label detailed information; and displaying the detailed information corresponding to the first label data.
4. The method of claim 1, wherein extracting the same tag data from the first tag associated data, de-duplicating the same tag data to obtain first tag data corresponding to the first search formula, comprises:
And deleting the same label data in the first label associated data until only one item is reserved, and obtaining the first label data.
5. The method according to claim 1, wherein the method further comprises:
storing the first search list to a history search list;
when a history retrieval list access request is received, displaying the history retrieval list;
and when the first retrieval type receives a retrieval triggering operation, reading the first label data from the cache, and displaying the first label data.
6. The method of claim 1, wherein at least one first search field value in the first set of search field values is a non-null value and at least one second search field value in the second set of search field values is a non-null value.
7. A signage data acquisition apparatus, the apparatus comprising:
the search generation module is used for receiving a first search field value set; generating a first search formula according to the first search field value set;
the label data acquisition request generation module is used for generating a label data acquisition request according to a first search type and sending the label data acquisition request to a server, so that the server searches label data corresponding to each first search field value in the first search field value set according to the label data acquisition request, combines the label data corresponding to each first search field value to obtain first label associated data, extracts the same label data from the first label associated data, and de-duplicates the same label data to be used as the first label data corresponding to the first search type;
The label data caching module is used for receiving the first label data and the first label associated data and carrying out data caching on the first label data and the first label associated data;
the sign data display module is used for displaying the first sign data;
the search generation module is further used for receiving a second search field value set; generating a second search formula according to the second search field value set; the first search field value set is input by a user in a search field value input box at a first time, and the second search field value set is input by the user in a search field value input box at a second time, wherein the second time is backward time of the first time;
a search field value comparison module for comparing the second search field value set with the first search field value set;
the label data searching module is used for searching and obtaining second label data corresponding to the second search formula from the first label associated data in the cache when the second search field value set and the first search field value set are intersected; when the second search field value set contains the first search field value set, searching for second label data corresponding to the second search formula from the first label data in the cache;
The sign data display module is also used for displaying the second sign data.
8. The apparatus of claim 7, wherein the first signage data includes a first signage data inventory and first signage detailed information; the signage data display module is further used for displaying the first signage data list; when first label data in the first label data list receives detailed information inquiry triggering operation, searching detailed information corresponding to the first label data from cached first label detailed information; and displaying the detailed information corresponding to the first label data.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110217686.XA CN113032392B (en) | 2021-02-26 | 2021-02-26 | Label data acquisition method, apparatus, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110217686.XA CN113032392B (en) | 2021-02-26 | 2021-02-26 | Label data acquisition method, apparatus, computer device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113032392A CN113032392A (en) | 2021-06-25 |
CN113032392B true CN113032392B (en) | 2023-06-23 |
Family
ID=76461766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110217686.XA Active CN113032392B (en) | 2021-02-26 | 2021-02-26 | Label data acquisition method, apparatus, computer device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113032392B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010150750A1 (en) * | 2009-06-25 | 2010-12-29 | Nishiyama Shuhei | Database management device using key-value store with attributes, and key-value-store structure caching-device therefor |
CN104298695A (en) * | 2013-07-19 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Data caching method and device and server |
CN109815244A (en) * | 2019-02-21 | 2019-05-28 | 中国联合网络通信集团有限公司 | A kind of data processing method and device |
CN110837511A (en) * | 2019-11-15 | 2020-02-25 | 金蝶软件(中国)有限公司 | Data processing method, system and related equipment |
CN112328925A (en) * | 2020-10-28 | 2021-02-05 | 北京鸿腾智能科技有限公司 | Page data loading method, device, equipment and storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040236726A1 (en) * | 2003-05-19 | 2004-11-25 | Teracruz, Inc. | System and method for query result caching |
GB2430279A (en) * | 2005-05-11 | 2007-03-21 | Royce Technology Ltd | Metasearch tool for recruitment purposes |
US20120179669A1 (en) * | 2011-01-06 | 2012-07-12 | Al-Omari Awny K | Systems and methods for searching a search space of a query |
CN102930054A (en) * | 2012-11-19 | 2013-02-13 | 北京奇虎科技有限公司 | Data search method and data search system |
CN104281702B (en) * | 2014-10-22 | 2017-07-11 | 国家电网公司 | Data retrieval method and device based on electric power critical word participle |
CN107590275B (en) * | 2017-09-27 | 2021-05-14 | 北京时之砂科技有限公司 | Data query method and device |
CN110647542B (en) * | 2018-06-11 | 2022-07-19 | 北京神州泰岳软件股份有限公司 | Data acquisition method and device |
CN109857760A (en) * | 2018-12-22 | 2019-06-07 | 中国平安人寿保险股份有限公司 | Quick response search method and device, computer installation and storage medium |
CN111753165A (en) * | 2019-03-28 | 2020-10-09 | 阿里巴巴集团控股有限公司 | Search information processing method and device and electronic equipment |
CN112035528B (en) * | 2020-09-11 | 2024-04-16 | 中国银行股份有限公司 | Data query method and device |
-
2021
- 2021-02-26 CN CN202110217686.XA patent/CN113032392B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010150750A1 (en) * | 2009-06-25 | 2010-12-29 | Nishiyama Shuhei | Database management device using key-value store with attributes, and key-value-store structure caching-device therefor |
CN104298695A (en) * | 2013-07-19 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Data caching method and device and server |
CN109815244A (en) * | 2019-02-21 | 2019-05-28 | 中国联合网络通信集团有限公司 | A kind of data processing method and device |
CN110837511A (en) * | 2019-11-15 | 2020-02-25 | 金蝶软件(中国)有限公司 | Data processing method, system and related equipment |
CN112328925A (en) * | 2020-10-28 | 2021-02-05 | 北京鸿腾智能科技有限公司 | Page data loading method, device, equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
严志敏.《中国优秀硕士学位论文全文数据库 信息科技辑》.2013,(2013 年 第S2期),第I138-426页. * |
Also Published As
Publication number | Publication date |
---|---|
CN113032392A (en) | 2021-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101196930B (en) | Three-dimensional model searching system | |
CN112464625B (en) | Document generation method, device, computer equipment and storage medium | |
US11734241B2 (en) | Efficient spatial indexing | |
CN103177096B (en) | Page elements localization method and equipment based on text attribute | |
JP2017097823A (en) | Search server, terminal equipment, and search method to be used for distributed network | |
CN105074696A (en) | Unified searchable storage for resource-constrained and other devices | |
CN113407785A (en) | Data processing method and system based on distributed storage system | |
CN112559717A (en) | Search matching method and device, electronic equipment and storage medium | |
CN113032392B (en) | Label data acquisition method, apparatus, computer device and storage medium | |
CN114066533A (en) | Product recommendation method and device, electronic equipment and storage medium | |
CN101626313A (en) | Network management system client and performance data display method thereof | |
CN107220792A (en) | A kind of storage management method and system | |
CN111444368A (en) | Method and device for constructing user portrait, computer equipment and storage medium | |
CN116414854A (en) | Data asset query method, device, computer equipment and storage medium | |
CN115687350A (en) | Index construction method and device, computer equipment and storage medium | |
CN115730596A (en) | Object recommendation method and device and computer equipment | |
CN114547066A (en) | Nuclear power business data standardization method and device and computer equipment | |
US11687514B2 (en) | Multimodal table encoding for information retrieval systems | |
CN113127721A (en) | Method and device for directionally jumping pages based on search history | |
CN106921524B (en) | Method and device for configuring command line tag | |
CN112231541A (en) | Data retrieval method, system, computer device and storage medium | |
US20140317154A1 (en) | Heterogeneous data management methodology and system | |
CN113127574B (en) | Business data display method, system, equipment and medium based on knowledge graph | |
CN113515504B (en) | Data management method, device, electronic equipment and storage medium | |
BR112020005003A2 (en) | atomization digital content in multi-media objects for touchscreen and hands-free mobile devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |