Server, display device, and ticket information processing method

By combining ticket information and weather information in the server of the smart TV, the problem of insufficient information in the smart TV ticketing function is solved, improving the user experience and optimizing the server load.

CN114416777BActive Publication Date: 2025-07-04HISENSE ELECTRONIC TECH (WUHAN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210052329.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-18
Publication Date
2025-07-04
Estimated Expiration
2042-01-18

AI Technical Summary

Technical Problem

The amount of ticket information feedback in the ticketing function of smart TVs is small, resulting in poor user experience.

Method used

The server receives ticket query instructions from the display device, analyzes the information slot to obtain ticket checking parameters, obtains weather query entry parameters through standardized address and time information, and combines the weather information into the ticket information and feedbacks it to the user.

Benefits of technology

When querying tickets, users can understand the weather information of the departure and destination at the same time, which improves the user experience and reduces the pressure on requesting the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114416777B_ABST
    Figure CN114416777B_ABST
Patent Text Reader

Abstract

The present application discloses a server, a display device, and a ticket information processing method, including: receiving a ticket query instruction sent by the display device for querying ticket information; analyzing information slots according to the ticket query instruction to obtain ticket checking input parameters; obtaining ticket information according to the ticket checking input parameters, and performing standardization processing on the address information and time information in the ticket input parameters to obtain weather query input parameters; obtaining weather information according to the weather query input parameters, and merging the weather information into the ticket information to obtain ticket information; and feeding back the ticket information to the display device so that the display device can display the ticket information to the user. In the present application, the server can feedback the ticket information and the weather information to the user at the same time, enabling the user to understand the weather information of the departure place and the destination when traveling while querying the ticket information, thereby improving the user experience. The present application feedbacks the weather information while feedbacking the ticket information to the user, which can avoid causing greater request pressure on the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technologies, and in particular, to a server, a display device, and a ticket information processing method. Background Art

[0002] An intelligent TV is a TV product that can implement two-way human-computer interaction functions and integrates various functions such as audio-visual, entertainment, and data. The user interface of the intelligent TV is used as a medium for interaction and information exchange between it and the user. To meet the diverse needs of users, various application programs or functions such as audio-visual and entertainment are correspondingly displayed. The intelligent TV is connected to the background server to meet the personalized needs of users. For example, a ticket function is developed and set on the intelligent TV, and users can perform operations such as ticket checking and booking through the ticket function on the intelligent TV. Currently, when a user performs a ticket checking operation through an intelligent TV, the intelligent TV only feeds back basic ticket information such as the departure place, destination, and time, with less information, resulting in a poor user experience. Summary of the Invention

[0003] This application provides a server, a display device, and a ticket information processing method to solve the technical problem in the related art that the amount of ticket information fed back in the ticket function of an intelligent TV is less, resulting in a poor user experience.

[0004] To solve the above technical problem, the embodiments of this application disclose the following technical solutions:

[0005] In a first aspect, the embodiments of this application disclose a server, which is configured to:

[0006] Receive a ticket query instruction sent by a display device for querying ticket information;

[0007] Analyze information slots according to the ticket query instruction to obtain ticket checking input parameters, where the ticket checking input parameters include address information, time information, and ticket type information;

[0008] Obtain ticket information according to the ticket checking input parameters, and perform standardization processing on the address information and the time information to obtain weather query input parameters;

[0009] Obtain weather information according to the weather query input parameters, and merge the weather information into the ticket information to obtain ticket information;

[0010] Feed back the ticket information to the display device so that the display device can display the ticket information to the user.

[0011] In a second aspect, the embodiments of this application disclose a display device, including:

[0012] A display;

[0013] A controller, the controller is communicatively connected to the display, and the controller is configured to:

[0014] Receive a ticket query instruction input by a user, and send the ticket query instruction to the server;

[0015] Receive the ticket information fed back by the server according to the ticket query instruction, wherein the ticket information includes ticket information and weather information, and the ticket information contains the departure place and the destination;

[0016] Control the display to display the ticket information on the ticket query interface, and in the display area showing the departure place and the destination, correspondingly display the corresponding weather information

[0017] In a third aspect, an embodiment of the present application discloses a display device, including:

[0018] A display;

[0019] A controller, the controller is communicatively connected to the display, and the controller is configured to:

[0020] Receive a ticket query instruction input by a user, and send the ticket query instruction to the server;

[0021] Receive the ticket information fed back by the server according to the ticket query instruction, and the ticket information includes ticket information and weather information;

[0022] Control the display to display the ticket information on the ticket query interface;

[0023] Receive a selection operation of any train number in the ticket information by the user, control the display to jump from the ticket query interface to the ticket details interface, and display the details information of the train number corresponding to the selection operation and the weather information in the ticket details interface, wherein the details information includes the ticket price and a purchase control, and the purchase control is used to guide the user to pay the fee.

[0024] In a fourth aspect, an embodiment of the present application discloses a ticket information processing method, and the method includes:

[0025] Receive a ticket query instruction for querying ticket information sent by a display device;

[0026] Analyze information slots according to the ticket query instruction to obtain ticket checking input parameters, and the ticket checking input parameters include address information, time information, and ticket type information;

[0027] Obtain ticket information according to the ticket checking input parameters, and perform normalization processing on the address information and the time information to obtain weather query input parameters;

[0028] Obtain weather information according to the input parameters of the weather query, and merge the weather information into the ticket information to obtain ticket-related information;

[0029] Feed back the ticket-related information to the display device so that the display device can display the ticket-related information to the user.

[0030] Compared with the prior art, the beneficial effects of the present application are as follows:

[0031] The present application provides a server, a display device, and a method for processing ticket-related information. When a user queries a ticket through the display device, the user can send a ticket query instruction to the display device. After receiving the ticket query instruction sent by the user, the display device feeds back the ticket query instruction to the server. The server analyzes and processes the ticket query instruction, parses the ticket query input parameters from the instruction, and obtains ticket information according to the ticket query input parameters. At the same time, the server standardizes the address information and time information in the ticket query input parameters to obtain weather query input parameters, and obtains weather information according to the weather query input parameters. Finally, the server aggregates the ticket information and the weather information into ticket-related information, and feeds back the ticket-related information to the display device. The display device displays the ticket-related information to the user. In the present application, the server can feedback the ticket information and the weather information to the user at the same time, enabling the user to learn the weather information of the departure place and the destination place when traveling while querying the ticket information, thus enhancing the user experience. In addition, when the user queries the ticket and considers traveling, if there is no weather information, the user will send requests multiple times to obtain the corresponding weather conditions. The present application feeds back the weather information while feeding back the ticket information to the user, which can avoid causing greater request pressure on the server.

[0032] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0034] Figure 1 Exemplarily shown is a schematic diagram of an operation scenario between a display device and a control device according to some embodiments;

[0035] Figure 2 Exemplarily shown is a hardware configuration block diagram of a control device 100 according to some embodiments;

[0036] Figure 3 Exemplarily shown is a hardware configuration block diagram of a display device 200 according to some embodiments;

[0037] Figure 4 Exemplarily shown is a schematic diagram of software configuration in a display device 200 according to some embodiments;

[0038] Figure 5 Exemplarily shown is a flowchart example of a ticket information processing method according to some embodiments;

[0039] Figure 6 Exemplarily shown is an overall logic diagram of a ticket information processing method according to some embodiments;

[0040] Figure 7 Exemplarily shown is a schematic diagram of the display effect of a ticket query interface in a display device 200 according to some embodiments;

[0041] Figure 8 Exemplarily shown is a schematic diagram of the display effect of a ticket details interface in a display device 200 according to some embodiments;

[0042] Figure 9 Exemplarily shown is a schematic diagram of the display effect of a weather pop-up window in a display device 200 according to some embodiments;

[0043] Figure 10 Exemplarily shown is a schematic diagram of the display effect of another ticket query interface in a display device 200 according to some embodiments. Detailed implementation manners

[0044] To make the objectives and implementation manners of this application clearer, the following will clearly and completely describe the exemplary implementation manners of this application with reference to the accompanying drawings in the exemplary embodiments of this application. Obviously, the described exemplary embodiments are only a part of the embodiments of this application, rather than all of the embodiments.

[0045] It should be noted that the brief description of the terms in this application is only for facilitating the understanding of the following described implementation manners, rather than intending to limit the implementation manners of this application. Unless otherwise specified, these terms should be understood in their ordinary and general meanings.

[0046] The terms "first", "second", "third", etc. in the specification, claims and the above-mentioned accompanying drawings of this application are used to distinguish similar or like objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that such used terms can be interchanged under appropriate circumstances.

[0047] The terms "comprising" and "having" and any variations thereof are intended to cover inclusion without exclusion. For example, a product or device that comprises a series of components need not be limited to all the components clearly listed, but may include other components not clearly listed or inherent to such products or devices.

[0048] The term "module" refers to any known or later-developed hardware, software, firmware, artificial intelligence, fuzzy logic, or a combination of hardware and / or software code that can perform functions related to that element.

[0049] Figure 1 It is a schematic diagram of the operation scenario between the display device and the control device according to the embodiment. As Figure 1 shown, the user can operate the display device 200 through the smart device 300 or the control device 100.

[0050] In some embodiments, the control device 100 can be a remote control. The communication between the remote control and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 wirelessly or wiredly. The user can input user instructions through the buttons on the remote control, voice input, control panel input, etc. to control the display device 200.

[0051] In some embodiments, the smart device 300 (such as a mobile terminal, a tablet computer, a computer, a laptop, etc.) can also be used to control the display device 200. For example, an application program running on the smart device is used to control the display device 200.

[0052] In some embodiments, the display device 200 can also be controlled in ways other than the control device 100 and the smart device 300. For example, it can directly receive the user's voice instructions through a module for obtaining voice instructions configured inside the display device 200, or receive the user's voice instructions through a voice control device set outside the display device 200.

[0053] In some embodiments, the display device 200 also conducts data communication with the server 400. The display device 200 is allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 can provide various contents and interactions to the display device 200. The server 400 can be a cluster or multiple clusters, and can include one or more types of servers.

[0054] Figure 2 Exemplarily shown is a configuration block diagram of the control device 100 according to an exemplary embodiment. As Figure 2As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive input operation instructions from a user and convert the operation instructions into instructions recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.

[0055] Figure 3 The hardware configuration block diagram of the display device 200 according to an exemplary embodiment is shown.

[0056] In some embodiments, the display device 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0057] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and first to n interfaces for input / output.

[0058] In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving image display, which is used to receive an image signal output from the controller and display video content, image content, a menu control interface, and a user control UI interface.

[0059] In some embodiments, the display 260 can be a liquid crystal display, an OLED display, or a projection display, and can also be a projection device and a projection screen.

[0060] In some embodiments, the communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example, the communicator can include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish the sending and receiving of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.

[0061] In some embodiments, the user interface can be used to receive control signals from the control device 100 (such as an infrared remote controller, etc.).

[0062] In some embodiments, the detector 230 is used to collect signals of the external environment or for external interactions. For example, the detector 230 includes a light receiver, a sensor for collecting the ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures. Or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.

[0063] In some embodiments, the external device interface 240 may include, but is not limited to, the following: any one or more interfaces such as a High-Definition Multimedia Interface (HDMI), an analog or data High-Definition Component Input Interface (Component), a Composite Video Input Interface (CVBS), a USB Input Interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.

[0064] In some embodiments, the tuner demodulator 210 receives broadcast television signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals.

[0065] In some embodiments, the controller 250 and the tuner demodulator 210 may be located in different separate devices, that is, the tuner demodulator 210 may also be in an external device of the main device where the controller 250 is located, such as an external set-top box, etc.

[0066] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.

[0067] In some embodiments, the object may be any one of the selectable objects, such as a hyperlink, an icon, or other operable controls. Operations related to the selected object include: operations such as displaying a page, document, image, etc. connected to the hyperlink, or executing an operation corresponding to the icon.

[0068] In some embodiments, the controller includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a Random Access Memory (RAM), a Read-Only Memory (ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.

[0069] A CPU processor is used to execute the operating system and application program instructions stored in the memory, and execute various application programs, data, and content according to various interaction instructions received from external inputs, so as to finally display and play various audio and video contents. The CPU processor may include multiple processors. For example, it includes a main processor and one or more sub-processors.

[0070] In some embodiments, a graphics processor is used to generate various graphic objects, such as icons, operation menus, and graphic displays of user input instructions, etc. The graphics processor includes an arithmetic unit that performs operations by receiving various interaction instructions input by the user and displays various objects according to display attributes; it also includes a renderer that renders various objects obtained based on the arithmetic unit, and the rendered objects are used to be displayed on the display.

[0071] In some embodiments, a video processor is used to receive an external video signal and perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal, and a signal that can be directly displayed or played on the display device 200 can be obtained.

[0072] In some embodiments, the video processor includes a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, etc. Among them, the demultiplexing module is used to perform demultiplexing processing on the input audio and video data stream. The video decoding module is used to process the demultiplexed video signal, including decoding and scaling processing, etc. The image synthesis module, such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator according to user input or generated by itself with the video image after scaling processing to generate an image signal for display. The frame rate conversion module is used to convert the input video frame rate. The display formatting module is used to change the received video output signal after frame rate conversion to a signal that conforms to the display format, such as outputting an RGB data signal.

[0073] In some embodiments, an audio processor is used to receive an external audio signal and perform decompression, decoding, noise reduction, digital-to-analog conversion, and amplification processing, etc. according to the standard codec protocol of the input signal to obtain a sound signal that can be played in the speaker.

[0074] In some embodiments, if a user enters a user command through the graphical user interface (GUI) that can be displayed on the display 260, the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, if the user can input a user command by inputting a specific sound or gesture, the user input interface receives the user input command by recognizing the sound or gesture through a sensor.

[0075] In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The common manifestation form of a user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations displayed in a graphical manner. It can be an interface element such as an icon, a window, a control, etc. displayed on the display screen of an electronic device, where the control can include visible interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc.

[0076] In some embodiments, the system of a display device may include a kernel, a command parser (shell), a file system, and applications. The kernel, shell, and file system together form the basic operating system structure, which allows users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts the hardware, initializes the hardware parameters, etc., and runs and maintains virtual memory, a scheduler, signals, and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. The applications are compiled into machine code after startup to form a process.

[0077] See Figure 4 , in some embodiments, the system is divided into four layers, from top to bottom are the application layer (abbreviation "application layer"), the application framework layer (abbreviation "framework layer"), the Android runtime and the system library layer (abbreviation "system runtime library layer"), and the kernel layer.

[0078] In some embodiments, at least one application runs in the application layer. These applications can be window programs, system setting programs, or clock programs, etc. that come with the operating system; they can also be applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.

[0079] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center, which decides the actions of the applications in the application layer. Applications can access the resources in the system and obtain the services of the system through the API interface during execution.

[0080] Such asFigure 4 As shown in the figure, in the embodiment of the present application, the application framework layer includes Managers, Content Provider, etc. Among them, the Managers include at least one of the following modules: ActivityManager is used to interact with all the activities running in the system; Location Manager is used to provide access to the system location service for system services or applications; Package Manager is used to retrieve various information related to the application packages currently installed on the device; NotificationManager is used to control the display and clearing of notification messages; Window Manager is used to manage the icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0081] In some embodiments, the ActivityManager is used to manage the life cycles of various applications and the general navigation back function, such as controlling the exit, opening, and back of applications. The Window Manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, taking screenshots, and controlling the changes of the display window (such as shrinking the display window, jittering the display, distorting the display, etc.).

[0082] In some embodiments, the system runtime library layer provides support for the upper layer, i.e., the framework layer. When the framework layer is used, the Android operating system will run the C / C++ libraries included in the system runtime library layer to implement the functions that the framework layer needs to achieve.

[0083] In some embodiments, the kernel layer is the layer between hardware and software. As Figure 4 shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor drivers (such as fingerprint sensors, temperature sensors, pressure sensors, etc.), and power driver, etc.

[0084] The hardware or software architecture in some embodiments can be based on the introduction in the above embodiments. In some embodiments, it can be based on other similar hardware or software architectures, as long as the technical solutions of the present application can be implemented.

[0085] Based on the above display device 200, in order to meet the user's intelligent needs for the display device, a ticketing function is developed and set in the display device 200. The display device 200 is communicatively connected to the server 400. Users can perform operations such as ticket checking and booking through the ticketing function on the display device 200. The display device 200 requests corresponding ticket data from the server 400 for display based on the user's ticket checking and booking requirements.

[0086] In some embodiments, the display device 200 can develop a ticket booking function based on HTML5 page development, encapsulate the developed H5 page into the native framework through an interface, or develop a ticket booking application (APP). Currently, when the user performs a ticket query operation through the display device 200, the display device 200 only feeds back basic ticket information such as the departure place, destination, and time, with less information, resulting in a poor user experience. To improve the user experience, some embodiments of the present application provide a server, a display device, and a ticket information processing method.

[0087] In some embodiments, when the user has a travel need and wants to query or book tickets, they can perform a ticket query through the ticket function in the display device 200. The user activates the ticket function in the display device 200 and sends a ticket query instruction to the display device 200, which includes information such as the departure place, destination, and time of the tickets they want to query.

[0088] In some embodiments, the user can achieve the purpose of ticket query and booking by performing voice interaction with the display device 200. For example, after the user inputs the wake-up word "Hi! XX" to the display device 200 or presses the voice input button on the remote control, the display device 200 activates the voice application installed in the device to enable a multi-round voice interaction process with the user. The user continues to input the voice instruction "I want to query tickets", triggering the display device 200 to activate the ticket function. The display device 200 can continue to perform voice interaction with the user, asking questions such as "When do you want to query tickets?", "What are your departure place and destination respectively?", and "What type of tickets do you want?", etc. The above questions can be asked according to the feedback information of the user.

[0089] In some embodiments, the display device 200 can integrate a sound collection and voice parsing function. Among them, the sound collection function is to receive the voice message sent by the user, and the voice parsing function refers to extracting the key part of the voice message sent by the user. This key part can reflect the user's intention or what they want to do. After parsing the user's intention, it is converted into a voice instruction, that is, a ticket query instruction. This ticket query instruction can be an instruction format that can be executed by agreement between the display device 200 and the server 400. After being converted into a voice instruction, the display device 200 sends the voice instruction to the server 400 for the server 400 to receive. In some embodiments, the display device 200 can also only perform sound collection and send the received voice message sent by the user to the server 400 for the server 400 to perform voice parsing.

[0090] In some embodiments, the user can also press the direction button and the confirmation button on the remote control to select the letter controls on the virtual keyboard of the display device 200 in sequence, and spell out the intention to do so through letters. The display device 200 converts the ticket inquiry intention manually input by the user into a ticket inquiry instruction and sends it to the server 400.

[0091] The following describes the ticket information processing process provided by some embodiments of the present application in conjunction with the accompanying drawings.

[0092] Figure 5 The example flow chart of the ticket information processing method according to some embodiments is shown in FIG. Figure 5 The process of ticket information processing method. Figure 5 , the ticket information processing process is as follows:

[0093] S501: receiving a ticket query instruction for querying ticket information sent by a display device.

[0094] In some embodiments, after the display device 200 sends a ticket query instruction to the server 400 based on the user's ticket query requirements, the server 400 receives the ticket query instruction sent by the display device 200 and performs a ticket query function according to the instruction to feedback corresponding ticket information to the display device 200.

[0095] S502: Analyze the information slot according to the ticket query instruction to obtain ticket query input parameters, which include address information, time information and ticket type information.

[0096] In some embodiments, if the ticket query instruction is input to the display device 200 via user voice, the server 400 controls natural language processing and analyzes the information slots in the ticket query instruction to obtain ticket query input parameters.

[0097] In some embodiments, after receiving the ticket query instruction, the server 400 performs intent extraction, that is, analyzes the meaning to be expressed or the purpose to be achieved from the user's words. For example, the user enters a voice instruction: "I want to buy a train ticket", and analyzes that the user's intention is to buy a train ticket. The server 400 analyzes the information slot according to the ticket query instruction and extracts the ticket query input. For example, the user enters a voice instruction: "I want to buy a ticket from City A to City B", and the server 400 analyzes and obtains that the user's intention is to buy a ticket, and the address information is City A and City B, where the departure place is City A and the destination is City B. After multiple rounds of dialogue with the user, the user is guided to enter "high-speed rail ticket" and "depart tomorrow" and other content, and the server 400 can obtain from it that the ticket type is a high-speed rail ticket and the time information is tomorrow.

[0098] S503: Obtain ticket information according to the ticket inspection input parameters, and standardize the address information and the time information to obtain weather query input parameters.

[0099] In some embodiments, the server 400 inputs the analyzed ticket inspection input parameters into the XX engine to obtain ticket information. For example, the server 400 inputs "Tickets from City A to City B on December 20, 2021" into the XX engine, and the XX engine can feedback all the ticket information from City A to City B on December 20, 2021 to the server 400. Here, the ticket information refers to basic information such as train numbers, departure locations, destinations, departure times, arrival times, etc.

[0100] Currently, when the server 400 feedbacks the above basic ticket information, the user also needs to know the weather conditions of the departure location and the destination on the departure day to facilitate preparing clothes, daily necessities, etc. for the trip according to the weather conditions. Therefore, the user usually needs to separately send a weather query instruction to the server 400 through the display device 200 to make the server 400 feedback the weather information of the departure location and the destination on the departure day. In this way, the request pressure on the server is inevitably increased. In view of the above situation, in some embodiments of the present application, when the server 400 obtains ticket information, it can also obtain weather information at the same time and predict the user's request for querying weather.

[0101] In some embodiments, the server 400 starts a new thread to obtain the weather query input parameters and obtain weather information according to the weather query input parameters. By creating a new thread, the server 400 can avoid affecting the normal operation of the main thread for ticket query and does not delay the multi-round conversation with the user during the operation of the main thread.

[0102] In some embodiments, the server 400 standardizes the address information in the query input parameters. The server 400 pre-stores a standardized address table of the current country and region, in which the unified region codes of each region in the country are recorded. When the server 400 obtains the address information, that is, when it obtains the user's departure location and destination, it uses the departure location and destination to separately find the corresponding region codes from the standardized address table. For example, the region code corresponding to City A is 11**01, and the region code corresponding to City B is 11**08. The server 400 uses the obtained region codes as one of the weather query input parameters.

[0103] In some embodiments, the server 400 standardizes the time information in the query input parameters. The server 400 formats the time information into a standard date format. For example, the time information can be directly formatted using new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"). In some embodiments, the time information includes the user's departure time and arrival time, and the server 400 can obtain the weather information for the user's departure time and arrival time respectively.

[0104] S504: Obtain weather information according to the weather query input parameters, and merge the weather information into the ticket information to obtain ticket-related information.

[0105] In some embodiments, the server 400 encapsulates the address information and time information after standardization processing to obtain weather query input parameters. The server 400 calls the third-party interface of the weather engine through the weather query input parameters to obtain the corresponding weather information. That is, the input parameters to the third-party interface of the weather engine include parameters such as time and location, and the output is the weather conditions corresponding to the query location and time. It should be noted that different weather engines have different requirements for the encapsulation format of weather query input parameters, and corresponding adjustments can be made here according to the specific encapsulation format of the weather query input parameters of the weather engine.

[0106] In some embodiments, the server 400 merges the obtained ticket information and weather information to obtain the final ticket-related information. That is, the ticket-related information covers basic information such as train number, departure place, destination, departure time, arrival time, etc., as well as the weather information of the departure place and the destination.

[0107] S505: Feed back the ticket-related information to the display device so that the display device can display the ticket-related information to the user.

[0108] In some embodiments, the server 400 feeds back the ticket-related information to the display device 200, and the display device 200 feeds back the ticket-related information to the user.

[0109] Since the thread for querying weather information runs independently, if the weather information query thread has not finished running after the main thread has completed its execution, there is a possibility that when the display device 200 shows ticket information, the weather information for some train trips will be missing. For example, when a user queries tickets from City A to City B on December 20, 2021, there are a total of 10 train trips. That is, for the departure location, there are 10 different departure times, and for the destination, there are also 10 different arrival times. The most desirable outcome is to obtain the weather information corresponding to the respective times of the departure and destination locations. However, if the server 400 only queries the weather information for train trips within the time range from 6:00 to 17:00, when the user selects a train trip departing at 20:00, the newly created thread for querying weather information has not yet retrieved the weather information for that train trip.

[0110] In view of this, in some embodiments, when the user finds that the display device 200 does not show the weather information corresponding to the train trip they selected, they can send a refresh instruction to the server 400 through the display device 200. The server 400 receives the refresh instruction sent by the display device 200 for refreshing weather information. The server 400 obtains the departure time and arrival time of the train trip selected by the user according to the refresh instruction, and formats the departure time and arrival time. The server 400 uses the formatted departure time and arrival time, as well as the departure and destination locations after previous standardization processing, to re-obtain the corresponding weather information and feedback it to the display device 200, and the display device updates the ticket information for the train trip selected by the user.

[0111] In some embodiments, after obtaining the address information, the server 400 can also query the recommended information for the destination represented by the address information, where the recommended information includes local cuisine information, homestay information, etc. The server 400 feeds back the recommended information to the display device 200 so that the display device 200 synchronously shows the recommended information when displaying the ticket information, meeting the personalized needs of the user.

[0112] The following further introduces the process of processing the above-mentioned ticket information with reference to the accompanying drawings.

[0113] Figure 6 Exemplarily shows the overall logic diagram of the ticket information processing method according to some embodiments. As Figure 6As shown in the figure, the display device 200 receives a voice command input by the user and determines whether the user's intention is ticket query. If the user has no need to query tickets, it will feedback that it is not supported. If the user has a need to query tickets, it will send a ticket query command to the server 400. The server 400 performs natural language processing to analyze the information slots and obtains the input parameters for ticket query. The server 400 determines whether the multi-round conversation between the display device 200 and the user has ended. If it has not ended, it will continue to return to the display device 200 to ask for requests. If the multi-round conversation has ended, that is, all the ticket input parameters (travel time, departure place, destination, and ticket type) have been obtained, then the ticket information will be queried. At the same time, when the server 400 obtains the input parameters for ticket query, it determines whether there is address information and time information. If there is already address information and time information, a new thread will be created to query the weather information. The server 400 combines the queried weather information and ticket information to obtain ticket information and feedbacks the ticket information to the display device 200. It should be noted that Figure 6 The end of the multi-round conversation mentioned in Figure 6 only refers to the process of the first communication between the display device 200 and the user to obtain the input parameters for ticket query. Of course, within a preset time interval (1-2 minutes), the user can continue to send commands related to ticket query according to their own needs. For example, after the display device 200 and the user have a multi-round conversation for the first time, the display device 200 feedbacks all the train numbers from City A to City B on December 20, 2021 to the user. One minute later, the user continues to input: "Query tickets from City A to City B on the 21st", then the display device 200 will also request the corresponding ticket information from the server 400 according to the user's input command to update the ticket information displayed on the current interface.

[0114] In this application, the server can feedback the ticket information and the weather information to the user at the same time, enabling the user to understand the weather information of the departure place and the destination when traveling while querying the ticket information, thus improving the user experience. In addition, when the user is considering traveling and querying tickets, if there is no weather information, they will send requests multiple times to obtain the corresponding weather conditions. This application feedbacks the weather information while feedbacking the ticket information to the user, which can avoid causing greater request pressure on the server.

[0115] Corresponding to the above server, some embodiments of this application also provide a display device. The display device 200 includes a display 260 and a controller 250. The controller 250 is communicatively connected to the display 260, and the controller 250 is configured to execute the process of ticket information processing. The process of ticket information processing is as follows:

[0116] In some embodiments, the display device 200 receives a ticket query instruction input by a user and sends the ticket query instruction to the server 400. When the user has a travel need, the ticket function in the display device 200 can be enabled to send a ticket query instruction including information such as the departure place, destination, and time of the ticket the user wants to query to the display device 200. The display device 200 sends the ticket query instruction to the server 400, and the server 400 queries the corresponding ticket information and feeds back the ticket information to the display device 200.

[0117] In some embodiments, the display device 200 receives the ticket information fed back by the server 400 according to the ticket query instruction. The ticket information includes ticket information and weather information, and controls the display 260 to display the ticket information on the ticket query interface. Figure 7 The schematic diagram of the display effect of the ticket query interface in the display device 200 according to some embodiments is exemplarily shown. As Figure 7 shown, when the user wants to query the ticket from City A to City B, after the display device 200 queries the corresponding ticket information via the server 400, the ticket information is displayed on the ticket query interface. The user can select a train with a suitable time by browsing the train numbers listed in the ticket query interface.

[0118] In some embodiments, the display device 200 receives a selection operation of any train number in the ticket information, controls the display 260 to jump from the ticket query interface to the ticket details interface, and displays the details information of the train number corresponding to the selection operation and the weather information in the ticket details interface. Among them, the details information includes the ticket price and a purchase control, and the purchase control is used to guide the user to pay the fee. Figure 8 The schematic diagram of the display effect of the ticket details interface in the display device 200 according to some embodiments is exemplarily shown. As Figure 8 shown, after the user selects Train No. D60**, the details information of Train No. D60** and the weather information are displayed in the ticket details interface. Among them, in addition to the departure place, destination, departure time, arrival time, and duration in the ticket query interface, the content included in the details information also includes the ticket situation and ticket price of first-class seats, second-class seats, and standing tickets. At the same time, the details information contains a purchase control, that is, Figure 8 the QR code logo at the "Scan the QR code on the mobile phone to place an order", and the user scans the QR code through the mobile terminal to pay the ticket price. The weather information of the departure place and the destination is respectively displayed beside the departure place and the destination. As Figure 8 shown, the weather in City A at 14:07 is "Sunny, 10°C", and the weather in City B at 16:59 is "Cloudy, 4°C". In addition, Figure 8 the recommended information recommended by the server 400, such as local food information, homestay information, etc., is also displayed.

[0119] See Figure 8 , a refresh control, i.e., a "Refresh" button, is provided in the ticket details interface. In some embodiments, if the weather is not displayed at the place where the weather needs to be displayed in the ticket details interface, it is possible that the thread of the server for querying weather information has not queried the weather information at the current moment. At this time, the user can click Figure 8 the "Refresh" button in it. The display device 200 receives the user's selection operation on the refresh control and sends a refresh instruction for refreshing the weather information to the server 400. After receiving the refresh instruction, the server 400 re-obtains the corresponding weather information and feeds it back to the display device 200. The display device 200 receives the weather information of the departure time and arrival time corresponding to the train number selected by the user fed back by the server 400 according to the refresh instruction, and updates the received weather information to the ticket details interface.

[0120] In some embodiments, Figure 8 in the ticket details interface shown in Figure 9 , a weather control may be provided beside the departure place and the destination place shown. The weather information can be correspondingly displayed on the weather control. Moreover, the weather control can receive the user's selection operation and perform a detailed query on the weather information of the corresponding place after the user selects it.

[0121] Correspondingly, some embodiments of the present application also provide a display device. The display device 200 includes a display 260 and a controller 250. The controller 250 is communicatively connected to the display 260. The controller 250 is configured to execute the process of ticket information processing. The process of ticket information processing is as follows:

[0122] In some embodiments, the display device 200 receives a ticket query instruction input by a user and sends the ticket query instruction to the server 400. The display device 200 receives the ticket information fed back by the server 400 according to the ticket query instruction. Among them, the ticket information includes train ticket information and weather information, and the train ticket information contains the departure place and the destination. The display device 200 controls the display 260 to display the train ticket information on the ticket query interface, and correspondingly displays the corresponding weather information in the display area where the departure place and the destination are displayed. Figure 10 FIG. shows a schematic diagram of the display effect of another ticket query interface in the display device 200 according to some embodiments. As Figure 10 shown, when the display device 200 displays the train ticket information, the departure place and the destination have already been displayed. At this time, the display device 200 can directly display the obtained weather information synchronously in the display area where the departure place and the destination are displayed, so that the user can clearly understand the train ticket information and the corresponding weather information.

[0123] Based on the same inventive concept as the above server, an embodiment of the present application further provides a ticket information processing method, and the method includes: The server 400 receives a ticket query instruction for querying ticket information sent by the display device 200. The server 400 analyzes the information slot according to the ticket query instruction to obtain the ticket checking input parameters, and the ticket checking input parameters include address information, time information, and ticket type information. The server 400 obtains the train ticket information according to the ticket checking input parameters, and performs standardization processing on the address information and the time information to obtain weather query input parameters. The server 400 obtains the weather information according to the weather query input parameters, and merges the weather information into the train ticket information to obtain the ticket information. The server 400 feeds back the ticket information to the display device so that the display device 200 can display the ticket information to the user.

[0124] In some embodiments, the server 400 creates a new thread, and this new thread is used to obtain the weather query input parameters and obtain the weather information according to the weather query input parameters.

[0125] Since the above embodiments are all described by reference and combination on other methods, and there are the same parts between different embodiments, the same and similar parts between the various embodiments in this specification can be referred to each other. Details are not described herein again.

[0126] It should be noted that in this specification, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such circuit structure, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the circuit structure, article or device comprising the element.

[0127] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the disclosure of the present invention herein. The present application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present application and include known common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present application are pointed out by the content of the claims.

[0128] The above embodiments of the present application do not constitute a limitation on the protection scope of the present application.

Claims

1. A server, characterized in that, The server is configured to: Receive a ticket query instruction sent by a display device for querying ticket information; According to the ticket query instruction, analyze information slots through the main thread to obtain ticket checking input parameters, where the ticket checking input parameters include address information and time information; Obtain ticket information according to the ticket checking input parameters; Create a new thread other than the main thread; Based on the new thread, perform standardization processing on the address information and the time information respectively to obtain weather query input parameters; According to the weather query input parameters, obtain weather information through the new thread and merge the weather information into the ticket information to obtain ticket information; Feed back the ticket information to the display device so that the display device can display the ticket information to the user; Receive a refresh instruction sent by the display device for refreshing the weather information, where the refresh instruction is sent to the server when the ticket information displayed by the display device does not include the corresponding weather information of the train number selected by the user; In response to the refresh instruction, re-obtain the weather information of the train number selected by the user through the new thread; Update the ticket information according to the weather information of the train number selected by the user; Feed back the updated ticket information to the display device so that the display device can display the ticket information to the user.

2. The server according to claim 1, characterized in that, In the step of performing standardization processing on the address information and the time information respectively through the new thread to obtain weather query input parameters, the server is configured to: Query the area code corresponding to the address represented by the address information according to a preset standard address table, and use the area code as the weather query input parameter, where the address represented by the address information includes the departure place and the destination of the user; Format the time information into a standard date format, and use the formatted time information as the weather query input parameter.

3. The server according to claim 1, wherein After responding to the refresh instruction, the server is further configured to: Obtain the departure time and arrival time of the train number selected by the user according to the refresh instruction, and format the departure time and arrival time; Re-obtain weather information by using the standardized address information and the formatted departure time and arrival time, and feed it back to the display device.

4. The server according to claim 1, wherein In the step of receiving the ticket query instruction sent by the display device for querying ticket information, the server is further configured to: If the ticket query instruction is input to the display device by the user's voice, control natural language processing to analyze the information slots in the ticket query instruction.

5. The server according to claim 1, wherein After obtaining the address information, the server is configured to: Query the recommended information of the destination according to the destination represented by the address information, where the recommended information includes local food information; Feed back the recommended information to the display device so that the display device can synchronously display the recommended information when displaying the ticket information.

6. A display device, characterized in that, Includes: A display; A controller, the controller is communicatively connected to the display, and the controller is configured to: Receive a ticket query instruction input by the user for querying ticket information, and send the ticket query instruction to the server; Receive the ticket information fed back by the server according to the ticket query instruction, so as to display the ticket information to the user. Among them, the ticket information includes ticket information and weather information, and the ticket information contains the departure place and the destination; Send a refresh instruction for refreshing the weather information to the server, and the refresh instruction is sent to the server when the ticket information displayed on the display device does not include the corresponding weather information of the train number selected by the user; Receive the ticket information updated by the server in response to the refresh instruction according to the weather information of the train number selected by the user; Control the display to show the updated ticket information on the ticket query interface.

7. A display device, characterized in that, Include: A display; A controller, the controller is communicatively connected to the display, and the controller is configured to: Receive a ticket query instruction input by the user for querying the ticket information of the train number selected by the user, and send the ticket query instruction to the server; Receive the ticket information fed back by the server according to the ticket query instruction, so as to display the ticket information to the user, and the ticket information includes ticket information and weather information; Send a refresh instruction for refreshing the weather information to the server, and the refresh instruction is sent to the server when the ticket information displayed on the display device does not include the corresponding weather information of the train number selected by the user; Receive the ticket information updated by the server in response to the refresh instruction according to the weather information of the train number selected by the user; Control the display to show the updated ticket information on the ticket query interface; Receive the selection operation of any train number in the updated ticket information by the user, control the display to jump from the ticket query interface to the ticket details interface, and display the details information of the train number corresponding to the selection operation and the weather information in the ticket details interface. Among them, the details information includes the ticket price and a purchase control, and the purchase control is used to guide the user to pay the fee.

8. The display device according to claim 7, wherein A refresh control is set in the ticket details interface, and the controller is further configured to: Receive the selection operation of the user on the refresh control, and send a refresh instruction for refreshing the weather information to the server; Receive the weather information of the departure time and arrival time corresponding to the train number selected by the user fed back by the server according to the refresh instruction; Update the received weather information to the ticket details interface.

9. A ticketing information processing method, characterized in that, The method includes: Receive a ticket query instruction sent by the display device for querying the ticket information of the train number selected by the user; According to the ticket query instruction, analyze the information slot through the main thread to obtain the ticket checking input parameters, and the ticket checking input parameters include address information and time information; Obtain ticket information according to the ticket checking input parameters; Create a new thread other than the main thread; Based on the new thread, perform standardization processing on the address information and the time information respectively to obtain weather query input parameters; According to the weather query input parameters, obtain weather information through the new thread, and merge the weather information into the ticket information to obtain ticket information; Feed back the ticket information to the display device so that the display device can display the ticket information to the user; Receive the refresh instruction sent by the display device for refreshing the weather information, where the refresh instruction is sent to the server when the ticket information displayed on the display device does not contain the corresponding weather information of the train number selected by the user; In response to the refresh instruction, re-obtain the weather information of the train number selected by the user through the new thread; Update the ticket information according to the weather information of the train number selected by the user; Feed back the updated ticket information to the display device so that the display device can display the ticket information to the user.

Citation Information

Patent Citations

  • Weather information acquisition method and device and weather information display method and device

    CN112241496A