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

Information storage method and device and electronic equipment Download PDF

Info

Publication number
CN111259108A
CN111259108A CN202010033744.9A CN202010033744A CN111259108A CN 111259108 A CN111259108 A CN 111259108A CN 202010033744 A CN202010033744 A CN 202010033744A CN 111259108 A CN111259108 A CN 111259108A
Authority
CN
China
Prior art keywords
information
stored
queryable
inquired
classified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010033744.9A
Other languages
Chinese (zh)
Other versions
CN111259108B (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, wherein after information to be stored is acquired, whether the data to be stored exists in a database is searched in the database according to an identifier 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 queryable information or non-queryable information is judged according to the attribute of the information to be stored, when the information to be stored belongs to the queryable information, the information to be stored is combed according to the classification characteristic of the queryable information, the combed information to be stored has a characteristic to be classified corresponding to the classification characteristic of the queryable information, when the information to be stored belongs to the non-queryable information, the information to be stored is combed according to the classification characteristic of the non-queryable information, and the combed information to be stored has a characteristic to be classified corresponding to the classification characteristic of the non, and then storing the characteristics to be classified and the information to be 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 and apparatus, and an electronic device.
Background
With the development of science and technology, the existing information quantity is larger and larger, the information needing to be stored is larger and larger, the information needing to be known and inquired by a user is more and more, ordered storage is difficult to achieve in the existing storage mode, so that the user is difficult to efficiently acquire the required information, and therefore the problem that how to effectively store the information so that the user can quickly inquire the information is troubling for the user is solved.
Disclosure of Invention
In view of the above, the present invention provides an information storage method, an information storage apparatus, and an electronic device, which can effectively store information.
In order to achieve the 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 identifier of the information to be stored;
if not, judging that the information to be stored belongs to queryable information or non-queryable information according to the attribute of the information to be stored;
when the information to be stored is judged to belong to the inquired information, the information to be stored is combed according to the classification characteristic of the inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the inquired information;
when the information to be stored is judged to belong to the non-inquired information, the information to be stored is combed according to the classification characteristic of the non-inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-inquired information;
and storing the features to be classified and the information to be stored in a database.
Optionally, the method further includes:
and inquiring information in the database according to the features to be classified.
Optionally, the classification characteristic of the queryable information includes:
directory, scene, title, content, tag, management attributes.
Optionally, the tag includes:
conventional tags and personality tags.
Optionally, the characteristic of the non-queryable information includes:
directory, scenario, criteria questions, default channel, label, management attributes.
Optionally, the tag includes:
atlas tags and personality tags.
An information storage device comprising:
the acquisition unit is used for acquiring the information to be stored by a user, and searching whether the information to be stored is stored in the database or not in the database according to the identifier of the information to be stored;
the judging unit is used for judging whether the information to be stored belongs to the queryable information or the non-queryable 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 features of the queryable information when the information to be stored is judged to belong to the queryable information, so that the combed information to be stored has the characteristics to be classified corresponding to the classification features of the queryable information, and combing the information to be stored according to the classification features of the queryable information when the information to be stored is judged to belong to the queryable information, so that the combed information to be stored has the characteristics to be classified corresponding to the classification features of the queryable information;
and the storage unit is used for storing the features to be classified and the information to be stored in a database.
Optionally, the method further includes:
and the query unit is used for querying information in the database according to the features to be classified.
An electronic device comprising a memory and a processor for implementing the steps of the method of information storage as claimed in any one of the preceding claims when executing a computer program stored in the memory.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of information storage according to any one of the preceding claims.
The information storage method, the information storage device and the electronic equipment provided by the embodiment of the invention search whether the to-be-stored data exists in the database according to the identification of the to-be-stored information after the to-be-stored information is acquired, judge whether the to-be-stored information belongs to queryable information or non-queryable information according to the attribute of the to-be-stored information when the to-be-stored information does not exist in the database, comb the to-be-stored information according to the classification characteristic of the queryable information when the to-be-stored information belongs to the queryable information, comb the to-be-stored information after combing according to the classification characteristic of the non-queryable information when the to-be-stored information belongs to the non-queryable information, comb the to-be-stored information according to the classification characteristic of the non-queryable information after combing to have the to-be-classified characteristic corresponding to the classification characteristic, and then storing the characteristics to be classified and the information to be 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, storing the carded information to be stored and the characteristics to be classified in data, enabling a user to inquire required information according to simple characteristics to be classified, and being simple and efficient.
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 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 flow chart illustrating a method for storing information provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of an apparatus for storing information provided by an embodiment of the present application;
fig. 3 shows a schematic diagram of an embodiment of an electronic device provided in an embodiment of the present application;
fig. 4 shows a schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
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 than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
With the development of science and technology, the existing information quantity is larger and larger, the information needing to be stored is larger and larger, the information needing to be known and inquired by a user is more and more, ordered storage is difficult to achieve in the existing storage mode, so that the user is difficult to efficiently acquire the required information, and therefore the problem that how to effectively store the information so that the user can quickly inquire the information is troubling for the user is solved.
The information storage method, the information storage device and the electronic equipment provided by the embodiment of the invention search whether the to-be-stored data exists in the database according to the identification of the to-be-stored information after the to-be-stored information is acquired, judge whether the to-be-stored information belongs to queryable information or non-queryable information according to the attribute of the to-be-stored information when the to-be-stored information does not exist in the database, comb the to-be-stored information according to the classification characteristic of the queryable information when the to-be-stored information belongs to the queryable information, comb the to-be-stored information after combing according to the classification characteristic of the non-queryable information when the to-be-stored information belongs to the non-queryable information, comb the to-be-stored information according to the classification characteristic of the non-queryable information after combing to have the to-be-classified characteristic corresponding to the classification characteristic, and then storing the characteristics to be classified and the information to be stored in the data.
In order to better understand the technical solution of the present application, the following detailed description will be made on the embodiments of the present application with reference to the accompanying drawings.
Referring to fig. 1, in step S01, information to be stored is obtained, and whether the information to be stored is stored in the database is searched for in the data according to the identifier of the information to be stored.
In the embodiment of the application, the information to be stored is information to be stored, the information to be stored may be information already stored in a database, or may be information not already stored in the database, under the condition that the information to be stored is already stored in the database, the information to be stored cannot be stored, and when the information to be stored is not found in data, that is, the information to be stored is not stored in the database, the information to be stored may be stored.
And when the information to be stored is not stored in the database, performing step S02, and determining whether the information to be stored belongs to queryable information or non-queryable information according to the attribute of the information to be stored.
The inquireable information is information that the user can directly inquire, for example, the information can be seat knowledge, and the seat knowledge is information that the user inquires most frequently, such as group introduction related information and channel service related information. Account service information, loan deposit service information, payment settlement related information, charging standard related information, value-added and living service related information and the like. The non-queryable information is information that a user cannot directly query, for example, the information can be robot knowledge, the robot knowledge is question-answer pair information used for a robot, and the robot knowledge is generally applied to a default channel, a personal internet bank, a portal website, a mobile phone bank and the like.
And when the information to be stored is judged to belong to the inquired information, the step S210 is carried out, and the information to be stored is combed according to the classification characteristic of the inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the inquired information.
In this embodiment, the characteristics of the queryable information include: the information directory, namely the position of the information, can be set as a multilevel directory; an information scene, namely an application scene of the information; information titles, namely questions corresponding to the information; information content, i.e. details of the information; the tags can be classified into conventional tags, personalized tags and the like, the conventional tags are artificially endowed tags and can achieve the purpose of quick retrieval, and the personalized tags are personalized representations of information and can play a role in distinguishing the information; management attributes are some functions or features that information has.
The step of combing the information to be stored according to the classification features refers to the step of extracting and classifying the information to be stored according to the classification features, after the information to be stored is combed, the information to be stored has the characteristics to be classified corresponding to the classification features of the information to be queried, namely, the information to be stored is divided into 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 query and acquire the information.
And when the information to be stored is judged to belong to the non-inquired information, the step S220 is carried out, the information to be stored is combed according to the classification characteristic of the non-inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-inquired information.
In this embodiment, the classification features of the non-queryable information include: information directory, namely the position of the information; information scenes, i.e. scenes of information applications; standard questioning, namely a questioning and answering process through which non-queryable information is obtained; a default channel is a path or flow through which the undetectable information is acquired; the labels can be divided into map labels, can represent the levels and the like in the information, are individual labels, and can represent the labels which can not be used for inquiring the difference of different information in the information; the management attribute may be, for example, a source of the information.
Then, step S03 is entered, and the features to be classified and the information to be stored are stored in a database.
After the features to be stored are divided and combed, the arrangement is clear and orderly and the features to be classified are provided, the combed information to be stored and the features to be classified are stored in data, so that a user can inquire needed information according to the simple features to be classified, and the method is simple and efficient.
The above describes the method for storing information in the embodiment of the present application, and the following describes an apparatus for storing information in the embodiment of the present application, and with reference to fig. 2, the apparatus in an embodiment of the apparatus for storing information in the embodiment of the present application may include:
an obtaining unit 201, where a user obtains information to be stored, and searches in a database according to an identifier of the information to be stored whether the information to be stored is stored in the database;
a judging unit 202, configured to judge, according to an attribute of the information to be stored, that the information to be stored belongs to queryable information or queryable-impossible information;
the operation unit 203 is configured to, when the to-be-stored information is judged to belong to the queriable information, comb the to-be-stored information according to the classification features of the querable information, so that the combed to-be-stored information has to-be-classified features corresponding to the classification features of the querable information, and when the to-be-stored information is judged to belong to the non-querable information, comb the to-be-stored information according to the classification features of the non-querable information, so that the combed to-be-stored information has to-be-classified features corresponding to the classification features of the non-querable information;
the storage unit 204 is configured to store the feature to be classified and the information to be stored in a database.
Optionally, the system further comprises a query unit, configured to query 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, which includes a memory 301, a processor 302, and a computer program 311 stored in the memory 301 and running on the processor 302, and when the processor 302 executes the computer program 311, the following steps are implemented:
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 identifier of the information to be stored;
if not, judging that the information to be stored belongs to the information which can be inquired or the information which can not be inquired according to the attribute of the information to be stored;
when the information to be stored is judged to belong to the inquired information, the information to be stored is combed according to the classification characteristic of the inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the inquired information;
when the information to be stored is judged to belong to the non-inquired information, the information to be stored is combed according to the classification characteristic of the non-inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-inquired information;
and storing the features 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, based on the method described in this embodiment, a person skilled in the art can understand the specific implementation manner of the electronic device of this embodiment and various variations thereof, and therefore how to implement the method in this embodiment by the electronic device is not described in detail, and as long as the person skilled in the art implements the device used in the method in this embodiment, the device belongs to the scope of the present application to be protected.
Referring to fig. 4, fig. 4 is a computer-readable storage medium 400 provided by an embodiment of the present application, on which a computer program 411 is stored, where the computer program 411 implements the following steps when being executed by a processor:
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 identifier of the information to be stored;
if not, judging that the information to be stored belongs to the information which can be inquired or the information which can not be inquired according to the attribute of the information to be stored;
when the information to be stored is judged to belong to the inquired information, the information to be stored is combed according to the classification characteristic of the inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the inquired information;
when the information to be stored is judged to belong to the non-inquired information, the information to be stored is combed according to the classification characteristic of the non-inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-inquired information;
and storing the features to be classified and the information to be stored in a database.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points.
The foregoing is only a preferred embodiment of the present invention, and although the present invention has been disclosed in the preferred embodiments, it is not intended to limit the present invention. Those skilled in the art can make numerous possible variations and modifications to the present teachings, or modify equivalent embodiments to equivalent variations, without departing from the scope of the present teachings, using the methods and techniques disclosed above. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.

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 identifier of the information to be stored;
if not, judging that the information to be stored belongs to the information which can be inquired or the information which can not be inquired according to the attribute of the information to be stored;
when the information to be stored is judged to belong to the inquired information, the information to be stored is combed according to the classification characteristic of the inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the inquired information;
when the information to be stored is judged to belong to the non-inquired information, the information to be stored is combed according to the classification characteristic of the non-inquired information, so that the combed information to be stored has the characteristic to be classified corresponding to the classification characteristic of the non-inquired information;
and storing the features to be classified and the information to be stored in a database.
2. The method of claim 1, further comprising:
and inquiring information in the database according to the features to be classified.
3. The method of claim 1, wherein the classification characteristic of the queryable information comprises:
directory, scene, title, content, tag, management attributes.
4. The method of claim 3, wherein the tag comprises:
conventional tags and personality tags.
5. The method of claim 1, wherein the characteristic of the non-queryable information comprises:
directory, scenario, criteria questions, default channel, label, management attributes.
6. The method of claim 5, wherein the tag comprises:
atlas tags and personality tags.
7. An information storage device, comprising:
the acquisition unit is used for acquiring the information to be stored by a user, and searching whether the information to be stored is stored in the database or not in the database according to the identifier of the information to be stored;
the judging unit is used for judging whether the information to be stored belongs to the queryable information or the non-queryable 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 features of the queryable information when the information to be stored is judged to belong to the queryable information, so that the combed information to be stored has the characteristics to be classified corresponding to the classification features of the queryable information, and combing the information to be stored according to the classification features of the queryable information when the information to be stored is judged to belong to the queryable information, so that the combed information to be stored has the characteristics to be classified corresponding to the classification features of the queryable information;
and the storage unit is used for storing the features to be classified and the information to be stored in a database.
8. The apparatus of claim 7, further comprising:
and the query unit is used for querying information in the database according to the features to be classified.
9. An electronic device comprising a memory and a processor, characterized in that the processor is adapted to carry out the steps of the method of information storage according to any 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, which, when being executed by a processor, carries out the steps of the method of information storage according to any one of claims 1 to 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 true CN111259108A (en) 2020-06-09
CN111259108B 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 (4)

* 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
US20190026345A1 (en) * 2017-07-20 2019-01-24 Sap Se Automatic Discriminatory Pattern Detection in Data Sets Using Machine Learning
CN110389967A (en) * 2019-07-26 2019-10-29 深圳市腾讯计算机系统有限公司 Date storage method, device, server and storage medium

Patent Citations (4)

* 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
US20190026345A1 (en) * 2017-07-20 2019-01-24 Sap Se Automatic Discriminatory Pattern Detection in Data Sets Using Machine Learning
CN110389967A (en) * 2019-07-26 2019-10-29 深圳市腾讯计算机系统有限公司 Date storage method, device, server and storage medium

Also Published As

Publication number Publication date
CN111259108B (en) 2023-05-05

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
CN109871483A (en) A kind of determination method and device of recommendation information
CN111522927B (en) Entity query method and device based on knowledge graph
CN111327955B (en) User portrait based on-demand method, storage medium and smart television
CN109145110B (en) Label query method and device
CN108520270B (en) Part matching method, system and terminal
CN105512233A (en) Application shop application search method and device
CN107992210A (en) Input method vocabulary recommends method, intelligent terminal and the device with store function
CN106202254A (en) A kind of querying method and data query system
WO2019184236A1 (en) Insurance product calculation model configuration method and apparatus, computer device, and storage medium
CN109753504A (en) Data query method and device
CN107995098A (en) Information-pushing method and device
CN110968723B (en) Image characteristic value searching method and device and electronic equipment
CN112035676B (en) User operation behavior knowledge graph construction method and device
CN104915435A (en) Data query method and device
CN110706035B (en) Updating effect evaluation method and device, storage medium and electronic equipment
CN111259108A (en) Information storage method and device and electronic equipment
CN111221742A (en) Test case updating method and device, storage medium and server
CN109213541A (en) APP application shows the method, apparatus and electronic equipment at interface
CN106202390B (en) Database improvement system and method
CN110275990B (en) Method and device for generating KV stored key and value
CN112488557A (en) Automatic calculation method, device and terminal based on grading standard objective scores
CN111597368A (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant