CN111459571A - Configuration method, processing method and device - Google Patents

Configuration method, processing method and device Download PDF

Info

Publication number
CN111459571A
CN111459571A CN202010245754.9A CN202010245754A CN111459571A CN 111459571 A CN111459571 A CN 111459571A CN 202010245754 A CN202010245754 A CN 202010245754A CN 111459571 A CN111459571 A CN 111459571A
Authority
CN
China
Prior art keywords
information
electronic device
configuration
application
electronic equipment
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.)
Pending
Application number
CN202010245754.9A
Other languages
Chinese (zh)
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 CN202010245754.9A priority Critical patent/CN111459571A/en
Publication of CN111459571A publication Critical patent/CN111459571A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application discloses a configuration method, a processing method and a device, wherein first electronic equipment obtains information to be configured; determining target configuration information from information to be configured at least based on configured information of the first electronic equipment; the first electronic device is configured based at least on the target configuration information. The information to be configured comes from at least one application interface of at least one second electronic device, so that target configuration information capable of configuring the first electronic device can be obtained through the application interface of the second electronic device, the purpose of automatically configuring the first electronic device based on the application interface of the second electronic device is achieved, and the experience effect of a user is improved.

Description

Configuration method, processing method and device
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a configuration method, a processing method, and an apparatus.
Background
Along with the popularization and application of the intelligent terminal, a user may have a plurality of intelligent terminals. In order to facilitate the use, a user generally performs the same setting on the configuration information of each intelligent terminal, and thus the user needs to manually perform the setting on the configuration information of each intelligent terminal.
Disclosure of Invention
In view of this, the present application provides the following technical solutions:
a configuration method is applied to a first electronic device, and comprises the following steps:
obtaining information to be configured, wherein the information to be configured comes from at least one application interface of at least one second electronic device;
determining target configuration information from the information to be configured at least based on configured information of the first electronic equipment;
configuring the first electronic device based at least on the target configuration information.
Optionally, the obtaining information to be configured includes:
under the condition that configuration conditions are determined to be met, sending a configuration request to at least one second electronic device to obtain a response result returned by the second electronic device for the configuration request, and processing the response result to obtain the information to be configured; or the like, or, alternatively,
under the condition that configuration conditions are determined to be met, sending a configuration request to at least one piece of second electronic equipment, and determining configuration information returned by the second electronic equipment in response to the configuration request as the information to be configured; or the like, or, alternatively,
and under the condition that the configuration condition is determined to be met, acquiring an image of at least one application interface of at least one second electronic device based on preset operation, and processing the image to obtain the information to be configured.
Optionally, the obtaining a response result returned by the second electronic device for the configuration request, and processing the response result to obtain the information to be configured includes:
under the condition that the second electronic equipment is unique, obtaining a long screen capture image or at least one screen capture image of an application interface aiming at the application based on application information to which a current display interface of the second electronic equipment belongs, and taking a configuration item of the application interface obtained by identifying the long screen capture image and/or the at least one screen capture image as the information to be configured; or the like, or, alternatively,
under the condition that the second electronic equipment is not unique, acquiring a long screenshot image or at least one screenshot image of an application interface aiming at each application based on application information to which a current display interface of each second electronic equipment belongs, and taking a configuration item of each application interface obtained by identifying the long screenshot image and/or the at least one screenshot image as the information to be configured; or the like, or, alternatively,
under the condition that the second electronic equipment is unique, acquiring a screen projection interface of the second electronic equipment on the first electronic equipment, and taking a configuration item of a corresponding application interface of the second electronic equipment, which is obtained by identifying the screen projection interface, as the information to be configured; or the like, or, alternatively,
and under the condition that the second electronic equipment is not unique, acquiring a screen projection interface of each second electronic equipment on the first electronic equipment, and taking the configuration item of the corresponding application interface of each second electronic equipment, which is acquired by identifying the screen projection interface, as the information to be configured.
Optionally, the obtaining an image of at least one application interface of at least one second electronic device based on a preset operation, and processing the image to obtain the information to be configured includes:
acquiring an interface image of at least one application interface of at least one piece of second electronic equipment based on shooting operation, identifying the interface image to obtain a configuration item of the application interface, and taking the configuration item as the information to be configured; or the like, or, alternatively,
under the condition that the configuration items in the application interface of the second electronic equipment are displayed by the identifiers with the identification code attributes, scanning the application interface of the second electronic equipment to obtain a scanned image, and taking the configuration items obtained by identifying the identifiers in the scanned image as the information to be configured; or the like, or, alternatively,
and under the condition that the configuration item in the application interface of the second electronic equipment can be displayed by using an identification code and the shooting instruction of the first electronic equipment is obtained, obtaining an identification code image of the second electronic equipment, which displays a corresponding interface by using the identification code, and taking the configuration item obtained by identifying the identification code in the identification code image as the information to be configured.
Optionally, the determining target configuration information from the information to be configured based on at least configured information of the first electronic device itself includes:
determining an application interface of second electronic equipment to which the information to be configured belongs;
obtaining configured information of the first electronic equipment based on at least first configuration item information of an application interface of the first electronic equipment corresponding to the application interface of the second electronic equipment;
and comparing the first configuration item information with second configuration item information of an application interface of the second electronic equipment, and determining a comparison result as the target configuration information.
Optionally, the determining target configuration information from the information to be configured based on at least configured information of the first electronic device itself includes:
under the condition that the information to be configured comes from the desktop application of the second electronic equipment, acquiring an icon of the desktop application of the first electronic equipment and a position relation of the icon, comparing the icon and the position relation with the icon in the desktop application of the second electronic equipment and the position relation between the icons, and taking at least difference information between the icons or the position relations as the target configuration information; or the like, or, alternatively,
under the condition that the information to be configured comes from a first application of the second electronic equipment, obtaining application data of a second application corresponding to the first electronic equipment, and taking difference information between the application data of the second application and the application data of the first application as the target configuration information; or the like, or, alternatively,
and under the condition that the information to be configured comes from the system configuration of the second electronic equipment, obtaining system setting parameters corresponding to the first electronic equipment, and taking difference information between the system configuration parameters of the first electronic equipment and the system configuration parameters of the second electronic equipment as the target configuration information.
Optionally, wherein the configuring the first electronic device based at least on the target configuration information includes:
under the condition that the first electronic device and the second electronic device meet matching conditions, configuring a corresponding interface of the first electronic device based on a configuration item corresponding to the target configuration information, so that the matching degree of the configuration item of the first electronic device on the corresponding interface and an application interface of the second electronic device meets preset conditions; or the like, or, alternatively,
and under the condition that the first electronic equipment and the second electronic equipment do not meet the matching condition, editing the corresponding configuration item of the first electronic equipment based on the configuration item corresponding to the target configuration information, so that the matching degree of the first electronic equipment between the corresponding configuration item and the second electronic equipment meets the preset condition.
Optionally, wherein the configuring the first electronic device based at least on the target configuration information includes:
under the condition that the target configuration information represents difference information between desktop applications, updating a configuration item corresponding to the difference information to the desktop application of the first electronic device, so that the matching degree of the desktop application of the first electronic device and the desktop application of the second electronic device meets a preset condition; or the like, or, alternatively,
under the condition that the target configuration information represents difference information between application data, updating a configuration item corresponding to the difference information to a corresponding application of the first electronic device, so that the matching degree of the first electronic device and the second electronic device in the corresponding application meets a preset condition; or the like, or, alternatively,
under the condition that the target configuration information represents the difference information between the system configuration parameters, updating the configuration item corresponding to the difference information to the corresponding setting option of the first electronic device, so that the matching degree of the first electronic device and the second electronic device in the corresponding setting option meets the preset condition.
A processing method is applied to a second electronic device and comprises the following steps:
receiving a configuration request sent by first electronic equipment;
and processing configuration items of at least one application interface of the second electronic device into information to be configured and returning the information to the first electronic device at least based on the configuration request, so that the first electronic device can determine target configuration information to configure the corresponding interface of the first electronic device based on the configured information of the first electronic device and the information to be configured.
Optionally, the processing, based on at least the configuration request, the configuration item of at least one application interface of the second device itself into to-be-configured information to be returned to the first electronic device includes:
under the condition that the second electronic equipment is unique, on the basis of the configuration request, screen capturing processing is carried out on an application interface of an application matched with the application information to which the current display interface of the second electronic equipment belongs, and a long screen capturing image and/or at least one screen capturing image are/is obtained;
returning the long screen capture image and/or at least one screen capture image to the first electronic equipment, so that the first electronic equipment identifies the long screen capture image and/or at least one screen capture image returned to the first electronic equipment to obtain information to be configured; or the like, or, alternatively,
under the condition that the second electronic equipment is not unique, screen capture processing is carried out on application interfaces of all applications matched with the application information to which the current display interfaces of all the second electronic equipment belong based on the configuration request, and long screen capture images and/or at least screen capture images corresponding to all the application interfaces are/is obtained;
returning the long screen capture image and/or at least one screen capture image corresponding to each application interface to the first electronic device, so that the first electronic device obtains information to be configured corresponding to each application for each long screen capture image and/or at least one screen capture image; or the like, or, alternatively,
under the condition that the second electronic equipment is unique, generating a screen projection interface of the second electronic equipment on the first electronic equipment, and returning the screen projection interface to the first electronic equipment, so that the first equipment identifies the screen projection interface to obtain information to be configured; or the like, or, alternatively,
and under the condition that the second electronic equipment is not unique, screen projection interfaces of the second electronic equipment on the first electronic equipment are generated, and the screen projection interfaces are returned to the first electronic equipment, so that the first electronic equipment identifies the screen projection interfaces to obtain information to be configured.
Optionally, the processing method further includes:
and identifying the long screen capture image and/or the at least one screen capture image to obtain a configuration item of an application interface matched with the long screen capture image and/or the at least one screen capture image, and returning the configuration item to the first electronic equipment as information to be configured.
Optionally, the processing method further includes:
and identifying the screen projection interface to obtain a configuration item of the application interface corresponding to the screen projection interface, and returning the configuration item as information to be configured to the first electronic equipment.
Optionally, the processing, based on at least the configuration request, the configuration item of at least one application interface of the second device itself into to-be-configured information to be returned to the first electronic device includes:
obtaining a configuration item of an application interface of the current application of the second electronic equipment based on the configuration request;
generating an identifier which is matched with the configuration item of the application interface and has an identification code attribute, so that the first electronic device scans the application interface of the second electronic device to obtain a scanned image, and the first device takes the configuration item which is obtained by identifying the identifier in the scanned image as information to be configured; or the like, or, alternatively,
and under the condition that the configuration items in the application interface of the second electronic equipment can be displayed by identification codes and the shooting instruction of the first electronic equipment is obtained, screenshot is carried out on the corresponding interface displayed by the identification codes of the second electronic equipment to obtain a screenshot image, and the screenshot image is used as the information to be configured and returned to the first electronic equipment.
A configuration device applied to a first electronic device comprises:
the device comprises an acquisition unit, a configuration unit and a configuration unit, wherein the acquisition unit is used for acquiring information to be configured, and the information to be configured is from at least one application interface of at least one second electronic device;
a determining unit, configured to determine target configuration information from the information to be configured at least based on configured information of the first electronic device itself;
a configuration unit configured to configure the first electronic device based at least on the target configuration information.
A first electronic device comprising:
a first memory for storing a first program;
a first processor configured to execute the first program, where the first program is at least configured to perform each step included in the configuration method according to any one of the above descriptions.
A second electronic device comprising:
a second memory for storing a second program;
a second processor configured to execute the second program, where the second program is at least configured to execute each step included in the processing method according to any one of the above descriptions.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps involved in the method according to any one of the preceding claims.
According to the technical scheme, the application discloses a configuration method, a processing method and a device, wherein first electronic equipment obtains information to be configured; determining target configuration information from information to be configured at least based on configured information of the first electronic equipment; the first electronic device is configured based at least on the target configuration information. The information to be configured comes from at least one application interface of at least one second electronic device, so that target configuration information capable of configuring the first electronic device can be obtained through the application interface of the second electronic device, the configuration of the first electronic device can be matched with the second electronic device, the purpose of automatically configuring the first electronic device based on the application interface of the second electronic device is achieved, and the experience effect of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an application environment provided by an embodiment of the application;
fig. 2 is a flowchart illustrating a configuration method applied to a first electronic device according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for processing a response result by a first electronic device according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a method for determining target configuration information according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a desktop icon layout provided by an embodiment of the present application;
fig. 6 is a schematic diagram illustrating an application scenario provided in an embodiment of the present application;
fig. 7 is a flowchart illustrating a processing method applied to a second electronic device according to an embodiment of the present application;
fig. 8 shows a schematic structural diagram of a configuration apparatus provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are 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.
The configuration method in the embodiment of the present application may be applied to an application environment as shown in fig. 1, and the configuration method may be applied to a device configuration system including a first electronic device 101 and a second electronic device 102. The first electronic device 101 and the second electronic device 102 are connected via a network. The first electronic device 101 and the second electronic device 102 may be at least one of a mobile phone, a tablet computer, and a notebook computer. It should be noted that there is one second electronic device 102 in the application environment shown in fig. 1, and there may be at least one second electronic device in an actual application scenario, that is, the second electronic device may be an independent electronic device or an electronic device cluster formed by multiple electronic devices.
Based on the device configuration system shown in fig. 1, the first electronic device 101 obtains information to be configured from the second electronic device 102, wherein the information to be configured comes from at least one application interface of the second electronic device. The first electronic device 101 determines target configuration information from the information to be configured based on its own configured information. The first electronic device 101 is configured based on the target configuration information. Through configuration of the first electronic device, the matching degree of the configuration items of the first electronic device on the corresponding display interface and the display interface of the second electronic device meets a preset condition. The display interface corresponding to the first electronic device is matched with the application interface of the second electronic device for generating the information to be configured. The preset condition refers to a complete matching between the configuration item of the first electronic device on the corresponding display interface and the display interface of the second electronic device, or only the target configuration item may be matched.
In the application scene, the first electronic equipment is automatically configured through the information to be configured of the second electronic equipment, the first electronic equipment does not need to be manually configured layer by layer, and the configuration efficiency and the user experience effect are improved.
The following describes a configuration method according to an embodiment of the present application in detail with reference to the drawings.
Referring to fig. 2, a flow diagram of a configuration method applied to a first electronic device is shown, which may include the following steps:
s201, obtaining information to be configured.
In this embodiment of the application, the first electronic device is an electronic device that needs to perform information configuration, and may be an electronic device that needs to perform configuration for some applications of the first electronic device, or may be an electronic device that needs to perform configuration for a system of the first electronic device itself. For convenience of description and understanding, the system and the system configuration of the electronic device in the embodiment of the present application all belong to the description scope of the application in the present application, and all have corresponding application interfaces, and of course, the application interfaces in the present application also include an interface of a desktop application and an interface of a notification bar application.
The information to be configured comes from at least one application interface of at least one electronic device. The application interface may be a system configuration interface of the second electronic device, or an application interface that can implement a target function in the second electronic device, where the application may include all interfaces of the target application, for example, a configuration interface of a communication application that implements a communication function, a communication data interface, an application setting interface, and the like, an application interface of a drawing application that implements a drawing function, a function option interface, and the like, a configuration interface of a shopping application that implements online shopping, a shopping information interface, and the like. The information to be configured may implement information for configuring the corresponding application, for example, the information may be configured on a storage path of a storage function, the information may be configured on the location of a common tool in the application, the location of a component, an execution function, and the like that are commonly used or used by a user in each application may be configured, and the like. Therefore, the configuration information of the application interface of the second electronic equipment can be directly obtained, the configuration information of the configuration item corresponding to each application interface of the electronic equipment does not need to be manually checked and recorded, and the time for obtaining and recording the configuration information is saved.
It should be noted that the second electronic device is a device corresponding to the first electronic device, and it may be a device whose attribute characteristics are matched with the first electronic device, for example, both belong to a mobile phone; or the application of the first electronic device may be matched with that of the second electronic device, for example, the second electronic device and the first electronic device both have the same application software or a matched operating system, etc. The second electronic device may be one or multiple, for example, the second electronic device may be determined according to different applications to be configured of the first electronic device, or the second electronic device may be determined according to the frequency of use of the electronic device by the user. Or a different second electronic device matched with the first electronic device is selected for different applications.
S202, determining target configuration information from the information to be configured at least based on the configured information of the first electronic equipment.
S203, configuring the first electronic equipment at least based on the target configuration information.
After the information to be configured from the second electronic device is obtained, the first electronic device is not configured by directly utilizing the information to be configured. The first electronic device needs to perform analysis according to the configured information of the first electronic device itself to obtain which applications the first electronic device needs to configure, or which configuration items of a specific application need to configure. Therefore, the configuration information needs to be filtered from the information to be configured so as to determine the target configuration information. That is, information such as an application that needs to be configured and a configuration item corresponding to the application that needs to be configured may be determined according to configuration information of the first electronic device itself, so that information that can configure the application or the configuration item is determined as target configuration information in the information to be configured.
And then configuring the obtained target configuration information for the first electronic device, namely configuring the application and/or configuration item corresponding to the first electronic device through each configuration information of the target configuration information. For example, configuring a storage path of information of an application of the first electronic device by storing path configuration information; and configuring the icon position of the desktop of the first electronic equipment through the configuration information of the desktop icon position, and the like.
In a configuration method provided in an embodiment of the present application, a first electronic device obtains information to be configured; determining target configuration information from information to be configured at least based on configured information of the first electronic equipment; the first electronic device is configured based at least on the target configuration information. The information to be configured comes from at least one application interface of at least one second electronic device, so that target configuration information capable of configuring the first electronic device can be obtained through the application interface of the second electronic device, the configuration of the first electronic device can be matched with the second electronic device, the purpose of automatically configuring the first electronic device based on the application interface of the second electronic device is achieved, and the experience effect of a user is improved.
There are various embodiments for obtaining the information to be configured in the embodiments of the present application, and the following describes each embodiment.
In a possible implementation manner, the first electronic device sends a configuration request to at least one second electronic device under the condition that it is determined that the configuration condition is satisfied, so as to obtain a response result returned by the second electronic device for the configuration request, and processes the response result to obtain the information to be configured.
The configuration condition may represent a condition that the first electronic device needs to perform information configuration. The configuration condition may be a condition of a configuration instruction issued by a user of the first electronic device, or a condition that the first electronic device automatically monitors a configuration that can be generated after the configuration is performed when some applications are newly installed or some applications are updated by the first electronic device. For example, the configuration condition includes at least an input for triggering the first electronic device to enter the configuration state, which may include a voice input, a field input, an emoticon input, a gesture input, and so on.
The configuration request is sent to at least one second electronic device, and the second electronic device responds to the configuration request, specifically, the configuration request may be analyzed by the second electronic device, so as to obtain a response result corresponding to the configuration request. The second electronic device then sends the response result to the first electronic device. And processing the response result by the first electronic equipment to obtain the information to be configured. The response result sent by the second electronic device may be response information generated according to the configuration request, or may be an image generated according to the configuration request, for example, a screenshot image of an application interface that needs to be configured. And then the first electronic equipment processes the response information or the image sent by the second electronic equipment to obtain the information to be configured. For example, a screenshot sent by the second electronic device is processed to obtain information to be configured, where the information to be configured may include desktop layout information, application setting information, application window information, and the like of the electronic device.
Referring to fig. 3, a flowchart of a method for processing a response result by a first electronic device according to an embodiment of the present application is shown. That is, after the first electronic device sends the configuration request to at least one second electronic device, the process of obtaining a response result returned by the second electronic device in response to the configuration request and processing the response result to obtain the information to be configured may include the following steps:
s301, judging whether the second electronic equipment is unique, and if so, executing the step S302 or executing the step 303; if the second electronic device is not unique, performing step S304 or performing step S305;
s302, obtaining a long screen capture image or at least one screen capture image of an application interface aiming at an application based on the application information of the current display interface of the second electronic equipment, and taking the configuration item of the application interface obtained by identifying the long screen capture image and/or the at least one screen capture image as information to be configured;
s303, acquiring a screen projection interface of the second electronic equipment on the first electronic equipment, and taking a configuration item of a corresponding application interface of the second electronic equipment, which is acquired by identifying the screen projection interface, as information to be configured;
s304, obtaining a long screen capture image or at least one screen capture image of the application interface aiming at each application based on the application information of the current display interface of each second electronic device, and taking the configuration item of each application interface obtained by identifying the long screen capture image and/or the at least one screen capture image as information to be configured;
s305, screen projection interfaces of the electronic devices on the first electronic device are obtained, and configuration items of corresponding application interfaces of the second electronic devices, which are obtained by identifying the screen projection interfaces, are used as information to be configured.
Since the second electronic device corresponding to the first electronic device may or may not be unique. In the case that the second electronic device is unique, the response result returned by the second electronic device for the configuration request is an image, and the image can be a long screen shot image or at least one screen shot image of an application interface obtained for the application based on the application information to which the current display interface of the second electronic device belongs. The current display interface of the second electronic device may be a system display interface of the second electronic device, such as a desktop, or an application interface of an application having a specific execution function of the second electronic device. It should be noted that, in the embodiment of the present application, the system of the electronic device also belongs to an application, and also has a corresponding application interface. The long screen shot image or at least the screen shot image of the application interface aiming at the application is obtained due to the application information of the current display interface. Correspondingly, the application information includes desktop, system settings, application windows, and the like. The application interface refers to an interface which can embody configuration information and configuration items of the corresponding application. The long-screen shot image refers to an image that can include all configuration items of the application interface, and may also be an image corresponding to a target configuration item or a main configuration item that generally needs to be configured by a user, that is, at least one screen shot image. Since configuration items of some applications may not be displayed on the same interface, a screenshot image of an interface where each configuration item is located needs to be obtained, that is, multiple screenshot images can be obtained.
Because the long screenshot image and/or at least one screenshot image include the configuration item corresponding to the application interface, the first electronic device can identify the images and obtain the configuration item of the application interface as the information to be configured.
Correspondingly, under the condition that the second electronic device is unique, the first electronic device can also obtain a screen projection interface of the second electronic device on the first electronic device. In this scenario, instead of acquiring an image corresponding to the current display interface of the second electronic device, the second electronic device may project the current display interface or the corresponding application interface of the second electronic device to the first electronic device, and the first electronic device may recognize the projected image and perform processing such as saving or screen capturing, or the first electronic device may directly recognize the projected image of the second electronic device projected to the display unit of the second electronic device. And then the first electronic equipment takes the configuration item of the corresponding application interface of the second electronic equipment, which is obtained by the identified screen capture interface, as the information to be configured.
Under the condition that the second electronic equipment is not unique, obtaining application information to which each second electronic current display interface belongs to obtain a long screenshot image or at least a screenshot image of the application interface for each application; or obtaining a screen projection interface of each second electronic device on the first electronic device. It should be noted that, in a case that the second electronic devices are not unique, the current display interfaces of the second electronic devices may belong to the same application or may belong to different applications. When the current display interfaces of the second electronic devices belong to the same application, or when the screen projection interfaces of the second electronic devices on the first electronic device belong to the same application, the information to be configured may be determined according to the configuration information of the configuration items of the application in the image, that is, the configuration items of the same configuration item in the screenshots of the plurality of second electronic devices or the screen projection images with the same configuration information may be used as the information to be configured. For example, the storage paths of the three second electronic devices for the current application are all external memory cards, and only one second electronic device for the current application is the local device, and the configuration item of which the storage path is the external memory card is used as the information to be configured. In other embodiments, the multiple second electronic devices may also respectively display different application interfaces of the same application, so that the first electronic device may obtain all the application interfaces of the application according to the application interfaces currently displayed by the multiple second electronic devices, and thus may obtain all the information to be configured of the application.
When the second electronic devices respectively aim at different applications, the configuration items of the applications corresponding to the second electronic devices are used as the information to be configured of the applications, so that the subsequent processing of the configuration of the different applications can be performed. It should be noted that, under the condition that the second electronic device is not unique, the processing procedures for the screen capture image and the screen projection interface are matched with those under the condition that the second electronic device is unique, and details are not repeated here.
In another possible implementation manner, the first electronic device sends a configuration request to at least one second electronic device under the condition that it is determined that the configuration condition is met, and configuration information returned by the second electronic device in response to the configuration request is determined as information to be configured.
In the embodiment, the second electronic device parses the configuration request, selects the configuration information of the application interface of the second electronic device according to the parsing result of the configuration request to obtain the information to be configured, and then sends the information to be configured to the first electronic device. That is, in this embodiment, the second electronic device processes the information to be configured and then transmits the information to be configured to the first electronic device, and the information to be configured can be obtained without reprocessing by the first electronic device. For example, the second electronic device may process the system screenshot according to the configuration request to obtain the configuration information, or directly access the system configuration information, and then send the obtained configuration information as the information to be configured to the first electronic device; each application of the second electronic device may be processed into an application icon in the form of a graphic code when installed, so that the graphic code icon includes application information and position information in the desktop, that is, the graphic code icon may be identified as information including the application information and the desktop position or desktop layout information when scanned, and then sent to the first electronic device as an image to be configured.
In yet another possible implementation manner, when it is determined that the configuration condition is satisfied, the first electronic device obtains an image of at least one application interface of at least one second electronic device based on a preset operation, processes the image to obtain the image of the at least one application interface, and processes the image to obtain the information to be configured.
The preset operation can represent an operation of obtaining an image of an application interface of the second electronic device. Such as an active shooting operation of the first electronic device, it may also be a sending operation in which the first electronic device sends a shooting instruction to the second electronic device and the second electronic device performs the operation, and so on.
A specific implementation of the process of acquiring an image of at least one application interface of at least one second electronic device based on a preset operation, and processing the image to obtain information to be configured in the embodiment of the present application is specifically described below. An embodiment of the process may include the steps of:
s401, acquiring an interface image of at least one application interface of at least one second electronic device based on shooting operation, identifying the interface image to obtain a configuration item of the application interface, and taking the configuration item as information to be configured.
In the implementation step, the preset operation represents a shooting operation, that is, the first electronic device obtains an interface image of at least one application interface of at least one second electronic device through the shooting operation. The identifying of the interface image includes analyzing and/or extracting the content of the interface image to obtain a configuration item of the application interface, where the configuration item is an item that can be changed by the application interface according to different users, different usage modes, or different usage periods, for example, each option button under a "setup" interface in each application. For another example, in a desktop scenario of the electronic device, the configuration item may include at least an application icon, application information, a download path, and location layout information thereof in the desktop. Correspondingly, in other application scenarios the configuration item may be configuration data or the like. And then, using the identified part or all of the configuration items as information to be configured.
Or;
s402, under the condition that the configuration items in the application interface of the second electronic equipment are displayed by the identifiers with the identification code attributes, scanning the application interface of the second electronic equipment to obtain a scanned image, and taking the configuration items obtained by identifying the identifiers in the scanned image as information to be configured.
In the implementing step, the preset operation of the first electronic device is a scanning operation. In this step, when the configuration item in the application interface of the second electronic device is displayed with the identifier having the identifier attribute, that is, the icon corresponding to the configuration item in the corresponding application interface may be displayed in the form of an identifiable graphic code, then the first electronic device scans the application interface of the second electronic device through a scanning operation to obtain a scanned image, then identifies the identifier of the scanned image to obtain the configuration item, and may use a part of the configuration item or all the configuration items as the information to be configured. For example, in a scene where the second electronic device displays a main interface (e.g., a computer desktop), a desktop icon may be presented in the form of a two-dimensional code icon, in the scene, a user may directly scan the desktop of the second electronic device by using the first electronic device to obtain a scanned image, and then identify a corresponding configuration item to obtain information to be configured.
Or;
and S403, under the condition that the configuration item in the application interface of the second electronic device can be displayed by using the identification code and the shooting instruction of the first electronic device is obtained, obtaining an identification code image of the second electronic device, which displays the corresponding interface by using the identification code, and taking the configuration item obtained by using the identification code in the identification code image as the information to be configured.
In the implementation step, the configuration item in the application interface of the second electronic device can be displayed with the identification code, and the second electronic device, upon receiving the shooting instruction, acquires an identification code image by itself, the identification code image representing an image of the corresponding interface displayed with the identification code. And then sending the identification code image to the first electronic equipment, and then identifying the identification code image by the first electronic equipment to obtain a configuration item obtained by the corresponding identification code as information to be configured.
After the first electronic device obtains the information to be configured based on at least one application interface of at least one second electronic device, the first electronic device does not directly configure with the information to be configured, but the first electronic device needs to determine target configuration information in the information to be configured. In an embodiment of the present application, a method for determining target configuration information is further provided, and referring to fig. 4, the method for determining target configuration information may include the following steps:
s501, obtaining information to be configured.
Step S502 or steps S505, S506, or S507 may be performed after the information to be configured is obtained.
S502, determining an application interface of second electronic equipment to which the information to be configured belongs;
s503, obtaining configured information of the first electronic equipment at least based on first configuration item information of the application interface of the first electronic equipment corresponding to the application interface of the second electronic equipment;
s504, comparing the first configuration item information with second configuration item information of an application interface of second electronic equipment, and determining a comparison result as target configuration information.
Because the second electronic device may include a plurality of application interfaces with different functions, the first electronic device may determine, through the information to be configured, which application of the second electronic device the information to be configured originates from, and then obtain the application interface corresponding to the information to be configured. Then, an application interface of the first electronic device corresponding to the application interface of the second electronic device in the first electronic device is obtained, first configuration item information of the application interface of the first electronic device is obtained by identifying the application interface of the first electronic device, namely the first configuration item information refers to a configuration item of the application interface of the current first electronic device or a configuration item of the first electronic device selected by a user and needing to be configured and serves as first configuration item information, and then configured information of the first electronic device is determined based on the first configuration item information.
Correspondingly, second configuration item information of the application interface of the second electronic device also needs to be determined, where the second configuration item information represents information corresponding to all configuration items included in the application interface of the current second electronic device, or may be partial configuration item information, for example, configuration item information other than the default configuration item information of the system is included.
And comparing the first configuration item information with the second configuration item information to obtain a comparison result, and determining target configuration information according to the comparison result. The comparison result may include the configuration items that have been configured by the second electronic device but have not been configured by the first electronic device, and then the information to be configured corresponding to the configuration items is determined as the target configuration information. Or the first configuration item information may be different from the second configuration item information, that is, the configuration information of the same configuration item corresponding to the first electronic device is different from the configuration information of the second electronic device, at this time, prompt information may be generated according to the comparison result, for example, a user is prompted whether to modify according to the configuration information of the configuration item of the second electronic device, and if a modification instruction is obtained, the to-be-configured information corresponding to the configuration item is determined as the target configuration information. The target configuration information may not be determined if the modification instruction is not available. If the feedback information aiming at the prompt information is not received, the target configuration information can be defaulted according to a predetermined rule or not determined.
The step of determining the target configuration information in the embodiment of the present application may further include:
s505, under the condition that the information to be configured comes from the desktop application of the second electronic equipment, the icon of the desktop application of the first electronic equipment and the position relation of the icon are obtained, the icon and the position relation of the icon are compared with the icon of the desktop application of the second electronic equipment and the position relation between the icons, and at least the difference between the icons or the relation is used as target configuration information.
The desktop application can represent an application corresponding to the main interface of the second electronic device. The icons and the position relationship of the desktop application of the first electronic device may be the icons of the desktop application and the relative position relationship between the icons, and then the icons and the position relationship between the icons of the desktop application of the second electronic device and the first electronic device are compared, and the difference information between the icons and the icons is used as the target configuration information.
Referring to fig. 5, a schematic diagram of a desktop icon layout provided in an embodiment of the present application is shown. In fig. 5 a first electronic device 10 and a second electronic device 20 are included. The desktop application of the first electronic device 10 comprises icon 1, icon 2, icon 3, icon 4 and icon 5, the positions of which are default positions, as shown in fig. 5. The desktop application of the second electronic device 20 also includes the icons, but the positions of the icons are different from the positions of the icons of the desktop application of the first electronic device 10, and the difference information of the positional relationships of the positions of the icons is used as the target configuration information, that is, the difference information of the positions of the icons is obtained as the target configuration information in fig. 5. If the types and the numbers of icons of the first electronic device and the second electronic device are different, the type difference number or the number difference information may be used as the target configuration information. The icons may include application icons and file icons, as well as other information that may be represented in the form of icons, and the like.
Alternatively, the process of determining the target configuration information may further include:
s506, under the condition that the information to be configured comes from the first application of the second electronic device, obtaining application data of the second application corresponding to the first electronic device, and taking difference information between the application data of the second application and the application data of the first application as target configuration information.
In this implementation step, the first application and the second application may be the same application or may be matched applications. For example, the first application and the second application are both the same shopping software, and the first application and the second application may also be the same type of application software corresponding to different generation modes, for example, the first application is a communication tool capable of performing a video call, and the second application is a communication tool capable of performing a voice call. The application data may characterize data that is configurable or user-selectable for the application. The application data in the communication application may comprise address book data, the application data in the shopping application may comprise shopping cart data or favorite data, etc., and the application data in the file management application may comprise file data.
And taking the difference information between the application data of the second application and the application data of the first application as target configuration information. If the first application and the second application are both communication applications, the difference data in the address book in the second application and the address book in the first application are used as target configuration information, and the target configuration information can be added to the second application of the first electronic device, so that the address book of the second application is matched with the address book of the first application of the second electronic device. Or the shopping cart data of the shopping application can be synchronously matched.
Alternatively, the process of determining the target configuration information may further include:
and S507, under the condition that the information to be configured comes from the system setting of the second electronic equipment, obtaining the system configuration parameters corresponding to the first electronic equipment, and taking the difference information between the system configuration parameters of the first electronic equipment and the system configuration parameters of the second electronic equipment as the target configuration information.
The application scenario corresponding to the embodiment is system configuration in which the information to be configured comes from the second electronic device, and the system configuration parameter represents a system variable parameter, such as a brightness parameter, a volume parameter, a keyboard light parameter, an account authority parameter, and the like, that can be applied to the current electronic device. The determined target configuration parameters are different configuration parameters of the second electronic device and the first electronic device, and the target configuration parameters can also be obtained by using the configured system parameters of the second electronic device but the default configuration parameters of the first electronic device. So that the system of the first electronic device can be configured according to the system configuration parameters of the second electronic device.
In the embodiment of the application, the parameters to be configured are obtained, then the target configuration parameters need to be determined in the parameters to be configured, and finally the first electronic device needs to be configured according to the target configuration parameters. The embodiment of the present application further provides a method for configuring a first electronic device, where the process may include the following steps:
s601, under the condition that the first electronic device and the second electronic device meet the matching condition, configuring the corresponding interface of the first electronic device based on the configuration item corresponding to the target configuration information, so that the matching degree of the configuration item of the first electronic device on the corresponding interface and the application interface of the second electronic device meets the preset condition.
The matching condition that the first electronic device and the second electronic device satisfy may be a condition that characterizes that the attribute features, the system version information, and the like of the first electronic device and the second electronic device are completely matched, or may also characterize an application matching condition of the first electronic device and the second electronic device. The implementation step configures the interface corresponding to the first electronic device based on the configuration item corresponding to the target configuration information, so that synchronous configuration or information migration of the first electronic device and the second electronic device is realized. The preset condition refers to a condition of a matching degree of the first electronic device and the second electronic device, for example, a condition corresponding to a matching degree of an application or a matching degree of a configuration item. For example, a user has two mobile phones, one of the two mobile phones is a device frequently used by the user, so that the configuration information of the mobile phone is the configuration information meeting the use habit of the user. Therefore, the information configuration can be carried out on the mobile phone newly bought by the user according to the configuration information of the mobile phone, and the relevant configuration information in the previous mobile phone is completely synchronized or transferred to the new mobile phone of the user.
Alternatively, the configuring step of the first electronic device may further include:
s602, under the condition that the first electronic device and the second electronic device do not meet the matching condition, editing the corresponding configuration item of the first electronic device based on the configuration item corresponding to the target configuration information so that the matching degree of the first electronic device between the corresponding configuration item and the second electronic device meets the preset condition.
The first electronic device and the second electronic device not meeting the matching condition refers to a condition that the first electronic device and the second electronic device do not completely correspond to each other, and may be different in operating systems and device attributes, and the like. If the first electronic device is a mobile phone, the second electronic device is a notebook computer. In this application scenario, the configuration item corresponding to the target configuration information needs to be edited based on the configuration item corresponding to the target configuration information. The editing is to enable the configuration items of the first electronic device to match the configuration items corresponding to the target configuration information. Such as editing the data format of the configuration item, so that the edited data format can match the operating system of the first electronic device, and the like. The matching degree of the first electronic device between the corresponding configuration item and the second electronic device satisfies a preset condition, which may be a matching condition of a function that the configuration item can execute, or a synchronization degree of the configuration information. For example, because the operating systems of the first electronic device and the second electronic device are different, after the configuration items corresponding to the second electronic device are obtained, if the configuration items are less than the number of the configuration items of the second electronic device due to the limitation of the operating system of the first electronic device, the configuration items of the first electronic device may be configured, and the configuration items that can be used may be matched.
In some possible embodiments, the process of configuring the first electronic device may further include the steps of:
s603, under the condition that the target configuration information represents the difference information between the desktop applications, updating the configuration item corresponding to the difference information to the desktop application of the first electronic device, so that the matching degree of the desktop application of the first electronic device and the desktop application of the second electronic device meets a preset condition.
The desktop application may include desktop icons and a position relationship between the icons, and the configuration items corresponding to the differences may be updated to the desktop application of the first electronic device according to difference information of the desktop application between the first electronic device and the second electronic device, that is, differences of the types and the numbers of the desktop icons and position information between the icons. For example, the position relationship of the desktop icon of the first electronic device is configured to be matched with the position relationship of the desktop icon of the second electronic device, and the matching degree in this embodiment may satisfy the preset condition that the number, the type, or the position relationship of the desktop icons is matched, for example, the position relationship of all the icons may be configured, or the position relationship of the icons commonly used by the user may be configured.
Alternatively, the process of configuring the first electronic device may further include:
s604, under the condition that the target configuration information represents the difference information between the application data, updating the configuration item corresponding to the difference information to the corresponding application of the first electronic device, so that the matching degree of the first electronic device and the second electronic device in the corresponding application meets a preset condition.
In the implementation step, the target configuration information represents difference information between application data, and the application data may be data that is corresponding to the application and can be configured or changed or can implement user personalized settings. Such as address book data in a messaging application, user favorite data in a shopping application, etc. And then configuring the application corresponding to the configuration item according to the configuration item corresponding to the difference data of the application data between the first electronic device and the second electronic device, such as updating data, adjusting the sequence of the data sequence, and the like. The application data configured by the first electronic device may be completely matched with the second electronic device, or only the configuration items or configuration data commonly used by the user may be updated, and although the application data is not completely matched with the second electronic device, the matching of the main function configuration items may be realized.
Alternatively, the process of configuring the first electronic device may further include:
s605, under the condition that the target configuration information represents the difference information between the system configuration parameters, updating the configuration item corresponding to the difference information to the corresponding setting option of the first electronic device, so that the matching degree of the first electronic device and the second electronic device in the corresponding setting option meets the preset condition.
The corresponding target configuration information characterizes difference information between system configuration parameters in the implementing step. The system configuration parameters refer to operating system parameters of the first electronic device and the second electronic device, and may be understood as a computer program for managing computer hardware and software resources. For example, it may be related to a screen brightness parameter, a user authority parameter, a keyboard accelerator setting parameter, and the like. For example, if the target configuration information represents the difference information between the screen brightness parameters of the first electronic device and the second electronic device. The screen brightness of the first electronic device may be set to a brightness corresponding thereto according to the screen brightness of the second electronic device.
After the target configuration information is obtained, and the first electronic device is configured according to the target configuration information, the configuration item corresponding to the target configuration information may be determined according to the attribute feature of the second electronic device from the target configuration parameter and the number of the second electronic devices, and the first electronic device may also be configured by combining the actual application scenario of the first electronic device and the attribute feature of the first electronic device. For example, the target configuration information is desktop layout information, and may be adaptively adjusted according to a screen size of the first electronic device, and then applied to the configuration of the first electronic device.
The descriptions of various features that may be included in the embodiments of the present application are mutually referenced, and different embodiments having associated steps may be mutually matched to form corresponding complete embodiments, which are not necessarily illustrated in the present application.
The following describes a configuration method in the embodiment of the present application with a specific scenario embodiment. Referring to fig. 6, a schematic diagram of an application scenario is shown.
In this embodiment, a first electronic device 10 and a second electronic device 20 are included. The application to which the current application interfaces of the first electronic device 10 and the second electronic device 20 belong is an online shopping application, the first electronic device 10 sends a configuration request to the second electronic device 20, and the second electronic device 20 generates a current screenshot image of the second electronic device and sends the screenshot image as information to be configured to the first electronic device 10. Since the application interface of the current online shopping application of the second electronic device 20 represents the item information in the shopping cart corresponding to the application. If the item information in the shopping cart of the application interface of the current online shopping application of the first electronic device 10 is empty, it is necessary to determine the target configuration information in the item information in the shopping cart of the second electronic device 20 according to the item information in the shopping cart of the first electronic device 10, and since the item information in the shopping cart of the first electronic device 10 is empty, that is, the item information in the shopping cart of the second electronic device 20 is determined as the target configuration information. The first electronic device is configured based on at least the target configuration information to add item information of the shopping cart of the second electronic device 20 to the shopping cart of the first electronic device 10. The corresponding application of the first electronic equipment is automatically configured through the application configuration information of the second electronic equipment, and a user does not need to manually configure layer by layer.
Referring to fig. 7, which shows a flowchart of a processing method applied to a second electronic device according to an embodiment of the present application, the method may include:
s701, receiving a configuration request sent by first electronic equipment;
s702, processing the configuration item of at least one application interface of the second electronic device into information to be configured and returning the information to the first electronic device based on at least the configuration request, so that the first electronic device can determine target configuration information to configure the corresponding interface of the first electronic device based on the configured information of the first electronic device and the information to be configured.
Correspondingly, the processing, based on at least the configuration request, the configuration item of at least one application interface of the second device into information to be configured to be returned to the first electronic device includes:
under the condition that the second electronic equipment is unique, on the basis of the configuration request, screen capturing processing is carried out on an application interface of an application matched with the application information to which the current display interface of the second electronic equipment belongs, and a long screen capturing image and/or at least one screen capturing image are/is obtained;
returning the long screen capture image and/or at least one screen capture image to the first electronic equipment, so that the first electronic equipment identifies the long screen capture image and/or at least one screen capture image returned to the first electronic equipment to obtain information to be configured; or the like, or, alternatively,
under the condition that the second electronic equipment is not unique, screen capture processing is carried out on application interfaces of all applications matched with the application information to which the current display interfaces of all the second electronic equipment belong based on the configuration request, and long screen capture images and/or at least screen capture images corresponding to all the application interfaces are/is obtained;
returning the long screen capture image and/or at least one screen capture image corresponding to each application interface to the first electronic device, so that the first electronic device obtains information to be configured corresponding to each application for each long screen capture image and/or at least one screen capture image; or the like, or, alternatively,
under the condition that the second electronic equipment is unique, generating a screen projection interface of the second electronic equipment on the first electronic equipment, and returning the screen projection interface to the first electronic equipment, so that the first equipment identifies the screen projection interface to obtain information to be configured; or the like, or, alternatively,
and under the condition that the second electronic equipment is not unique, screen projection interfaces of the second electronic equipment on the first electronic equipment are generated, and the screen projection interfaces are returned to the first electronic equipment, so that the first electronic equipment identifies the screen projection interfaces to obtain information to be configured.
Optionally, the processing method further includes:
and identifying the long screen capture image and/or the at least one screen capture image to obtain a configuration item of an application interface matched with the long screen capture image and/or the at least one screen capture image, and returning the configuration item to the first electronic equipment as information to be configured.
Optionally, the processing method further includes:
and identifying the screen projection interface to obtain a configuration item of the application interface corresponding to the screen projection interface, and returning the configuration item as information to be configured to the first electronic equipment.
Optionally, the processing, based on at least the configuration request, the configuration item of at least one application interface of the second device itself into to-be-configured information to be returned to the first electronic device includes:
obtaining a configuration item of an application interface of the current application of the second electronic equipment based on the configuration request;
generating an identifier which is matched with the configuration item of the application interface and has an identification code attribute, so that the first electronic device scans the application interface of the second electronic device to obtain a scanned image, and the first device takes the configuration item which is obtained by identifying the identifier in the scanned image as information to be configured; or the like, or, alternatively,
and under the condition that the configuration items in the application interface of the second electronic equipment can be displayed by identification codes and the shooting instruction of the first electronic equipment is obtained, screenshot is carried out on the corresponding interface displayed by the identification codes of the second electronic equipment to obtain a screenshot image, and the screenshot image is used as the information to be configured and returned to the first electronic equipment.
In this embodiment, the second electronic device receives a configuration request sent by the first electronic device, where the configuration request may characterize a configuration request of the first electronic device for an application, and may also characterize a configuration request for specific certain configuration items. And then the second electronic equipment processes the configuration items of at least one application interface of the second electronic equipment into to-be-configured information at least based on the configuration request and returns the to-be-configured information to the first electronic equipment. The information to be configured returned by the second electronic device may be a long screenshot image, at least one screenshot image, a screen projection interface, an identification code image of the application interface, and the like. And then the first electronic equipment determines target configuration information based on the configured information and the information to be configured of the first electronic equipment, and configures a corresponding interface of the first electronic equipment. Correspondingly, the second electronic device may also perform recognition and analysis based on a long screenshot generated by the second electronic device or generated by screenshot, at least one screenshot image, a screenshot interface, an identifier with an identifier attribute, the screenshot image and the like to obtain information to be configured corresponding to the configuration item of the application interface, and return the information to be configured to the first electronic device.
In a case where the second electronic device is not unique, one of the second electronic devices may perform each step of the processing method and any equivalent step that exists for the other electronic devices, or each second electronic device may perform the processing method for its own interface information to obtain information that can be utilized by the first device, such as information to be configured and its associated information. Corresponding to steps and methods that can be executed by the second electronic device in the configuration process for the first electronic device, please refer to the description process of the second electronic device in each technical step of the configuration method applied to the first electronic device in this embodiment, which is not described in detail herein.
Referring to fig. 8, a schematic structural diagram of a configuration apparatus provided in an embodiment of the present application is shown, where the configuration apparatus may be applied to a first electronic device, and may include:
an obtaining unit 801, configured to obtain information to be configured, where the information to be configured is from at least one application interface of at least one second electronic device;
a determining unit 802, configured to determine target configuration information from the information to be configured based on at least configured information of the first electronic device itself;
a configuration unit 803, configured to configure the first electronic device based on at least the target configuration information.
On the basis of the above configuration apparatus embodiment, the obtaining unit 801 includes:
the first obtaining subunit is configured to, when it is determined that the configuration condition is satisfied, send a configuration request to at least one second electronic device to obtain a response result returned by the second electronic device in response to the configuration request, and process the response result to obtain the information to be configured; or the like, or, alternatively,
the second obtaining subunit is configured to, when it is determined that the configuration condition is satisfied, send a configuration request to at least one of the second electronic devices, and determine configuration information returned by the second electronic device in response to the configuration request as the information to be configured; or the like, or, alternatively,
and the third obtaining subunit is configured to, when it is determined that the configuration condition is satisfied, obtain an image of at least one application interface of at least one second electronic device based on a preset operation, and process the image to obtain the information to be configured.
On the basis of the foregoing embodiment, the first obtaining subunit is specifically configured to:
under the condition that the second electronic equipment is unique, obtaining a long screen capture image or at least one screen capture image of an application interface aiming at the application based on application information to which a current display interface of the second electronic equipment belongs, and taking a configuration item of the application interface obtained by identifying the long screen capture image and/or the at least one screen capture image as the information to be configured; or the like, or, alternatively,
under the condition that the second electronic equipment is not unique, acquiring a long screenshot image or at least one screenshot image of an application interface aiming at each application based on application information to which a current display interface of each second electronic equipment belongs, and taking a configuration item of each application interface obtained by identifying the long screenshot image and/or the at least one screenshot image as the information to be configured; or the like, or, alternatively,
under the condition that the second electronic equipment is unique, acquiring a screen projection interface of the second electronic equipment on the first electronic equipment, and taking a configuration item of a corresponding application interface of the second electronic equipment, which is obtained by identifying the screen projection interface, as the information to be configured; or the like, or, alternatively,
and under the condition that the second electronic equipment is not unique, acquiring a screen projection interface of each second electronic equipment on the first electronic equipment, and taking the configuration item of the corresponding application interface of each second electronic equipment, which is acquired by identifying the screen projection interface, as the information to be configured.
On the basis of the foregoing embodiment, the third obtaining subunit is specifically configured to:
acquiring an interface image of at least one application interface of at least one piece of second electronic equipment based on shooting operation, identifying the interface image to obtain a configuration item of the application interface, and taking the configuration item as the information to be configured; or the like, or, alternatively,
under the condition that the configuration items in the application interface of the second electronic equipment are displayed by the identifiers with the identification code attributes, scanning the application interface of the second electronic equipment to obtain a scanned image, and taking the configuration items obtained by identifying the identifiers in the scanned image as the information to be configured; or the like, or, alternatively,
and under the condition that the configuration item in the application interface of the second electronic equipment can be displayed by using an identification code and the shooting instruction of the first electronic equipment is obtained, obtaining an identification code image of the second electronic equipment, which displays a corresponding interface by using the identification code, and taking the configuration item obtained by identifying the identification code in the identification code image as the information to be configured.
On the basis of the above-described embodiment, the determining unit 802 includes:
the first determining subunit is used for determining an application interface of the second electronic device to which the information to be configured belongs;
a fourth obtaining subunit, configured to obtain configured information of the first electronic device itself based on at least first configuration item information of an application interface of the first electronic device corresponding to the application interface of the second electronic device;
and the comparison subunit is used for comparing the first configuration item information with second configuration item information of an application interface of the second electronic device, and determining a comparison result as the target configuration information.
On the basis of the foregoing embodiment, the determining unit 802 is specifically configured to:
under the condition that the information to be configured comes from the desktop application of the second electronic equipment, acquiring an icon of the desktop application of the first electronic equipment and a position relation of the icon, comparing the icon and the position relation with the icon in the desktop application of the second electronic equipment and the position relation between the icons, and taking at least difference information between the icons or the position relations as the target configuration information; or the like, or, alternatively,
under the condition that the information to be configured comes from a first application of the second electronic equipment, obtaining application data of a second application corresponding to the first electronic equipment, and taking difference information between the application data of the second application and the application data of the first application as the target configuration information; or the like, or, alternatively,
and under the condition that the information to be configured comes from the system configuration of the second electronic equipment, obtaining system setting parameters corresponding to the first electronic equipment, and taking difference information between the system configuration parameters of the first electronic equipment and the system configuration parameters of the second electronic equipment as the target configuration information.
On the basis of the above embodiment, the configuration unit 803 includes:
the first configuration subunit is configured, when the first electronic device and the second electronic device meet a matching condition, to configure a corresponding interface of the first electronic device based on a configuration item corresponding to the target configuration information, so that a matching degree of the configuration item of the first electronic device on the corresponding interface and an application interface of the second electronic device meets a preset condition; or the like, or, alternatively,
and the second configuration subunit is configured to, when the first electronic device and the second electronic device do not satisfy a matching condition, edit a corresponding configuration item of the first electronic device based on the configuration item corresponding to the target configuration information, so that a matching degree of the first electronic device between the corresponding configuration item and the second electronic device satisfies a preset condition.
On the basis of the foregoing embodiment, the configuration unit 803 is further specifically configured to:
under the condition that the target configuration information represents difference information between desktop applications, updating a configuration item corresponding to the difference information to the desktop application of the first electronic device, so that the matching degree of the desktop application of the first electronic device and the desktop application of the second electronic device meets a preset condition; or the like, or, alternatively,
under the condition that the target configuration information represents difference information between application data, updating a configuration item corresponding to the difference information to a corresponding application of the first electronic device, so that the matching degree of the first electronic device and the second electronic device in the corresponding application meets a preset condition; or the like, or, alternatively,
under the condition that the target configuration information represents the difference information between the system configuration parameters, updating the configuration item corresponding to the difference information to the corresponding setting option of the first electronic device, so that the matching degree of the first electronic device and the second electronic device in the corresponding setting option meets the preset condition.
In an embodiment corresponding to the configuration apparatus, the to-be-configured information may be obtained by the obtaining unit, and the determining unit determines the target configuration information from the to-be-configured information at least based on the configured information of the first electronic device itself; the configuration unit configures the first electronic device based on at least the target configuration information. The information to be configured comes from at least one application interface of at least one second electronic device, so that target configuration information capable of configuring the first electronic device can be obtained through the application interface of the second electronic device, the configuration of the first electronic device can be matched with the second electronic device, the purpose of automatically configuring the first electronic device based on the application interface of the second electronic device is achieved, and the experience effect of a user is improved.
An embodiment of the present application provides a storage medium on which a program is stored, which when executed by a processor implements the configuration method applied to a first electronic device and/or the processing method applied to a second electronic device.
An embodiment of the present application provides a first electronic device, including:
a first memory for storing a first program;
a first processor configured to execute the first program, where the first program is at least configured to perform each step included in the configuration method according to any one of the above descriptions.
An embodiment of the present application further provides a second electronic device, including:
a second memory for storing a second program;
a second processor configured to execute the second program, where the second program is at least configured to execute each step included in the processing method according to any one of the above descriptions.
The present application also provides a computer program product adapted to execute a program for initializing any of the steps of the configuration method as applied on the first electronic device and/or the processing method as applied on the second electronic device as described above, when executed on a data processing device.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The emphasis of each embodiment in the present specification is on the difference from the other embodiments, and the same and similar parts among the various embodiments may be 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 (10)

1. A configuration method is applied to a first electronic device, and comprises the following steps:
obtaining information to be configured, wherein the information to be configured comes from at least one application interface of at least one second electronic device;
determining target configuration information from the information to be configured at least based on configured information of the first electronic equipment;
configuring the first electronic device based at least on the target configuration information.
2. The method of claim 1, wherein obtaining information to be configured comprises:
under the condition that configuration conditions are determined to be met, sending a configuration request to at least one second electronic device to obtain a response result returned by the second electronic device for the configuration request, and processing the response result to obtain the information to be configured; or the like, or, alternatively,
under the condition that configuration conditions are determined to be met, sending a configuration request to at least one piece of second electronic equipment, and determining configuration information returned by the second electronic equipment in response to the configuration request as the information to be configured; or the like, or, alternatively,
and under the condition that the configuration condition is determined to be met, acquiring an image of at least one application interface of at least one second electronic device based on preset operation, and processing the image to obtain the information to be configured.
3. The method of claim 2, wherein the obtaining a response result returned by the second electronic device for the configuration request, and processing the response result to obtain the information to be configured comprises:
under the condition that the second electronic equipment is unique, obtaining a long screen capture image or at least one screen capture image of an application interface aiming at the application based on application information to which a current display interface of the second electronic equipment belongs, and taking a configuration item of the application interface obtained by identifying the long screen capture image and/or the at least one screen capture image as the information to be configured; or the like, or, alternatively,
under the condition that the second electronic equipment is not unique, acquiring a long screenshot image or at least one screenshot image of an application interface aiming at each application based on application information to which a current display interface of each second electronic equipment belongs, and taking a configuration item of each application interface obtained by identifying the long screenshot image and/or the at least one screenshot image as the information to be configured; or the like, or, alternatively,
under the condition that the second electronic equipment is unique, acquiring a screen projection interface of the second electronic equipment on the first electronic equipment, and taking a configuration item of a corresponding application interface of the second electronic equipment, which is obtained by identifying the screen projection interface, as the information to be configured; or the like, or, alternatively,
and under the condition that the second electronic equipment is not unique, acquiring a screen projection interface of each second electronic equipment on the first electronic equipment, and taking the configuration item of the corresponding application interface of each second electronic equipment, which is acquired by identifying the screen projection interface, as the information to be configured.
4. The method according to claim 2, wherein the obtaining an image of at least one application interface of at least one second electronic device based on a preset operation, and processing the image to obtain the information to be configured comprises:
acquiring an interface image of at least one application interface of at least one piece of second electronic equipment based on shooting operation, identifying the interface image to obtain a configuration item of the application interface, and taking the configuration item as the information to be configured; or the like, or, alternatively,
under the condition that the configuration items in the application interface of the second electronic equipment are displayed by the identifiers with the identification code attributes, scanning the application interface of the second electronic equipment to obtain a scanned image, and taking the configuration items obtained by identifying the identifiers in the scanned image as the information to be configured; or the like, or, alternatively,
and under the condition that the configuration item in the application interface of the second electronic equipment can be displayed by using an identification code and the shooting instruction of the first electronic equipment is obtained, obtaining an identification code image of the second electronic equipment, which displays a corresponding interface by using the identification code, and taking the configuration item obtained by identifying the identification code in the identification code image as the information to be configured.
5. The method of claim 1, wherein the determining target configuration information from the information to be configured based on at least configured information of the first electronic device itself comprises:
determining an application interface of second electronic equipment to which the information to be configured belongs;
obtaining configured information of the first electronic equipment based on at least first configuration item information of an application interface of the first electronic equipment corresponding to the application interface of the second electronic equipment;
and comparing the first configuration item information with second configuration item information of an application interface of the second electronic equipment, and determining a comparison result as the target configuration information.
6. The method of claim 1, wherein the determining target configuration information from the information to be configured based on at least configured information of the first electronic device itself comprises:
under the condition that the information to be configured comes from the desktop application of the second electronic equipment, acquiring an icon of the desktop application of the first electronic equipment and a position relation of the icon, comparing the icon and the position relation with the icon in the desktop application of the second electronic equipment and the position relation between the icons, and taking at least difference information between the icons or the position relations as the target configuration information; or the like, or, alternatively,
under the condition that the information to be configured comes from a first application of the second electronic equipment, obtaining application data of a second application corresponding to the first electronic equipment, and taking difference information between the application data of the second application and the application data of the first application as the target configuration information; or the like, or, alternatively,
and under the condition that the information to be configured comes from the system configuration of the second electronic equipment, obtaining system setting parameters corresponding to the first electronic equipment, and taking difference information between the system configuration parameters of the first electronic equipment and the system configuration parameters of the second electronic equipment as the target configuration information.
7. The method of any of claims 1-6, wherein the configuring the first electronic device based at least on the target configuration information comprises:
under the condition that the first electronic device and the second electronic device meet matching conditions, configuring a corresponding interface of the first electronic device based on a configuration item corresponding to the target configuration information, so that the matching degree of the configuration item of the first electronic device on the corresponding interface and an application interface of the second electronic device meets preset conditions; or the like, or, alternatively,
and under the condition that the first electronic equipment and the second electronic equipment do not meet the matching condition, editing the corresponding configuration item of the first electronic equipment based on the configuration item corresponding to the target configuration information, so that the matching degree of the first electronic equipment between the corresponding configuration item and the second electronic equipment meets the preset condition.
8. The method of any of claims 1-6, wherein the configuring the first electronic device based at least on the target configuration information comprises:
under the condition that the target configuration information represents difference information between desktop applications, updating a configuration item corresponding to the difference information to the desktop application of the first electronic device, so that the matching degree of the desktop application of the first electronic device and the desktop application of the second electronic device meets a preset condition; or the like, or, alternatively,
under the condition that the target configuration information represents difference information between application data, updating a configuration item corresponding to the difference information to a corresponding application of the first electronic device, so that the matching degree of the first electronic device and the second electronic device in the corresponding application meets a preset condition; or the like, or, alternatively,
under the condition that the target configuration information represents the difference information between the system configuration parameters, updating the configuration item corresponding to the difference information to the corresponding setting option of the first electronic device, so that the matching degree of the first electronic device and the second electronic device in the corresponding setting option meets the preset condition.
9. A processing method is applied to a second electronic device and comprises the following steps:
receiving a configuration request sent by first electronic equipment;
and processing configuration items of at least one application interface of the second electronic device into information to be configured and returning the information to the first electronic device at least based on the configuration request, so that the first electronic device can determine target configuration information to configure the corresponding interface of the first electronic device based on the configured information of the first electronic device and the information to be configured.
10. A configuration device applied to a first electronic device comprises:
the device comprises an acquisition unit, a configuration unit and a configuration unit, wherein the acquisition unit is used for acquiring information to be configured, and the information to be configured is from at least one application interface of at least one second electronic device;
a determining unit, configured to determine target configuration information from the information to be configured at least based on configured information of the first electronic device itself;
a configuration unit configured to configure the first electronic device based at least on the target configuration information.
CN202010245754.9A 2020-03-31 2020-03-31 Configuration method, processing method and device Pending CN111459571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010245754.9A CN111459571A (en) 2020-03-31 2020-03-31 Configuration method, processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010245754.9A CN111459571A (en) 2020-03-31 2020-03-31 Configuration method, processing method and device

Publications (1)

Publication Number Publication Date
CN111459571A true CN111459571A (en) 2020-07-28

Family

ID=71683483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010245754.9A Pending CN111459571A (en) 2020-03-31 2020-03-31 Configuration method, processing method and device

Country Status (1)

Country Link
CN (1) CN111459571A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114885A (en) * 2020-09-15 2020-12-22 青岛海信移动通信技术股份有限公司 Terminal, control equipment and service processing method
WO2023116493A1 (en) * 2021-12-24 2023-06-29 华为技术有限公司 Application permission synchronization method and related device
CN112114885B (en) * 2020-09-15 2024-05-10 青岛海信移动通信技术有限公司 Terminal, control equipment and service processing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281363A (en) * 2014-09-24 2015-01-14 深圳市金立通信设备有限公司 Interface operation method
CN104317561A (en) * 2014-09-24 2015-01-28 深圳市金立通信设备有限公司 Method of interface operation
CN107819796A (en) * 2016-09-13 2018-03-20 中兴通讯股份有限公司 The method, apparatus and terminal of synchronous terminal real-time status
CN108920658A (en) * 2018-06-29 2018-11-30 北京金山安全软件有限公司 Mobile device desktop moving method and device and electronic device
CN110113407A (en) * 2019-04-30 2019-08-09 上海连尚网络科技有限公司 Small routine state synchronization method, equipment and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281363A (en) * 2014-09-24 2015-01-14 深圳市金立通信设备有限公司 Interface operation method
CN104317561A (en) * 2014-09-24 2015-01-28 深圳市金立通信设备有限公司 Method of interface operation
CN107819796A (en) * 2016-09-13 2018-03-20 中兴通讯股份有限公司 The method, apparatus and terminal of synchronous terminal real-time status
CN108920658A (en) * 2018-06-29 2018-11-30 北京金山安全软件有限公司 Mobile device desktop moving method and device and electronic device
CN110113407A (en) * 2019-04-30 2019-08-09 上海连尚网络科技有限公司 Small routine state synchronization method, equipment and computer storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114885A (en) * 2020-09-15 2020-12-22 青岛海信移动通信技术股份有限公司 Terminal, control equipment and service processing method
CN112114885B (en) * 2020-09-15 2024-05-10 青岛海信移动通信技术有限公司 Terminal, control equipment and service processing method
WO2023116493A1 (en) * 2021-12-24 2023-06-29 华为技术有限公司 Application permission synchronization method and related device

Similar Documents

Publication Publication Date Title
CN111814089B (en) Page rendering method and device, rendering server and storage medium
CN115793950A (en) Control method applied to screen projection scene and related equipment
JP2018525751A (en) Interactive control method and apparatus for voice and video calls
CN113300938B (en) Message sending method and device and electronic equipment
CN106980442B (en) Icon management method and electronic equipment
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
CN112399006B (en) File sending method and device and electronic equipment
EP2806622B1 (en) Displaying a group message
CN110609957B (en) Global searching method, terminal and server
CN112286887A (en) File sharing method and device and electronic equipment
CN110875871A (en) Management method of instant messaging application and electronic equipment
CN111752598A (en) Page generation method and device, electronic equipment and storage medium
CN113504859A (en) Transmission method and device
CN110109594B (en) Drawing data sharing method and device, storage medium and equipment
CN110390641B (en) Image desensitizing method, electronic device and storage medium
CN111459571A (en) Configuration method, processing method and device
CN105204718B (en) Information processing method and electronic equipment
CN110264035A (en) Configuration method, device, terminal and the storage medium of workflow
CN114595007A (en) Operation method, intelligent terminal and storage medium
CN114417201A (en) Message processing method and device, computer equipment and storage medium
EP3770748A1 (en) Communication terminal, communication system, display control method, and carrier medium
CN114126083A (en) Cross-network-segment wireless screen projection method and device, electronic equipment and storage medium
CN112291420B (en) Message display method and terminal equipment
CN113037618B (en) Image sharing method and device
EP2493158A1 (en) Apparatus and method for managing call notes in a wireless device

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