CN106973161B - Electronic apparatus and control method - Google Patents
Electronic apparatus and control method Download PDFInfo
- Publication number
- CN106973161B CN106973161B CN201710193136.2A CN201710193136A CN106973161B CN 106973161 B CN106973161 B CN 106973161B CN 201710193136 A CN201710193136 A CN 201710193136A CN 106973161 B CN106973161 B CN 106973161B
- Authority
- CN
- China
- Prior art keywords
- electronic device
- display unit
- identification image
- display
- unit
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/64—Details of telephonic subscriber devices file transfer between terminals
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- General Business, Economics & Management (AREA)
- Business, Economics & Management (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
An electronic device and a control method are disclosed. The electronic device includes: a display unit for displaying the identification image; an input receiving unit for receiving an input operation from a user; a communication unit for performing data transmission with a second electronic device; the connection detection unit is used for detecting whether the electronic equipment is connected with second electronic equipment; and the control unit is used for controlling the communication unit to send the identification image to the second electronic equipment if the connection detection unit detects that the electronic equipment is connected with the second electronic equipment when the input receiving unit receives a first input operation from a user, wherein the first input operation is a preset operation.
Description
Technical Field
The present invention relates to the field of electronic communication technologies, and more particularly, to an electronic device and a control method capable of improving efficiency of scanning an identification image.
Background
When it is necessary to scan an identification image such as a two-dimensional code displayed on a computer to obtain related information (e.g., a download address, etc.), a user is required to perform scanning by using a camera of a mobile phone after opening a third-party application on the mobile phone. Thus, the user's operation is cumbersome, and the photographing effect may be affected by the light.
Disclosure of Invention
In view of the above, it is desirable to provide an electronic apparatus and a control method capable of improving the efficiency of label image scanning.
According to an aspect of the present invention, there is provided an electronic apparatus including: a display unit for displaying the identification image; an input receiving unit for receiving an input operation from a user; a communication unit for performing data transmission with a second electronic device; the connection detection unit is used for detecting whether the electronic equipment is connected with second electronic equipment; and the control unit is used for controlling the communication unit to send the identification image to the second electronic equipment if the connection detection unit detects that the electronic equipment is connected with the second electronic equipment when the input receiving unit receives a first input operation from a user, wherein the first input operation is a preset operation.
Preferably, in the electronic device according to an embodiment of the present invention, the control unit may be further configured to: when the input receiving unit receives a first input operation from a user, wherein the first input operation is a preset operation, if the connection detection unit detects that the first electronic equipment is not connected with the second electronic equipment, the identification image is processed.
Preferably, in the electronic device according to an embodiment of the present invention, the first input operation may be an operation of dragging an identification image displayed on the display unit to a specific position.
Preferably, in the electronic apparatus according to the embodiment of the present invention, the display unit displays an image from the electronic apparatus in a first display area and displays an image from the second electronic apparatus in a second display area, wherein the first input operation is an operation of dragging an identification image displayed in the first display area into the second display area, and the specific position is any position in the second display area.
Preferably, in the electronic device according to an embodiment of the present invention, when the input receiving unit receives a drag operation from a user and in response thereto, an object displayed on the display unit has moved to an edge of a screen, if the input receiving unit further receives the drag operation by the user, the communication unit sends information related to the drag operation to the second electronic device so as to perform a continued display of the object on a second display unit of the second electronic device, wherein the first input operation is an operation of dragging an identification image displayed on the display unit onto the second display unit, and the specific position is any position on the second display unit.
According to another aspect of the present invention, there is provided a control method applied to a first electronic device including a first display unit, the control method including: displaying the identification image; receiving an input operation; when a first input operation from a user is received, wherein the first input operation is a preset operation, and if the first electronic equipment is connected with second electronic equipment, the identification image is sent to the second electronic equipment.
Preferably, the control method according to an embodiment of the present invention may further include: when a first input operation from a user is received, wherein the first input operation is a preset operation, and if the first electronic equipment is not connected with second electronic equipment, the identification image is processed.
Preferably, in the control method according to an embodiment of the present invention, the first input operation may be an operation of dragging an identification image displayed on the first display unit to a specific position.
Preferably, the control method according to an embodiment of the present invention may further include: displaying an image from the first electronic device in a first display area of the first display unit, and displaying an image from the second electronic device in a second display area of the first display unit, wherein the first input operation is an operation of dragging an identification image displayed in the first display area into the second display area, and the specific position is any position in the second display area.
Preferably, in the control method according to an embodiment of the present invention, when a drag operation is received from a user and in response thereto, an object displayed on the first display unit has moved to an edge of a screen, if the drag operation of the user is further received, information related to the drag operation is transmitted to the second electronic device so as to perform a continued display of the object on a second display unit of the second electronic device, wherein the first input operation is an operation of dragging an identification image displayed on the first display unit onto the second display unit, and the specific position is any position on the second display unit.
With the first electronic device, the second electronic device, and the control method according to the embodiments of the present invention, when displaying the identification image on the first electronic device, if the second electronic device connected to the first electronic device desires to scan the identification image to obtain the information contained therein, it is possible to directly transmit the identification image to the second electronic device and perform scan recognition on the second electronic device side only by performing a preset input operation on the first electronic device. Therefore, in the invention, the step of starting the third-party application by the second electronic equipment and using the camera in the second electronic equipment to scan is omitted, so that the operation of the user is simplified, and the problem that the shooting effect of the identification image is possibly influenced by light rays is avoided because the identification image is directly transmitted to the second electronic equipment without using the camera in the second electronic equipment to scan the identification image.
Drawings
Fig. 1 is a functional block diagram illustrating a configuration of a first electronic device according to an embodiment of the present invention;
fig. 2 is a functional block diagram illustrating a configuration of a second electronic device according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a procedure of a control method applied to a first electronic device according to an embodiment of the present invention; and
fig. 4 is a flowchart illustrating a procedure of a control method applied to a second electronic device according to an embodiment of the present invention.
Detailed Description
Various preferred embodiments of the present invention will be described below with reference to the accompanying drawings. The following description with reference to the accompanying drawings is provided to assist in understanding the exemplary embodiments of the invention as defined by the claims and their equivalents. It includes various specific details to assist understanding, but they are to be construed as merely illustrative. Accordingly, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Also, in order to make the description clearer and simpler, a detailed description of functions and configurations well known in the art will be omitted.
First, a first electronic apparatus according to an embodiment of the present invention will be described with reference to fig. 1. For example, the first electronic device here may be a personal computer, a smart television, or the like. As shown in fig. 1, the first electronic device 100 includes: a display unit 101, an input receiving unit 102, a communication unit 103, a connection detection unit 104, and a control unit 105.
The display unit 101 is a device for presenting display content. For example, the display unit 101 may display various forms of content such as images, videos, web pages, icons, and the like. The display unit 101 may be a Liquid Crystal Display (LCD), for example. The present invention is concerned with how the identification image displayed on the first electronic device 100 can be scanned by the second electronic device 200 in a more efficient manner. Therefore, in the present invention, the display unit 101 is also used to display an identification image.
As one of the most widely used embodiments, the identification image may be a two-dimensional code. The two-dimensional code is a new generation bar code technology for recording data symbol information by using black and white rectangular matrixes with specific geometric figures distributed on a plane (in a two-dimensional direction) according to a certain rule, consists of a two-dimensional code matrix figure, a two-dimensional code number and lower explanatory characters, and has the characteristics of large information amount, strong error correction capability, high recognition speed, omnibearing recognition and reading and the like. Information needing to be accessed and used can be coded into the two-dimensional code. Then, the coded information is obtained by reading the two-dimensional code, so that the method can realize fast and convenient web page browsing, image-text downloading, music and video downloading, coupon acquisition, lottery participation and enterprise product information understanding, save the complicated process of URL input and realize one-key Internet surfing. Meanwhile, the method can conveniently identify and store the business card, automatically input the short message, acquire public services (such as weather forecast), and realize various functions of electronic map inquiry positioning, mobile phone reading and the like. The two-dimension code can provide convenient entrance for network browsing, downloading, online video, online shopping, online payment and the like.
The input receiving unit 102 is used to receive an input operation from a user. For example, in the case where the first electronic device 100 is a personal computer, the input receiving unit 102 may be a mouse. Alternatively, for another example, in the case where the first electronic device 100 is a smart television, the input receiving unit 102 may be a remote controller.
The communication unit 103 is used to perform data transmission with the second electronic device 200. Here, the second electronic device is another electronic device completely independent from the first electronic device 100. For example, the second electronic device 200 may be a portable smart device such as a cell phone, a tablet computer, and the like.
The connection detection unit 104 is configured to detect whether the first electronic device 100 is connected to the second electronic device 200.
When the input receiving unit 102 receives a first input operation from a user, which is a preset operation, if the connection detecting unit 104 detects that the first electronic device 100 is connected to the second electronic device 200, the control unit 105 controls the communication unit 103 to transmit the identification image to the second electronic device 200.
Therefore, in the first electronic device according to the present invention, when the identification image is displayed on the first electronic device 100, if the second electronic device 200 connected to the first electronic device 100 desires to scan the identification image to obtain the information contained therein, it is possible to directly transmit the identification image to the second electronic device 200 and perform scan recognition on the second electronic device 200 side only by performing a preset input operation on the first electronic device 100. It can be seen that, in the present invention, the step of starting the third-party application by the second electronic device 200 and using the camera in the second electronic device 200 to perform scanning is omitted, so that the operation of the user is simplified, and since the identification image does not need to be scanned by using the camera in the second electronic device 200 but is directly transmitted to the second electronic device 200, the problem that the shooting effect of the identification image may be affected by light is avoided.
Or, on the other hand, when the input receiving unit 102 receives a first input operation from the user, which is a preset operation, if the connection detecting unit 104 detects that the first electronic device 100 is not connected to the second electronic device 200, the control unit 105 processes the identification image.
Wherein the processing of the identification image by the control unit 105 may specifically comprise the following two cases. For example, when the first electronic device 100 has a two-dimensional code recognition capability, the control unit 105 recognizes the identification image to extract information encoded therein. Alternatively, when the first electronic device 100 does not have the two-dimensional code recognition capability, the control unit 105 saves only the identification image.
In addition, after the communication unit 103 transmits the identification image to the second electronic device 200, the communication unit 103 may be further configured to receive a recognition result of the identification image by the second electronic device 200. Therefore, when the first electronic device 100 does not have the two-dimensional code recognition function, the two-dimensional code recognition result returned by the second electronic device 200 can quickly display a webpage, an online payment, a video and the like on the first electronic device 100 side.
Specifically, as a first example, the first input operation described above may be a mouse right click operation on the identification image. For example, the cursor may be moved to the identification image and a right mouse button may be clicked to select an option sent to the second electronic device.
Of course, the invention is not limited thereto. As a second example, the first input operation described above may also be an operation of dragging the logo image displayed on the display unit to a specific position.
For example, as a first display example of the display unit, an image from the first electronic apparatus 100 and an image from the second electronic apparatus 200 may be simultaneously displayed on the display unit of the first electronic apparatus 100. Specifically, the display unit 101 may be divided into a first display area and a second display area. Wherein an image from the first electronic device is displayed in a first display area and an image from the second electronic device is displayed in a second display area. Of course, the identification image described above is displayed in the first display region.
In this case, the first input operation is an operation of dragging the identification image displayed in the first display region into the second display region, and the specific position is any position in the second display region.
In addition, in this case, the communication unit 103 may be further configured to receive data to update the display interface of the second electronic device 200 from the second electronic device 200, and the display unit 101 may be further configured to update the display in the second display area based on the received data.
Alternatively, as another example of the second display example of the display unit, only the image from the first electronic apparatus 100 may be displayed on the display unit of the first electronic apparatus 100, and the image from the second electronic apparatus 200 may not be displayed.
In this case, for example, as one possible embodiment, the first input operation may be dragging an identification image displayed on the display unit to a specific position on the display unit.
In addition, when the input receiving unit 102 receives a drag operation from a user and in response thereto the object displayed on the display unit 101 has moved to the edge of the screen, if the input receiving unit 102 further receives the drag operation of the user, the communication unit 103 transmits information related to the drag operation to the second electronic device 200 so as to perform continued display of the object on the second display unit of the second electronic device 200. For example, when the user moves the cursor to the edge of the display screen of the first electronic device 100 through the mouse, if the user continues to move the cursor through the mouse, the cursor continues to be moved on the display screen of the second electronic device 200 in response to the movement of the mouse. Thereby, a continuous display on both devices is achieved.
In this case, for example, as another possible embodiment, the first input operation may be an operation of dragging an identification image displayed on the display unit 101 onto the second display unit, and the specific position is any position on the second display unit.
Next, a second electronic apparatus according to an embodiment of the present invention will be described with reference to fig. 2. The second electronic device 200 is connected to the first electronic device 100 described above. As described above, the second electronic device 200 may be a portable smart device such as a mobile phone, a tablet computer, or the like. As shown in fig. 2, the second electronic device 200 includes: a display unit 201, a communication unit 202, and a processing unit 203.
The display unit 201 is used to present display content to a user. For example, the display unit 201 may display various forms of content such as images, videos, web pages, icons, and the like. The display unit 201 may be, for example, a Liquid Crystal Display (LCD).
The communication unit 202 is configured to perform data transmission with the first electronic device 100.
When the communication unit 202 receives the identification image from the first electronic device 100, the processing unit 103 performs scanning on the identification image to acquire information contained therein.
Wherein, after the processing unit 203 acquires the information contained in the identification image, the display unit 201 is further configured to display an interface related to the information. For example, the display unit 201 may quickly display an application download interface, a web page, and the like based on information contained in the two-dimensional code.
Also, as a possible implementation manner, after the processing unit 103 performs scanning on the identification image to acquire the information contained therein, the communication unit 202 may be further configured to send the recognition result of the two-dimensional code back to the first electronic device 100. Therefore, when the first electronic device 100 does not have the two-dimensional code recognition function, the two-dimensional code recognition result returned by the second electronic device 200 can quickly display a webpage, an online payment, a video and the like on the first electronic device 100 side.
In addition, in the case where an image from the second electronic device can be displayed on the display unit of the first electronic device, the communication unit 202 may be further configured to transmit data for updating the display interface of the second electronic device 200 to the first electronic device.
In the above, the first electronic device and the second electronic device according to the embodiment of the present invention have been described in detail with reference to fig. 1 and 2. Next, a control method applied to the first electronic device and the second electronic device according to an embodiment of the present invention will be described with reference to fig. 3 and 4.
First, a control method applied to a first electronic device according to an embodiment of the present invention is described with reference to fig. 3. As described above, the first electronic device may be a personal computer, a smart television, or the like, and the first electronic device includes the first display unit.
As shown in fig. 3, the control method includes the following steps.
First, in step S301, an identification image is displayed. As one of the most widely used embodiments, the identification image may be a two-dimensional code. As described above, the identification image may be a two-dimensional code as one of the most widely used embodiments at present. Information needing to be accessed and used can be coded into the two-dimensional code. Then, the quick operations of obtaining the download link, displaying the webpage and the like can be realized by reading the two-dimensional code to obtain the coded information.
Then, in step 302, an input operation is received.
Next, in step S303, it is determined whether a first input operation is received, where the first input operation is a preset operation.
If it is determined in step S303 that the first input operation is received, the process proceeds to step S304. In step S304, it is determined whether the first electronic device is connected to the second electronic device. If it is determined in step S304 that the first electronic device is connected to the second electronic device, the process proceeds to step S305. In step S305, the identification image is sent to the second electronic device.
On the other hand, if it is determined in step S303 that the first input operation is not received, the determination of step S303 is performed again after waiting for a predetermined time interval.
Therefore, in the control method according to the present invention, when displaying the identification image on the first electronic device, if the second electronic device connected to the first electronic device desires to scan the identification image to obtain the information contained therein, it is only necessary to perform a preset input operation on the first electronic device to directly transmit the identification image to the second electronic device and perform scan recognition on the second electronic device side. Therefore, in the invention, the step of starting the third-party application by the second electronic equipment and using the camera in the second electronic equipment to scan is omitted, so that the operation of the user is simplified, and the problem that the shooting effect of the identification image is possibly influenced by light rays is avoided because the identification image is directly transmitted to the second electronic equipment without using the camera in the second electronic equipment to scan the identification image.
On the other hand, if it is determined in step S304 that the first electronic device is not connected to the second electronic device, the process proceeds to step S306. In step S306, the identification image is processed.
Wherein processing the identification image in step S306 may specifically include the following two cases. For example, when the first electronic device has a two-dimensional code recognition capability, the identification image is recognized to extract information encoded therein at step S306. Alternatively, when the first electronic device does not have the two-dimensional code recognition capability, only the identification image is saved in step S306.
In addition, after the identification image is transmitted to the second electronic device in step S305, the control method may further include the following steps (not shown in the figure): and receiving the identification result of the second electronic equipment to the identification image. Therefore, when the first electronic device does not have the two-dimension code recognition function, the two-dimension code recognition result returned by the second electronic device can quickly display a webpage, online payment, video and the like on the first electronic device.
Specifically, as a first example, the first input operation described above may be a mouse right click operation on the identification image. For example, the cursor may be moved to the identification image and a right mouse button may be clicked to select an option sent to the second electronic device.
Of course, the invention is not limited thereto. As a second example, the first input operation described above may also be an operation of dragging the logo image displayed on the display unit to a specific position.
For example, as a first display example, an image from a first electronic device and an image from a second electronic device may be simultaneously displayed on a display unit of the first electronic device. Specifically, before step S301, the control method may further include the following steps (not shown in the figure): displaying an image from the first electronic device in a first display area of the first display unit, and displaying an image from the second electronic device in a second display area of the first display unit. Of course, the identification image displayed in step S301 described above is displayed in the first display area of the first display unit.
In this case, the first input operation is an operation of dragging the logo image displayed in the first display region into the second display region, and the specific position is any position in the second display region.
In this case, the control method may further include, after step S305, the steps of (not shown in the figure): receiving data from a second electronic device to update a display interface of the second electronic device, and updating a display within the second display area based on the received data.
Alternatively, as another example, as the second display example, only the image from the first electronic device may be displayed on the display unit of the first electronic device, and the image from the second electronic device may not be displayed.
In this case, for example, as one possible embodiment, the first input operation may be dragging the logo image displayed on the first display unit to a specific position on the first display unit.
In addition, when a drag operation from a user is received and an object displayed on the first display unit has moved to an edge of a screen in response thereto, if the drag operation of the user is further received, information related to the drag operation is transmitted to the second electronic device so that a continued display of the object is performed on a second display unit of the second electronic device. For example, when the user moves the cursor to the edge of the display screen of the first electronic device through the mouse, if the user continues to move the cursor through the mouse, the cursor continues to be moved on the display screen of the second electronic device in response to the movement of the mouse. Thereby, a continuous display on both devices is achieved.
In this case, for example, as one possible embodiment, the first input operation may be an operation of dragging the logo image displayed on the first display unit onto the second display unit, and the specific position is any position on the second display unit.
Finally, a control method applied to the second electronic device according to an embodiment of the present invention will be described with reference to fig. 4. As described above, the second electronic device is connected with the first electronic device. As shown in fig. 4, the control method includes the following steps.
First, in step S401, display content is presented to the user.
Then, in step S402, it is determined whether or not the identification image is received.
If it is determined in step S402 that the identification image is received, the process proceeds to step S403. In step S403, scanning is performed on the identification image to acquire information contained therein. Then, in step S404, an interface related to the information is displayed.
If it is determined in step S402 that the identification image is not received, a predetermined period of time is waited to perform the determination of step S402 again.
Also, as a possible implementation, after the step S403 performs scanning on the identification image to acquire the information contained therein, the control method may further include the following steps (not shown in the figure): and sending the identification result of the two-dimensional code back to the first electronic equipment. Therefore, when the first electronic device does not have the two-dimension code recognition function, the two-dimension code recognition result returned by the second electronic device can quickly display a webpage, online payment, video and the like on the first electronic device.
In addition, in a case where an image from a second electronic device can be displayed on the display unit of the first electronic device, the control method may further include the step of transmitting data to update the display interface of the second electronic device to the first electronic device.
Heretofore, the first electronic apparatus and the second electronic apparatus and the control method applied to the first electronic apparatus and the second electronic apparatus according to the embodiment of the present invention have been described in detail with reference to fig. 1 to 4. With the first electronic device, the second electronic device, and the control method according to the embodiments of the present invention, when displaying the identification image on the first electronic device, if the second electronic device connected to the first electronic device desires to scan the identification image to obtain the information contained therein, it is possible to directly transmit the identification image to the second electronic device and perform scan recognition on the second electronic device side only by performing a preset input operation on the first electronic device. Therefore, in the invention, the step of starting the third-party application by the second electronic equipment and using the camera in the second electronic equipment to scan is omitted, so that the operation of the user is simplified, and the problem that the shooting effect of the identification image is possibly influenced by light rays is avoided because the identification image is directly transmitted to the second electronic equipment without using the camera in the second electronic equipment to scan the identification image.
It should be noted that, in the present specification, 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 … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Finally, it should be noted that the series of processes described above includes not only processes performed in time series in the order described herein, but also processes performed in parallel or individually, rather than in time series.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and may also be implemented by software entirely. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments of the present invention.
The present invention has been described in detail, and the principle and embodiments of the present invention are explained herein by using specific examples, which are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. An electronic device, comprising:
a display unit for displaying the identification image;
an input receiving unit for receiving an input operation from a user;
a communication unit for performing data transmission with a second electronic device;
the connection detection unit is used for detecting whether the electronic equipment is connected with second electronic equipment; and
a control unit, configured to, when the input receiving unit receives a first input operation from a user, where the first input operation is a preset operation, control the communication unit to send the identification image to a second electronic device for processing if the connection detecting unit detects that the electronic device is connected to the second electronic device,
wherein the display unit is configured to simultaneously display an image from the electronic device and an image from a second electronic device,
the communication unit is configured to receive a recognition result of the identification image by the second electronic device and/or receive data used for updating a display interface of the second electronic device from the second electronic device.
2. The electronic device of claim 1, wherein the control unit is further configured to:
when the input receiving unit receives a first input operation from a user, wherein the first input operation is a preset operation, and if the connection detection unit detects that the electronic equipment is not connected with second electronic equipment, the identification image is processed.
3. The electronic device according to claim 1, wherein the first input operation is an operation of dragging an identification image displayed on the display unit to a specific position.
4. The electronic device according to claim 3, wherein the display unit displays an image from the electronic device in a first display area and an image from the second electronic device in a second display area,
the first input operation is an operation of dragging the identification image displayed in the first display area into the second display area, and the specific position is any position in the second display area.
5. The electronic device according to claim 3, wherein when the input receiving unit receives a drag operation from a user and in response thereto an object displayed on the display unit has moved to an edge of a screen, if the input receiving unit further receives the drag operation of the user, the communication unit transmits information related to the drag operation to the second electronic device so as to perform continued display of the object on a second display unit of the second electronic device,
the first input operation is an operation of dragging the identification image displayed on the display unit to the second display unit, and the specific position is any position on the second display unit.
6. A control method is applied to first electronic equipment and comprises a first display unit, and the control method comprises the following steps:
displaying the identification image;
receiving an input operation;
when a first input operation from a user is received, wherein the first input operation is a preset operation, if the first electronic equipment is connected with second electronic equipment, the identification image is sent to the second electronic equipment for processing,
wherein the method further comprises: simultaneously displaying an image from the first electronic device and an image from a second electronic device,
wherein, still include:
and receiving a recognition result of the identification image by the second electronic equipment, and/or receiving data used for updating a display interface of the second electronic equipment from the second electronic equipment.
7. The control method according to claim 6, further comprising:
when a first input operation from a user is received, wherein the first input operation is a preset operation, and if the first electronic equipment is not connected with second electronic equipment, the identification image is processed.
8. The control method according to claim 6, wherein the first input operation is an operation of dragging an identification image displayed on the first display unit to a specific position.
9. The control method of claim 8, wherein simultaneously displaying an image from the first electronic device and an image from a second electronic device further comprises:
displaying an image from the first electronic device in a first display area of the first display unit and an image from the second electronic device in a second display area of the first display unit,
the first input operation is an operation of dragging the identification image displayed in the first display area into the second display area, and the specific position is any position in the second display area.
10. The control method according to claim 8, wherein when a drag operation from a user is received and in response thereto an object displayed on the first display unit has moved to an edge of a screen, if the drag operation of the user is further received, information related to the drag operation is transmitted to the second electronic device so as to perform continued display of the object on a second display unit of the second electronic device,
the first input operation is an operation of dragging the identification image displayed on the first display unit to the second display unit, and the specific position is any position on the second display unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710193136.2A CN106973161B (en) | 2017-03-28 | 2017-03-28 | Electronic apparatus and control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710193136.2A CN106973161B (en) | 2017-03-28 | 2017-03-28 | Electronic apparatus and control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106973161A CN106973161A (en) | 2017-07-21 |
| CN106973161B true CN106973161B (en) | 2020-08-25 |
Family
ID=59336098
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710193136.2A Active CN106973161B (en) | 2017-03-28 | 2017-03-28 | Electronic apparatus and control method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106973161B (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102609192A (en) * | 2012-01-17 | 2012-07-25 | 华为终端有限公司 | Mobile terminal operating method by computer and mobile terminal |
| CN103226453A (en) * | 2013-03-22 | 2013-07-31 | 武汉无懈科技有限责任公司 | Method for mapping display and operation of mobile phone screen to computer terminal |
| CN103634677A (en) * | 2012-08-28 | 2014-03-12 | 联想(北京)有限公司 | Information output method and electronic equipment |
| CN104125277A (en) * | 2014-07-21 | 2014-10-29 | 广州金山网络科技有限公司 | File transmission method, system and device |
| CN104200185A (en) * | 2014-08-04 | 2014-12-10 | 惠州Tcl移动通信有限公司 | Method for identifying two-dimensional code and terminal |
| CN104281827A (en) * | 2013-07-02 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Method and device for recognizing two-dimensional code |
| CN104573597A (en) * | 2013-10-10 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Two-dimension code identification method and identification device |
| CN105808089A (en) * | 2014-12-30 | 2016-07-27 | 联想(北京)有限公司 | Data transmission method and first electronic device |
-
2017
- 2017-03-28 CN CN201710193136.2A patent/CN106973161B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102609192A (en) * | 2012-01-17 | 2012-07-25 | 华为终端有限公司 | Mobile terminal operating method by computer and mobile terminal |
| CN103634677A (en) * | 2012-08-28 | 2014-03-12 | 联想(北京)有限公司 | Information output method and electronic equipment |
| CN103226453A (en) * | 2013-03-22 | 2013-07-31 | 武汉无懈科技有限责任公司 | Method for mapping display and operation of mobile phone screen to computer terminal |
| CN104281827A (en) * | 2013-07-02 | 2015-01-14 | 腾讯科技(深圳)有限公司 | Method and device for recognizing two-dimensional code |
| CN104573597A (en) * | 2013-10-10 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Two-dimension code identification method and identification device |
| CN104125277A (en) * | 2014-07-21 | 2014-10-29 | 广州金山网络科技有限公司 | File transmission method, system and device |
| CN104200185A (en) * | 2014-08-04 | 2014-12-10 | 惠州Tcl移动通信有限公司 | Method for identifying two-dimensional code and terminal |
| CN105808089A (en) * | 2014-12-30 | 2016-07-27 | 联想(北京)有限公司 | Data transmission method and first electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106973161A (en) | 2017-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101770529B1 (en) | Two-dimensional code recognition method and apparatus | |
| US8403222B2 (en) | Method of enabling the downloading of content | |
| US20140111542A1 (en) | Platform for recognising text using mobile devices with a built-in device video camera and automatically retrieving associated content based on the recognised text | |
| US9946949B2 (en) | Techniques including URL recognition and applications | |
| US10496696B2 (en) | Search method and apparatus | |
| CN103733635A (en) | Display device and method for providing content using the same | |
| US20110111806A1 (en) | Mobile terminal and control method thereof | |
| JP2010176648A (en) | Information processing system and method by cooperation between portable terminal and signage | |
| US9749322B2 (en) | Information sharing system and information sharing method | |
| US20200050906A1 (en) | Dynamic contextual data capture | |
| US20160170695A1 (en) | Portable communication device, image forming system and method of controlling portable communication device | |
| US20210248658A1 (en) | Dynamic product information during barcode scanning | |
| CN105809162B (en) | Method and device for acquiring WIFI hotspot and picture associated information | |
| CN108667915B (en) | Information pushing system, method and device | |
| CN105260370A (en) | Two-dimension code information obtaining method, device and terminal | |
| EP2595070A1 (en) | Object data search systems and methods | |
| KR101600085B1 (en) | Mobile terminal and image information recognition method | |
| US8646691B2 (en) | Apparatus and method for using machine-readable codes | |
| US8702001B2 (en) | Apparatus and method for acquiring code image in a portable terminal | |
| CN113946456A (en) | Information sharing method and information sharing device | |
| CN106973161B (en) | Electronic apparatus and control method | |
| AU2012205152B2 (en) | A platform for recognising text using mobile devices with a built-in device video camera and automatically retrieving associated content based on the recognised text | |
| CN118503936A (en) | Watermarking method, device and electronic device | |
| CN104660794A (en) | Mobile terminal and parameter processing method thereof | |
| CN113505623B (en) | QR code recognition method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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 |