CN113032392A - Label data acquisition method and device, computer equipment and storage medium - Google Patents

Label data acquisition method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113032392A
CN113032392A CN202110217686.XA CN202110217686A CN113032392A CN 113032392 A CN113032392 A CN 113032392A CN 202110217686 A CN202110217686 A CN 202110217686A CN 113032392 A CN113032392 A CN 113032392A
Authority
CN
China
Prior art keywords
label
retrieval
data
field value
label data
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.)
Granted
Application number
CN202110217686.XA
Other languages
Chinese (zh)
Other versions
CN113032392B (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.)
China General Nuclear Power Corp
CGN Power Co Ltd
Daya Bay Nuclear Power Operations and Management Co Ltd
Lingdong Nuclear Power Co Ltd
Guangdong Nuclear Power Joint Venture Co Ltd
Lingao Nuclear Power Co Ltd
Original Assignee
China General Nuclear Power Corp
CGN Power Co Ltd
Daya Bay Nuclear Power Operations and Management Co Ltd
Lingdong Nuclear Power Co Ltd
Guangdong Nuclear Power Joint Venture Co Ltd
Lingao Nuclear Power 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 China General Nuclear Power Corp, CGN Power Co Ltd, Daya Bay Nuclear Power Operations and Management Co Ltd, Lingdong Nuclear Power Co Ltd, Guangdong Nuclear Power Joint Venture Co Ltd, Lingao Nuclear Power Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN202110217686.XA priority Critical patent/CN113032392B/en
Publication of CN113032392A publication Critical patent/CN113032392A/en
Application granted granted Critical
Publication of CN113032392B publication Critical patent/CN113032392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to a label data acquisition method, apparatus, computer device and storage medium by receiving a first set of search field values; generating a label data acquisition request according to the first retrieval field value set, and then sending the label data acquisition request to a server, so that the server searches for 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 performing data caching; displaying the first label data; receiving a second set of search field values; comparing the second retrieval field value set with the first retrieval field value set; when a second retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, searching corresponding second label data from the first label associated data in the cache; and the second label data is displayed, so that the interaction times between the terminal and the server can be reduced when the label data is acquired, and the acquisition efficiency of the label data is improved.

Description

Label data acquisition method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for acquiring label data, a computer device, and a storage medium.
Background
The important role played by electric power in our life and production is not ignored, brings great convenience to our life, and becomes an important energy source in our production and life. The most critical factor in a power plant that allows for the proper operation and delivery of electricity is the electrical equipment. The daily maintenance of the electrical equipment is particularly important, and in order to facilitate the management and use of the electrical equipment, a label is usually attached to the electrical equipment to distinguish different electrical equipment. Before the label is pasted, labels corresponding to different electrical devices need to be obtained.
In the traditional method, the terminal has to interact with the server once every time the electronic label data is acquired, and the terminal needs to interact with the server for multiple times when different electronic label data are acquired, so that the data acquisition efficiency is low.
Disclosure of Invention
In view of the above, it is necessary to provide a signage data acquisition method, apparatus, computer device, and storage medium capable of improving data acquisition efficiency.
A signage data acquisition method, 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 retrieval formula, and sending the label data acquisition request to a server so that the server searches label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combining the label data corresponding to each first retrieval field value to obtain first label associated data, extracting the same label data from the first label associated data, and removing the duplicate of the same label data to obtain the first label data corresponding to the first retrieval formula;
receiving the first label data and the first label associated data, and performing data caching on the first label data and the first label associated data; displaying the first label data;
receiving a second set of search field values; generating a second search expression 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 retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, second label data corresponding to the second retrieval expression are searched and obtained from the first label associated data in the cache; and displaying the second label data.
In one embodiment, prior to said receiving the first set of retrieval field values, the method further comprises:
acquiring label attribute information and identity attribute information of operation and maintenance personnel;
constructing a retrieval 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;
said receiving a first set of search field values comprises:
a first signage attribute field value and a first identity attribute field value are received.
In one embodiment, the first sign data comprises a first sign data list and first sign details; the displaying the first signage data comprises:
displaying the first label data list;
when first label data in the first label data list receives detailed information query triggering operation, searching detailed information corresponding to the first label data from the cached first label detailed information; and displaying detailed information corresponding to the first label data.
In one embodiment, the method further comprises:
when the second retrieval field value set comprises the first retrieval field value set, second label data corresponding to the second retrieval formula are searched and obtained from the first label data in the cache;
and displaying the second label data.
In one embodiment, the method further comprises:
storing the first retrieval formula to a history retrieval list;
when a history retrieval list access request is received, displaying the history retrieval list;
and when the first retrieval mode receives retrieval triggering operation, reading the first label data from the cache, and displaying the first label data.
In one embodiment, at least one first retrieval field value of the first set of retrieval field values is a non-null value, and at least one second retrieval field value of the second set of retrieval field values is a non-null value.
A signage data acquisition apparatus, the apparatus comprising:
the searching generation module is used for receiving the first searching field value set; generating a first search formula according to the first search field value set;
the label data acquisition request generating module is used for generating a label data acquisition request according to a first retrieval formula and then sending the label data acquisition request to a server so that the server searches for label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combines the label data corresponding to each first retrieval field value to obtain first label associated data, extracts the same label data from the first label associated data, and takes the same label data as the first label data corresponding to the first retrieval formula after duplication removal;
the label data caching module is used for receiving the first label data and the first label associated data and caching the first label data and the first label associated data;
the label data display module is used for displaying the first label data;
the searching generation module is also used for receiving a second searching field value set; generating a second search expression according to the second search field value set;
a retrieval field value comparison module for comparing the second retrieval field value set with the first retrieval field value set;
the label data searching module is used for searching and obtaining second label data corresponding to the second searching expression from the first label associated data in the cache when a second searching field value identical to the first searching field value exists in the second searching field value set;
the sign data display module is further 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 executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
The label data acquisition method, the label data acquisition device, the computer equipment and the storage medium receive the first retrieval 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 retrieval formula, and sending the label data acquisition request to a server so that the server searches label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combining the label data corresponding to each first retrieval field value to obtain first label associated data, extracting the same label data from the first label associated data, and removing the weight of the same label data to obtain the first label data corresponding to the first retrieval formula; receiving first label data and first label associated data, and performing data caching on the first label data and the first label associated data; displaying the first label data; receiving a second set of search field values; generating a second retrieval formula according to the second retrieval field value set; comparing the second retrieval field value set with the first retrieval field value set; when a second retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, second label data corresponding to a second retrieval formula are searched and obtained from the first label associated data in the cache; and the second label data is displayed, so that the interaction times between the terminal and the server can be reduced when the label data is acquired, and the acquisition efficiency of the label data is improved.
Drawings
FIG. 1 is a diagram of an exemplary environment in which a signage data acquisition method may be implemented;
FIG. 2 is a schematic flow chart diagram illustrating a method for signage data acquisition in one embodiment;
FIG. 3 is a schematic flow chart illustrating the steps for displaying signage data in one embodiment;
FIG. 4 is a schematic flow chart illustrating a method for obtaining signage data in another embodiment;
FIG. 5 is a block diagram showing the structure of a signboard data acquisition apparatus according to one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for acquiring the label data can be applied to the 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, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
Specifically, the terminal 102 receives a first search field value set, and generates a first search expression according to the first search field value set. The terminal 102 generates a tag data acquisition request according to the first search formula and transmits the tag data acquisition request to the server 104. After receiving the signage data acquisition request, the server 104 searches for signage data corresponding to each first retrieval field value in the first retrieval field value set according to the signage data acquisition request. The server 104 combines the label data corresponding to each first search field value to obtain first label-related data, extracts the same label data from the first label-related data, and removes the same label data to obtain the first label data corresponding to the first search expression. The server 104 transmits the first sign data and the first sign associated data to the terminal 102. The terminal 102 receives the first sign data and the first sign-associated data, performs data caching on the first sign data and the first sign-associated data, and displays the first sign data. The terminal 102 receives the second set of search field values and generates a second search expression according to the second set of search field values.
Further, the terminal 102 compares the second retrieval field value set with the first retrieval field value set. When a second retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, the terminal 102 searches for second label data corresponding to the second retrieval expression from the first label associated data in the cache, and displays the second label data.
In one embodiment, as shown in fig. 2, a signage data acquisition method is provided, which is described by taking the example that the method is applied to the terminal in fig. 1, and includes the following steps:
step 202, receiving a first set of search field values; a first search formula is generated from the first set of search field values.
Wherein the first set of retrieval field values is a set of first retrieval field values. The first search field value is a value of a search field, which can be regarded as a search condition of the placard data. The retrieval field is a field which is preset and used for realizing retrieval and acquisition of the label data.
Specifically, the terminal presents a placard data retrieval page. The label data retrieval page comprises a label data retrieval column and a retrieval triggering control. The label data retrieval column comprises a set retrieval field and a retrieval field value input box. The user can input a first retrieval field value in the retrieval field value input box, and after the input is finished, the motor retrieves the trigger control to trigger the retrieval operation. After receiving a retrieval triggering operation, the terminal acquires a first retrieval field value from each retrieval field input box, namely receives a first retrieval field value set, and combines each first retrieval field value in the first retrieval field value set according to a logical relationship to obtain a first retrieval 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 retrieval field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the search field includes a sign 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 states of waiting for processing, printing, pasting and the like. The identity attribute information of the operation and maintenance personnel comprises information of the operation and maintenance personnel, such as job numbers, affiliated departments, units and the like.
Specifically, the terminal acquires label attribute information and identity attribute information of the operation and maintenance personnel, and a retrieval field is constructed according to the label data information and the identity attribute information of the operation and maintenance personnel. For example, the search field may be the status of a label, the job number of the operation and maintenance staff, the department to which the operation and maintenance staff 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.
And 204, generating a label data acquisition request according to the first retrieval formula, and sending the label data acquisition request to a server so that the server searches for label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combining the label data corresponding to each first retrieval field value to obtain first label associated data, extracting the same label data from the first label associated data, and removing the weight of the same label data to obtain the first label data corresponding to the first retrieval formula.
The label data acquisition request is a request sent by a terminal to a server, and carries a first search formula and is used for requesting the server to search and obtain first label data and first label associated data corresponding to the first search formula. The first label data is label data satisfying a search condition of the first search formula. The first sign-associated data is sign data satisfying a retrieval condition of any one first retrieval field value in the first retrieval field value set.
For example, when the first search expression is "job number 001+ label state is pasted", the first label data is data for which the label state that the operation and maintenance staff with job number 001 is the pasted label. The first label related data is data of all labels for which the operation and maintenance personnel with the work number of 001 is responsible, and data of all labels with the label states of being pasted.
Specifically, the terminal generates a label data acquisition request carrying the first search formula, and sends the label data acquisition request to the server. After receiving the label data acquisition request, the server responds to the label data acquisition request, searches the database for label data corresponding to each first retrieval field value in the first retrieval field value set, and combines the label data to obtain first label associated data.
Further, the server extracts the same label data from the first label-related data, and removes the duplicate label data to obtain the first label data corresponding to the first search formula, that is, deletes the same label data until only one item is reserved, and uses the deleted 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 state is pasted", the server first finds data of all labels for which the operation and maintenance staff with job number 001 is responsible, and data of all labels with label state being pasted, and generates first label related data. The data of all the labels for which the job number is 001 is responsible comprises data of the labels with the state of being pasted, and the data of all the labels with the state of being pasted also comprises data of the labels for which the job number is 001 is responsible, and the two parts of data are the same. Therefore, the server can extract and obtain the data that the label state that the operation and maintenance personnel with the work number of 001 is the pasted label from the first label related data. The server can obtain the data that the operation and maintenance personnel with the work number of 001 are responsible for the label with the state of the adhered label, namely the first label data after the server removes the weight of the operation and maintenance personnel.
Step 206, receiving the first label data and the first label-associated data, and performing data caching on the first label data and the first label-associated data; and displaying the first label data.
Specifically, after the server searches for the first label data and the first label related data in the database, the server sends the first label data and the first label related 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 subsequent label data searching is facilitated.
Further, the terminal displays the first label data.
Step 208, receiving a second set of search field values; a second search formula is generated from the second set of search field values.
Wherein the second set of retrieval field values is a set of second retrieval field values. The second retrieval field value is also a value of the retrieval field, like the first retrieval field value. It should be understood that the first and second are only for distinguishing the time of retrieval, the first retrieval field value is a retrieval field value retrieved earlier, the second retrieval field value is a retrieval field value retrieved later, and the first retrieval field value and the second retrieval field value may be the same or different.
Specifically, the user may input a second search field value in the search field value input box, and after the input is completed, the motor searches the trigger control to trigger the search operation. And after receiving the retrieval triggering operation, the terminal acquires a second retrieval field value from each retrieval field input box, namely receives a second retrieval field value set, and combines each second retrieval field value in the second retrieval field value set according to a logical relationship to obtain a second retrieval formula.
Step 210, comparing the second search field value set with the first search field value set.
After receiving the second retrieval field value set, the terminal compares the second retrieval field value set with the first retrieval field value set to obtain the relation between the first retrieval field value set and the second retrieval field value set. The relationship of the first retrieval field value set to the second retrieval field value set includes: including, separated, and intersecting.
Step 212, when a second retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, searching the first label associated data in the cache to obtain second label data corresponding to a second retrieval formula; and displaying the second label data.
Specifically, when there is a second retrieval field value identical to the first retrieval field value in the second retrieval field value set, that is, the first retrieval field value set and the second retrieval field value set are in an intersecting relationship. Then, the terminal may search the first label-related data in the cache to obtain second label data corresponding to the second search expression.
For example, if the first search field value set is (job number 001, pasted state) and the second search field value set is (job number 002, pasted state), the first sign-related data stores data of all signs whose sign states are pasted, including data of signs for which the operation and maintenance staff with job number 002 is responsible.
Further, the terminal displays the second label data after finding the second label data.
In one embodiment, when the second retrieval field value set comprises the first retrieval field value set, second label data corresponding to the second retrieval formula is searched from the first label data in the cache; and displaying the second label data.
Specifically, when the second search field value set includes the first search field value set, it is indicated that the second search formula is a search condition added on the basis of 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 label data in the cache to obtain the second label data corresponding to the second search formula, and display the second label data.
In the label data acquisition method, a first retrieval field value set is received; generating a first search formula according to the first search field value set; generating a label data acquisition request according to the first retrieval formula, and sending the label data acquisition request to a server so that the server searches label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combining the label data corresponding to each first retrieval field value to obtain first label associated data, extracting the same label data from the first label associated data, and removing the weight of the same label data to obtain the first label data corresponding to the first retrieval formula; receiving first label data and first label associated data, and performing data caching on the first label data and the first label associated data; displaying the first label data; receiving a second set of search field values; generating a second retrieval formula according to the second retrieval field value set; comparing the second retrieval field value set with the first retrieval field value set; when a second retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, second label data corresponding to a second retrieval formula are searched and obtained from the first label associated data in the cache; and the second label data is displayed, so that the interaction times between the terminal and the server can be reduced when the label data is acquired, and the acquisition efficiency of the label data is improved.
In one embodiment, the first sign data includes a first list of sign data and first sign details; step 206 comprises: displaying a first label data list; when first label data in a first label data list receives detailed information query triggering operation, searching detailed information corresponding to the first label data 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 the search formula, only data corresponding to the search field value is displayed, and one index data list comprises data of a plurality of indexes. The sign detailed information is a list of detailed information for describing signs, and one sign data detailed information page includes data of only one sign. The detailed information of the sign includes a functional position of the sign, a functional description, a size of the sign, etc., and is more detailed information than the data list of the sign.
Specifically, after receiving the first label data, the terminal displays a first label data list. When a certain first label data in the first label data list receives a detailed information query triggering operation, searching the cached detailed information of the first label to obtain the 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 certain first label data is located in the presentation interface.
In this embodiment, by caching the first sign detailed information, when the user needs to query the first sign detailed information, the terminal can directly obtain the first sign detailed information from the cache, so that the number of times of interaction between the terminal and the server is reduced, and the efficiency of obtaining the sign data is improved; and the terminal displays the first label data list firstly, and when the detailed information query triggering operation is received, the first label detailed information is searched and displayed, 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 retrieval formula in a history retrieval list;
step 304, when receiving the access request of the history retrieval list, displaying the history retrieval list;
and step 306, when the first retrieval mode receives the retrieval triggering operation, reading the first label data from the cache, and displaying the first label data.
Wherein, the history retrieval list is used for storing the history retrieval formula.
Specifically, after the terminal receives the first sign data, the first index is stored to the history index list. When receiving the access request of the history retrieval list, the terminal displays the history retrieval list for the user to view. When the first retrieval mode receives retrieval triggering operation, the terminal can read the first label data from the cache and display the first label data.
In this embodiment, through saving the first retrieval formula to the history retrieval list, can make things convenient for the user to look over the historical record, when the user need look over first sign data again, can directly trigger the operation in the history retrieval list, show first sign data, need not input first retrieval field value once more, can improve the rationality that sign data acquireed and the efficiency that sign data acquireed.
In one embodiment, at least one first retrieval field value of the first set of retrieval field values is a non-null value and at least one second retrieval field value of the second set of retrieval field values is a non-null value.
Wherein, the non-null value means that at least one retrieval field value in the retrieval field value set is valid.
Specifically, the search bar includes a plurality of search field value input boxes. The user may or may not input a search field value in each search field value input box. When all the retrieval field value input boxes do not input the retrieval field value, and the retrieval triggering operation is received, the terminal can generate error report information to remind a user to trigger the retrieval operation after the retrieval field value is input.
In one embodiment, when the set of search field values is (job number 001, no input for label status), then the label data obtained by the search is the data in all label statuses for which the operation and maintenance personnel with job number 001 is responsible.
In this embodiment, by defining at least one retrieval field value in the retrieval field value set as a non-null value, the validity of the tag data acquisition can be ensured.
In one embodiment, as shown in fig. 4, another signage data acquisition method is provided, which is exemplified by the application of the method to the terminal in fig. 1, and includes the following steps:
402, acquiring label attribute information and identity attribute information of operation and maintenance personnel;
step 404, constructing a retrieval 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 placard attribute field value and a first identity attribute field value; at least one first retrieval field value in the first set of retrieval field values 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 retrieval formula, and sending the label data acquisition request to a server, so that the server searches for label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combines the label data corresponding to each first retrieval 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 retrieval formula after the same label data is deduplicated;
step 412, receiving the first sign data and the first sign-associated data, and performing data caching on the first sign data and the first sign-associated data; the first sign data includes a first sign data list and first sign detailed information;
step 414, displaying the first label data list;
step 416, when the first sign data in the first sign data list receives the detailed information query triggering operation, finding the detailed information corresponding to the first sign data from the cached detailed information of the first sign;
step 418, displaying detailed information corresponding to the first label data;
step 420, storing the first retrieval formula in a history retrieval list;
step 422, when receiving the access request of the history retrieval list, displaying the history retrieval list;
step 424, when the first retrieval mode receives a retrieval triggering operation, reading first label data from the cache, and displaying the first label data;
step 426, receiving a second set of search field values; generating a second retrieval formula according to the second retrieval field value set; at least one second retrieval field value in the second retrieval 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 a second retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, second label data corresponding to the second retrieval formula is searched and obtained from the first label associated data in the cache; displaying the second label data;
step 432, when the second retrieval field value set comprises the first retrieval field value set, searching the first label data in the cache to obtain second label data corresponding to the second retrieval formula; and displaying the second label data.
In this embodiment, by caching the tag data and the tag-associated data acquired during the previous retrieval, when the retrieved field value set of the subsequent retrieval and the retrieved field value set of the previous retrieval are in an intersecting or contained relationship, the corresponding tag data can be directly acquired from the cache, so that the number of interactions between the terminal and the server is reduced, and the acquisition efficiency of the tag data is improved.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a signage data acquisition apparatus 500, including: a retrieval formula generation module 501, a label data acquisition request generation module 502, a label data cache module 503, a label data display module 504, a retrieval field value comparison module 505 and a label data search module 506, wherein:
a searching formula generating module 501, configured to receive a first set of search field values; generating a first search formula according to the first search field value set;
the label data acquisition request generating module 502 is configured to generate a label data acquisition request according to the first search formula and send the label data acquisition request to the 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 removes the same label data to obtain the first label data corresponding to the first search formula;
the sign data caching module 503 is configured to receive the first sign data and the first sign-associated data, and perform data caching on the first sign data and the first sign-associated data;
a sign data display module 504 for displaying the first sign data;
the searching generation module 501 is further configured to receive a second set of search field values; generating a second retrieval formula according to the second retrieval field value set;
a retrieval field value comparison module 505, configured to compare the second retrieval field value set with the first retrieval field value set;
the label data searching module 506 is configured to search the first label associated data in the cache to obtain second label data corresponding to the second search expression when a second search field value identical to the first search field value exists in the second search field value set;
sign data presentation module 504 is also used to present second sign data.
In one embodiment, the signage data obtaining apparatus 500 further comprises a retrieval field constructing module 507 for obtaining signage attribute information and identity attribute information of the operation and maintenance personnel; constructing a retrieval field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the search field includes a sign attribute field and an identity attribute field.
In one embodiment, the retriever generation module 501 is further configured to receive a first tag attribute field value and a first identity attribute field value.
In one embodiment, the first sign data includes a first list of sign data and first sign details; sign data display module 504 is further configured to display the first list of sign data; when first label data in a first label data list receives detailed information query triggering operation, searching detailed information corresponding to the first label data from the cached first label detailed information; and displaying the detailed information corresponding to the first label data.
In one embodiment, the sign data presentation module 504 is further configured to, when the second search field value set includes the first search field value set, find second sign data corresponding to the second search expression from the first sign data in the cache; and displaying the second label data.
In one embodiment, sign data presentation module 504 is further configured to store the first search formula to a history search list; when a history retrieval list access request is received, displaying a history retrieval list; and when the first retrieval mode receives retrieval triggering operation, reading the first label data from the cache and displaying the first label data.
In one embodiment, at least one first retrieval field value of the first set of retrieval field values is a non-null value and at least one second retrieval field value of the second set of retrieval field values is a non-null value.
For the specific definition of the signage data acquisition means, reference may be made to the above definition of the signage data acquisition method, which is not described herein again. The various modules in the signage data acquisition apparatus can be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram 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 comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication 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, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those 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 a computer program stored therein, the processor implementing the following steps when executing the computer program: 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 retrieval formula, and sending the label data acquisition request to a server so that the server searches label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combining the label data corresponding to each first retrieval field value to obtain first label associated data, extracting the same label data from the first label associated data, and removing the weight of the same label data to obtain the first label data corresponding to the first retrieval formula; receiving first label data and first label associated data, and performing data caching on the first label data and the first label associated data; displaying the first label data; receiving a second set of search field values; generating a second retrieval formula according to the second retrieval field value set; comparing the second retrieval field value set with the first retrieval field value set; when a second retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, second label data corresponding to a second retrieval formula are searched and obtained from the first label associated data in the cache; and displaying the second label data.
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 retrieval field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the search field includes a sign 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 sign data includes a first sign data list and first sign detailed information; displaying a first label data list; when first label data in a first label data list receives detailed information query triggering operation, searching detailed information corresponding to the first label data 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 retrieval field value set comprises the first retrieval field value set, second label data corresponding to the second retrieval formula are searched and obtained from the first label data in the cache; and displaying the second label data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: storing the first retrieval formula to a history retrieval list; when a history retrieval list access request is received, displaying a history retrieval list; and when the first retrieval mode receives retrieval triggering operation, reading the first label data from the cache and displaying the first label data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: at least one first retrieval field value of the first set of retrieval field values is a non-null value and at least one second retrieval field value of the second set of retrieval 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 retrieval formula, and sending the label data acquisition request to a server so that the server searches label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combining the label data corresponding to each first retrieval field value to obtain first label associated data, extracting the same label data from the first label associated data, and removing the weight of the same label data to obtain the first label data corresponding to the first retrieval formula; receiving first label data and first label associated data, and performing data caching on the first label data and the first label associated data; displaying the first label data; receiving a second set of search field values; generating a second retrieval formula according to the second retrieval field value set; comparing the second retrieval field value set with the first retrieval field value set; when a second retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, second label data corresponding to a second retrieval formula are searched and obtained from the first label associated data in the cache; and displaying the second label data.
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 retrieval field according to the label attribute information and the identity attribute information of the operation and maintenance personnel; the search field includes a sign 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 sign data includes a first sign data list and first sign detailed information; displaying a first label data list; when first label data in a first label data list receives detailed information query triggering operation, searching detailed information corresponding to the first label data 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 retrieval field value set comprises the first retrieval field value set, second label data corresponding to the second retrieval formula are searched and obtained from the first label data in the cache; and displaying the second label data.
In one embodiment, the computer program when executed by the processor further performs the steps of: storing the first retrieval formula to a history retrieval list; when a history retrieval list access request is received, displaying a history retrieval list; and when the first retrieval mode receives retrieval triggering operation, reading the first label data from the cache and displaying the first label data.
In one embodiment, the computer program when executed by the processor further performs the steps of: at least one first retrieval field value of the first set of retrieval field values is a non-null value and at least one second retrieval field value of the second set of retrieval field values is a non-null value.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A signage data acquisition method, 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 retrieval formula, and sending the label data acquisition request to a server so that the server searches label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combining the label data corresponding to each first retrieval field value to obtain first label associated data, extracting the same label data from the first label associated data, and removing the duplicate of the same label data to obtain the first label data corresponding to the first retrieval formula;
receiving the first label data and the first label associated data, and performing data caching on the first label data and the first label associated data; displaying the first label data;
receiving a second set of search field values; generating a second search expression 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 retrieval field value identical to the first retrieval field value exists in the second retrieval field value set, second label data corresponding to the second retrieval expression are searched and obtained from the first label associated data in the cache; and displaying the second label data.
2. The method of claim 1, wherein prior to said receiving a 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 retrieval 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;
said receiving a first set of search field values comprises:
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 comprises a first signage data list and first signage details; the displaying the first signage data comprises:
displaying the first label data list;
when first label data in the first label data list receives detailed information query triggering operation, searching detailed information corresponding to the first label data from the cached first label detailed information; and displaying detailed information corresponding to the first label data.
4. The method of claim 1, further comprising:
when the second retrieval field value set comprises the first retrieval field value set, second label data corresponding to the second retrieval formula are searched and obtained from the first label data in the cache;
and displaying the second label data.
5. The method of claim 1, further comprising:
storing the first retrieval formula to a history retrieval list;
when a history retrieval list access request is received, displaying the history retrieval list;
and when the first retrieval mode receives 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 retrieval field value of the first set of retrieval field values is a non-null value, and wherein at least one second retrieval field value of the second set of retrieval field values is a non-null value.
7. A signage data acquisition apparatus, the apparatus comprising:
the searching generation module is used for receiving the first searching field value set; generating a first search formula according to the first search field value set;
the label data acquisition request generating module is used for generating a label data acquisition request according to a first retrieval formula and then sending the label data acquisition request to a server so that the server searches for label data corresponding to each first retrieval field value in the first retrieval field value set according to the label data acquisition request, combines the label data corresponding to each first retrieval field value to obtain first label associated data, extracts the same label data from the first label associated data, and takes the same label data as the first label data corresponding to the first retrieval formula after duplication removal;
the label data caching module is used for receiving the first label data and the first label associated data and caching the first label data and the first label associated data;
the label data display module is used for displaying the first label data;
the searching generation module is also used for receiving a second searching field value set; generating a second search expression according to the second search field value set;
a retrieval field value comparison module for comparing the second retrieval field value set with the first retrieval field value set;
the label data searching module is used for searching and obtaining second label data corresponding to the second searching expression from the first label associated data in the cache when a second searching field value identical to the first searching field value exists in the second searching field value set;
the sign data display module is further used for displaying the second sign data.
8. The apparatus of claim 7, wherein the tag data lookup module is further configured to, when the first search field value set is included in the second search field value set, lookup the first tag data in the cache for second tag data corresponding to the second search expression.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202110217686.XA 2021-02-26 2021-02-26 Label data acquisition method, apparatus, computer device and storage medium Active CN113032392B (en)

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 true CN113032392A (en) 2021-06-25
CN113032392B 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 (15)

* Cited by examiner, † Cited by third party
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
US20090055354A1 (en) * 2005-05-11 2009-02-26 Saeed Arad Method and Apparatus for Searching
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
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
CN104281702A (en) * 2014-10-22 2015-01-14 国家电网公司 Power keyword segmentation based data retrieval method and device
CN104298695A (en) * 2013-07-19 2015-01-21 腾讯科技(深圳)有限公司 Data caching method and device and server
CN107590275A (en) * 2017-09-27 2018-01-16 北京奇虎科技有限公司 A kind of data query method and apparatus
CN109815244A (en) * 2019-02-21 2019-05-28 中国联合网络通信集团有限公司 A kind of data processing method and device
CN109857760A (en) * 2018-12-22 2019-06-07 中国平安人寿保险股份有限公司 Quick response search method and device, computer installation and storage medium
CN110647542A (en) * 2018-06-11 2020-01-03 北京神州泰岳软件股份有限公司 Data acquisition method and device
CN110837511A (en) * 2019-11-15 2020-02-25 金蝶软件(中国)有限公司 Data processing method, system and related equipment
CN111753165A (en) * 2019-03-28 2020-10-09 阿里巴巴集团控股有限公司 Search information processing method and device and electronic equipment
CN112035528A (en) * 2020-09-11 2020-12-04 中国银行股份有限公司 Data query method and device
CN112328925A (en) * 2020-10-28 2021-02-05 北京鸿腾智能科技有限公司 Page data loading method, device, equipment and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
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
US20090055354A1 (en) * 2005-05-11 2009-02-26 Saeed Arad Method and Apparatus for Searching
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
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
CN104298695A (en) * 2013-07-19 2015-01-21 腾讯科技(深圳)有限公司 Data caching method and device and server
CN104281702A (en) * 2014-10-22 2015-01-14 国家电网公司 Power keyword segmentation based data retrieval method and device
CN107590275A (en) * 2017-09-27 2018-01-16 北京奇虎科技有限公司 A kind of data query method and apparatus
CN110647542A (en) * 2018-06-11 2020-01-03 北京神州泰岳软件股份有限公司 Data acquisition method and device
CN109857760A (en) * 2018-12-22 2019-06-07 中国平安人寿保险股份有限公司 Quick response search method and device, computer installation and storage medium
CN109815244A (en) * 2019-02-21 2019-05-28 中国联合网络通信集团有限公司 A kind of data processing method and device
CN111753165A (en) * 2019-03-28 2020-10-09 阿里巴巴集团控股有限公司 Search information processing method and device and electronic equipment
CN110837511A (en) * 2019-11-15 2020-02-25 金蝶软件(中国)有限公司 Data processing method, system and related equipment
CN112035528A (en) * 2020-09-11 2020-12-04 中国银行股份有限公司 Data query method and device
CN112328925A (en) * 2020-10-28 2021-02-05 北京鸿腾智能科技有限公司 Page data loading method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
严志敏: "《中国优秀硕士学位论文全文数据库 信息科技辑》" *

Also Published As

Publication number Publication date
CN113032392B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
CN108664582B (en) Enterprise relation query method and device, computer equipment and storage medium
CN112464625A (en) Receipt generation method and device, computer equipment and storage medium
CN105074696A (en) Unified searchable storage for resource-constrained and other devices
CN114140947A (en) Interface display method and device, electronic equipment, storage medium and program product
CN112559717A (en) Search matching method and device, electronic equipment and storage medium
CN113722533B (en) Information pushing method and device, electronic equipment and readable storage medium
CN113157739B (en) Cross-modal retrieval method and device, electronic equipment and storage medium
CN114185776A (en) Big data point burying method, device, equipment and medium for application program
CN114066533A (en) Product recommendation method and device, electronic equipment and storage medium
CN114169303A (en) Method, device, equipment and medium for editing table based on vue.js
CN109739854A (en) A kind of date storage method and device
CN113360685A (en) Method, device, equipment and medium for processing note content
CN113032392B (en) Label data acquisition method, apparatus, computer device and storage medium
CN113706249B (en) Data recommendation method and device, electronic equipment and storage medium
CN114840388A (en) Data monitoring method and device, electronic equipment and storage medium
CN115687350A (en) Index construction method and device, computer equipment and storage medium
CN113641769B (en) Data processing method and device
CN115186188A (en) Product recommendation method, device and equipment based on behavior analysis and storage medium
CN114518993A (en) System performance monitoring method, device, equipment and medium based on business characteristics
CN113127574A (en) Service data display method, system, equipment and medium based on knowledge graph
CN111027303A (en) Personal electronic business card generating method and device, computer equipment and storage medium
CN113590856B (en) Label query method and device, electronic equipment and readable storage medium
CN114579860B (en) User behavior portrait generation method, device, electronic equipment and storage medium
CN113515504B (en) Data management method, device, electronic equipment and storage medium
CN115952773A (en) Form generation method and device

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