CN105488715B - Target object information query method and device - Google Patents

Target object information query method and device Download PDF

Info

Publication number
CN105488715B
CN105488715B CN201511004635.XA CN201511004635A CN105488715B CN 105488715 B CN105488715 B CN 105488715B CN 201511004635 A CN201511004635 A CN 201511004635A CN 105488715 B CN105488715 B CN 105488715B
Authority
CN
China
Prior art keywords
target
information
specified
price
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201511004635.XA
Other languages
Chinese (zh)
Other versions
CN105488715A (en
Inventor
尚亚杰
张鹏
刘方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201511004635.XA priority Critical patent/CN105488715B/en
Publication of CN105488715A publication Critical patent/CN105488715A/en
Application granted granted Critical
Publication of CN105488715B publication Critical patent/CN105488715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce, e.g. shopping or e-commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The disclosure provides a target object information query method and device, and belongs to the technical field of internet. The method comprises the following steps: when detecting that the appointed application is started, providing an interface of target object information inquiry service; when the calling operation of an interface of the target object information inquiry service is detected, first target object information of a specified target object contained in a current page of the specified application is acquired, wherein the first target object information at least comprises a target object name; sending a target object information query request to a server, wherein the target object information query request carries first target object information of the specified target object, so that the server returns second target object information of the specified target object, and the second target object information at least comprises target object prices of different merchants; receiving second target object information of the specified target object; and displaying second target object information of the specified target object based on the specified application current page. The method and the device simplify the operation process and increase the viscosity of the user.

Description

Target object information query method and device
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for querying information of a target object.
Background
With the development of internet technology, online shopping is becoming more and more common in people's lives, and generally, when online shopping is performed, a user can browse and purchase a target object, namely a commodity, in an online shopping platform, wherein the online shopping platform comprises a large number of merchants and a large number of target objects, and in daily life, prices of the same target object in different merchants may be different, so that when the user performs online shopping, price information of the same target object in different merchants needs to be compared, so that the user can better guide his/her shopping behavior.
In the related technology, a user can install a price comparison application in a terminal, when the user needs to know the price information of a certain target object in different merchants, the user can firstly copy the information such as the name of the target object in an online shopping platform, then the user can open the price comparison application, paste the copied information such as the name of the target object to a specified position, and then compare the price.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in the method, the user needs to perform operations such as copying and pasting for many times, and needs to switch between the online shopping platform and the price comparison application, so that the operation flow is various, the steps are complicated, and the viscosity of the user is greatly influenced.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and an apparatus for querying information of a target object.
According to a first aspect of the embodiments of the present disclosure, there is provided a target object information query method, including:
when detecting that the appointed application is started, providing an interface of target object information inquiry service;
when the calling operation of an interface of the target object information inquiry service is detected, first target object information of a specified target object contained in the specified application current page is obtained, wherein the first target object information at least comprises a target object name;
sending a target object information query request to a server, wherein the target object information query request carries first target object information of the specified target object, so that the server returns second target object information of the specified target object, and the second target object information at least comprises target object prices of different merchants;
receiving second target object information of the specified target object;
and displaying second target object information of the specified target object based on the specified application current page.
In a first possible implementation manner of the first aspect, the interface for providing the target object information query service includes:
and displaying a floating window on the display interface of the specified application, wherein the floating window is used for providing an interface of target object information query service.
In a second possible implementation manner of the first aspect, the floating window is displayed at any position of the display interface of the designated application.
In a third possible implementation manner of the first aspect, after the displaying the floating window on the display interface of the designated application, the method further includes:
when the dragging operation of the floating window is detected, the position of the floating window on a display interface of a designated application is changed according to the end point of the dragging operation.
In a fourth possible implementation manner of the first aspect, the second object information further includes a web link of the specified object, and after the displaying the second object information of the specified object, the method further includes:
and jumping to a page corresponding to the webpage link after the triggering operation of the webpage link is detected.
In a fifth possible implementation manner of the first aspect, the second target object information includes at least one of price fluctuation information of the specified target object within a preset time range, price information of the specified target object at different merchants, and lowest price information of the specified target object.
In a sixth possible implementation manner of the first aspect, displaying the second object information of the specified object based on the specified application current page includes:
generating a price comparison interface, wherein the price comparison interface comprises the price of the target object of the specified target object on the current page and the prices of the target objects of different merchants;
and displaying the price comparison interface in an overlay mode on the current page of the specified application.
In a seventh possible implementation manner of the first aspect, the obtaining first object information of a specified object included in the specified application current page includes:
acquiring a specified label of the specified application current page;
and acquiring the text content corresponding to the specified label as first target object information of the specified target object.
According to a second aspect of the embodiments of the present disclosure, there is provided a target object information query apparatus, including:
the interface providing module is used for providing an interface of target object information inquiry service when detecting that the specified application is started;
an obtaining module, configured to obtain, after a call operation to an interface of the target object information query service provided by the interface providing module is detected, first target object information of a specified target object included in the specified application current page, where the first target object information at least includes a target object name;
the sending module is used for sending a target object information query request to a server, wherein the target object information query request carries the first target object information of the specified target object obtained by the obtaining module, so that the server returns second target object information of the specified target object, and the second target object information at least comprises target object prices of different merchants;
the receiving module is used for receiving second target object information of the specified target object;
and the display module is used for displaying the second target object information of the specified target object received by the receiving module based on the specified application current page.
In a first possible implementation manner of the second aspect, the interface providing module is configured to:
and displaying a floating window on the display interface of the specified application, wherein the floating window is used for providing an interface of target object information query service.
In a second possible implementation manner of the second aspect, the floating window is displayed at any position of the display interface of the designated application.
In a third possible implementation of the second aspect, the apparatus further comprises:
and the position changing module is used for changing the position of the floating window on the display interface of the designated application according to the end point of the dragging operation when the dragging operation of the floating window is detected.
In a fourth possible implementation manner of the second aspect, the second object information further includes a web link of the specified object, and the apparatus further includes:
and the skipping module is used for skipping to the page corresponding to the webpage link after the triggering operation of the webpage link is detected.
In a fifth possible implementation manner of the second aspect, the second target object information includes at least one of price fluctuation information of the specified target object within a preset time range, price information of the specified target object at different merchants, and lowest price information of the specified target object.
In a sixth possible implementation manner of the second aspect, the display module is configured to:
generating a price comparison interface, wherein the price comparison interface comprises the price of the target object of the specified target object on the current page and the prices of the target objects of different merchants;
and displaying the price comparison interface in an overlay mode on the current page of the specified application.
In a seventh possible implementation manner of the second aspect, the obtaining module is configured to:
acquiring a specified label of the specified application current page;
and acquiring the text content corresponding to the specified label as first target object information of the specified target object.
According to a third aspect of the embodiments of the present disclosure, there is provided a target object information query apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when detecting that the appointed application is started, providing an interface of target object information inquiry service;
when the calling operation of an interface of the target object information inquiry service is detected, first target object information of a specified target object contained in the specified application current page is obtained, wherein the first target object information at least comprises a target object name;
sending a target object information query request to a server, wherein the target object information query request carries first target object information of the specified target object, so that the server returns second target object information of the specified target object, and the second target object information at least comprises target object prices of different merchants;
receiving second target object information of the specified target object;
and displaying second target object information of the specified target object based on the specified application current page.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when the appointed application is detected to be started, namely an interface of the target object information query service is provided, when a user needs to query the target object information, the interface of the target object information query service can be directly called, the terminal can automatically acquire the first target object information of the appointed target object, and therefore the second target object information of the appointed target object is queried according to the first target object information, so that when the user queries the target object information, namely commodity price comparison, the first target object information does not need to be copied, switching between the appointed application and the target object information query application is not needed, the operation flow is simplified, and the viscosity of the user is increased. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
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 disclosure.
Fig. 1 is a flowchart illustrating a target object information query method according to an exemplary embodiment.
Fig. 2A is a flowchart illustrating a target object information query method according to an example embodiment.
FIG. 2B is a display interface of a treasure shopping application shown in accordance with an exemplary embodiment.
Fig. 3 is a block diagram illustrating a target object information query device 300 according to an example embodiment.
Fig. 4 is a block diagram illustrating a target object information query device 400 according to an example embodiment.
Fig. 5 is a block diagram illustrating a target object information query device 500 according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a target object information query method according to an exemplary embodiment, where the target object information query method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step 110, when detecting that the specified application is opened, the terminal provides an interface of the target object information query service.
In step 120, after detecting the call operation to the interface of the target object information query service, the terminal obtains first target object information of a specified target object included in the current page of the specified application, where the first target object information at least includes a target object name.
In step 130, the terminal sends a target object information query request to the server, where the target object information query request carries first target object information of the specified target object, so that the server returns second target object information of the specified target object, where the second target object information at least includes target object prices of different merchants.
In step 140, the terminal receives second object information of the designated object.
In step 150, the terminal displays second object information of the designated object based on the designated application current page.
In summary, according to the target object information query method provided in this embodiment, when it is detected that the designated application is turned on, that is, an interface of the target object information query service is provided, and when a user needs to query the target object information, the user can directly call the interface of the target object information query service, and the terminal can automatically acquire the first target object information of the designated target object, so as to query the second target object information of the designated target object according to the first target object information, so that when the user queries the target object information, that is, when the commodity price is compared, the first target object information does not need to be copied, and the designated application and the target object information query application do not need to be switched, thereby simplifying the operation flow and increasing the viscosity of the user.
In a first possible implementation, the interface for providing the target object information query service includes:
and displaying a floating window on the display interface of the specified application, wherein the floating window is used for providing an interface of the target object information query service.
In a second possible implementation, the floating window is displayed at any position of the display interface of the specified application.
In a third possible implementation manner, after the floating window is displayed on the display interface of the designated application, the target object information query method further includes:
and when the dragging operation on the floating window is detected, changing the position of the floating window on the display interface of the designated application according to the end point of the dragging operation.
In a fourth possible implementation manner, the second target object information further includes a web page link of the specified target object, and after the second target object information of the specified target object is displayed, the target object information query method further includes:
and jumping to a page corresponding to the webpage link after the triggering operation of the webpage link is detected.
In a fifth possible implementation, the second target object information includes at least one of price fluctuation information of the specified target object within a preset time range, price information of the specified target object at different merchants, and lowest price information of the specified target object.
In a sixth possible implementation, displaying the second object information of the specified object based on the specified application current page includes:
generating a price comparison interface, wherein the price comparison interface comprises the price of the target object of the specified target object on the current page and the prices of the target objects of different merchants;
and displaying the price comparison interface in an overlay mode on the current page of the specified application.
In a seventh possible implementation manner, the obtaining first object information of the specified object included in the current page of the specified application includes:
acquiring a specified label of the current page of the specified application;
and acquiring the text content corresponding to the specified label as first target object information of the specified target object.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating a target object information query method according to an exemplary embodiment, where the target object information query method is used in a terminal, as shown in fig. 2, and includes the following steps.
In step 210, when it is detected that the specified application is opened, the terminal provides an interface of the target object information query service.
The invention provides a method for realizing target object information query without switching between different applications, which is characterized in that simply speaking, an interface of the target object information query service is provided on a display interface of a designated application, and when a user browses, switches pages and the like in the designated application, the interface of the target object information query service can be always positioned on the display interface, so that when the user needs to inquire the target object information, the interface of the target object information query service can be conveniently called, and therefore, the target object information query can be realized without closing a current browsing page or opening other applications.
The specific application may be an application providing an online shopping platform, such as an application of panning and the like, an interface of the target object information query service may be a floating window, a button and the like, the target object information query service may be a service provided by the specific application, or a service provided by another application besides the specific application, the target object may be a commodity such as a digital product, clothing, food and the like, and the target object information may include information such as a price of the target object.
In the following, the present disclosure will describe the technical solutions of the present disclosure by taking an interface of a target object information query service as a floating window, it should be noted that the floating window is only an exemplary representation of an interface of the target object information query service, and in practical applications, there are multiple representations of interfaces of the target object information query service, and the technical solutions corresponding to the representations are the same as the technical solutions corresponding to the floating window, which will not be described in detail herein.
Specifically, an operating system of the terminal may detect an opening operation of the specified application, and after the system detects that the specified application is opened, a floating window is displayed on a display interface of the specified application, where the floating window may provide an interface of a target object information query service, and the floating window may be located on the display interface of the specified application all the time.
Of course, besides the interface for providing the target object information query service after the system detects that the designated application is opened, there may be other occasions for providing the target object information query service interface, the present disclosure still takes the floating window as an example below, and the occasions for providing the target object information query service interface are illustrated, for example, the designated application may be provided with the target object information query option, and after the triggering operation on the target object information query option is detected, the terminal displays the floating window, or the terminal detects that the user browses the target object in the designated application, and displays the floating window, which is not specifically limited by the present disclosure, in addition, the interface of the target object information query service may be located on the display interface of the designated application all the time as described above, or may be hidden and displayed according to the operation of the user, for example, the terminal may provide the hidden option, after detecting the trigger operation on the hidden option, the terminal may hide the interface of the target object information query service, and in a state that the interface of the target object information query service is hidden, the terminal may detect whether a user has a specific operation, such as a shaking operation, a sliding operation, and the like, and when the terminal detects the specific operation, the terminal may display the interface of the specific target object information query service.
In step 220, after detecting the call operation to the interface of the target object information query service, the terminal obtains first target object information of a specified target object included in the current page of the specified application, where the first target object information at least includes a target object name.
When a user browses a specified target object in a specified application, the user may be interested in the specified target object and may want to know information such as price of the specified target object, for example, price of the specified target object in different merchants or recent price trend of the specified target object, at this time, the user may query price information of the specified target object, that is, query second target object information, in order to implement this query process, the terminal needs to obtain first target object information of the specified target object, where the first target object information may include a target object name, a target object price, a target object brand, and the like, so that the server performs a query according to the first target object information, and step 220 is a technical process of obtaining the first target object information.
In practical applications, methods for acquiring the first object information by the terminal are various, and the present disclosure does not specifically limit this, for example, the terminal may specifically acquire the text content included in the current page of the specified application according to the layout mode of the specified application page, where the text content is the first object information, and if the name of the object in the specified application page is usually located in the middle of the first row, the terminal may acquire the text content in the middle of the first row as the first object information.
Generally, a terminal displays a page of a designated application according to a plurality of tags, for example, a tag may correspond to a certain position of the page of the designated application and may correspond to a name of a designated object, and when the terminal displays the tag, the terminal displays the name of the designated object at the position corresponding to the tag, so that the terminal may obtain first object information of the designated object being browsed by a user by obtaining the designated tag of the current page of the designated application.
Specifically, when the terminal detects a call operation to the interface of the target object information query service, that is, after the terminal detects a trigger operation to the floating window, the terminal calls a system auxiliary function service, and the system auxiliary function service may obtain an assigned tag of the current page of the assigned application, where the assigned tag corresponds to the first target object information. As described above, since the designated tag corresponds to the first object information, after the terminal acquires the designated tag, the terminal can directly acquire the text content corresponding to the designated tag as the first object information.
In the following, in order to better understand the technical solution of the present disclosure, the inventor will briefly exemplify the technical process of the above step 210 and step 220 by taking one application scenario of the present disclosure as an example.
For example, when a user wants to perform online shopping, the user may select to open a precious shopping application, where the precious shopping application is the designated application described above, the precious shopping application may provide an online shopping platform, the online shopping platform may include a large number of goods, that is, a large number of targets, the user may browse the goods on the online shopping platform through the precious shopping application, and after the terminal detects that the precious shopping application is opened, the terminal may display a floating window on a display interface of the precious shopping application, where the floating window may provide an interface of a price comparison service, that is, an interface of a target information query service, where the price comparison service is provided by a price comparison application, the floating window may be located at any position of the display interface of the precious shopping application, for example, the floating window may be located in the middle of the display interface, for example, when a user browses the display interface, the floating window may be dragged to the top of the display interface by a drag operation, as shown in fig. 2B, 23 in the drawing is the floating window, the display interface may further include a commodity name, a brand 21, and a commodity price 22, that is, the above-mentioned target name, brand, and target price, when the user browses a favorite commodity in a precious shopping application, that is, specifies the target, the user may trigger the floating window 23, and after detecting the trigger operation on the floating window 23, the terminal invokes a price comparison service, and invokes a system auxiliary function service to obtain a plurality of designated tags in the current display interface, where the designated tags correspond to the names, and the names of the favorite commodities of the user, The brand and the price, namely the first target object information, can be obtained by the system auxiliary function service after the appointed label is obtained.
In step 230, a target object information query request is sent to the server, where the target object information query request carries first target object information of the specified target object, so that the server returns second target object information of the specified target object, where the second target object information at least includes target object prices of different merchants.
In step 220, the present disclosure obtains first target object information of a specified target object, and in step 230, the present disclosure may query, by using the first target object information, second target object information of the specified target object, where the second target object information includes at least one of price fluctuation information of the specified target object within a preset time range, price information of the specified target object at different merchants, and minimum price information of the specified target object, and it should be noted that the second target object information may be information of the specified target object in the specified application, may also be information of the specified target object in other applications besides the specified application, and may also include information in the specified application as well as information in other applications, which is not specifically limited by the present disclosure.
Specifically, the target object information query service in the terminal may send a target object information query request to the server, where the target object information query request carries the first target object information, and after receiving the target object information query request, the server extracts the first target object information, obtains second target object information from the specified database according to the first target object information, and sends the second target object information to the terminal.
As described above, the server needs to query price information of a designated object in different merchants, minimum price information of the designated object, price fluctuation information of the designated object in a preset time range, and the like according to first object information of the designated object, however, since the number of objects in a designated application is large and varied, objects in some merchants having the same name and brand as the designated object may have large differences between their quality and performance and the designated object, and the price information returned to these objects cannot play a role of guiding a user to shop, in step 220, the terminal may further acquire the price of the designated object in the designated application current display interface as the first object information, and the terminal may carry the price of the designated object in the designated application current display interface when sending an object information query request to the server, the server can screen the query result by using the price, so that the price information of the target object with the price difference exceeding a preset threshold value between the price and the specified target object in the current display interface of the specified application is screened, and the result returned by the server has higher reference value.
As illustrated above, after the terminal acquires the name, brand and price of the favorite commodity of the user, it sends a target information query request to the server, the target information query request carries the name, brand and price of the favorite commodity of the user, the server receives the target information query request, extracts the name, brand and price of the favorite commodity of the user, and according to the name and brand, acquires the price information of the favorite commodity of the user in different merchants and the historical price information of the favorite commodity of the user in the past week from a designated database, the server screens the price information and historical price information of the favorite commodity of the user in different merchants, screens the price information and historical price information of different merchants which differ from the price of the favorite commodity of the user by more than 100, and acquires the screened price information and screened historical price information of different merchants, the server obtains the lowest price information of the favorite commodity of the user according to the screening price information of different merchants, obtains the price fluctuation information of the favorite commodity of the user in the past week according to the screening historical price information, and returns the screening price information, the lowest price information and the price fluctuation information of the favorite commodity of the user in different merchants to the terminal.
In step 240, the terminal receives second object information of the designated object.
In step 250, the terminal generates a price comparison interface, which includes the price of the target object of the specified target object on the current page and the prices of the target objects of the different merchants.
After receiving the second target object information, the terminal needs to display the second target object information, specifically, the terminal may generate a price comparison interface, where the price comparison interface may include a target object price of the specified target object on the current page and target object prices of different merchants, and in other embodiments of the disclosure, the price comparison interface may further include a price fluctuation graph of the specified target object within a preset time range and a minimum price of the specified target object, where the price fluctuation graph of the specified target object within the preset time range may be obtained according to price fluctuation information of the specified target object within the preset time range received by the terminal, an abscissa of the price fluctuation graph may be time, and an ordinate of the price fluctuation graph may be price.
In step 260, the terminal displays the price comparison interface in an overlay form on the current page of the specified application.
After the terminal generates the price comparison interface, the price comparison interface can be displayed on the current page of the appointed application in a covering mode, the price comparison interface can provide an interface closing option, and after the triggering operation of the interface closing option is detected, the terminal closes the price comparison interface, the terminal displays the current page of the appointed application at the moment, so that a user can continue browsing from the current page, and the continuity of browsing and operating of the user on the appointed application is guaranteed.
In addition, in an embodiment of the present disclosure, the second target object information further includes a web page link of the specified target object, and the price comparison interface may further include the web page link of the specified target object while the price comparison interface displays the second target object information, and after the trigger operation on the web page link is detected, the page corresponding to the web page link is skipped to.
As exemplified above, after the server returns the filtered price information, the minimum price information and the price fluctuation information of the favorite commodity of the user in different merchants to the terminal, the terminal receives the information, after the terminal receives the information, the terminal generates the price fluctuation graph of the favorite commodity of the user in the past week according to the price fluctuation information of the past week, then the terminal generates a price comparison interface, the price comparison interface can comprise three areas, the first area is used for displaying the price fluctuation graph of the favorite commodity of the user in the past week, the second area is used for displaying the price of the favorite commodity of the user in different merchants, the third area is used for displaying the minimum price of the favorite commodity of the user, the second area and the third area both contain web page links, the web page links are used for pointing to web pages of the favorite commodities of different prices of the user, and when the terminal detects the triggering operation of the webpage link, the terminal can jump to the page corresponding to the webpage link.
Of course, in practical applications, the display modes of the second object information are various, and the display modes of step 250 and step 260 are only exemplary and cannot limit the present disclosure, specifically, the terminal may display the second object information in the floating window, or may display the second object information in the current display interface of the specified application, for example, the terminal may display the second object information in an area where the terminal provides a price of the object in the current display interface, or may display the second object information in a system information notification bar, or may display the second object information in a pop-up window or a side window, and the above-mentioned various display modes of the second object information are the same as the display modes of step 250 and step 260, and the present disclosure will not be described again one by one.
In summary, according to the target object information query method provided in this embodiment, when it is detected that the designated application is turned on, that is, an interface of the target object information query service is provided, and when a user needs to query the target object information, the user can directly call the interface of the target object information query service, and the terminal can automatically acquire the first target object information of the designated target object, so as to query the second target object information of the designated target object according to the first target object information, so that when the user queries the target object information, that is, when the commodity price is compared, the first target object information does not need to be copied, and the designated application and the target object information query application do not need to be switched, thereby simplifying the operation flow and increasing the viscosity of the user.
Fig. 3 is a block diagram illustrating a target object information query device 300 according to an example embodiment. Referring to fig. 3, the apparatus includes an interface providing module 310, an obtaining module 320, a transmitting module 330, a receiving module 340, and a display module 350.
The interface providing module 310 is configured to provide an interface of the target object information query service when it is detected that the specified application is opened.
The obtaining module 320 is configured to obtain first object information of a specified object included in the specified application current page after detecting a call operation on the interface of the object information query service provided by the interface providing module 310, where the first object information at least includes an object name.
The sending module 330 is configured to send a target object information query request to a server, where the target object information query request carries the first target object information of the specified target object obtained by the obtaining module 320, so that the server returns second target object information of the specified target object, where the second target object information at least includes target object prices of different merchants.
In one embodiment of the present disclosure, the second target object information includes at least one of price fluctuation information of the specified target object within a preset time range, price information of the specified target object at different merchants, and minimum price information of the specified target object.
The receiving module 340 is configured to receive second object information of the designated object.
The display module 350 is configured to display the second object information of the specified object received by the receiving module 340 based on the specified application current page.
In one embodiment of the present disclosure, the interface providing module 310 is configured to:
and displaying a floating window on the display interface of the specified application, wherein the floating window is used for providing an interface of the target object information query service. The floating window is displayed at any position of the display interface of the specified application.
In one embodiment of the present disclosure, the obtaining module 320 is configured to:
acquiring a specified label of the current page of the specified application;
and acquiring the text content corresponding to the specified label as first target object information of the specified target object.
In one embodiment of the present disclosure, the display module 350 is configured to:
generating a price comparison interface, wherein the price comparison interface comprises the price of the target object of the specified target object on the current page and the prices of the target objects of different merchants;
and displaying the price comparison interface in an overlay mode on the current page of the specified application.
Referring to fig. 4, in another embodiment of the present disclosure, another target object information query apparatus 400 is further provided, which is based on the structure of the embodiment of fig. 3, and further includes a location change module 360 and a skip module 370.
The position changing module 360 is configured to, when a drag operation on the floating window is detected, change a position of the floating window on the display interface of the designated application according to an end point of the drag operation.
The second target object information further includes a web page link of the specified target object, and the jump module 370 is configured to jump to a page corresponding to the web page link after detecting a trigger operation on the web page link.
In summary, the target object information query device provided in this embodiment provides an interface of the target object information query service when detecting that the designated application is turned on, and the user can directly invoke the interface of the target object information query service when the target object information query is needed, so that the terminal can automatically obtain the first target object information of the designated target object, and thereby query the second target object information of the designated target object according to the first target object information, so that the user does not need to copy the first target object information or switch between the designated application and the target object information query application when performing the target object information query, that is, when the commodity price is compared, thereby simplifying the operation flow and increasing the viscosity of the user.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating a target object information query device 500 according to an example embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 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 an input signal from a 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 boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be 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.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may 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 516 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium having instructions which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the method of: when detecting that the appointed application is started, providing an interface of target object information inquiry service; when the calling operation of an interface of the target object information inquiry service is detected, first target object information of a specified target object contained in a current page of the specified application is acquired, wherein the first target object information at least comprises a target object name; sending a target object information query request to a server, wherein the target object information query request carries first target object information of the specified target object, so that the server returns second target object information of the specified target object, and the second target object information at least comprises target object prices of different merchants; receiving second target object information of the specified target object; and displaying second target object information of the specified target object based on the specified application current page.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 appended claims.

Claims (17)

1. A target object information query method is characterized by comprising the following steps:
when detecting that the appointed application is started, providing an interface of target object information inquiry service;
when the calling operation of an interface of the target object information inquiry service is detected, first target object information of a specified target object contained in the current page of the specified application is obtained, wherein the first target object information at least comprises a target object name and the price of the specified target object;
sending a target object information query request to a server, wherein the target object information query request carries first target object information of the specified target object, so that the server screens a query result by using the price of the specified target object, screens out target object information corresponding to target object price information with the price difference exceeding a preset threshold value, and returns second target object information of the specified target object after screening, wherein the second target object information at least comprises target object prices of different merchants;
receiving second target object information of the specified target object;
and displaying second target object information of the specified target object based on the specified application current page.
2. The method of claim 1, wherein the interface providing the target object information query service comprises:
and displaying a floating window on the display interface of the specified application, wherein the floating window is used for providing an interface of target object information query service.
3. The method of claim 2, wherein the floating window is displayed anywhere on the display interface of the specified application.
4. The method of claim 2, wherein after displaying the floating window on the display interface of the specified application, the method further comprises:
when the dragging operation of the floating window is detected, the position of the floating window on a display interface of a designated application is changed according to the end point of the dragging operation.
5. The method of claim 1, wherein the second object information further includes a web link to the specified object, and after the displaying the second object information for the specified object, the method further comprises:
and jumping to a page corresponding to the webpage link after the triggering operation of the webpage link is detected.
6. The method of claim 1, wherein the second object information includes at least one of price fluctuation information of the designated object within a preset time range, price information of the designated object at different merchants, and minimum price information of the designated object.
7. The method of claim 1, wherein displaying second object information for the specified object based on the specified application current page comprises:
generating a price comparison interface, wherein the price comparison interface comprises the price of the target object of the specified target object on the current page and the prices of the target objects of different merchants;
and displaying the price comparison interface in an overlay mode on the current page of the specified application.
8. The method according to claim 1, wherein the obtaining of the first object information of the specified object included in the specified application current page comprises:
acquiring a specified label of the specified application current page;
and acquiring the text content corresponding to the specified label as first target object information of the specified target object.
9. An object information inquiry apparatus, comprising:
the interface providing module is used for providing an interface of target object information inquiry service when detecting that the specified application is started;
an obtaining module, configured to obtain, after a call operation to an interface of the target object information query service provided by the interface providing module is detected, first target object information of a specified target object included in the specified application current page, where the first target object information at least includes a target object name and a price of the specified target object;
a sending module, configured to send a target information query request to a server, where the target information query request carries first target information of the specified target obtained by the obtaining module, so that the server screens a query result by using the price of the specified target, screens out target information corresponding to target price information whose price difference with the specified target exceeds a preset threshold, and returns second target information of the specified target after screening, where the second target information at least includes prices of targets of different merchants;
the receiving module is used for receiving second target object information of the specified target object;
and the display module is used for displaying the second target object information of the specified target object received by the receiving module based on the specified application current page.
10. The apparatus of claim 9, wherein the interface provision module is configured to:
and displaying a floating window on the display interface of the specified application, wherein the floating window is used for providing an interface of target object information query service.
11. The apparatus of claim 10, wherein the floating window is displayed at any position of a display interface of the designated application.
12. The apparatus of claim 10, further comprising:
and the position changing module is used for changing the position of the floating window on the display interface of the designated application according to the end point of the dragging operation when the dragging operation of the floating window is detected.
13. The apparatus of claim 9, wherein the second object information further includes a web link to the specified object, the apparatus further comprising:
and the skipping module is used for skipping to the page corresponding to the webpage link after the triggering operation of the webpage link is detected.
14. The apparatus according to claim 9, wherein the second object information includes at least one of price fluctuation information of the specified object within a preset time range, price information of the specified object at different merchants, and minimum price information of the specified object.
15. The apparatus of claim 9, wherein the display module is configured to:
generating a price comparison interface, wherein the price comparison interface comprises the price of the target object of the specified target object on the current page and the prices of the target objects of different merchants;
and displaying the price comparison interface in an overlay mode on the current page of the specified application.
16. The apparatus of claim 9, wherein the obtaining module is configured to:
acquiring a specified label of the specified application current page;
and acquiring the text content corresponding to the specified label as first target object information of the specified target object.
17. An object information inquiry apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when detecting that the appointed application is started, providing an interface of target object information inquiry service;
when the calling operation of an interface of the target object information inquiry service is detected, first target object information of a specified target object contained in the current page of the specified application is obtained, wherein the first target object information at least comprises a target object name and the price of the specified target object;
sending a target object information query request to a server, wherein the target object information query request carries first target object information of the specified target object, so that the server screens a query result by using the price of the specified target object, screens out target object information corresponding to target object price information with the price difference exceeding a preset threshold value, and returns second target object information of the specified target object after screening, wherein the second target object information at least comprises target object prices of different merchants;
receiving second target object information of the specified target object;
and displaying second target object information of the specified target object based on the specified application current page.
CN201511004635.XA 2015-12-29 2015-12-29 Target object information query method and device Active CN105488715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511004635.XA CN105488715B (en) 2015-12-29 2015-12-29 Target object information query method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511004635.XA CN105488715B (en) 2015-12-29 2015-12-29 Target object information query method and device

Publications (2)

Publication Number Publication Date
CN105488715A CN105488715A (en) 2016-04-13
CN105488715B true CN105488715B (en) 2020-01-10

Family

ID=55675680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511004635.XA Active CN105488715B (en) 2015-12-29 2015-12-29 Target object information query method and device

Country Status (1)

Country Link
CN (1) CN105488715B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157109A (en) * 2016-06-24 2016-11-23 北京奇虎科技有限公司 price comparing method, device and terminal
CN106294872A (en) * 2016-08-24 2017-01-04 深圳市金立通信设备有限公司 A kind of method of information processing and terminal
CN106504050A (en) * 2016-09-13 2017-03-15 努比亚技术有限公司 A kind of information comparison device and method
CN106910088A (en) * 2017-02-14 2017-06-30 广州源美节能科技有限公司 Call a taxi price comparing method, call a taxi rate of exchange device and terminal device
CN107220109B (en) * 2017-04-27 2021-06-15 努比亚技术有限公司 Interface display method and equipment
CN108898457A (en) * 2018-06-22 2018-11-27 北京京东金融科技控股有限公司 Method and apparatus for output information
CN109242653A (en) * 2018-11-13 2019-01-18 徐凤林 Commodity comparison method and device used in a kind of shopping process
CN109949138A (en) * 2019-03-28 2019-06-28 北京小米移动软件有限公司 Information displaying method, device, terminal, server and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392366A (en) * 2014-04-18 2015-03-04 腾讯科技(深圳)有限公司 Data comparison information acquisition method, device and system
CN104504025A (en) * 2014-12-12 2015-04-08 小米科技有限责任公司 Method and device for searching information
CN104574156A (en) * 2015-01-26 2015-04-29 网易有道信息技术(北京)有限公司 Commodity expanding information matching and obtaining method and device
CN104850871A (en) * 2014-02-19 2015-08-19 阿里巴巴集团控股有限公司 Method and device for providing code scanning result information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150120462A1 (en) * 2013-10-29 2015-04-30 Tencent Technology (Shenzhen) Company Limited Method And System For Pushing Merchandise Information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850871A (en) * 2014-02-19 2015-08-19 阿里巴巴集团控股有限公司 Method and device for providing code scanning result information
CN104392366A (en) * 2014-04-18 2015-03-04 腾讯科技(深圳)有限公司 Data comparison information acquisition method, device and system
CN104504025A (en) * 2014-12-12 2015-04-08 小米科技有限责任公司 Method and device for searching information
CN104574156A (en) * 2015-01-26 2015-04-29 网易有道信息技术(北京)有限公司 Commodity expanding information matching and obtaining method and device

Also Published As

Publication number Publication date
CN105488715A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN105488715B (en) Target object information query method and device
RU2637884C2 (en) Method and device for displaying mark on pictogram
US20170315681A1 (en) Information display method and device
CN105607857A (en) Page selection method and device
EP3128411B1 (en) Interface display method, terminal, computer program and recording medium
CN106775202B (en) Information transmission method and device
CN107402767B (en) Method and device for displaying push message
US20180342037A1 (en) Method, device and computer readable storage medium for screenshot processing
CN107463643B (en) Barrage data display method and device and storage medium
CN107908325B (en) Interface display method and device
CN105512909A (en) Commodity recommendation method apparatus
CN106896991B (en) Method and device for updating information
CN104572848A (en) Search method and search device based on browser
CN107273448B (en) Information display method, device and computer readable storage medium
CN107193606B (en) Application distribution method and device
CN105677164A (en) Page selection method and device
CN112561631A (en) Information display method and device, electronic equipment and storage medium
CN107229403B (en) Information content selection method and device
TWI671678B (en) Dynamic list display method, device, device and system
CN108984098B (en) Information display control method and device based on social software
CN107729098B (en) User interface display method and device
CN105956199B (en) Information displaying method and device
TW201918871A (en) Interface display method and device
CN106886541B (en) Data searching method and device for data searching
CN106886540B (en) Data searching method and device for data searching

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant