CN109829085A - Report method for subscribing, device, computer equipment and storage medium - Google Patents

Report method for subscribing, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109829085A
CN109829085A CN201811545316.3A CN201811545316A CN109829085A CN 109829085 A CN109829085 A CN 109829085A CN 201811545316 A CN201811545316 A CN 201811545316A CN 109829085 A CN109829085 A CN 109829085A
Authority
CN
China
Prior art keywords
natural language
report
information
request
language information
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.)
Pending
Application number
CN201811545316.3A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811545316.3A priority Critical patent/CN109829085A/en
Publication of CN109829085A publication Critical patent/CN109829085A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application involves a kind of report method for subscribing, device, computer equipment and storage medium based on data resource.The described method includes: receiving the searching request to natural language information that terminal is sent;The keyword of natural language information is obtained according to searching request;When natural language information is report natural language information, default exhibition method corresponding with keyword is obtained;Obtain the search result of natural language information;By search result with default exhibition method arrangement, the corresponding report of natural language information is obtained, and be sent to terminal;When receiving subscription request of the terminal to report, obtains to subscribe to and request marked subscription information and storage.Reduce the operating procedure of message transmission on behalf of message forwarding is carried out without using additional proxy server using this method, further improve working efficiency.

Description

Report method for subscribing, device, computer equipment and storage medium
Technical field
This application involves Internet technical field, more particularly to a kind of report method for subscribing, device, computer equipment and Storage medium.
Background technique
It with the development of internet technology and is widely applied, so that the mode that people obtain information also becomes diversification.It passes The higher information acquiring pattern of frequency of usage is search inquiry on system, and user is by inputting the side such as keyword or conjunctive word in webpage Formula obtains the information of recommendation of websites, and is screened according to self-demand to information, need to expend more time and resource into Row information screening, when the information recommended does not meet demand, also needs further to be screened.
Information is obtained to solve the problems, such as user on webpage to need to consume plenty of time and resource, occurs issuing/ordering System is read, by utilization publish/subscribe system, it can be achieved that data publication and subscription between computer network.Wherein, issue/ By including distributor, proxy server and subscribing to device, user can be issued by distributor to proxy server to be believed ordering system Breath can subscribe to specific subject or interested information to proxy server by subscribing to device, and proxy server is by specific subject or user Interested information is transmitted to subscription device in time.But existing publish/subscribe system, function is not complete enough, still needs to agency service The message subscribing of user just can be achieved on behalf of message forwarding is carried out in device, needs to expend more resource and realizes proxy server and use Connection and messaging between family, reduce working efficiency.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of report method for subscribing that can be improved working efficiency, Device, computer equipment and storage medium.
A kind of report method for subscribing, which comprises
Receive the searching request to natural language information that terminal is sent;
According to the keyword of natural language information described in described search request;
When the natural language information is report natural language information, default exhibition corresponding with the keyword is obtained Show mode;
Obtain the search result of the natural language information;
Described search result is arranged with the default exhibition method, obtains the corresponding report of the natural language information, And it is sent to the terminal;
When receiving subscription request of the terminal to report, obtains described subscribe to and request marked subscription information simultaneously Storage.
The keyword of the natural language information according to described search request in one of the embodiments, Include:
The searching request that the terminal is sent is parsed, the entrained natural language information of described search request is obtained;
Word segmentation processing is carried out to the natural language information, obtains the keyword that the natural language information carries.
It is described when the natural language information is report natural language information in one of the embodiments, it obtains Default exhibition method corresponding with the keyword, comprising:
It obtains and the associated default screening rule of the natural language information;
The natural language information is screened according to the default screening rule;
When determining that the natural language information is report natural language information according to the selection result, the report is obtained The corresponding default exhibition method of keyword that natural language information carries.
In one of the embodiments, when receiving subscription request of the terminal to report, obtains the subscription and ask Ask marked subscription information and storage, comprising:
The subscription to report that terminal is sent is received to request;
The subscription request is parsed, the subscribed flag subscribing to request and carrying is obtained;
Subscription information corresponding with the subscribed flag is obtained, and obtains the corresponding report of the subscription information;
Classified according to preset classifying rules to the subscription information, obtains the classification of the subscription information;
Corresponding storage folder is created respectively according to the classification of the subscription information;
The corresponding report of the subscription information is stored respectively into corresponding storage folder.
In one of the embodiments, the method also includes:
Obtain the preset information update period;
Obtain updated subscription information in the preset information update period;
Within the preset message push period, the updated subscription information is sent to terminal.
In one of the embodiments, the method also includes:
It receives the collection to the report that terminal is sent to request, and obtains report corresponding with the collection request;
The collection request is parsed, the collection mark that the collection request carries is obtained;
Corresponding collection is created according to collection mark;
Report corresponding with the collection request is stored into corresponding collection.
A kind of report subscription device, described device include:
Receiving module, for receiving the searching request to natural language information of terminal transmission;
Keyword obtains module, the keyword for the natural language information according to described search request;
Default exhibition method obtains module, for obtaining when the natural language information is report natural language information Take default exhibition method corresponding with the keyword;
Search result obtains module, for obtaining the search result of the natural language information;
Report obtains module, for described search result to be arranged with the default exhibition method, obtains the natural language It says the corresponding report of information, and is sent to the terminal;
Subscription information obtains module, for obtaining the subscription when receiving subscription request of the terminal to report Request marked subscription information and storage.
Described device further includes collection module in one of the embodiments, is used for:
It receives the collection to the report that terminal is sent to request, and obtains report corresponding with the collection request;Solution The collection request is analysed, the collection mark that the collection request carries is obtained;Corresponding collection is created according to collection mark Folder;Report corresponding with the collection request is stored into corresponding collection.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Receive the searching request to natural language information that terminal is sent;
According to the keyword of natural language information described in described search request;
When the natural language information is report natural language information, default exhibition corresponding with the keyword is obtained Show mode;
Obtain the search result of the natural language information;
Described search result is arranged with the default exhibition method, obtains the corresponding report of the natural language information, And it is sent to the terminal;
When receiving subscription request of the terminal to report, obtains described subscribe to and request marked subscription information simultaneously Storage.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Receive the searching request to natural language information that terminal is sent;
According to the keyword of natural language information described in described search request;
When the natural language information is report natural language information, default exhibition corresponding with the keyword is obtained Show mode;
Obtain the search result of the natural language information;
Described search result is arranged with the default exhibition method, obtains the corresponding report of the natural language information, And it is sent to the terminal;
When receiving subscription request of the terminal to report, obtains described subscribe to and request marked subscription information simultaneously Storage.
In above-mentioned report method for subscribing, device, computer equipment and storage medium, server according to terminal send to from The searching request of right language message obtains the keyword of natural language information, and when natural language information is report class nature language When saying information, default exhibition method corresponding with keyword is obtained.The search result of natural language information is obtained, and search is tied Fruit obtains the corresponding report of natural language information, and be sent to terminal, without using additional generation with default exhibition method arrangement Managing server generation is to carry out message forwarding, reduces the operating procedure of message transmission, further improves working efficiency.
Detailed description of the invention
Fig. 1 is the application scenario diagram of report method for subscribing in one embodiment;
Fig. 2 is the flow diagram of report method for subscribing in one embodiment;
Fig. 3 is flow diagram the step of obtaining default exhibition method corresponding with keyword in one embodiment;
Fig. 4 is the structural block diagram that report subscribes to device in one embodiment;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Report method for subscribing provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, terminal 102 It is communicated with server 104 by network.Server 104 receives asking to the search of natural language information for the transmission of terminal 102 It asks, and obtains the keyword of natural language information according to searching request.When natural language information is report natural language information When, server 104 obtains default exhibition method corresponding with keyword, obtains the search result of natural language information, and will search Hitch fruit obtains the corresponding report of natural language information, and be sent to terminal 102 with default exhibition method arrangement.Work as server 104 receive terminal 102 when requesting the subscription of report, obtain to subscribe to and request marked subscription information and storage.Wherein, eventually End 102 can be, but not limited to be various personal computers, laptop, smart phone and tablet computer, and server 104 can be with It is realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, providing a kind of report method for subscribing, it is applied in Fig. 1 in this way It is illustrated for server, comprising the following steps:
S202, the searching request to natural language information that server receiving terminal is sent.
Wherein, relative to the artificial language of computer application, including programming language, machine language and controlled retrieval For language etc., natural language is people's spoken word used in everyday and written language.It realizes between people and computer Efficient communication, computer need the natural language inputted to user to be further processed and understand, obtain corresponding response As a result, and returning to user.
Specifically, user can input the natural language information for needing to scan in terminal, and terminal is inputted according to user Natural language information generates corresponding searching request, and searching request corresponding with natural language information is sent to server. The searching request for the natural language information for user's input that server receiving terminal is sent, while obtaining and the searching request Corresponding natural language information, and the search of the natural language information inputted about user is unfolded, it obtains corresponding with searching request Search result.
S204, server obtain the keyword of natural language information according to searching request.
Specifically, it after the searching request for natural language information that server receiving terminal is sent, parses the search and asks It asks, obtains natural language information corresponding with searching request.Server passes through to natural language information corresponding with searching request Word segmentation processing is carried out, the keyword that natural language information carries is extracted.
Wherein, word segmentation processing refers to natural language information sequence being cut into individual word, i.e., by continuous word sequence It is reassembled into word sequence according to certain specification, according to the natural language information after progress word segmentation processing, obtains natural language The individual word that information includes, and extract keyword therein.
Further, by taking the natural language information of user's input is " the educational background distribution of Shanghai male " as an example, server needle To " the Shanghai male educational background distribution " of user's input, carry out word segmentation processing, the word of acquisition include " Shanghai ", " male " and " educational background distribution ", the keyword extracted are " educational background distribution ", and server is obtained from database according to the keyword extracted With the information of keyword " educational background be distributed ", and by the other word " Shanghai " for including in natural language information, " male ", with institute It is obtaining to be combined with keyword " educational background is distributed " information, it is final to obtain and natural language information " Shanghai male's educational background point The corresponding search result of cloth ".
S206, when natural language information is report natural language information, server obtains corresponding with keyword pre- If exhibition method.
Specifically, server obtains the pre-set and associated default screening rule of natural language information, according to default Screening rule to natural language information carry out screening operation, obtain the selection result.When according to the selection result determine user input Natural language information, be report natural language information when, obtain the report natural language information carrying keyword, and According to the corresponding relationship between keyword and default exhibition method, the keyword pair carried with report natural language information is obtained The default exhibition method answered.
Wherein, preset screening rule is used to judge the natural language information of user's input, if is satisfactory report Table natural language information, the screening rule can be the attribute for natural language information and judged.According to default screening Rule carries out screening operation to the attribute of natural language information, obtains the natural language information for meeting default screening rule, as Report natural language information.Default exhibition method corresponding with report natural language information, for will be with report class nature language It says the corresponding search result of information, shows terminal user in the form of the showing of report.
Further, by taking the natural language information for inputting user is " distribution of Shenzhen college student petty load " as an example, Server obtains and the associated default screening rule of natural language information, according to default screening rule to " Shenzhen college student is small The attribute of volume loan distribution " is judged.In the present embodiment, " distribution of Shenzhen college student petty load " of user's input is right The exhibition method answered is report displaying, needs to obtain the details of student's petty load distribution of each colleges and universities in Shenzhen, including Affiliated colleges and universities, each college student carry out the number of petty load, total amount and average amount, the detailed distribution of loan time limit etc. Situation, and the detailed distribution situation of acquisition is showed in the form of statements.
S208, server obtain the search result of natural language information.
Specifically, the searching request for the natural language information for user's input that server is sent according to terminal, and obtain Natural language information corresponding with searching request is taken, the search of the natural language information inputted about user is unfolded, obtains and searches Rope requests corresponding search result.
Further, by user for the natural language information that terminal inputs is " distribution of Shanghai male's educational background ", terminal According to " distribution of Shanghai male's educational background " that user inputs, corresponding searching request is generated, and will be with natural language information " Shanghai male Sexology goes through distribution " corresponding searching request is sent to server.Server receive for natural language information " Shanghai male's When the searching request of educational background distribution ", search result corresponding with " educational background of Shanghai male is distributed " is obtained from database, and will Corresponding search result returns to terminal.
Search result with default exhibition method arrangement, is obtained the corresponding report of natural language information by S210, server, and It is sent to terminal.
Specifically, after server obtains search result corresponding with searching request, by the search result of acquisition according to default Exhibition method arrangement, i.e., default exhibition method corresponding with report natural language information obtain corresponding with natural language information Report, and the report of acquisition is sent to corresponding terminal.
Wherein, preset exhibition method, the ways of presentation of report form as corresponding with report natural language information, Server will search result corresponding with report natural language information, arrange, obtain according to the exhibition method of report form Obtain report corresponding with natural language information.
S212, when receiving subscription request of the terminal to report, server, which obtains to subscribe to, requests marked subscription letter It ceases and stores.
Specifically, the subscription to report that server receives and parses through terminal transmission is requested, and is obtained and is subscribed to what request carried Subscribed flag, and obtain subscription information corresponding with subscribed flag, and report corresponding with subscription information.According to preset point Rule-like classifies to subscription information, obtains the classification of subscription information, is created respectively according to the classification of subscription information corresponding Storage folder, and the corresponding report of subscription information is stored respectively into corresponding storage folder.
Wherein, what terminal was sent carries corresponding subscribed flag to the subscription request of report, according to subscribed flag and subscription Corresponding relationship between information, server can obtain subscription information corresponding with subscribed flag, at the same can according to subscription information and Corresponding relationship between report obtains report corresponding with subscription information.Preset classifying rules is used to carry out subscription information Classification, classifies to subscription information according to the attribute of subscription information.Storage folder is corresponding with the classification of subscription information, is used for Store report corresponding with different classes of subscription information.
In above-mentioned report method for subscribing, the searching request to natural language information that server is sent according to terminal is obtained The keyword of natural language information, and when natural language information is report natural language information, it obtains corresponding with keyword Default exhibition method.The search result of natural language information is obtained, and search result is obtained with default exhibition method arrangement The corresponding report of natural language information, and be sent to terminal, without using additional proxy server on behalf of carrying out message forwarding, The operating procedure for reducing message transmission, further improves working efficiency.
In one embodiment, as shown in figure 3, providing a kind of step for obtaining default exhibition method corresponding with keyword Suddenly, i.e., the step of default exhibition method corresponding with keyword is obtained when natural language information is report natural language information Suddenly, include the following steps S302 to S306:
S302, server obtain and the associated default screening rule of natural language information.
Specifically, preset screening rule is used to judge the natural language information of user's input, if is satisfactory Report natural language information, the screening rule can be the attribute for natural language information and judged.
Wherein, according to the attribute of natural language information, natural language information can be divided into report natural language information, figure Table natural language information, data class natural language information and text natural language information.Report natural language information, Indicate that the corresponding search result of natural language information of user's input shows in the form of statements.Chart natural language information, Indicate that the corresponding search result of natural language information of user's input needs to show in graphical form.Data natural language letter Breath indicates that the corresponding search result of natural language information of user's input needs to show in the form of clear data.Text class is natural Language message indicates that search result corresponding with the natural language information that user inputs is shown in the form of text.
S304, server screen natural language information according to default screening rule.
Specifically, server carries out screening operation to the attribute of natural language information, rejects it according to default screening rule The natural language information of his type obtains the natural language information for meeting default screening rule, and as report natural language is believed Breath.Report natural language information indicates the natural language information of user's input, obtains corresponding search result and needs with report Form shows.
S306 obtains report class when determining that natural language information is report natural language information according to the selection result The corresponding default exhibition method of keyword that natural language information carries.
Specifically, after server screens natural language information according to default screening rule, corresponding screening is obtained As a result, when the natural language information for determining user's input according to the selection result obtains the report when being report natural language information The keyword that table natural language information carries, and according to the corresponding relationship between keyword and default exhibition method, obtain with The corresponding default exhibition method of keyword that report natural language information carries.
Further, by taking the natural language information for inputting user is " distribution of Shanghai University student's large loan " as an example, Server obtains and the associated default screening rule of natural language information, according to default screening rule to " Shanghai University student is big The attribute of volume loan distribution " is judged.In the present embodiment, " distribution of Shanghai University student's large loan " of user's input is right The exhibition method answered is report displaying, needs to obtain the details of student's large loan distribution of each colleges and universities in Shanghai, including Affiliated colleges and universities, each college student carry out the number of large loan, total amount and average amount, the detailed distribution of loan time limit etc. Situation, and the detailed distribution situation of acquisition is showed in the form of statements.
The step of above-mentioned acquisition corresponding with keyword default exhibition method, server is by obtaining and natural language information Associated default screening rule, and natural language information is screened according to default screening rule.When true according to the selection result Determine natural language information be report natural language information when, obtain report natural language information carry keyword it is corresponding Default exhibition method.By being screened to natural language information, satisfactory report natural language information is obtained, is avoided Server carries out keyword and acquisition and the acquisition of default exhibition method to other kinds of natural language information, reduces work It measures, further improves working efficiency.
In one embodiment, the step of providing a kind of keyword that natural language information is obtained according to searching request, Include:
Server parses the searching request that terminal is sent, and obtains natural language information entrained by searching request;To nature Language message carries out word segmentation processing, obtains the keyword that natural language information carries.
Specifically, word segmentation processing refers to natural language information sequence being cut into individual word, i.e., by continuous word sequence Column are reassembled into word sequence according to certain specification, and server is obtained according to the natural language information after carrying out word segmentation processing The individual word that natural language information includes, and extract keyword therein.
In the present embodiment, the segmenting method based on understanding can be used, the natural language information of user's input is carried out Word segmentation processing achievees the effect that identify word by allowing the understanding of computer mould personification distich.Segmenting method based on understanding, Basic thought is to carry out syntactic analysis and semantic analysis while being segmented, located according to syntactic information and semantic information Manage Ambiguity.Specifically include the related word for obtaining the natural language information of user's input and sentence etc., respective syntax and language Adopted information judges segmentation ambiguity, realizes simulation people to the understanding process of natural language information.
The step of above-mentioned keyword that natural language information is obtained according to searching request, what server parsing terminal was sent searches Rope request obtains natural language information entrained by searching request, and carries out word segmentation processing to natural language information, obtains nature The keyword that language message carries.The keyword extraction to natural language information is realized, server is avoided to input user All words that natural language information carries are handled, and working efficiency is further improved.
In one embodiment, it provides a kind of when receiving terminal and requesting the subscription of report, obtains and subscribe to request The step of subscription information marked and storage, comprising:
The subscription to report that server receiving terminal is sent is requested;Request is subscribed in parsing, is obtained and is subscribed to what request carried Subscribed flag;Subscription information corresponding with subscribed flag is obtained, and obtains the corresponding report of subscription information;According to preset classification Rule classifies to subscription information, obtains the classification of subscription information;Corresponding deposit is created respectively according to the classification of subscription information Store up file;The corresponding report of subscription information is stored respectively into corresponding storage folder.
Specifically, what terminal was sent carries corresponding subscribed flag to the subscription request of report, according to subscribed flag and orders The corresponding relationship between information is read, server can obtain subscription information corresponding with subscribed flag, while can be according to subscription information Corresponding relationship between report obtains report corresponding with subscription information.Preset classifying rules be used for subscription information into Row classification, classifies to subscription information according to the attribute of subscription information.Storage folder is corresponding with the classification of subscription information, uses In storage report corresponding with different classes of subscription information.
The step of requesting marked subscription information and storage, is subscribed in above-mentioned acquisition, the subscription that server is sent according to terminal The corresponding subscribed flag of request, and and the corresponding subscription information of subscribed flag and report corresponding with subscription information is obtained, It is sorted different classes of by obtaining subscription information, corresponding storage folder is established according to the classification of subscription information respectively, And the corresponding report of subscription information is stored into storage folder.It realizes and report is subscribed to according to subscribed flag, together Report corresponding with subscription information is obtained in the corresponding storage file of Shi Kecong in real time, is improved work efficiency.
In one embodiment, a kind of report method for subscribing, this method are provided further include:
Server obtains the preset information update period;Obtain updated subscription letter in the preset information update period Breath;Within the preset message push period, updated subscription information is sent to terminal.
Specifically, the preset information update period indicates the renewal time section of subscription information, and server can be in information update Updated subscription information is obtained in period.For example, the preset information update period is 60S, server can be one according to 60S Period, the acquisition of the subscription message after being updated.The preset message push period can be the fixation of the customized setting of user The time is pushed, for example the message push period can be arranged to 5 minutes, the report that server can in 5 minutes subscribe to user Relevant information is sent to terminal.The preset message push period can also be arranged to it is consistent with the preset information update period, i.e., Updated subscription information can be obtained in information update period 60S, and according to the interval of message push period 60S, will be obtained The updated subscription message taken is sent to terminal.
Above-mentioned report method for subscribing, server obtain preset information more by obtaining the preset information update period Updated subscription information is sent to terminal within the preset message push period by updated subscription information in the new period. It can be achieved for updated subscription message to be timely transmitted to terminal, guarantee that user can receive updated subscription message in time, have Better user experience.
In one embodiment, a kind of report method for subscribing is provided, further includes:
The collection to report that server receiving terminal is sent is requested, and obtains report corresponding with collection request;Parsing Collection request obtains the collection mark that collection request carries;Corresponding collection is created according to collection mark;It will be requested with collection Corresponding report is stored into corresponding collection.
Specifically, after server receives terminal for the collection request of report, report corresponding with collection request is obtained, And collection request is parsed, obtain the collection mark that collection request carries.Wherein, collection mark is corresponding with collection, and server can According to the corresponding relationship between collection mark and collection, collection corresponding with collection mark is created.Collection is for storing Corresponding report is requested in the collection that user sends, it, can be according to collection and receipts when user needs to check the report collected Corresponding relationship between hiding mark obtains required report from corresponding collection.
Above-mentioned report method for subscribing, server request according to the collection to report that terminal is sent, obtain and request with collection Corresponding report, and collection request is parsed, obtain the collection mark that collection request carries.And then newly-built correspond to is identified according to collection Collection, and will store with the corresponding report of collection request into corresponding collection.Realizing will be to according to collection request The report of collection is stored into corresponding collection, user can be facilitated to check again, avoids finding institute again in a large amount of reports Report is needed, further reduced resource consumption.
It should be understood that although each step in the flow chart of Fig. 2-3 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-3 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in figure 4, providing a kind of report subscription device, comprising: receiving module 402, key Word obtains module 404, default exhibition method obtains module 406, search result obtains module 408, report obtains module 410 and Subscription information obtains module 412, in which:
Receiving module 402, for receiving the searching request to natural language information of terminal transmission.
Keyword obtains module 404, for obtaining the keyword of natural language information according to searching request.
Default exhibition method obtains module 406, for obtaining when natural language information is report natural language information Default exhibition method corresponding with keyword.
Search result obtains module 408, for obtaining the search result of natural language information.
Report obtains module 410, for default exhibition method arrangement, it is corresponding to be obtained natural language information for search result Report, and be sent to terminal.
Subscription information obtains module 412, for obtaining and subscribing to request institute when receiving subscription request of the terminal to report The subscription information of label and storage.
Above-mentioned report subscribes to device, and the searching request to natural language information that server is sent according to terminal is obtained from The keyword of right language message, and when natural language information is report natural language information, it obtains corresponding with keyword Default exhibition method.The search result of natural language information is obtained, and search result is obtained certainly with default exhibition method arrangement The corresponding report of right language message, and it is sent to terminal, without using additional proxy server on behalf of message forwarding is carried out, subtract The operating procedure for having lacked message transmission, further improves working efficiency.
In one embodiment, a kind of report subscription device is provided, further includes collection module, is used for:
It receives the collection to report that terminal is sent to request, and obtains report corresponding with collection request;Parsing collection is asked It asks, obtains the collection mark that collection request carries;Corresponding collection is created according to collection mark;It will be corresponding with collection request Report is stored into corresponding collection.
Above-mentioned report subscribes to device, realizes and is stored report to be collected to corresponding collection according to collection request In, user can be facilitated to check again, avoid report needed for finding again in a large amount of reports, further reduced resource consumption.
In one embodiment, a kind of keyword acquisition module is provided, is also used to:
The searching request that terminal is sent is parsed, natural language information entrained by searching request is obtained;Natural language is believed Breath carries out word segmentation processing, obtains the keyword that natural language information carries.
Above-mentioned keyword obtains module, realizes the keyword extraction to natural language information, avoids server to user All words that the natural language information of input carries are handled, and working efficiency is further improved.
In one embodiment, a kind of default exhibition method acquisition module is provided, is also used to:
It obtains and the associated default screening rule of natural language information;According to default screening rule to natural language information into Row screening;When determining that natural language information is report natural language information according to the selection result, report class nature language is obtained Say the corresponding default exhibition method of keyword that information carries.
Above-mentioned default exhibition method obtains module and obtains satisfactory report by screening to natural language information Table natural language information avoids server from carrying out keyword to other kinds of natural language information and obtains and preset exhibition The acquisition for showing mode, reduces workload, further improves working efficiency.
In one embodiment, a kind of subscription information acquisition module is provided, is also used to:
The subscription to report that terminal is sent is received to request;Request is subscribed in parsing, is obtained and is subscribed to the subscription mark that request carries Note;Subscription information corresponding with subscribed flag is obtained, and obtains the corresponding report of subscription information;According to preset classifying rules pair Subscription information is classified, and the classification of subscription information is obtained;Corresponding storage file is created respectively according to the classification of subscription information Folder;The corresponding report of subscription information is stored respectively into corresponding storage folder.
Above-mentioned subscription information obtains module, realizes and is subscribed to according to subscribed flag to report, while can be from corresponding Report corresponding with subscription information is obtained in storage file in real time, is improved work efficiency.
In one embodiment, a kind of subscription information acquisition module is provided, is also used to:
Obtain the preset information update period;Obtain updated subscription information in the preset information update period;Pre- If message push the period in, updated subscription information is sent to terminal.
Above-mentioned subscription information obtains module, and server obtains preset letter by obtaining the preset information update period Updated subscription information in the update cycle is ceased, within the preset message push period, updated subscription information is sent to Terminal.It can be achieved for updated subscription message to be timely transmitted to terminal, guarantee that user can receive updated subscription in time and disappear Breath, there is better user experience.
The specific of device is subscribed to about report and limits the restriction that may refer to above for report method for subscribing, herein not It repeats again.The modules that above-mentioned report is subscribed in device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing report data.The network interface of the computer equipment is used to pass through network with external terminal Connection communication.To realize a kind of report method for subscribing when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor perform the steps of when executing computer program
Receive the searching request to natural language information that terminal is sent;
The keyword of natural language information is obtained according to searching request;
When natural language information is report natural language information, default exhibition method corresponding with keyword is obtained;
Obtain the search result of natural language information;
By search result with default exhibition method arrangement, the corresponding report of natural language information is obtained, and be sent to terminal;
When receiving subscription request of the terminal to report, obtains to subscribe to and request marked subscription information and storage.
In one embodiment, it is also performed the steps of when processor executes computer program
The searching request that terminal is sent is parsed, natural language information entrained by searching request is obtained;
Word segmentation processing is carried out to natural language information, obtains the keyword that natural language information carries.
In one embodiment, it is also performed the steps of when processor executes computer program
It obtains and the associated default screening rule of natural language information;
Natural language information is screened according to default screening rule;
When determining that natural language information is report natural language information according to the selection result, report class nature language is obtained Say the corresponding default exhibition method of keyword that information carries.
In one embodiment, it is also performed the steps of when processor executes computer program
The subscription to report that terminal is sent is received to request;
Request is subscribed in parsing, is obtained and is subscribed to the subscribed flag that request carries;
Subscription information corresponding with subscribed flag is obtained, and obtains the corresponding report of subscription information;
Classified according to preset classifying rules to subscription information, obtains the classification of subscription information;
Corresponding storage folder is created respectively according to the classification of subscription information;
The corresponding report of subscription information is stored respectively into corresponding storage folder.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the preset information update period;
Obtain updated subscription information in the preset information update period;
Within the preset message push period, updated subscription information is sent to terminal.
In one embodiment, it is also performed the steps of when processor executes computer program
It receives the collection to report that terminal is sent to request, and obtains report corresponding with collection request;
Parsing collection request obtains the collection mark that collection request carries;
Corresponding collection is created according to collection mark;
Report corresponding with collection request is stored into corresponding collection.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Receive the searching request to natural language information that terminal is sent;
The keyword of natural language information is obtained according to searching request;
When natural language information is report natural language information, default exhibition method corresponding with keyword is obtained;
Obtain the search result of natural language information;
By search result with default exhibition method arrangement, the corresponding report of natural language information is obtained, and be sent to terminal;
When receiving subscription request of the terminal to report, obtains to subscribe to and request marked subscription information and storage.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The searching request that terminal is sent is parsed, natural language information entrained by searching request is obtained;
Word segmentation processing is carried out to natural language information, obtains the keyword that natural language information carries.
In one embodiment, it is also performed the steps of when computer program is executed by processor
It obtains and the associated default screening rule of natural language information;
Natural language information is screened according to default screening rule;
When determining that natural language information is report natural language information according to the selection result, report class nature language is obtained Say the corresponding default exhibition method of keyword that information carries.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The subscription to report that terminal is sent is received to request;
Request is subscribed in parsing, is obtained and is subscribed to the subscribed flag that request carries;
Subscription information corresponding with subscribed flag is obtained, and obtains the corresponding report of subscription information;
Classified according to preset classifying rules to subscription information, obtains the classification of subscription information;
Corresponding storage folder is created respectively according to the classification of subscription information;
The corresponding report of subscription information is stored respectively into corresponding storage folder.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the preset information update period;
Obtain updated subscription information in the preset information update period;
Within the preset message push period, updated subscription information is sent to terminal.
In one embodiment, it is also performed the steps of when computer program is executed by processor
It receives the collection to report that terminal is sent to request, and obtains report corresponding with collection request;
Parsing collection request obtains the collection mark that collection request carries;
Corresponding collection is created according to collection mark;
Report corresponding with collection request is stored into corresponding collection.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of report method for subscribing, which comprises
Receive the searching request to natural language information that terminal is sent;
According to the keyword of natural language information described in described search request;
When the natural language information is report natural language information, default displaying side corresponding with the keyword is obtained Formula;
Obtain the search result of the natural language information;
Described search result is arranged with the default exhibition method, obtains the corresponding report of the natural language information, concurrently It send to the terminal;
When receiving subscription request of the terminal to report, obtains the subscription and marked subscription information is requested simultaneously to be deposited Storage.
2. the method according to claim 1, wherein the natural language according to described search request The keyword of information, comprising:
The searching request that the terminal is sent is parsed, the entrained natural language information of described search request is obtained;
Word segmentation processing is carried out to the natural language information, obtains the keyword that the natural language information carries.
3. the method according to claim 1, wherein described when the natural language information is report class nature language When saying information, default exhibition method corresponding with the keyword is obtained, comprising:
It obtains and the associated default screening rule of the natural language information;
The natural language information is screened according to the default screening rule;
When determining that the natural language information is report natural language information according to the selection result, the report class is obtained certainly The corresponding default exhibition method of keyword that right language message carries.
4. according to claim 1 to method described in 3 any one, which is characterized in that when receiving the terminal to report When subscribing to request, obtains described subscribe to and requests marked subscription information and storage, comprising:
The subscription to report that terminal is sent is received to request;
The subscription request is parsed, the subscribed flag subscribing to request and carrying is obtained;
Subscription information corresponding with the subscribed flag is obtained, and obtains the corresponding report of the subscription information;
Classified according to preset classifying rules to the subscription information, obtains the classification of the subscription information;
Corresponding storage folder is created respectively according to the classification of the subscription information;
The corresponding report of the subscription information is stored respectively into corresponding storage folder.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
Obtain the preset information update period;
Obtain updated subscription information in the preset information update period;
Within the preset message push period, the updated subscription information is sent to terminal.
6. according to claim 1 to method described in 3 any one, which is characterized in that the method also includes:
It receives the collection to the report that terminal is sent to request, and obtains report corresponding with the collection request;
The collection request is parsed, the collection mark that the collection request carries is obtained;
Corresponding collection is created according to collection mark;
Report corresponding with the collection request is stored into corresponding collection.
7. a kind of report subscribes to device, which is characterized in that described device includes:
Receiving module, for receiving the searching request to natural language information of terminal transmission;
Keyword obtains module, the keyword for the natural language information according to described search request;
Default exhibition method obtains module, for when the natural language information is report natural language information, obtain with The corresponding default exhibition method of the keyword;
Search result obtains module, for obtaining the search result of the natural language information;
Report obtains module, for described search result to be arranged with the default exhibition method, obtains the natural language letter Corresponding report is ceased, and is sent to the terminal;
Subscription information obtains module, for obtaining the subscription request when receiving subscription request of the terminal to report The subscription information marked and storage.
8. device according to claim 7, which is characterized in that described device further includes collection module, is used for:
It receives the collection to the report that terminal is sent to request, and obtains report corresponding with the collection request;Parsing institute Collection request is stated, the collection mark that the collection request carries is obtained;Corresponding collection is created according to collection mark;It will Report corresponding with the collection request is stored into corresponding collection.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 6 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 6 is realized when being executed by processor.
CN201811545316.3A 2018-12-17 2018-12-17 Report method for subscribing, device, computer equipment and storage medium Pending CN109829085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811545316.3A CN109829085A (en) 2018-12-17 2018-12-17 Report method for subscribing, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811545316.3A CN109829085A (en) 2018-12-17 2018-12-17 Report method for subscribing, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109829085A true CN109829085A (en) 2019-05-31

Family

ID=66859568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811545316.3A Pending CN109829085A (en) 2018-12-17 2018-12-17 Report method for subscribing, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109829085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489414A (en) * 2019-07-23 2019-11-22 中国平安人寿保险股份有限公司 Report method for pushing and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075929A (en) * 2007-03-02 2007-11-21 腾讯科技(深圳)有限公司 Method, system and server for inquiring information
US20100057849A1 (en) * 2007-07-06 2010-03-04 Huawei Technologies Co., Ltd. Method and system for sending a netconf-based notification
CN103064842A (en) * 2011-10-20 2013-04-24 北京中搜网络技术股份有限公司 Information subscription processing device and information subscription processing method
CN103781028A (en) * 2012-10-19 2014-05-07 腾讯科技(深圳)有限公司 Mobile terminal information subscription method, system and device
US20180095964A1 (en) * 2016-09-30 2018-04-05 International Business Machines Corporation Providing search results based on natural language classification confidence information
CN108366096A (en) * 2018-01-17 2018-08-03 深圳市金立通信设备有限公司 A kind of information subscribing method, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075929A (en) * 2007-03-02 2007-11-21 腾讯科技(深圳)有限公司 Method, system and server for inquiring information
US20100057849A1 (en) * 2007-07-06 2010-03-04 Huawei Technologies Co., Ltd. Method and system for sending a netconf-based notification
CN103064842A (en) * 2011-10-20 2013-04-24 北京中搜网络技术股份有限公司 Information subscription processing device and information subscription processing method
CN103781028A (en) * 2012-10-19 2014-05-07 腾讯科技(深圳)有限公司 Mobile terminal information subscription method, system and device
US20180095964A1 (en) * 2016-09-30 2018-04-05 International Business Machines Corporation Providing search results based on natural language classification confidence information
CN108366096A (en) * 2018-01-17 2018-08-03 深圳市金立通信设备有限公司 A kind of information subscribing method, terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王凡;尹浩伟;蒋峰岭;郭玉堂;: "服务机器人自然语言处理的研究与应用", 安徽科技学院学报, no. 04, 14 September 2018 (2018-09-14) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489414A (en) * 2019-07-23 2019-11-22 中国平安人寿保险股份有限公司 Report method for pushing and equipment

Similar Documents

Publication Publication Date Title
Bakshy et al. Designing and deploying online field experiments
KR102185864B1 (en) Server-side rendering method and system of native content for presentation
CN108874926A (en) Mass data inquiry method, device, computer equipment and storage medium
US20160364770A1 (en) System for high volume data analytic integration and channel-independent advertisement generation
CN111666401B (en) Document recommendation method, device, computer equipment and medium based on graph structure
US10922282B2 (en) On-demand collaboration user interfaces
US20090158161A1 (en) Collaborative search in virtual worlds
DE202008018624U1 (en) Card Gadgets
DE202008018625U1 (en) Communication between domains
CN104025084B (en) Historical viewings session management
US9396448B2 (en) Distributed and open schema interactions management system and method
US10599654B2 (en) Method and system for determining unique events from a stream of events
CN109582307A (en) Movable creation method, device, equipment and storage medium based on unified entrance
CN110019754A (en) A kind of method for building up of knowledge base, device and equipment
CN110233879A (en) Intelligently pushing interfacial process, device, computer equipment and storage medium
CN109840298A (en) The multi information source acquisition method and system of large scale network data
CN108140055A (en) Trigger application message
CN115438087A (en) Data query method and device based on cache library, storage medium and equipment
CN106257447B (en) The video of cloud storage service device stores and search method, video cloud storage system
CN109829085A (en) Report method for subscribing, device, computer equipment and storage medium
CN109213775A (en) Searching method, device, computer equipment and storage medium
CN112035555A (en) Information display method, device and equipment
CN114491093B (en) Multimedia resource recommendation and object representation network generation method and device
CN110062112A (en) Data processing method, device, equipment and computer readable storage medium
CN115186214A (en) Page configuration method and device, computer equipment and computer readable storage medium

Legal Events

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