CN111737563B - Data display, search and verification method, device, equipment, server and medium - Google Patents

Data display, search and verification method, device, equipment, server and medium Download PDF

Info

Publication number
CN111737563B
CN111737563B CN201910635732.0A CN201910635732A CN111737563B CN 111737563 B CN111737563 B CN 111737563B CN 201910635732 A CN201910635732 A CN 201910635732A CN 111737563 B CN111737563 B CN 111737563B
Authority
CN
China
Prior art keywords
ordering
data
sorting
requirement
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910635732.0A
Other languages
Chinese (zh)
Other versions
CN111737563A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910635732.0A priority Critical patent/CN111737563B/en
Publication of CN111737563A publication Critical patent/CN111737563A/en
Application granted granted Critical
Publication of CN111737563B publication Critical patent/CN111737563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a data display, search and verification method, a device, equipment, a server and a medium. The data display method is applied to terminal equipment and comprises the following steps: sending a search instruction containing a sorting requirement to a search server, and receiving sorting data fed back by the search server based on the search instruction; wherein the ordering data comprises at least two data records; acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement or not; and feeding back ordering abnormality indication information to the search server and displaying the ordering data when the order of the data records in the ordering data does not meet the ordering requirement. The technical scheme of the embodiment of the invention reduces the probability of displaying abnormal ordering data when the subsequent terminal equipment searches, thereby improving the searching experience of the user on the whole.

Description

Data display, search and verification method, device, equipment, server and medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a method, a device, equipment, a server and a medium for displaying, searching and verifying data.
Background
With the continuous development of computer technology, massive data information appears in a network, and users usually find interesting data through clients or web pages (such as search engines, e-commerce platforms and the like) with search functions.
When a user uses terminal equipment comprising a client or a webpage to search for a certain specific requirement in batches and display the specific requirement in sequence, a search instruction comprising the sequence requirement is sent to a server; after receiving the search instruction, the server feeds the sequencing data corresponding to the search instruction back to the terminal equipment for display.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art: when the ordering data of the upstream server is abnormal, the upstream server cannot timely acquire the abnormal situation, so that when the upstream server does not process the abnormality, feedback of the abnormal data can continuously occur, and accordingly users with the same or similar ordering requirements in the time period can receive the abnormal ordering data in the same way, and the use experience of the users is reduced.
Disclosure of Invention
The invention provides a data display, search and verification method, a device, equipment, a server and a medium, so that when a user uses terminal equipment to search and order, the probability of displaying abnormal ordering data by the terminal equipment is reduced, and the search experience of the user is further improved.
In a first aspect, an embodiment of the present invention provides a data display method, which is applied to a terminal device, including:
Sending a search instruction containing a sorting requirement to a search server, and receiving sorting data fed back by the search server based on the search instruction; wherein the ordering data comprises at least two data records;
Acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement or not;
and feeding back ordering abnormality indication information to the search server and displaying the ordering data when the order of the data records in the ordering data does not meet the ordering requirement.
In a second aspect, an embodiment of the present invention further provides a data searching method, which is applied to a search server, including:
Receiving a search instruction containing ordering requirements sent by terminal equipment, and feeding back ordering data to the terminal equipment based on the search instruction; wherein the ordering data comprises at least two data records;
Receiving ordering abnormality indication information fed back by the terminal equipment, and determining that the data ordering function is abnormal based on the ordering abnormality indication information; the ordering abnormality indication information is generated when the ordering requirement is not met according to the order of at least two data records acquired by the terminal equipment in the ordering data.
In a third aspect, an embodiment of the present invention further provides a data verification method, applied to a verification server, including:
Receiving a search instruction containing ordering requirements sent by a terminal device, and receiving ordering data corresponding to the search instruction, which is generated by a search server based on the search instruction; wherein the ordering data comprises at least two data records;
Acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement or not;
when the sequence of the data records in the sequencing data does not meet the sequencing requirement, feeding back sequencing abnormal prompt information to the terminal equipment; and/or sending ordering abnormality indication information to the search server.
In a fourth aspect, an embodiment of the present invention further provides a data display method, which is applied to a terminal device, and includes:
sending search instructions containing ordering requirements to a verification server and a search server;
receiving ordering data generated by a search server based on the search instruction;
Displaying the sorting data, and displaying the sorting abnormal prompt information when receiving the sorting abnormal prompt information sent by the verification server;
The ordering abnormality prompt information is generated by the verification server when the ordering requirement is not met by the order of at least two data records contained in the ordering data after receiving a search instruction containing the ordering requirement and sent by the terminal device and the ordering data sent by the search server.
In a fifth aspect, an embodiment of the present invention further provides a data searching method, which is applied to a search server, including:
receiving a search instruction containing ordering requirements sent by terminal equipment, and sending ordering data to a verification server based on the search instruction;
and receiving ordering abnormality indication information fed back by the verification server when the ordering requirement is not met by the ordering order of at least two data records contained in the ordering data, and determining that the data ordering function is abnormal based on the ordering abnormality indication information.
In a sixth aspect, an embodiment of the present invention further provides a data display apparatus configured in a terminal device, including:
The search instruction sending module is used for sending a search instruction containing ordering requirements to the search server and receiving ordering data fed back by the search server based on the search instruction; wherein the ordering data comprises at least two data records;
The ordering order judging module is used for acquiring at least two data records and judging whether the order of the data records in the ordering data meets the ordering requirement or not;
and the abnormality prompt feedback module is used for feeding back ordering abnormality indication information to the search server and displaying the ordering data when the order of the data recorded in the ordering data does not meet the ordering requirement.
In a seventh aspect, an embodiment of the present invention further provides a data searching apparatus configured in a search server, including:
the search instruction receiving module is used for receiving a search instruction containing ordering requirements sent by the terminal equipment and feeding back ordering data to the terminal equipment based on the search instruction; wherein the ordering data comprises at least two data records;
The abnormality prompt receiving module is used for receiving ordering abnormality indication information fed back by the terminal equipment and determining that the data ordering function is abnormal based on the ordering abnormality indication information; the ordering abnormality indication information is generated when the ordering requirement is not met according to the order of at least two data records acquired by the terminal equipment in the ordering data.
In an eighth aspect, an embodiment of the present invention further provides a data verification device configured in a verification server, including:
The data receiving module is used for receiving a search instruction containing ordering requirements sent by the terminal equipment and receiving ordering data corresponding to the search instruction, which is generated by a search server based on the search instruction; wherein the ordering data comprises at least two data records;
the data judging module is used for acquiring at least two data records and judging whether the order of the data records in the ordering data meets the ordering requirement or not;
The information feedback module is used for feeding back ordering abnormal prompt information to the terminal equipment when the order of the data recorded in the ordering data does not meet the ordering requirement; and/or sending ordering abnormality indication information to the search server.
In a ninth aspect, an embodiment of the present invention further provides a data display apparatus configured in a terminal device, including:
The search instruction sending module is used for sending search instructions containing ordering requirements to the verification server and the search server;
The ordering data receiving module is used for receiving ordering data generated by the search server based on the search instruction;
The abnormal prompt receiving module is used for displaying the sequencing data and displaying the sequencing abnormal prompt information when receiving the sequencing abnormal prompt information sent by the verification server;
The ordering abnormality prompt information is generated by the verification server when the ordering requirement is not met by the order of at least two data records contained in the ordering data after receiving a search instruction containing the ordering requirement and sent by the terminal device and the ordering data sent by the search server.
In a tenth aspect, an embodiment of the present invention further provides a data searching apparatus configured in a search server, including:
The data receiving and transmitting module is used for receiving a search instruction containing ordering requirements sent by the terminal equipment and sending ordering data to the verification server based on the search instruction;
And the data feedback module is used for receiving the ordering abnormality indication information fed back by the verification server when the ordering requirement is not met by the order of at least two data records contained in the ordering data, and determining that the data ordering function is abnormal based on the ordering abnormality indication information.
In an eleventh aspect, an embodiment of the present invention further provides a terminal device, including:
One or more processors;
A memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a data display method as provided by the embodiments of the first or fourth aspects.
In a twelfth aspect, an embodiment of the present invention further provides a search server, including:
One or more processors;
A memory for storing one or more programs;
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement a data searching method as provided by the embodiments of the second or fifth aspects.
In a thirteenth aspect, an embodiment of the present invention further provides an authentication server, including:
One or more processors;
A memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a data validation method as provided by the embodiments of the third aspect.
In a fourteenth aspect, embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data display method as provided by the embodiments of the first or fourth aspects; or implement a data searching method as provided by the embodiments of the second or fifth aspect; or a data verification method as provided by the embodiment of the third aspect.
According to the embodiment of the invention, the terminal equipment sends the search instruction containing the ordering requirement to the search server, and the search server is combined with the ordering data fed back based on the search instruction; acquiring at least two data records included in the ordering data, and judging whether the order of the data records in the ordering data meets ordering requirements or not; and when the order of the data records in the ordering data does not meet the ordering requirement, feeding back ordering abnormal indication information to the search server, and displaying the ordering data. According to the technical scheme, the sequence of the data records in the received sequencing data is compared with the sequencing requirement through the terminal equipment, the situation that the sequencing sequence of the data records in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality removal measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
Drawings
FIG. 1A is a block diagram of a data search system provided by an embodiment of the present invention;
FIG. 1B is a flow chart of a data display method according to a first embodiment of the invention;
FIG. 2 is a flow chart of a data searching method in a second embodiment of the present invention;
FIG. 3 is a flow chart of a data verification method in a third embodiment of the invention;
FIG. 4 is a flow chart of a data display method in a fourth embodiment of the invention;
FIG. 5 is a flow chart of a data searching method in a fifth embodiment of the present invention;
fig. 6 is a structural diagram of a data display device in a sixth embodiment of the present invention;
fig. 7 is a block diagram of a data search device in a seventh embodiment of the present invention;
fig. 8 is a block diagram of a data verification apparatus in an eighth embodiment of the present invention;
FIG. 9 is a block diagram of a data display device according to a ninth embodiment of the present invention;
fig. 10 is a block diagram of a data search device in a tenth embodiment of the present invention;
Fig. 11 is a schematic structural diagram of a terminal device in an eleventh embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
For the sake of clear description of the technical solutions of the embodiments of the present invention, first, a detailed description will be given of a data search system according to the embodiments of the present invention.
A data search system as shown in fig. 1A includes a terminal device 10 and a search server 20, wherein the terminal device 10 and the search server 20 are communicatively connected. Wherein the terminal device 10 can access a search web page or install a search client, when a user inputs a search instruction containing a ranking requirement by accessing the search web page or the search client, and transmits the search instruction to the search server 20 through the terminal device 10. The search server 20 is configured to receive a search instruction sent by the terminal device 10, and feed back ranking data to the terminal device 10 based on the search instruction.
Further, the data search system further includes an authentication server 30 communicatively connected to the terminal device 10 and the search server 20, respectively. Wherein the terminal device 10 is further configured to send a search instruction to the authentication server 30; the search server 20 is also configured to send ranking data corresponding to the search instructions to the authentication server 30. Accordingly, the verification server 30 is configured to receive the search instruction sent by the terminal device 10, and also configured to receive the ranking data sent by the search server 20, and execute the data verification method according to any embodiment of the present invention based on the search instruction and the ranking data.
Example 1
Fig. 1B is a flowchart of a data display method according to a first embodiment of the present invention. The embodiment of the invention is suitable for the situation that the terminal equipment performs sequencing search through the search server and performs data display, and the method is executed by the data display device which is realized through software and/or hardware and is specifically configured in the terminal equipment with the search webpage access function or provided with the search client.
The data display method as shown in fig. 1B is applied to a terminal device, and includes:
S110, sending a search instruction containing a sequence requirement to a search server, and receiving sequence data fed back by the search server based on the search instruction; wherein the ranking data comprises at least two data records.
The ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field. Illustratively, the ordering field may include a commodity properties field, such as at least one of price, type, brand, model number, color, size, and the like. Illustratively, the ranking field may include a user feedback field, such as at least one of a number of reviews, a number of browses, a number of clicks, a number of collections, and the like. Illustratively, the ordering may be to arrange the attribute values corresponding to the ordering fields in an ascending or descending order. Wherein the attribute value may be a similarity or a number, etc. It will be appreciated that in order to facilitate subsequent verification of the ordering of the data records in the ordering data, the ordering field included in the ordering requirement is typically in digital form, such as price, number of reviews, etc.
When the user has the search requirement, the user accesses the search webpage or the search client in the terminal equipment, generates a search instruction by selecting the sorting field and the sorting mode in the search webpage or the search client, and sends the search instruction to the search server. And after receiving the search instruction, the search server calls the database to acquire the data records and sorts the data records, and feeds back the sorted data to the terminal equipment.
S120, acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement.
Illustratively, the at least two data records are obtained, which may be at least two data records randomly read from the cache, or at least two data records sequentially read from the ordering data. It can be understood that, in order to avoid that the ordering results of adjacent data records are the same under a certain ordering requirement, the judgment of the ordering order of the ordered data is affected (for example, the price of two obtained data records is the same according to the descending order of price), and the data records with different attribute values corresponding to the ordering field can be obtained sequentially when the data records are obtained.
In an optional implementation manner of the embodiment of the present invention, determining whether the order of the data records in the ordering data meets the ordering requirement may be determining at least one ordering field included in the ordering requirement; determining the priority of each sorting field, and sequentially selecting the sorting field with the highest priority as the current sorting field; and judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
Optionally, the determining the priority of each sorting field may be determining the priority of each sorting field according to the selection order of each sorting field in the search instruction. That is, the sequence of each sorting field selected by the user in the search web page or the search client is recorded in the search instruction, so that the search instruction can be analyzed to obtain the sequence of each sorting field, and the priority of each sorting field is determined according to the sequence of each sorting field selected by the user.
Or alternatively, the priority of each sorting field is determined, or the user may determine the priority of each sorting field according to the field sequence preset by the user before sending the sorting instruction to the search server. Of course, it can be understood that the user can also adjust the preset field sequence according to the requirement, and correspondingly, determine the priority of each sorting field according to the adjusted field sequence.
Or alternatively, the priority of each sorting field is determined, and the priority of each sorting field may be determined according to the historical sorting times of each sorting field in the search instruction. The historical ranking times can be ranking times of each ranking field selected by a user when searching is performed in a set time period, and the higher the ranking times, the higher the priority of the corresponding ranking field.
Or alternatively, determining the priority of each sorting field, or counting the sorting times of the sorting fields contained in the sorting instruction sent by each user in a set time period, and determining the priority of each sorting field according to the counting result.
S130, feeding back ordering abnormality indication information to the search server and displaying the ordering data when the order of the data records in the ordering data does not meet the ordering requirement.
When the order of the data records in the ordering data does not meet the ordering requirement, the ordering data fed back by the search server is inconsistent with the ordering requirement of the user, namely the ordering data fed back by the search server based on the search instruction is abnormal, and at the moment, the terminal equipment feeds back ordering abnormality indication information to the search server so as to inform the search server that the ordering data is abnormal. Correspondingly, the search server can optimize the code logic corresponding to the data ordering function in a manual debugging or automatic updating mode and the like so as to eliminate the abnormality.
It can be understood that, in order to facilitate the user to know whether the ordering data is abnormal in time, the ordering abnormal prompt information can be displayed in a mode of entry or popup window when the ordering data is displayed.
According to the embodiment of the invention, the terminal equipment sends the search instruction containing the ordering requirement to the search server, and the search server is combined with the ordering data fed back based on the search instruction; acquiring at least two data records included in the ordering data, and judging whether the order of the data records in the ordering data meets ordering requirements or not; and when the order of the data records in the ordering data does not meet the ordering requirement, feeding back ordering abnormal indication information to the search server, and displaying the ordering data. According to the technical scheme, the sequence of the data records in the received sequencing data is compared with the sequencing requirement through the terminal equipment, the situation that the sequencing sequence of the data records in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality removal measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
Example two
Fig. 2 is a flowchart of a data searching method in the second embodiment of the present invention. The embodiment of the invention is suitable for the situation that the terminal equipment performs sequencing search through the search server, the method is executed by the data search device, and the device is realized through software and/or hardware and is specifically configured in the server with certain data processing capability.
The data searching method shown in fig. 2 is applied to a searching server and comprises the following steps:
S210, receiving a search instruction containing ordering requirements sent by terminal equipment, and feeding back ordering data to the terminal equipment based on the search instruction; wherein the ranking data comprises at least two data records.
The ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field. Illustratively, the ordering field may include a commodity properties field, such as at least one of price, type, brand, model number, color, size, and the like. Illustratively, the ranking field may include a user feedback field, such as at least one of a number of reviews, a number of browses, a number of clicks, a number of collections, and the like. Illustratively, the ordering may be to arrange the attribute values corresponding to the ordering fields in an ascending or descending order. Wherein the attribute value may be a similarity or a number, etc. It will be appreciated that in order to facilitate subsequent verification of the ordering of the data records in the ordering data, the ordering field included in the ordering requirement is typically in digital form, such as price, number of reviews, etc.
When the user has the search requirement, the user accesses the search webpage or the search client in the terminal equipment, generates a search instruction by selecting the sorting field and the sorting mode in the search webpage or the search client, and sends the search instruction to the search server. And after receiving the search instruction, the search server calls the database to acquire the data records and sorts the data records, and feeds back the sorted data to the terminal equipment.
S220, receiving ordering abnormality indication information fed back by the terminal equipment, and determining that the data ordering function is abnormal based on the ordering abnormality indication information; the ordering abnormality indication information is generated when the ordering requirement is not met according to the order of at least two data records acquired by the terminal equipment in the ordering data.
In the step, after the terminal equipment receives the sorting data fed back by the search server based on the search instruction, at least two data records contained in the sorting data are obtained, and whether the order of the data records in the sorting data meets the sorting requirement is judged; when the arrangement order of the data records in the arrangement data does not meet the arrangement requirement, and the arrangement data fed back by the search server is inconsistent with the arrangement requirement of the user, namely the arrangement data fed back by the search server based on the search instruction are abnormal, and at the moment, the terminal equipment feeds back the arrangement abnormality indication information to the search server.
Correspondingly, the search server receives ordering abnormality indication information fed back by the terminal equipment, and determines that the data ordering function is abnormal based on the ordering abnormality indication information. When the search server determines that the data sorting function is abnormal, code logic corresponding to the data sorting function can be optimized in a manual debugging or automatic updating mode and the like so as to eliminate the abnormality.
The operation of obtaining the data record by the terminal device and determining the order of the ordered data can be referred to the technical solution of the foregoing embodiment, which is not described herein.
According to the embodiment of the invention, the search server receives the search instruction containing the ordering requirement sent by the terminal equipment and feeds back ordering data comprising at least two data records to the terminal equipment based on the search instruction; when ordering abnormality indication information fed back by the terminal equipment is received, determining that the data ordering function is abnormal based on the ordering abnormality indication information; wherein the ordering abnormality indication information is generated when an ordering order of at least two data records in the ordering data acquired by the terminal device does not satisfy an ordering requirement. According to the technical scheme, the sequence of the data records in the sequencing data is compared with the sequencing requirement through the terminal equipment, the situation that the sequencing sequence of the data records in the sequencing data is inconsistent with the sequencing requirement is timely found, and the search server is informed; the search server determines that the data ordering function is abnormal by receiving the ordering abnormal indication information so as to remove the abnormality in time, thereby reducing the probability of displaying the abnormal ordering data when the subsequent terminal equipment searches and further improving the searching experience of the user as a whole.
Example III
Fig. 3 is a flowchart of a data verification method in a third embodiment of the present invention. The embodiment of the invention is suitable for the situation that when the terminal equipment performs sequencing search through the search server, the data verification is performed on sequencing data fed back to the terminal equipment by the search server, the method is executed by a data verification device, and the device is realized through software and/or hardware and is specifically configured in a server with certain data computing capability.
The data verification method shown in fig. 3 is applied to a verification server, and comprises the following steps:
S310, receiving a search instruction containing ordering requirements sent by a terminal device, and receiving ordering data corresponding to the search instruction, which is generated by a search server based on the search instruction; wherein the ranking data comprises at least two data records.
The ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field. Illustratively, the ordering field may include a commodity properties field, such as at least one of price, type, brand, model number, color, size, and the like. Illustratively, the ranking field may include a user feedback field, such as at least one of a number of reviews, a number of browses, a number of clicks, a number of collections, and the like. Illustratively, the ordering may be to arrange the attribute values corresponding to the ordering fields in an ascending or descending order. Wherein the attribute value may be a similarity or a number, etc. It will be appreciated that in order to facilitate subsequent verification of the ordering of the data records in the ordering data, the ordering field included in the ordering requirement is typically in digital form, such as price, number of reviews, etc.
When the user has the search requirement, the user accesses the search webpage or the search client in the terminal equipment, generates a search instruction by selecting the sorting field and the sorting mode in the search webpage or the search client, and respectively sends the search instruction to the search server and the verification server.
After receiving the search instruction, the search server calls the database to acquire data records and sorts the data records, and feeds back the sorted data to the terminal equipment; and simultaneously, the sequencing data are sent to the verification server together.
Correspondingly, the verification server correspondingly receives a search instruction containing ordering requirements sent by the terminal equipment, and receives ordering data corresponding to the search instruction and generated by the search server based on the search instruction.
S320, acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement.
Illustratively, the at least two data records are obtained, which may be at least two data records randomly read from the cache, or at least two data records sequentially read from the ordering data. It can be understood that, in order to avoid that the ordering results of adjacent data records are the same under a certain ordering requirement, the judgment of the ordering order of the ordered data is affected (for example, the price of two obtained data records is the same according to the descending order of price), and the data records with different attribute values corresponding to the ordering field can be obtained sequentially when the data records are obtained.
In an optional implementation manner of the embodiment of the present invention, determining whether the order of the data records in the ordering data meets the ordering requirement may be determining at least one ordering field included in the ordering requirement; determining the priority of each sorting field, and sequentially selecting the sorting field with the highest priority as the current sorting field; and judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
Optionally, the determining the priority of each sorting field may be determining the priority of each sorting field according to the selection order of each sorting field in the search instruction. For example, when the user selects each sorting field in the search web page or the search client of the terminal device to generate the search instruction, the sequence of selecting each sorting field by the user is recorded in the search instruction, so that the search instruction can be analyzed to obtain the sequence of each sorting field, and the priority of each sorting field is determined according to the sequence of selecting each sorting field by the user.
Or alternatively, determining the priority of each sorting field may be parsing the search instruction to obtain the priority of each sorting field contained in the search instruction. For example, the user may preset a field order in the account corresponding to the search web page or the search client, and when the user does not adjust the preset field order, the priority of each sorting field selected by the user may be determined based on the preset field order and recorded in the search instruction; when the user adjusts the preset field sequence, the priority of each sorting field selected by the user can be determined based on the adjusted field sequence and recorded in the search instruction. Correspondingly, the priority of each sequencing field contained in the search instruction is obtained by analyzing the search instruction.
Or alternatively, the priority of each sorting field may be determined, and the priority of each sorting field may be determined according to the historical sorting times of each sorting field in the historical search instruction corresponding to the current search web account or the search client account. The historical ranking times can be ranking times of each ranking field selected by a user when searching is performed in a set time period, and the higher the ranking times, the higher the priority of the corresponding ranking field.
Or alternatively, determining the priority of each sorting field, or counting the sorting times of the sorting fields contained in the sorting instruction sent by each user in a set time period, and determining the priority of each sorting field according to the counting result.
S330, feeding back ordering abnormal prompt information to the terminal equipment when the order of the data recorded in the ordering data does not meet the ordering requirement; and/or sending ordering abnormality indication information to the search server.
When the order of the data records in the ordering data does not meet the ordering requirement, the ordering data fed back by the search server is inconsistent with the ordering requirement of the user, namely, when the ordering data fed back by the search server based on the search instruction is abnormal, the verification server feeds back ordering abnormality indication information to the search server so as to inform the search server that the ordering data is abnormal. Correspondingly, the search server can optimize the code logic corresponding to the data ordering function in a manual debugging or automatic updating mode and the like so as to eliminate the abnormality.
When the order of the data records in the ordering data does not meet the ordering requirement, the ordering data fed back by the search server is inconsistent with the ordering requirement of the user, namely, when the ordering data fed back by the search server based on the search instruction is abnormal, the verification server can also feed back ordering abnormality prompt information to the terminal equipment so as to inform the terminal equipment that the ordering data is abnormal. Correspondingly, after receiving the sorting abnormal prompt information, the terminal equipment can display the sorting abnormal prompt information in a mode of entry or popup window and the like when the sorting data are displayed.
Of course, the verification server may also send the ordering exception prompt information only to the terminal device, and after the terminal device receives the ordering exception prompt information, the terminal device triggers to send the ordering exception indication information to the search server. The terminal device triggering sending the ordering abnormality indication information to the search server may be triggered manually by a user of the terminal device, or may actively trigger sending the ordering abnormality indication information to the search server after receiving the ordering abnormality indication information.
According to the embodiment of the invention, the verification server receives the search instruction containing the ordering requirement sent by the terminal equipment, and receives the ordering data corresponding to the search instruction, which is generated by the search server based on the search instruction; acquiring at least two data records included in the ordering data, and judging whether the order of the data records in the ordering data meets ordering requirements or not; when the sequence of the data records in the sequencing data does not meet the sequencing requirement, feeding back sequencing abnormal prompt information to the terminal equipment; and/or sending ordering abnormality indication information to the search server. According to the technical scheme, the sequence of the data records in the sequencing data obtained when the terminal equipment searches is compared with the sequencing requirement by the verification server, the condition that the sequencing sequence in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality elimination measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
Example IV
Fig. 4 is a flowchart of a data display method in a fourth embodiment of the present invention. The embodiment of the invention is suitable for the situation that the terminal equipment performs sequencing search through the search server and performs data display, and the method is executed by the data display device which is realized through software and/or hardware and is specifically configured in the terminal equipment with the search webpage access function or provided with the search client.
The data display method shown in fig. 4 is applied to a terminal device, and includes:
s410, sending a search instruction containing ordering requirements to the verification server and the search server.
The ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field. Illustratively, the ordering field may include a commodity properties field, such as at least one of price, type, brand, model number, color, size, and the like. Illustratively, the ranking field may include a user feedback field, such as at least one of a number of reviews, a number of browses, a number of clicks, a number of collections, and the like. Illustratively, the ordering may be to arrange the attribute values corresponding to the ordering fields in an ascending or descending order. Wherein the attribute value may be a similarity or a number, etc. It will be appreciated that in order to facilitate subsequent verification of the ordering of the data records in the ordering data, the ordering field included in the ordering requirement is typically in digital form, such as price, number of reviews, etc.
When the user has the search requirement, the user accesses the search webpage or the search client in the terminal equipment, generates a search instruction by selecting the sorting field and the sorting mode in the search webpage or the search client, and respectively sends the search instruction to the search server and the verification server.
S420, receiving ordering data generated by the search server based on the search instruction.
After receiving the search instruction, the search server calls the database to acquire data records and sorts the data records, and feeds back the sorted data to the terminal equipment; and simultaneously, the sequencing data are sent to the verification server together.
And S430, displaying the sorting data, and displaying the sorting abnormal prompt information when receiving the sorting abnormal prompt information sent by the verification server.
The ordering abnormality prompt information is generated by the verification server when the ordering requirement is not met by the order of at least two data records contained in the ordering data after receiving a search instruction containing the ordering requirement and sent by the terminal device and the ordering data sent by the search server.
The verification server correspondingly receives a search instruction which is sent by the terminal equipment and contains the ordering requirement, and receives ordering data which is generated by the search server based on the search instruction and corresponds to the search instruction; acquiring at least two data records included in the sequencing data, and judging whether the sequence of the data records in the sequencing data meets the sequencing requirement or not; and when the sequence of the data records in the sequencing data does not meet the sequencing requirement, feeding back sequencing abnormal prompt information to the terminal equipment. Correspondingly, the terminal equipment receives the sorting abnormal prompt information and displays the sorting abnormal prompt information in a way of entry or popup window and the like so as to inform a user of sorting data abnormality.
The operation of the verification server for obtaining the data records and determining the order of the ordered data can refer to the technical solution of the foregoing embodiment, which is not described herein.
The terminal device may further send ordering abnormality indication information to the search server after receiving the ordering data, so as to inform the search server that the ordering data is abnormal. Correspondingly, the search server can optimize the code logic corresponding to the data ordering function in a manual debugging or automatic updating mode and the like so as to eliminate the abnormality. The terminal device sends the ordering abnormality indication information to the search server, after receiving the ordering abnormality prompt information, the ordering abnormality indication information may be actively triggered by the terminal device, or may be manually triggered by a user. For example, when the user receives the sorting data, it finds that the sorting data is abnormal, or when the user receives the sorting abnormality prompt information, it generates sorting abnormality indication information by triggering abnormality uploading operation, and sends the sorting abnormality indication information to the search server.
According to the embodiment of the invention, the search instruction containing the ordering requirement is sent to the verification server and the search server through the terminal equipment; receiving ordering data generated by a search server based on a search instruction; and displaying the sorting data, and displaying the sorting abnormal prompt information when receiving the sorting abnormal prompt information sent by the verification server. After receiving a search instruction containing a sorting requirement sent by the terminal equipment and sorting data sent by the search server, the verification server generates sorting abnormality prompt information when the order of at least two data records contained in the sorting data does not meet the sorting requirement. According to the technical scheme, the sequence of the data records in the sequencing data obtained when the terminal equipment searches is compared with the sequencing requirement by the verification server, the condition that the sequencing sequence in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality elimination measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
Example five
Fig. 5 is a flowchart of a data searching method in a fifth embodiment of the present invention. The embodiment of the invention is suitable for the situation that the terminal equipment performs sequencing search through the search server, the method is executed by the data search device, and the device is realized through software and/or hardware and is specifically configured in the server with certain data processing capability.
The data searching method shown in fig. 5 is applied to a search server, and comprises the following steps:
S510, receiving a search instruction containing ordering requirements sent by the terminal equipment, and sending ordering data to the verification server based on the search instruction.
The ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field. Illustratively, the ordering field may include a commodity properties field, such as at least one of price, type, brand, model number, color, size, and the like. Illustratively, the ranking field may include a user feedback field, such as at least one of a number of reviews, a number of browses, a number of clicks, a number of collections, and the like. Illustratively, the ordering may be to arrange the attribute values corresponding to the ordering fields in an ascending or descending order. Wherein the attribute value may be a similarity or a number, etc. It will be appreciated that in order to facilitate subsequent verification of the ordering of the data records in the ordering data, the ordering field included in the ordering requirement is typically in digital form, such as price, number of reviews, etc.
When the user has the search requirement, the user accesses the search webpage or the search client in the terminal equipment, generates a search instruction by selecting the sorting field and the sorting mode in the search webpage or the search client, and respectively sends the search instruction to the search server and the verification server.
After receiving the search instruction, the search server calls the database to acquire data records and sorts the data records, and feeds back the sorted data to the terminal equipment; and simultaneously, the sequencing data are sent to the verification server together.
S520, receiving ordering abnormality indication information fed back by the verification server when the order in the ordering data does not meet the ordering requirement and determining that the data ordering function is abnormal based on the ordering abnormality indication information.
The verification server correspondingly receives a search instruction which is sent by the terminal equipment and contains the ordering requirement, and receives ordering data which is generated by the search server based on the search instruction and corresponds to the search instruction; acquiring at least two data records included in the sequencing data, and judging whether the sequence of the data records in the sequencing data meets the sequencing requirement or not; when the order of the data records in the ordering data does not meet the ordering requirement, the ordering data fed back by the search server is inconsistent with the ordering requirement of the user, namely, when the ordering data fed back by the search server based on the search instruction is abnormal, the verification server feeds back ordering abnormality indication information to the search server so as to inform the search server that the ordering data is abnormal.
Correspondingly, the search server receives the ordering abnormality indication information, determines that the data ordering function is abnormal based on the ordering abnormality indication information, and further optimizes code logic corresponding to the data ordering function in a manual debugging or automatic updating mode to exclude the abnormality.
In another optional implementation manner of the embodiment of the present invention, the search server may further receive ordering exception indication information sent by the terminal device, and determine that the data ordering function is abnormal according to the ordering exception indication information. The terminal device sends the ordering abnormality indication information to the search server, and after receiving the ordering abnormality prompt information sent by the verification server, the terminal device actively generates and sends the ordering abnormality indication information; the transmission operation of the ordering abnormality indication information may be manually triggered by the user. For example, when the user receives the sorting data, it finds that the sorting data is abnormal, or when the user receives the sorting abnormality prompt information, it generates sorting abnormality indication information by triggering abnormality uploading operation, and sends the sorting abnormality indication information to the search server.
According to the embodiment of the invention, the search server receives the search instruction containing the ordering requirement sent by the terminal equipment, and sends ordering data to the verification server based on the search instruction; and receiving ordering abnormality indication information fed back by the verification server when the ordering requirement is not met by the order of at least two data records contained in the ordering data, and determining that the data ordering function is abnormal based on the ordering abnormality indication information. According to the technical scheme, the sequence of the data records in the sequencing data obtained when the terminal equipment searches is compared with the sequencing requirement by the verification server, the condition that the sequencing sequence in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality elimination measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
Example six
Fig. 6 is a block diagram of a data display device according to a sixth embodiment of the present invention. The embodiment of the invention is suitable for the situation that the terminal equipment performs sequencing search through the search server and performs data display, and the device is realized through software and/or hardware and is specifically configured in the terminal equipment with the search webpage access function or provided with the search client.
The data display device shown in fig. 6, configured in a terminal device, includes: search instruction sending module 610, sort order determination module 620, and exception prompt feedback module 630.
The search instruction sending module 610 is configured to send a search instruction including a ranking requirement to a search server, and receive ranking data fed back by the search server based on the search instruction; wherein the ordering data comprises at least two data records;
A sorting order judging module 620, configured to obtain at least two data records, and judge whether the order of the data records in the sorting data meets the sorting requirement;
And the abnormality prompt feedback module 630 is configured to, when the order of the data records in the ordering data does not meet the ordering requirement, feed back ordering abnormality indication information to the search server, and display the ordering data.
According to the embodiment of the invention, the search instruction sending module sends the search instruction containing the ordering requirement to the search server, and the search server is combined with the ordering data fed back based on the search instruction; the method comprises the steps that at least two data records included in sequencing data are obtained through a sequencing order judging module, and whether the order of the data records in the sequencing data meets sequencing requirements is judged; and feeding back ordering abnormality indication information to the search server and displaying the ordering data when the ordering requirement is not met by the order of the data recorded in the ordering data through the abnormality prompting feedback module. According to the technical scheme, the sequence of the data records in the received sequencing data is compared with the sequencing requirement through the terminal equipment, the situation that the sequencing sequence of the data records in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality removal measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
Further, the sorting order determining module 620 includes:
A sorting field determining unit, configured to determine at least one sorting field included in the sorting requirement;
The priority determining unit is used for determining the priority of each sorting field and sequentially selecting the sorting field with the highest priority as the current sorting field;
And the ordering order judging unit is used for judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
Further, the priority determining unit is specifically configured to:
Determining the priority of each sorting field according to the selection sequence of each sorting field in the search instruction; or alternatively
And determining the priority of each sorting field according to the historical sorting times of each sorting field in the search instruction.
Further, the ranking field includes a merchandise attribute field and/or a user feedback field.
Further, the anomaly prompt feedback module 630 is further configured to:
and displaying the sorting abnormal prompt information when the sorting data are displayed.
The data display device can execute the data display method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data display method.
Example seven
Fig. 7 is a block diagram of a data search device in a seventh embodiment of the present invention. The embodiment of the invention is suitable for the situation that the terminal equipment performs sequencing search through the search server, and the device is realized through software and/or hardware and is specifically configured in the server with certain data processing capability.
The data searching apparatus shown in fig. 7 is configured in a search server, and includes: search instruction receiving module 710 and abnormality alert receiving module 720.
The search instruction receiving module 710 is configured to receive a search instruction including a ranking requirement sent by a terminal device, and feed back ranking data to the terminal device based on the search instruction; wherein the ordering data comprises at least two data records;
an anomaly prompt receiving module 720, configured to receive ordering anomaly indication information fed back by the terminal device, and determine that an anomaly occurs in a data ordering function based on the ordering anomaly indication information; the ordering abnormality indication information is generated when the ordering requirement is not met according to the order of at least two data records acquired by the terminal equipment in the ordering data.
In the embodiment of the invention, a search instruction containing ordering requirements and sent by terminal equipment is received through a search instruction receiving module, and ordering data comprising at least two data records are fed back to the terminal equipment based on the search instruction; when ordering abnormality indication information fed back by the terminal equipment is received through an abnormality prompt receiving module, determining that the data ordering function is abnormal based on the ordering abnormality indication information; wherein the ordering abnormality indication information is generated when an ordering order of at least two data records in the ordering data acquired by the terminal device does not satisfy an ordering requirement. According to the technical scheme, the sequence of the data records in the sequencing data is compared with the sequencing requirement through the terminal equipment, the situation that the sequencing sequence of the data records in the sequencing data is inconsistent with the sequencing requirement is timely found, and the search server is informed; the search server determines that the data ordering function is abnormal by receiving the ordering abnormal indication information so as to remove the abnormality in time, thereby reducing the probability of displaying the abnormal ordering data when the subsequent terminal equipment searches and further improving the searching experience of the user as a whole.
The data searching device can execute the data searching method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data searching method.
Example eight
Fig. 8 is a block diagram of a data verification apparatus in an eighth embodiment of the present invention. The embodiment of the invention is suitable for the situation that when the terminal equipment performs sequencing search through the search server, the data verification is performed on sequencing data fed back to the terminal equipment by the search server, and the device is realized through software and/or hardware and is specifically configured in the server with certain data operation capability.
The data verification device shown in fig. 8 is configured in a verification server, and includes: a data receiving module 810, a data judging module 820, and an information feedback module 830.
The data receiving module 810 is configured to receive a search instruction including a ranking requirement sent by a terminal device, and receive ranking data corresponding to the search instruction, where the ranking data is generated by a search server based on the search instruction; wherein the ordering data comprises at least two data records;
A data judging module 820, configured to obtain at least two data records, and judge whether the order of the data records in the ordering data meets the ordering requirement;
the information feedback module 830 is configured to feedback ordering abnormal prompt information to the terminal device when the order of the data recorded in the ordering data does not meet the ordering requirement; and/or sending ordering abnormality indication information to the search server.
According to the embodiment of the invention, the data receiving module receives the search instruction containing the ordering requirement sent by the terminal equipment, and receives the ordering data corresponding to the search instruction, which is generated by the search server based on the search instruction; acquiring at least two data records included in the ordering data through a data judging module, and judging whether the order of the data records in the ordering data meets ordering requirements or not; when the order of the data recorded in the ordering data does not meet the ordering requirement, the information feedback module feeds back ordering abnormal prompt information to the terminal equipment; and/or sending ordering abnormality indication information to the search server. According to the technical scheme, the sequence of the data records in the sequencing data obtained when the terminal equipment searches is compared with the sequencing requirement by the verification server, the condition that the sequencing sequence in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality elimination measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
Further, the data determining module 820 includes:
A sorting field determining unit, configured to determine at least one sorting field included in the sorting requirement;
The priority determining unit is used for determining the priority of each sorting field and sequentially selecting the sorting field with the highest priority as the current sorting field;
And the ordering order judging unit is used for judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
Further, the priority determining unit is specifically configured to:
Determining the priority of each sorting field according to the selection sequence of each sorting field in the search instruction; or alternatively
And determining the priority of each sorting field according to the historical sorting times of each sorting field.
Further, the ranking field includes a merchandise attribute field and/or a user feedback field.
The data verification device can execute the data verification method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data verification method.
Example nine
Fig. 9 is a block diagram of a data display device according to a ninth embodiment of the present invention. The embodiment of the invention is suitable for the situation that the terminal equipment performs sequencing search and performs data display through the search server, and the device is realized through software and/or hardware and is specifically configured in the terminal equipment with the search webpage access function or provided with the search client.
The data display device shown in fig. 9, configured in a terminal device, includes: search instruction sending module 910, sort data receiving module 920, and exception prompt receiving module 930.
Wherein, the search instruction sending module 910 is configured to send a search instruction including a sorting requirement to the verification server and the search server;
A ranking data receiving module 920, configured to receive ranking data generated by the search server based on the search instruction;
the abnormal prompt receiving module 930 is configured to display the sorting data, and display the sorting abnormal prompt information when receiving the sorting abnormal prompt information sent by the verification server;
The ordering abnormality prompt information is generated by the verification server when the ordering requirement is not met by the order of at least two data records contained in the ordering data after receiving a search instruction containing the ordering requirement and sent by the terminal device and the ordering data sent by the search server.
According to the embodiment of the invention, the search instruction sending module sends the search instruction containing the ordering requirement to the verification server and the search server; receiving sequencing data generated by a search server based on a search instruction through a sequencing data receiving module; and displaying the sequencing data through the abnormal prompt receiving module, and displaying sequencing abnormal prompt information when the sequencing abnormal prompt information sent by the verification server is received. After receiving a search instruction containing a sorting requirement sent by the terminal equipment and sorting data sent by the search server, the verification server generates sorting abnormality prompt information when the order of at least two data records contained in the sorting data does not meet the sorting requirement. According to the technical scheme, the sequence of the data records in the sequencing data obtained when the terminal equipment searches is compared with the sequencing requirement by the verification server, the condition that the sequencing sequence in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality elimination measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
The data display device can execute the data display method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data display method.
Examples ten
Fig. 10 is a block diagram of a data search device in accordance with a tenth embodiment of the present invention. The embodiment of the invention is suitable for the situation that the terminal equipment performs sequencing search through the search server, and the device is realized through software and/or hardware and is specifically configured in the server with certain data processing capability.
The data search device shown in fig. 10 is configured in a search server, and includes: the data transceiver module 1010 and the data feedback module 1020.
The data transceiver module 1010 is configured to receive a search instruction including a ranking requirement sent by a terminal device, and send ranking data to the verification server based on the search instruction;
And a data feedback module 1020, configured to receive ordering exception indication information fed back by the verification server when the order in the ordering data does not meet the ordering requirement and determine that an abnormality occurs in a data ordering function based on the ordering exception indication information.
According to the embodiment of the invention, the data receiving and transmitting module receives the search instruction containing the ordering requirement sent by the terminal equipment, and sends ordering data to the verification server based on the search instruction; and receiving ordering abnormality indication information fed back by the verification server when the ordering requirement is not met by the ordering order of at least two data records contained in the ordering data through the data feedback module, and determining that the data ordering function is abnormal based on the ordering abnormality indication information. According to the technical scheme, the sequence of the data records in the sequencing data obtained when the terminal equipment searches is compared with the sequencing requirement by the verification server, the condition that the sequencing sequence in the sequencing data is inconsistent with the sequencing requirement is timely found, the search server is informed of taking the abnormality elimination measures, the probability of displaying abnormal sequencing data when the subsequent terminal equipment searches is reduced, and the searching experience of a user is improved as a whole.
The data searching device can execute the data searching method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the data searching method.
Example eleven
Fig. 11 is a schematic structural diagram of a terminal device according to an eleventh embodiment of the present invention. Fig. 11 illustrates a block diagram of an exemplary terminal device 1112 suitable for use in implementing embodiments of the invention. The terminal device 1112 shown in fig. 11 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments of the invention.
As shown in fig. 11, terminal device 1112 is in the form of a general purpose computing device. The components of terminal device 1112 may include, but are not limited to: one or more processors or processing units 1116, a system memory 1128, and a bus 1118 that connects the various system components (including the system memory 1128 and processing units 1116).
Bus 1118 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal device 1112 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by terminal device 1112 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 1128 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 1130 and/or cache memory 1132. Terminal device 1112 can further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 1134 may be used to read from and write to a non-removable, nonvolatile magnetic medium (not shown in FIG. 11, commonly referred to as a "hard drive"). Although not shown in fig. 11, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 1118 through one or more data medium interfaces. Memory 1128 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
Programs/utilities 1140 with a set (at least one) of program modules 1142 may be stored in, for example, memory 1128, such program modules 1142 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 1142 generally perform the functions and/or methodologies of the described embodiments of the invention.
Terminal device 1112 can also communicate with one or more external devices 1114 (e.g., keyboard, pointing device, display 1124, etc.), one or more devices that enable a user to interact with the terminal device 1112, and/or any device (e.g., network card, modem, etc.) that enables the terminal device 1112 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1122. Also, terminal device 1112 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, for example, the Internet, through network adapter 1120. As shown, network adapter 1120 communicates with other modules of terminal device 1112 through bus 1118. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with terminal device 1112, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 1116 executes various functional applications and data processing by running at least one program of a plurality of programs stored in the system memory 1128, for example, implements a data display method provided by an embodiment of the present invention.
Example twelve
The twelfth embodiment of the present invention also provides a server, the schematic structural diagram of which can also be seen in fig. 11, where the processing unit of the server executes various functional applications and data processing by running at least one program of a plurality of programs stored in the system memory, for example, to implement a data searching method or a data verification method provided by the embodiments of the present invention.
Example thirteen
An embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data display method provided in any embodiment of the present invention, and is applied to a terminal device, including: sending a search instruction containing a sorting requirement to a search server, and receiving sorting data fed back by the search server based on the search instruction; wherein the ordering data comprises at least two data records; acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement or not; and feeding back ordering abnormality indication information to the search server and displaying the ordering data when the order of the data records in the ordering data does not meet the ordering requirement.
The embodiment of the invention also provides another computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements a data searching method provided by any embodiment of the invention, and is applied to a search server, and includes: receiving a search instruction containing ordering requirements sent by terminal equipment, and feeding back ordering data to the terminal equipment based on the search instruction; wherein the ordering data comprises at least two data records; receiving ordering abnormality indication information fed back by the terminal equipment, and determining that the data ordering function is abnormal based on the ordering abnormality indication information; the ordering abnormality indication information is generated when the ordering requirement is not met according to the order of at least two data records acquired by the terminal equipment in the ordering data.
The embodiment of the invention also provides another computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements a data verification method provided by any embodiment of the invention, and is applied to a verification server, and includes: receiving a search instruction containing ordering requirements sent by a terminal device, and receiving ordering data corresponding to the search instruction, which is generated by a search server based on the search instruction; wherein the ordering data comprises at least two data records; acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement or not; when the sequence of the data records in the sequencing data does not meet the sequencing requirement, feeding back sequencing abnormal prompt information to the terminal equipment; and/or sending ordering abnormality indication information to the search server.
The embodiment of the invention also provides another computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements a data display method provided in any embodiment of the invention, and the method is applied to a terminal device, and includes: sending search instructions containing ordering requirements to a verification server and a search server; receiving ordering data generated by a search server based on the search instruction; displaying the sorting data, and displaying the sorting abnormal prompt information when receiving the sorting abnormal prompt information sent by the verification server; the ordering abnormality prompt information is generated by the verification server when the ordering requirement is not met by the order of at least two data records contained in the ordering data after receiving a search instruction containing the ordering requirement and sent by the terminal device and the ordering data sent by the search server.
The embodiment of the invention also provides another computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements a data searching method provided by any embodiment of the invention, and is applied to a search server, and includes: receiving a search instruction containing ordering requirements sent by terminal equipment, and sending ordering data to a verification server based on the search instruction; and receiving ordering abnormality indication information fed back by the verification server when the ordering requirement is not met by the ordering order of at least two data records contained in the ordering data, and determining that the data ordering function is abnormal based on the ordering abnormality indication information.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (11)

1.A data display method applied to a terminal device, comprising:
sending a search instruction containing a sorting requirement to a search server, and receiving sorting data fed back by the search server based on the search instruction; wherein the ordering data comprises at least two data records; the ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field;
Acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement or not;
When the order of the data records in the ordering data does not meet the ordering requirement, feeding back ordering abnormality indication information to the search server, and displaying the ordering data;
Wherein the obtaining at least two data records includes:
Sequentially acquiring at least two data records with different attribute values corresponding to the sorting fields from the sorting data;
The determining whether the order of the data records in the ordering data meets the ordering requirement comprises:
determining at least one ordering field contained in the ordering requirement;
Determining the priority of each sorting field, and sequentially selecting the sorting field with the highest priority as the current sorting field;
and judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
2. The method of claim 1, wherein determining the priority of each ordering field comprises:
Determining the priority of each sorting field according to the selection sequence of each sorting field in the search instruction; or alternatively
And determining the priority of each sorting field according to the historical sorting times of each sorting field in the search instruction.
3. A data search method applied to a search server, comprising:
Receiving a search instruction containing ordering requirements sent by terminal equipment, and feeding back ordering data to the terminal equipment based on the search instruction; wherein the ordering data comprises at least two data records; the ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field;
Receiving ordering abnormality indication information fed back by the terminal equipment, and determining that the data ordering function is abnormal based on the ordering abnormality indication information; after the terminal equipment acquires at least two data records, judging whether the sequence of the data records in the sequencing data meets the sequencing requirement or not, and generating when the sequence of the data records in the sequencing data does not meet the sequencing requirement;
Wherein the obtaining at least two data records includes:
Sequentially acquiring at least two data records with different attribute values corresponding to the sorting fields from the sorting data;
The determining whether the order of the data records in the ordering data meets the ordering requirement comprises:
determining at least one ordering field contained in the ordering requirement;
Determining the priority of each sorting field, and sequentially selecting the sorting field with the highest priority as the current sorting field;
and judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
4. A data verification method applied to a verification server, comprising:
Receiving a search instruction containing ordering requirements sent by a terminal device, and receiving ordering data corresponding to the search instruction, which is generated by a search server based on the search instruction; wherein the ordering data comprises at least two data records; the ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field;
Acquiring at least two data records, and judging whether the order of the data records in the ordering data meets the ordering requirement or not;
When the sequence of the data records in the sequencing data does not meet the sequencing requirement, feeding back sequencing abnormal prompt information to the terminal equipment; and/or sending ordering abnormality indication information to the search server;
Wherein the obtaining at least two data records includes:
Sequentially acquiring at least two data records with different attribute values corresponding to the sorting fields from the sorting data;
The determining whether the order of the data records in the ordering data meets the ordering requirement comprises:
determining at least one ordering field contained in the ordering requirement;
Determining the priority of each sorting field, and sequentially selecting the sorting field with the highest priority as the current sorting field;
and judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
5. A data display method applied to a terminal device, comprising:
sending search instructions containing ordering requirements to a verification server and a search server; the ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field;
receiving ordering data generated by a search server based on the search instruction;
Displaying the sorting data, and displaying the sorting abnormal prompt information when receiving the sorting abnormal prompt information sent by the verification server;
After receiving a search instruction containing a sorting requirement and sent by the terminal equipment and sorting data sent by the search server, the verification server acquires at least two data records contained in the sorting data, judges whether the order of the data records in the sorting data meets the sorting requirement or not, and generates when the order of the data records in the sorting data does not meet the sorting requirement;
wherein the obtaining at least two data records included in the ordering data includes:
Sequentially acquiring at least two data records with different attribute values corresponding to the sorting fields from the sorting data;
The determining whether the order of the data records in the ordering data meets the ordering requirement comprises:
determining at least one ordering field contained in the ordering requirement;
Determining the priority of each sorting field, and sequentially selecting the sorting field with the highest priority as the current sorting field;
and judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
6. A data search method applied to a search server, comprising:
receiving a search instruction containing ordering requirements sent by terminal equipment, and sending ordering data to a verification server based on the search instruction; the ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field;
Receiving ordering abnormality indication information fed back by the verification server when the ordering in the ordering data does not meet the ordering requirement, and determining that the data ordering function is abnormal based on the ordering abnormality indication information;
After receiving a search instruction containing a sorting requirement and sent by the terminal equipment and sorting data sent by the search server, the verification server acquires at least two data records contained in the sorting data, judges whether the order of the data records in the sorting data meets the sorting requirement or not, and generates when the order of the data records in the sorting data does not meet the sorting requirement;
wherein the obtaining at least two data records included in the ordering data includes:
Sequentially acquiring at least two data records with different attribute values corresponding to the sorting fields from the sorting data;
The determining whether the order of the data records in the ordering data meets the ordering requirement comprises:
determining at least one ordering field contained in the ordering requirement;
Determining the priority of each sorting field, and sequentially selecting the sorting field with the highest priority as the current sorting field;
and judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
7. A data display device configured in a terminal apparatus, comprising:
the search instruction sending module is used for sending a search instruction containing ordering requirements to the search server and receiving ordering data fed back by the search server based on the search instruction; wherein the ordering data comprises at least two data records; the ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field;
The ordering order judging module is used for acquiring at least two data records and judging whether the order of the data records in the ordering data meets the ordering requirement or not;
The abnormal prompt feedback module is used for feeding back ordering abnormal indication information to the search server and displaying the ordering data when the order of the data recorded in the ordering data does not meet the ordering requirement;
Wherein the obtaining at least two data records includes:
Sequentially acquiring at least two data records with different attribute values corresponding to the sorting fields from the sorting data;
the sorting order judging module comprises:
A sorting field determining unit, configured to determine at least one sorting field included in the sorting requirement;
The priority determining unit is used for determining the priority of each sorting field and sequentially selecting the sorting field with the highest priority as the current sorting field;
And the ordering order judging unit is used for judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
8. A data search device configured in a search server, comprising:
the search instruction receiving module is used for receiving a search instruction containing ordering requirements sent by the terminal equipment and feeding back ordering data to the terminal equipment based on the search instruction; wherein the ordering data comprises at least two data records; the ordering requirement comprises at least one ordering field and an ordering mode corresponding to each ordering field;
The abnormality prompt receiving module is used for receiving ordering abnormality indication information fed back by the terminal equipment and determining that the data ordering function is abnormal based on the ordering abnormality indication information; after the terminal equipment acquires at least two data records, judging whether the sequence of the data records in the sequencing data meets the sequencing requirement or not, and generating when the sequence of the data records in the sequencing data does not meet the sequencing requirement;
Wherein the obtaining at least two data records includes:
Sequentially acquiring at least two data records with different attribute values corresponding to the sorting fields from the sorting data;
The determining whether the order of the data records in the ordering data meets the ordering requirement comprises:
determining at least one ordering field contained in the ordering requirement;
Determining the priority of each sorting field, and sequentially selecting the sorting field with the highest priority as the current sorting field;
and judging whether the order of the data records in the ordering data meets the ordering requirement corresponding to the current ordering field.
9. A terminal device, comprising:
One or more processors;
A memory for storing one or more programs;
When executed by the one or more processors, causes the one or more processors to implement a data display method as claimed in any one of claims 1-2 and claim 5.
10. A server for a server, which comprises a server and a server, characterized by comprising the following steps:
One or more processors;
A memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a data searching method as claimed in claim 3 or 6; or to implement a data verification method as claimed in claim 4.
11. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a data display method according to any one of claims 1-2 and claim 5; or implementing a data searching method as claimed in claim 3 or 6; or to implement a data verification method as claimed in claim 4.
CN201910635732.0A 2019-07-15 2019-07-15 Data display, search and verification method, device, equipment, server and medium Active CN111737563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910635732.0A CN111737563B (en) 2019-07-15 2019-07-15 Data display, search and verification method, device, equipment, server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910635732.0A CN111737563B (en) 2019-07-15 2019-07-15 Data display, search and verification method, device, equipment, server and medium

Publications (2)

Publication Number Publication Date
CN111737563A CN111737563A (en) 2020-10-02
CN111737563B true CN111737563B (en) 2024-09-20

Family

ID=72645839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910635732.0A Active CN111737563B (en) 2019-07-15 2019-07-15 Data display, search and verification method, device, equipment, server and medium

Country Status (1)

Country Link
CN (1) CN111737563B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977405A (en) * 2017-11-16 2018-05-01 北京三快在线科技有限公司 Data reordering method, data sorting device, electronic equipment and readable storage medium storing program for executing
CN109376285A (en) * 2018-10-30 2019-02-22 上海掌门科技有限公司 Data sorting verification method, electronic equipment and medium based on json format

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9613131B2 (en) * 2013-01-25 2017-04-04 International Business Machines Corporation Adjusting search results based on user skill and category information
CN104699725B (en) * 2013-12-10 2018-10-09 阿里巴巴集团控股有限公司 data search processing method and system
CN106126559A (en) * 2016-06-16 2016-11-16 天脉聚源(北京)传媒科技有限公司 A kind of data processing method and device
CN106844538A (en) * 2016-12-30 2017-06-13 中国电子科技集团公司第五十四研究所 A kind of many attribute sort methods and device for being applied to Internet of Things search
CN108846121A (en) * 2018-06-27 2018-11-20 中国建设银行股份有限公司 A kind of data search method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107977405A (en) * 2017-11-16 2018-05-01 北京三快在线科技有限公司 Data reordering method, data sorting device, electronic equipment and readable storage medium storing program for executing
CN109376285A (en) * 2018-10-30 2019-02-22 上海掌门科技有限公司 Data sorting verification method, electronic equipment and medium based on json format

Also Published As

Publication number Publication date
CN111737563A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
US11238223B2 (en) Systems and methods for intelligently predicting accurate combinations of values presentable in data fields
US10338977B2 (en) Cluster-based processing of unstructured log messages
CN107273280B (en) Log processing method and device, electronic equipment and storage medium
US20150089415A1 (en) Method of processing big data, apparatus performing the same and storage media storing the same
CN113609195A (en) Report generation method, report generation device, electronic equipment and storage medium
CN110688111A (en) Configuration method, device, server and storage medium of business process
CN110909768B (en) Method and device for acquiring marked data
CN109902726B (en) Resume information processing method and device
CN104657248A (en) Java thread stack analysis method and system
CN108062401B (en) Application recommendation method and device and storage medium
CN113760894A (en) Data calling method and device, electronic equipment and storage medium
CN111367703A (en) Troubleshooting method and device
CN111737563B (en) Data display, search and verification method, device, equipment, server and medium
CN114035729B (en) Electronic voting method and device and terminal equipment
CN115827122A (en) Operation guiding method and device, electronic equipment and storage medium
CN113626301B (en) Method and device for generating test script
CN113781068A (en) Online problem solving method and device, electronic equipment and storage medium
CN113885998A (en) Page rendering method and device, electronic equipment and storage medium
CN113656731A (en) Advertisement page processing method and device, electronic equipment and storage medium
CN110020906B (en) Order information detection method and device
CN112818204A (en) Service processing method, device, equipment and storage medium
CN112488625A (en) Returned piece identification method, returned piece identification device, returned piece identification equipment and storage medium
CN111708684B (en) Recording method and device for page access and computer system
CN116049508A (en) Test element information generation method, device, equipment and storage medium
CN114416781A (en) Data searching method and device, electronic equipment and storage medium

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