Information processing method and device and electronic equipment
Patent Information
- Application Number
- CN202411389988.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-24
AI Technical Summary
The existing itinerary planning methods are cumbersome and inefficient, so users need to manually jump multiple software to arrange it in different aspects.
Provide an information processing method that displays a functional interface by receiving user input on the program interface. The functional interface includes functional options such as navigation, ticket booking, accommodation, restaurants, and shopping. Users can directly make corresponding itinerary planning on this interface.
Simplified user operations and improved the efficiency of schedule. Users do not need to manually open multiple applications to plan one by one.
Smart Images

Figure CN119358712A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information processing technology, and specifically relates to an information processing method, device and electronic equipment. Background Art
[0002] Itinerary planning is a key part of the travel experience. It is a process that covers the decision and reservation of transportation methods, the screening and reservation of accommodation and dining, the purchase of travel equipment or souvenirs, and the visits to attractions during the itinerary. Good itinerary planning can ensure that users make full use of limited time and resources and enjoy the best travel experience.
[0003] Currently, itinerary planning is mainly done manually by users. Specifically, travel agencies or travelers plan itineraries based on various information sources, personal experience, knowledge, preferences, etc., and then jump to various vertical software, such as navigation software, ticket booking software, and shopping software, to make accommodation reservations, purchase tickets, and equipment purchases. Using the above method to plan itineraries is cumbersome and inefficient. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an information processing method, device and electronic device that can improve the efficiency of itinerary planning.
[0005] In a first aspect, an embodiment of the present application provides an information determination method, the method comprising:
[0006] Receiving a first input to a program interface, wherein the program interface includes first travel guide information;
[0007] In response to the first input, displaying a function interface, the function interface including at least one function option corresponding to at least one travel entity in the first travel guide information;
[0008] The function options include at least one of the following: navigation, ticket booking, accommodation, restaurant, and shopping.
[0009] In a second aspect, an embodiment of the present application provides an information processing device, the device comprising:
[0010] A receiving module, configured to receive a first input to a program interface, wherein the program interface includes first travel guide information;
[0011] A display module, configured to display a function interface in response to the first input, wherein the function interface includes at least one function option corresponding to at least one travel entity in the first travel guide information;
[0012] The function options include at least one of the following: navigation, ticket booking, accommodation, restaurant, and shopping.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0017] In an embodiment of the present application, by responding to the user's first input to the program interface including the first travel guide information, at least one functional option of navigation, ticket booking, accommodation, restaurant, and shopping corresponding to at least one travel entity in the first travel guide information can be directly displayed. In this way, the user can directly plan the itinerary of at least one of navigation, ticket booking, accommodation, restaurant, and shopping based on at least one functional option of navigation, ticket booking, accommodation, restaurant, and shopping. The user does not need to manually open the corresponding application one by one to plan at least one of navigation, ticket booking, accommodation, restaurant, and shopping based on various information sources, personal experience, knowledge, preferences, etc., which simplifies user operations and improves the efficiency of itinerary planning. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a schematic diagram of a program interface provided by some embodiments of the present application;
[0019] Figure 2 is a schematic diagram of a program interface provided by some embodiments of the present application;
[0020] Figure 3 is a flowchart of an information processing method provided by some embodiments of the present application;
[0021] Figure 4 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0022] Figure 5 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0023] Figure 6 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0024] Figure 7 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0025] Figure 8 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0026] Fig. 9 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0027] Fig.10 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0028] Fig.11 is a schematic diagram of a program interface of an application for navigation provided in some embodiments of the present application;
[0029] Fig.12 is a schematic diagram of a program interface of an application for navigation provided in some embodiments of the present application;
[0030] Fig.13 is a schematic diagram of a program interface of an application for purchasing tickets provided in some embodiments of the present application;
[0031] Fig.14 is a schematic diagram of a program interface of an application for purchasing tickets provided in some embodiments of the present application;
[0032] Fig.15 is a schematic diagram of a program interface of an application for booking a hotel provided in some embodiments of the present application;
[0033] Fig.16 is a schematic diagram of a program interface of an application for booking a hotel provided in some embodiments of the present application;
[0034] Fig.17 is a schematic diagram of a program interface of an application for booking a restaurant provided in some embodiments of the present application;
[0035] Fig.17 is a schematic diagram of a program interface of an application for booking a restaurant provided in some embodiments of the present application;
[0036] Fig.18 is a schematic diagram of a program interface of an application for shopping provided in some embodiments of the present application;
[0037] Fig.19is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0038] Fig. 20 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0039] Fig.21 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0040] Fig. 22 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0041] Fig.23 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0042] Fig.24 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0043] Fig.25 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0044] Fig.26 is a schematic diagram of a program interface of an application for purchasing tickets provided in some embodiments of the present application;
[0045] Fig. 27 is a schematic diagram of a functional interface provided by some embodiments of the present application;
[0046] Fig.28 is a schematic diagram of a program interface of an application for navigation provided in some embodiments of the present application;
[0047] Fig.29 is a schematic diagram of a program interface provided by some embodiments of the present application;
[0048] Fig.30 Some embodiments of the present application provide Fig.29 Interface diagram of the functional interface corresponding to the provided program interface;
[0049] Fig.31 is a schematic diagram of a program interface provided by some embodiments of the present application;
[0050] Fig.32 Some embodiments of the present application provide Fig.31 A schematic diagram of the interface of the prompt information corresponding to the provided program interface;
[0051] Fig.33 It is a display schematic diagram of a single-screen electronic device provided by some embodiments of the present application when displaying a program interface and a function interface corresponding to the program interface;
[0052] Fig.34 It is a display schematic diagram of a single-screen electronic device provided by some embodiments of the present application when displaying a program interface and a function interface corresponding to the program interface;
[0053] Fig.35 It is a display schematic diagram of a single-screen electronic device when displaying a program interface provided by some embodiments of the present application;
[0054] Fig.36 Some embodiments of the present application provide a single-screen electronic device in which display and Fig.35 The display diagram of the function interface corresponding to the provided program interface;
[0055] Fig.37 is a schematic diagram of the structure of an information processing device shown in some embodiments of the present application;
[0056] Fig.38 is a schematic diagram of the structure of an electronic device shown in some embodiments of the present application;
[0057] Fig.39 It is a schematic diagram of the hardware structure of an electronic device shown in some embodiments of the present application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0059] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or N. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0060] Before introducing the solution of the embodiment of the present application, the professional terms involved in the embodiment of the present application are first introduced:
[0061] Card: is an information carrier with a closed outline, which provides various information of various applications in a condensed form, intuitively and quickly, and is used for displaying and interacting with various program information. In the Android system, a card is a window interface that can be stacked and presented. The shape of a card is usually a rounded rectangle, similar to the shape of a credit card, but it can also be other shapes. Cards make it more convenient and intuitive for users of electronic devices to obtain information and perform operations, and therefore are widely used. In the embodiments of the present application, the size, position, shape, etc. of the card are not limited.
[0062] Function card: usually a card with a certain functional property, such as a function card that displays weather application information in an electronic device, or a function card that displays clock application information, etc. In the embodiment of the present application, the function of the function card is to display the travel entity information in the travel guide information.
[0063] Control: refers to the encapsulation of data and methods. Controls can have their own properties and methods, where properties are simple accessors to control data, and methods are some simple and visible functions of controls. The control creation process includes design, development, and debugging. The shape of a control is usually a rectangle, but it can also be other shapes. The control provides an interactive hub between the user and the electronic device. Controls can include various types, such as user interface controls, chart controls, report controls, barcode controls, etc. In an embodiment of the present application, the control is a user interface control, which is a control used to develop and build a user interface, helping to complete the development of interface elements such as windows, text boxes, buttons, drop-down menus, etc. in software development.
[0064] It should be noted that the execution subject of the information processing method can be an electronic device such as a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, etc. In some embodiments of the present application, an electronic device is used as an execution subject to execute the information processing method as an example to illustrate the information processing method provided in the embodiments of the present application.
[0065] The technical solution of the embodiment of the present application can be applied to the scenario of itinerary planning, such as the scenario of travel itinerary planning. For example, a user wants to go to state a for 2 days and 1 night, and the user searches for relevant guides. For specific guide information, refer to Figure 1 ,according to Figure 1According to the guide information shown, the user plans to purchase mosquito repellent stickers and river trekking shoes needed for a 2-day and 1-night trip to State A through a shopping application online before August 29, 2024, and then depart from City C to State A on August 29, 2024. After arriving in State A at 10 am on August 29, 2024, the user will have a simple lunch in State A at noon, and then go to attractions A, B and C. On the evening of August 29, 2024, the user will check into Hotel B1, and on the morning of August 30, 2024, the user will visit attractions D and E, and have lunch at Restaurant A1 at noon on August 30, 2024. After lunch, the user will return to City C from State A.
[0066] For another example, a user wants to travel to state A for 2 days and 1 night. The user searches for relevant guides. For specific guide information, refer to Figure 2 ,according to Figure 2 According to the guide information shown, the user plans to depart from City C to State A on August 29, 2024. After arriving in State A at 10 am on August 29, 2024, he will have a simple lunch in State A at noon, and then go to attractions C, B and F. He will check into a local hotel on the evening of August 29, 2024, visit attractions G and H on August 30, 2024, and then return to City C from State A on the same day.
[0067] The information processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0068] Figure 3 is a flowchart of an information processing method provided by an embodiment of the present application, such as Figure 3 As shown, the information processing method provided in the embodiment of the present application may include steps 310 to 320.
[0069] Step 310: Receive a first input to a program interface, wherein the program interface includes first travel guide information.
[0070] The program interface may be an interface of travel guide information browsed by a user, that is, the program interface may include first travel guide information browsed by a user. The first travel guide information may be travel guide information browsed by a user in the program interface.
[0071] The first input is an input to the program interface, and the above-mentioned first input is used to control the display function interface of the electronic device, and the first input can be a first operation. Exemplarily, the above-mentioned first input includes but is not limited to: the user's touch input to the program interface through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above-mentioned first input can be: a double-click input of the program interface by the user.
[0072] Step 320: In response to the first input, display a function interface, where the function interface includes at least one function option corresponding to at least one travel entity in the first travel guide information.
[0073] The function interface may be an interface displayed in response to the first input, and the function interface includes at least one function option, and the at least one function option may include at least one of the following: navigation, ticket booking, accommodation, restaurant, and shopping.
[0074] The above-mentioned at least one functional option corresponds to at least one tourism entity in the first tourism guide information. The tourism entity here can be a specific entity with a specific meaning in the first tourism guide information, such as a scenic spot, restaurant, commodity, hotel, or city in the first tourism guide information.
[0075] The above-mentioned “navigation” function option may be a function option corresponding to the “attractions” tourism entity, the above-mentioned “ticket booking” function option may be a function option corresponding to the “city” tourism entity, the above-mentioned “accommodation” function option may be a function option corresponding to the “hotel” tourism entity, the above-mentioned “restaurant” function option may be a function option corresponding to the “restaurant” tourism entity, and the above-mentioned “shopping” function option may be a function option corresponding to the “commodity” tourism entity.
[0076] The above-mentioned tourism entity "city" can be an entity related to the city in the first tourism guide information, which is the departure and destination of the itinerary recommended by the author who published the first tourism guide information. It can be limited to the city level, and countries or counties are not allowed to appear.
[0077] The above-mentioned tourism entity “attraction” may be a related recommended attraction in the first tourism guide information, which is a tourism attraction recommended by the author who publishes the first tourism guide information.
[0078] The above-mentioned tourism entity "accommodation" can be a hotel, homestay, etc. recommended in the first tourism guide information, which is a hotel, homestay, etc. recommended by the author who publishes the first tourism guide information.
[0079] The above-mentioned travel entity "commodity" can be the purchase items, souvenirs, etc. involved in the first travel guide information, gifts recommended by the author who publishes the first travel guide information, items needed for travel, etc.
[0080] The above-mentioned tourism entity "restaurant" may be a restaurant or hotel involved in the first tourism guide information, which is a restaurant or hotel recommended by the author who publishes the first tourism guide information.
[0081] In some embodiments of the present application, in response to the first input, a function interface including at least one function option corresponding to at least one travel entity in the first travel guide information may be displayed.
[0082] It should be noted that the above-mentioned function options may include function cards, that is, the function options may be displayed in the form of function cards, and the function cards may include: function labels, tourism entity information and function controls; the function cards here may include at least one of the following: navigation cards, ticket booking cards, accommodation cards, restaurant cards, shopping cards.
[0083] The function label included in each function card can be a label used to characterize the function option, for example, the function label of the navigation card is the "navigation" label, the function label of the ticket booking card is the "ticket booking" label, the function label of the accommodation card is the "accommodation" label, the function label of the restaurant card is the "restaurant" label, and the function label of the shopping card is the "shopping" label.
[0084] The tourism entity information included in each function card may be the name of the tourism entity corresponding to the function option, for example, the tourism entity information of the navigation card is the name of the scenic spot, the tourism entity information of the ticket booking card is the name of the starting city and the name of the destination city, the tourism entity information of the accommodation card is the name of the hotel, the tourism entity information of the restaurant card is the name of the restaurant, and the tourism entity information of the shopping card is the name of the product.
[0085] The function control included in each function card may be the function control corresponding to the function option, such as a search control. For example, the function control of the navigation card is a control for searching the navigation path of the scenic spot, the function control of the ticket booking card is a control for searching the ticket booking information, the function control of the accommodation card is a control for searching the hotel reservation information, the function control of the restaurant card is a control for searching the restaurant reservation information, and the function control of the shopping card is a control for searching the product information of the product.
[0086] Continuing with the first example above, taking at least one tourism entity including a city, a scenic spot, accommodation, a commodity, and a restaurant as an example, refer to Figure 1 , Figure 1 The interface shown contains the information of a 2-day 1-night tour guide for Mount E in State A. Figure 1 Double-click the program interface shown to directly display Figure 4-Figure 8 The functional interface shown is as follows: Figure 4 As shown, the function interface 40 includes a "Booking" function card corresponding to the tourism entity "city", the "Booking" function card includes a "Booking" label 411, the "Booking" function card also includes tourism entity information corresponding to the tourism entity "city": "State B-State A" 412, "State A-City C" 413, "State B-City C" 414, "State A-State B" 415 and "City C-State A" 416, and the "Booking" function card also includes a "Search" control 417 for searching for booking information.
[0087] like Figure 5 As shown, the function interface 50 includes a "Navigation" function card corresponding to the tourism entity "Attractions", the "Navigation" function card includes a "Navigation" label 511, the "Navigation" function card also includes tourism entity information corresponding to the tourism entity "Attractions": "A Attraction" 512, "B Attraction" 513, "C Attraction" 514, "D Attraction" 515 and "E Attraction" 516, and the "Navigation" function card also includes a "Search" control 517 for searching navigation path information.
[0088] like Figure 6 As shown, the function interface 60 includes an "Accommodation" function card corresponding to the tourism entity "Hotel", the "Accommodation" function card includes an "Accommodation" label 611, the "Accommodation" function card also includes tourism entity information corresponding to the tourism entity "Hotel": "B1 Hotel" 612 and "B2 Hotel" 613, and the "Accommodation" function card also includes a "Search" control 614 for searching hotel reservation information.
[0089] like Figure 7 As shown, the function interface 70 includes a "shopping" function card corresponding to the tourism entity "commodity", the "shopping" function card includes a "shopping" label 711, the "shopping" function card also includes tourism entity information corresponding to the tourism entity "commodity": "mosquito repellent patches" 712 and "river trekking shoes" 713, and the "shopping" function card also includes a "search" control 714 for searching for product information of products.
[0090] like Figure 8As shown, the function interface 80 includes a "restaurant" function card corresponding to the tourism entity "restaurant", the "restaurant" function card includes a "restaurant" label 811, the "restaurant" function card also includes tourism entity information corresponding to the tourism entity "restaurant": "A1 restaurant" 812 and "A2 restaurant" 813, and the "restaurant" function card also includes a "search" control 814 for searching for restaurant reservation information.
[0091] It should be noted that a default function card can be pre-set, and after the user performs the first input, the function card can be displayed by default. For example, the pre-set "ticket booking" function card is the default function card. Figure 1 After double-clicking the program interface shown, the default display Figure 4 The functional interface 40 is shown.
[0092] Continuing with the second example above, taking at least one tourism entity including a city, a scenic spot, accommodation, a commodity, and a restaurant as an example, refer to Figure 2 , Figure 2 The interface shown contains information about a 2-day, 1-night tour guide for state A. Figure 2 Double-click the program interface shown to directly display Figure 9-10 The functional interface shown in the figure. Fig. 9 As shown, the function interface 90 includes a "Booking" function card corresponding to the tourism entity "city", the "Booking" function card includes a "Booking" label 911, the "Booking" function card also includes tourism entity information corresponding to the tourism entity "city": "State B-State A" 912, "State A-City C" 913, "State B-City C" 914, "State A-State B" 915 and "City C-State A" 916, and the "Booking" function card also includes a "Search" control 917 for searching for booking information.
[0093] like Fig.10 As shown, the function interface 100 includes a "Navigation" function card corresponding to the tourism entity "attractions", the "Navigation" function card includes a "Navigation" label 1011, the "Navigation" function card also includes tourism entity information corresponding to the tourism entity "attractions": "C Attractions" 1012, "B Attractions" 1013, "F Attractions" 1014, "G Attractions" 1015 and "H Attractions" 1016, and the "Navigation" function card also includes a "Search" control 1017 for searching navigation path information.
[0094] In some embodiments of the present application, in order to save computing resources, before displaying the function interface, the above method may further include:
[0095] Take a screenshot of the program interface and generate a screenshot image;
[0096] Performing text recognition on the first travel guide information in the screenshot image to obtain travel text information of the first travel guide information;
[0097] The tourism entity information of the tourism entity of at least one entity type in the tourism text information is extracted.
[0098] The screenshot image may be an image obtained by taking a screenshot of the program interface.
[0099] The travel text information may be text information of the first travel guide information obtained by performing text recognition on the first travel guide information in the screenshot image.
[0100] The entity type may be a type of a tourism entity. For example, in the first and second examples above, the tourism entities “city”, “attractions”, “accommodation”, “commodity” and “restaurant” are different entity types respectively.
[0101] In some embodiments of the present application, a screenshot of the program interface may be first taken to generate a screenshot image, and then text recognition may be performed on the first travel guide information in the screenshot image to obtain travel text information of the first travel guide information. Specifically, a large model technology may be used to perform text recognition on the first travel guide information in the screenshot image of the program interface, or optical character recognition (OCR) technology may be used to perform text recognition on the first travel guide information in the screenshot image to obtain travel text information of the first travel guide information.
[0102] Continuing with the first example above, Figure 1 After taking a screenshot of the program interface shown in the figure, the screenshot image is used as input. Figure 1 The first travel guide information in the screenshot image of the program interface shown in the figure is subjected to text recognition to obtain the following travel text information:
[0103] {
[0104] A state | 2 days and 1 night travel guide
[0105] Address: A attraction in state A
[0106] Transportation: It is recommended to drive by yourself. It takes only 1.5 hours from the city of A and 2 hours from B and C.
[0107] Follow the following order to visit the attractions without taking a detour:
[0108] Attraction B-Attraction C-Attraction D-Attraction E
[0109] About eating: You can try A1 restaurant, the bamboo rice here is super delicious***, A2 restaurant has good specialties
[0110] About accommodation: We booked B1 Hotel, which is especially suitable for a group of friends to have a party. Some friends also booked B2 Hotel, which they said was also good.
[0111] There are still many mosquitoes in the mountains, so remember to bring mosquito repellent stickers. You can go to the Q store in the shopping app P to buy mosquito repellent stickers. Their mosquito repellent stickers are pretty good. Friends who want to go creek tracing remember to wear creek tracing shoes
[0112] }.
[0113] Continuing with the second example above, Figure 2 After taking a screenshot of the program interface shown in the figure, the screenshot image is used as input. Figure 2 The first travel guide information in the screenshot image of the program interface shown in the figure is subjected to text recognition, and the following text information is obtained:
[0114] {
[0115] A state | 2 days and 1 night travel guide:
[0116] Transportation: It is recommended to drive by yourself. It takes only 1.5 hours from the city of A and 2 hours from B and C.
[0117] Day 1, visit attractions C, B and F;
[0118] Day 2, visit attractions G and H
[0119] }.
[0120] After obtaining the tourism text information corresponding to the first tourism strategy information, tourism entity information of at least one entity type of tourism entity in the tourism text information may be extracted.
[0121] Continuing to refer to the first example above, the tourism entity information of the tourism entities "city", "attractions", "accommodation", "commodity" and "restaurant" of at least one entity type in the tourism text information can be extracted. For example, the tourism entity information corresponding to the extracted tourism entity "city" are: "State a", "State b" and "City c", and the tourism entity information corresponding to the extracted tourism entity "attractions" are: "A attraction", "B attraction", "C attraction", "D attraction" and "E attraction", and the tourism entity information corresponding to the extracted tourism entity "accommodation" are: "B1 Hotel" and "B2 Hotel", and the tourism entity information corresponding to the extracted tourism entity "commodity" are: "Mosquito repellent patches" and "River trekking shoes", and the tourism entity information corresponding to the extracted tourism entity "restaurant" are: "A1 restaurant" and "A2 restaurant".
[0122] Continuing to refer to the second example above, the tourism entity information of the tourism entities "city", "attractions", "accommodation", "commodity" and "restaurant" of at least one entity type in the tourism text information can be extracted. For example, the tourism entity information corresponding to the extracted tourism entity "city" are: "State A", "State B" and "City C", and the tourism entity information corresponding to the extracted tourism entity "attractions" are: "B Attractions", "C Attractions", "F Attractions", "G Attractions" and "H Attractions". The tourism entity information corresponding to the tourism entity "accommodation", the tourism entity information corresponding to the tourism entity "commodity" and the tourism entity "restaurant" are not extracted.
[0123] In an embodiment of the present application, by performing text recognition on the first travel guide information in the screenshot image and then extracting travel entity information of at least one entity type of travel entity from the text recognition result, rather than directly processing the first travel guide information in the program interface to extract travel entity information of at least one entity type of travel entity, computing resources are saved.
[0124] In some embodiments of the present application, in order to improve the extraction efficiency and accuracy of tourism entity information of at least one entity type of tourism entity, the extraction of tourism entity information of at least one entity type of tourism entity in tourism text information may include:
[0125] The tourism text information is input into a first information extraction model, and a tourism entity information data set is output, wherein the tourism entity information data set includes tourism entities of at least one entity type and tourism entity information of each tourism entity.
[0126] Among them, the first information extraction model can be a pre-trained model for extracting tourism entity information of at least one entity type of tourism entity in tourism text information. The first information extraction model can be but is not limited to a neural network model based on deep learning, a support vector machine model or a decision tree model, etc.
[0127] The tourism entity information data set may be a data set outputted after the first information extraction model extracts tourism entity information of tourism entities of at least one entity type in tourism text information.
[0128] In some embodiments of the present application, tourism text information can be input into a first information extraction model, and then tourism entity information of tourism entities of at least one entity type in the tourism text information can be extracted based on the first information extraction model to obtain a tourism entity information data set.
[0129] It should be noted that when the first information extraction model outputs the tourism entity information data set, the tourism entity of at least one entity type in the tourism entity information data set and the tourism entity information of each real tourism entity may be output in the form of key-value pairs.
[0130] Continuing to refer to the first example above, when the first information extraction model is used to extract the tourism entity information corresponding to the tourism entities "city", "attractions", "accommodation", "commodity" and "restaurant", the output result of the first information extraction model is:
[0131] City: "State a", "State b", "City c",
[0132] Attractions: "A attraction", "B attraction", "C attraction", "D attraction", "E attraction",
[0133] Accommodation: "B1 Hotel", "B2 Hotel",
[0134] Products: "Mosquito repellent stickers", "River trekking shoes",
[0135] Restaurants: "A1 Restaurant", "A2 Restaurant".
[0136] Continuing to refer to the second example above, when the first information extraction model is used to extract the tourism entity information corresponding to the tourism entities "city", "attractions", "accommodation", "commodity" and "restaurant", the output result of the first information extraction model is:
[0137] City: "State a", "State b", "City c",
[0138] Attractions: "Attraction B", "Attraction C", "Attraction F", "Attraction G", "Attraction H".
[0139] In an embodiment of the present application, by utilizing a first information extraction model to extract tourism entity information of at least one entity type of tourism entity in tourism text information, no manual extraction is required, thus reducing errors in manual extraction, saving labor costs, and improving the extraction efficiency and accuracy of tourism entity information of at least one entity type of tourism entity.
[0140] In some embodiments of the present application, in order to improve the extraction efficiency and accuracy of entity information of a tourism entity of at least one entity type in tourism text information, before inputting the tourism text information into the first information extraction model and outputting the tourism entity information dataset, the above method may further include:
[0141] Acquire a training sample set, the training sample set comprising at least two sample information groups, each sample information group comprising a tourism text information sample and a tourism entity information sample of at least one entity type in the tourism text information sample;
[0142] Input each sample information group into a second information extraction model, and output predicted entity information of at least one entity type in the tourism text information sample;
[0143] According to the difference between the predicted entity information of at least one entity type in the tourism text information sample and the tourism entity information sample, the second information extraction model is trained to obtain the first information extraction model.
[0144] The training sample set may be a sample set used to train the second information extraction model, and the first information extraction model may be obtained after the second information extraction model is trained using the training sample set.
[0145] The above-mentioned training sample set may include at least two sample information groups, each of which may include a tourism text information sample and a tourism entity information sample of at least one entity type of tourism entity in the tourism text information sample. The tourism text information sample here may be a sample of tourism entity information used to train the second information extraction model, and the above-mentioned tourism entity information sample may be tourism entity information of at least one entity type of tourism entity annotated from the tourism text information sample, and the tourism entity information of at least one entity type of tourism entity annotated from the tourism text information sample here may be manually annotated by a user.
[0146] The predicted entity information may be tourism entity information of at least one entity type of tourism entity in the tourism text information sample in the sample information group predicted based on the second information extraction model after the sample information group is input into the second information extraction model.
[0147] In some embodiments of the present application, some travel guide information can be collected from a travel platform or an information platform, and then the entity information of the travel entity of at least one entity type in the collected travel guide information is marked to obtain a training data set, and the second information extraction model is trained using the training data set. Specifically, the second information extraction model is trained according to the degree of difference between the predicted entity information of at least one entity type in the travel text information sample and the travel entity information sample. When the training of the second information extraction model meets the preset training stop condition, it can be determined that the training of the second information extraction model is completed, and the first information extraction model is obtained.
[0148] It should be noted that the above-mentioned preset training stop condition can be that the loss function value of the second information extraction model is less than a certain threshold, or the number of training iterations of the second information extraction model exceeds a certain threshold. The specific preset training stop condition can be set according to user needs and is not limited in the embodiments of the present application.
[0149] In an embodiment of the present application, the second information extraction model is trained by using the acquired training data set to obtain a first information extraction model. In this way, a model can be obtained for accurately and quickly extracting entity information of tourism entities of at least one entity type in tourism text information, thereby improving the extraction efficiency and accuracy of entity information of tourism entities of at least one entity type in tourism text information.
[0150] In some embodiments of the present application, in order to improve the training accuracy of the second information extraction model, after obtaining the training sample set, the above method may further include:
[0151] Preprocessing the tourism text information samples in each training sample group in the training sample set to obtain target training sample groups corresponding to each training sample group;
[0152] Inputting each sample information group into the second information extraction model and outputting predicted entity information of at least one entity type in the tourism text information sample may specifically include:
[0153] Each target training sample group is input into the second information extraction model, and predicted entity information of at least one entity type in the tourism text information sample is output.
[0154] The target training sample groups corresponding to each training sample group may be training sample groups obtained by preprocessing the tourism text information samples in each training sample group in the training sample set.
[0155] In some embodiments of the present application, by preprocessing the tourism text information samples in each training sample group in the training sample set, special characters, advertising noise, etc. in the tourism text information samples can be removed to obtain target training sample groups corresponding to each training sample group, and then each target training sample group is input into the second information extraction model to output predicted entity information of at least one entity type in the tourism text information sample.
[0156] Continuing with the first example above, Figure 1 The first travel guide information in the program interface shown has a special character "*" and an advertising noise "Shop Q in the shopping application P". After obtaining the travel text information of the first travel guide information, the special character "*" and the advertising noise "Shop Q in the shopping application P" in the travel text information can be removed, that is, the final travel text information is as follows:
[0157] {
[0158] A state | 2 days and 1 night travel guide
[0159] Address: A attraction in state A
[0160] Transportation: It is recommended to drive by yourself. It takes only 1.5 hours from the city of A and 2 hours from B and C.
[0161] Follow the following order to visit the attractions without taking a detour:
[0162] Attraction B-Attraction C-Attraction D-Attraction E
[0163] About eating: You can try A1 restaurant, the bamboo rice here is delicious, and A2 restaurant has good specialties
[0164] About accommodation: We booked B1 Hotel, which is especially suitable for a group of friends to have a party. Some friends also booked B2 Hotel, which they said was also good.
[0165] There are still many mosquitoes in the mountains, so remember to bring mosquito repellent stickers. Friends who want to go creek trekking remember to wear creek trekking shoes.
[0166] }.
[0167] In an embodiment of the present application, by preprocessing the tourism text information samples in each training sample group in the training sample set, a target training sample group corresponding to each training sample group is obtained. This can avoid the interference of noise data in the tourism text information samples on the training of the second information extraction model, thereby improving the training accuracy of the second information extraction model.
[0168] In some embodiments of the present application, in order to improve the efficiency of obtaining the search results of the first tourism entity information, after step 320, the above method may further include:
[0169] receiving a second input of one of the at least one function options;
[0170] In response to the second input, a program interface of the first application is displayed.
[0171] Among them, the second input is an input to one of the at least one function options, and the second input is used to control the electronic device to display the program interface of the first application, and the second input can be a second operation. Exemplarily, the second input includes but is not limited to: a user's touch input to one of the at least one function options through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the second input can be: a user's click input to one of the at least one function options.
[0172] The first application may be an application for searching for first tourism entity information, where the first tourism entity information may be tourism entity information in the function option selected by the second input, and the program interface of the first application may include search results for the first tourism entity information.
[0173] In some embodiments of the present application, when a user needs to plan a certain function option among at least one function option, in response to a second input of first tourism entity information in one of the at least one function option, the first tourism entity information can be searched based on the first application, and a program interface including search results of the first tourism entity information can be displayed.
[0174] In an embodiment of the present application, by responding to a second input of the first tourism entity information in one of at least one function option, a program interface of the first application including search results of the first tourism entity information can be directly displayed. In this way, the user does not need to manually open the first application and search for the first tourism entity information in the first application to obtain the search results of the first tourism entity information, which simplifies user operations and improves the efficiency of obtaining the search results of the first tourism entity information.
[0175] In some embodiments of the present application, when the function card includes a navigation card, the navigation card may include a navigation label, a main entity information display area, and a search control.
[0176] The main entity information display area can be as follows Figure 5 Area 52 and Fig.10Area 102 in the main entity information display area may include tourism entity information, and the tourism entity information may include the entity name of the first tourism entity, the entity type of the first tourism entity may be a scenic spot, the first tourism entity is a scenic spot, the entity name of the first tourism entity is the name of the scenic spot, and the scenic spot is any scenic spot in the first tourism guide information.
[0177] Continue to refer Figure 5 , the tourist entity information of the tourist attraction types extracted include "A tourist attraction" 512, "B tourist attraction" 513, "C tourist attraction" 514, "D tourist attraction" 515 and "E tourist attraction" 516. The name of any tourist attraction can be selected from "A tourist attraction" 512, "B tourist attraction" 513, "C tourist attraction" 514, "D tourist attraction" 515 and "E tourist attraction" 516 as the tourist entity information displayed in area 52, for example, Figure 5 As shown, “A attraction” 512 is displayed as the tourism entity information in area 52 .
[0178] Continue to refer Fig.10 , the extracted tourism entity information includes "C attraction" 1012, "B attraction" 1013, "F attraction" 1014, "G attraction" 1015 and "H attraction" 1016. You can select the name of any attraction from "C attraction" 1012, "B attraction" 1013, "F attraction" 1014, "G attraction" 1015 and "H attraction" 1016 as the tourism entity information displayed in area 102, for example, Fig.10 As shown, “C attraction” 1012 is used as the tourism entity information displayed in area 102 .
[0179] In order to improve the navigation efficiency of the scenic spot, the receiving a second input of one of the at least one functional option may include:
[0180] receiving control input to the search control;
[0181] The displaying of the program interface of the first application may include:
[0182] Displaying a navigation interface; wherein the navigation interface includes a navigation path obtained by searching for a navigation path of a scenic spot;
[0183] When a navigation start control input for a navigation path is received, navigation is performed according to the navigation path.
[0184] Among them, the control input is the input to the search control, and the above control input is used to control the electronic device to display the navigation interface. Exemplarily, the above control input includes but is not limited to: the user's touch input to the search control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above control input can be: the user's click input to the search control.
[0185] The navigation start control input is an input to the navigation path, and the above navigation start control input is used to control the electronic device to navigate along the navigation path. Exemplarily, the above navigation start control input includes but is not limited to: the user's touch input to the navigation path through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above navigation start control input can be: the user's click input to start navigation on the navigation path.
[0186] In some embodiments of the present application, when the function card includes a navigation card, the navigation card may include a navigation label, a main entity information display area and a search control. In response to the control input of the search control, a navigation interface may be displayed, and the navigation interface includes a navigation path obtained by searching the navigation path of the tourist entity information in the main entity information display area. When a navigation start control input for the navigation path is received, navigation may be performed according to the navigation path of the tourist entity information in the searched main entity information display area.
[0187] Continuing with the first example above, the user clicks Figure 5 The "Search" control 517 in the Fig.11 The navigation interface 110 shown in FIG. 1 includes the navigation path to the searched “A attraction” 512, and then clicks the “start navigation” control 111 in the navigation interface 110 to navigate according to the navigation path, such as Fig.12 shown.
[0188] In an embodiment of the present application, when the function card includes a navigation card, by automatically displaying any scenic spot name extracted from the first travel guide information in the main entity information display area, any scenic spot name extracted from the first travel guide information is actively displayed in the main entity information display area. In this way, if the user wants to search for scenic spots displayed in the main entity information display area, the navigation interface of the navigation path of the scenic spots displayed in the main entity information display area can be directly displayed in response to the control input of the search control, without the user inputting the location to be navigated, thereby improving the efficiency of obtaining the navigation path of the scenic spots in the main entity information display area, and thereby improving the navigation efficiency to the scenic spots.
[0189] In some embodiments of the present application, when the function card includes a ticket booking card, the ticket booking card includes a ticket booking label, a main entity information display area, and a search control.
[0190] The main entity information display area can be as follows Figure 4 Area 42 and Fig. 9 In area 92, the main entity information display area may include tourism entity information, which may include the entity name of the second tourism entity and the entity name of the third tourism entity; the entity types of the second tourism entity and the third tourism entity are cities; the entity name of the second tourism entity is the city name of the starting city; the entity name of the third tourism entity is the city name of the destination city; the starting city and the destination city are two cities in any itinerary information in the first travel guide information.
[0191] Continuing to refer to the first example above, the extracted city-type tourism entity information includes "City C", "State B" and "State A". "City C", "State B" and "State A" can be combined in pairs, one as the starting city and the other as the end city, such as Figure 4 As shown, state b is used as the starting city and state a is used as the ending city and is displayed in area 42 .
[0192] Continuing to refer to the second example above, the extracted city-type tourism entity information includes "City C", "State B" and "State A". "City C", "State B" and "State A" can be combined in pairs, one as the starting city and the other as the end city, such as Fig. 9 As shown, state b is used as the starting city and state a is used as the ending city and is displayed in area 92 .
[0193] In order to improve the booking efficiency of the ticket from the starting city to the destination city, the receiving of the second input of one of the at least one function options includes:
[0194] receiving control input to the search control;
[0195] The program interface for displaying the first application program includes:
[0196] Displaying a ticket booking interface; wherein the ticket booking interface includes at least one item of ticket booking candidate information obtained by searching the starting city and the destination city;
[0197] When a purchase control input for one of at least one item of candidate ticketing information is received, a purchase order corresponding to the candidate ticketing information selected by the purchase control input is generated, and the purchase order is paid.
[0198] Among them, the control input is the input to the search control, and the above control input is used to control the electronic device to display the ticket booking interface. Exemplarily, the above control input includes but is not limited to: the user's touch input to the search control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above control input can be: the user's click input to the search control.
[0199] The ticket candidate information may be ticket information from the starting city to the destination city obtained by searching the starting city and the destination city.
[0200] The purchase control input is an input of one of at least one candidate ticket booking information, and the purchase control input is used to control the electronic device to generate a purchase order corresponding to the candidate ticket booking information selected by the purchase control input. Exemplarily, the purchase control input includes but is not limited to: a user's touch input of the navigation path through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the purchase control input can be: a user's click input of one of at least one candidate ticket booking information.
[0201] The ticket purchase order can generate a ticket order from the starting city to the destination city from the starting city and the destination city.
[0202] In some embodiments of the present application, when the function card includes a ticket booking card, the ticket booking card may include a ticket booking label, a main entity information display area and a search control. By responding to the control input of the search control, a ticket booking interface can be displayed, and the ticket booking interface includes at least one item of ticket candidate information obtained by searching the starting city and the destination city in the main entity information display area. When a purchase control input is received for one of the at least one item of ticket candidate information, a ticket purchase order corresponding to the ticket candidate information selected by the purchase control input can be generated, and the ticket purchase order can be paid, so as to complete the reservation of the ticket from the starting city to the destination city.
[0203] Continuing with the first example above, the user clicks Figure 4 The "Search" control 417 in the Fig.13 The ticket booking interface 130 shown in the figure includes two ticket booking candidate information from state b to state a, which are "train K438 from state b north to state a" 131 and "train D7134 from state b east to state a south" 132. Then, by clicking "train K438 from state b north to state a" 131 and then clicking "confirm order" control 133, a ticket purchase order for "train K438 from state b north to state a" is generated. The user pays the ticket purchase order and the reservation for "train K438 from state b north to state a" is completed. Fig.14 shown.
[0204] In an embodiment of the present application, when the function card includes a ticket booking card, any two city names extracted from the first travel guide information are automatically displayed in the main entity information display area, one of the two city names is used as the starting city and the other as the end city. In this way, if the user wants to search for ticket information from the starting city to the end city displayed in the main entity information display area, the ticket booking interface from the starting city to the end city can be directly displayed in response to the control input of the search control, without the user having to input the starting city and end city to purchase tickets, thereby improving the generation efficiency of the ticket purchase order from the starting city to the end city displayed in the main entity information display area, and thereby improving the reservation efficiency of the ticket from the starting city to the end city.
[0205] In some embodiments of the present application, when the function card includes an accommodation card, the accommodation card includes an accommodation label, a main entity information display area, and a search control.
[0206] The main entity information display area can be as follows Figure 6 In area 62, the main entity information display area may include tourism entity information, and the tourism entity information includes the entity name of the fourth tourism entity; the entity type of the fourth tourism entity is accommodation; the fourth tourism entity is a hotel; the entity name of the fourth tourism entity is the name of the hotel; the hotel is any hotel in the first tourism guide information.
[0207] Continue to refer Figure 6 , the extracted hotel type tourism entity information includes "B1 Hotel" 612, such as Figure 6 As shown, “Hotel B1” 612 may be displayed in area 62 .
[0208] In order to improve the hotel reservation efficiency, the receiving a second input of one of the at least one function options includes:
[0209] receiving control input to the search control;
[0210] The program interface for displaying the first application program includes:
[0211] The hotel reservation interface is displayed; wherein the hotel reservation interface includes a check-in time option for checking in to the hotel, a check-out time option for checking out of the hotel, and a number of guests option for checking in to the hotel;
[0212] Upon receiving selection control inputs for a check-in time option, a check-out time option, and a number of occupants option, a hotel reservation order is generated according to the check-in time, check-out time, and number of occupants selected by the selection control input, and the reservation order is paid.
[0213] Among them, the control input is the input to the search control, and the above control input is used to control the electronic device to display the hotel booking interface. Exemplarily, the above control input includes but is not limited to: the user's touch input to the search control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above control input can be: the user's click input to the search control.
[0214] The check-in time option of the hotel may be an option for selecting the check-in time of the hotel. The check-out time option of the hotel may be an option for selecting the time to leave the hotel. The number of people staying in the hotel option may be an option for selecting the number of people staying in the hotel.
[0215] The selection control input is an input for the check-in time option, the check-out time option and the number of occupants option. The selection control input is used to control the electronic device to determine the check-in time, check-out time and number of occupants of the hotel to be accommodated, and then generate a reservation order for the hotel. Exemplarily, the selection control input includes but is not limited to: the user touches the check-in time option, the check-out time option and the number of occupants option through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the selection control input can be: the user clicks the check-in time option, the check-out time option and the number of occupants option.
[0216] In some embodiments of the present application, when the function card includes an accommodation card, the accommodation card may include an accommodation label, a main entity information display area and a search control. By responding to the control input of the search control, a hotel reservation interface can be displayed. The hotel reservation interface includes hotel reservation information obtained by searching the hotel name in the main entity information display area, such as check-in time options for checking in to the hotel, check-out time options for checking out of the hotel, and number of occupants options for checking in to the hotel. When the selection control input of the check-in time option, the check-out time option, and the number of occupants option is received, a reservation order for the hotel can be generated, and the reservation order can be paid to complete the reservation of the hotel.
[0217] Continuing with the first example above, the user clicks Figure 6 The "Search" control 614 in the Fig.15The hotel booking interface 150 shown in the figure includes the hotel booking information of the searched "B1 Hotel", such as a check-in time option 151 for checking in to the "B1 Hotel", a check-out time option 152 for leaving the "B1 Hotel", and a number of guests option 153 for checking in to the "B1 Hotel". The user selects August 29, 2024 from the check-in time option 151, August 30, 2024 from the check-out time option 152, and 2 persons from the number of guests option 153, and then clicks the "Confirm Order" control 154, then a reservation order for the "B1 Hotel" can be generated. After the user pays for the reservation order, the reservation for the "B1 Hotel" can be completed, and the following is displayed: Fig.16 The interface for successfully booking B1 Hotel is shown.
[0218] In an embodiment of the present application, when the function card includes an accommodation card, by automatically displaying any hotel name extracted from the first travel guide information in the main entity information display area, any hotel name extracted from the first travel guide information is actively displayed in the main entity information display area. In this way, if the user wants to search for a hotel displayed in the main entity information display area, the hotel reservation interface of the hotel to be searched can be directly displayed in response to the control input of the search control, without the user having to enter the name of the hotel to be searched, thereby improving the efficiency of generating hotel reservation orders and thereby improving the efficiency of hotel reservations.
[0219] In some embodiments of the present application, when the function card includes a restaurant card, the restaurant card includes a restaurant label, a main entity information display area, and a search control.
[0220] The main entity information display area can be as follows Figure 8 In area 82, the main entity information display area includes tourism entity information, and the tourism entity information includes the entity name of the fifth tourism entity; the entity type of the fifth tourism entity is a restaurant; the fifth tourism entity is a restaurant; the entity name of the fifth tourism entity is the name of the restaurant; the restaurant is any restaurant in the first tourism guide information.
[0221] Continue to refer Figure 8 The extracted restaurant type tourism entity information includes “A1 restaurant” 812 , and “A1 restaurant” 812 can be displayed in area 42 .
[0222] In order to improve the reservation efficiency of the restaurant, the receiving a second input of one of the at least one function options includes:
[0223] receiving control input to the search control;
[0224] The program interface for displaying the first application program includes:
[0225] Displaying a restaurant reservation interface; wherein the restaurant reservation interface includes a dining time option and a dining number option for dining at the restaurant;
[0226] When the selection control input for the dining time option and the number of diners option is received, a restaurant meal order is generated according to the dining time and the number of diners selected by the selection control input, and the meal order is paid.
[0227] Among them, the control input is the input to the search control, and the above control input is used to control the electronic device to display the restaurant reservation interface. Exemplarily, the above control input includes but is not limited to: the user's touch input to the search control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above control input can be: the user's click input to the search control.
[0228] The dining time option for dining at a restaurant may be an option for selecting the time for dining at a restaurant. The number of diners option for dining at a restaurant may be an option for selecting the number of people dining at a restaurant.
[0229] The selection control input is an input for the dining time option and the number of diners option. The selection control input is used to control the electronic device to determine the dining time and the number of diners dining in the restaurant, and then generate a restaurant order. Exemplarily, the selection control input includes but is not limited to: the user's touch input of the dining time option and the number of diners option through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the selection control input can be: the user's click input of the dining time option and the number of diners option.
[0230] In some embodiments of the present application, when the function card includes a restaurant card, the restaurant card may include a restaurant label, a main entity information display area and a search control. In response to the control input of the search control, a restaurant reservation interface can be displayed. The restaurant reservation interface includes restaurant reservation information obtained by searching the restaurant name in the main entity information display area, such as dining time options and number of diners options. Upon receiving the selection control input of the dining time options and the number of diners options, a restaurant order can be generated and paid for, thereby completing the reservation for the restaurant.
[0231] Continuing with the first example above, the user clicks Figure 8 The "Search" control 814 in the Fig.17 The restaurant reservation interface 170 shown in the figure includes the restaurant reservation information of the searched "A1 restaurant", such as the dining time option 171 for dining at the "A1 restaurant" and the dining number option 172 for dining at the "A1 restaurant". The user selects August 30, 2024 from the dining time option 171, selects 2 people from the dining number option 172, and then clicks the "Confirm Order" control 173, then a meal order for the "A1 restaurant" can be generated. After the user pays for the meal order, the reservation for the "A1 restaurant" can be completed, and the following display can be displayed: Fig.18 The interface shown is for successfully booking the A1 restaurant.
[0232] In an embodiment of the present application, when the function card includes a restaurant card, by automatically displaying any restaurant name extracted from the first travel guide information in the main entity information display area, any restaurant name extracted from the first travel guide information is actively displayed in the main entity information display area. In this way, if the user wants to search for a restaurant displayed in the main entity information display area, the restaurant reservation interface of the restaurant to be searched can be directly displayed in response to the control input of the search control, without the user having to enter the name of the restaurant to be searched, thereby improving the efficiency of generating restaurant reservation orders and thereby improving the efficiency of restaurant reservations.
[0233] In some embodiments of the present application, when the function card includes a shopping card, the shopping card includes a shopping tag, a main entity information display area, and a search control.
[0234] The main entity information display area can be as follows Figure 7 In area 72, the main entity information display area includes tourism entity information, and the tourism entity information includes the entity name of the sixth tourism entity; the entity type of the sixth tourism entity is shopping; the sixth tourism entity is a commodity; the entity name of the sixth tourism entity is the name of the commodity; the commodity is any one of the commodities in the first travel guide information.
[0235] Continue to refer Figure 7 , the extracted tourism entity information of commodity types includes "mosquito repellent sticker" 712 and "river trekking shoes" 713. You can select one of the commodities from "mosquito repellent sticker" 712 and "river trekking shoes" 713 to be displayed in area 72, such as Figure 7 As shown, the “mosquito repellent sticker” 712 is displayed in area 72 .
[0236] In order to improve the efficiency of purchasing commodities, the receiving a second input of a function option among the at least one function option includes:
[0237] receiving control input to the search control;
[0238] The program interface for displaying the first application program includes:
[0239] Displaying a shopping interface; wherein the shopping interface includes at least one commodity candidate information obtained by searching for the commodity;
[0240] When a purchase control input for one of the at least one commodity candidate information is received, a shopping order for the commodity in the commodity candidate information is generated, and the shopping order is paid.
[0241] Among them, the control input is the input to the search control, and the above control input is used to control the electronic device to display the shopping interface. Exemplarily, the above control input includes but is not limited to: the user's touch input to the search control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above control input can be: the user's click input to the search control.
[0242] The product candidate information may be information about the product obtained by searching for the product, such as the price, brand, and information about the target group of the product.
[0243] The purchase control input is an input of one of the at least one commodity candidate information, and the purchase control input is used to control the electronic device to generate a shopping order for the commodity in the commodity candidate information selected by the purchase control input. Exemplarily, the purchase control input includes but is not limited to: a user's touch input of one of the at least one commodity candidate information through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the purchase control input can be: a user's click input of one of the at least one commodity candidate information.
[0244] In some embodiments of the present application, when the function card includes a shopping card, the shopping card may include a shopping tag, a main entity information display area and a search control. In response to the control input of the search control, a shopping interface may be displayed, and the shopping interface includes searching for at least one product candidate information of the product in the main entity information display area. When a purchase control input is received for one of the at least one product candidate information, a shopping order for the product in the product candidate information selected by the purchase control input may be generated, and the shopping order may be paid.
[0245] Continue to refer Figure 7 , the user clicks Figure 7 The "Search" control 714 in the Fig.19 The shopping interface 190 shown includes three product candidate information of the searched “Mosquito Repellent Patch” 712, namely “Mosquito Repellent Patch for Infants and Young Children” 191, “Mosquito Repellent Essential Oil” 192 and “Mosquito Repellent Bracelet” 193. Then, click on “Mosquito Repellent Patch for Infants and Young Children” 191, and then click on the “Confirm Order” control 194 to generate a shopping order for the mosquito repellent patches in the “Mosquito Repellent Patch for Infants and Young Children” 191. The user can pay the shopping order to complete the purchase of the “Mosquito Repellent Patch for Infants and Young Children” 191.
[0246] In an embodiment of the present application, when the function card includes a shopping card, by automatically displaying any product name extracted from the first travel guide information in the main entity information display area, any product name extracted from the first travel guide information is actively displayed in the main entity information display area. In this way, if the user wants to search for a product displayed in the main entity information display area, at least one product candidate information of the product displayed in the main entity information display area can be directly displayed in response to the control input of the search control, without the user having to enter the name of the product to be purchased, thereby improving the efficiency of generating shopping orders for the products in the main entity information display area and thereby improving the efficiency of purchasing the products.
[0247] In some embodiments of the present application, when the function options include a function card, the function card includes a main entity information display area and a secondary entity information display area, and the secondary entity information display area here may be an area for displaying other entity information in addition to the entity information displayed in the main entity information display area. Specifically, when a function card corresponds to at least two items of tourism entity information, the main entity information display area may include any one of the at least two items of tourism entity information, and the secondary entity information display area may include tourism entity information in the at least two items of tourism entity information in addition to the tourism entity information displayed in the main entity information display area.
[0248] Specifically, when the function card includes a navigation card, the auxiliary entity information display area includes the names of scenic spots in the first travel guide information except the names of scenic spots displayed in the main entity information display area. That is, when the function card includes a navigation card, the auxiliary entity information display area may display the names of scenic spots in the first travel guide information except the names of scenic spots displayed in the main entity information display area.
[0249] Continue to refer Figure 5 The “Navigation” function card also includes an auxiliary entity information display area 53. The names of the attractions in the first travel guide information are “A Attraction” 512, “B Attraction” 513, “C Attraction” 514, “D Attraction” 515 and “E Attraction” 516. “A Attraction” 512 is displayed in the main entity information display area 52, and the remaining attraction names “B Attraction” 513, “C Attraction” 514, “D Attraction” 515 and “E Attraction” 516 can be displayed in the auxiliary entity information display area 53.
[0250] Continue to refer Fig.10The “Navigation” function card also includes an auxiliary entity information display area 103. The names of the attractions in the first travel guide information are “C Attraction” 1012, “B Attraction” 1013, “F Attraction” 1014, “G Attraction” 1015 and “H Attraction” 1016. “C Attraction” 1012 is displayed in the main entity information display area 102, and the remaining attraction names “B Attraction” 1013, “F Attraction” 1014, “G Attraction” 1015 and “H Attraction” 1016 can be displayed in the auxiliary entity information display area 103.
[0251] In the case where the function card includes a ticket booking card, the auxiliary entity information display area includes city names in the first travel guide information except for the city names displayed in the main entity information display area. That is, in the case where the function card includes a ticket booking card, the auxiliary entity information display area can display city names in the first travel guide information except for the city names displayed in the main entity information display area.
[0252] Continue to refer Figure 4 The "ticket booking" function card also includes an auxiliary entity information display area 43. The city names in the first travel guide information are "City C", "State B" and "State A". After combining them in pairs, State B is used as the starting city and State A is used as the end city, that is, "State B-State A" 412 is displayed in the main entity information display area 42, and the remaining city names are combined in pairs, "State A-City C" 413, "State B-City C" 414, "State A-State B" 415 and "City C-State A" 416 can be displayed in the auxiliary entity information display area 43.
[0253] Continue to refer Fig. 9 The "ticket booking" function card also includes an auxiliary entity information display area 93. The city names in the first travel guide information are "City C", "State B" and "State A". After combining them in pairs, State B is used as the starting city and State A is used as the end city, that is, "State B-State A" 912 is displayed in the main entity information display area 92. The remaining city names are combined in pairs, "State A-City C" 913, "State B-City C" 919, "State A-State B" 915 and "City C-State A" 916 can be displayed in the auxiliary entity information display area 93.
[0254] When the function card includes an accommodation card, the auxiliary entity information display area includes hotel names in the first travel guide information except for the hotel names displayed in the main entity information display area. That is, when the function card includes an accommodation card, the auxiliary entity information display area can display hotel names in the first travel guide information except for the hotel names displayed in the main entity information display area.
[0255] Continue to refer Figure 6The “Accommodation” function card also includes an auxiliary entity information display area 63. The hotel names in the first travel guide information are “B1 Hotel” 612 and “B2 Hotel” 613. “B1 Hotel” 612 is displayed in the main entity information display area 62, and the remaining hotel name “B2 Hotel” 613 can be displayed in the auxiliary entity information display area 63.
[0256] In the case where the function card includes a restaurant card, the auxiliary entity information display area includes restaurant names in the first travel guide information except for restaurant names displayed in the main entity information display area. That is, in the case where the function card includes a restaurant card, the auxiliary entity information display area can display restaurant names in the first travel guide information except for restaurant names displayed in the main entity information display area.
[0257] Continue to refer Figure 8 The “Restaurant” function card also includes an auxiliary entity information display area 83. The restaurant names in the first travel guide information are “A1 Restaurant” 812 and “A2 Restaurant” 813. “A1 Restaurant” 812 is displayed in the main entity information display area 82, and the remaining restaurant name “A2 Restaurant 813” can be displayed in the auxiliary entity information display area 83.
[0258] When the function card includes a shopping card, the auxiliary entity information display area includes product names in the first travel guide information except for product names displayed in the main entity information display area. That is, when the function card includes a shopping card, the auxiliary entity information display area can display product names in the first travel guide information except for product names displayed in the main entity information display area.
[0259] Continue to refer Figure 7 The “shopping” function card also includes an auxiliary entity information display area 73. The product names in the first travel guide information are “mosquito repellent stickers” 712 and “river trekking shoes” 713. The “mosquito repellent stickers” 712 are displayed in the main entity information display area 72, and the remaining product name “river trekking shoes” 713 can be displayed in the auxiliary entity information display area 73.
[0260] In some embodiments of the present application, in order to improve the search efficiency of the tourism entity information in the auxiliary entity information display area, the above method may further include:
[0261] receiving an entity selection input for an item of tourism entity information in the auxiliary entity information display area;
[0262] In response to the entity selection input, the tourism entity information displayed in the main entity information display area is updated to the tourism entity information selected by the selection input.
[0263] Among them, the entity selection input is an input of a tourism entity information in the auxiliary entity information display area, and the above-mentioned entity selection input is used to control the electronic device to update the tourism entity information displayed in the main entity information display area to the tourism entity information selected by the selection input. Exemplarily, the above-mentioned entity selection input includes but is not limited to: a user's touch input of a tourism entity information in the auxiliary entity information display area through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above-mentioned entity selection input can be: a user's click input of a tourism entity information in the auxiliary entity information display area.
[0264] In some embodiments of the present application, after a user performs an entity selection input on an item of tourism entity information in the auxiliary entity information display area, in response to the entity selection input, the tourism entity information displayed in the main entity information display area can be updated to the tourism entity information selected by the selection input, that is, the tourism entity information in the main entity information display area can be swapped with the tourism entity information in the auxiliary entity information display area.
[0265] If the function card is a navigation card, continue to refer to Figure 5 , the user clicks "B scenic spot" 513 in the auxiliary entity information display area 53, and the "A scenic spot" 512 displayed in the main entity information display area 52 can be updated to "B scenic spot" 513, such as Fig. 20 shown.
[0266] Continue to refer Fig.10 , the user clicks "B scenic spot" 1013 in the auxiliary entity information display area 103, and the "C scenic spot" 1012 displayed in the main entity information display area 52 can be updated to "B scenic spot" 1013, such as Fig.21 shown.
[0267] If the function card is a ticket booking card, continue to refer to Figure 4 , the user clicks "state a-city c" 413 in the secondary entity information display area 43, and the "state b-state a" 412 displayed in the primary entity information display area 42 is updated to "state a-city c" 413, such as Fig. 22 shown.
[0268] If the function card is an accommodation card, continue to refer to Figure 6, the user clicks "B2 Hotel" 613 in the auxiliary entity information display area 63, and the "B1 Hotel" 612 displayed in the main entity information display area 62 is updated to "B2 Hotel" 613, such as Fig.23 shown.
[0269] In the case where the function card is a restaurant card, continue to refer to Figure 8 , the user clicks "A2 Restaurant" 813 in the auxiliary entity information display area 83, and the "A1 Restaurant" 812 displayed in the main entity information display area 82 is updated to "A2 Restaurant" 813, such as Fig.24 shown.
[0270] In an embodiment of the present application, by automatically displaying in the auxiliary entity information display area other tourism entity information that the user may want to search for in addition to the tourism entity information displayed in the main entity information display area, the tourism entity information other than the tourism entity information displayed in the main entity information display area is actively displayed in the auxiliary entity information display area. In this way, if the user still wants to search for other tourism entity information in addition to the tourism entity information displayed in the main entity information display area, the tourism entity information displayed in the main entity information display area can be updated to the tourism entity information selected by the selection input in response to performing an entity selection input on an item of tourism entity information in the auxiliary entity information display area. In this way, when the user needs to search for tourism entity information in the auxiliary entity information display area, the user only needs to click on the tourism entity information in the auxiliary entity information display area, and there is no need to enter the tourism entity information to be searched in the main entity information display area, which simplifies user operations and improves the search efficiency of tourism entity information in the auxiliary entity information display area.
[0271] In some embodiments of the present application, in order to improve the selection flexibility of the application program for searching the first tourism entity information, when the function options include a function card, the function card may further include a program selection control, and the above-mentioned method may further include:
[0272] receiving control input to a program selection control;
[0273] In response to the control input, at least two program identifiers are displayed; the at least two program identifiers include a first program identifier and a second program identifier, the first program identifier indicates a first application program, and the second program identifier indicates a second application program;
[0274] receiving a selection input for a second program identifier;
[0275] In response to the selection input, the program interface of the first application is updated to the program interface of the second application.
[0276] The program selection control may be a control for selecting an application for searching the first tourism entity information.
[0277] The control input is an input to the program selection control, and the control input is used to control the electronic device to display at least two program identifiers. Exemplarily, the control input includes, but is not limited to: a user's touch input to the program selection control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiments of the present invention are not limited. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the control input can be: a user's click input to the program selection control.
[0278] The second application may be a different application of the same type as the first application. For example, if the first application is application 1 for navigation, then the second application is also an application for navigation, but the second application is application 2.
[0279] The selection input is an input to the second program identifier, and the selection input is used to control the electronic device to update the program interface of the first application to the program interface of the second application. Exemplarily, the selection input includes but is not limited to: the user's touch input to the second program identifier through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the selection input can be: the user's click input to the second program identifier.
[0280] In some embodiments of the present application, at least two program identifiers can be displayed in response to a control input to a program selection control, where the at least two program identifiers may include a first program identifier and a second program identifier, the first program identifier indicating a first application, and the second program identifier indicating a second application, and then in response to a selection input to the second program identifier, the program interface of the first application can be updated to the program interface of the second application.
[0281] If the function card is a ticket booking card, continue to refer to Figure 4 The "Booking" function card also includes a program selection control 44, which is used to click the program selection control 44 to Fig.25 As shown, two program identifiers are displayed, which are the program identifier 251 of the application 1 for booking tickets and the program identifier 252 of the application 2. The electronic device uses the application 1 by default to search for the entity information displayed in the entity information display area 42. If the user clicks the program identifier 252 and then clicks the "search" control 417, the entity information displayed in the entity information display area 42 can be searched. Fig.13 The booking interface shown is updated to Fig.26 The booking interface shown. Fig.26 The ticket booking information from "State B to State A" in the ticket booking interface is searched through application 2.
[0282] If the function card is a navigation card, continue to refer to Figure 5 The "Navigation" function card also includes a program selection control 54, which is used to click the program selection control 54. Fig. 27 As shown, two program identifiers are displayed, which are program identifier 271 of application 3 for navigation and program identifier 272 of application 4. The electronic device uses application 3 by default to search for entity information displayed in entity information display area 52. If the user clicks program identifier 272 and then clicks "search" control 517, the entity information displayed in entity information display area 52 can be searched. Fig.11 The booking interface shown is updated to Fig.28 The navigation interface shown, Fig.28 The navigation path to scenic spot A in the navigation interface shown is searched by application 4 .
[0283] In an embodiment of the present application, after the application for searching the first tourism entity information has been determined, if the user wants to change the application for searching the first tourism entity information, at least two program identifiers can be displayed in response to the control input of the program selection control, and then in response to the user's selection input of the second program identifier of the second application that the user wants to change, the program interface of the previously displayed first application can be updated to the program interface of the second application that the user wants to change, thereby switching the application for searching the first tourism entity information according to user needs, thereby improving the flexibility of selecting the application for searching the first tourism entity information.
[0284] In some embodiments of the present application, in order to improve the efficiency of updating the function interface, after displaying the function interface, the above method may further include:
[0285] When the first travel guide information in the program interface is updated to the second travel guide information, at least one function option in the function interface corresponding to at least one travel entity in the first travel guide information is updated to at least one function option corresponding to at least one travel entity in the second travel guide information.
[0286] The second travel guide information may be travel guide information different from the first travel guide information. Specifically, the second travel guide information may be travel guide information with the same travel guide content as the first travel guide information. Figure 1 The travel guide information shown, but the user believes Figure 1 The travel guide information shown is not suitable for my travel, so I opened Figure 2 The tourist guide information shown, Figure 1 The tourist information and Figure 2 The travel guide information shown has the same travel guide content, which is to travel to state A for 2 days and 1 night.
[0287] The second travel guide information may also be travel guide information with different travel guide content from the first travel guide information. For example, the travel guide information that the user initially opens is Figure 1 The travel guide information shown, but the user believes Figure 1 The travel guide information shown is not suitable for my trip. I want to go to another place, so I opened Fig.29 The tourist guide information shown, Figure 1 The tourist information and Fig.29 The travel guide information shown corresponds to different travel guide contents. Figure 1 The travel guide information shown is to travel to state a for 2 days and 1 night. Fig.29 The travel guide information shown is for a 2-day and 1-night trip to city D.
[0288] In some embodiments of the present application, when the first travel guide information in the program interface is updated to the second travel guide information, at least one function option in the function interface corresponding to at least one travel entity in the first travel guide information can be updated to at least one function option corresponding to at least one travel entity in the second travel guide information.
[0289] Continuing with the above example, let’s take the first travel guide information as Figure 1 The travel guide information shown is Figure 2 For example, when the user Figure 1 The travel guide information shown is updated to Figure 2 After the travel guide information is displayed, the Figure 4The interface shown is updated to Fig. 9 The interface shown.
[0290] Based on the first travel guide information Figure 1 The travel guide information shown is Fig.29 For example, when the user Figure 1 The travel guide information shown is updated to Fig.29 After the travel guide information is displayed, the Figure 4 The interface shown is updated to Fig.30 Interface 300 is shown.
[0291] In an embodiment of the present application, when the first travel guide information in the program interface is updated to the second travel guide information, at least one function option in the function interface corresponding to at least one travel entity in the first travel guide information will also be synchronously updated to at least one function option corresponding to at least one travel entity in the second travel guide information. In this way, when the first travel guide information is updated to the second travel guide information, at least one function option displayed in the function interface can be automatically updated to a function option that matches the travel guide information displayed in the program interface, without the user having to perform a first input on the program interface corresponding to the second travel guide information, thereby simplifying user operations and improving the efficiency of updating the function interface.
[0292] In some embodiments of the present application, in order to enable the user to conveniently view the extraction result of the tourism entity information extracted from the first tourism guide information, after receiving the first input to the program interface, the above method may further include:
[0293] When no tourism entity information is extracted from the first tourism guide information, prompt information is displayed.
[0294] The prompt information may be information for prompting that the tourism entity information is not extracted from the first tourism guide information and prompting to change the tourism guide information so as to re-extract the tourism entity information.
[0295] In some embodiments of the present application, when tourism entity information is not extracted from the first travel guide information, prompt information may be displayed to prompt that tourism entity information is not extracted from the first travel guide information and to prompt to replace the travel guide information to re-extract the tourism entity information.
[0296] It should be noted that, when the first travel guide information includes text and pictures, and the pictures include text, the failure to extract tourism entity information from the first travel guide information can be divided into the following situations: tourism entity information is not extracted from the text part in the first travel guide information, tourism entity information is not extracted from the text in the picture in the first travel guide information, and the scenery in the picture in the first travel guide information is identified, but the tourism entity information is not identified.
[0297] In one example, the first travel guide information is Fig.31 Take the travel guide information shown in the figure as an example. Fig.31 The displayed travel guide information includes the text "It's a good place to travel" and the picture 311. Fig.31 The travel guide information shown in the figure is used to identify the travel entity information. If no travel entity information is identified in the text "It's good to travel here" and the picture 311, it is displayed Fig.32 The prompt message 321 shown is “No tourist location was identified. Try another page.”
[0298] In an embodiment of the present application, when tourism entity information is not extracted from the first travel guide information, a prompt message may be displayed indicating that tourism entity information is not extracted from the first travel guide information and prompting the user to change the travel guide information to re-extract the tourism entity information. This allows the user to intuitively see that the first travel guide information has not extracted tourism entity information, so as to remind the user to change the travel guide information, so that the user can conveniently view the extraction results of the tourism entity information extracted by the first travel guide information.
[0299] In some embodiments of the present application, in order to improve the efficiency of displaying the function interface, after receiving the second input of one of the at least one function options, the method may further include:
[0300] Cancel the display function interface and display the floating control;
[0301] When a control input to the floating control is received, a function interface is displayed.
[0302] Among them, the floating control can be a control used to indicate a functional interface.
[0303] The control input is the input to the floating control, and the above control input is used to control the display function interface of the electronic device. Exemplarily, the above control input includes but is not limited to: the user's touch input to the floating control through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible input, which can be determined according to actual use requirements, and the embodiment of the present invention is not limited. The specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input. For example, the above control input can be: a user's click input to the floating control.
[0304] In some embodiments of the present application, after receiving a second input for one of at least one function option, specifically after displaying the program interface of the first application, the function interface can be canceled and a floating control can be displayed, and then after receiving a control input for the floating control, the function interface can be returned to display.
[0305] Continue to refer Fig.11 The navigation interface includes a "floating ball" control 112. The user clicks the "floating ball" control 112 to return to the display Figure 5 .
[0306] Continue to refer Fig.13 The ticket booking interface includes a "floating ball" control 134. The user clicks the "floating ball" control 134 to return to the display Figure 4 .
[0307] In an embodiment of the present application, after receiving a second input to a function option among at least one function option, the display function interface can be canceled and a floating control can be displayed. After receiving a control input to the floating control, the display function interface can be returned to. In this way, the user can return to the display function interface with one click by executing a control input to the floating control. The user does not need to constantly execute the exit interface operation, which simplifies user operations and improves the efficiency of the function interface display.
[0308] In some embodiments of the present application, in order to improve the display flexibility of the function interface, the display function interface may specifically include:
[0309] Update the program interface to a functional interface;
[0310] Alternatively, the program interface is displayed in the first display area of the display screen, and the function interface is displayed in the second display area of the display screen;
[0311] Alternatively, the function interface is displayed on the second display screen, and the program interface is displayed on the first display screen.
[0312] Wherein, in the case where the display screen of the electronic device is a single screen, the first display area may be a part of the display screen of the electronic device. The second display area may be another part of the display screen of the electronic device, that is, the first display area and the second display area may be different display areas of the display screen, for example, the first display area is the upper half of the display screen, and the second display area is the lower half of the display screen, or the first display area is the left half of the display screen, and the second display area is the right half of the display screen.
[0313] In one example, reference Fig.33 , Fig.33 is a schematic diagram of the display interface of the display screen. Fig.33 In the example, the first display area may be the display area 331 , and the second display area may be the display area 332 .
[0314] In another example, reference Fig.34 , Fig.34 is a schematic diagram of the display interface of the display screen. Fig.34 In the example, the first display area may be display area 341 , and the second display area may be display area 342 .
[0315] It should be noted that, when the display screen of the electronic device is a single screen, the display screen of the electronic device can be a flat screen, a curved screen or a large screen, etc. The specific type of the display screen is not limited in the embodiments of the present application.
[0316] In the case where the display screen of the electronic device is a folding screen, the display screen of the electronic device may include a first display screen and a second display screen, that is, the first display screen and the second display screen are two display screens of the folding screen, such as Figure 1 As shown, the electronic device includes a first display screen 11 and a second display screen 12 .
[0317] In some embodiments of the present application, when the display screen of the electronic device is a single screen, when displaying the function interface, the program interface may be updated to the function interface; or, the program interface may be displayed in the first display area of the display screen, and the function interface may be displayed in the second display area of the display screen.
[0318] In one example, reference Fig.35 , a program interface 351 is displayed on the display screen. After a first input is performed on the program interface 351, when the function interface is displayed, the program interface 351 displayed on the display screen can be updated to the function interface 352, such as Fig.36 shown.
[0319] In another example, when displaying the function interface, Fig.33 As shown, a program interface 351 is displayed in the display area 331 , and a function interface 352 is displayed in the display area 332 .
[0320] In another example, when displaying the function interface, Fig.34 As shown, a program interface 351 is displayed in the display area 341 , and a function interface 352 is displayed in the display area 342 .
[0321] In some embodiments of the present application, when the display screen of the electronic device is a folding screen, when displaying the function interface, the function interface may be displayed on the second display screen, and the program interface may be displayed on the first display screen.
[0322] refer to Figure 1 , the program interface 10 is displayed in full screen on the folding screen, and after the user performs the first input, when the function interface is displayed, the program interface 10 can be displayed as follows Figure 4 As shown, the program interface 10 is displayed on the first display screen 11 , and the function interface 40 is displayed on the second display screen 12 .
[0323] In an embodiment of the present application, when displaying a function interface, the program interface may be updated to the function interface; or, the program interface may be displayed in a first display area of a display screen, and the function interface may be displayed in a second display area of the display screen; or, the function interface may be displayed in a second display screen, and the program interface may be displayed on a first display screen. In this way, the display status of the function interface may be determined according to user needs and the type of electronic device, thereby improving the display flexibility of the function interface.
[0324] The information processing method provided in the embodiment of the present application can be executed by an information processing device. In the embodiment of the present application, the information processing device provided in the embodiment of the present application is described by taking the information processing device executing the information processing method as an example.
[0325] Fig.37 FIG. 1 is a schematic diagram showing the structure of an information processing device according to an exemplary embodiment. Fig.37 As shown, the information processing device 3700 may include:
[0326] The receiving module 3710 is used to receive a first input to a program interface, wherein the program interface includes first travel guide information;
[0327] Display module 3720 is used to display a function interface in response to the first input, and the function interface includes at least one function option corresponding to at least one travel entity in the first travel guide information; wherein the function option includes at least one of the following: navigation, ticket booking, accommodation, restaurant, shopping.
[0328] In an embodiment of the present application, by responding to the user's first input to the program interface including the first travel guide information, at least one functional option of navigation, ticket booking, accommodation, restaurant, and shopping corresponding to at least one travel entity in the first travel guide information can be directly displayed. In this way, the user can directly plan the itinerary of at least one of navigation, ticket booking, accommodation, restaurant, and shopping based on at least one functional option of navigation, ticket booking, accommodation, restaurant, and shopping. The user does not need to manually open the corresponding application one by one to plan at least one of navigation, ticket booking, accommodation, restaurant, and shopping based on various information sources, personal experience, knowledge, preferences, etc., which simplifies user operations and improves the efficiency of itinerary planning.
[0329] In some embodiments of the present application, the function options include function cards, which include: function labels, tourism entity information and function controls; the function cards include at least one of the following: navigation cards, ticket booking cards, accommodation cards, restaurant cards and shopping cards.
[0330] In some embodiments of the present application, the receiving module 3710 is further configured to receive a second input of one of the at least one function options after the function interface is displayed;
[0331] The display module 3720 is also used to display a program interface of a first application in response to the second input; wherein the program interface of the first application includes search results of the first tourism entity information, the first tourism entity information is the tourism entity information in the function option selected by the second input, and the first application is an application for searching for the first tourism entity information.
[0332] In some embodiments of the present application, when the function card includes a navigation card, the navigation card includes a navigation label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a first tourism entity; the entity type of the first tourism entity is a scenic spot; the first tourism entity is a scenic spot; the entity name of the first tourism entity is a scenic spot name of the scenic spot; the scenic spot is any scenic spot in the first tourism guide information;
[0333] The receiving module 3710 is specifically configured to: receive a control input to the search control;
[0334] The display module 3720 is specifically used to: display a navigation interface; wherein the navigation interface includes a navigation path obtained by searching for the navigation path of the scenic spot;
[0335] The above-mentioned device may further include: a navigation module, which is used to navigate according to the navigation path when receiving a navigation start control input for the navigation path.
[0336] In some embodiments of the present application, when the function card includes a ticket booking card, the ticket booking card includes a ticket booking label, a main entity information display area and a search control; the main entity information display area includes travel entity information, and the travel entity information includes the entity names of the second travel entity and the third travel entity; the entity types of the second travel entity and the third travel entity are cities; the entity name of the second travel entity is the city name of the starting city; the entity name of the third travel entity is the city name of the destination city; the starting city and the destination city are two cities in any itinerary information in the first travel guide information;
[0337] The receiving module 3710 is specifically configured to: receive a control input to the search control;
[0338] The display module 3720 is specifically used to: display a ticket booking interface; wherein the ticket booking interface includes at least one item of ticket booking candidate information obtained by searching the starting city and the destination city;
[0339] The above-mentioned device may also include: a ticket purchase order generation module, which is used to generate a ticket purchase order corresponding to the ticket candidate information selected by the purchase control input when receiving a purchase control input for one of the at least one ticket candidate information, and pay the ticket purchase order.
[0340] In some embodiments of the present application, when the function card includes an accommodation card, the accommodation card includes an accommodation label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a fourth tourism entity; the entity type of the fourth tourism entity is accommodation; the fourth tourism entity is a hotel; the entity name of the fourth tourism entity is the name of the hotel; the hotel is any one of the hotels in the first tourism guide information;
[0341] The receiving module 3710 is specifically configured to: receive a control input to the search control;
[0342] The display module 3720 is specifically used to: display a hotel reservation interface; wherein the hotel reservation interface includes a check-in time option for checking in to the hotel, a check-out time option for checking out of the hotel, and a number of people staying in the hotel;
[0343] The above-mentioned device may also include: an accommodation order generation module, which is used to generate a reservation order for the hotel according to the check-in time, check-out time and number of guests selected by the selection control input when receiving the selection control input for the check-in time option, the check-out time option and the number of guests option, and pay the reservation order.
[0344] In some embodiments of the present application, when the function card includes a restaurant card, the restaurant card includes a restaurant label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a fifth tourism entity; the entity type of the fifth tourism entity is a restaurant; the fifth tourism entity is a restaurant; the entity name of the fifth tourism entity is the name of a restaurant; the restaurant is any restaurant in the first tourism guide information;
[0345] The receiving module 3710 is specifically configured to: receive a control input to the search control;
[0346] The display module 3720 is specifically used to: display a restaurant reservation interface; wherein the restaurant reservation interface includes a dining time option and a dining number option for dining at the restaurant;
[0347] The above-mentioned device may also include: a meal order generation module, which is used to generate a meal order for the restaurant according to the meal time and the number of diners selected by the selection control input when receiving the selection control input for the meal time option and the number of diners option, and pay the meal order.
[0348] In some embodiments of the present application, when the function card includes a shopping card, the shopping card includes a shopping tag, a main entity information display area and a search control; the main entity information display area includes travel entity information, and the travel entity information includes an entity name of a sixth travel entity; the entity type of the sixth travel entity is shopping; the sixth travel entity is a commodity; the entity name of the sixth travel entity is the name of the commodity; the commodity is any one of the commodities in the first travel guide information;
[0349] The receiving module 3710 is specifically configured to: receive a control input to the search control;
[0350] The display module 3720 is specifically used to: display a shopping interface; wherein the shopping interface includes at least one commodity candidate information obtained by searching the commodity;
[0351] The above-mentioned device may also include: a shopping order generation module, which is used to generate a shopping order for the goods in the goods candidate information selected by the purchase control input when receiving a purchase control input for one of the at least one goods candidate information, and pay the shopping order.
[0352] In some embodiments of the present application, when the function options include function cards, the function cards include a main entity information display area and a secondary entity information display area, and when one function card corresponds to at least two items of tourism entity information, the main entity information display area includes any one of the at least two items of tourism entity information, and the secondary entity information display area includes the tourism entity information of the at least two items of tourism entity information except the tourism entity information displayed in the main entity information display area;
[0353] The receiving module 3710 is further used to receive an entity selection input for an item of tourism entity information in the auxiliary entity information display area;
[0354] The above-mentioned device may further include: an updating module, which is used to update the tourism entity information displayed in the main entity information display area to the tourism entity information selected by the selection input in response to the entity selection input.
[0355] In some embodiments of the present application, when the function card includes a navigation card, the auxiliary entity information display area includes the names of attractions in the first travel guide information other than the names of attractions displayed in the main entity information display area;
[0356] In the case where the function card includes a ticket booking card, the auxiliary entity information display area includes city names in the first travel guide information other than the city names displayed in the main entity information display area;
[0357] In the case where the function card includes an accommodation card, the auxiliary entity information display area includes hotel names in the first travel guide information other than the hotel names displayed in the main entity information display area;
[0358] In the case where the function card includes a restaurant card, the auxiliary entity information display area includes restaurant names in the first travel guide information other than the restaurant names displayed in the main entity information display area;
[0359] In the case where the function card includes a shopping card, the auxiliary entity information display area includes product names in the first travel guide information except for the product names displayed in the main entity information display area.
[0360] In some embodiments of the present application, when the function options include a function card, the function card also includes a program selection control, and the receiving module 3710 is further used to receive a control input to the program selection control;
[0361] The display module 3720 is further configured to display at least two program identifiers in response to the control input; the at least two program identifiers include a first program identifier and a second program identifier, the first program identifier indicates the first application program, and the second program identifier indicates the second application program;
[0362] The receiving module 3710 is further configured to receive a selection input of the second program identifier;
[0363] The updating module is further used to update the program interface of the first application to the program interface of the second application in response to the selection input.
[0364] In some embodiments of the present application, the update module is also used to update at least one function option in the function interface corresponding to at least one travel entity in the first travel guide information to at least one function option corresponding to at least one travel entity in the second travel guide information when the first travel guide information in the program interface is updated to the second travel guide information after the function interface is displayed.
[0365] In some embodiments of the present application, the display module 3720 is also used to display a prompt message after receiving the first input to the program interface, if the tourism entity information is not extracted from the first travel guide information, and the prompt message is used to prompt that the tourism entity information is not extracted from the first travel guide information and to prompt to change the travel guide information to re-extract the tourism entity information.
[0366] In some embodiments of the present application, the display module 3720 is also used to cancel the display of the function interface and display a floating control after receiving a second input to a function option among the at least one function option, wherein the floating control is used to indicate the function interface; and display the function interface when a control input to the floating control is received.
[0367] In some embodiments of the present application, the display module 3720 is specifically used for:
[0368] Updating the program interface to the function interface;
[0369] Alternatively, the program interface is displayed in a first display area of the display screen, and the function interface is displayed in a second display area of the display screen;
[0370] Alternatively, the function interface is displayed on the second display screen, and the program interface is displayed on the first display screen; wherein the first display screen and the second display screen are two display screens of a folding screen device.
[0371] In some embodiments of the present application, the above-mentioned device may further include:
[0372] A screenshot module, used to take a screenshot of the program interface before displaying the function interface to generate a screenshot image;
[0373] A text recognition module, used for performing text recognition on the first travel guide information in the screenshot image to obtain travel text information of the first travel guide information;
[0374] The information extraction module is used to extract tourism entity information of a tourism entity of at least one entity type in the tourism text information.
[0375] In some embodiments of the present application, the information extraction module is specifically used to:
[0376] Inputting the tourism text information into a first information extraction model and outputting a tourism entity information data set;
[0377] The tourism entity information data set includes at least one entity type of tourism entity and tourism entity information of each tourism entity.
[0378] In some embodiments of the present application, the above-mentioned device may further include:
[0379] An acquisition module, used for acquiring a training sample set before inputting the tourism text information into a first information extraction model and outputting a tourism entity information data set, wherein the training sample set includes at least two sample information groups, each sample information group includes a tourism text information sample and a tourism entity information sample of a tourism entity of at least one entity type in the tourism text information sample;
[0380] An output module, used for inputting each sample information group into a second information extraction model, and outputting predicted entity information of at least one entity type in the tourism text information sample;
[0381] The model training module is used to perform model training on the second information extraction model according to the difference between the predicted entity information of at least one entity type in the tourism text information sample and the tourism entity information sample to obtain the first information extraction model.
[0382] The information processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0383] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0384] The information processing device provided in the embodiment of the present application can realize Figure 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0385] Alternatively, if Fig.38 As shown, an embodiment of the present application further provides an electronic device 3800, including a processor 3801 and a memory 3802, wherein the memory 3802 stores programs or instructions that can be executed on the processor 3801, and when the program or instructions are executed by the processor 3801, the various steps of the above-mentioned information processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0386] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0387] Fig.39 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0388] The electronic device 3900 includes but is not limited to: a radio frequency unit 3901, a network module 3902, an audio output unit 3903, an input unit 3904, a sensor 3905, a display unit 3906, a user input unit 3907, an interface unit 3908, a memory 3909, and a processor 3910 and other components.
[0389] Those skilled in the art will appreciate that the electronic device 3900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 3910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.39 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0390] The user input unit 3907 is used to receive a first input to the program interface, wherein the program interface includes first travel guide information;
[0391] Display unit 3906 is used to display a function interface in response to the first input, and the function interface includes at least one function option corresponding to at least one travel entity in the first travel guide information; wherein the function option includes at least one of the following: navigation, ticket booking, accommodation, restaurant, shopping.
[0392] In this way, by responding to the user's first input to the program interface including the first travel guide information, at least one functional option of navigation, ticket booking, accommodation, restaurant, and shopping corresponding to at least one travel entity in the first travel guide information can be directly displayed. In this way, the user can directly plan the itinerary of at least one of navigation, ticket booking, accommodation, restaurant, and shopping based on at least one functional option of navigation, ticket booking, accommodation, restaurant, and shopping. The user does not need to manually open the corresponding application one by one to plan at least one of navigation, ticket booking, accommodation, restaurant, and shopping according to various information sources, personal experience, knowledge, preferences, etc., which simplifies user operations and improves the efficiency of itinerary planning.
[0393] Optionally, the function options include function cards, and the function cards include: function labels, tourism entity information and function controls; the function cards include at least one of the following: navigation cards, ticket booking cards, accommodation cards, restaurant cards, and shopping cards.
[0394] Optionally, the user input unit 3907 is further configured to receive a second input for a function option in the at least one function option;
[0395] The display unit 3906 is also used to display a program interface of a first application in response to the second input; wherein the program interface of the first application includes search results of the first tourism entity information, the first tourism entity information is the tourism entity information in the function option selected by the second input, and the first application is an application for searching for the first tourism entity information.
[0396] In this way, by responding to the second input of the first tourism entity information in one of at least one function option, the program interface of the first application including the search results of the first tourism entity information can be directly displayed. In this way, the user does not need to manually open the first application and search for the first tourism entity information in the first application to obtain the search results of the first tourism entity information, which simplifies user operations and improves the efficiency of obtaining the search results of the first tourism entity information.
[0397] Optionally, in the case where the function card includes a navigation card, the navigation card includes a navigation label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a first tourism entity; the entity type of the first tourism entity is a scenic spot; the first tourism entity is a scenic spot; the entity name of the first tourism entity is a scenic spot name of the scenic spot; the scenic spot is any scenic spot in the first tourism guide information;
[0398] The user input unit 3907 is further used to receive control input to the search control;
[0399] The display unit 3906 is further used to display a navigation interface; wherein the navigation interface includes a navigation path obtained by searching for the navigation path of the scenic spot;
[0400] Processor 3910 is configured to navigate along the navigation path upon receiving a navigation start control input for the navigation path.
[0401] In this way, when the function card includes a navigation card, by automatically displaying any scenic spot name extracted from the first travel guide information in the main entity information display area, any scenic spot name extracted from the first travel guide information is actively displayed in the main entity information display area. In this way, if the user wants to search for scenic spots displayed in the main entity information display area, the navigation interface of the navigation path of the scenic spots displayed in the main entity information display area can be directly displayed in response to the control input of the search control. The user does not need to input the location to be navigated to, thereby improving the efficiency of obtaining the navigation path of the scenic spots in the main entity information display area, and thereby improving the navigation efficiency to the scenic spots.
[0402] Optionally, when the function card includes a ticket booking card, the ticket booking card includes a ticket booking label, a main entity information display area and a search control; the main entity information display area includes travel entity information, and the travel entity information includes entity names of a second travel entity and a third travel entity; the entity types of the second travel entity and the third travel entity are cities; the entity name of the second travel entity is the city name of the starting city; the entity name of the third travel entity is the city name of the destination city; the starting city and the destination city are two cities in any itinerary information in the first travel guide information;
[0403] The user input unit 3907 is further used to receive control input to the search control;
[0404] The display unit 3906 is further used to display a ticket booking interface; wherein the ticket booking interface includes at least one item of ticket booking candidate information obtained by searching the starting city and the destination city;
[0405] Processor 3910 is further configured to, upon receiving a purchase control input for one item of the at least one item of ticket candidate information, generate a purchase order corresponding to the ticket candidate information selected by the purchase control input, and pay the purchase order.
[0406] In this way, when the function card includes a ticket booking card, any two city names extracted from the first travel guide information are automatically displayed in the main entity information display area, one of the two city names is used as the starting city and the other as the end city. In this way, if the user wants to search for ticket information from the starting city to the end city displayed in the main entity information display area, the ticket booking interface from the starting city to the end city can be directly displayed in response to the control input of the search control, without the user having to input the starting city and end city to purchase tickets, thereby improving the generation efficiency of the ticket purchase order from the starting city to the end city displayed in the main entity information display area, and thereby improving the booking efficiency of the ticket from the starting city to the end city.
[0407] Optionally, when the function card includes an accommodation card, the accommodation card includes an accommodation label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a fourth tourism entity; the entity type of the fourth tourism entity is accommodation; the fourth tourism entity is a hotel; the entity name of the fourth tourism entity is the name of the hotel; and the hotel is any one of the hotels in the first tourism guide information;
[0408] The user input unit 3907 is further used to receive control input to the search control;
[0409] The display unit 3906 is further used to display a hotel reservation interface; wherein the hotel reservation interface includes a check-in time option for checking in to the hotel, a check-out time option for checking out of the hotel, and a number of people staying in the hotel;
[0410] Processor 3910 is also used to, upon receiving selection control input for the check-in time option, the check-out time option and the number of occupants option, generate a reservation order for the hotel according to the check-in time, check-out time and number of occupants selected by the selection control input, and pay for the reservation order.
[0411] In this way, when the function card includes an accommodation card, by automatically displaying any hotel name extracted from the first travel guide information in the main entity information display area, any hotel name extracted from the first travel guide information is actively displayed in the main entity information display area. In this way, if the user wants to search for a hotel displayed in the main entity information display area, the hotel reservation interface of the hotel to be searched can be directly displayed in response to the control input of the search control, without the user having to enter the name of the hotel to be searched, thereby improving the efficiency of generating hotel reservation orders and thereby improving the efficiency of hotel reservations.
[0412] Optionally, when the function card includes a restaurant card, the restaurant card includes a restaurant label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a fifth tourism entity; the entity type of the fifth tourism entity is a restaurant; the fifth tourism entity is a restaurant; the entity name of the fifth tourism entity is a name of a restaurant; and the restaurant is any restaurant in the first tourism guide information;
[0413] The user input unit 3907 is further used to receive control input to the search control;
[0414] The display unit 3906 is further used to display a restaurant reservation interface; wherein the restaurant reservation interface includes a dining time option and a dining number option for dining at the restaurant;
[0415] Processor 3910 is also used to, upon receiving selection control input for the dining time option and the number of diners option, generate a meal order for the restaurant according to the dining time and number of diners selected by the selection control input, and pay for the meal order.
[0416] In this way, when the function card includes a restaurant card, by automatically displaying any restaurant name extracted from the first travel guide information in the main entity information display area, any restaurant name extracted from the first travel guide information is actively displayed in the main entity information display area. In this way, if the user wants to search for a restaurant displayed in the main entity information display area, the restaurant reservation interface of the restaurant to be searched can be directly displayed in response to the control input of the search control, without the user having to enter the name of the restaurant to be searched, thereby improving the efficiency of generating restaurant reservation orders and thereby improving the efficiency of restaurant reservations.
[0417] Optionally, when the function card includes a shopping card, the shopping card includes a shopping tag, a main entity information display area and a search control; the main entity information display area includes travel entity information, and the travel entity information includes an entity name of a sixth travel entity; the entity type of the sixth travel entity is shopping; the sixth travel entity is a commodity; the entity name of the sixth travel entity is the name of the commodity; the commodity is any one of the commodities in the first travel guide information;
[0418] The user input unit 3907 is further used to receive control input to the search control;
[0419] The display unit 3906 is further configured to display a shopping interface, wherein the shopping interface includes at least one commodity candidate information obtained by searching the commodity;
[0420] Processor 3910 is further configured to, upon receiving a purchase control input for one of the at least one product candidate information, generate a shopping order for the product in the product candidate information selected by the purchase control input, and pay the shopping order.
[0421] In this way, in the case where the function card includes a shopping card, by automatically displaying any product name extracted from the first travel guide information in the main entity information display area, any product name extracted from the first travel guide information is actively displayed in the main entity information display area. In this way, if the user wants to search for a product displayed in the main entity information display area, at least one product candidate information of the product displayed in the main entity information display area can be directly displayed in response to the control input of the search control, without the user having to enter the name of the product to be purchased, thereby improving the efficiency of generating shopping orders for the products in the main entity information display area and thereby improving the efficiency of purchasing the products.
[0422] Optionally, in the case where the function options include function cards, the function cards include a main entity information display area and a secondary entity information display area, and in the case where one function card corresponds to at least two items of tourism entity information, the main entity information display area includes any one of the at least two items of tourism entity information, and the secondary entity information display area includes the tourism entity information of the at least two items of tourism entity information except the tourism entity information displayed in the main entity information display area;
[0423] The user input unit 3907 is further used to receive an entity selection input for an item of tourism entity information in the auxiliary entity information display area;
[0424] The processor 3910 is further configured to update the tourism entity information displayed in the main entity information display area to the tourism entity information selected by the selection input in response to the entity selection input.
[0425] In this way, by automatically displaying in the auxiliary entity information display area other tourism entity information that the user may want to search for in addition to the tourism entity information displayed in the main entity information display area, the tourism entity information other than the tourism entity information displayed in the main entity information display area is actively displayed in the auxiliary entity information display area. In this way, if the user still wants to search for other tourism entity information in addition to the tourism entity information displayed in the main entity information display area, the tourism entity information displayed in the main entity information display area can be updated to the tourism entity information selected by the selection input in response to performing an entity selection input on an item of tourism entity information in the auxiliary entity information display area. In this way, when the user needs to search for tourism entity information in the auxiliary entity information display area, the user only needs to click on the tourism entity information in the auxiliary entity information display area, and there is no need to enter the tourism entity information to be searched in the main entity information display area, which simplifies user operations and improves the search efficiency of tourism entity information in the auxiliary entity information display area.
[0426] Optionally, in the case where the function card includes a navigation card, the auxiliary entity information display area includes the names of scenic spots in the first travel guide information except the names of scenic spots displayed in the main entity information display area;
[0427] In the case where the function card includes a ticket booking card, the auxiliary entity information display area includes city names in the first travel guide information other than the city names displayed in the main entity information display area;
[0428] In the case where the function card includes an accommodation card, the auxiliary entity information display area includes hotel names in the first travel guide information other than the hotel names displayed in the main entity information display area;
[0429] In the case where the function card includes a restaurant card, the auxiliary entity information display area includes restaurant names in the first travel guide information other than the restaurant names displayed in the main entity information display area;
[0430] In the case where the function card includes a shopping card, the auxiliary entity information display area includes product names in the first travel guide information except for the product names displayed in the main entity information display area.
[0431] Optionally, in the case where the function option includes a function card, the function card further includes a program selection control, and the user input unit 3907 is further used to receive a control input to the program selection control;
[0432] The display unit 3906 is further configured to display at least two program identifiers in response to the control input; the at least two program identifiers include a first program identifier and a second program identifier, the first program identifier indicates the first application program, and the second program identifier indicates the second application program;
[0433] The user input unit 3907 is further used to receive a selection input of the second program identifier;
[0434] The processor 3910 is further configured to update the program interface of the first application to the program interface of the second application in response to the selection input.
[0435] In this way, after the application for searching the first tourism entity information has been determined, if the user wants to change the application for searching the first tourism entity information, at least two program identifiers can be displayed in response to the control input of the program selection control, and then in response to the user's selection input of the second program identifier of the second application that the user wants to change, the program interface previously displayed for the first application can be updated to the program interface of the second application that the user wants to change. In this way, the application for searching the first tourism entity information can be switched according to user needs, thereby improving the flexibility of selecting the application for searching the first tourism entity information.
[0436] Optionally, processor 3910 is further used to update at least one function option in the function interface corresponding to at least one travel entity in the first travel guide information to at least one function option corresponding to at least one travel entity in the second travel guide information after the function interface is displayed, when the first travel guide information in the program interface is updated to the second travel guide information.
[0437] In this way, when the first travel guide information in the program interface is updated to the second travel guide information, at least one function option in the function interface corresponding to at least one travel entity in the first travel guide information will also be synchronously updated to at least one function option corresponding to at least one travel entity in the second travel guide information. In this way, when the first travel guide information is updated to the second travel guide information, at least one function option displayed in the function interface can be automatically updated to a function option that matches the travel guide information displayed in the program interface, without the user having to perform a first input on the program interface corresponding to the second travel guide information, thereby simplifying user operations and improving the efficiency of updating the function interface.
[0438] Optionally, the display unit 3906 is also used to display a prompt message after receiving the first input to the program interface, if the tourism entity information is not extracted from the first travel guide information, and the prompt message is used to prompt that the tourism entity information is not extracted from the first travel guide information and to prompt to change the travel guide information to re-extract the tourism entity information.
[0439] In this way, when the tourism entity information is not extracted from the first travel guide information, a prompt message can be displayed indicating that the tourism entity information is not extracted from the first travel guide information and prompting the user to change the travel guide information to re-extract the tourism entity information. In this way, the user can intuitively check that the first travel guide information has not extracted the tourism entity information, so as to remind the user to change the travel guide information, so that the user can conveniently check the extraction results of the tourism entity information extracted by the first travel guide information.
[0440] Optionally, the processor 3910 is further configured to cancel displaying the function interface after receiving a second input for one of the at least one function options;
[0441] The display unit 3906 is further used to display a floating control, where the floating control is used to indicate the functional interface; when a control input to the floating control is received, the functional interface is displayed.
[0442] In this way, after receiving a second input for a function option among at least one function option, the display function interface can be canceled and the floating control can be displayed. After receiving the control input for the floating control, the display function interface can be returned to. In this way, the user can return to the display function interface with one click by executing the control input for the floating control. The user does not need to constantly execute the exit interface operation, which simplifies the user operation and improves the efficiency of the function interface display.
[0443] Optionally, the display unit 3906 is further configured to update the program interface to the function interface;
[0444] Alternatively, the program interface is displayed in a first display area of the display screen, and the function interface is displayed in a second display area of the display screen;
[0445] Alternatively, the function interface is displayed on the second display screen, and the program interface is displayed on the first display screen; wherein the first display screen and the second display screen are two display screens of a folding screen device.
[0446] In this way, when displaying the function interface, the program interface can be updated to the function interface; or, the program interface can be displayed in the first display area of the display screen, and the function interface can be displayed in the second display area of the display screen; or, the function interface can be displayed in the second display screen, and the program interface can be displayed on the first display screen. In this way, the display status of the function interface can be determined according to user needs and the type of electronic device, thereby improving the display flexibility of the function interface.
[0447] Optionally, the processor 3910 is further used to take a screenshot of the program interface before displaying the function interface to generate a screenshot image; perform text recognition on the first travel guide information in the screenshot image to obtain travel text information of the first travel guide information; and extract travel entity information of a travel entity of at least one entity type in the travel text information.
[0448] In this way, by performing text recognition on the first travel guide information in the screenshot image and then extracting travel entity information of at least one entity type of travel entity from the text recognition result, instead of directly processing the first travel guide information in the program interface and extracting travel entity information of at least one entity type of travel entity, computing resources are saved.
[0449] Optionally, the processor 3910 is further used to input the tourism text information into a first information extraction model and output a tourism entity information data set; wherein the tourism entity information data set includes tourism entities of at least one entity type and tourism entity information of each tourism entity.
[0450] In this way, by utilizing the first information extraction model to extract tourism entity information of at least one entity type of tourism entity in tourism text information, there is no need for manual extraction, which reduces the errors in manual extraction, saves labor costs, and improves the extraction efficiency and accuracy of tourism entity information of at least one entity type of tourism entity.
[0451] Optionally, the processor 3910 is further used to obtain a training sample set before inputting the tourism text information into the first information extraction model and outputting the tourism entity information data set, the training sample set including at least two sample information groups, each sample information group including a tourism text information sample and a tourism entity information sample of a tourism entity of at least one entity type in the tourism text information sample; inputting each sample information group into the second information extraction model, outputting predicted entity information of at least one entity type in the tourism text information sample; and performing model training on the second information extraction model according to the degree of difference between the predicted entity information of at least one entity type in the tourism text information sample and the tourism entity information sample to obtain the first information extraction model.
[0452] In this way, the second information extraction model is trained by using the acquired training data set to obtain the first information extraction model. In this way, a model can be obtained for accurately and quickly extracting entity information of tourism entities of at least one entity type in tourism text information, thereby improving the extraction efficiency and accuracy of entity information of tourism entities of at least one entity type in tourism text information.
[0453] It should be understood that in the embodiment of the present application, the input unit 3904 may include a graphics processor (Graphics Processing Unit, GPU) 39041 and a microphone 39042, and the graphics processor 39041 processes the image data of the static picture or video obtained by the image capture device (such as a color camera) in the video capture mode or the image capture mode. The display unit 3906 may include a display panel 39061, and the display panel 39061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 3907 includes a touch panel 39071 and at least one of other input devices 39072. The touch panel 39071 is also called a touch screen. The touch panel 39071 may include two parts: a touch detection device and a touch controller. Other input devices 39072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0454] The memory 3909 can be used to store software programs and various data. The memory 3909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 3909 may include a volatile memory or a non-volatile memory, or the memory 3909 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 3909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0455] The processor 3910 may include one or more processing units; optionally, the processor 3910 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 3910.
[0456] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned information processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0457] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0458] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0459] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0460] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned information processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0461] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0462] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0463] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An information processing method, characterized in that: The method comprises: Receiving a first input to a program interface, wherein the program interface includes first travel guide information; In response to the first input, displaying a function interface, the function interface including at least one function option corresponding to at least one travel entity in the first travel guide information; The function options include at least one of the following: navigation, ticket booking, accommodation, restaurant, and shopping.
2. The method according to claim 1, characterized in that: The function options include function cards, which include: function labels, travel entity information and function controls; the function cards include at least one of the following: navigation cards, ticket booking cards, accommodation cards, restaurant cards and shopping cards.
3. The method according to claim 2, characterized in that After the display function interface, the method further includes: receiving a second input for one of the at least one function option; In response to the second input, displaying a program interface of the first application; Among them, the program interface of the first application includes the search results of the first tourism entity information, the first tourism entity information is the tourism entity information in the function option selected by the second input, and the first application is an application for searching the first tourism entity information.
4. The method according to claim 3, characterized in that In the case where the function card includes a navigation card, the navigation card includes a navigation label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a first tourism entity; the entity type of the first tourism entity is a scenic spot; the first tourism entity is a scenic spot; the entity name of the first tourism entity is a scenic spot name of the scenic spot; The scenic spot is any scenic spot in the first travel guide information; The receiving a second input of a function option of the at least one function option comprises: receiving a control input to the search control; The program interface for displaying the first application program includes: Displaying a navigation interface; wherein the navigation interface includes a navigation path obtained by searching for the navigation path of the scenic spot; When a navigation start control input for the navigation path is received, navigation is performed according to the navigation path.
5. The method according to claim 3, characterized in that: In the case where the function card includes a ticket booking card, the ticket booking card includes a ticket booking label, a main entity information display area and a search control; the main entity information display area includes travel entity information, and the travel entity information includes the entity names of the second travel entity and the third travel entity; the entity types of the second travel entity and the third travel entity are cities; the entity name of the second travel entity is the city name of the starting city; the entity name of the third travel entity is the city name of the destination city; the starting city and the destination city are two cities in any itinerary information in the first travel guide information; The receiving a second input of a function option of the at least one function option comprises: receiving a control input to the search control; The program interface for displaying the first application program includes: Displaying a ticket booking interface; wherein the ticket booking interface includes at least one item of ticket booking candidate information obtained by searching the starting city and the destination city; When a purchase control input for one of the at least one item of ticket booking candidate information is received, a purchase order corresponding to the ticket booking candidate information selected by the purchase control input is generated, and the purchase order is paid.
6. The method according to claim 3, characterized in that When the function card includes an accommodation card, the accommodation card includes an accommodation label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a fourth tourism entity; the entity type of the fourth tourism entity is accommodation; the fourth tourism entity is a hotel; and the entity name of the fourth tourism entity is the name of the hotel; The hotel is any hotel in the first travel guide information; The receiving a second input of a function option of the at least one function option comprises: receiving a control input to the search control; The program interface for displaying the first application program includes: Displaying a hotel reservation interface; wherein the hotel reservation interface includes a check-in time option for checking into the hotel, a check-out time option for checking out of the hotel, and a number of people staying in the hotel; Upon receiving selection control inputs for the check-in time option, the check-out time option, and the number of occupants option, a reservation order for the hotel is generated according to the check-in time, check-out time, and number of occupants selected by the selection control inputs, and the reservation order is paid.
7. The method according to claim 3, characterized in that In the case where the function card includes a restaurant card, the restaurant card includes a restaurant label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a fifth tourism entity; the entity type of the fifth tourism entity is a restaurant; the fifth tourism entity is a restaurant; and the entity name of the fifth tourism entity is a name of a restaurant; The restaurant is any restaurant in the first travel guide information; The receiving a second input of a function option of the at least one function option comprises: receiving a control input to the search control; The program interface for displaying the first application program includes: Displaying a restaurant reservation interface; wherein the restaurant reservation interface includes a dining time option and a dining number option for dining at the restaurant; When the selection control input for the dining time option and the number of diners option is received, a meal order for the restaurant is generated according to the dining time and the number of diners selected by the selection control input, and the meal order is paid.
8. The method according to claim 3, characterized in that When the function card includes a shopping card, the shopping card includes a shopping tag, a main entity information display area and a search control; the main entity information display area includes travel entity information, and the travel entity information includes an entity name of a sixth travel entity; the entity type of the sixth travel entity is shopping; the sixth travel entity is a commodity; the entity name of the sixth travel entity is the name of the commodity; the commodity is any one of the commodities in the first travel guide information; The receiving a second input of a function option of the at least one function option comprises: receiving a control input to the search control; The program interface for displaying the first application program includes: Displaying a shopping interface; wherein the shopping interface includes at least one commodity candidate information obtained by searching the commodity; When a purchase control input for one of the at least one commodity candidate information is received, a shopping order for the commodity in the commodity candidate information selected by the purchase control input is generated, and the shopping order is paid.
9. The method according to claim 2, characterized in that: In the case where the function options include function cards, the function cards include a main entity information display area and a secondary entity information display area, and in the case where one function card corresponds to at least two items of tourism entity information, the main entity information display area includes any one of the at least two items of tourism entity information, and the secondary entity information display area includes the tourism entity information of the at least two items of tourism entity information except the tourism entity information displayed in the main entity information display area; The method further comprises: receiving an entity selection input for an item of tourism entity information in the auxiliary entity information display area; In response to the entity selection input, the tourism entity information displayed in the main entity information display area is updated to the tourism entity information selected by the selection input.
10. The method according to claim 9, characterized in that In the case where the function card includes a navigation card, the auxiliary entity information display area includes the names of scenic spots in the first travel guide information except the names of scenic spots displayed in the main entity information display area; In the case where the function card includes a ticket booking card, the auxiliary entity information display area includes city names in the first travel guide information other than the city names displayed in the main entity information display area; In the case where the function card includes an accommodation card, the auxiliary entity information display area includes hotel names in the first travel guide information other than the hotel names displayed in the main entity information display area; In the case where the function card includes a restaurant card, the auxiliary entity information display area includes restaurant names in the first travel guide information other than the restaurant names displayed in the main entity information display area; In the case where the function card includes a shopping card, the auxiliary entity information display area includes product names in the first travel guide information except for the product names displayed in the main entity information display area.
11. The method according to claim 3, characterized in that In the case where the function options include a function card, the function card also includes a program selection control, and the method further includes: receiving a control input to the program selection control; In response to the control input, at least two program identifiers are displayed; the at least two program identifiers include a first program identifier and a second program identifier, the first program identifier indicates the first application program, and the second program identifier indicates a second application program; receiving a selection input of the second program identifier; In response to the selection input, the program interface of the first application is updated to the program interface of the second application.
12. The method according to claim 1, characterized in that After the display function interface, the method further includes: When the first travel guide information in the program interface is updated to the second travel guide information, at least one function option in the function interface corresponding to at least one travel entity in the first travel guide information is updated to at least one function option corresponding to at least one travel entity in the second travel guide information.
13. The method according to claim 1, characterized in that After receiving the first input to the program interface, the method further includes: In the case that the tourism entity information is not extracted from the first tourism guide information, prompt information is displayed, wherein the prompt information is used to prompt that the tourism entity information is not extracted from the first tourism guide information and to prompt to change the tourism guide information to re-extract the tourism entity information.
14. The method according to claim 3, characterized in that After receiving a second input of one of the at least one functional option, the method further includes: canceling display of the function interface and displaying a floating control, wherein the floating control is used to indicate the function interface; The method further comprises: When a control input to the floating control is received, the function interface is displayed.
15. The method according to claim 1, characterized in that The display function interface includes: Updating the program interface to the function interface; Alternatively, the program interface is displayed in a first display area of the display screen, and the function interface is displayed in a second display area of the display screen; Alternatively, the function interface is displayed on the second display screen, and the program interface is displayed on the first display screen; wherein the first display screen and the second display screen are two display screens of a folding screen device.
16. The method according to claim 1, characterized in that Before the display function interface, it also includes: Taking a screenshot of the program interface to generate a screenshot image; Performing text recognition on the first travel guide information in the screenshot image to obtain travel text information of the first travel guide information; The tourism entity information of the tourism entity of at least one entity type in the tourism text information is extracted.
17. The method according to claim 16, characterized in that The step of extracting tourism entity information of a tourism entity of at least one entity type in the tourism text information comprises: Inputting the tourism text information into a first information extraction model and outputting a tourism entity information data set; The tourism entity information data set includes tourism entities of at least one entity type and tourism entity information of each tourism entity.
18. The method according to claim 17, characterized in that Before inputting the tourism text information into the first information extraction model and outputting the tourism entity information data set, the method further includes: Acquire a training sample set, wherein the training sample set includes at least two sample information groups, each sample information group includes a tourism text information sample and a tourism entity information sample of a tourism entity of at least one entity type in the tourism text information sample; Input each sample information group into a second information extraction model, and output predicted entity information of at least one entity type in the tourism text information sample; According to the difference between the predicted entity information of at least one entity type in the tourism text information sample and the tourism entity information sample, the second information extraction model is trained to obtain the first information extraction model.
19. An information processing device, characterized in that: The device comprises: A receiving module, configured to receive a first input to a program interface, wherein the program interface includes first travel guide information; A display module, configured to display a function interface in response to the first input, wherein the function interface includes at least one function option corresponding to at least one travel entity in the first travel guide information; The function options include at least one of the following: navigation, ticket booking, accommodation, restaurant, and shopping.
20. The device according to claim 19, characterized in that The function options include function cards, which include: function labels, travel entity information and function controls; the function cards include at least one of the following: navigation cards, ticket booking cards, accommodation cards, restaurant cards and shopping cards.
21. The device according to claim 20, characterized in that The receiving module is further configured to receive a second input of one of the at least one function options after the function interface is displayed; The display module is also used to display a program interface of a first application in response to the second input; wherein the program interface of the first application includes search results of the first tourism entity information, the first tourism entity information is the tourism entity information in the function option selected by the second input, and the first application is an application for searching for the first tourism entity information.
22. The device according to claim 21, characterized in that In the case where the function card includes a navigation card, the navigation card includes a navigation label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a first tourism entity; the entity type of the first tourism entity is a scenic spot; the first tourism entity is a scenic spot; the entity name of the first tourism entity is a scenic spot name of the scenic spot; the scenic spot is any scenic spot in the first tourism guide information; The receiving module is specifically used to: receive a control input to the search control; The display module is specifically used to: display a navigation interface; wherein the navigation interface includes a navigation path obtained by searching for the navigation path of the scenic spot; The device further includes: a navigation module, configured to navigate according to the navigation path when receiving a navigation start control input for the navigation path.
23. The device according to claim 21, characterized in that In the case where the function card includes a ticket booking card, the ticket booking card includes a ticket booking label, a main entity information display area and a search control; the main entity information display area includes travel entity information, and the travel entity information includes the entity names of the second travel entity and the third travel entity; the entity types of the second travel entity and the third travel entity are cities; the entity name of the second travel entity is the city name of the starting city; the entity name of the third travel entity is the city name of the destination city; the starting city and the destination city are two cities in any itinerary information in the first travel guide information; The receiving module is specifically used to: receive a control input to the search control; The display module is specifically used to: display a ticket booking interface; wherein the ticket booking interface includes at least one item of ticket booking candidate information obtained by searching the starting city and the destination city; The device also includes: a ticket purchase order generation module, which is used to generate a ticket purchase order corresponding to the ticket candidate information selected by the purchase control input when receiving a purchase control input for one of the at least one ticket candidate information, and pay the ticket purchase order.
24. The device according to claim 21, characterized in that When the function card includes an accommodation card, the accommodation card includes an accommodation label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a fourth tourism entity; the entity type of the fourth tourism entity is accommodation; the fourth tourism entity is a hotel; the entity name of the fourth tourism entity is the name of the hotel; and the hotel is any one of the hotels in the first tourism guide information; The receiving module is specifically used to: receive a control input to the search control; The display module is specifically used to: display a hotel reservation interface; wherein the hotel reservation interface includes a check-in time option for checking in to the hotel, a check-out time option for checking out of the hotel, and a number of people staying in the hotel; The device also includes: an accommodation order generating module, which is used to generate a reservation order for the hotel according to the check-in time, check-out time and number of occupants selected by the selection control input when receiving the selection control input for the check-in time option, the check-out time option and the number of occupants option, and pay for the reservation order.
25. The device according to claim 21, characterized in that When the function card includes a restaurant card, the restaurant card includes a restaurant label, a main entity information display area and a search control; the main entity information display area includes tourism entity information, and the tourism entity information includes an entity name of a fifth tourism entity; the entity type of the fifth tourism entity is a restaurant; the fifth tourism entity is a restaurant; the entity name of the fifth tourism entity is a name of a restaurant; and the restaurant is any restaurant in the first tourism guide information; The receiving module is specifically used to: receive a control input to the search control; The display module is specifically used to: display a restaurant reservation interface; wherein the restaurant reservation interface includes a dining time option and a dining number option for dining at the restaurant; The device also includes: a meal order generation module, which is used to generate a meal order for the restaurant according to the meal time and the number of diners selected by the selection control input when receiving the selection control input for the meal time option and the number of diners option, and pay for the meal order.
26. The device according to claim 21, characterized in that When the function card includes a shopping card, the shopping card includes a shopping tag, a main entity information display area and a search control; the main entity information display area includes travel entity information, and the travel entity information includes an entity name of a sixth travel entity; the entity type of the sixth travel entity is shopping; the sixth travel entity is a commodity; the entity name of the sixth travel entity is the name of the commodity; the commodity is any one of the commodities in the first travel guide information; The receiving module is specifically used to: receive a control input to the search control; The display module is specifically used to: display a shopping interface; wherein the shopping interface includes at least one commodity candidate information obtained by searching the commodity; The device also includes: a shopping order generating module, which is used to generate a shopping order for the commodity in the commodity candidate information selected by the purchase control input when receiving a purchase control input for one of the at least one commodity candidate information, and pay the shopping order.
27. The device according to claim 20, characterized in that In the case where the function options include function cards, the function cards include a main entity information display area and a secondary entity information display area, and in the case where one function card corresponds to at least two items of tourism entity information, the main entity information display area includes any one of the at least two items of tourism entity information, and the secondary entity information display area includes the tourism entity information of the at least two items of tourism entity information except the tourism entity information displayed in the main entity information display area; The receiving module is further used to receive an entity selection input of an item of tourism entity information in the auxiliary entity information display area; The device further comprises: an updating module for updating the tourism entity information displayed in the main entity information display area to the tourism entity information selected by the selection input in response to the entity selection input.
28. The device according to claim 27, characterized in that In the case where the function card includes a navigation card, the auxiliary entity information display area includes the names of scenic spots in the first travel guide information except the names of scenic spots displayed in the main entity information display area; In the case where the function card includes a ticket booking card, the auxiliary entity information display area includes city names in the first travel guide information other than the city names displayed in the main entity information display area; In the case where the function card includes an accommodation card, the auxiliary entity information display area includes hotel names in the first travel guide information other than the hotel names displayed in the main entity information display area; In the case where the function card includes a restaurant card, the auxiliary entity information display area includes restaurant names in the first travel guide information other than the restaurant names displayed in the main entity information display area; In the case where the function card includes a shopping card, the auxiliary entity information display area includes product names in the first travel guide information except for the product names displayed in the main entity information display area.
29. The device according to claim 21, characterized in that In the case where the function options include a function card, the function card also includes a program selection control, and the receiving module is further used to receive a control input to the program selection control; The display module is further configured to display at least two program identifiers in response to the control input; the at least two program identifiers include a first program identifier and a second program identifier, the first program identifier indicates the first application program, and the second program identifier indicates a second application program; The receiving module is further used to receive a selection input of the second program identifier; The updating module is further used to update the program interface of the first application to the program interface of the second application in response to the selection input.
30. The device according to claim 19, characterized in that The update module is also used to update at least one function option in the function interface corresponding to at least one travel entity in the first travel guide information to at least one function option corresponding to at least one travel entity in the second travel guide information after the function interface is displayed, when the first travel guide information in the program interface is updated to the second travel guide information.
31. The device according to claim 19, characterized in that The display module is also used to display prompt information after receiving the first input to the program interface, if the tourism entity information is not extracted from the first travel guide information, and the prompt information is used to prompt that the tourism entity information is not extracted from the first travel guide information and to prompt to change the travel guide information to re-extract the tourism entity information.
32. The device according to claim 21, characterized in that The display module is also used to cancel the display of the function interface and display a floating control after receiving a second input to a function option among the at least one function option, wherein the floating control is used to indicate the function interface; and display the function interface when a control input to the floating control is received.
33. The device according to claim 19, characterized in that The display module is specifically used for: Updating the program interface to the function interface; Alternatively, the program interface is displayed in a first display area of the display screen, and the function interface is displayed in a second display area of the display screen; Alternatively, the function interface is displayed on the second display screen, and the program interface is displayed on the first display screen; wherein the first display screen and the second display screen are two display screens of a folding screen device.
34. The device according to claim 19, characterized in that The device also includes: A screenshot module, used to take a screenshot of the program interface before displaying the function interface to generate a screenshot image; A text recognition module, used for performing text recognition on the first travel guide information in the screenshot image to obtain travel text information of the first travel guide information; The information extraction module is used to extract tourism entity information of a tourism entity of at least one entity type in the tourism text information.
35. The device according to claim 34, characterized in that The information extraction module is specifically used for: Inputting the tourism text information into a first information extraction model and outputting a tourism entity information data set; The tourism entity information data set includes at least one entity type of tourism entity and tourism entity information of each tourism entity.
36. The device according to claim 35, characterized in that The device also includes: An acquisition module, used for acquiring a training sample set before inputting the tourism text information into a first information extraction model and outputting a tourism entity information data set, wherein the training sample set includes at least two sample information groups, each sample information group includes a tourism text information sample and a tourism entity information sample of a tourism entity of at least one entity type in the tourism text information sample; An output module, used for inputting each sample information group into a second information extraction model, and outputting predicted entity information of at least one entity type in the tourism text information sample; The model training module is used to perform model training on the second information extraction model according to the difference between the predicted entity information of at least one entity type in the tourism text information sample and the tourism entity information sample to obtain the first information extraction model.
37. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the information processing method according to any one of claims 1 to 18 are implemented.