CN108829741A - Content recommendation method, device, equipment and computer readable storage medium - Google Patents
Content recommendation method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN108829741A CN108829741A CN201810504013.0A CN201810504013A CN108829741A CN 108829741 A CN108829741 A CN 108829741A CN 201810504013 A CN201810504013 A CN 201810504013A CN 108829741 A CN108829741 A CN 108829741A
- Authority
- CN
- China
- Prior art keywords
- content
- transform coding
- weather information
- data dictionary
- corresponding relationship
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
- G06F40/157—Transformation using dictionaries or tables
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present disclosure provides content recommendation method, device, equipment and computer readable storage medium.Content recommendation method includes:Obtain Weather information;According to the corresponding relationship of the Weather information and transform coding recorded in the first data dictionary, transform coding corresponding with the Weather information is obtained;According to the corresponding relationship of the transform coding and content recorded in the second data dictionary, content corresponding with the transform coding is obtained;The acquired content of output, can be with strong points based on Weather information and neatly obtain and exports content.Therefore, can and neatly recommendation with strong points to user based on Weather information, enhance user experience.When content to be output is commercial content, it can aid in businessman and obtain user's order.
Description
Technical field
The embodiment of the present disclosure is related to computer application technology more particularly to content recommendation method, device, equipment and meter
Calculation machine readable storage medium storing program for executing.
Background technique
In computer technology, the technology to user's recommendation information is had existed.For example, can be based on acquired information
Recommend other relevant informations to user.This way of recommendation is inflexible, is not suitable for using in various scenes.
Summary of the invention
In practical applications, inventor has found:Commending contents technology in the related technology is there are the following problems:Related skill
Content recommendation method in art is typically based on the relatively more fixed other information of existing information recommendation one.For being based on Weather information
Recommendation, can not accomplish with strong points and neatly commending contents.
In order to solve the above-mentioned technical problem, disclosure first aspect provides a kind of content recommendation method, including:
Obtain Weather information;
According to the corresponding relationship of the Weather information and transform coding recorded in the first data dictionary, obtains and believe with the weather
Cease corresponding transform coding;
According to the corresponding relationship of the transform coding and content recorded in the second data dictionary, obtain and the transform coding pair
The content answered;
The acquired content of output.
With reference to first aspect, the disclosure is in the first implementation of first aspect, the acquisition Weather information, packet
It includes:
Weather information is obtained from outside by application programming interface.
With reference to first aspect, the disclosure is described according to the first data dictionary in second of implementation of first aspect
The Weather information of middle record and the corresponding relationship of transform coding obtain transform coding corresponding with the Weather information, including:
Generate the first data dictionary of the corresponding relationship comprising Weather information and transform coding;
Transform coding corresponding with the Weather information is obtained according to first data dictionary.
With reference to first aspect, the disclosure is described according to the second data dictionary in the third implementation of first aspect
The transform coding of middle record and the corresponding relationship of content obtain content corresponding with the transform coding, including:
Generate the second data dictionary of the corresponding relationship comprising transform coding and content;
Content corresponding with the transform coding is obtained according to second data dictionary.
With reference to first aspect, the disclosure is in the 4th kind of implementation of first aspect, in first data dictionary,
Weather information and transform coding correspond.
With reference to first aspect, the disclosure is in the 5th kind of implementation of first aspect, in second data dictionary,
One transform coding corresponds at least one content and/or at least one transform coding corresponds to a content.
Disclosure second aspect provides a kind of content recommendation device, including:
First obtains module, is configured as obtaining Weather information;
Second obtains module, is configured as corresponding with transform coding according to the Weather information recorded in the first data dictionary
Relationship obtains transform coding corresponding with the Weather information;
Third obtains module, is configured as closing according to the transform coding recorded in the second data dictionary is corresponding with content
System obtains content corresponding with the transform coding;
Output module is configured as exporting content acquired in the third acquisition module.
In conjunction with second aspect, the disclosure in the first implementation of second aspect, matched by the first acquisition module
It is set to:
Weather information is obtained from outside by application programming interface.
In conjunction with second aspect, the disclosure second acquisition module described in second of implementation of second aspect includes:
First generates submodule, is configurable to generate the first data of the corresponding relationship comprising Weather information and transform coding
Dictionary;
First acquisition submodule is configured as obtaining corresponding with the Weather information turn according to first data dictionary
Change coding.
In conjunction with second aspect, in the third implementation of second aspect, the third obtains module and includes the disclosure:
Second generates submodule, is configurable to generate the second data word of the corresponding relationship comprising transform coding and content
Allusion quotation;
Second acquisition submodule is configured as being obtained in corresponding with the transform coding according to second data dictionary
Hold.
In conjunction with second aspect, the disclosure is in the 4th kind of implementation of second aspect, in first data dictionary,
Weather information and transform coding correspond.
In conjunction with second aspect, the disclosure is in the 5th kind of implementation of second aspect, in second data dictionary,
One transform coding corresponds at least one content and/or at least one transform coding corresponds to a content.
The disclosure third aspect provides a kind of electronic equipment, including memory and processor;Wherein, the memory is used
In storing one or more computer instruction, wherein one or more computer instruction is executed by the processor with reality
The now method as described in any one of the first implementation of first aspect, first aspect to the 5th kind of implementation.
Disclosure fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer instruction, the meter
Calculation machine instructs the first implementation of realization such as first aspect, first aspect when being executed by processor to the 5th kind of implementation
Any one of described in method.
In disclosure embodiment, by obtaining Weather information;According to the Weather information recorded in the first data dictionary
With the corresponding relationship of transform coding, transform coding corresponding with the Weather information is obtained;It is recorded according in the second data dictionary
Transform coding and content corresponding relationship, obtain corresponding with transform coding content;The acquired content of output, can be with
It is with strong points based on Weather information and neatly obtain and export content.Therefore, Weather information can be based on to user's specific aim
By force and neatly recommendation enhances user experience.When content to be output is commercial content, it can aid in businessman and obtain
Take family order.
These aspects or other aspects of the disclosure can more straightforwards in the following description.
Detailed description of the invention
Technical solution in order to illustrate more clearly of the embodiment of the present disclosure or in the related technology, below will be to exemplary implementation
Attached drawing needed in example or description of Related Art is briefly described, it should be apparent that, the accompanying drawings in the following description
It is some exemplary embodiments of the disclosure, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 shows the flow chart of the content recommendation method according to one embodiment of the disclosure;
Fig. 2 shows the streams of one embodiment of the step S102 in the content recommendation method according to one embodiment of the disclosure
Cheng Tu;
Fig. 3 shows the stream of one embodiment of the step S103 in the content recommendation method according to one embodiment of the disclosure
Cheng Tu;
Fig. 4 shows the structural block diagram of the content recommendation device according to one embodiment of the disclosure;
Fig. 5 shows a reality of the second acquisition module 402 in the content recommendation device according to one embodiment of the disclosure
Apply mode structural block diagram;
Fig. 6 shows one that the third in the content recommendation device according to the another embodiment of the disclosure obtains module 403
Embodiment structure block diagram;
Fig. 7 shows the structural block diagram of the equipment according to one embodiment of the disclosure;
Fig. 8 is adapted for the structure for realizing the computer system of the content recommendation method according to one embodiment of the disclosure
Schematic diagram.
Specific embodiment
In order to make those skilled in the art more fully understand disclosure scheme, below in conjunction with the exemplary implementation of the disclosure
Attached drawing in example, is clearly and completely described the technical solution in disclosure exemplary embodiment.
In some processes of the description in the specification and claims of the disclosure and above-mentioned attached drawing, contain according to
Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its
Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number
It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can
To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not
Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
It can solve the following problems of the relevant technologies using the application mode of the embodiment of the present disclosure:Content in the related technology
Recommended method is typically based on the relatively more fixed other information of existing information recommendation one.For the recommendation based on Weather information, and
It cannot accomplish with strong points and neatly commending contents.
Below in conjunction with the attached drawing in disclosure exemplary embodiment, to the technical solution in disclosure exemplary embodiment
It being clearly and completely described, it is clear that described exemplary embodiment is only disclosure a part of the embodiment, rather than
Whole embodiments.Based on the embodiment in the disclosure, those skilled in the art institute without creative efforts
The every other embodiment obtained belongs to the range of disclosure protection.
Fig. 1 shows the flow chart of the content recommendation method according to one embodiment of the disclosure.This method may include step
S101, S102, S103 and S104.
In step s101, Weather information is obtained.
In step s 102, it according to the corresponding relationship of the Weather information and transform coding recorded in the first data dictionary, obtains
Take transform coding corresponding with Weather information.
In step s 103, according to the corresponding relationship of the transform coding and content recorded in the second data dictionary, obtain with
The corresponding content of transform coding.
In step S104, acquired content is exported.
In one embodiment, obtaining Weather information includes:Weather letter is obtained from outside by application programming interface
Breath.In the related art, API (Application Programming Interface, application programming interface) is
Function predetermined, it is therefore an objective to provide application program and developer based on certain software or hardware and be able to one group of routine of access
Ability, and be not necessarily to access source code, or understand the details of internal work mechanism.Refer to that opening connects if program opening API
Mouthful, to allow other people program that can call the program data of this program.For example, computer, mobile phone etc. have some USB interfaces, it can also
To be considered having opened interface, there are these interfaces that equipment can be used as to the function of slotting USB flash disk, charging etc.Implement herein
In example, Weather information can be obtained from other local or external programs by application programming interface.
In one embodiment, weather includes various states, for example, fine, cloudy, negative, shower, thunder shower, thunder shower companion
Have hail, rain and snow mixed, light rain, moderate rain, heavy rain, heavy rain, torrential rain, extra torrential rain, snow shower, slight snow, moderate snow, heavy snow, severe snow,
It is mist, sleet, sandstorm, light rain-moderate rain, moderate rain-heavy rain, heavy rain-heavy rain, heavy rain-torrential rain, torrential rain-extra torrential rain, small
Snow-moderate snow, moderate snow-heavy snow, heavy snow-severe snow, floating dust, sand, strong chromatic number, haze etc..In this embodiment, available expression
The Weather information of state of weather.For example, can be true from the Weather information that outside obtains from application programming interface is passed through
Determine the particular weather information of specific time.
In one embodiment, transform coding corresponding with Weather information can be the word for referring to particular weather information
Symbol or character string.For example, fine transform coding can be " 1 " or the characters such as " a " or " a1 " or character string, and cloudy conversion
Coding can be " 2 " or the characters such as " b " or " b2 " or character string, and negative transform coding can be " 3 " or the characters such as " c " or " c3 "
Or character string, and so on.It will be understood by those skilled in the art that Weather information and and weather in embodiment of the disclosure
The corresponding conversion coding of information is not limited to aforementioned exemplary.
In one embodiment, content corresponding with transform coding can be the relevant information of commodity or shopping etc,
The relevant information that can be tourist famous-city or dining room etc, is also possible to wear the clothes or the relevant information of carwash etc, can also be with
It is the relevant information of literature or art etc, is also possible to relevant information of living or studying etc, etc., is also possible to aforementioned
The combined information of these information.It will be understood by those skilled in the art that in the correspondence of the transform coding in embodiment of the disclosure
Appearance is not limited to aforementioned exemplary.
In one embodiment, content corresponding with transform coding is exported and is also considered commending contents to use
Family.
In the related art, data dictionary refers to the data item to data, data structure, data flow, data storage, processing
Logic, external entity etc. are defined and describe, and the purpose is to be described in detail to each element in data flowchart.
In brief, data dictionary is the information aggregate for describing data, is the collection to the definition of all data elements used in system
It closes.From another point of view, data dictionary is the catalogue of a kind of database of record that user is accessible and application metadata.
In one embodiment, the corresponding relationship of Weather information and transform coding is stored in the first data dictionary.
In one embodiment, in the first data dictionary, Weather information and transform coding are corresponded.For example,
In one data dictionary, the transform coding of Weather information " fine " is " 1 ", and the transform coding of Weather information " cloudy " is " 2 ", weather letter
The transform coding for ceasing " yin " is " 3 ", that is, each Weather information only has unique transform coding, and each transform coding
Correspond only to unique Weather information.In this way, each transform coding can be made to represent a specific Weather information, i.e., certain
Specific state of weather.
In one embodiment, the corresponding relationship of transform coding and content is stored in the second data dictionary.
In one embodiment, in the second data dictionary, transform coding corresponds at least one content, and/
Or at least one transform coding corresponds to a content.For example, in the second data dictionary, it is corresponding with Weather information " fine "
Transform coding " 1 " corresponds at least one content, a such as restaurant, a kind of clothing, a tourist attractions and a sport fortune
At least one of move.In another example in the second data dictionary, transform coding " 1 " corresponding with Weather information " fine " and with day
The corresponding transform coding " 2 " of gas information " cloudy " is all corresponding with a content, a such as restaurant, a kind of clothing, a tourism
One of sight spot and a sports.
In one embodiment, when content is commercial content, in the second data dictionary, a transform coding corresponds to
At least one commercial content and/or at least one transform coding correspond to a commercial content.For example, in the second data
In dictionary, transform coding " 1 " corresponding with Weather information " fine " corresponds to an outdoor cafe.In another example in the second data
In dictionary, transform coding " 15 " corresponding with Weather information " heavy snow " corresponds to a chafing dish restaurant.It is appreciated that when fine day
It is suitble to drink coffee in outdoor cafe, is suitble to when snowing heavily in chafing dish restaurant blocked shot, the output of this content is recommended,
It is targeted and flexible, and facilitates businessman and obtain user's order.In another example conversion corresponding with Weather information " fine "
It encodes " 1 " and corresponds to an outdoor cafe and a Forest Park.In another example conversion corresponding with Weather information " corresponding "
It encodes " 2 " and corresponds to a Forest Park.That is, the corresponding relationship of transform coding and content can be in the second data dictionary
Diversified, this is enhanced the specific aim of output or recommendation and flexibility.Those skilled in the art can manage
Solution, an aforementioned classification using commercial content as content is only example come the corresponding relationship for illustrating transform coding and content,
Content may include the content other than commercial content.
In embodiment of the disclosure, in the second data dictionary, a transform coding can correspond to one or more
Content, and/or one or more transform codings can correspond to a content.That is, can be between transform coding and content
There are one-to-one relationships, and there may also be non-one-to-one relationships, this allows for being compiled according to conversion corresponding with Weather information
It is targetedly and flexible when code output content.
In disclosure embodiment, by obtaining Weather information;According to the Weather information recorded in the first data dictionary
With the corresponding relationship of transform coding, transform coding corresponding with the Weather information is obtained;It is recorded according in the second data dictionary
Transform coding and content corresponding relationship, obtain corresponding with transform coding content;The acquired content of output, can be with
It is with strong points based on Weather information and neatly obtain and export content.Therefore, Weather information can be based on to user's specific aim
By force and neatly recommendation enhances user experience.When content to be output is commercial content, it can aid in businessman and obtain
Take family order.
Fig. 2 shows the streams of one embodiment of the step S102 in the content recommendation method according to one embodiment of the disclosure
Cheng Tu.Step S201 and S202 included by the embodiment of step S102 is shown in the embodiment.
In step s 201, the first data dictionary of the corresponding relationship comprising Weather information and transform coding is generated.
In step S202, transform coding corresponding with Weather information is obtained according to the first data dictionary.
In disclosure embodiment, by the first data for generating the corresponding relationship comprising Weather information and transform coding
Dictionary;Obtain corresponding with Weather information transform coding according to the first data dictionary, can be based on Weather information it is with strong points and
It neatly obtains and exports content.Therefore, can and neatly recommendation with strong points to user based on Weather information, enhancing
User experience.When content to be output is commercial content, it can aid in businessman and obtain user's order.
Fig. 3 shows the stream of one embodiment of the step S103 in the content recommendation method according to one embodiment of the disclosure
Cheng Tu.Fig. 3 shows the process of one embodiment of the step S103 in the content recommendation method according to one embodiment of the disclosure
Figure.Step S301 and S302 included by the embodiment of step S103 is shown in the embodiment.
In step S301, the second data dictionary of the corresponding relationship comprising transform coding and content is generated.
In step s 302, content corresponding with transform coding is obtained according to the second data dictionary.
In disclosure embodiment, by the second data word for generating the corresponding relationship comprising transform coding and content
Allusion quotation;Corresponding with transform coding content is obtained according to the second data dictionary, it is with strong points and neatly that Weather information can be based on
It obtains and exports content.Therefore, can and neatly recommendation with strong points to user based on Weather information, enhance user's body
It tests.When content to be output is commercial content, it can aid in businessman and obtain user's order.
Fig. 4 shows the structural block diagram of the content recommendation device according to one embodiment of the disclosure.The apparatus may include
One, which obtains module 401, second, obtains module 402, third acquisition module 403 and output module 404.
First acquisition module 401 is configured as obtaining Weather information.
Second acquisition module 402 is configured as pair according to the Weather information and transform coding recorded in the first data dictionary
It should be related to, obtain transform coding corresponding with Weather information.
Third obtains module 403 and is configured as closing according to the transform coding recorded in the second data dictionary is corresponding with content
System obtains content corresponding with transform coding.
Output module 404 is configured as exporting content acquired in the third acquisition module 403.
In one embodiment, the first acquisition module 401 is configured as:It is obtained by application programming interface from outside
Weather information.In the related art, API (Application Programming Interface, application programming interface)
It is some functions predetermined, it is therefore an objective to application program be provided and developer is based on certain software or hardware is able to one group of access
The ability of routine, and be not necessarily to access source code, or understand the details of internal work mechanism.It is referred to if program opening API
Open interface, to allow other people program that can call the program data of this program.For example, computer, mobile phone etc. have some USB to connect
Mouthful, it also may be considered that and opened interface have these interfaces that equipment can be used as to the function of slotting USB flash disk, charging etc.?
In this embodiment, Weather information can be obtained from other local or external programs by application programming interface.
In one embodiment, weather includes various states, for example, fine, cloudy, negative, shower, thunder shower, thunder shower companion
Have hail, rain and snow mixed, light rain, moderate rain, heavy rain, heavy rain, torrential rain, extra torrential rain, snow shower, slight snow, moderate snow, heavy snow, severe snow,
It is mist, sleet, sandstorm, light rain-moderate rain, moderate rain-heavy rain, heavy rain-heavy rain, heavy rain-torrential rain, torrential rain-extra torrential rain, small
Snow-moderate snow, moderate snow-heavy snow, heavy snow-severe snow, floating dust, sand, strong chromatic number, haze etc..In this embodiment, available expression
The Weather information of state of weather.For example, can be true from the Weather information that outside obtains from application programming interface is passed through
Determine the particular weather information of specific time.
In one embodiment, transform coding corresponding with Weather information can be the word for referring to particular weather information
Symbol or character string.For example, fine transform coding can be " 1 " or the characters such as " a " or " a1 " or character string, and cloudy conversion
Coding can be " 2 " or the characters such as " b " or " b2 " or character string, and negative transform coding can be " 3 " or the characters such as " c " or " c3 "
Or character string, and so on.It will be understood by those skilled in the art that Weather information and and weather in embodiment of the disclosure
The corresponding conversion coding of information is not limited to aforementioned exemplary.
In one embodiment, content corresponding with transform coding can be the relevant information of commodity or shopping etc,
The relevant information that can be tourist famous-city or dining room etc, is also possible to wear the clothes or the relevant information of carwash etc, can also be with
It is the relevant information of literature or art etc, is also possible to relevant information of living or studying etc, etc., is also possible to aforementioned
The combined information of these information.It will be understood by those skilled in the art that in the correspondence of the transform coding in embodiment of the disclosure
Appearance is not limited to aforementioned exemplary.
In one embodiment, content corresponding with transform coding is exported and is also considered commending contents to use
Family.
In the related art, data dictionary refers to the data item to data, data structure, data flow, data storage, processing
Logic, external entity etc. are defined and describe, and the purpose is to be described in detail to each element in data flowchart.
In brief, data dictionary is the information aggregate for describing data, is the collection to the definition of all data elements used in system
It closes.From another point of view, data dictionary is the catalogue of a kind of database of record that user is accessible and application metadata.
In one embodiment, the corresponding relationship of Weather information and transform coding is stored in the first data dictionary.
In one embodiment, in the first data dictionary, Weather information and transform coding are corresponded.For example,
In one data dictionary, the transform coding of Weather information " fine " is " 1 ", and the transform coding of Weather information " cloudy " is " 2 ", weather letter
The transform coding for ceasing " yin " is " 3 ", that is, each Weather information only has unique transform coding, and each transform coding
Correspond only to unique Weather information.In this way, each transform coding can be made to represent a specific Weather information, i.e., certain
Specific state of weather.
In one embodiment, the corresponding relationship of transform coding and content is stored in the second data dictionary.
In one embodiment, in the second data dictionary, transform coding corresponds at least one content, and/
Or at least one transform coding corresponds to a content.For example, in the second data dictionary, it is corresponding with Weather information " fine "
Transform coding " 1 " corresponds at least one content, a such as restaurant, a kind of clothing, a tourist attractions and a sport fortune
At least one of move.In another example in the second data dictionary, transform coding " 1 " corresponding with Weather information " fine " and with day
The corresponding transform coding " 2 " of gas information " cloudy " is all corresponding with a content, a such as restaurant, a kind of clothing, a tourism
One of sight spot and a sports.
In one embodiment, when content is commercial content, in the second data dictionary, a transform coding corresponds to
At least one commercial content and/or at least one transform coding correspond to a commercial content.For example, in the second data
In dictionary, transform coding " 1 " corresponding with Weather information " fine " corresponds to an outdoor cafe.In another example in the second data
In dictionary, transform coding " 15 " corresponding with Weather information " heavy snow " corresponds to a chafing dish restaurant.It is appreciated that when fine day
It is suitble to drink coffee in outdoor cafe, is suitble to when snowing heavily in chafing dish restaurant blocked shot, the output of this content is recommended,
It is targeted and flexible, and facilitates businessman and obtain user's order.In another example conversion corresponding with Weather information " fine "
It encodes " 1 " and corresponds to an outdoor cafe and a Forest Park.In another example conversion corresponding with Weather information " corresponding "
It encodes " 2 " and corresponds to a Forest Park.That is, the corresponding relationship of transform coding and content can be in the second data dictionary
Diversified, this is enhanced the specific aim of output or recommendation and flexibility.Those skilled in the art can manage
Solution, an aforementioned classification using commercial content as content is only example come the corresponding relationship for illustrating transform coding and content,
Content may include the content other than commercial content.
In embodiment of the disclosure, in the second data dictionary, a transform coding can correspond to one or more
Content, and/or one or more transform codings can correspond to a content.That is, can be between transform coding and content
There are one-to-one relationships, and there may also be non-one-to-one relationships, this allows for being compiled according to conversion corresponding with Weather information
It is targetedly and flexible when code output content.
In disclosure embodiment, module is obtained by first, is configured as obtaining Weather information;Second obtains mould
Block is configured as the corresponding relationship according to the Weather information and transform coding recorded in the first data dictionary, obtains and believes with weather
Cease corresponding transform coding;Third obtains module, is configured as according to the transform coding and content recorded in the second data dictionary
Corresponding relationship, obtain corresponding with transform coding content;Output module is configured as exporting the third and obtains module and obtained
The content taken, can be with strong points and neatly obtain and export content based on Weather information.Therefore, Weather information can be based on
And neatly recommendation with strong points to user enhances user experience.It, can when content to be output is commercial content
Facilitate businessman and obtains user's order.
Fig. 5 shows a reality of the second acquisition module 402 in the content recommendation device according to one embodiment of the disclosure
Apply mode structural block diagram.The first generation submodule included by the embodiment of the second acquisition module 402 is shown in the embodiment
Block 501 and the first acquisition submodule 502.
First generation submodule 501 is configurable to generate the first number of the corresponding relationship comprising Weather information and transform coding
According to dictionary.
First acquisition submodule 502 is configured as obtaining conversion volume corresponding with Weather information according to the first data dictionary
Code.
In disclosure embodiment, submodule is generated by first, is configurable to generate comprising Weather information and conversion
First data dictionary of the corresponding relationship of coding;First acquisition submodule is configured as according to the acquisition of the first data dictionary and institute
The corresponding transform coding of Weather information is stated, it can be with strong points and neatly obtain and export content based on Weather information.Therefore,
Can and neatly recommendation with strong points to user based on Weather information, enhance user experience.When content to be output
When being commercial content, it can aid in businessman and obtain user's order.
Fig. 6 shows one that the third in the content recommendation device according to the another embodiment of the disclosure obtains module 403
Embodiment structure block diagram.Third is shown in the embodiment obtains the second generation included by the embodiment of module 403
Module 601 and the second acquisition submodule 602.
Second generation submodule 601 is configurable to generate the second data word of the corresponding relationship comprising transform coding and content
Allusion quotation.
Second acquisition submodule 602 is configured as obtaining content corresponding with transform coding according to the second data dictionary.
In disclosure embodiment, submodule is generated by second, is configurable to generate comprising transform coding and content
Corresponding relationship the second data dictionary;Second acquisition submodule is configured as according to second data dictionary acquisition and institute
The corresponding content of transform coding is stated, it can be with strong points and neatly obtain and export content based on Weather information.It therefore, can be with
And neatly recommendation with strong points to user based on Weather information enhances user experience.When content to be output is quotient
When holding in the industry, it can aid in businessman and obtain user's order.
The foregoing describe the built-in function of content recommendation device and structures, in a possible design, the commending contents
The structure of device can realize as content recommendation apparatus, as shown in Figure 7, the processing equipment 700 may include processor 701 and
Memory 702.
The memory 702 supports content recommendation device to execute content recommendation method in any of the above-described embodiment for storing
Program, the processor 701 is configurable for executing the program stored in the memory 702.
The memory 702 is for storing one or more computer instruction, wherein one or more computer refers to
Order is executed by the processor 701.
The processor 701 is used to execute all or part of the steps in aforementioned approaches method step.
It wherein, can also include communication interface in the structure of the content recommendation apparatus, for content recommendation apparatus and its
His equipment or communication.
Disclosure exemplary embodiment additionally provides a kind of computer storage medium, for storing the content recommendation device
Computer software instructions used, it includes for executing program involved in content recommendation method in any of the above-described embodiment.
Fig. 8 is adapted for the structure for realizing the computer system of the content recommendation method according to one embodiment of the disclosure
Schematic diagram.
As shown in figure 8, computer system 800 includes central processing unit (CPU) 801, it can be read-only according to being stored in
Program in memory (ROM) 802 or be loaded into the program in random access storage device (RAM) 803 from storage section 808 and
Execute the various processing in above-mentioned embodiment shown in FIG. 1.In RAM803, be also stored with system 800 operate it is required each
Kind program and data.CPU801, ROM802 and RAM803 are connected with each other by bus 804.Input/output (I/O) interface 805
It is also connected to bus 804.
I/O interface 805 is connected to lower component:Importation 806 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 807 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 808 including hard disk etc.;
And the communications portion 809 of the network interface card including LAN card, modem etc..Communications portion 809 via such as because
The network of spy's net executes communication process.Driver 810 is also connected to I/O interface 805 as needed.Detachable media 811, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 810, in order to read from thereon
Computer program be mounted into storage section 808 as needed.
Particularly, according to embodiment of the present disclosure, it is soft to may be implemented as computer above with reference to Fig. 1 method described
Part program.For example, embodiment of the present disclosure includes a kind of computer program product comprising be tangibly embodied in and its readable
Computer program on medium, the computer program include the program code for executing the data processing method of Fig. 1.At this
In the embodiment of sample, which can be downloaded and installed from network by communications portion 809, and/or from can
Medium 811 is dismantled to be mounted.
Flow chart and block diagram in attached drawing illustrate system, method and computer according to the various embodiments of the disclosure
The architecture, function and operation in the cards of program product.In this regard, each box in course diagram or block diagram can be with
A part of a module, section or code is represented, a part of the module, section or code includes one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong
The dedicated hardware based system of defined functions or operations is executed to realize, and/or specialized hardware and meter can be used
The combination of calculation machine instruction is realized.
Being described in unit or module involved in disclosure embodiment can be realized by way of software, can also
It is realized in a manner of through hardware.Described unit or module also can be set in the processor, these units or module
Title do not constitute the restriction to the unit or module itself under certain conditions.
As on the other hand, the disclosure additionally provides a kind of computer readable storage medium, the computer-readable storage medium
Matter can be computer readable storage medium included in device described in above embodiment;It is also possible to individualism,
Without the computer readable storage medium in supplying equipment.Computer-readable recording medium storage has one or more than one journey
Sequence, described program is used to execute by one or more than one processor is described in disclosed method.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (10)
1. a kind of content recommendation method, which is characterized in that including:
Obtain Weather information;
According to the corresponding relationship of the Weather information and transform coding recorded in the first data dictionary, obtain and the Weather information pair
The transform coding answered;
According to the corresponding relationship of the transform coding and content recorded in the second data dictionary, obtain corresponding with the transform coding
Content;
The acquired content of output.
2. the method according to claim 1, wherein the acquisition Weather information, including:
Weather information is obtained from outside by application programming interface.
3. the method according to claim 1, wherein described according to the Weather information recorded in the first data dictionary
With the corresponding relationship of transform coding, transform coding corresponding with the Weather information is obtained, including:
Generate the first data dictionary of the corresponding relationship comprising Weather information and transform coding;
Transform coding corresponding with the Weather information is obtained according to first data dictionary.
4. the method according to claim 1, wherein described according to the transform coding recorded in the second data dictionary
With the corresponding relationship of content, content corresponding with the transform coding is obtained, including:
Generate the second data dictionary of the corresponding relationship comprising transform coding and content;
Content corresponding with the transform coding is obtained according to second data dictionary.
5. the method according to claim 1, wherein in first data dictionary, Weather information and conversion
Coding corresponds.
6. the method according to claim 1, wherein in second data dictionary, a transform coding pair
A content should be corresponded at least one content and/or at least one transform coding.
7. a kind of content recommendation device, which is characterized in that including:
First obtains module, is configured as obtaining Weather information;
Second obtains module, is configured as closing according to the Weather information recorded in the first data dictionary is corresponding with transform coding
System obtains transform coding corresponding with the Weather information;
Third obtains module, is configured as being obtained according to the corresponding relationship of the transform coding and content recorded in the second data dictionary
Take content corresponding with the transform coding;
Output module is configured as exporting content acquired in the third acquisition module.
8. device according to claim 7, which is characterized in that the first acquisition module is configured as:
Weather information is obtained from outside by application programming interface.
9. a kind of electronic equipment, which is characterized in that including memory and processor;Wherein, the memory is for storing one
Or a plurality of computer instruction, wherein one or more computer instruction is executed by the processor to realize that right such as is wanted
Seek the described in any item methods of 1-6.
10. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the computer instruction quilt
Processor realizes as the method according to claim 1 to 6 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810504013.0A CN108829741A (en) | 2018-05-23 | 2018-05-23 | Content recommendation method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810504013.0A CN108829741A (en) | 2018-05-23 | 2018-05-23 | Content recommendation method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108829741A true CN108829741A (en) | 2018-11-16 |
Family
ID=64148599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810504013.0A Pending CN108829741A (en) | 2018-05-23 | 2018-05-23 | Content recommendation method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829741A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104391911A (en) * | 2014-11-18 | 2015-03-04 | 北京奇虎科技有限公司 | Emotional weather dynamic interaction method, device, server and system |
CN104966200A (en) * | 2014-07-29 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for sending life product information based on meteorological indexes |
CN105808599A (en) * | 2014-12-31 | 2016-07-27 | 高德软件有限公司 | Information loading method and apparatus as well as electronic device |
US20170316101A1 (en) * | 2014-10-31 | 2017-11-02 | Piksel, Inc. | Content delivery system |
CN107727108A (en) * | 2017-09-30 | 2018-02-23 | 百度在线网络技术(北京)有限公司 | The recommendation method, apparatus and computer-readable medium of transit trip route |
-
2018
- 2018-05-23 CN CN201810504013.0A patent/CN108829741A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104966200A (en) * | 2014-07-29 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for sending life product information based on meteorological indexes |
US20170316101A1 (en) * | 2014-10-31 | 2017-11-02 | Piksel, Inc. | Content delivery system |
CN104391911A (en) * | 2014-11-18 | 2015-03-04 | 北京奇虎科技有限公司 | Emotional weather dynamic interaction method, device, server and system |
CN105808599A (en) * | 2014-12-31 | 2016-07-27 | 高德软件有限公司 | Information loading method and apparatus as well as electronic device |
CN107727108A (en) * | 2017-09-30 | 2018-02-23 | 百度在线网络技术(北京)有限公司 | The recommendation method, apparatus and computer-readable medium of transit trip route |
Non-Patent Citations (1)
Title |
---|
包磊: "《作战数据管理》", 30 June 2015 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618222B (en) | A kind of splicing video generation method, device, terminal device and storage medium | |
Machin | Building the world’s visual language: The increasing global importance of image banks in corporate media | |
CN109688463A (en) | A kind of editing video generation method, device, terminal device and storage medium | |
CN104756150B (en) | It is depth buffered | |
WO2021135319A1 (en) | Deep learning based text generation method and apparatus and electronic device | |
CN109685137A (en) | A kind of topic classification method, device, electronic equipment and storage medium | |
CN109814866A (en) | Page application is converted into the treating method and apparatus of native applications | |
CN111553012A (en) | Home decoration design method and device, electronic equipment and storage medium | |
CN109993568A (en) | The method and apparatus of information push | |
CN109376268A (en) | Video classification methods, device, electronic equipment and computer readable storage medium | |
CN104125480B (en) | Improved code conversion administrative skill | |
CN109783749A (en) | A kind of Material for design intelligent recommendation method, apparatus and terminal device | |
CN110309316A (en) | A kind of determination method, apparatus, terminal device and the medium of knowledge mapping vector | |
Hildebrand | Modal media: Connecting media ecology and mobilities research | |
CN108369806A (en) | Configurable all-purpose language understands model | |
CN109697292A (en) | A kind of machine translation method, device, electronic equipment and medium | |
CN105074772A (en) | Improved multi-sampling anti-aliasing compression by use of unreachable bit combinations | |
CN109582882A (en) | Search result shows method, apparatus and electronic equipment | |
CN110399847A (en) | Extraction method of key frame, device and electronic equipment | |
CN108269275A (en) | A kind of non local modeling method based on non local neural network | |
CN109491742A (en) | Page tabular rendering method and device | |
CN111723289B (en) | Information recommendation method and device | |
CN114943006A (en) | Singing bill display information generation method and device, electronic equipment and storage medium | |
CN110188782A (en) | Image similarity determines method, apparatus, electronic equipment and readable storage medium storing program for executing | |
CN110070042A (en) | Character recognition method, device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |
|
RJ01 | Rejection of invention patent application after publication |