Background technology
Enquiring telephone number, understanding company information is requisite thing in people's daily life, and along with the raising of development of science and technology and people's living standard, the inquiry mode of Yellow Page is variation day by day, Query Information also becomes increasingly abundant.The inquiry mode of present modal yellow page information has following three kinds:
Browse the yellow page information book, obvious this method efficient is not high, and thick yellow page information book is not portable, and coverage information is limited, and content is difficult for change in time.
Electronic yellow page query, this method inquiry velocity is very fast, and Query Information is abundant, but because the online inquiry, must rely on computer could operate, and increases the threshold of expense and use.
114 sound Yellow Pages are the inquiry that the client provides all kinds of telephone numbers in the mode of call voice, and this service need be collected communication fee, and Query Information is limited, often because of expressing unintelligible or mistake is listened the inaccurate information that obtains.
Now, with the digital technology is the rapid development of information technology of core, caused the revolution of television transmission technology and mode, digital television techniques and function are maked rapid progress, digital TV set-top box or the digital television that is embedded with set-top box functionality constantly develop, hardware supports is more and more, and function provides from strength to strength.And along with the continuous development of Digital Television hardware device and software systems, the application of Digital Television also more and more widely, function also more trends towards satisfying user's various demands.Present bi-directional set-top box can according to user's request meet consumers' demand interactive, but present digital television system does not provide a technology of finishing to the user, make things convenient for the user to inquire about relevant electronic yellow page demand by digital television system, existing digital television system can not well meet user needs, thereby can reduce user's Experience Degree.
Summary of the invention
The object of the present invention is to provide a kind of electronic yellow page query system, be intended to satisfy digital cable customers is realized electronic yellow page query by television channel application requirements based on bi-directional set-top box.
In order to realize foregoing invention, the embodiment of the invention provides a kind of electronic yellow page query system based on bi-directional set-top box, and described system comprises:
Bi-directional set-top box is used to receive the electronic yellow page query request that the user sends, and described electronic yellow page query request is sent to the electronic yellow page query server; After receiving the scene description document SDF of electronic yellow page query server, described SDF is resolved, and be shown to the digital cable customers end according to described electronic yellow page query request transmission;
The electronic yellow page query server is used to receive the electronic yellow page query request that bi-directional set-top box sends, and inquires about the associated electrical yellow page information according to described electronic yellow page query request by RMI RMI in electronic yellow page information server;
Electronic yellow page information server is used to store the associated electrical yellow page information, and the yellow page information content of inquiry service is provided for electronic yellow page query system.
Described bi-directional set-top box is by the SDF in the SDF resolver SDF_PLAYER resolution system, and the reception user is by the electronic yellow page query request of T9 input method transmission.
Described system also comprises a Service Process Server, be used to receive and resolve the electronic yellow page query request that bi-directional set-top box sends, and the electronic yellow page query request after will resolving returns to the electronic yellow page query server, and electronic yellow page query server lookup result is returned to bi-directional set-top box in the mode of Web response.
Service Process Server adopts the J2EE architecture, is made up of network layer assembly and service application layer assembly.Described network layer assembly is Servlet or CGI, is used to receive and resolve the electronic yellow page query request that bi-directional set-top box sends; The service application layer assembly is EJB, realizes the Business Processing of electronic yellow page query channel.
Described system also comprises an identity authentication module, is used to authenticate the sign of this electronic yellow page query channel client terminal; After the ID authentication success of authentication module to described client, the electronic yellow page query server could be accepted the electronic yellow page query request of described bi-directional set-top box.
Described query requests comprises: a kind of in the company information of required inquiry, product category information, regional area information, telephone number information, the zip code information or their combination.
Implement the embodiment of the invention, have following beneficial effect:
Realized the electronic yellow page query business of digital home by implementing the present invention, the user of digital home can realize electronic yellow page query by digital television system, be the user of the digital home corporation information query service efficiently of providing convenience, widened digital home's scope of business, increased the use crowd of electronic yellow page information inquiry, reduce the expense of yellow page information inquiry and used threshold, satisfied the user's request degree, increased user experience.
Embodiment
Describe the embodiment of the invention in detail below in conjunction with accompanying drawing.
Fig. 1 shows the system architecture diagram of the digital television system in the embodiment of the invention, this digital television system comprises: Digital Television 101, Digital Television 108, Digital Television 105 or the like, Digital Television in this system is linked in the digital television system by bi-directional set-top box and goes, bi-directional set-top box 102 as shown in FIG., bi-directional set-top box 104, bi-directional set-top box 107 or the like, this system also is provided with electronic yellow page query server 103 and electronic yellow page information server 106 or the like, and is concrete:
Bi-directional set-top box (as bi-directional set-top box among the figure 102, bi-directional set-top box 104, bi-directional set-top box 107 or the like) is used to receive the electronic yellow page query request that the user sends, and this electronic yellow page query request is sent to electronic yellow page query server 103; After receiving the scene description document (SDF) of electronic yellow page query server 103 according to described electronic yellow page query request transmission, this SDF is resolved, and be shown to digital cable customers end (as digital TV 101, Digital Television 108, Digital Television 105 or the like); Concrete, this bi-directional set-top box is by the SDF in SDF resolver (SDF_PLAYER) resolution system, and the reception user is by the electronic yellow page query request of T9 input method transmission;
Electronic yellow page query server 103 is used to receive the electronic yellow page query request that bi-directional set-top box sends, and inquires about the associated electrical yellow page information according to the electronic yellow page query request by RMI (RMI) in electronic yellow page information server 106;
Electronic yellow page information server 106 is used to store the associated electrical yellow page information, and the yellow page information content of inquiry service is provided for electronic yellow page query system.
Concrete, Fig. 2 shows in the embodiment of the invention based on another configuration diagram of electronic yellow page query system of bi-directional set-top box, and this system comprises:
The electronic yellow page query channel client terminal here is made up of bi-directional set-top box and Digital Television two parts.Bi-directional set-top box is resolved the SDF file of electronic yellow page query channel, on Digital Television, present television image, the television image content comprises each series advertisements, electronic yellow page navigation and electronic yellow page query interface etc., thereby the client end interface of electronic yellow page query input is provided for the user of digital home.Bi-directional set-top box uses middleware SDF_PLAYER, is used to resolve the SDF language, and intelligent input method T9 input method is provided).SDF (SceneDescription File) claims scene description document again, is a kind of based on descriptive language in the middle of the operating process of set-top box, supports element types such as picture, video, literal and input frame.The bi-directional set-top box that with SDF_PLAYER is middleware just can present the television channel picture by resolving the SDF file on Digital Television.Digital cable customers is selected inquiry mode by remote controller in the electronic yellow page query interface, and use the T9 Chinese character coding input method in corresponding input frame the input inquiry keyword and click " inquiry " button after, bi-directional set-top box just sends the electronic yellow page query request to Service Process Server, and solicited message comprises corresponding key word of the inquiry under inquiry mode that this user selects and this mode.Present television image on Digital Television, the television image content comprises each series advertisements, electronic yellow page navigation and electronic yellow page query interface etc.The user of digital home selects inquiry mode by remote controller in the electronic yellow page query interface, and in corresponding input frame the input inquiry keyword.Bi-directional set-top box uses http protocol to send the electronic yellow page query request to Service Process Server, and solicited message comprises corresponding key word of the inquiry under inquiry mode that this user selects and this mode.
The Service Process Server here receives and resolves the electronic yellow page query request that bi-directional set-top box sends, and calls corresponding channel service module and handles.Service Process Server adopts the J2EE architecture, form by Web layer assembly and service application layer assembly, the Web layer assembly is Servlet or CGI, be mainly used in and receive and resolve the electronic yellow page query request that bi-directional set-top box sends, call corresponding channel service module and handle, and the result of business module is returned to bi-directional set-top box in the mode that Web responds.The service application layer assembly is EJB, has encapsulated the Business Processing of channel.Electronic yellow page query EJB handles the business of electronic yellow page query channel, by the querying method of far call method (RMI) far call electronic yellow page query server.Comprise corresponding key word of the inquiry under inquiry mode that the user selects and this mode to the parameter of electronic yellow page query server transmission in the far call process.The Service Process Server end can also comprise an authentication module in addition, be used to authenticate the sign of this electronic yellow page query channel client terminal, have only after the sign of client obtains confirming, this Service Process Server could be accepted the electronic yellow page information inquiry instruction of this client.
The electronic yellow page query server here comprises RMI module and electronic yellow page information inquiry module.The service of the electronic yellow page information query method on this server of far call is provided to Service Process Server by the RMI server, electronic yellow page information inquiry module is searched electronic yellow page information server according to the electronic yellow page query mode that the user selects with the key word of the inquiry under this inquiry mode, and obtains the company information relevant with key word of the inquiry.Electronic yellow page information inquiry module is divided into 6 submodules according to the difference of inquiry mode: enterprise name enquiry module, product category enquiry module, regional enquiry module, postcode enquiry module, industry enquiry module and comprehensive inquiry module.Wherein the enterprise name enquiry module is according to the enterprise name inquiry company information relevant with this enterprise name of user's input, the product category enquiry module is according to the product category inquiry company information relevant with this product category of user's input, the area enquiry module is according to the company information in the inquiring region information this area of user's input, the postcode enquiry module is according to the company information in this postcode scope of postcode information inquiry of user's input, the industry enquiry module is according to the company information of trade information inquiry the sector of user's input, and the comprehensive inquiry module is according to the enterprise name that comprises of user's input, industry, product category, the integrated information inquiry character of area and postcode information is should the company information of integrated information condition.
This electronic yellow page information server storage enterprise customer's various log-on messages, enterprise name for example, telephone number, address etc., just store the Yellow Page data, and the operations such as increase, deletion, modification and inquiry of Yellow Page data are provided, can adopt types of databases tissue such as Oracle, SQL Server, DB2, MySQL and preserve the electronic yellow page data.
Accordingly, according to the system architecture diagram among Fig. 2, Fig. 3 shows the electronic yellow page query method flow diagram based on bi-directional set-top box under this system architecture, comprises the steps:
S301, user select the electronic yellow page query channel, and bi-directional set-top box is written into and resolves the SDF file of electronic yellow page query channel, and Digital Television presents electronic yellow page query channel client terminal interface.
S302, user select the inquiry mode of electronic yellow page information by remote controller, use T9 Chinese character coding input method input inquiry keyword in the input frame of this inquiry mode correspondence, finish the input back and click " inquiry " button.Bi-directional set-top box uses http protocol to send the electronic yellow page query request to Service Process Server, and solicited message comprises corresponding key word of the inquiry under inquiry mode that this user selects and this mode.
The electronic yellow page query request that the Web layer assembly Servlet of S303, Service Process Server or CGI receiving set up box transmit, and resolve, determine the channel processing module that query requests is handled.
The Web layer assembly Servlet of S304, Service Process Server or CGI call the business that electronic yellow page query EJB handles the electronic yellow page query channel.
S305, electronic yellow page query EJB are by the querying method of RMI technology far call electronic yellow page query server, and this method is transmitted two parameters, comprises inquiry mode and key word of the inquiry.
The inquiry mode that S306, electronic yellow page query server are selected according to the user is selected corresponding electronic yellow page information inquiry module and is carried out.
The key word of the inquiry that S307, electronic yellow page information inquiry module provide according to the user is searched the electronic yellow page information database, and obtains the company information relevant with key word of the inquiry.
The electronic yellow page information inquiry module of S308, electronic yellow page query server is to the electronic yellow page query EJB of Service Process Server return electron inquiry of the yellow page result.
The Servlet of S309, Service Process Server is to set-top box return electron inquiry of the yellow page result, and Query Result is presented on the digital TV picture.
To sum up, realized the electronic yellow page query business of digital home by implementing the present invention, the user of digital home can realize electronic yellow page query by digital television system, be the user of the digital home corporation information query service efficiently of providing convenience, widened digital home's scope of business, increased the use crowd of electronic yellow page information inquiry, reduced the expense of yellow page information inquiry and used threshold, satisfy the user's request degree, increased user experience.
Above disclosed is a kind of preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.