CN111259108B - Information storage method and device and electronic equipment - Google Patents

Information storage method and device and electronic equipment Download PDF

Info

Publication number
CN111259108B
CN111259108B CN202010033744.9A CN202010033744A CN111259108B CN 111259108 B CN111259108 B CN 111259108B CN 202010033744 A CN202010033744 A CN 202010033744A CN 111259108 B CN111259108 B CN 111259108B
Authority
CN
China
Prior art keywords
information
stored
queriable
database
characteristic
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
CN202010033744.9A
Other languages
Chinese (zh)
Other versions
CN111259108A (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010033744.9A priority Critical patent/CN111259108B/en
Publication of CN111259108A publication Critical patent/CN111259108A/en
Application granted granted Critical
Publication of CN111259108B publication Critical patent/CN111259108B/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/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides an information storage method, an information storage device and electronic equipment, after information to be stored is acquired, whether the data to be stored exist in a database is searched in accordance with the identification of the information to be stored, when the information to be stored is not searched in the data, whether the information to be stored belongs to the inquireable information or the non-inquireable information is judged according to the attribute of the information to be stored, when the information to be stored belongs to the inquireable information, the information to be stored is combed according to the classification characteristic of the inquireable information, the combed information to be stored is provided with the classification characteristic corresponding to the classification characteristic of the inquireable information, when the information to be stored belongs to the non-inquireable information, the combed information to be stored is combed according to the classification characteristic of the non-inquireable information, and then the combed information to be stored is stored in the data.

Description

Information storage method and device and electronic equipment
Technical Field
The present invention relates to the field of information technologies, and in particular, to an information storage method, an information storage device, and an electronic device.
Background
Along with the development of science and technology, the existing information volume is larger and larger, the information to be stored is larger and larger, the information to be known and queried by the user is larger and larger, and the ordered storage is difficult to achieve in the existing storage mode, so that the user is difficult to obtain the required information efficiently, and therefore the problem of how to store the information effectively so that the user can query the information rapidly is puzzled.
Disclosure of Invention
In view of the above, the present invention aims to provide an information storage method, an information storage device, and an electronic device, which can effectively store information.
In order to achieve the above purpose, the invention has the following technical scheme:
an information storage method, comprising:
acquiring information to be stored, and searching whether the information to be stored is stored in a database or not in the database according to the identification of the information to be stored;
if not, judging that the information to be stored belongs to the queriable information or the non-queriable information according to the attribute of the information to be stored;
when judging that the information to be stored belongs to the inquireable information, combing the information to be stored according to the classification characteristics of the inquireable information so that the combed information to be stored has the characteristics to be classified corresponding to the classification characteristics of the inquireable information;
when judging that the information to be stored belongs to the non-queriable information, combing the information to be stored according to the classification characteristic of the non-queriable information so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-queriable information;
and storing the characteristics to be classified and the information to be stored in a database.
Optionally, the method further comprises:
and inquiring information in the database according to the characteristics to be classified.
Optionally, the classification feature of the queriable information includes:
directory, scene, title, content, tags, management attributes.
Optionally, the tag includes:
conventional labels and personality labels.
Optionally, the characteristics of the non-queriable information include:
directory, scene, standard question, default channel, tag, management attribute.
Optionally, the tag includes:
map labels and personality labels.
An information storage device, comprising:
the information storage device comprises an acquisition unit, a storage unit and a storage unit, wherein a user acquires information to be stored, and searches whether the information to be stored is stored in a database or not according to the identification of the information to be stored;
the judging unit is used for judging whether the information to be stored belongs to the queriable information or the non-queriable information according to the attribute of the information to be stored;
the operation unit is used for combing the information to be stored according to the classification characteristic of the information to be inquired when judging that the information to be stored belongs to the information to be inquired, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the information to be inquired, and combing the information to be stored according to the classification characteristic of the information to be inquired when judging that the information to be stored belongs to the information to be inquired, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the information to be inquired;
and the storage unit is used for storing the characteristics to be classified and the information to be stored in a database.
Optionally, the method further comprises:
and the query unit is used for querying information in the database according to the characteristics to be classified.
An electronic device comprising a memory and a processor for implementing the steps of the method of information storage of any one of the above claims when executing a computer program stored in the memory.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of information storage as claimed in any one of the preceding claims.
According to the information storage method, the information storage device and the electronic equipment, after information to be stored is acquired, whether the data to be stored exist in a database is searched in the database according to the identification of the information to be stored, when the information to be stored is not searched in the data, whether the information to be stored belongs to the inquireable information or the non-inquireable information is judged according to the attribute of the information to be stored, when the information to be stored belongs to the inquireable information, the information to be stored is combed according to the classification characteristic of the inquireable information, the combed information to be stored is provided with the classification characteristic corresponding to the classification characteristic of the inquireable information, when the information to be stored belongs to the non-inquireable information, the combed information to be stored is combed according to the classification characteristic of the non-inquireable information, and then the combed information to be stored is stored in the data. The method comprises the steps of dividing information to be stored into inquireable information and non-inquireable information, carding the information to be stored according to classification characteristics of the inquireable information or the non-inquireable information, wherein the carded information to be stored is clear and ordered in organization and has the characteristics to be classified, and storing the carded information to be stored and the characteristics to be classified in data, so that a user can inquire needed information according to the simple characteristics to be classified, and the method is simple and efficient.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are some embodiments of the invention and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for storing information according to an embodiment of the present application;
FIG. 2 shows a schematic diagram of an embodiment of an apparatus for information storage according to an embodiment of the present application;
fig. 3 shows an embodiment of an electronic device according to an embodiment of the present application;
fig. 4 shows an embodiment of a computer readable storage medium according to an embodiment of the present application.
Detailed Description
In order that the above objects, features and advantages of the invention will be readily understood, a more particular description of the invention will be rendered by reference to the appended drawings.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways other than those described herein, and persons skilled in the art will readily appreciate that the present invention is not limited to the specific embodiments disclosed below.
Along with the development of science and technology, the existing information volume is larger and larger, the information to be stored is larger and larger, the information to be known and queried by the user is larger and larger, and the ordered storage is difficult to achieve in the existing storage mode, so that the user is difficult to obtain the required information efficiently, and therefore the problem of how to store the information effectively so that the user can query the information rapidly is puzzled.
According to the information storage method, the information storage device and the electronic equipment, after information to be stored is acquired, whether the data to be stored exist in a database is searched in the database according to the identification of the information to be stored, when the information to be stored is not searched in the data, whether the information to be stored belongs to the inquireable information or the non-inquireable information is judged according to the attribute of the information to be stored, when the information to be stored belongs to the inquireable information, the information to be stored is combed according to the classification characteristic of the inquireable information, the combed information to be stored is provided with the classification characteristic corresponding to the classification characteristic of the inquireable information, when the information to be stored belongs to the non-inquireable information, the combed information to be stored is combed according to the classification characteristic of the non-inquireable information, and then the combed information to be stored is stored in the data.
For a better understanding of the technical solutions of the present application, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
Referring to fig. 1, in step S01, information to be stored is acquired, and whether the information to be stored is stored in a database is searched in data according to the identification of the information to be stored.
In this embodiment of the present invention, the information to be stored is information to be stored, which may be information already stored in the database, or may be information not already stored in the database, where when the information to be stored is already stored in the database, the storing of the information to be stored cannot be performed, and when the information to be stored cannot be found in the data, that is, the information to be stored is not stored in the database, the storing of the information to be stored may be performed.
And when the information to be stored is not stored in the database, performing step S02, and judging whether the information to be stored belongs to the queriable information or the non-queriable information according to the attribute of the information to be stored.
The queriable information is information which can be directly queried by the user, for example, the agent knowledge is information which is most frequently queried by the user, such as group introduction related information and channel business related information. Account service information, loan service information, payment settlement related information, charging standard related information, value-added and life service related information, and the like. The non-queriable information is information which cannot be directly queried by a user, for example, robot knowledge, which is question-answer pair information used for a robot, and is generally applied to default channels, personal online banking, portal websites, mobile banking and the like.
When the information to be stored is judged to belong to the queriable information, the method proceeds to step S210, and the information to be stored is carded according to the classification characteristics of the queriable information, so that the carded information to be stored has the characteristics to be classified corresponding to the classification characteristics of the queriable information.
In this embodiment, the characteristics of the queriable information include: the information catalogue, namely the position of the information, can be set as a multi-level catalogue; information scene, namely application scene of information; information title, i.e. the question to which the information corresponds; information content, i.e., detailed content of information; the labels can be divided into conventional labels, individual labels and the like, wherein the conventional labels are manually endowed labels, the purpose of quick retrieval can be achieved, the individual labels are personalized representations of information, and the information distinguishing effect can be achieved; management attributes are some of the functions or features that information has.
The step of combing according to the classification features of the queriable information is to extract and classify the information to be stored according to the classification features, and after combing the information to be stored, the information to be stored has the characteristics to be classified corresponding to the classification features of the queriable information, namely, the information to be stored is assigned to a title, an application scene, a label and the like, and is stored according to the characteristics to be stored, so that a user can efficiently inquire and acquire the information.
When the information to be stored is judged to belong to the non-queriable information, the method proceeds to step S220, and the information to be stored is carded according to the classification characteristics of the non-queriable information, so that the carded information to be stored has the characteristics to be classified corresponding to the classification characteristics of the non-queriable information.
In this embodiment, the classification features of the non-queriable information include: an information catalog, namely the position of the information; information scenes, namely scenes of information applications; standard questions, namely a question-answer process for obtaining the information which can not be queried; default channels, i.e. the way or flow to obtain the non-searchable information experience; the labels can be divided into map labels, can represent layers and the like in information, and can represent individual labels which can not inquire differences of different information in the information; the management attribute may be, for example, a source of information or the like.
Then, step S03 is performed to store the feature to be classified and the information to be stored in a database.
After the feature to be stored is divided and carded, the method is clear and ordered in arrangement, has the feature to be classified, stores the carded information to be stored and the feature to be classified in data, so that a user can inquire the needed information according to the simple feature to be classified, and the method is simple and efficient.
The method for storing information in the embodiment of the present application is described above, and the apparatus for storing information in the embodiment of the present application is described below, with reference to fig. 2, where an embodiment of the apparatus for storing information in the embodiment of the present application may include:
an obtaining unit 201, wherein a user obtains information to be stored, and searches whether the information to be stored is stored in a database according to the identification of the information to be stored;
a judging unit 202, configured to judge, according to the attribute of the information to be stored, that the information to be stored belongs to queriable information or non-queriable information;
an operation unit 203, configured to comb the information to be stored according to the classification characteristic of the queriable information when it is determined that the information to be stored belongs to queriable information, so that the information to be stored after being combed has the feature to be classified corresponding to the classification characteristic of the queriable information, and comb the information to be stored according to the classification characteristic of the non-queriable information when it is determined that the information to be stored belongs to non-queriable information, so that the information to be stored after being combed has the feature to be classified corresponding to the classification characteristic of the non-queriable information;
and the storage unit 204 is configured to store the feature to be classified and the information to be stored in a database.
Optionally, the method further comprises a query unit, which is used for querying information in the database according to the feature to be classified.
Referring to fig. 3, an embodiment of the present application provides an electronic device 300, including a memory 301, a processor 302, and a computer program 311 stored on the memory 301 and running on the processor 302, the processor 302 implementing the following steps when executing the computer program 311:
acquiring information to be stored, and searching whether the information to be stored is stored in a database or not in the database according to the identification of the information to be stored;
if not, judging that the information to be stored belongs to the queriable information or the non-queriable information according to the attribute of the information to be stored;
when judging that the information to be stored belongs to the inquireable information, combing the information to be stored according to the classification characteristics of the inquireable information so that the combed information to be stored has the characteristics to be classified corresponding to the classification characteristics of the inquireable information;
when judging that the information to be stored belongs to the non-queriable information, combing the information to be stored according to the classification characteristic of the non-queriable information so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-queriable information;
and storing the characteristics to be classified and the information to be stored in a database.
Since the electronic device described in this embodiment is a device for implementing information storage in this embodiment of the present application, based on the method described in this embodiment of the present application, those skilled in the art can understand the specific implementation of the electronic device in this embodiment and various modifications thereof, so how the electronic device implements the method in this embodiment of the present application will not be described in detail, and as long as those skilled in the art implement the device adopted by the method in this embodiment of the present application, all fall within the scope of protection of this application.
Referring to fig. 4, fig. 4 is a computer readable storage medium 400 provided in an embodiment of the present application, on which a computer program 411 is stored, the computer program 411, when executed by a processor, performs the following steps:
acquiring information to be stored, and searching whether the information to be stored is stored in a database or not in the database according to the identification of the information to be stored;
if not, judging that the information to be stored belongs to the queriable information or the non-queriable information according to the attribute of the information to be stored;
when judging that the information to be stored belongs to the inquireable information, combing the information to be stored according to the classification characteristics of the inquireable information so that the combed information to be stored has the characteristics to be classified corresponding to the classification characteristics of the inquireable information;
when judging that the information to be stored belongs to the non-queriable information, combing the information to be stored according to the classification characteristic of the non-queriable information so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-queriable information;
and storing the characteristics to be classified and the information to be stored in a database.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The foregoing is merely a preferred embodiment of the present invention, and the present invention has been disclosed in the above description of the preferred embodiment, but is not limited thereto. Any person skilled in the art can make many possible variations and modifications to the technical solution of the present invention or modifications to equivalent embodiments using the methods and technical contents disclosed above, without departing from the scope of the technical solution of the present invention. Therefore, any simple modification, equivalent variation and modification of the above embodiments according to the technical substance of the present invention still fall within the scope of the technical solution of the present invention.

Claims (10)

1. An information storage method, comprising:
acquiring information to be stored, and searching whether the information to be stored is stored in a database or not in the database according to the identification of the information to be stored;
if not, judging that the information to be stored belongs to the queriable information or the non-queriable information according to the attribute of the information to be stored;
when judging that the information to be stored belongs to the inquireable information, combing the information to be stored according to the classification characteristics of the inquireable information so that the combed information to be stored has the characteristics to be classified corresponding to the classification characteristics of the inquireable information;
when judging that the information to be stored belongs to the non-queriable information, combing the information to be stored according to the classification characteristic of the non-queriable information so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-queriable information;
and storing the characteristics to be classified and the information to be stored in a database.
2. The method as recited in claim 1, further comprising:
and inquiring information in the database according to the characteristics to be classified.
3. The method of claim 1, wherein the classification characteristic of the queriable information comprises:
directory, scene, title, content, tags, management attributes.
4. A method according to claim 3, wherein the tag comprises:
conventional labels and personality labels.
5. The method of claim 1, wherein the characteristic of the non-queriable information comprises:
directory, scene, standard question, default channel, tag, management attribute.
6. The method of claim 5, wherein the tag comprises:
map labels and personality labels.
7. An information storage device, comprising:
the information storage device comprises an acquisition unit, a storage unit and a storage unit, wherein a user acquires information to be stored, and searches whether the information to be stored is stored in a database or not according to the identification of the information to be stored;
the judging unit is used for judging whether the information to be stored belongs to the queriable information or the non-queriable information according to the attribute of the information to be stored;
the operation unit is used for combing the information to be stored according to the classification characteristic of the information to be inquired when judging that the information to be stored belongs to the information to be inquired, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the information to be inquired, and combing the information to be stored according to the classification characteristic of the information to be inquired when judging that the information to be stored belongs to the information to be inquired, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the information to be inquired;
and the storage unit is used for storing the characteristics to be classified and the information to be stored in a database.
8. The apparatus as recited in claim 7, further comprising:
and the query unit is used for querying information in the database according to the characteristics to be classified.
9. An electronic device comprising a memory and a processor, wherein the processor is adapted to perform the steps of the method of storing information according to any one of claims 1-6 when executing a computer program stored in the memory.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of information storage according to any of claims 1-6.
CN202010033744.9A 2020-01-13 2020-01-13 Information storage method and device and electronic equipment Active CN111259108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010033744.9A CN111259108B (en) 2020-01-13 2020-01-13 Information storage method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010033744.9A CN111259108B (en) 2020-01-13 2020-01-13 Information storage method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111259108A CN111259108A (en) 2020-06-09
CN111259108B true CN111259108B (en) 2023-05-05

Family

ID=70952818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010033744.9A Active CN111259108B (en) 2020-01-13 2020-01-13 Information storage method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111259108B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144142A (en) * 2013-04-25 2015-12-09 亚马逊科技公司 Object storage using multiple dimensions of object information
CN106355170A (en) * 2016-11-22 2017-01-25 Tcl集团股份有限公司 Photo classifying method and device
CN110389967A (en) * 2019-07-26 2019-10-29 深圳市腾讯计算机系统有限公司 Date storage method, device, server and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10963474B2 (en) * 2017-07-20 2021-03-30 Sap Se Automatic discriminatory pattern detection in data sets using machine learning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105144142A (en) * 2013-04-25 2015-12-09 亚马逊科技公司 Object storage using multiple dimensions of object information
CN106355170A (en) * 2016-11-22 2017-01-25 Tcl集团股份有限公司 Photo classifying method and device
CN110389967A (en) * 2019-07-26 2019-10-29 深圳市腾讯计算机系统有限公司 Date storage method, device, server and storage medium

Also Published As

Publication number Publication date
CN111259108A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN109189867B (en) Relation discovery method and device based on company knowledge graph and storage medium
US8370358B2 (en) Tagging content with metadata pre-filtered by context
CN106126630B (en) A kind of collection of business object, searching method and device
CN107657048B (en) User identification method and device
CN111008321B (en) Logistic regression recommendation-based method, device, computing equipment and readable storage medium
CN109145110B (en) Label query method and device
US20080263029A1 (en) Adaptive archive data management
CN111327955B (en) User portrait based on-demand method, storage medium and smart television
EP2635984A1 (en) Multi-modal approach to search query input
CN108255915B (en) File management method and device and machine-readable storage medium
CN111125086B (en) Method, device, storage medium and processor for acquiring data resources
CN105512233A (en) Application shop application search method and device
CN112417121A (en) Client intention recognition method and device, computer equipment and storage medium
US11393001B2 (en) Methods and systems for hair-service based digital image searching and ranking
CN111259108B (en) Information storage method and device and electronic equipment
CN110717095B (en) Service item pushing method and device
CN104915435A (en) Data query method and device
CN108268545B (en) Method and device for establishing hierarchical user label library
CN106528590B (en) Query method and device
CN108255888B (en) Data processing method and system
CN115455271A (en) Label generating method, device and equipment based on search query words and storage medium
CN115115231A (en) Index system construction method and device, electronic equipment and storage medium
CN114706938A (en) Document tag determination method and device, electronic equipment and storage medium
CN110275990B (en) Method and device for generating KV stored key and value
CN106202390B (en) Database improvement system and method

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