CN107958081B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN107958081B
CN107958081B CN201711342785.0A CN201711342785A CN107958081B CN 107958081 B CN107958081 B CN 107958081B CN 201711342785 A CN201711342785 A CN 201711342785A CN 107958081 B CN107958081 B CN 107958081B
Authority
CN
China
Prior art keywords
information
sorting
pieces
sequencing
tag
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
CN201711342785.0A
Other languages
Chinese (zh)
Other versions
CN107958081A (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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201711342785.0A priority Critical patent/CN107958081B/en
Publication of CN107958081A publication Critical patent/CN107958081A/en
Application granted granted Critical
Publication of CN107958081B publication Critical patent/CN107958081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90348Query processing by searching ordered data, e.g. alpha-numerically ordered data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (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)

Abstract

The invention provides an information processing method and device, wherein the method comprises the following steps: receiving an information search request and a first sequencing tag sent by an information request system; the information search request is used for indicating information required by the information request system, and the first sequencing tag is used for indicating the sequencing requirement of the information request system; obtaining N pieces of required information according to the information search request; wherein N is an integer greater than 1; sorting the N pieces of information according to sorting requirements indicated by the first sorting label; and sending the sequenced N pieces of information to the information request system. The invention can carry out targeted sequencing on the returned information according to the requirements of the information request system, thereby meeting various different sequencing requirements.

Description

Information processing method and device
Technical Field
The present invention relates to the medical field, and in particular, to an information processing method and apparatus.
Background
The medical care integration platform adopts a micro-service architecture to expose services, and can provide richer service support for each service demander, wherein the service demander can be used as an information request system to request information from an information processing system of the platform.
In the related art, when information is returned to an information requesting system, the information requesting system or an information processing system can only sort the returned information according to a sorting manner determined in a code.
However, the ordering requirements for the same request result, i.e. for the same plurality of information, may be different due to different service scenarios of the information request system. In the existing sorting mode, returned information cannot be sorted in a targeted manner according to actual requirements.
Disclosure of Invention
The invention provides an information processing method and device, and aims to solve the problem that returned information cannot be subjected to targeted sorting according to actual requirements in the conventional sorting mode.
According to a first aspect of the present invention, there is provided an information processing method including:
receiving an information search request and a first sequencing tag sent by an information request system; the information search request is used for indicating information required by the information request system, and the first sequencing tag is used for indicating the sequencing requirement of the information request system;
obtaining N pieces of required information according to the information search request; wherein N is an integer greater than or equal to 1;
sorting the N pieces of information according to sorting requirements indicated by the first sorting label;
and sending the sequenced N pieces of information to the information request system.
Optionally, the first ordering tag includes first element information, where the first element information is used to indicate a reference element according to which each piece of information required is ordered;
the sorting the N pieces of information according to the sorting requirement indicated by the first sorting label includes:
obtaining a second sorting label according to the first sorting label, wherein the second sorting label comprises second element information and mode information; the second element information is a specific element which is determined according to the reference element and can be used for sorting; the mode information is used for indicating a sequencing mode;
and sorting the N pieces of information according to the second sorting label or the second sorting label and the first sorting label.
Optionally, the sorting mode is one of a chinese character sorting mode, a number sorting mode and a letter sorting mode, and the chinese character sorting mode is one of a pinyin sorting mode, a stroke sorting mode and a radical sorting mode.
Optionally, the specific element includes a first specific element and a second specific element;
the first specific element is an element available for sorting in the reference element;
the second specific element is an alias element determined according to the first specific element.
Optionally, after obtaining a second sorting label according to the first sorting label, the method further includes:
intercepting N pieces of information corresponding to the second sequencing label by using a section interceptor so as to enable: and prohibiting the N pieces of information from being sent to the information request system before the N pieces of information are sequenced.
Optionally, the sorting the N pieces of information according to the second sorting label, or the second sorting label and the first sorting label, includes:
converting the second sort tag, or the second sort tag and the first sort tag, into sort information in a processable format;
and sequencing the N pieces of information according to the sequencing information.
Optionally, the first sorting label further includes type information for indicating a sorting type, where the sorting type includes an ascending order and a descending order.
According to a second aspect of the present invention, there is provided an information processing apparatus comprising:
the receiving module is used for receiving an information searching request and a first sequencing tag sent by an information request system; the information search request is used for indicating information required by the information request system, and the first sequencing tag is used for indicating the sequencing requirement of the information request system;
the obtaining module is used for obtaining N pieces of required information according to the information searching request; wherein N is an integer greater than 1;
the sorting module is used for sorting the N pieces of information according to the sorting requirements indicated by the first sorting label;
and the sending module is used for sending the sequenced N pieces of information to the information request system.
Optionally, the first ordering tag includes first element information, where the first element information is used to indicate a reference element according to which each piece of information required is ordered;
the sorting module is specifically configured to:
obtaining a second sorting label according to the first sorting label, wherein the second sorting label comprises second element information and mode information; the second element information is a specific element which is determined according to the reference element and can be used for sorting; the mode information is used for indicating a sequencing mode;
and sorting the N pieces of information according to the second sorting label or the second sorting label and the first sorting label.
Optionally, the sorting mode is one of a chinese character sorting mode, a number sorting mode and a letter sorting mode, and the chinese character sorting mode is one of a pinyin sorting mode, a stroke sorting mode and a radical sorting mode.
Optionally, the specific element includes a first specific element and a second specific element;
the first specific element is an element available for sorting in the reference element;
the second specific element is an alias element determined according to the first specific element.
Optionally, the sorting module is specifically configured to intercept, by using a tangent plane interceptor, N pieces of information corresponding to the second sorting label, so that: and prohibiting the N pieces of information from being sent to the information request system before the N pieces of information are sequenced.
Optionally, the sorting module is specifically configured to:
converting the second sort tag, or the second sort tag and the first sort tag, into sort information in a processable format;
and sequencing the N pieces of information according to the sequencing information.
Optionally, the first sorting label further includes type information for indicating a sorting type, where the sorting type includes an ascending order and a descending order.
According to a third aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the first aspect and an information processing method to which it may relate.
According to a fourth aspect of the present invention, there is provided an electronic apparatus comprising: a processor; and a memory for storing executable instructions of the processor, wherein the processor is configured to perform the first aspect and information processing methods it may relate to via execution of the executable instructions.
The information processing method and the device provided by the invention receive the first sequencing label sent by the information request system; the first ordering tag is used for indicating the ordering requirement of the information request system; sequencing the N pieces of information according to the sequencing requirement indicated by the first sequencing label; the invention can carry out targeted sequencing on the returned information according to the requirements of the information request system, thereby meeting various different sequencing requirements.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of an application scenario of the information processing method and apparatus of the present invention;
FIG. 2 is a first flowchart illustrating an information processing method according to the present invention;
FIG. 3 is a second flowchart illustrating an information processing method according to the present invention;
FIG. 4 is a schematic flow chart of step S24 in FIG. 3;
FIG. 5 is a signaling flow diagram of an information processing method according to the present invention;
FIG. 6 is a first schematic diagram of an information processing apparatus according to the present invention;
FIG. 7 is a second schematic diagram of an information processing apparatus according to the present invention;
FIG. 8 is a schematic diagram of an electronic device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a schematic view of an application scenario of the information processing method and apparatus of the present invention.
Referring to fig. 1, the method and apparatus provided by the present invention can be applied to a medical care integration platform 1 to process corresponding information, for example, medical care information can be processed.
The medical care integration platform 1 can be integrated with a plurality of platforms which can store information, manage information and process information, and can adopt a micro-service architecture to expose services in a manner defined by a restful interface. Which may include an information handling system 11.
The information processing system 11 may be understood as any terminal, terminal set, server set, etc. capable of implementing information processing, and may have data processing and data storage capabilities, as well as external communication capabilities. The information processing system 11 of the medical care integration platform 1 can communicate with the information request system 2.
The information requesting system 2 may be understood as a system that can request a specific service from the platform, where the specific service includes sending of a search request for information, and triggering the information processing system 11 of the medical care integration platform 1 to obtain corresponding information according to the request, and then feeding back the corresponding information. The information request system 2 may be any terminal, terminal set, server set, etc. capable of implementing information processing, and may have data processing and data storage capabilities, as well as external communication capabilities.
For the searched information, such as client information, staff information, service items, equipment information and the like, the ordering required in different business scenes in the medical and endowment fields is different, some information is ordered according to the names of the clients in an ascending order, some information is ordered according to the sexes in a descending order, some information is ordered according to a plurality of fields in the same entity table, and some information is ordered according to a plurality of fields in different entity tables. For example: when inquiring the client information, some needs are sorted in ascending order according to gender and some needs are sorted in descending order according to birth date. When inquiring nursing service items, some requirements are frequently ordered according to the ascending order of names according to some requirements, some requirements are ordered according to the specification of the nursing items, and the like.
Based on the service to be realized, the information request system 2 can be understood as a service consumer, namely a consumer who needs medical and medical search service and calls consumption; the information processing system 11 of the medical care integration platform 1 can be understood as a service provider, namely, a party providing the search service implementation to a service consumer; the method and the device provided by the invention can be applied to the information processing system 11 of the medical care integration platform 1, and further the method and the device for processing the medical care information provided by the invention are realized in a mode of a public SDK toolkit, for example.
FIG. 2 is a flowchart illustrating an information processing method according to the first embodiment of the present invention.
Referring to fig. 2, the information processing method includes:
s11: and receiving an information search request and a first sequencing tag sent by an information request system.
The information search request is used for indicating information required by the information request system, and can also be understood as information for limiting search conditions, and the information processing system can retrieve corresponding information based on the search conditions. According to different modes of the identification information and the use information, different data forms can be correspondingly adopted for representation.
The first ordering tag is used for indicating the ordering requirement of the information request system; it is understood that the data content has a specific format and function, and the data content can be arbitrarily set by the definition of the label. The format may be understood as a format in which information characterizing the sorting requirements can be recognized by the information processing system. According to different requirements, different formats and data forms can be correspondingly adopted for characterization.
S12: obtaining N pieces of required information according to the information search request; wherein N is an integer greater than or equal to 1.
Each of the N pieces of information may be understood as information having a plurality of elements of data. Each element may be a dimension for implementing the ordering, such as name, gender, drug name, pharmaceutical factory name, drug price, and so forth.
S13: and sequencing the N pieces of information according to the sequencing requirement indicated by the first sequencing label.
Since the sorting process is implemented according to the sorting requirements indicated by the first sorting label, the sorting result is associated with the first sorting label, and the targeted sorting for different requirements is implemented.
S14: and sending the sequenced N pieces of information to the information request system.
In the information processing method provided by this embodiment, a first ordering tag sent by an information request system is received; the first ordering tag is used for indicating the ordering requirement of the information request system; sequencing the N pieces of information according to the sequencing requirement indicated by the first sequencing label; the invention can carry out targeted sequencing on the returned information according to the requirements of the information request system, thereby meeting various different sequencing requirements.
FIG. 3 is a second flowchart illustrating an information processing method according to the present invention.
Referring to fig. 3, the information processing method includes:
s21: receiving an information search request and a first sequencing tag sent by an information request system; the information search request is used for indicating information required by the information request system, and the first sequencing tag is used for indicating the sequencing requirement of the information request system.
The information search request is used for indicating information required by the information request system, and can also be understood as information for limiting search conditions, and the information processing system can retrieve corresponding information based on the search conditions. According to different modes of the identification information and the use information, different data forms can be correspondingly adopted for representation.
The first ordering tag is used for indicating the ordering requirement of the information request system; it may be data in a particular format, which may be understood as a format in which information characterizing the sorting requirements can be recognized by the information processing system. According to different requirements, different formats and data forms can be correspondingly adopted for characterization.
The first ordering tag may be characterized as a SortValide tag, and the generation of the first ordering tag adds an annotation @ SortValide to vo entered into the argument, which may specifically be, for example:
“@SortValide
Private String sort。”
the first ordering tag includes first element information indicating a reference element according to which pieces of information required are ordered.
The writing format can be as follows: { ordering field 1: ordering type field, ordering field 2: ordering type field. For example: name: asc, sex: desc
The sorting field can be understood as a field of the first element information, and the sorting field is a field in a sorting field set supported by the system, for example, a name in the sorting field represents a name, and a sexe in the sorting field represents a gender; the ASC or DESC in the sort type field may characterize the ascending and descending order, respectively.
After step S21, since it acquired the first sort tag, step S23 may be implemented: verifying a pass in the first sequenced tag.
Specifically, it can be understood that the verification of the access custom extension rule based on the conditional verifier ConstraintValidator is established, for example, the following verification may be performed: the type of sorting field, whether the sorting field is empty, the type of sorting field, and the format of the sorting field are checked, thereby ensuring that the incoming field is legal and valid.
Step S23 may be implemented after step S21 and before step S24, before step S22, or after step S22.
S22: obtaining N pieces of required information according to the information search request; wherein N is an integer greater than or equal to 1.
Each of the N pieces of information may be understood as information having a plurality of elements of data. Each element may be a dimension for implementing the ordering, such as name, gender, drug name, pharmaceutical factory name, drug price, and so forth.
Step S22 may adopt any process in the field of obtaining N pieces of information by searching according to the information search request, and may retrieve the obtained information in the information processing system, or may retrieve the obtained information by querying the information management system.
S24: and sequencing the N pieces of information according to the sequencing requirement indicated by the first sequencing label.
And sending the sequenced N pieces of information to the information request system.
Since the sorting process is implemented according to the sorting requirements indicated by the first sorting label, the sorting result is associated with the first sorting label, and the targeted sorting for different requirements is implemented.
Fig. 4 is a flowchart of step S24 in fig. 3.
Referring to fig. 4, the method includes:
s241: and obtaining a second sorting label according to the first sorting label.
The second sort tag includes second element information and mode information.
The second element information may be understood as a specific element that can be used for sorting determined according to the reference element. Elements, can be understood as various dimensions that can be used for sorting, such as: name, gender, drug name, pharmaceutical factory name, drug price, and the like. Similar to the first element information, the element may be characterized with a corresponding field as the second element information.
The specific elements include a first specific element and a second specific element.
The first specific element is an element available for sorting in the reference element; it is understood that the reference element may include an element that can be verified as valid, and may also include an element that fails to verify, and the first specific element may be understood as including an element that can be verified as passing at a constant speed, and may also include selected ones of the repulsive elements, such as two repulsive elements, and only one of the elements may be selected for sorting to become the specific element.
The second specific element is an alias element determined according to the first specific element. Alias elements, which may be understood as elements that are similar in their representation to a particular element, may be used to characterize the same content.
The mode information may be understood as a mode for indicating the sorting. The sorting mode is one of a Chinese character sorting mode, a number sorting mode and letter sorting, and the Chinese character sorting mode is one of a pinyin sorting mode, a stroke sorting mode and a radical sorting mode.
In a specific implementation process, the second sorting label may be characterized as a SortManage rule label. The tag is configured to implement rules for adding sort fields, Chinese sort fields, alias fields, numeric fields, etc. at the controller level.
For example:
“@SortManage(sortable={"id","name"},chinese={"name"},alias="{'id':'a.id','name':'a.name'}",numbers={"id"})”。
wherein:
sortable refers to a set of orderable fields that may be aligned to information that is understood to characterize a first particular element in second element information. Wherein, corresponding to these elements, the default is the character string sorting mode.
alias refers to a field alias in the case of a multi-table when the externally exposed orderable field corresponds to the backend database sql processing, which may be for information that characterizes the second specific element to be understood as second element information.
A "Chinese" means that a certain field is specified to be sorted in a Chinese manner, and specifically, for example, for an element of "name", it is specified to be sorted in a Chinese manner. In other alternatives, the Chinese character sorting mode can be further limited to be one of a pinyin sorting mode, a stroke sorting mode and a radical sorting mode.
number refers to designating a field to be sorted by number type. Specifically, it may be specified, for example, for the elements of "id", that they are sorted numerically.
S243: and sorting the N pieces of information according to the second sorting label or the second sorting label and the first sorting label.
It can be seen that each tag may define one element or may define multiple elements, one sorting manner may be set for each element, multiple elements may be set for multiple elements, and the sorting manners of the multiple elements may also have a difference in priority. For example, for a first element and a second element, if the priority order of the first element is better than that of the second element, then after the first element is sorted, for information in the same order, the second element may be further sorted, for example, the first element is used for representing a name of a factory, and the second element is used for representing a price, and then according to the name of the factory, a plurality of pieces of information in the same name of the factory are sorted by the price.
After step S241, the method may further include:
intercepting N pieces of information corresponding to the second sequencing label by using a section interceptor so as to enable: and prohibiting the N pieces of information from being sent to the information request system before the N pieces of information are sequenced.
In the specific implementation process, the method can be as follows: the service with the SortManage tag is intercepted by the cut plane interceptor aop. Specific examples are:
"@ Pointcut (" @ indication (com. taikang. healthcare. sdk. aop. sortmanage) ")". Step S243 may specifically include:
converting the second sort tag, or the second sort tag and the first sort tag, into sort information in a processable format.
If the first sorting label further includes type information for indicating a sorting type, sorting may be performed with the sorting type determined by the first sorting label according to a sorting rule determined by the second sorting label. The sort types include ascending and descending.
And sequencing the N pieces of information according to the sequencing information. The sorting process can be realized by adopting any sorting realization mode in the field.
In the specific implementation process, for the second sorting label and the first sorting label, rule processing may be performed, for example, converting the names of the entries into asc, seq: desc into String [ ] arrays, and checking whether the fields of the elements have alias, if so, performing alias replacement processing, and then checking whether a hierarchy rule is included, and if so, performing a hierarchy gbk _ hierarchy _ ci conversion.
The sorting process can be realized by mybatis by using a persistent layer, dynamic sorting information is added in the mapper, and the sorting rule fields of the client can be listed as follows:
“<if test="cust.sort!=null and cust.sort!=”">
order by${cust.sort}
</if>”。
s25: and sending the sequenced N pieces of information to the information request system.
In the information processing method provided by this embodiment, a first ordering tag sent by an information request system is received; the first ordering tag is used for indicating the ordering requirement of the information request system; sequencing the N pieces of information according to the sequencing requirement indicated by the first sequencing label; the invention can carry out targeted sequencing on the returned information according to the requirements of the information request system, thereby meeting various different sequencing requirements.
Fig. 5 is a signaling flow diagram of an information processing method according to the present invention.
Referring to fig. 5, the method includes:
s31: the information request system 2 generates an information search request and a first sort tag, and further sends the information search request and the first sort tag to the information processing system 11. The information processing system 11 is a system in the medical care integration platform 1.
S32: the information processing system 11 obtains the required N pieces of information according to the information search request.
S33: the information processing system 11 obtains a second sorting label according to the first sorting label.
S34: the information processing system 11 intercepts the N pieces of information corresponding to the second sorting label by using a section interceptor.
S35: the information processing system 11 sorts the N pieces of information according to the second sorting label, or the second sorting label and the first sorting label, and further sends the N pieces of sorted information to the information requesting system 2.
S36: and the information request system 2 outputs and displays the sequenced N pieces of information.
The above-mentioned processes and terms are understood to be understood in the embodiments shown in fig. 2 to 4.
In the information processing method provided by this embodiment, a first ordering tag sent by an information request system is received; the first ordering tag is used for indicating the ordering requirement of the information request system; sequencing the N pieces of information according to the sequencing requirement indicated by the first sequencing label; the invention can carry out targeted sequencing on the returned information according to the requirements of the information request system, thereby meeting various different sequencing requirements.
FIG. 6 is a first schematic diagram of an information processing apparatus according to the present invention.
Referring to fig. 6, the information processing apparatus includes:
a receiving module 301, configured to receive an information search request and a first ordering tag sent by an information request system; the information search request is used for indicating information required by the information request system, and the first sequencing tag is used for indicating the sequencing requirement of the information request system.
An obtaining module 302, configured to obtain N pieces of information according to the information search request; wherein N is an integer greater than 1;
a sorting module 303, configured to sort the N pieces of information according to the sorting requirement indicated by the first sorting label;
a sending module 304, configured to send the N sorted pieces of information to the information requesting system.
The information processing apparatus provided by the present embodiment receives the first sort label sent by the information request system; the first ordering tag is used for indicating the ordering requirement of the information request system; sequencing the N pieces of information according to the sequencing requirement indicated by the first sequencing label; the invention can carry out targeted sequencing on the returned information according to the requirements of the information request system, thereby meeting various different sequencing requirements.
FIG. 7 is a second schematic diagram of an information processing apparatus according to the present invention.
Referring to fig. 7, the information processing apparatus includes:
a receiving module 401, configured to receive an information search request and a first ordering tag sent by an information request system; the information search request is used for indicating information required by the information request system, and the first sequencing tag is used for indicating the sequencing requirement of the information request system.
An obtaining module 402, configured to obtain N pieces of information according to the information search request; wherein N is an integer greater than 1.
A sorting module 404, configured to sort the N pieces of information according to the sorting requirement indicated by the first sorting label.
A sending module 405, configured to send the N pieces of sorted information to the information requesting system.
Optionally, the first ordering tag includes first element information, where the first element information is used to indicate a reference element according to which each piece of information required is ordered;
the sorting module 404 is specifically configured to:
obtaining a second sorting label according to the first sorting label, wherein the second sorting label comprises second element information and mode information; the second element information is a specific element which is determined according to the reference element and can be used for sorting; the mode information is used for indicating a sequencing mode;
and sorting the N pieces of information according to the second sorting label or the second sorting label and the first sorting label.
Optionally, the sorting mode is one of a chinese character sorting mode, a number sorting mode and a letter sorting mode, and the chinese character sorting mode is one of a pinyin sorting mode, a stroke sorting mode and a radical sorting mode.
Optionally, the specific element includes a first specific element and a second specific element;
the first specific element is an element available for sorting in the reference element;
the second specific element is an alias element determined according to the first specific element.
Optionally, the sorting module 404 is specifically configured to intercept, by using a tangent plane interceptor, the N pieces of information corresponding to the second sorting label, so that: and prohibiting the N pieces of information from being sent to the information request system before the N pieces of information are sequenced.
Optionally, the sorting module 404 is specifically configured to:
converting the second sort tag, or the second sort tag and the first sort tag, into sort information in a processable format;
and sequencing the N pieces of information according to the sequencing information.
Optionally, the first sorting label further includes type information for indicating a sorting type, where the sorting type includes an ascending order and a descending order.
Optionally, the apparatus further includes:
a checking module 403, configured to check that the first sequenced tag passes.
The information processing apparatus provided by the present embodiment receives the first sort label sent by the information request system; the first ordering tag is used for indicating the ordering requirement of the information request system; sequencing the N pieces of information according to the sequencing requirement indicated by the first sequencing label; the invention can carry out targeted sequencing on the returned information according to the requirements of the information request system, thereby meeting various different sequencing requirements.
In addition, the apparatus shown in this embodiment may be correspondingly used to implement the technical solutions of the method embodiments shown in fig. 3 and fig. 4, and the implementation principles, technical effects, and meanings of terms are similar, which are not described herein again.
FIG. 8 is a schematic diagram of an electronic device according to the present invention.
Referring to fig. 8, the electronic device 50 includes:
a processor 51 and a memory 52; wherein:
a memory 52 for storing executable instructions, which may also be a flash (flash memory).
The processor 51 is configured to execute the executable instructions stored in the memory to implement the steps of the method according to the above embodiments. Reference may be made in particular to the description relating to the preceding method embodiment.
Alternatively, the memory 52 may be separate or integrated with the processor 51.
When the memory 52 is a device independent from the processor 51, the electronic device 50 may further include:
a bus 53 for connecting the memory 52 and the processor 51.
The present embodiment also provides a computer-readable storage medium, in which a computer program is stored, and when at least one processor of the electronic device executes the computer program, the electronic device executes the methods according to the various embodiments described above.
The present embodiments also provide a program product comprising a computer program stored in a computer readable storage medium. The computer program may be read from a readable storage medium by at least one processor of the electronic device, and the execution of the computer program by the at least one processor causes the electronic device to implement the methods according to the various embodiments described above.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. An information processing method characterized by comprising:
receiving an information search request and a first sequencing tag sent by an information request system; the information search request is used for indicating information required by the information request system, and the first sequencing tag is used for indicating the sequencing requirement of the information request system;
obtaining N pieces of required information according to the information search request; wherein N is an integer greater than 1;
sorting the N pieces of information according to sorting requirements indicated by the first sorting label;
sending the sequenced N pieces of information to the information request system;
the first ordering tag comprises first element information, and the first element information is used for indicating a reference element according to which the required pieces of information are ordered;
the sorting the N pieces of information according to the sorting requirement indicated by the first sorting label includes:
obtaining a second sorting label according to the first sorting label, wherein the second sorting label comprises second element information and mode information; the second element information is a specific element which is determined according to the reference element and can be used for sorting; the mode information is used for indicating a sequencing mode;
and sorting the N pieces of information according to the second sorting label or the second sorting label and the first sorting label.
2. The method of claim 1, wherein the ordering is one of a Chinese character ordering, a numeric ordering, and a letter ordering, and wherein the Chinese character ordering is one of a Pinyin ordering, a stroke ordering, and a radical ordering.
3. The method according to claim 1, wherein the specific element includes a first specific element and a second specific element;
the first specific element is an element available for sorting in the reference element;
the second specific element is an alias element determined according to the first specific element.
4. The method according to any one of claims 1 to 3, wherein after obtaining a second sorted tag from the first sorted tag, further comprising:
intercepting N pieces of information corresponding to the second sequencing label by using a section interceptor so as to enable: and prohibiting the N pieces of information from being sent to the information request system before the N pieces of information are sequenced.
5. The method of any one of claims 1 to 3, wherein sorting the N pieces of information according to the second sort tag, or the second sort tag and the first sort tag, comprises:
converting the second sort tag, or the second sort tag and the first sort tag, into sort information in a processable format;
and sequencing the N pieces of information according to the sequencing information.
6. The method of any of claims 1 to 3, wherein the first ordering tag further comprises type information indicating an ordering type, the ordering type comprising an ascending order and a descending order.
7. An information processing apparatus characterized by comprising:
the receiving module is used for receiving an information searching request and a first sequencing tag sent by an information request system; the information search request is used for indicating information required by the information request system, and the first sequencing tag is used for indicating the sequencing requirement of the information request system;
the obtaining module is used for obtaining N pieces of required information according to the information searching request; wherein N is an integer greater than 1;
the sorting module is used for sorting the N pieces of information according to the sorting requirements indicated by the first sorting label;
a sending module, configured to send the N pieces of ordered information to the information request system;
the first ordering tag comprises first element information, and the first element information is used for indicating a reference element according to which the required pieces of information are ordered;
the sorting module is specifically configured to:
obtaining a second sorting label according to the first sorting label, wherein the second sorting label comprises second element information and mode information; the second element information is a specific element which is determined according to the reference element and can be used for sorting; the mode information is used for indicating a sequencing mode;
and sorting the N pieces of information according to the second sorting label or the second sorting label and the first sorting label.
8. A computer-readable storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the information processing method of any one of claims 1 to 6.
9. An electronic device, comprising:
a processor; and the number of the first and second groups,
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the information processing method of any one of claims 1-6 via execution of the executable instructions.
CN201711342785.0A 2017-12-14 2017-12-14 Information processing method and device Active CN107958081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711342785.0A CN107958081B (en) 2017-12-14 2017-12-14 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711342785.0A CN107958081B (en) 2017-12-14 2017-12-14 Information processing method and device

Publications (2)

Publication Number Publication Date
CN107958081A CN107958081A (en) 2018-04-24
CN107958081B true CN107958081B (en) 2021-11-30

Family

ID=61959049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711342785.0A Active CN107958081B (en) 2017-12-14 2017-12-14 Information processing method and device

Country Status (1)

Country Link
CN (1) CN107958081B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937658A (en) * 2005-09-22 2007-03-28 中兴通讯股份有限公司 Quick query warning method for telecommunication management network
CN102369528A (en) * 2011-08-31 2012-03-07 华为技术有限公司 Ordering method and device based on multivalued attribute
CN102426569A (en) * 2010-12-17 2012-04-25 百度在线网络技术(北京)有限公司 Method and equipment for screening and sorting material data
CN103246514A (en) * 2013-05-07 2013-08-14 汉柏科技有限公司 Method for implementing exception framework on the basis of cloud computing
CN103389974A (en) * 2012-05-07 2013-11-13 腾讯科技(深圳)有限公司 Method and server for searching information
CN103577321A (en) * 2012-08-07 2014-02-12 阿里巴巴集团控股有限公司 Multi-version parallel test method for web pages and server
CN103678292A (en) * 2012-08-29 2014-03-26 百度在线网络技术(北京)有限公司 Information sequencing method and device based on location
CN103970747A (en) * 2013-01-24 2014-08-06 爱帮聚信(北京)科技有限公司 Data processing method for network side computer to order search results
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

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937658A (en) * 2005-09-22 2007-03-28 中兴通讯股份有限公司 Quick query warning method for telecommunication management network
CN102426569A (en) * 2010-12-17 2012-04-25 百度在线网络技术(北京)有限公司 Method and equipment for screening and sorting material data
CN102369528A (en) * 2011-08-31 2012-03-07 华为技术有限公司 Ordering method and device based on multivalued attribute
CN103389974A (en) * 2012-05-07 2013-11-13 腾讯科技(深圳)有限公司 Method and server for searching information
CN103577321A (en) * 2012-08-07 2014-02-12 阿里巴巴集团控股有限公司 Multi-version parallel test method for web pages and server
CN103678292A (en) * 2012-08-29 2014-03-26 百度在线网络技术(北京)有限公司 Information sequencing method and device based on location
CN103970747A (en) * 2013-01-24 2014-08-06 爱帮聚信(北京)科技有限公司 Data processing method for network side computer to order search results
CN103246514A (en) * 2013-05-07 2013-08-14 汉柏科技有限公司 Method for implementing exception framework on the basis of cloud computing
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

Also Published As

Publication number Publication date
CN107958081A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
US20210150204A1 (en) Dynamic Document Clustering and Keyword Extraction
CN109388657B (en) Data processing method, device, computer equipment and storage medium
CN113364853B (en) Business service system, business request method and gateway equipment
CN107844588B (en) Data dictionary processing method and device, storage medium and processor
WO2011038491A1 (en) Systems and methods for social graph data analytics to determine connectivity within a community
CN111768258B (en) Method, device, electronic equipment and medium for identifying abnormal order
CN109617647A (en) Message forwarding method, device, computer equipment and computer readable storage medium
CN110213290B (en) Data acquisition method, API gateway and storage medium
CN105871888A (en) Identity authentication method, device and system
CN113626223A (en) Interface calling method and device
CN110019774B (en) Label distribution method, device, storage medium and electronic device
CN113076153A (en) Interface calling method and device
JP6405370B2 (en) Method for mining information template, apparatus, program, and recording medium
US10474688B2 (en) System and method to recommend a bundle of items based on item/user tagging and co-install graph
CN110580312B (en) Data query method, device and computer readable storage medium
CN107958081B (en) Information processing method and device
CN109857748B (en) Contract data processing method and device and electronic equipment
CN113761565A (en) Data desensitization method and apparatus
CN109872197B (en) Method and device for processing user information
CN111428463A (en) Short message processing method and device, electronic equipment and storage medium
JP5386050B1 (en) Computing that distributes SMS by repeatedly issuing SMS transmission requests to the SMS transmission agency system based on a distribution list received from a client
CN110728585A (en) Authority guaranteeing method, device, equipment and storage medium
CN115982241A (en) Data processing method and device, electronic equipment and computer readable medium
CN110704501A (en) User account correlation method and device
CN110781182B (en) Automatic encoding method and device for check logic and computer equipment

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