CN112333494B - Method and device for acquiring article information and electronic equipment - Google Patents

Method and device for acquiring article information and electronic equipment Download PDF

Info

Publication number
CN112333494B
CN112333494B CN202011193910.8A CN202011193910A CN112333494B CN 112333494 B CN112333494 B CN 112333494B CN 202011193910 A CN202011193910 A CN 202011193910A CN 112333494 B CN112333494 B CN 112333494B
Authority
CN
China
Prior art keywords
information
electronic equipment
electronic device
target
infrared signal
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
CN202011193910.8A
Other languages
Chinese (zh)
Other versions
CN112333494A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011193910.8A priority Critical patent/CN112333494B/en
Publication of CN112333494A publication Critical patent/CN112333494A/en
Application granted granted Critical
Publication of CN112333494B publication Critical patent/CN112333494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42208Display device provided on the remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42222Additional components integrated in the remote control device, e.g. timer, speaker, sensors for detecting position, direction or movement of the remote control, microphone or battery charging device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a method and a device for acquiring article information and electronic equipment, and belongs to the technical field of communication. The method for acquiring the article information is applied to first electronic equipment and comprises the following steps: receiving target information sent by second electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode; performing screen capture operation on the current display picture according to the target information to obtain a screen capture image; and transmitting the item information contained in the screen shot image to the second electronic equipment. According to the method and the device, the first electronic equipment can display the program picture as usual in the process of acquiring the article information without pausing, so that the watching experience of watching the program by a user is not influenced.

Description

Method and device for acquiring article information and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for acquiring article information and electronic equipment.
Background
The computer vision has the capability of identifying and matching the article, can identify what the article in the image is, and provides article related information. Computer vision technology is widely applied to computers and mobile phones at present. For example, a user obtains an image recorded with an article by shooting through a mobile phone, and then can identify the related information of the article by using the image.
In the television viewing scenario, if the user wants to know the relevant information about a certain item in the picture being shown on the television. The program needs to be paused first, and then the recognition function of the mobile phone is turned on to shoot. And identifying the related information of the article according to the shot image.
However, in the above scenario, there are at least the following problems in the process of acquiring the article information: first, the user must pause the program, otherwise the item displaying the information the user wants to know may disappear in the display, which affects the user's experience of watching tv. Secondly, the user must open the mobile phone and operate the designated application program, which is not convenient enough, and the whole process consumes a long time.
Disclosure of Invention
The embodiment of the application aims to provide a method, a device and electronic equipment for acquiring article information, which can solve the problem that related information of an article in a picture is inconvenient to acquire in the process of watching a television.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for acquiring article information, where the method is applied to a first electronic device, and the method includes:
receiving target information sent by second electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
performing screen capture operation on the current display picture according to the target information to obtain a screen capture image;
and sending the item information contained in the screen shot image to the second electronic equipment.
In a second aspect, an embodiment of the present application provides a method for acquiring item information, which is applied to a second electronic device, and the method includes:
sending the target information to the first electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
receiving article information sent by the first electronic equipment; the article information is that after the first electronic device receives the target information, screen capture operation is carried out on a current display picture to obtain a screen capture image; and obtaining the article information of the screen shot image according to the screen shot image.
In a third aspect, an embodiment of the present application provides an apparatus for acquiring article information, which is applied to a first electronic device, and the apparatus includes:
the first receiving module is used for receiving the target information sent by the second electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
the screen capture module is used for carrying out screen capture operation on the current display picture according to the target information to obtain a screen capture image;
and the first sending module is used for sending the article information contained in the screen capture image to the second electronic equipment.
In a fourth aspect, an embodiment of the present application provides an apparatus for acquiring article information, where the apparatus is applied to a second electronic device, and the apparatus includes:
the third sending module is used for sending the target information to the first electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
the second receiving module is used for receiving the article information sent by the first electronic equipment; the article information is that after the first electronic device receives the target information, screen capture operation is carried out on a current display picture to obtain a screen capture image; and obtaining the article information of the screen shot image according to the screen shot image.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect or the second aspect.
In the embodiment of the application, the screen capture operation of the first electronic equipment is triggered through target information which is sent by the second electronic equipment and used for indicating the second electronic equipment to approach the first electronic equipment in a preset mode; and then, the article information in the screen shot image is obtained according to the screen shot image, and then the article information is sent to the second electronic equipment. In the process, the first electronic equipment can display the program picture as usual without pause, so that the watching experience of a user for watching the program is not influenced. Meanwhile, compared with a mode of taking pictures through a mobile phone and then identifying the pictures to obtain the object information, the method provided by the embodiment of the application is more convenient and faster.
Drawings
Fig. 1 is a schematic view of a scene of a method for acquiring information of an article according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a mobile phone provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating steps of a method for acquiring information of an article applied to a first electronic device according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a process of calculating a movement time, a first time period and a second time period according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an infrared signal emission process;
fig. 6 is a schematic diagram of a television structure provided in an embodiment of the present application;
fig. 7 is a flowchart illustrating steps of a method for acquiring information of an article applied to a second electronic device according to an embodiment of the present application;
fig. 8 is a block diagram of a structure of an apparatus for acquiring item information, which is applied to a first electronic device according to an embodiment of the present application;
fig. 9 is a block diagram of a structure of an apparatus for acquiring article information, applied to a second electronic device according to an embodiment of the present application;
fig. 10 is a schematic hardware structure diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method for acquiring information of an article according to the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The embodiment of the application provides a method for acquiring article information, which comprises the following steps:
the second electronic equipment sends the target information to the first electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode.
In this step, the first electronic device and the second electronic device can communicate with each other. For example, the first electronic device and the second electronic device are both connected to the internet and transmit information through the internet. Of course, the first electronic device and the second electronic device may also communicate with each other through a wireless local area network. The first electronic device can be a television, a computer and other devices with networking functions; the second electronic device may be a mobile phone, a tablet, or other terminal device.
And under the condition that the second electronic equipment approaches to the first electronic equipment in a preset mode, generating target information and sending the target information to the first electronic equipment. The target information includes: the judgment basis information is used for judging that the second electronic equipment approaches the first electronic equipment in a preset mode or the judgment result information is used for judging that the second electronic equipment approaches the first electronic equipment in the preset mode. Here, the determination criterion information includes information that the second electronic device can be determined to be close to the first electronic device in a predetermined manner. The judgment result information is result information for judging that the second electronic equipment approaches to the first electronic equipment in a preset mode. The judgment result information may be a preset information carrying fixed information. And the second electronic equipment sends the judgment result information to the first electronic equipment under the condition that the second electronic equipment is determined to be close to the first electronic equipment in a preset mode through judgment. The preset mode can be set according to the requirement, and can comprise one or more preset modes.
The first electronic equipment receives the target information sent by the second electronic equipment.
In this step, the first electronic device may directly communicate with the second electronic device, and receive target information sent by the second electronic device; target information from the second electronic device forwarded by the other device may also be received.
And the first electronic equipment carries out screen capture operation on the current display picture according to the target information to obtain a screen capture image.
In this step, the first electronic device may identify the received information. That is, it may be determined whether the target information indicates that the second electronic device is close to the first electronic device in a preset manner by recognizing the target information. And under the condition that the second electronic equipment is determined to be close to the first electronic equipment in a preset mode, carrying out screen capture operation on the current display picture of the first electronic equipment, and thus obtaining a screen capture image.
And the first electronic equipment transmits the item information contained in the screen capture image to the second electronic equipment.
In the step, the first electronic equipment can obtain the article information by identifying the screen shot image per se; of course, the screen capture image can also be sent to a third-party device by means of the third-party device with the function of identifying the article information in the image, and the article information can be obtained from the third-party device. The item information may be a brief description, a detailed description, or a web link to an application program for the item at a shopping site or shopping type.
When the article information is sent to the second electronic equipment, the article information can be directly sent to the second electronic equipment by the first electronic equipment; the article information can also be sent to the third-party device by means of the third-party device, and the third-party device forwards the article information to the second electronic device.
And the second electronic equipment receives the article information sent by the first electronic equipment.
Here, after receiving the article information, the second electronic device may directly display the article information or store the article information in a preset position according to the running state of the second electronic device, and the second electronic device is accessed by a user according to a requirement.
In the embodiment of the application, the target information which is sent by the second electronic equipment and used for indicating the second electronic equipment to approach the first electronic equipment in a preset mode triggers the screen capture operation of the first electronic equipment; and then, the article information in the screen shot image is obtained according to the screen shot image, and then the article information is sent to the second electronic equipment. In the process, the first electronic equipment can display the program picture as usual without pausing, so that the watching experience of a user for watching the program is not influenced. Meanwhile, compared with a mode of taking pictures through a mobile phone and then identifying the pictures to obtain the object information, the method provided by the embodiment of the application is more convenient and faster.
The following description will be given taking the first electronic device as a television and the second electronic device as a mobile phone as an example.
Referring to fig. 1, when a user sees an interested item while watching tv, the user picks up the mobile phone and points to the tv and moves a distance d. In the process, the mobile phone periodically sends infrared signals through the infrared transmitter arranged at the top, and after the television receives the infrared signals, the receiving time of receiving the infrared signals every time is recorded. Therefore, whether the mobile phone moves close to the television or not can be judged according to the sending time and the receiving time of the infrared signals. And when the television judges that the mobile phone moves close to the television, performing screen capturing operation to obtain a screen capturing image. Then, the screen capture image is identified to obtain article information, and the article information is sent to the mobile phone.
Preferably, in order to avoid false triggering and improve the fault tolerance rate, the operation can be triggered when the mobile phone is close to the television in a preset mode, and the article information is obtained and sent to the mobile phone. The mobile phone can detect own attitude information through equipment such as a gyroscope, an acceleration sensor and the like of the mobile phone in the movement process. If the included angle between the mobile phone and the horizontal plane is smaller than the preset angle threshold value, if the mobile phone moves close to the television, the operation is triggered, and the article information is obtained and sent to the mobile phone. Specifically, the television and the mobile phone are in the same space, the television panel is parallel to the XZ axis plane, and the mobile phone panel is parallel to the XY axis plane in an ideal state.
Referring to fig. 2, a schematic structural diagram of the mobile phone is shown, wherein the infrared emitter is disposed on the top of the mobile phone. Of course, for convenience of operation, the infrared emitter may be disposed at other positions of the mobile phone, such as the tail, but not limited thereto. The number of infrared emitters can also be increased, several positions are selected, and each position is provided with an infrared emitter.
As shown in fig. 3, for the method for acquiring article information provided in the embodiment of the present application, applied to a first electronic device, the method for acquiring article information includes:
step 301, receiving target information sent by a second electronic device; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode.
In this step, the first electronic device and the second electronic device may communicate with each other. For example, the first electronic device and the second electronic device are both connected to the internet and transmit information through the internet. Of course, the first electronic device and the second electronic device may also communicate with each other through a wireless local area network. The first electronic device can be a television, a computer and other devices with a networking function; the second electronic device may be a mobile phone, a tablet, or other terminal device.
And step 302, performing screen capture operation on the current display picture according to the target information to obtain a screen capture image.
In this step, the first electronic device may identify the received information. That is, it may be determined whether the target information indicates that the second electronic device is close to the first electronic device in a preset manner by recognizing the target information. And under the condition that the second electronic equipment is determined to be close to the first electronic equipment in a preset mode, carrying out screen capture operation on the current display picture of the first electronic equipment, and thus obtaining a screen capture image.
Step 303, sending the item information contained in the screen shot image to the second electronic device.
In this step, the item information is information of a target item in the screen shot image. When the article information is sent to the second electronic equipment, the article information can be directly sent to the second electronic equipment by the first electronic equipment; or the article information can be sent to the third-party equipment by means of the third-party equipment, and the third-party equipment forwards the article information to the second electronic equipment. The item information may be a brief description, a detailed description of the item, or a web link to an application of the item on a shopping website or shopping type.
In the embodiment of the application, the target information which is sent by the second electronic equipment and used for indicating the second electronic equipment to approach the first electronic equipment in a preset mode triggers the screen capture operation of the first electronic equipment; and then, the article information in the screen shot image is obtained according to the screen shot image, and then the article information is sent to the second electronic equipment. In the process, the first electronic equipment can display the program picture as usual without pause, so that the watching experience of a user for watching the program is not influenced. Meanwhile, compared with a mode of taking pictures through a mobile phone and then identifying the pictures to obtain the article information, the method provided by the embodiment of the application is more convenient and faster.
Optionally, the target information includes: and the judgment basis information is used for judging that the second electronic equipment approaches the first electronic equipment in a preset mode or the judgment result information is used for judging that the second electronic equipment approaches the first electronic equipment in a preset mode.
In this step, whether the second electronic device approaches the first electronic device in a preset manner may be determined by the first electronic device or the second electronic device. When different electronic devices are used for judgment, the target information contains different contents. When the first electronic equipment judges, the target information comprises judgment basis information used for judging that the second electronic equipment approaches to the first electronic equipment in a preset mode; and therefore, judging according to the judgment basis information and determining that the second electronic equipment approaches to the first electronic equipment in a preset mode. When the second electronic equipment judges, the target information comprises judgment result information for judging that the second electronic equipment approaches to the first electronic equipment in a preset mode; therefore, according to the judgment result information, the fact that the second electronic equipment is close to the first electronic equipment in a preset mode is directly determined.
Here, the determination reference information includes information that can determine that the second electronic device is close to the first electronic device in a predetermined manner. The judging the result information includes judging that the second electronic device approaches the first electronic device in a preset mode. The judgment result information may be a preset information carrying fixed content. And the second electronic equipment sends the judgment result information to the first electronic equipment under the condition that the second electronic equipment is determined to be close to the first electronic equipment in a preset mode through judgment. The preset mode can be set according to the requirement, and can comprise one or more preset modes.
Optionally, in a case that the target information includes the determination result information, before the step of receiving the target information sent by the second electronic device, the method further includes:
and recording the receiving time of each time the infrared signal sent by the second electronic equipment is received.
In this step, the second electronic device periodically sends the infrared signal to the first electronic device during the movement process of approaching the first electronic device in a preset manner. And the second electronic device records the time of transmission of each transmitted infrared signal.
And sending the receiving time to the second electronic equipment so that the second electronic equipment can obtain judgment result information according to the receiving time, the sending time for sending the infrared signal and the posture information in the motion process.
Here, since the target information includes the determination result information, the second electronic device is required to determine whether the second electronic device is close to the first electronic device in a preset manner. Whether the second electronic equipment is close to the first electronic equipment in the motion process can be determined according to the receiving time and the sending time; from the pose information it can be determined in which pose form the second electronic device is moving. When the receiving time, the sending time and the posture information meet the preset conditions, judgment result information indicating that the second electronic equipment approaches the first electronic equipment in a preset mode can be obtained. Preferably, the first electronic device and the second electronic device are time-synchronized, for example, a time synchronization operation is performed at intervals.
In the embodiment of the application, judgment result information indicating that the second electronic device approaches the first electronic device in a preset mode is obtained through the second electronic device. It is not necessary to determine at the first electronic device whether the second electronic device is approaching the first electronic device in a preset manner. The response time of the first electronic device may thereby be reduced.
Optionally, under the condition that the target information includes the judgment basis information, performing a screen capture operation on the current display picture according to the target information to obtain a screen capture image, including:
under the condition that the judgment basis information meets the preset condition, performing screen capture operation on the current display picture to obtain a screen capture image;
wherein, judging the basis information comprises: the method comprises the steps that in the movement process that second electronic equipment approaches to first electronic equipment in a preset mode, sending time of sending infrared signals to the first electronic equipment, receiving time of receiving the infrared signals each time by the first electronic equipment and posture information of the second electronic equipment in the movement process are sent periodically.
Here, since the target information includes the judgment-basis information, it is necessary for the first electronic device to judge whether the second electronic device is close to the first electronic device in a preset manner. And if the criterion information meets the preset condition, the second electronic equipment is considered to be close to the first electronic equipment in a preset mode. Preferably, the first electronic device and the second electronic device are time-synchronized, for example, a time synchronization operation is performed at intervals.
Specifically, the preset conditions include: the first duration is less than the second duration, the posture information indicates that the movement time of the second electronic equipment in the movement process is greater than the target duration, and the movement direction is the preset direction of the second electronic equipment;
the first duration is the duration consumed by the second electronic device for transmitting the infrared signal sent last time in the motion process to the first electronic device; the second duration is duration consumed by the first electronic device for transmitting the infrared signal sent by the second electronic device in the motion process to the first electronic device.
The motion of the second electronic device can be determined based on the acceleration of the second electronic device. For example, the acceleration of the second electronic device starts from zero to a value that is not zero and then changes from the value that is not zero to zero, during which the motion of the second electronic device is performed. The movement time and the movement direction of the second electronic device in the movement process can be calculated through a gyroscope, an acceleration sensor and other devices arranged on the second electronic device. Preferably, the preset conditions further include: and the included angle between the second electronic equipment and the horizontal plane in the motion process is smaller than a preset angle threshold value.
The following describes the relationship between the movement time, the first time period and the second time period and the respective calculation methods by using a specific example. Referring to fig. 4, the second electronic device periodically transmits the infrared signal after starting the movement, transmits the infrared signal for the first time at time t0, transmits the infrared signal for the last time at time tn, and stops the movement. The movement time t = tn-t0. The first electronic device receives the infrared signal for the first time at time T0, that is, receives the infrared signal sent by the second electronic device at time T0. The first electronic device receives the infrared signal for the last time at the time Tn, that is, receives the infrared signal sent by the second electronic device at the time Tn. So the first duration S1= Tn-Tn; the second duration S2= T0-T0. The first time length S1 is less than the second time length S2, which indicates that the distance between the second electronic device and the first electronic device at the time tn is less than the distance between the second electronic device and the first electronic device at the time t0. The second electronic device is proximate to the first electronic device during the movement.
In the embodiment of the application, a preset condition can be set, and screen capture operation is performed under the condition that the judgment basis information meets the preset condition. Through setting the preset conditions, the operation that the first electronic equipment sends the article information to the second electronic equipment due to false triggering can be avoided.
Optionally, the sending the item information of the screenshot image to the second electronic device includes:
identifying a target item in the screenshot image;
and sending the article information of the target article to the second electronic equipment so as to enable the second electronic equipment to display the article information.
In the embodiment of the application, the first electronic equipment has a function of identifying the article information in the image. And directly identifying the screen shot image by the first electronic equipment to obtain the article information. Compared with the method and the device for obtaining the article information through the third-party device, the communication link between the first electronic device and the third-party device is reduced, and the transmission efficiency of sending the article information to the second electronic device is improved.
Optionally, before the step of identifying the target item in the screenshot image, the method further comprises:
determining that the second electronic equipment points to a target area of the first electronic equipment;
sending the item information of the target item to the second electronic device to enable the second electronic device to display the item information, wherein the sending step comprises the following steps:
and sending the item information of the target item located in the target area to the second electronic equipment so as to enable the second electronic equipment to display the item information of the target item located in the target area.
Here, the second electronic device is pointed at a target area of the first electronic device, representing an area where the user wants to acquire the item. The items in the target area are user-specified items. By the method, the article information required by the user can be sent to the second electronic equipment, and the problem that the user is not good in experience because all articles are sent to the second electronic equipment is avoided.
In the embodiment of the application, under the condition that a plurality of articles are arranged in the screen shot image, article information of the article designated by the user can be accurately sent to the second electronic equipment for the user to check.
Optionally, the sending the item information of the screenshot image to the second electronic device includes:
and sending the screenshot image to the target equipment so that the target equipment can identify the target object in the screenshot image, and sending the object information of the target object to the second electronic equipment for the second electronic equipment to display the object information.
Here, it is possible to use a third party device, i.e. a target device, having the function of identifying item information in the image. And obtaining the article information through the target equipment, and then sending the article information to the second electronic equipment through the target equipment. Certainly, under the condition that a plurality of articles are in the screen shot image, the article information of the article specified by the user is accurately sent to the second electronic equipment for the user to check. Preferably, the step of sending the screenshot image to the target device so that the target device recognizes the target object in the screenshot image, and sending the object information of the target object to the second electronic device for the second electronic device to display the object information includes:
determining that the second electronic equipment points to a target area of the first electronic equipment;
and sending the information of the target area and the screen shot image to the target equipment so that the target equipment can identify the target object in the screen shot image, and sending the object information of the target object located in the target area to the second electronic equipment so that the second electronic equipment can display the object information of the target object located in the target area.
In the embodiment of the application, the acquisition of the article information is realized by means of a third-party device with the function of identifying the article information in the image; the requirements on the first electronic device can be reduced without having the function of identifying the article information in the image.
Optionally, the first electronic device is provided with at least two infrared signal receiving devices, and each infrared signal receiving device corresponds to a preset area on the first electronic device; determining that the second electronic device is pointed at the target area of the first electronic device, including:
and calculating the intensity of the infrared signal received by at least two infrared signal receiving devices each time.
Referring to fig. 5, the infrared signal, i.e. infrared light, is an electromagnetic wave, and the electromagnetic wave emitted by the infrared emitter occupies most of the light quantity under the gathering of the light reflecting bowl, and is almost parallel light, forming a main light path portion. The outer ring is light directly emitted by the infrared emitter, is not reflected, is in an emitting shape and exists within a certain angle. It is understood approximately that the light emitted by the infrared emitter is centered on a circular point, and the greater the radius the lower the intensity of the wave.
And determining a target infrared signal receiving device according to the relation among the intensities of the infrared signals, and taking a preset area corresponding to the target infrared signal receiving device as a target area.
In this step, the greater the intensity of the infrared signal is, the closer the infrared signal receiving device receiving the infrared signal is to the area pointed by the second electronic device. The preset area corresponding to the infrared signal receiving device is an area of a preset range around the infrared signal receiving device.
Referring to fig. 6, in a specific example, the first electronic device is a television, the second electronic device is a mobile phone, and the number of the infrared signal receiving devices 601 is 6, which are respectively a first infrared signal receiving device 601, a second infrared signal receiving device 602, a third infrared signal receiving device 603, a fourth infrared signal receiving device 604, a fifth infrared signal receiving device 605, and a sixth infrared signal receiving device 606. When the mobile phone points to the television to send the infrared signal, aiming at the infrared signal sent each time, 6 infrared signal receiving devices can receive one infrared signal. And then, calculating the intensity values of the received infrared signals respectively, and sequencing the calculated intensity values from large to small or from small to large to obtain an intensity value sequence. Because the mobile phone sends the infrared signal for many times, a plurality of intensity value sequences can be obtained. And selecting the infrared signal receiving device corresponding to one or more intensity values with larger intensity values in the target intensity value sequence as a target infrared signal receiving device.
For example, the repetition degree of B1> B2> B3> B4> B5> B6 in the plurality of intensity value sequences is the highest; wherein B1 is an intensity value of the infrared signal received by the first infrared signal receiving device 601; b2 is an intensity value of the infrared signal received by the second infrared signal receiving apparatus 602; b3 is the intensity value of the infrared signal received by the third infrared signal receiving apparatus 603; b4 is the intensity value of the infrared signal received by the fourth infrared signal receiving apparatus 604; b5 is the intensity value of the infrared signal received by the fifth infrared signal receiving apparatus 605; b6 is the intensity value of the infrared signal received by the first infrared signal receiving device 606. The first infrared signal receiving means 601 may be regarded as target infrared signal receiving means; or the first infrared signal receiving device 601 and the second infrared signal receiving device 602 are both used as target infrared signal receiving devices; or the first infrared signal receiving device 601, the second infrared signal receiving device 602 and the third infrared signal receiving device 603 are all used as target infrared signal receiving devices.
In the embodiment of the application, a plurality of infrared signal receiving devices are arranged at different positions of the first electronic device. And judging that the second electronic equipment points to the target area of the first electronic equipment according to the intensity value of the infrared signal received by the infrared signal receiving device.
As shown in fig. 7, for the method for acquiring article information provided in the embodiment of the present application, applied to a second electronic device, the method for acquiring article information includes:
step 701, sending target information to a first electronic device; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode.
Here, the first electronic device and the second electronic device may communicate with each other. For example, the first electronic device and the second electronic device are both connected to the internet and transmit information through the internet. Of course, the first electronic device and the second electronic device may also communicate with each other through a wireless local area network. The first electronic device can be a television, a computer and other devices with networking functions; the second electronic device may be a mobile phone, a tablet, or other terminal device.
Step 702, receiving article information sent by a first electronic device; the article information is that after the first electronic device receives the target information, screen capture operation is carried out on a current display picture to obtain a screen capture image; and obtaining the article information of the screen shot image according to the screen shot image.
In this step, after receiving the article information, the second electronic device can directly display the article information or store the article information in a preset position according to the running state of the second electronic device, and the second electronic device can be accessed by a user according to the requirement.
In the embodiment of the application, the screen capture operation of the first electronic equipment is triggered in a mode that the second electronic equipment approaches the first electronic equipment in a preset mode; and then the first electronic equipment obtains the article information according to the screen shot image, and then sends the article information to the second electronic equipment. In the process, the first electronic equipment can display the program picture as usual without pause, so that the watching experience of a user for watching the program is not influenced. Meanwhile, compared with a mode of taking pictures through a mobile phone and then identifying the pictures to obtain the object information, the method provided by the embodiment of the application is more convenient and faster.
Optionally, the target information includes: the judgment basis information is used for judging that the second electronic equipment approaches the first electronic equipment in a preset mode or the judgment result information is used for judging that the second electronic equipment approaches the first electronic equipment in the preset mode.
In this step, whether the second electronic device is close to the first electronic device in a preset manner may be determined by the first electronic device or the second electronic device. When different electronic devices are used for judgment, the target information contains different contents. When the first electronic equipment judges, the target information comprises judgment basis information used for judging that the second electronic equipment approaches to the first electronic equipment in a preset mode; and therefore, judging according to the judgment basis information and determining that the second electronic equipment approaches to the first electronic equipment in a preset mode. When the second electronic equipment judges, the target information comprises judgment result information for judging that the second electronic equipment approaches to the first electronic equipment in a preset mode; and therefore, according to the judgment result information, the second electronic equipment is directly determined to be close to the first electronic equipment in a preset mode.
Here, the determination reference information includes information that can determine that the second electronic device is close to the first electronic device in a predetermined manner. The judging the result information includes judging that the second electronic device approaches the first electronic device in a preset mode. The judgment result information may be a preset information carrying fixed information. And the second electronic equipment sends the judgment result information to the first electronic equipment under the condition that the second electronic equipment is determined to be close to the first electronic equipment in a preset mode through judgment. The preset mode can be set according to the requirement, and can comprise one or more preset modes.
Optionally, in a case that the target information includes the determination result information, before the step of sending the target information to the first electronic device, the method further includes:
in the movement process that second electronic equipment approaches to first electronic equipment in a preset mode, periodically sending infrared signals to the first electronic equipment, and recording sending time;
receiving the receiving time of the infrared signal returned by the first electronic device;
and obtaining judgment result information according to the receiving time, the sending time and the posture information of the second electronic equipment in the motion process.
Here, since the target information includes the determination result information, the second electronic device is required to determine whether the second electronic device is close to the first electronic device in a preset manner. Whether the second electronic equipment is close to the first electronic equipment in the motion process can be determined according to the receiving time and the sending time; from the pose information it can be determined in which pose form the second electronic device is moving. When the receiving time, the sending time and the posture information meet preset conditions, judgment result information indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode can be obtained. Preferably, the first electronic device and the second electronic device are time-synchronized, for example, a time synchronization operation is performed at intervals.
Specifically, obtaining the information of the determination result according to the receiving time, the sending time, and the posture information of the second electronic device during the motion process includes:
when the first time length is less than the second time length, the posture information indicates that the movement time of the second electronic equipment in the movement process is greater than the target time length, and the movement direction is a preset direction of the second electronic equipment, obtaining judgment result information that the second electronic equipment approaches to the first electronic equipment in a preset mode;
the first duration is the duration consumed by the first electronic device for transmitting the infrared signal sent by the second electronic device for the last time in the movement process; the second duration is duration consumed by the first electronic equipment for transmitting the infrared signal sent by the second electronic equipment in the motion process to the first electronic equipment.
Here, the motion of the second electronic device may be determined based on the acceleration of the second electronic device. For example, the acceleration of the second electronic device starts from zero to a value that is not zero and then changes from the value that is not zero to zero, during which the motion of the second electronic device is performed. The movement time and the movement direction of the second electronic device in the movement process can be calculated through a gyroscope, an acceleration sensor and other devices arranged on the second electronic device. Preferably, the preset conditions further include: the included angle between the second electronic equipment and the horizontal plane in the motion process is smaller than a preset angle threshold value. For the relationship between the movement time, the first duration, and the second duration, and the respective calculation methods, reference may be made to fig. 4 and the corresponding description, which are not repeated herein.
In the embodiment of the application, judgment result information indicating that the second electronic device approaches the first electronic device in a preset mode is obtained through the second electronic device. It is not necessary to determine at the first electronic device whether the second electronic device is approaching the first electronic device in a preset manner. The response time of the first electronic device may thereby be reduced.
Optionally, in a case that the target information includes the judgment basis information, sending the target information to the first electronic device includes:
sending the sending time and the posture information to the first electronic equipment;
the sending time is the sending time of periodically sending the infrared signal to the first electronic equipment in the movement process that the second electronic equipment approaches the first electronic equipment in a preset mode;
the gesture information is gesture information of the second electronic device in a motion process of approaching the first electronic device in a preset mode.
In the embodiment of the application, it is not necessary to determine whether the second electronic device is close to the first electronic device in a preset manner at the second electronic device. Thereby reducing the requirements on the second electronic device.
Optionally, a vibration device is disposed in the second electronic device; after the step of sending the target information to the first electronic device, the method further comprises:
and starting the vibration device to perform vibration prompt.
In this step, the user holding the second electronic device is informed through a vibration prompt mode, the operation is completed, and the use experience of the user can be improved.
Optionally, a display screen is disposed on the second electronic device, and after the step of receiving the item information sent by the first electronic device, the method further includes:
and displaying the article information in the display screen under the condition that the second electronic equipment is in a bright screen state.
In this step, the item information is provided to the user for the user holding the second electronic device to view. If the second electronic device is in the bright screen state, the user may be viewing the second electronic device at this time. At this time, the item may be directly displayed in the screen. For example, but not limited to, it may be presented in the form of a notification in the display screen. Certainly, if the second electronic device is not in the bright screen state, it indicates that the user is not viewing the second electronic device, and the article information may be stored in a preset position of the second electronic device for the user to view according to the requirement.
In the embodiment of the application, under the condition that the second electronic device is in the bright screen state, the article information is directly displayed on the display screen, and a user can conveniently and directly check the article information.
Optionally, displaying the item information in a display screen, including:
displaying item information of a target item located in the target area in the display screen; the target area is an area of the screenshot image, where the second electronic device points to the first electronic device.
Here, the first electronic device may receive item information of all target items in the screenshot image. In the display, item information of a target item of interest to the user may be preferentially displayed. And the target object in the target area in the screenshot image is the target object concerned by the user.
In the embodiment of the application, the item information of the target item concerned by the user is preferentially provided for the user. The method and the device can avoid providing the article information of all target articles for the user at one time, and cause poor user experience for the user.
In the method for acquiring article information provided in the embodiment of the present application, the execution subject may be an apparatus for acquiring article information, or a control module in the apparatus for acquiring article information, configured to execute the method for acquiring article information. In the embodiment of the present application, an apparatus for acquiring article information performs a method for acquiring article information as an example, and an apparatus for acquiring article information provided in the embodiment of the present application is described.
As shown in fig. 8, an embodiment of the present application further provides an apparatus for acquiring article information, which is applied to a first electronic device, and the apparatus includes:
a first receiving module 801, configured to receive target information sent by a second electronic device; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
the screen capture module 802 is configured to perform a screen capture operation on a current display picture according to the target information to obtain a screen capture image;
a first sending module 803, configured to send the item information included in the screenshot image to the second electronic device.
Optionally, the target information includes: the judgment basis information is used for judging that the second electronic equipment approaches the first electronic equipment in a preset mode or the judgment result information is used for judging that the second electronic equipment approaches the first electronic equipment in the preset mode.
Optionally, in a case that the target information includes the determination result information, the apparatus further includes:
the recording module is used for recording the receiving time of the infrared signal sent by the second electronic equipment every time; the method comprises the following steps that the second electronic equipment periodically sends infrared signals to the first electronic equipment in the motion process of approaching the first electronic equipment in a preset mode;
and the second sending module is used for sending the receiving time to the second electronic equipment so that the second electronic equipment can obtain judgment result information according to the receiving time, the sending time for sending the infrared signal and the posture information in the motion process.
Optionally, in a case that the target information includes the judgment basis information, the screen capture module 802 is specifically configured to perform a screen capture operation on the current display picture to obtain a screen capture image in a case that the judgment basis information meets a preset condition;
wherein, judging the basis information comprises: the method comprises the steps that in the moving process that second electronic equipment approaches first electronic equipment in a preset mode, sending time of sending infrared signals to the first electronic equipment, receiving time of receiving the infrared signals by the first electronic equipment each time and posture information of the second electronic equipment in the moving process are periodically sent.
Optionally, the preset conditions include:
the first duration is less than the second duration, the posture information indicates that the movement time of the second electronic equipment in the movement process is greater than the target duration, and the movement direction is the preset direction of the second electronic equipment;
the first duration is the duration consumed by the second electronic device for transmitting the infrared signal sent last time in the motion process to the first electronic device;
the second duration is duration consumed by the first electronic equipment for transmitting the infrared signal sent by the second electronic equipment in the motion process to the first electronic equipment.
Optionally, the first sending module 803 includes:
the identification unit is used for identifying the target object in the screen shot image;
and the sending unit is used for sending the article information of the target article to the second electronic equipment so as to enable the second electronic equipment to display the article information.
Optionally, the apparatus further comprises: the determining module is used for determining that the second electronic equipment points to the target area of the first electronic equipment;
the sending unit is specifically configured to send the item information of the target item located in the target area to the second electronic device, so that the second electronic device displays the item information of the target item located in the target area.
Optionally, the first sending module 803 is specifically configured to send the screenshot image to the target device, so that the target device identifies a target object in the screenshot image, and sends the object information of the target object to the second electronic device, so that the second electronic device displays the object information.
Optionally, the first sending module 803 is specifically configured to determine that the second electronic device points to the target area of the first electronic device; and sending the information of the target area and the screenshot image to the target equipment so that the target equipment can identify the target object in the screenshot image, and sending the object information of the target object located in the target area to the second electronic equipment for the second electronic equipment to display the object information of the target object located in the target area.
Optionally, the first electronic device is provided with at least two infrared signal receiving devices, and each infrared signal receiving device corresponds to a preset area on the first electronic device; determining that the second electronic device is pointed at the target area of the first electronic device, including:
calculating the intensity of the infrared signals received by at least two infrared signal receiving devices each time;
and determining a target infrared signal receiving device according to the relation among the intensities of the infrared signals, and taking a preset area corresponding to the target infrared signal receiving device as a target area.
In the embodiment of the application, the target information which is sent by the second electronic equipment and used for indicating the second electronic equipment to approach the first electronic equipment in a preset mode triggers the screen capture operation of the first electronic equipment; and then, the article information in the screen shot image is obtained according to the screen shot image, and then the article information is sent to the second electronic equipment. In the process, the first electronic equipment can display the program picture as usual without pause, so that the watching experience of a user for watching the program is not influenced. Meanwhile, compared with a mode of taking pictures through a mobile phone and then identifying the pictures to obtain the object information, the method provided by the embodiment of the application is more convenient and faster.
As shown in fig. 9, an embodiment of the present application further provides an apparatus for acquiring article information, which is applied to a second electronic device, and the apparatus includes:
a third sending module 901, configured to send target information to the first electronic device; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
a second receiving module 902, configured to receive item information sent by the first electronic device; the article information is that after the first electronic device receives the target information, screen capture operation is carried out on a current display picture to obtain a screen capture image; and obtaining the article information of the screen shot image according to the screen shot image.
Optionally, the target information includes: the judgment basis information is used for judging that the second electronic equipment approaches the first electronic equipment in a preset mode or the judgment result information is used for judging that the second electronic equipment approaches the first electronic equipment in the preset mode.
Optionally, in a case that the target information includes the determination result information, the apparatus further includes:
the infrared module is used for periodically sending infrared signals to the first electronic equipment and recording sending time in the movement process that the second electronic equipment approaches the first electronic equipment in a preset mode;
the third receiving module is used for receiving the receiving time of the infrared signal returned by the first electronic equipment;
and the judging module is used for obtaining judging result information according to the receiving time, the sending time and the posture information of the second electronic equipment in the motion process.
Optionally, the determining module is specifically configured to obtain determination result information that the second electronic device approaches the first electronic device in a preset manner, when the first duration is shorter than the second duration, the posture information indicates that the movement time of the second electronic device in the movement process is longer than the target duration, and the movement direction is a preset direction of the second electronic device;
the first duration is the duration consumed by the first electronic device for transmitting the infrared signal sent by the second electronic device for the last time in the movement process;
the second duration is duration consumed by the first electronic equipment for transmitting the infrared signal sent by the second electronic equipment in the motion process to the first electronic equipment.
Optionally, in the case that the target information includes judgment basis information, the third sending module 901 is specifically configured to send sending time and posture information to the first electronic device;
the sending time is the sending time of periodically sending the infrared signal to the first electronic equipment in the movement process that the second electronic equipment approaches the first electronic equipment in a preset mode;
the gesture information is gesture information of the second electronic device in a motion process of approaching the first electronic device in a preset mode.
Optionally, a vibration device is disposed in the second electronic device; the device also includes:
and the vibration prompting module is used for starting the vibration device to perform vibration prompting.
Optionally, a display screen is arranged on the second electronic device, and the apparatus further includes:
and the display module is used for displaying the article information in the display screen under the condition that the second electronic equipment is in a bright screen state.
Optionally, the display module is specifically configured to display, in the display screen, item information of the target item located in the target area; the target area is an area of the screenshot image, where the second electronic device points to the first electronic device.
In the embodiment of the application, the screen capture operation of the first electronic equipment is triggered in a mode that the second electronic equipment approaches the first electronic equipment in a preset mode; and then the first electronic equipment obtains the article information according to the screen shot image, and then sends the article information to the second electronic equipment. In the process, the first electronic equipment can display the program picture as usual without pause, so that the watching experience of a user for watching the program is not influenced. Meanwhile, compared with a mode of taking pictures through a mobile phone and then identifying the pictures to obtain the object information, the method provided by the embodiment of the application is more convenient and faster.
The device for acquiring the article information in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The device for acquiring the article information in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The apparatus for acquiring article information applied to the first electronic device in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 3, and the apparatus for acquiring article information applied to the second electronic device can implement each process implemented in the method embodiment of fig. 7, and for avoiding repetition, details are not repeated here.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in this embodiment of the present application, and includes a processor 1001, a memory 1002, and a program or an instruction stored in the memory 1002 and executable on the processor 1001, where the program or the instruction is executed by the processor 1001 to implement each process of the above-mentioned method embodiment for acquiring article information applied to the first electronic device or the second electronic device, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
In the case that the electronic device 1100 is a first electronic device, the network module 1102 is configured to receive target information sent by a second electronic device; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode.
The processor 1110 is configured to perform a screen capture operation on a current display picture according to the target information to obtain a screen capture image;
the network module 1102 is further configured to send the item information included in the screenshot to the second electronic device.
In the embodiment of the application, the target information which is sent by the second electronic equipment and used for indicating the second electronic equipment to approach the first electronic equipment in a preset mode triggers the screen capture operation of the first electronic equipment; and then, the article information in the screen shot image is obtained according to the screen shot image, and then the article information is sent to the second electronic equipment. In the process, the first electronic equipment can display the program picture as usual without pausing, so that the watching experience of a user for watching the program is not influenced. Meanwhile, compared with a mode of taking pictures through a mobile phone and then identifying the pictures to obtain the article information, the method provided by the embodiment of the application is more convenient and faster.
Optionally, the processor 1110 is further configured to record a receiving time of each time the infrared signal sent by the second electronic device is received; the second electronic device periodically sends infrared signals to the first electronic device in a preset mode in the motion process of approaching the first electronic device;
the network module 1102 is further configured to send the receiving time to the second electronic device, so that the second electronic device obtains the information of the determination result according to the receiving time, the sending time for sending the infrared signal, and the posture information in the motion process;
in the case that the electronic device 1100 is a second electronic device, the network module 1102 is configured to send target information to the first electronic device; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
the network module 1102 is further configured to receive item information sent by the first electronic device; the article information is that after the first electronic device receives the target information, screen capture operation is carried out on a current display picture to obtain a screen capture image; and obtaining the article information of the screen shot image according to the screen shot image.
In the embodiment of the application, the screen capture operation of the first electronic equipment is triggered in a mode that the second electronic equipment approaches the first electronic equipment in a preset mode; and then the first electronic equipment obtains the article information according to the screen shot image, and then sends the article information to the second electronic equipment. In the process, the first electronic equipment can display the program picture as usual without pause, so that the watching experience of a user for watching the program is not influenced. Meanwhile, compared with a mode of taking pictures through a mobile phone and then identifying the pictures to obtain the object information, the method provided by the embodiment of the application is more convenient and faster.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1109 may be used for storing software programs and various data including, but not limited to, application programs and an operating system. The processor 1110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communication. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction is implemented in the above-mentioned embodiments of the method for acquiring article information applied to the first electronic device or the second electronic device, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above method embodiment for acquiring article information applied to the first electronic device or the second electronic device, and the same technical effect can be achieved, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (13)

1. A method for acquiring article information is applied to a first electronic device, and is characterized in that the method comprises the following steps:
receiving target information sent by second electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
performing screen capture operation on the current display picture according to the target information to obtain a screen capture image;
sending the item information contained in the screen shot image to the second electronic equipment;
the sending the item information contained in the screen shot image to the second electronic device comprises:
identifying a target item in the screenshot image;
sending the item information of the target item to the second electronic equipment so as to enable the second electronic equipment to display the item information;
prior to the step of identifying a target item in the screenshot image, the method further comprises:
determining that the second electronic device is pointed to a target area of the first electronic device;
the sending the item information of the target item to the second electronic device to enable the second electronic device to display the item information includes:
sending the item information of the target item located in the target area to the second electronic equipment so as to enable the second electronic equipment to display the item information of the target item located in the target area;
the first electronic equipment is provided with at least two infrared signal receiving devices, and each infrared signal receiving device corresponds to a preset area on the first electronic equipment; determining that the second electronic device is pointed at the target area of the first electronic device, including:
calculating the intensity of the infrared signals received by at least two infrared signal receiving devices each time;
and determining a target infrared signal receiving device according to the relation among the intensities of the infrared signals, and taking a preset area corresponding to the target infrared signal receiving device as a target area.
2. The method of claim 1, wherein the target information comprises: judgment basis information for judging that the second electronic device is close to the first electronic device in a preset manner or judgment result information for judging that the second electronic device is close to the first electronic device in a preset manner.
3. The method according to claim 2, wherein in a case where the target information includes the determination result information, before the step of receiving the target information transmitted by the second electronic device, the method further includes:
recording the receiving time of receiving the infrared signal sent by the second electronic equipment every time; the second electronic device periodically sends infrared signals to the first electronic device in a preset mode in the motion process of approaching the first electronic device;
and sending the receiving time to the second electronic equipment so that the second electronic equipment can obtain the judgment result information according to the receiving time, the sending time for sending the infrared signal and the posture information in the motion process.
4. The method according to claim 2, wherein in a case that the target information includes the judgment basis information, performing a screen capture operation on a current display screen according to the target information to obtain a captured image includes:
under the condition that the judgment basis information meets the preset condition, performing screen capture operation on the current display picture to obtain a screen capture image;
wherein the judgment basis information includes: the method comprises the steps that in the movement process that the second electronic equipment approaches to the first electronic equipment in a preset mode, the sending time of sending infrared signals to the first electronic equipment, the receiving time of receiving the infrared signals by the first electronic equipment each time and the posture information of the second electronic equipment in the movement process are periodically sent.
5. The method according to claim 4, wherein the preset conditions include:
the first duration is less than the second duration, the gesture information indicates that the movement time of the second electronic equipment in the movement process is greater than the target duration, and the movement direction is a preset direction of the second electronic equipment;
the first duration is duration consumed by the second electronic device for transmitting the infrared signal sent last time in the motion process to the first electronic device;
the second duration is duration consumed by the first electronic device for transmitting the infrared signal sent by the second electronic device for the first time in the motion process.
6. A method for acquiring article information is applied to a second electronic device, and is characterized in that the method comprises the following steps:
sending the target information to the first electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
receiving article information sent by the first electronic equipment; the article information is that after the first electronic device receives the target information, screen capture operation is carried out on a current display picture to obtain a screen capture image; acquiring article information of the screen shot image according to the screen shot image;
the second electronic device is provided with a display screen, and after the step of receiving the article information sent by the first electronic device, the method further comprises the following steps:
displaying the article information in the display screen under the condition that the second electronic equipment is in a bright screen state;
displaying item information in a display screen, comprising:
displaying item information of a target item located in a target area in a display screen; the target area is an area of the second electronic device pointing to the first electronic device in the screen capture image;
the first electronic equipment is provided with at least two infrared signal receiving devices, and each infrared signal receiving device corresponds to a preset area on the first electronic equipment; determining that the second electronic device is pointed at the target area of the first electronic device, including:
calculating the intensity of the infrared signals received by at least two infrared signal receiving devices each time;
and determining a target infrared signal receiving device according to the relation among the intensities of the infrared signals, and taking a preset area corresponding to the target infrared signal receiving device as a target area.
7. The method of claim 6, wherein the target information comprises: judgment basis information for judging that the second electronic device is close to the first electronic device in a preset manner or judgment result information for judging that the second electronic device is close to the first electronic device in a preset manner.
8. The method according to claim 7, wherein in a case where the target information includes the determination result information, before the step of transmitting the target information to the first electronic device, the method further comprises:
in the movement process that a second electronic device approaches to a first electronic device in a preset mode, periodically sending an infrared signal to the first electronic device, and recording sending time;
receiving the receiving time of the infrared signal returned by the first electronic device;
and obtaining the judgment result information according to the receiving time, the sending time and the posture information of the second electronic equipment in the motion process.
9. The method according to claim 8, wherein obtaining the determination result information according to the receiving time, the sending time, and the posture information of the second electronic device during the movement includes:
when the first time length is less than the second time length, and the posture information indicates that the movement time of the second electronic equipment in the movement process is greater than the target time length, and the movement direction is a preset direction of the second electronic equipment, obtaining judgment result information that the second electronic equipment approaches to the first electronic equipment in a preset mode;
the first duration is duration consumed by the second electronic device for transmitting the infrared signal sent last time in the motion process to the first electronic device;
the second duration is duration consumed by the first electronic device for transmitting the infrared signal sent by the second electronic device for the first time in the motion process.
10. The method of claim 8, wherein in the case that the target information includes the judgment basis information, the sending the target information to the first electronic device includes:
sending the sending time and the posture information to the first electronic equipment;
the sending time is the sending time of periodically sending an infrared signal to the first electronic equipment in the movement process that the second electronic equipment approaches the first electronic equipment in a preset mode;
the gesture information is gesture information of the second electronic device in a motion process of approaching the first electronic device in a preset mode.
11. An apparatus for acquiring article information, applied to a first electronic device, the apparatus comprising:
the first receiving module is used for receiving target information sent by the second electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
the screen capture module is used for carrying out screen capture operation on the current display picture according to the target information to obtain a screen capture image;
the first sending module is used for sending the article information contained in the screen shot image to the second electronic equipment;
a first sending module comprising:
the identification unit is used for identifying the target object in the screen shot image;
the sending unit is used for sending the article information of the target article to the second electronic equipment so as to enable the second electronic equipment to display the article information;
the determining module is used for determining that the second electronic equipment points to the target area of the first electronic equipment;
the sending unit is specifically configured to send the item information of the target item located in the target area to the second electronic device, so that the second electronic device displays the item information of the target item located in the target area;
the first electronic equipment is provided with at least two infrared signal receiving devices, and each infrared signal receiving device corresponds to a preset area on the first electronic equipment; determining that the second electronic device is pointed at the target area of the first electronic device, including:
calculating the intensity of the infrared signals received by at least two infrared signal receiving devices each time;
and determining a target infrared signal receiving device according to the relation among the intensities of the infrared signals, and taking a preset area corresponding to the target infrared signal receiving device as a target area.
12. An apparatus for acquiring article information, applied to a second electronic device, the apparatus comprising:
the third sending module is used for sending the target information to the first electronic equipment; the target information is used for indicating that the second electronic equipment approaches to the first electronic equipment in a preset mode;
the second receiving module is used for receiving the article information sent by the first electronic equipment; the article information is that after the first electronic device receives the target information, screen capture operation is carried out on a current display picture to obtain a screen capture image; acquiring article information of the screen shot image according to the screen shot image;
be provided with the display screen on the second electronic equipment, at second receiving module, after the article information that first electronic equipment sent is received, still include: displaying the article information in the display screen under the condition that the second electronic equipment is in a bright screen state; displaying item information in a display screen, comprising: displaying item information of a target item located in a target area in a display screen; the target area is an area of the second electronic device pointing to the first electronic device in the screen capture image; the first electronic equipment is provided with at least two infrared signal receiving devices, and each infrared signal receiving device corresponds to a preset area on the first electronic equipment; determining that the second electronic device is pointed at the target area of the first electronic device, including: calculating the intensity of the infrared signals received by at least two infrared signal receiving devices each time; and determining a target infrared signal receiving device according to the relation between the intensities of the infrared signals, and taking a preset area corresponding to the target infrared signal receiving device as a target area.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the method of obtaining item information according to any one of claims 1-10.
CN202011193910.8A 2020-10-30 2020-10-30 Method and device for acquiring article information and electronic equipment Active CN112333494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011193910.8A CN112333494B (en) 2020-10-30 2020-10-30 Method and device for acquiring article information and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011193910.8A CN112333494B (en) 2020-10-30 2020-10-30 Method and device for acquiring article information and electronic equipment

Publications (2)

Publication Number Publication Date
CN112333494A CN112333494A (en) 2021-02-05
CN112333494B true CN112333494B (en) 2023-04-11

Family

ID=74297551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011193910.8A Active CN112333494B (en) 2020-10-30 2020-10-30 Method and device for acquiring article information and electronic equipment

Country Status (1)

Country Link
CN (1) CN112333494B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0704856D0 (en) * 2007-03-13 2007-04-18 Wesby Philip B System and method for data acquisition and processing
CN106231355B (en) * 2016-08-03 2019-04-23 深圳Tcl新技术有限公司 The interactive approach and system of TV and mobile terminal
CN107295418A (en) * 2017-07-29 2017-10-24 安徽博威康信息技术有限公司 A kind of merchandise news method for pushing operated based on TV programme and user
CN110708219A (en) * 2018-07-10 2020-01-17 青岛经济技术开发区海尔热水器有限公司 Household appliance control method and household appliance

Also Published As

Publication number Publication date
CN112333494A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN108024019B (en) Message display method and device
CN106375179B (en) Method and device for displaying instant communication message
CN109814786B (en) Image storage method and terminal equipment
CN111901896A (en) Information sharing method, information sharing device, electronic equipment and storage medium
CN108710458B (en) Split screen control method and terminal equipment
CN109739429B (en) Screen switching processing method and mobile terminal equipment
CN108984066B (en) Application icon display method and mobile terminal
CN112929860B (en) Bluetooth connection method and device and electronic equipment
CN111669737A (en) Bluetooth device connection method and device and electronic device
CN110795002A (en) Screenshot method and terminal equipment
CN109144393B (en) Image display method and mobile terminal
CN108769822B (en) Video display method and terminal equipment
CN110753155A (en) Proximity detection method and terminal equipment
CN109947988B (en) Information processing method and device, terminal equipment and server
CN111190515A (en) Shortcut panel operation method, device and readable storage medium
CN109067975B (en) Contact person information management method and terminal equipment
CN110543276B (en) Picture screening method and terminal equipment thereof
CN112929734A (en) Screen projection method and device and electronic equipment
CN112486387A (en) Application program control method and device
CN110647506B (en) Picture deleting method and terminal equipment
CN112333494B (en) Method and device for acquiring article information and electronic equipment
CN110889002A (en) Image display method and electronic equipment
CN111050223A (en) Bullet screen information processing method and electronic equipment
CN108984677B (en) Image splicing method and terminal
CN111026454A (en) Function starting method and terminal equipment

Legal Events

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