Function control method and device and storage medium
By positioning and determining the target position at the terminal, clocking in information and taking photos are provided, which solves the complexity of information query for users when traveling, and improves the personalization and efficiency of the tour experience and travel plan.
Patent Information
- Application Number
- CN202310769318.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-12-27
AI Technical Summary
In the prior art, users need to repeatedly query and integrate multiple travel plans when traveling, resulting in complex operations and waste of labor costs. Different user plans are similar, making it difficult to provide a personalized tour experience.
Positioning the current location through the terminal and determining it as the target location, provides corresponding check-in information, including route browsing and photo-taking parameters, helping users automatically obtain tour information when traveling, reducing query complexity.
It realizes a better tour experience for users when checking in when traveling, reduces the hassle of repeatedly checking check-in information, and improves the personalization and efficiency of travel plans.
Smart Images

Figure CN119211416A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a function control method, device and storage medium. Background Art
[0002] With the development of terminal technology, terminals support more and more functions. For example, when users travel, they usually do not know the check-in locations or features of the travel destinations, so they can use the terminal to query other users' travel guides to play.
[0003] In the related art, a user usually integrates multiple travel plans of other users browsed on a terminal, condenses a travel plan suitable for the user, and records it in the terminal. When the user uses it, he / she can check the travel plan recorded in the terminal. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a function control method, device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a function control method is provided, comprising: locating a current position of a terminal; in response to the current position being a target position, providing a function corresponding to the target information based on target information matching the target position; the target information includes information for a user to visit based on the target position.
[0006] In one embodiment, the target location is determined in one or more of the following ways: in response to recognizing that the information content browsed by the user includes location information, and detecting a confirmation selection instruction input by the user, the confirmation selection instruction indicates selecting the current location as the target location, determining the location corresponding to the location information included in the information content as the target location; in response to detecting that the information content input by the user includes location information, using the location corresponding to the location information included in the information content as the target location; the information content includes images and / or text.
[0007] In one embodiment, the target information includes route information for users to visit based on the target location, and the function includes a route browsing function, and the route information includes location points for indicating the location points for users to visit; the function corresponding to the target information is provided, including at least one of the following: in response to the first application providing the route browsing function not currently running in the terminal, providing an information prompt function, the information prompt function is used to prompt the user to enable the first application and browse the route; or in response to the first application providing the route browsing function currently running in the terminal, providing a route browsing function, the route browsing function is used to display a browsing function for users to browse the route in the first application.
[0008] In one embodiment, the method further includes: in response to detecting that the user ends an operation at a first location point in the route, displaying a second location point, the second location point being a location point displayed after the first location point is displayed; the operation is used to indicate that the user has arrived at the first location point; the second location point is a location point on the route adjacent to the first location point; or the second location point is a location point selected by the user from multiple location points on the route based on a priority display order.
[0009] In one embodiment, the target information includes photographing parameter information for taking photographs based on the target location, and the function includes a photographing function; the target information based on matching the target location includes: obtaining a captured image corresponding to the target location; extracting image capturing parameters included in the captured image as image capturing parameters matching the target location; the function of providing the corresponding target information includes: in response to determining that the user triggers the terminal to take an image at the target location, executing a photographing function based on the image capturing parameters matching the target location.
[0010] In one embodiment, the method further comprises: generating a note including the image captured by executing the capture function. In one embodiment, the method further comprises: in response to detecting that the user has performed an image selection operation on the captured image in the note, sending the image capture parameters to a target terminal selected by the user.
[0011] In one implementation, the terminal provides a function control, and the function control is used to start or pause the terminal providing the function. The method further includes: before locating the current position of the terminal, determining that the function control is triggered to start the function.
[0012] According to a second aspect of an embodiment of the present disclosure, a function control device is provided, including: a positioning unit for locating a current position of a terminal; a processing unit for providing a function corresponding to the target information based on target information matching the target position when the current position is located by the positioning unit as a target position; the target information includes information for users to visit based on the target position.
[0013] In one embodiment, the target location is determined in one or more of the following ways: in response to recognizing that the information content browsed by the user includes location information, and detecting a confirmation selection instruction input by the user, the confirmation selection instruction indicates selecting the current location as the target location, determining the location corresponding to the location information included in the information content as the target location; in response to detecting that the information content input by the user includes location information, using the location corresponding to the location information included in the information content as the target location; the information content includes images and / or text.
[0014] In one embodiment, the target information includes route information for users to visit based on the target location, and the function includes a route browsing function, and the route information includes location points for indicating the location points for users to visit; the function corresponding to the target information is provided, including at least one of the following: in response to the first application providing the route browsing function not currently running in the terminal, providing an information prompt function, the information prompt function is used to prompt the user to enable the first application and browse the route; or in response to the first application providing the route browsing function currently running in the terminal, providing a route browsing function, the route browsing function is used to display a browsing function for users to browse the route in the first application.
[0015] In one embodiment, the processing unit is also used to: display a second location point in response to detecting that the user has ended an operation at a first location point on the route, wherein the second location point is a location point displayed after the first location point is displayed; the operation is used to indicate that the user has arrived at the first location point; the second location point is a location point on the route adjacent to the first location point; or the second location point is a location point selected by the user from multiple location points on the route based on a priority display order.
[0016] In one embodiment, the target information includes photographing parameter information for taking photographs based on the target location, and the function includes a photographing function; the processing unit processes the target information based on matching the target location in the following manner: obtaining a captured image corresponding to the target location; extracting image capturing parameters included in the captured image as image capturing parameters matching the target location; the processing unit provides a function corresponding to the target information in the following manner: in response to determining that the user triggers the terminal to take an image at the target location, executing a photographing function based on the image capturing parameters matching the target location.
[0017] In one embodiment, the processing unit is further configured to generate a note including an image captured by executing the capture function.
[0018] In one embodiment, the device further includes a sending unit, and the sending unit is used to: detect that the user has performed an image selection operation on the captured image in the note, and send the image capture parameters to a target terminal selected by the user.
[0019] In one implementation, the terminal provides a function control, and the function control is used to start or pause the terminal providing the function. The processing unit is further used to: before locating the current position of the terminal, determine that the function control is triggered to start the function.
[0020] According to a third aspect of an embodiment of the present disclosure, there is provided a function control device, including:
[0021] a processor; a memory for storing instructions executable by the processor;
[0022] The processor is configured to call the instructions stored in the memory to execute the function control method as described in the first aspect or any one of the embodiments of the first aspect.
[0023] According to the fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the function control method described in the first aspect or any one of the embodiments of the first aspect.
[0024] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: after determining the current location as the target check-in location, the terminal can provide the check-in information of the current location, thereby helping users have a better sightseeing experience when checking in for travel, and avoiding the complex operation of users repeatedly querying travel information.
[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0027] Figure 1 The figure is a flow chart of a function control method according to an exemplary embodiment.
[0028] Figure 2 The figure is a flow chart of a method for determining a target position according to an exemplary embodiment.
[0029] Figure 3 The figure is a flow chart of another method for determining a target position according to an exemplary embodiment.
[0030] Figure 4 The present invention is a flow chart of a method for generating a clock-in route according to an exemplary embodiment.
[0031] Figure 5 The present invention is a flowchart of another method for generating a clock-in route according to an exemplary embodiment.
[0032] Figure 6 The present invention is a flow chart of a method for displaying a second location point in a check-in route according to an exemplary embodiment.
[0033] Figure 7 The figure is a flow chart of a photographing method according to an exemplary embodiment.
[0034] Figure 8 The present invention is a flow chart of a method for generating a punch-in note according to an exemplary embodiment.
[0035] Fig. 9 It is a flow chart of a method for sharing check-in notes according to an exemplary embodiment.
[0036] Fig.10 is a flow chart of another function control method according to an exemplary embodiment.
[0037] Fig.11 The figure is a schematic diagram of a travel clock-in according to an exemplary embodiment.
[0038] Fig.12 The figure is a block diagram of a function control device according to an exemplary embodiment.
[0039] Fig.13 The figure is a block diagram of a function control device according to an exemplary embodiment. DETAILED DESCRIPTION
[0040] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.
[0041] The function control method provided by the embodiment of the present disclosure is applied to the function control scenario of the terminal, for example, to the scenario of extending new functions of the terminal.
[0042] With the prosperity of the economy, the quality of life of users has gradually improved. A travel plan can help users reduce worries, adjust their mood, and also benefit their future work and life. Generally, before traveling, users will check the local travel guide and make a travel plan that suits them.
[0043] In the related art, the terminal supports providing positioning function and information browsing function for the terminal. Based on the positioning function and information browsing function of the terminal, the user can query the travel strategies of other users to make a travel plan suitable for himself.
[0044] In the related art, users usually integrate multiple travel plans of other users browsed on the terminal, simplify a travel plan suitable for the user, and record it in the terminal. When the user uses it, he / she can check the travel plan recorded in the terminal. However, during the query process, repeated operations may easily make users feel disgusted, and it may also happen that the travel plans of different users are similar, resulting in a waste of manpower costs.
[0045] In view of this, the present disclosure provides a function control method, which provides a new terminal control function by assisting travel clock-in through a terminal.
[0046] Among them, punching in can be understood as the user carrying the terminal to the scenic spot location that the user wants to visit, and the terminal detects that the user has arrived at the scenic spot location, that is, the punching in of the scenic spot location is completed. The target information can be called punching in information. It can be understood that in the embodiments of the present disclosure, the target information and the punching in information can be used interchangeably.
[0047] In one implementation of the disclosed embodiment, a user can set a target location. After the terminal determines that the current location is the target location, the terminal can provide check-in information corresponding to the current location, thereby assisting the user in checking in when traveling and providing the user with a better user experience.
[0048] Figure 1 is a flow chart of a function control method according to an exemplary embodiment. Figure 1 As shown, the function control method is used in a terminal and includes the following steps.
[0049] In step S11, the current position of the terminal is determined.
[0050] In the embodiments of the present disclosure, the current position of the terminal is located by using a positioning tool provided by the terminal, such as a global positioning system (GPS), a location-based service (LBS), and the like.
[0051] In step S12, in response to the current position being the target position, a function corresponding to the target information is provided based on the target information matching the target position.
[0052] In the disclosed embodiment, after determining that the current location of the terminal is the target location, the check-in information of the current target location is provided for the user to select and browse.
[0053] The check-in information includes the tour route and / or photo parameter information provided by the terminal to the user based on the current target location. For example, after the terminal determines that the current scenic spot A is the target location, it searches the network for scenic spot A and extracts the check-in information about scenic spot A, including: the tour routes of other users based on scenic spot A and / or the photo parameters taken by other users at scenic spot A, for reference by the user.
[0054] The check-in information may also include scenic spot information. For example, the terminal recognizes that the user has arrived at restaurant B, searches for restaurant B on the Internet, and extracts check-in information about restaurant B, including recommended products at restaurant B, or pictures of products taken by other users at restaurant B, for the user to choose from.
[0055] Furthermore, the terminal provides the user with a check-in function corresponding to the check-in information, including: a route browsing function based on the target location and / or a photo taking function for taking photos at the target location.
[0056] For example, the user selects scenic spot A as the target location. When the user arrives at scenic spot A, the terminal's built-in positioning tool will recognize that the user has arrived at scenic spot A. The terminal will provide the user with iconic or popular scenic spots near scenic spot A, such as scenic spots A1, A2, and A3. The user can choose scenic spots to browse based on his or her preferences. When the user arrives at scenic spot A1, the terminal determines through the positioning function that the user has completed the check-in for scenic spot A1.
[0057] In the disclosed embodiment, after determining that the current location is the target location, the terminal can automatically provide the user with the check-in information of the current location, thereby alleviating the trouble of the user repeatedly searching for the check-in information and helping the user have a better sightseeing experience when checking in for travel.
[0058] In the embodiments of the present disclosure, the target location may be determined in one or more ways, such as identifying relevant scenic spot information browsed by the user or determining based on information content actively input by the user.
[0059] Figure 2 is a flow chart of a method for determining a target location according to an exemplary embodiment. Figure 2 As shown, the following steps are included.
[0060] In step S21, the information content browsed by the user is identified.
[0061] In step S22, in response to identifying that the information content browsed by the user includes location information, a confirmation selection instruction input by the user is detected.
[0062] The confirmation selection instruction indicates that the position corresponding to the selected position information is the target position.
[0063] In step S23, in response to detecting a confirmation selection instruction input by the user, the location corresponding to the location information included in the information content is determined to be the target location.
[0064] In the embodiment of the present disclosure, when a user browses a scenic spot picture or a text description of a related scenic spot on a terminal, the terminal will read and identify the scenic spot picture information or text information. If the user is interested in the scenic spot and selects the scenic spot as the target location, the related scenic spot displayed in the scenic spot picture or the related scenic spot mentioned in the part of text is determined as the user's target location. Further, the terminal detects a confirmation selection instruction input by the user and determines that the identified information content includes the target location.
[0065] For example, when a user browses a picture of scenic spot A, the terminal will read and identify the relevant picture information of scenic spot A. If the user selects scenic spot A as a travel plan, scenic spot A is determined as the target location. Alternatively, when a user reads a text description of scenic spot A, the terminal can also read and identify the relevant information of scenic spot A, and the user can select scenic spot A as the target location.
[0066] When the user copies the text description of the relevant scenic spot in the terminal, the terminal can also read the text description information. The terminal will automatically pop up a selection window for the user to choose whether to use the scenic spot as the target location, so as to make a travel plan.
[0067] Figure 3 is a flow chart of another method for determining a target location according to an exemplary embodiment. Figure 3 As shown, the following steps are included.
[0068] In step S31, the information content input by the user is detected.
[0069] In step S32, in response to detecting that the information content input by the user includes location information, a location corresponding to the location information included in the information content is determined as a target location.
[0070] The information content includes images and / or text containing the position corresponding to the position information.
[0071] In the disclosed embodiment, the terminal can provide a travel template to the user. The user fills in the relevant information of the travel in the input field, and the terminal detects and identifies the relevant information. When it is detected that the relevant information filled in by the user includes location information, the location corresponding to the location information is determined to be the user's target location.
[0072] For example, the travel template may be a travel information form provided by the terminal to the user. The user fills in the relevant information of the trip in the form, and the terminal detects that the relevant information includes location information A scenic spot, that is, A scenic spot is used as the target location of the user's trip.
[0073] Among them, a switch is provided in the system toolbar of the terminal. The user clicks the switch to enter the travel template interface. The user can fill in the location information in the travel template, that is, the terminal can determine that the location corresponding to the location information is the user's target location.
[0074] Furthermore, users can also import relevant information about the trip by importing screenshots. The terminal extracts relevant text information from the screenshots provided by the user through optical character recognition (OCR), and automatically completes the corresponding content in the travel template to save the user's time and determine the target location.
[0075] In the embodiment of the present disclosure, the above Figure 2 , Figure 3 In one or more implementations of the two embodiments, a target location is determined.
[0076] In the disclosed embodiment, the terminal provides a route browsing function. After determining the target location, the terminal provides browsing route information based on the target location to the user, wherein the browsing route can be displayed to the user through a first application with the route browsing function.
[0077] Figure 4 is a flow chart of a method for generating a clock-in route according to an exemplary embodiment. Figure 4 As shown, the following steps are included.
[0078] In step S41, in response to the terminal locating the current position as the target position, check-in information matching the target position is determined.
[0079] In step S42, in response to the first application providing the route browsing function not currently being run in the terminal, an information prompt function is provided.
[0080] The information prompt function is used to prompt the user to enable the first application, and the first application is an application with a route browsing function.
[0081] In step S43, the first application is started to provide a route browsing function.
[0082] The route browsing function is used to display a browsing function in the first application for users to browse routes.
[0083] In the disclosed embodiment, the terminal has an information prompt function. After the terminal determines that the current location is the target location, if it detects that the user has not currently started the first application that provides a route browsing function, the terminal will provide the user with an information prompt function to prompt the user whether to start the first application that provides a route browsing function. If the user chooses to start the first application, the first application will provide the user with a browsing and punching-in route generated based on the punching-in information of the target location, so that the user can travel and tour.
[0084] Figure 5 is a flow chart of another method for generating a clock-in route according to an exemplary embodiment. Figure 5 As shown, the following steps are included.
[0085] In step S51, in response to the terminal locating the current position as the target position, check-in information matching the target position is determined.
[0086] In step S52, in response to a first application providing a route browsing function currently running in the terminal, a route browsing function is provided.
[0087] In the disclosed embodiment, the terminal has a route browsing function. After the terminal determines that the current location is the target location, if it detects that the user has currently started a first application that provides a route browsing function, the terminal will provide the user with the route browsing function, and display the check-in route generated based on the check-in information of the target location in the first application for the user to travel and tour.
[0088] The check-in information includes information about landmarks or popular attractions near the target location obtained by the terminal. The terminal will automatically query the location information of each attraction and automatically plan and generate a check-in route based on the obtained check-in information. In principle, the route with the least walking is the main one. The starting point and end point of the check-in route are the user's home address.
[0089] In the embodiment of the present disclosure, the above Figure 4 , Figure 5 One or more implementations of the two embodiments involved generate a check-in route.
[0090] The check-in route is determined by a plurality of locations for check-in. After the user completes the check-in at the first location in the check-in route, the terminal will display the second location. The first location and the second location are the location points in the check-in route generated by the terminal based on the check-in information. The first location is the location corresponding to the first scenic spot visited by the user, and the second location is the location corresponding to the second scenic spot visited by the user, wherein the second location is the location displayed after the first location is displayed.
[0091] Figure 6is a flow chart of a method for displaying a second location point in a check-in route according to an exemplary embodiment. Figure 6 As shown, the following steps are included.
[0092] In step S61, it is determined that the user has finished the check-in operation at the first location point in the browsing route.
[0093] The check-in operation is used to indicate that the user has arrived at the first location point.
[0094] In step S62, a second location point in the browsing route is displayed.
[0095] The second position point is a position point that is displayed after the first position point is displayed.
[0096] In the embodiment of the present disclosure, the terminal locates the user at the first location point through the positioning tool, and after detecting that the user has completed the check-in operation at the first location point in the browsing route, the second location point in the browsing route is displayed.
[0097] The second location point is a location point adjacent to the first location point based on the relative location information between the location points. Alternatively, the second location point is a location point selected by the user based on the priority display order among multiple location points in the browsing route. Based on the check-in information provided by the terminal, the user arranges multiple location points for check-in in order according to the degree of preference to generate a browsing route, and the second location point is a location point selected by the user based on the degree of preference.
[0098] Among them, the priority order of multiple location points on the browsing route can be set for the travel-related information filled in by the user in the travel template provided by the terminal. For example, it is filled in in the template that A1 attraction is better than A2 attraction, and A2 attraction is better than A3 attraction. When the user completes checking in at A1 attraction, the terminal will provide the user with A2 attraction.
[0099] In the disclosed embodiment, the check-in information provided by the terminal includes image information taken by other users at the check-in location. The terminal can extract image shooting parameters from the taken image so that the user can shoot based on the image shooting parameters.
[0100] Figure 7 is a flow chart of a shooting method according to an exemplary embodiment. Figure 7 As shown, the following steps are included.
[0101] In step S71, a captured image corresponding to the target position is obtained.
[0102] In the disclosed embodiment, after the terminal determines that the current position is the target position, it obtains the captured image corresponding to the current position. For example, the terminal can obtain the images captured by other users at the target position through network search for the user to refer to, thereby avoiding the situation where the user does not know how to adjust the camera parameters to shoot.
[0103] In step S72 , image capturing parameters included in the captured image are extracted as image capturing parameters of the matching target position.
[0104] In the disclosed embodiment, if the user chooses to take pictures with reference to images taken by other users, the terminal will extract the image shooting parameters of the taken image selected by the user, such as sensitivity, exposure, aperture and other image shooting parameters, as the image shooting parameters of the user at the target check-in location.
[0105] In step S73, a photographing function is executed based on the image photographing parameters matching the target position.
[0106] In the disclosed embodiment, the user shoots at a target location based on the extracted image shooting parameters.
[0107] Furthermore, after the user takes a photo based on the extracted image shooting parameters, a photographed image of the target location is obtained. The user can choose to generate a check-in note including the photographed image and share it with other users.
[0108] Figure 8 is a flow chart of a method for generating a punch-in note according to an exemplary embodiment. Figure 8 As shown, the following steps are included.
[0109] The contents of steps S81, S82, and S83 are consistent with those of steps S71, S72, and S73, and will not be repeated here.
[0110] In step S84, a punch-in note including an image captured by executing the capture function is generated.
[0111] In the disclosed embodiment, the terminal extracts the image shooting parameters of images taken by other users as the image shooting parameters of the user at the target location to shoot. After shooting is completed, the user can choose to generate a check-in note including the captured image to share it for other users to browse. For example, the check-in note can be recorded in the notepad that comes with the terminal and shared with other users.
[0112] The check-in notes may also include the user's shooting location information, the user's tour route, the distance information between different attractions in the tour route, the time it takes the user to reach each attraction, and other information.
[0113] Fig. 9is a flow chart of a method for sharing a punch-in note according to an exemplary embodiment. Fig. 9 As shown, the following steps are included.
[0114] The content of step S91 is consistent with that of step S84 and will not be repeated here.
[0115] In step S92, in response to detecting that the user has performed an image selection operation on the captured image in the punch-in note, the image capture parameters are sent to the target terminal selected by the user.
[0116] In the disclosed embodiment, after a user generates a punch-in note, he or she shares it with other users. Other users can extract the image shooting parameters of the image captured in the punch-in note shared by the user and shoot it, thereby avoiding the situation where they do not know how to adjust the camera parameters to shoot. For example, when a user long presses a captured image in a punch-in note, the terminal can extract and identify the image shooting parameters of the captured image and shoot it.
[0117] In the disclosed embodiment, the terminal provides a punch-in function control. The punch-in function control is used to turn on or off the punch-in function of the terminal. When the user turns on the punch-in function, the terminal provides the user with the punch-in function. When the user has no travel plans, the user can choose to turn off the punch-in function.
[0118] Fig.10 is a flow chart of another function control method according to an exemplary embodiment. Fig.10 As shown, the following steps are included.
[0119] In step S1001, it is determined that the punch-in function control is triggered to start the punch-in function.
[0120] The contents of steps S1002 and S1003 are consistent with those of steps S11 and S12, and are not described again here.
[0121] In the disclosed embodiment, the user turns on the clock-in function control in the terminal to start the clock-in function of the terminal. The terminal locates the user's current location through a positioning tool, and after determining that the current location is the target location, provides the user with the clock-in information of the target location, so that when the clock-in function is not needed, the clock-in function control is turned off, thereby reducing the power consumption of the terminal.
[0122] Fig.11 is a schematic diagram of a travel check-in according to an exemplary embodiment. Fig.11 As shown, the following steps are included.
[0123] Before traveling, the user can fill in the relevant information of the trip in the travel template provided by the terminal. When the terminal detects that the relevant information filled in by the user includes the location information A scenic spot, the terminal determines the A scenic spot as the target location of the user's trip.
[0124] When the user brings the terminal to the target location A, the terminal uses the positioning tool to locate the user at A and automatically obtains landmarks or popular attractions near A, such as A1, A2, and A3.
[0125] The terminal will automatically query the location route information of each scenic spot, and in the first application with route browsing function, show the user the check-in route generated based on the location route information of each scenic spot, in principle, the route with the least walking is the main one. For example: scenic spot A - scenic spot A1 - scenic spot A2 - scenic spot A3.
[0126] Furthermore, when the terminal determines that the user has arrived at the target location A, it can also obtain photos taken by other users at the A location. If the user chooses to take photos with reference to the images taken by other users, the terminal can extract the image shooting parameters of the image selected by the user, such as sensitivity, exposure, aperture and other image shooting parameters, as the image shooting parameters of the user at the target check-in location, and take photos.
[0127] After shooting is completed, the user can choose to generate a check-in note including the shot image for sharing, so that other users can browse it. Other users can also extract the image shooting parameters of the shot image in the check-in note shared by the user and shoot it.
[0128] In the disclosed embodiment, after determining that the current location is the target location, the terminal can provide the user with check-in information of the current location, including a route browsing function based on the target location and / or a photo taking function at the target location, so as to reduce the trouble of the user repeatedly searching for check-in information, thereby helping the user to have a better sightseeing experience when checking in for travel.
[0129] Based on the same concept, an embodiment of the present disclosure also provides a function control device.
[0130] It is understandable that the function control device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0131] Fig.12 1 is a block diagram of a function control device 100 according to an exemplary embodiment. Fig.12The device includes a positioning unit 101 and a processing unit 102.
[0132] The positioning unit 101 is used to locate the current position of the terminal.
[0133] The processing unit 102 is used for the terminal to locate the current position as the target position and provide corresponding target information based on the target information matching the target position. The target information includes information for the user to visit based on the target position.
[0134] In the embodiment of the present disclosure, the target location is determined in one or more of the following ways: in response to recognizing that the information content browsed by the user includes location information, and detecting a confirmation selection instruction input by the user, the confirmation selection instruction indicates selecting the current location as the target location, determining the location corresponding to the location information included in the information content as the target location. In response to detecting that the information content input by the user includes location information, the location corresponding to the location information included in the information content is used as the target location. The information content includes images and / or text.
[0135] In the embodiment of the present disclosure, the target information includes route information for users to visit based on the target location, and the function includes a route browsing function, and the route information includes a location point for indicating the user to visit. The function of providing the corresponding target information includes at least one of the following: in response to the first application providing the route browsing function not currently running in the terminal, providing an information prompt function, the information prompt function is used to prompt the user to enable the first application and browse the route, or in response to the first application providing the route browsing function currently running in the terminal, providing a route browsing function, the route browsing function is used to display a browsing function for the user to browse the route in the first application.
[0136] In the embodiment of the present disclosure, the processing unit 102 is further configured to: in response to detecting that the user ends the operation of the first location point in the route, display a second location point, the second location point being a location point displayed after the first location point is displayed. The operation is used to indicate that the user has arrived at the first location point. The second location point is a location point on the route that is adjacent to the first location point, or the second location point is a location point selected by the user from multiple location points on the route based on a priority display order.
[0137] In the disclosed embodiment, the target information includes photographing parameter information for photographing based on the target position, and the function includes a photographing function. The processing unit 102 processes the target information based on the matching target position in the following manner: obtaining a captured image corresponding to the target position. Extracting image capturing parameters included in the captured image as image capturing parameters matching the target position. The processing unit provides the function corresponding to the target information in the following manner: in response to determining that the user triggers the terminal to photograph an image at the target position, executing the photographing function based on the image capturing parameters matching the target position.
[0138] In the disclosed embodiment, the processing unit 102 is further configured to generate a note including an image captured by executing a capture function.
[0139] In the disclosed embodiment, the device further includes a sending unit 103, and the sending unit 103 is used to: in response to detecting that the user has performed an image selection operation on the captured image in the note, send the image capture parameters to the target terminal selected by the user.
[0140] In the embodiment of the present disclosure, the terminal provides a function control, and the function control is used to start or pause the function provided by the terminal. The processing unit 102 is used to: before locating the current position of the terminal, determine whether the function control is triggered to start the function.
[0141] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0142] Fig.13 2 is a block diagram of a function control device 200 according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0143] Reference Fig.13 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0144] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
[0145] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0146] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0147] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0148] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0149] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0150] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0151] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0152] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0153] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0154] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0155] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0156] It will be further understood that the terms “center”, “longitudinal”, “lateral”, “front”, “back”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.
[0157] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0158] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0159] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.
[0160] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims
1. A function control method, characterized in that: The method comprises: Locate the current location of the terminal; In response to the current position being a target position, providing a function corresponding to the target information based on target information matching the target position; The target information includes information for the user to visit based on the target location.
2. The method according to claim 1, characterized in that The target position is determined by one or more of the following methods: In response to recognizing that the information content browsed by the user includes location information and detecting a confirmation selection instruction input by the user, the confirmation selection instruction indicating selecting the current location as the target location, determining the location corresponding to the location information included in the information content as the target location; In response to detecting that the information content input by the user includes location information, taking the location corresponding to the location information included in the information content as the target location; The information content includes images and / or text.
3. The method according to claim 1 or 2, characterized in that: The target information includes route information for users to visit based on the target location, the function includes a route browsing function, and the route information includes location points for users to visit; The function of providing the target information includes at least one of the following: In response to the first application providing the route browsing function not currently being run in the terminal, providing an information prompt function, the information prompt function being used to prompt a user to enable the first application and browse the route; or In response to a first application providing a route browsing function currently running in the terminal, a route browsing function is provided, wherein the route browsing function is used to display a browsing function for a user to browse the route in the first application.
4. The method according to claim 3, characterized in that The method further comprises: In response to detecting that the user has ended the operation of the first location point in the route, displaying a second location point, the second location point being a location point displayed after the first location point is displayed; the operation is used to indicate that the user has arrived at the first location point; The second location point is a location point on the route adjacent to the first location point; Alternatively, the second location point is a location point selected by the user from among a plurality of location points on the route based on a priority display order.
5. The method according to claim 1 or 2, characterized in that: The target information includes photographing parameter information for taking photos based on the target position, and the function includes a photographing function; The target information based on matching the target location includes: Acquire a captured image corresponding to the target position; extracting image capturing parameters included in the captured image as image capturing parameters matching the target position; The function of providing the corresponding target information includes: In response to determining that the user triggers the terminal to capture an image at the target location, a capture function is executed based on image capture parameters matching the target location.
6. The method according to claim 5, characterized in that The method further comprises: A note including an image captured by executing the capture function is generated.
7. The method according to claim 6, characterized in that The method further comprises: In response to detecting that the user has performed an image selection operation on the captured image in the note, the image capture parameters are sent to a target terminal selected by the user.
8. The method according to claim 1, characterized in that The terminal provides a function control, and the function control is used to start or pause the terminal providing the function. The method also includes: Before locating the current position of the terminal, it is determined that the function control is triggered to start the function.
9. A function control device, characterized in that: include: A positioning unit, used to locate the current position of the terminal; A processing unit, configured to provide a function corresponding to the target information based on target information matching the target position when the positioning unit locates the current position as the target position; The target information includes information for the user to visit based on the target location.
10. The device according to claim 9, characterized in that The target position is determined by one or more of the following methods: In response to recognizing that the information content browsed by the user includes location information and detecting a confirmation selection instruction input by the user, the confirmation selection instruction indicating selecting the current location as the target location, determining the location corresponding to the location information included in the information content as the target location; In response to detecting that the information content input by the user includes location information, taking the location corresponding to the location information included in the information content as the target location; The information content includes images and / or text.
11. The device according to claim 9 or 10, characterized in that The target information includes route information for users to visit based on the target location, the function includes a route browsing function, and the route information includes location points for users to visit; The function of providing the target information includes at least one of the following: In response to the first application providing the route browsing function not currently being run in the terminal, providing an information prompt function, the information prompt function being used to prompt a user to enable the first application and browse the route; or In response to a first application providing a route browsing function currently running in the terminal, a route browsing function is provided, wherein the route browsing function is used to display a browsing function for a user to browse the route in the first application.
12. The device according to claim 11, characterized in that The processing unit is also used for: In response to detecting that the user has ended the operation of the first location point in the route, displaying a second location point, the second location point being a location point displayed after the first location point is displayed; the operation is used to indicate that the user has arrived at the first location point; The second location point is a location point on the route adjacent to the first location point; Alternatively, the second location point is a location point selected by the user from among a plurality of location points on the route based on a priority display order.
13. The device according to claim 9 or 10, characterized in that The target information includes photographing parameter information for taking photos based on the target position, and the function includes a photographing function; The processing unit processes the target information based on matching the target position in the following manner: Acquire a captured image corresponding to the target position; extracting image capturing parameters included in the captured image as image capturing parameters matching the target position; The processing unit provides the function corresponding to the target information in the following manner: In response to determining that the user triggers the terminal to capture an image at the target location, a capture function is executed based on image capture parameters matching the target location.
14. The device according to claim 13, characterized in that The processing unit is also used for: A note including an image captured by executing the capture function is generated.
15. The device according to claim 14, characterized in that The device further comprises a sending unit, wherein the sending unit is configured to: It is detected that the user has performed an image selection operation on the captured image in the note, and the image capture parameters are sent to a target terminal selected by the user.
16. The device according to claim 9, characterized in that The terminal provides a function control, the function control is used to start or pause the terminal providing the function, and the processing unit is further used to: Before locating the current position of the terminal, it is determined that the function control is triggered to start the function.
17. A function control device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: The method is used to call the instructions stored in the memory to execute the function control method according to any one of claims 1 to 8.
18. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the function control method according to any one of claims 1 to 8.
