CN109710794B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN109710794B
CN109710794B CN201811632433.3A CN201811632433A CN109710794B CN 109710794 B CN109710794 B CN 109710794B CN 201811632433 A CN201811632433 A CN 201811632433A CN 109710794 B CN109710794 B CN 109710794B
Authority
CN
China
Prior art keywords
access
address
image
information
electronic device
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
CN201811632433.3A
Other languages
Chinese (zh)
Other versions
CN109710794A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811632433.3A priority Critical patent/CN109710794B/en
Publication of CN109710794A publication Critical patent/CN109710794A/en
Application granted granted Critical
Publication of CN109710794B publication Critical patent/CN109710794B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides an information processing method and electronic equipment, wherein the method comprises the following steps: acquiring an image when the first electronic equipment is in a state of waiting for acquiring an access address; at least analyzing characters in the image to obtain an analysis result; performing access based on the parsing result; and the access result is output, so that the purposes of reducing the burden of the user and improving the user experience without manual input of the user are achieved.

Description

Information processing method and electronic equipment
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information processing method and an electronic device.
Background
Users often have a need to use electronic devices to obtain information, and when the needs are met, the most frequently used mode of the users is to manually input addresses to be accessed or contents to be searched on the electronic devices, and the mode requiring manual input undoubtedly increases user burden and brings inconvenience to the users.
Disclosure of Invention
In view of the above, the present application provides an information processing method and an electronic device to solve the above problem.
In order to achieve the above purpose, the present application provides the following technical solutions:
an information processing method comprising:
acquiring an image when the first electronic equipment is in a state of waiting for acquiring an access address;
at least analyzing characters in the image to obtain an analysis result;
performing access based on the parsing result;
and outputting the access result.
Preferably, the content of the access result at least partially matches the content of the image.
Preferably, the method further comprises the following steps:
and analyzing the picture in the image to obtain an analysis result.
Preferably, the obtaining an image when the first electronic device is in a state of an access address to be obtained includes:
and receiving an operation instruction in a first input area of the first electronic equipment to obtain an image.
Preferably, the first input area includes an address bar area.
Preferably, the parsing result includes page address information and/or page content information, and correspondingly, the performing access based on the parsing result includes:
performing access based on the page address information and/or page content information.
Preferably, the parsing result includes partial page address information and partial page content information, and correspondingly, the performing access based on the parsing result includes:
performing an access based on the partial page address information and the partial page content information.
Preferably, the obtaining the image includes:
starting to shoot a current display page of the second electronic equipment to obtain an image;
or obtaining an image generated by the second electronic device performing screenshot on the current display page.
An electronic device, the electronic device being a first electronic device, comprising:
the first acquisition unit is used for acquiring an image when the first electronic equipment is in a state that an access address is to be acquired;
the second acquisition unit is used for indicating and analyzing the characters in the image to obtain an analysis result;
a first access unit configured to perform access based on the analysis result;
and the first output unit is used for outputting the access result.
An electronic device, the electronic device being a first electronic device, comprising:
a memory for storing a program;
and the processor is used for executing the program, and the program is used for obtaining an image when the first electronic equipment is in a state of waiting for obtaining an access address, at least analyzing characters in the image, obtaining an analysis result, executing access based on the analysis result and outputting an access result.
As can be seen from the foregoing technical solutions, compared with the prior art, an embodiment of the present application provides an information processing method, including obtaining an image when a first electronic device is in a state of an access address to be obtained, analyzing at least characters in the image, obtaining an analysis result, performing access based on the analysis result, and outputting the access result. Therefore, in the application, the first electronic device can automatically execute access based on the obtained image so as to output the access result, manual input of a user is not needed, the burden of the user is reduced, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an information processing method according to a second embodiment of the present application;
fig. 3 is a schematic flowchart of an information processing method according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth 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 only a part of the embodiments of the present application, and not all of the embodiments. 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.
An embodiment of the present application provides an information processing method, as shown in fig. 1, the method includes the following steps:
step 101: acquiring an image when the first electronic equipment is in a state of waiting for acquiring an access address;
the information processing method is applied to the first electronic device, and the first electronic device can be various electronic terminals such as a mobile phone, a tablet computer and a notebook computer.
The state of the access address to be acquired may be a state in which the first electronic device is currently able to receive the access address so that when the access address is received, an access can be performed based on the access address. Generally, the state that the first electronic device is in the state of the access address to be acquired includes a state that the first electronic device displays the access address capable of being input, for example, a state that the first electronic device displays a web page through a browser, an address bar of the web page may or may not display the web page address, and the access address may be received in the state that the web page address is displayed.
And obtaining the image when the first electronic equipment is in a state of waiting for obtaining the access address, wherein the image obtaining mode has multiple modes, such as obtaining the image stored locally in the first electronic equipment. Specifically, the local image library of the first electronic device may be automatically called when the first electronic device is in a state of an access address to be acquired, so as to receive an image selected by a user.
In practical applications, it often happens that when a user browses a web page through the second electronic device, the first electronic device needs to be replaced to continue browsing in order to deal with a certain scene, for example, when the user browses the web page through a computer in a company, and when the user needs to go out in an emergency, the user can replace a mobile phone to continue browsing. When such a situation occurs, in the prior art, the user needs to manually input the address for browsing the web page on the newly replaced first electronic device, which increases the burden of the user and brings inconvenience to the user. To solve this problem, in the present embodiment, an image can also be obtained by:
and starting to photograph the current display page of the second electronic equipment to obtain an image.
Or obtaining an image generated by the second electronic device performing screenshot on the current display page.
Through the mode, the obtained image contains the content of the current display page of the second electronic equipment, so that subsequent operation is performed based on the obtained image without manual input of a user.
For an image generated by the second electronic device performing screenshot on the current display page, the first electronic device may communicate with the second electronic device to obtain the image.
Step 102: at least analyzing characters in the image to obtain an analysis result;
the analyzing of the image can obtain the characters in the image, and specifically, the first electronic device may analyze the image by using an image processing algorithm to obtain the characters.
Step 103: performing access based on the parsing result;
the parsing result may be sent to a server, and the server performs access, where the server may be a server on the first electronic device corresponding to the object for outputting the access result, and if the access result after performing access needs to be output on a browser, the server may be a background server of the browser. Of course, the first electronic device may also perform local access based on the parsing result.
Step 104: and outputting the access result.
In the present application, the content of the access result may completely match the content of the obtained image, or the content of the access result may partially match the content of the obtained image.
Wherein, the perfect match refers to that the content of the access result is completely consistent with the content of the obtained image. For example, if the obtained image (assumed as the first image) is obtained by the first electronic device by starting to photograph the currently displayed page of the second electronic device, and the first electronic device outputs the access result, if another image (assumed as the second image) can be obtained by starting to photograph the currently displayed page of the first electronic device, the content of the first image is consistent with the image content of the second image.
Local matching refers to the fact that the content of the access result is consistent with the content portion of the obtained image. For example, if the obtained image (assumed as a first image) is obtained by the first electronic device by starting to photograph the currently displayed page of the second electronic device, and the first electronic device outputs the access result, if another image (assumed as a second image) can be obtained by starting to photograph the currently displayed page of the first electronic device, the content of the first image is not completely consistent with the image content of the second image, and a part of the image content on the second image is included in the first image.
Therefore, in the embodiment, when the first electronic device is in a state of waiting for obtaining the access address, the image is obtained, at least the characters in the image are analyzed, the analysis result is obtained, the access is executed based on the analysis result, and the access result is output, so that the first electronic device can automatically execute the access based on the obtained image to output the access result, manual input of a user is not needed, the burden of the user is reduced, and the user experience is improved.
An embodiment of the method of the present application provides an information processing method, as shown in fig. 2, the method includes the following steps:
step 201: acquiring an image when the first electronic equipment is in a state of waiting for acquiring an access address;
step 202: at least analyzing characters and pictures in the image to obtain an analysis result;
the picture in the application refers to the content existing in the form of the picture in the obtained image. That is, if the content in the form of characters and the content in the form of pictures are simultaneously contained in the image, not only the characters but also the pictures in the image can be parsed from the image.
For example, the second electronic device has characters and pictures in the currently displayed page, and then the first electronic device obtains an image including the characters and pictures by starting to take a picture of the currently displayed page of the second electronic device.
Step 203: performing access based on the parsing result;
the accuracy of the output access result can be further increased by performing access using the parsing result containing characters and pictures.
Step 204: and outputting the access result.
Therefore, in the embodiment, when the first electronic device is in a state of waiting for obtaining the access address, the image is obtained, at least the characters and the pictures in the image are analyzed, the analysis result is obtained, the access is executed based on the analysis result, and the access result is output, so that the first electronic device can automatically execute the access based on the obtained image to output the access result, the manual input of a user is not needed, the burden of the user is reduced, and the user experience is improved.
An embodiment of the method of the present application provides an information processing method, as shown in fig. 3, the method includes the following steps:
step 301: receiving an operation instruction in a first input area of first electronic equipment to obtain an image;
step 301 is a specific implementation manner of obtaining an image when the first electronic device is in a state of waiting for obtaining an access address.
In the embodiment, the first electronic device is displayed with a first input area, and when a user operates the first input area, the first electronic device is automatically triggered to obtain an image. Specifically, when a user operates in the first input region, the first electronic device may be automatically triggered to start the photographing function, so as to obtain an image for photographing a current display page of the second electronic device. Or when the user operates in the first input area, the first electronic device may be automatically triggered to communicate with the second electronic device, so as to receive an image sent by the second electronic device and generated by the second electronic device performing screenshot on a currently displayed page.
Specifically, the first electronic device may send a screenshot instruction to the second electronic device when communicating with the second electronic device, so that the second electronic device performs screenshot on a current display page based on the screenshot instruction to generate an image, and sends the generated image to the first electronic device. Or the second electronic equipment automatically generates a screenshot instruction when communication with the first electronic equipment is detected, so that screenshot is performed on a current display page to generate an image, and the generated image is sent to the first electronic equipment.
It should be noted that, the first input area in the present application may include an address bar area, which is an area capable of receiving an access address, such as an address bar of a browser.
The first input area in the present application may further include a search bar area, which is an area capable of receiving a search keyword, such as a search bar of a browser.
For example, the first electronic device displays a web page through a browser, the web page includes an address bar area and a search bar area, and automatically obtains an image when detecting that a user operates in the address bar area, or automatically obtains an image when detecting that the user operates in the search bar area.
It should be noted that, in order to distinguish the existing requirement of the user to operate on the browser of the first electronic device from the present application, in the present application, the operation instruction in the first input area for starting to obtain the image may be distinguished from the existing operation instruction. As in the prior art, the access address can be entered when the user clicks on the address bar of the browser, whereas in the present application, the image can be automatically obtained when the user double-clicks on the address bar of the browser. Alternatively, in the present application, the operation instruction at the first input area for starting to obtain the image may be performed when the first electronic device is in the designated mode. For example, when the browser of the first electronic device is set to the auto-acquire image mode, an image may be automatically acquired when the user clicks an address bar or a search bar of the browser.
Step 302: at least analyzing characters in the image to obtain an analysis result;
step 303: performing access based on the parsing result;
step 304: and outputting the access result.
Therefore, in the embodiment, the operation instruction in the first input area of the first electronic device is received, the image is obtained, at least the characters and the pictures in the image are analyzed, the analysis result is obtained, the access is executed based on the analysis result, and the access result is output, so that the first electronic device can automatically execute the access based on the obtained image to output the access result, the manual input of a user is not needed, the burden of the user is reduced, and the user experience is improved.
In a fourth embodiment of the method of the present application, the parsing result includes page address information and/or page content information, and correspondingly, the performing access based on the parsing result includes: performing access based on the page address information and/or page content information.
The page address information comprises complete page address information or partial page address information. The page content information includes full page content information or partial page content information.
When the resolution result includes complete page address information, then said performing an access based on the resolution result includes: an access is performed based on the full page address information. Specifically, the access may be performed with the complete page address information as a target access address.
When the parsing result includes complete page content information, then said performing access based on the parsing result includes: access is performed based on the full page content information. Specifically, the found access address containing the complete page content may be used as a target access address to perform access.
When the resolution result includes full page address information and full page content, then performing access based on the resolution result includes: performing an access based on the full page address information and the full page content information. Specifically, the access address matched with the address information of the complete page in the at least one searched access address containing the content information of the complete page may be used as the target access address to perform the access.
When the parsing result includes complete page address information and partial page content information, then said performing access based on said parsing result includes: access is performed based on the full page address information and the partial page content information. Specifically, the access address matched with the complete page address information in the at least one searched access address containing the partial page content information may be a target access address, so as to execute the access.
When the parsing result includes partial page address information and full page content information, then said performing access based on said parsing result includes: access is performed based on the partial page address information and the full page content information. Specifically, the access may be performed by using, as the target access address, an access address that matches the complete page content information among the multiple access addresses that include the partial page address information.
When the parsing result includes partial page address information and partial page content information, correspondingly, the performing access based on the parsing result includes: performing an access based on the partial page address information and the partial page content information. Specifically, the access may be performed by using, as the target access address, an access address that matches the partial page content information among the plurality of access addresses that include the partial page address information. Or at least one access address containing partial page content information can be searched, and then the access address matched with the partial page address information is determined as a target access address to execute access.
It should be noted that the target access address may be an address displayed in the address bar area when the browser on the first electronic device outputs the access result.
Corresponding to the above one method embodiment, the present application further provides an electronic device, and the following describes in detail through several device embodiments.
As shown in fig. 4, a first embodiment of the apparatus of the present application provides an electronic device, including: a first acquisition unit 401, a second acquisition unit 402, a first access unit 403, and a first output unit 404; the electronic device is a first electronic device to be distinguished from a second electronic device proposed later.
Specifically, the method comprises the following steps:
a first obtaining unit 401, configured to obtain an image when the first electronic device is in a state where an access address is to be obtained;
the state of the access address to be acquired may be a state in which the first electronic device is currently able to receive the access address so that when the access address is received, an access can be performed based on the access address. Generally, the state that the first electronic device is in the state of the access address to be acquired includes a state that the first electronic device displays the access address capable of being input, for example, a state that the first electronic device displays a web page through a browser, an address bar of the web page may or may not display the web page address, and the access address may be received in the state that the web page address is displayed.
The first obtaining unit 401 may specifically obtain an image locally stored by the first electronic device. In particular, the method comprises the following steps of,
the first obtaining unit 401 may automatically call the first electronic device local image library in a state where the first electronic device is in a state of an access address to be obtained, so as to receive an image selected by a user.
In practical applications, it often happens that when a user browses a web page through the second electronic device, the first electronic device needs to be replaced to continue browsing in order to deal with a certain scene, for example, when the user browses the web page through a computer in a company, and when the user needs to go out in an emergency, the user can replace a mobile phone to continue browsing. When such a situation occurs, in the prior art, the user needs to manually input the address for browsing the web page on the newly replaced electronic device, which increases the burden of the user and brings inconvenience to the user. To solve this problem, in the present embodiment, the obtaining of the image by the first obtaining unit 401 may include: starting to shoot a current display page of the second electronic equipment to obtain an image; or obtaining an image generated by the second electronic device performing screenshot on the current display page.
Through the mode, the obtained image contains the content of the current display page of the second electronic equipment, so that subsequent operation is performed based on the obtained image without manual input of a user.
For an image generated by the second electronic device performing screenshot on the current display page, the first obtaining unit may be configured to obtain the image by communicating with the second electronic device.
A second obtaining unit 402, configured to at least analyze characters in the image to obtain an analysis result;
specifically, the second obtaining unit may analyze the image by using an image processing algorithm to obtain the character.
A first accessing unit 403, configured to perform access based on the parsing result;
the first accessing unit 403 may send the parsing result to a server, where the server performs accessing, where the server may be a server on the first electronic device corresponding to the object for outputting the access result, and if the access result after performing accessing needs to be output on a browser, the server may be a background server of the browser. Of course, the first accessing unit 403 may also perform local access based on the parsing result.
A first output unit 404, configured to output the access result.
In the present application, the content of the access result may be perfectly matched with the content of the obtained image. Alternatively, the content of the access result locally matches the content of the obtained image.
Wherein, the perfect match refers to that the content of the access result is completely consistent with the content of the obtained image. For example, if the obtained image (assumed as the first image) is obtained by the first electronic device by starting to photograph the currently displayed page of the second electronic device, and the first output unit outputs the access result, if another image (assumed as the second image) can be obtained by starting to photograph the currently displayed page of the first electronic device, the content of the first image is consistent with the image content of the second image.
Local matching refers to the fact that the content of the access result is consistent with the content portion of the obtained image. For example, if the obtained image (assumed to be a first image) is obtained by the first electronic device by starting to photograph the currently displayed page of the second electronic device, and the first output unit outputs the access result, if another image (assumed to be a second image) can be obtained by starting to photograph the currently displayed page of the first electronic device, the content of the first image does not completely coincide with the image content of the second image, and the partial image content on the second image is included in the first image.
Therefore, in the embodiment, when the first electronic device is in a state of waiting for obtaining the access address, the image is obtained, at least the characters in the image are analyzed, the analysis result is obtained, the access is executed based on the analysis result, and the access result is output, so that the first electronic device can automatically execute the access based on the obtained image to output the access result, manual input of a user is not needed, the burden of the user is reduced, and the user experience is improved.
In an embodiment of the apparatus of the present application, the first electronic device further includes a second obtaining unit, configured to analyze the picture in the image, and obtain an analysis result.
The picture in the application refers to the content existing in the form of the picture in the obtained image. That is, if the content in the form of characters and the content in the form of pictures are simultaneously contained in the image, not only the characters but also the pictures in the image can be parsed from the image.
In a third embodiment of the apparatus of the present application, the first obtaining unit includes a first obtaining module, configured to receive an operation instruction in a first input area of the first electronic device, and obtain an image.
In this embodiment, the first electronic device displays a first input area, and when a user operates the first input area, the first electronic device automatically triggers the first obtaining module to obtain an image. Specifically, when the user operates in the first input area, the first obtaining module is automatically triggered to start the photographing function, so that an image for photographing the current display page of the second electronic device is obtained. Or when the user operates in the first input area, the first obtaining module is automatically triggered to communicate with the second electronic device, so that an image which is sent by the second electronic device and is generated by the second electronic device by performing screen capture on a current display page is received.
Specifically, the first obtaining module may send a screenshot instruction to the second electronic device when communicating with the second electronic device, so that the second electronic device performs screenshot on a current display page based on the screenshot instruction to generate an image, and sends the generated image to the first electronic device. Or the second electronic equipment automatically generates a screenshot instruction when communication with the first electronic equipment is detected, so that screenshot is performed on a current display page to generate an image, and the generated image is sent to the first electronic equipment.
It should be noted that, the first input area in the present application may include an address bar area, which is an area capable of receiving an access address, such as an address bar of a browser.
The first input area in the present application may further include a search bar area, which is an area capable of receiving a search keyword, such as a search bar of a browser.
In a fourth embodiment of the apparatus of the present application, the parsing result includes page address information and/or page content information, and correspondingly, the performing access based on the parsing result includes:
performing access based on the page address information and/or page content information.
The page address information comprises complete page address information or partial page address information. The page content information includes full page content information or partial page content information.
When the resolution result includes complete page address information, then said performing an access based on the resolution result includes: an access is performed based on the full page address information. Specifically, the access may be performed with the complete page address information as a target access address.
When the parsing result includes complete page content information, then said performing access based on the parsing result includes: access is performed based on the full page content information. Specifically, the found access address containing the complete page content may be used as a target access address to perform access.
When the resolution result includes full page address information and full page content, then performing access based on the resolution result includes: performing an access based on the full page address information and the full page content information. Specifically, the access address matched with the address information of the complete page in the at least one searched access address containing the content information of the complete page may be used as the target access address to perform the access.
When the parsing result includes complete page address information and partial page content information, then said performing access based on said parsing result includes: access is performed based on the full page address information and the partial page content information. Specifically, the access address matched with the complete page address information in the at least one searched access address containing the partial page content information may be a target access address, so as to execute the access.
When the parsing result includes partial page address information and full page content information, then said performing access based on said parsing result includes: access is performed based on the partial page address information and the full page content information. Specifically, the access may be performed by using, as the target access address, an access address that matches the complete page content information among the multiple access addresses that include the partial page address information.
When the parsing result includes partial page address information and partial page content information, correspondingly, the performing access based on the parsing result includes: performing an access based on the partial page address information and the partial page content information. Specifically, the access may be performed by using, as the target access address, an access address that matches the partial page content information among the plurality of access addresses that include the partial page address information. Or at least one access address containing partial page content information can be searched, and then the access address matched with the partial page address information is determined as a target access address to execute access.
It should be noted that the target access address may be an address displayed in the address bar area when the browser on the first electronic device outputs the access result.
An electronic device is further provided in the fifth embodiment of the apparatus of the present application, as shown in fig. 5, including a memory 100 and a processor 200; the electronic device is a first electronic device to be distinguished from a second electronic device proposed later. Specifically, the method comprises the following steps:
a memory 100 for storing a program;
the processor 200 is configured to execute the program, where the program is configured to obtain an image when the first electronic device is in a state of waiting for obtaining an access address, analyze at least characters in the image, obtain an analysis result, perform access based on the analysis result, and output an access result.
The state of the access address to be acquired may be a state in which the first electronic device is currently able to receive the access address so that when the access address is received, an access can be performed based on the access address. Generally, the state that the first electronic device is in the state of the access address to be acquired includes a state that the first electronic device displays the access address capable of being input, for example, a state that the first electronic device displays a web page through a browser, an address bar of the web page may or may not display the web page address, and the access address may be received in the state that the web page address is displayed.
The processor may automatically call the local image library of the first electronic device when the first electronic device is in a state of an access address to be acquired, so as to receive an image selected by a user.
In practical applications, it often happens that when a user browses a web page through the second electronic device, the first electronic device needs to be replaced to continue browsing in order to deal with a certain scene, for example, when the user browses the web page through a computer in a company, and when the user needs to go out in an emergency, the user can replace a mobile phone to continue browsing. When such a situation occurs, in the prior art, the user needs to manually input the address for browsing the web page on the newly replaced first electronic device, which increases the burden of the user and brings inconvenience to the user. To solve this problem, in the present embodiment, the processor obtaining the image may include:
and starting to photograph the current display page of the second electronic equipment to obtain an image.
Or obtaining an image generated by the second electronic device performing screenshot on the current display page.
Through the mode, the obtained image contains the content of the current display page of the second electronic equipment, so that subsequent operation is performed based on the obtained image without manual input of a user.
For an image generated by the second electronic device performing screenshot on the current display page, the first electronic device may communicate with the second electronic device to obtain the image.
Wherein the processor may employ an image processing algorithm to parse the image to obtain the characters.
The processor may send the parsing result to a server, and the server performs the access operation, where the server may be a server on the first electronic device corresponding to the object for outputting the access result, and if the access result after performing the access needs to be output on the browser, the server may be a background server of the browser. Of course, the first electronic device may also perform local access based on the parsing result.
In the present application, the content of the access result may be perfectly matched with the content of the obtained image. Alternatively, the content of the access result locally matches the content of the obtained image.
Wherein, the perfect match refers to that the content of the access result is completely consistent with the content of the obtained image. For example, if the obtained image (assumed as the first image) is obtained by the processor by starting to photograph the currently displayed page of the second electronic device, and the first electronic device outputs the access result, if another image (assumed as the second image) can be obtained by starting to photograph the currently displayed page of the first electronic device, the content of the first image is consistent with the image content of the second image.
Local matching refers to the fact that the content of the access result is consistent with the content portion of the obtained image. For example, if the obtained image (assumed as the first image) is obtained by the processor by starting to photograph the currently displayed page of the second electronic device, and the processor outputs the access result, if another image (assumed as the second image) can be obtained by starting to photograph the currently displayed page of the first electronic device, the content of the first image is not completely consistent with the image content of the second image, and the partial image content on the second image is included in the first image.
Therefore, in the embodiment, when the first electronic device is in a state of waiting for obtaining the access address, the image is obtained, at least the characters in the image are analyzed, the analysis result is obtained, the access is executed based on the analysis result, and the access result is output, so that the first electronic device can automatically execute the access based on the obtained image to output the access result, manual input of a user is not needed, the burden of the user is reduced, and the user experience is improved.
In an embodiment of the apparatus of the present application, the processor is further configured to parse a picture in the image to obtain a parsing result.
The picture in the application refers to the content existing in the form of the picture in the obtained image. That is, if the content in the form of characters and the content in the form of pictures are simultaneously contained in the image, not only the characters but also the pictures in the image can be parsed from the image.
For example, the second electronic device has characters and pictures in the currently displayed page, and then the first electronic device obtains an image including the characters and pictures by starting to take a picture of the currently displayed page of the second electronic device.
The accuracy of the output access result can be further increased by performing access using the parsing result containing characters and pictures.
In a seventh embodiment of the apparatus of the present application, a processor obtains an image when a first electronic device is in a state of an access address to be obtained, where the obtaining includes: and receiving an operation instruction in a first input area of the first electronic equipment to obtain an image.
In the embodiment, the first electronic device is provided with a first input area, and the processor is automatically triggered to obtain the image when the user operates the first input area. Specifically, when the user operates in the first input area, the processor is automatically triggered to start the photographing function, so that an image for photographing the current display page of the second electronic device is obtained. Or when the user operates in the first input area, the processor is automatically triggered to control the first electronic device to communicate with the second electronic device, so that an image which is sent by the second electronic device and generated by the second electronic device performing screenshot on a current display page is received.
Specifically, the processor may send a screenshot instruction to the second electronic device when the first electronic device is in communication with the second electronic device, so that the second electronic device performs screenshot on a current display page based on the screenshot instruction to generate an image, and sends the generated image to the first electronic device. Or the second electronic equipment automatically generates a screenshot instruction when communication with the first electronic equipment is detected, so that screenshot is performed on a current display page to generate an image, and the generated image is sent to the first electronic equipment.
It should be noted that, the first input area in the present application may include an address bar area, which is an area capable of receiving an access address, such as an address bar of a browser.
The first input area in the present application may further include a search bar area, which is an area capable of receiving a search keyword, such as a search bar of a browser.
For example, the first electronic device displays a web page through a browser, the web page includes an address bar area and a search bar area, and automatically obtains an image when detecting that a user operates in the address bar area, or automatically obtains an image when detecting that the user operates in the search bar area.
It should be noted that, in order to distinguish the existing requirement of the user to operate on the browser of the first electronic device from the present application, in the present application, the operation instruction in the first input area for starting to obtain the image may be distinguished from the existing operation instruction. As in the prior art, the access address can be entered when the user clicks on the address bar of the browser, whereas in the present application, the image can be automatically obtained when the user double-clicks on the address bar of the browser. Alternatively, in itself, the operation instruction at the first input area for starting to obtain the image may be performed while the first electronic device is in the designation mode. For example, when the browser of the first electronic device is set to the auto-acquire image mode, an image may be automatically acquired when the user clicks an address bar of the browser.
In an eighth embodiment of the method of the present application, the parsing result includes page address information and/or page content information, and correspondingly, the performing access based on the parsing result includes: performing access based on the page address information and/or page content information.
The page address information comprises complete page address information or partial page address information. The page content information includes full page content information or partial page content information.
When the resolution result includes complete page address information, then said performing an access based on the resolution result includes: an access is performed based on the full page address information. Specifically, the access may be performed with the complete page address information as a target access address.
When the parsing result includes complete page content information, then said performing access based on the parsing result includes: access is performed based on the full page content information. Specifically, the found access address including the content information of the complete page may be used as a target access address to perform access.
When the resolution result includes full page address information and full page content, then performing access based on the resolution result includes: performing an access based on the full page address information and the full page content information. Specifically, the access address matched with the address information of the complete page in the at least one searched access address containing the content information of the complete page may be used as the target access address to perform the access.
When the parsing result includes complete page address information and partial page content information, then said performing access based on said parsing result includes: access is performed based on the full page address information and the partial page content information. Specifically, the access address matched with the complete page address information in the at least one searched access address containing the partial page content information may be a target access address, so as to execute the access.
When the parsing result includes partial page address information and full page content information, then said performing access based on said parsing result includes: access is performed based on the partial page address information and the full page content information. Specifically, the access may be performed by using, as the target access address, an access address that matches the complete page content information among the multiple access addresses that include the partial page address information.
When the parsing result includes partial page address information and partial page content information, correspondingly, the performing access based on the parsing result includes: performing an access based on the partial page address information and the partial page content information. Specifically, the access may be performed by using, as the target access address, an access address that matches the partial page content information among the plurality of access addresses that include the partial page address information. Or at least one access address containing partial page content information can be searched, and then the access address matched with the partial page address information is determined as a target access address to execute access.
It should be noted that the target access address may be an address displayed in the address bar area when the browser on the first electronic device outputs the access result.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. An information processing method comprising:
acquiring an image when the first electronic equipment is in a state of waiting for acquiring an access address;
at least analyzing characters in the image to obtain an analysis result;
performing access based on the parsing result;
outputting an access result;
wherein, when the parsing result includes complete page address information and complete page content information, the performing access based on the parsing result includes: taking the access address matched with the complete page address information in the at least one searched access address containing the complete page content information as a target access address to execute access;
when the parsing result includes complete page address information and partial page content information, the performing access based on the parsing result includes: taking an access address matched with the complete page address information in at least one searched access address containing partial page content information as a target access address to execute access;
when the parsing result includes partial page address information and complete page content information, the performing access based on the parsing result includes: taking an access address matched with the complete page content information in the searched multiple access addresses containing partial page address information as a target access address to execute access;
when the parsing result includes partial page address information and partial page content information, the performing access based on the parsing result includes: and performing access by taking an access address matched with the partial page content information in the searched multiple access addresses containing the partial page address information as a target access address, or searching at least one access address containing the partial page content information, and determining the access address matched with the partial page address information as the target access address.
2. The method of claim 1, wherein the content of the access result at least partially matches the content of the image.
3. The method of claim 1, further comprising:
and analyzing the picture in the image to obtain an analysis result.
4. The method of claim 1, wherein obtaining the image while the first electronic device is in the state of the access address to be obtained comprises:
and receiving an operation instruction in a first input area of the first electronic equipment to obtain an image.
5. The method of claim 4, wherein the first input area comprises an address bar area.
6. The method of claim 1, wherein the obtaining an image comprises:
starting to shoot a current display page of the second electronic equipment to obtain an image;
or obtaining an image generated by the second electronic device performing screenshot on the current display page.
7. An electronic device, wherein the electronic device is a first electronic device, comprising:
the first acquisition unit is used for acquiring an image when the first electronic equipment is in a state that an access address is to be acquired;
the second acquisition unit is used for indicating and analyzing the characters in the image to obtain an analysis result;
a first access unit configured to perform access based on the analysis result;
a first output unit for outputting an access result;
wherein, when the parsing result includes complete page address information and complete page content information, the first accessing unit performs access based on the parsing result, including: taking the access address matched with the complete page address information in the at least one searched access address containing the complete page content information as a target access address to execute access;
when the parsing result includes complete page address information and partial page content information, the performing access based on the first access unit parsing result includes: taking an access address matched with the complete page address information in at least one searched access address containing partial page content information as a target access address to execute access;
when the parsing result includes partial page address information and complete page content information, the first access unit performs access based on the parsing result, including: taking an access address matched with the complete page content information in the searched multiple access addresses containing partial page address information as a target access address to execute access;
when the analysis result includes partial page address information and partial page content information, the first access unit performs access based on the analysis result, including: and performing access by taking an access address matched with the partial page content information in the searched multiple access addresses containing the partial page address information as a target access address, or searching at least one access address containing the partial page content information, and determining the access address matched with the partial page address information as the target access address.
8. An electronic device, wherein the electronic device is a first electronic device, comprising:
a memory for storing a program;
the processor is used for executing the program, the program is used for obtaining an image when the first electronic equipment is in a state of waiting for obtaining an access address, at least analyzing characters in the image to obtain an analysis result, executing access based on the analysis result and outputting an access result;
wherein, when the parsing result includes complete page address information and complete page content information, the performing access based on the parsing result includes: taking the access address matched with the complete page address information in the at least one searched access address containing the complete page content information as a target access address to execute access;
when the parsing result includes complete page address information and partial page content information, the performing access based on the parsing result includes: taking an access address matched with the complete page address information in at least one searched access address containing partial page content information as a target access address to execute access;
when the parsing result includes partial page address information and complete page content information, the performing access based on the parsing result includes: taking an access address matched with the complete page content information in the searched multiple access addresses containing partial page address information as a target access address to execute access;
when the parsing result includes partial page address information and partial page content information, the performing access based on the parsing result includes: and performing access by taking an access address matched with the partial page content information in the searched multiple access addresses containing the partial page address information as a target access address, or searching at least one access address containing the partial page content information, and determining the access address matched with the partial page address information as the target access address.
CN201811632433.3A 2018-12-29 2018-12-29 Information processing method and electronic equipment Active CN109710794B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811632433.3A CN109710794B (en) 2018-12-29 2018-12-29 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811632433.3A CN109710794B (en) 2018-12-29 2018-12-29 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN109710794A CN109710794A (en) 2019-05-03
CN109710794B true CN109710794B (en) 2021-01-15

Family

ID=66258200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811632433.3A Active CN109710794B (en) 2018-12-29 2018-12-29 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN109710794B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700646A (en) * 2004-02-29 2005-11-23 豪威科技有限公司 Utilizing a scannable URL (universal resource locator)
CN103475676A (en) * 2012-06-06 2013-12-25 百度在线网络技术(北京)有限公司 Method, device, equipment and system used for providing page body information
CN103620588A (en) * 2011-06-16 2014-03-05 微软公司 Identifying matching applications based on browsing activity

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305435B2 (en) * 2003-08-25 2007-12-04 Nokia Corporation Internet access via smartphone camera
CN101976271A (en) * 2010-11-19 2011-02-16 上海合合信息科技发展有限公司 Method for automatically extracting website and opening web page
CN103514220B (en) * 2012-06-29 2017-09-26 深圳市快播科技有限公司 Video pictures search method based on multi-screen interaction scene, apparatus and system
CN104077582A (en) * 2013-03-25 2014-10-01 腾讯科技(深圳)有限公司 Internet accessing method, Internet accessing device and mobile terminal
CN105786930B (en) * 2014-12-26 2019-11-26 北京奇虎科技有限公司 Based on the searching method and device for touching interaction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700646A (en) * 2004-02-29 2005-11-23 豪威科技有限公司 Utilizing a scannable URL (universal resource locator)
CN103620588A (en) * 2011-06-16 2014-03-05 微软公司 Identifying matching applications based on browsing activity
CN103475676A (en) * 2012-06-06 2013-12-25 百度在线网络技术(北京)有限公司 Method, device, equipment and system used for providing page body information

Also Published As

Publication number Publication date
CN109710794A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN108319489B (en) Application page starting method and device, storage medium and electronic equipment
US9535651B2 (en) Co-browsing systems and methods
RU2631770C2 (en) Method and device for return to previously viewed page control
US10163048B2 (en) Method and device for page synchronization
CN112099704A (en) Information display method and device, electronic equipment and readable storage medium
CN117390330A (en) Webpage access method and device
CN109656444B (en) List positioning method, device, equipment and storage medium
US20170169122A1 (en) Webpage display method, mobile terminal, intelligent terminal, program and storage medium
TW201426356A (en) System and method of searching according to video contents
CN109740014B (en) Screenshot management method, terminal device and storage medium
CN111813305A (en) Application program starting method and device
CN106897291B (en) Searching method and device based on screen capture operation
CN112764838A (en) Target content display method and device and electronic equipment
CN109710794B (en) Information processing method and electronic equipment
CN110020082B (en) Searching method and device
CN106302821B (en) Data request method and equipment thereof
WO2015058621A1 (en) Method and apparatus of updating quick link information
CN113342684A (en) Webpage testing method, device and equipment
CN112084151A (en) File processing method and device and electronic equipment
CN112019686A (en) Display method and device and electronic equipment
CN107145314B (en) Display processing method and device for display processing
CN111061633A (en) Method, device, terminal and medium for detecting first screen time of webpage
CN112416500B (en) Information processing method and electronic equipment
CN105975621B (en) Method and device for identifying search engine in browser page
CN111611470A (en) Data processing method and device and electronic 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