CN105892663B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105892663B
CN105892663B CN201610201935.5A CN201610201935A CN105892663B CN 105892663 B CN105892663 B CN 105892663B CN 201610201935 A CN201610201935 A CN 201610201935A CN 105892663 B CN105892663 B CN 105892663B
Authority
CN
China
Prior art keywords
image
content
user
state
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610201935.5A
Other languages
Chinese (zh)
Other versions
CN105892663A (en
Inventor
柯国庆
贾雪涛
邢其欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610201935.5A priority Critical patent/CN105892663B/en
Publication of CN105892663A publication Critical patent/CN105892663A/en
Application granted granted Critical
Publication of CN105892663B publication Critical patent/CN105892663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses an information processing method and electronic equipment, wherein the method comprises the following steps: detecting the current state of a user through a detection unit of the electronic equipment to obtain a state parameter; acquiring content to be displayed corresponding to the state parameters; generating a first image according to the content to be displayed; acquiring a second image; and setting a background image of the display unit according to the first image and the second image, wherein the display area of the second image on the background image is larger than that of the first image. The method provided by the embodiment of the application is used for solving the technical problems that the mode for setting the wallpaper is single and the interactive application based on the wallpaper is not rich enough in the prior art.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
With the development of electronic technology, electronic devices such as smart phones and tablet computers are used more and more widely and become a part of people's work and life, and users have higher and higher requirements on the functions and aesthetic feeling of the electronic devices.
Taking a mobile phone as an example, besides the functions of talking, watching video, shopping and the like, the mobile phone also has a plurality of functions of increasing the aesthetic feeling and improving the interpersonal interaction, and wallpaper is one of the functions. The user can set a favorite picture as the mobile phone wallpaper, wherein the mobile phone wallpaper comprises the screen locking wallpaper and the desktop wallpaper of the mobile phone.
However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the inventors of the present application find that the above-mentioned technology has at least the following technical problems:
at present, a user can generally select a picture as wallpaper of a mobile phone when setting the wallpaper, but the wallpaper setting mode in the prior art is single, and interactive applications based on the wallpaper are not rich enough.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, and aims to solve the technical problems that a wallpaper setting mode is single and interactive application based on the wallpaper is not abundant in the prior art.
A first aspect of an embodiment of the present application provides an information processing method, including:
detecting the current state of a user through a detection unit of the electronic equipment to obtain a state parameter;
acquiring content to be displayed corresponding to the state parameters;
generating a first image according to the content to be displayed;
acquiring a second image;
and setting a background image of the display unit according to the first image and the second image, wherein the display area of the second image on the background image is larger than that of the first image.
Optionally, the state parameter includes a current speed of the user;
acquiring the content to be displayed corresponding to the state parameters, wherein the method comprises the following steps:
judging whether the current speed is greater than a preset speed or not;
if so, determining that the user is in a driving state;
and acquiring road information corresponding to the position as the content to be displayed based on the position of the user.
Optionally, the state parameter is used to characterize whether the user is in a motion state; acquiring the content to be displayed corresponding to the state parameters, wherein the method comprises the following steps:
and if the user is determined to be in the motion state, acquiring sign information of the user as the content to be displayed.
Optionally, setting a background image of the display unit according to the first image and the second image includes:
acquiring morphological parameters of a central area of the second image; the central region is a foreground region in the second image;
adjusting the first image based on the morphological parameters to obtain a third image; wherein the morphology of the third image is the same as the morphology of the central region;
and setting the background image according to the third image and the second image.
Optionally, setting the background image according to the third image and the second image, including:
displaying the third image and the second image in an overlapping manner as the background image; or
Synthesizing the third image and the second image to obtain the background image; wherein, upon composition, the third image is located above the second image.
Optionally, the method further includes:
detecting and obtaining touch operation of an operation body on the background image;
and responding to the touch operation, and starting an application associated with the content to be displayed corresponding to the first image.
A second aspect of the embodiments of the present application provides an electronic device, including:
a housing;
a processor disposed in the housing, the processor to:
detecting the current state of a user through a detection unit of the electronic equipment to obtain a state parameter; acquiring content to be displayed corresponding to the state parameters; generating a first image according to the content to be displayed; acquiring a second image; and setting a background image of the display unit according to the first image and the second image, wherein the display area of the second image on the background image is larger than that of the first image.
Optionally, the state parameter includes a current speed of the user;
acquiring the content to be displayed corresponding to the state parameters, wherein the method comprises the following steps:
judging whether the current speed is greater than a preset speed or not;
if so, determining that the user is in a driving state;
and acquiring road information corresponding to the position as the content to be displayed based on the position of the user.
Optionally, the state parameter is used to characterize whether the user is in a motion state; the processor is configured to:
and if the user is determined to be in the motion state, acquiring sign information of the user as the content to be displayed.
Optionally, the processor is configured to:
acquiring morphological parameters of a central area of the second image; the central region is a foreground region in the second image;
adjusting the first image based on the morphological parameters to obtain a third image; wherein the morphology of the third image is the same as the morphology of the central region;
and setting the background image according to the third image and the second image.
Optionally, the processor is configured to:
displaying the third image and the second image in an overlapping manner as the background image; or
Synthesizing the third image and the second image to obtain the background image; wherein, upon composition, the third image is located above the second image.
Optionally, the processor is configured to:
detecting and obtaining touch operation of an operation body on the background image;
and responding to the touch operation, and starting an application associated with the content to be displayed corresponding to the first image.
A third aspect of the embodiments of the present application provides an electronic device, including:
the first acquisition unit is used for detecting the current state of a user through a detection unit of the electronic equipment to acquire state parameters;
the second acquisition unit is used for acquiring the content to be displayed corresponding to the state parameter;
the generating unit is used for generating a first image according to the content to be displayed;
a third acquisition unit configured to acquire a second image;
and the setting unit is used for setting a background image of the display unit according to the first image and the second image, wherein the display area occupied by the second image on the background image is larger than the display area occupied by the first image.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
in the scheme of the embodiment of the application, the current state of a user is detected through a detection unit of the electronic equipment, and state parameters are obtained; acquiring content to be displayed corresponding to the state parameters; generating a first image according to the content to be displayed; acquiring a second image; and setting a background image of the display unit according to the first image and the second image, wherein the display area of the second image on the background image is larger than that of the first image. Therefore, according to the scheme of the embodiment of the application, the content to be displayed is obtained according to the current state of the user, the background image of the display unit is generated according to the first image generated according to the content to be displayed, and a new wallpaper setting mode is provided, so that the technical problems that the wallpaper setting mode is single and the interactive application based on the wallpaper is not rich enough in the prior art are solved, and the technical effect of enriching the interactive application based on the wallpaper is realized.
Furthermore, the first image is generated according to the content to be displayed, so that the information content in the background image is increased, a user can obtain more information through the background image, and interactive application based on the wallpaper is enriched.
Drawings
FIG. 1 is a flow chart of an information processing method in an embodiment of the present application;
fig. 2 is a schematic diagram of a foreground region and a background region of a background image in an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for implementing step 105 in the embodiment of the present application;
FIG. 4 is a schematic diagram of a hardware structure of an electronic device in an embodiment of the present application;
fig. 5 is a schematic diagram of functional modules of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention. The embodiments and features of the embodiments of the present invention may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
In the embodiment of the present application, the electronic device may refer to different electronic devices such as a smart phone, a PAD, a Personal Digital Assistant (PDA), and the like, and the electronic device has a background image setting function.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
Referring to fig. 1, an embodiment of the present invention provides an information processing method, which may be applied to an electronic device, that is, an execution subject of each step in the method may be the electronic device. The flow of the method is described below.
Step 101: and detecting the current state of the user through a detection unit of the electronic equipment to obtain the state parameters.
Wherein the first possible case is: the detection unit may be a speed sensor, and the state parameter may be a current speed of the user, and the current speed is used to determine whether the current state of the user is a driving state. For example: when the current state of the user is the driving state, the speed is generally greater than 20km/h, therefore, the preset speed can be set to be 20km/h, whether the current speed is greater than the preset speed is judged, when the current speed is greater than 20km/h, the current state of the user is determined to be the driving state, and when the current speed is less than 20km/h, the current state of the user is determined not to be the driving state.
The second possible scenario is: the detection unit may be a motion sensor, and the state parameter is a parameter detected by the motion sensor, and the state parameter is used to represent whether the user is in a motion state. The detection unit may also be a vital sign sensor for detecting vital sign information of the user, such as electrocardiogram, pulse, body temperature, and the like, and the state parameter may be the vital sign information of the user, and the vital sign information is used for determining whether the current state of the user is a motion state. For example: the healthy person beats 60 to 80 times per minute in a quiet state, determines that the current state of the user is a moving state if the number of pulses per minute of the user is greater than 80 times, and determines that the current state of the user is not a moving state if the number of pulses per minute of the user is less than 80 times.
In practical application, the vital sign information can be information detected by a vital sign sensor on the electronic device, and also can be information detected by a vital sign sensor on other electronic devices, wherein other electronic devices can be wearable devices worn on the body of the user, such as: smart watches, smart bracelets, and the like.
Step 102: and acquiring the content to be displayed corresponding to the state parameter.
Specifically, if the state parameter is a speed value and the current speed of the user is greater than a preset speed, step 102 includes: and acquiring road information corresponding to the position as the content to be displayed based on the position of the user. If the state parameter is vital sign information and the vital sign information detected by the electronic device indicates that the user is in a motion state, step 102 includes: and acquiring the physical sign information of the user as the content to be displayed.
Step 103: and generating a first image according to the content to be displayed.
The first image format may be a jpg format, a png format, a tiff format, etc., as long as the electronic device can display and process the first image, and the shape of the first image may be a rectangle or a square, etc., which is not limited in this application.
The first image comprises at least road information for the first possible case in step 101 and at least vital sign information of the user for the second possible case in step 102.
Step 104: a second image is acquired.
The second image format may be a jpg format, a png format, a tiff format, etc., as long as the electronic device can display and process the second image, which is not limited in this application.
One possible scenario is: the second image may be an image stored in the electronic device, such as a picture taken and saved by a camera of the electronic device, or an image downloaded via a network, or an image transmitted by another electronic device, and so on. Another possible scenario is: the second image is a currently displayed background image of the display unit. As shown in fig. 2, the second image itself includes a foreground region (graph 201) and a background region (rectangular frame 202), and when the second image is displayed on the display unit, a stereoscopic display effect similar to a "gallery" can be presented on the display unit through the display of the foreground region and the background region, so as to enhance the visual experience of the user.
Step 105: and setting a background image of the display unit according to the first image and the second image, wherein the display area occupied by the second image on the background image is larger than that occupied by the first image, namely, the size of the second image is larger than that of the first image.
Specifically, the background image of the display unit may be understood as a lock screen wallpaper of the display unit, or a desktop wallpaper of the display unit, or other images that may be used as a background of the display unit, which is not limited in this application.
When the second image is the background image currently displayed by the display unit, the background image is set by step 105 in the following manner. As shown in fig. 3, step 105 includes the following steps:
step 1051: acquiring morphological parameters of a central area of the second image; the central region is a foreground region in the second image. The morphological parameters of the foreground region refer to the shape, size and other parameters of the foreground region. The foreground area can be in a rectangular shape, a circular shape, a triangular shape, a rounded rectangle shape and the like; for example: the foreground area is rectangular, and the size of the foreground area can be 2.5 x 4 cm; another example is: the foreground region is circular and may have a size of radius 3 cm.
Optionally, the center of the foreground region may be the center of the display unit, or may not be the center of the display unit, which is not limited in the present application.
Step 1052: adjusting the first image based on the morphological parameters to obtain a third image; wherein the morphology of the third image is the same as the morphology of the central region.
In the specific implementation process, there are many ways to adjust the image, and the following two ways are described in the embodiments of the present application.
In the first mode, the first image is compressed or stretched according to the morphological parameters of the foreground region, and a third image is obtained. The method is suitable for the situation that the shape of the first image is the same as that of the foreground area, and the original width and height of the first image are in equal proportion to those of the foreground area, and the first image is adjusted through an adjusting method of equal proportion compression or stretching, so that the distortion and deformation of image content caused by image compression or stretching can be reduced to the greatest extent while the shapes of the first image and the foreground area are ensured to be the same.
The second method is to crop the first image according to the morphological parameters of the foreground region, which is more suitable when the shape of the first image is the same as or different from that of the foreground region. For example: the first image is rectangular, and the foreground area is circular, so that the third image can be obtained by cutting the first image. At the time of cropping, the core portion on the first image may be preferentially preserved. For example: for a first image including road information, a core part on the first image refers to an image of a congested road segment; for a first image comprising feature information, the core part on the first image is then the data part.
In order to retain more content, in the second mode, the image may be compressed first and then cropped according to the first mode.
In practical application, the first image may also be adjusted by adopting other adjustment modes, which is not limited in the present application.
After the first image is adjusted, the obtained third image has the same form as the foreground region, for example: the foreground region is a rectangle of 2.5 x 4cm, and the third image is a rectangle of 2.5 x 4 cm; another example is: the foreground region is a circle with a radius of 3cm, and the third image is a circle with a radius of 3 cm.
Step 1053: and setting the background image according to the third image and the second image.
In a specific implementation, the processing manner of setting the background image of the display unit according to the third image and the second image may be various. In the present embodiment, the following two processing methods will be explained.
The first mode is as follows: step 1053 includes: and displaying the third image and the second image in an overlapping mode to serve as the background image. That is, the second image and the third image may be displayed superimposed as a background image, i.e., the background image actually includes two images.
Because the size of the second image is larger than that of the third image, when the third image is displayed in an overlapping mode, the third image is overlapped at the position of the foreground area in the second image, and the display layer of the third image is arranged to be located on the display layer of the second image, so that a three-dimensional display effect similar to a gallery can be presented when the third image is displayed, and the visual experience of a user is enhanced.
Through the mode, the wallpaper images in various forms can be obtained through changing the layout structure of the second image and the third image, the wallpaper image is differentiated from the visual effect with the wallpaper setting mode in the prior art, the visual experience of a user is enhanced, and the identification degree of the background image of the display unit is further improved.
The second mode is as follows: step 1053 includes: synthesizing the third image and the second image to obtain the background image; and during synthesis, the third image is positioned on the second image, and the third image is displayed at the position of the foreground area in the second image. That is, the second image and the third image are synthesized into one image, the synthesized image is used as a background image, and the obtained background image is set as a background image of the display unit.
The second image and the third image are synthesized to be used as the background image, so that a new background image setting mode is provided, and the storage space of the equipment can be saved to a certain extent.
In the above scheme, the content to be displayed corresponding to the current state of the user is displayed in the foreground area of the background image, on one hand, a new background image setting mode is provided, so that the wallpaper of the electronic equipment is differentiated from the wallpaper setting mode in the prior art in terms of visual effect, the information content of the background image of the electronic equipment can be increased, the user can obtain more information through the background image, and the interactive application based on the wallpaper is enriched.
In another embodiment of the present application, the second image is an image stored in the electronic device, and the second image itself does not include the foreground region and the background region, the background image is set as follows.
Specifically, the adjusting the form of the first image includes adjusting the shape and size of the first image, so that the size of the adjusted first image is smaller than the size of the second image. Then, the adjusted first image is displayed in a foreground area of the background image, and the second image is displayed in a background area of the background image.
When the background image of the display unit is set according to the adjusted first image and second image, the background image may be set by image superimposition or image synthesis, as well.
In another embodiment of the application, a display effect can be set for an image in a foreground area, for example, the background image is screen locking wallpaper, the display effect is an animation effect, after the screen locking wallpaper is set, when a user unlocks, and when the user touches the image in the foreground area, the image in the foreground area can show the animation effect, so that the interestingness of operation can be increased, and the brand recognition degree of the screen locking wallpaper can be improved. Of course, the display effect may also refer to other display effects such as displaying the foreground region in a semi-transparent manner, which is not limited in this application.
In another embodiment of the present application, in order to enhance the image of the foreground region, the second image may be further processed, and the processed second image is displayed in the background region of the background image.
For example: and performing blurring processing on the second image, wherein the blurring processing is an image processing mode of taking the average value of the peripheral pixels of each pixel in the image. Specifically, other blurring processing modes such as gaussian blurring, dynamic blurring, radial blurring, surface blurring and the like can be adopted, after blurring processing, display contents in the second image are blurred and blurred, then, when the first image and the second image are respectively displayed in the foreground area and the background area, the foreground image can be highlighted, the overall effect of the background image is more stereoscopic, the visual effect is closer to the visual effect of a picture gallery, and the visual experience of a user is enhanced.
Further, in order to enrich the interaction of the wallpaper, in another embodiment of the present application, the method further comprises:
detecting and obtaining touch operation of an operation body on the background image; and responding to the touch operation, and starting an application associated with the content to be displayed corresponding to the first image.
The operation body may be a finger of a user or a touch pen, and the touch operation may be an operation of the operation body at any position on the background image, such as: and performing touch operation in the foreground area of the background image, or performing touch operation in the background area of the background image.
The application associated with the content to be displayed may be an application associated with the content to be displayed, which is preset by a user.
The first possible scenario is: if the content to be displayed is road information, the application associated with the road information may be a map application. When the electronic equipment detects that the user is in a driving state and displays the road information in the foreground area of the background image, the user can quickly start the map application only by touching the background image and display the display interface of the application on the display unit, so that the user can check the current road information through the map application or perform path navigation. In the prior art, if the background image is the screen locking wallpaper, the user needs to unlock the background image first and find the map application from the desktop, so that the map application can be opened.
The second possible scenario is: and if the content to be displayed is the sign information of the user, the application associated with the sign information can be a health application. After the electronic device detects that the user is in a motion state and displays the physical sign information in the foreground area of the background image, the user can quickly start the health application only by touching the background image and display the display interface of the application on the display unit, so that the user can view more detailed physical sign information or all physical sign information in a recent period of time. However, in the prior art, if the background image is the lock screen wallpaper, the user needs to unlock the background image first and find the health application from the desktop, so that the health application can be opened.
In practical applications, the content to be displayed may also be other content, and correspondingly, the application associated with the content to be displayed may also be other applications different from the map application and the health application, which is not limited in this application.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, as shown in fig. 4, including:
a housing 40;
a processor 41 disposed in the housing 40, the processor 41 being configured to:
detecting the current state of a user through a detection unit of the electronic equipment to obtain a state parameter; acquiring content to be displayed corresponding to the state parameters; generating a first image according to the content to be displayed; acquiring a second image; and setting a background image of the display unit according to the first image and the second image, wherein the display area of the second image on the background image is larger than that of the first image.
Optionally, the state parameter includes a current speed of the user;
acquiring the content to be displayed corresponding to the state parameters, wherein the method comprises the following steps:
judging whether the current speed is greater than a preset speed or not;
if so, determining that the user is in a driving state;
and acquiring road information corresponding to the position as the content to be displayed based on the position of the user.
Optionally, the state parameter is used to characterize whether the user is in a motion state; the processor 41 is configured to:
and if the user is determined to be in the motion state, acquiring sign information of the user as the content to be displayed.
Optionally, the processor 41 is configured to:
acquiring morphological parameters of a central area of the second image; the central region is a foreground region in the second image;
adjusting the first image based on the morphological parameters to obtain a third image; wherein the morphology of the third image is the same as the morphology of the central region;
and setting the background image according to the third image and the second image.
Optionally, the processor 41 is configured to:
displaying the third image and the second image in an overlapping manner as the background image; or
Synthesizing the third image and the second image to obtain the background image; wherein, upon composition, the third image is located above the second image.
Optionally, the processor 41 is configured to:
detecting and obtaining touch operation of an operation body on the background image;
and responding to the touch operation, and starting an application associated with the content to be displayed corresponding to the first image.
Based on the same inventive concept, an embodiment of the present application further provides an electronic device, as shown in fig. 5, including:
a first obtaining unit 50, configured to detect a current state of a user through a detecting unit of the electronic device, and obtain a state parameter;
a second obtaining unit 51, configured to obtain content to be displayed corresponding to the state parameter;
a generating unit 52, configured to generate a first image according to the content to be displayed;
a third acquisition unit 53 for acquiring a second image;
a setting unit 54, configured to set a background image of the display unit according to the first image and the second image, where a display area of the second image on the background image is larger than a display area of the first image.
Optionally, the state parameter includes a current speed of the user; the second obtaining unit 51 is configured to:
judging whether the current speed is greater than a preset speed or not;
if so, determining that the user is in a driving state;
and acquiring road information corresponding to the position as the content to be displayed based on the position of the user.
Optionally, the state parameter is used to characterize whether the user is in a motion state; the second obtaining unit 51 is configured to: and if the user is determined to be in the motion state, acquiring sign information of the user as the content to be displayed.
Optionally, the setting unit 54 is configured to:
acquiring morphological parameters of a central area of the second image; the central region is a foreground region in the second image;
adjusting the first image based on the morphological parameters to obtain a third image; wherein the morphology of the third image is the same as the morphology of the central region;
and setting the background image according to the third image and the second image.
Optionally, the setting unit 54 is configured to:
displaying the third image and the second image in an overlapping manner as the background image; or
Synthesizing the third image and the second image to obtain the background image; wherein, upon composition, the third image is located above the second image.
Optionally, the electronic device further includes:
the touch operation detection unit is used for detecting and obtaining the touch operation of an operation body on the background image;
and the starting unit is used for responding to the touch operation and starting the application related to the content to be displayed corresponding to the first image.
Through one or more technical solutions in the embodiments of the present application, one or more of the following technical effects can be achieved:
in the scheme of the embodiment of the application, the current state of a user is detected through a detection unit of the electronic equipment, and state parameters are obtained; acquiring content to be displayed corresponding to the state parameters; generating a first image according to the content to be displayed; acquiring a second image; and setting a background image of the display unit according to the first image and the second image, wherein the display area of the second image on the background image is larger than that of the first image. Therefore, according to the scheme of the embodiment of the application, the content to be displayed is obtained according to the current state of the user, the background image of the display unit is generated according to the first image generated according to the content to be displayed, and a new wallpaper setting mode is provided, so that the technical problems that the wallpaper setting mode is single and the interactive application based on the wallpaper is not rich enough in the prior art are solved, and the technical effect of enriching the interactive application based on the wallpaper is realized.
Furthermore, the first image is generated according to the content to be displayed, so that the information content in the background image is increased, a user can obtain more information through the background image, and interactive application based on the wallpaper is enriched.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the information processing method in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the computer program instructions corresponding to the information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
detecting the current state of a user through a detection unit of the electronic equipment to obtain a state parameter;
acquiring content to be displayed corresponding to the state parameters;
generating a first image according to the content to be displayed;
acquiring a second image;
and setting a background image of the display unit according to the first image and the second image, wherein the display area of the second image on the background image is larger than that of the first image.
Optionally, the state parameter includes a current speed of the user;
stored in the storage medium and the steps of: acquiring the content to be displayed corresponding to the state parameter, wherein the corresponding computer instruction specifically comprises the following steps in the specific executed process:
judging whether the current speed is greater than a preset speed or not;
if so, determining that the user is in a driving state;
and acquiring road information corresponding to the position as the content to be displayed based on the position of the user.
Optionally, the state parameter is used to characterize whether the user is in a motion state; stored in the storage medium and the steps of: acquiring the content to be displayed corresponding to the state parameter, wherein the corresponding computer instruction specifically comprises the following steps in the specific executed process:
and if the user is determined to be in the motion state, acquiring sign information of the user as the content to be displayed.
Optionally, the step of storing in the storage medium: setting a background image of the display unit according to the first image and the second image, wherein the corresponding computer instructions specifically comprise the following steps in the specific executed process:
acquiring morphological parameters of a central area of the second image; the central region is a foreground region in the second image;
adjusting the first image based on the morphological parameters to obtain a third image; wherein the morphology of the third image is the same as the morphology of the central region;
and setting the background image according to the third image and the second image.
Optionally, the step of storing in the storage medium: setting the background image according to the third image and the second image, wherein the corresponding computer instruction specifically comprises the following steps in the specific executed process:
displaying the third image and the second image in an overlapping manner as the background image; or
Synthesizing the third image and the second image to obtain the background image; wherein, upon composition, the third image is located above the second image.
Optionally, the storage medium further stores other computer instructions, and the computer instructions when executed include the following steps:
detecting and obtaining touch operation of an operation body on the background image;
and responding to the touch operation, and starting an application associated with the content to be displayed corresponding to the first image.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (11)

1. An information processing method comprising:
detecting the current state of a user through a detection unit of the electronic equipment to obtain a state parameter;
acquiring the content to be displayed corresponding to the state parameter, wherein the content to be displayed comprises the state of the user determined according to the state parameter, and the content to be displayed corresponding to the state of the user is acquired;
generating a first image according to the content to be displayed so as to increase the information content in the background image;
acquiring a second image, wherein the second image is screen locking wallpaper of a display unit;
setting a background image of the display unit according to the first image and the second image, wherein the display area occupied by the second image on the background image is larger than the display area occupied by the first image;
detecting and obtaining touch operation of an operation body on the background image;
and responding to the touch operation, and starting an application associated with the content to be displayed corresponding to the first image.
2. The method of claim 1, wherein the status parameters include a current speed of the user;
acquiring the content to be displayed corresponding to the state parameters, wherein the method comprises the following steps:
judging whether the current speed is greater than a preset speed or not;
if so, determining that the user is in a driving state;
and acquiring road information corresponding to the position as the content to be displayed based on the position of the user.
3. The method of claim 1, wherein the state parameter is used to characterize whether a user is in motion; acquiring the content to be displayed corresponding to the state parameters, wherein the method comprises the following steps:
and if the user is determined to be in the motion state, acquiring sign information of the user as the content to be displayed.
4. The method of any of claims 1-3, wherein setting a background image of the display unit based on the first image and the second image comprises:
acquiring morphological parameters of a central area of the second image; the central region is a foreground region in the second image;
adjusting the first image based on the morphological parameters to obtain a third image; wherein the morphology of the third image is the same as the morphology of the central region;
and setting the background image according to the third image and the second image.
5. The method of claim 4, wherein setting the background image from the third image and the second image comprises:
displaying the third image and the second image in an overlapping manner as the background image; or
Synthesizing the third image and the second image to obtain the background image; wherein, upon composition, the third image is located above the second image.
6. An electronic device, comprising:
a housing;
a processor disposed in the housing, the processor to:
detecting the current state of a user through a detection unit of the electronic equipment to obtain a state parameter; acquiring the content to be displayed corresponding to the state parameter, wherein the content to be displayed comprises the state of the user determined according to the state parameter, and the content to be displayed corresponding to the state of the user is acquired; generating a first image according to the content to be displayed so as to increase the information content in the background image; acquiring a second image, wherein the second image is screen locking wallpaper of a display unit; setting a background image of the display unit according to the first image and the second image, wherein the display area occupied by the second image on the background image is larger than the display area occupied by the first image;
the processor is configured to:
detecting and obtaining touch operation of an operation body on the background image;
and responding to the touch operation, and starting an application associated with the content to be displayed corresponding to the first image.
7. The electronic device of claim 6, wherein the status parameter includes a current speed of the user;
acquiring the content to be displayed corresponding to the state parameters, wherein the method comprises the following steps:
judging whether the current speed is greater than a preset speed or not;
if so, determining that the user is in a driving state;
and acquiring road information corresponding to the position as the content to be displayed based on the position of the user.
8. The electronic device of claim 6, wherein the state parameter is used to characterize whether a user is in a motion state; the processor is configured to:
and if the user is determined to be in the motion state, acquiring sign information of the user as the content to be displayed.
9. The electronic device of any of claims 6-8, wherein the processor is to:
acquiring morphological parameters of a central area of the second image; the central region is a foreground region in the second image;
adjusting the first image based on the morphological parameters to obtain a third image; wherein the morphology of the third image is the same as the morphology of the central region;
and setting the background image according to the third image and the second image.
10. The electronic device of claim 9, wherein the processor is to:
displaying the third image and the second image in an overlapping manner as the background image; or
Synthesizing the third image and the second image to obtain the background image; wherein, upon composition, the third image is located above the second image.
11. An electronic device, comprising:
the first acquisition unit is used for detecting the current state of a user through a detection unit of the electronic equipment to acquire state parameters;
the second acquisition unit is used for acquiring the content to be displayed corresponding to the state parameter, determining the state of the user according to the state parameter and acquiring the content to be displayed corresponding to the state of the user;
the generating unit is used for generating a first image according to the content to be displayed so as to increase the information content in the background image;
the third acquisition unit is used for acquiring a second image, wherein the second image is the currently displayed screen locking wallpaper of the display unit;
the setting unit is used for setting a background image of the display unit according to the first image and the second image, wherein the display area of the second image on the background image is larger than that of the first image;
detecting and obtaining touch operation of an operation body on the background image;
and responding to the touch operation, and starting an application associated with the content to be displayed corresponding to the first image.
CN201610201935.5A 2016-03-31 2016-03-31 Information processing method and electronic equipment Active CN105892663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610201935.5A CN105892663B (en) 2016-03-31 2016-03-31 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610201935.5A CN105892663B (en) 2016-03-31 2016-03-31 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105892663A CN105892663A (en) 2016-08-24
CN105892663B true CN105892663B (en) 2021-02-19

Family

ID=57013319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610201935.5A Active CN105892663B (en) 2016-03-31 2016-03-31 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105892663B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106373110A (en) * 2016-11-30 2017-02-01 努比亚技术有限公司 Method and device for image fusion
CN106681608A (en) * 2016-12-07 2017-05-17 上海传英信息技术有限公司 Method and device for setting wallpaper and electronic equipment
CN109388472B (en) * 2018-10-25 2021-11-23 网易(杭州)网络有限公司 Wallpaper display method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681217A (en) * 2007-09-04 2010-03-24 佳能株式会社 Image projection apparatus and control method for same
US20110164053A1 (en) * 2008-09-12 2011-07-07 Fujitsu Ten Limited Information processing device and information processing method
CN103186281A (en) * 2011-12-27 2013-07-03 爱信艾达株式会社 Input system
CN104360735A (en) * 2014-10-28 2015-02-18 深圳市金立通信设备有限公司 Interface display method
CN105094615A (en) * 2015-08-10 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499301B (en) * 2008-02-03 2012-02-22 幻音科技(深圳)有限公司 Multimedia device capable of real-time regulating output according to vital sign parameter
CN102508594A (en) * 2011-09-30 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Terminal and standby interface display method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681217A (en) * 2007-09-04 2010-03-24 佳能株式会社 Image projection apparatus and control method for same
US20110164053A1 (en) * 2008-09-12 2011-07-07 Fujitsu Ten Limited Information processing device and information processing method
CN103186281A (en) * 2011-12-27 2013-07-03 爱信艾达株式会社 Input system
CN104360735A (en) * 2014-10-28 2015-02-18 深圳市金立通信设备有限公司 Interface display method
CN105094615A (en) * 2015-08-10 2015-11-25 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105892663A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN114303120B (en) virtual keyboard
CN110610453B (en) Image processing method and device and computer readable storage medium
US10083151B2 (en) Interactive mobile video viewing experience
US20190080498A1 (en) Creating augmented reality self-portraits using machine learning
US9922681B2 (en) Techniques for adding interactive features to videos
US11875023B2 (en) Method and apparatus for operating user interface, electronic device, and storage medium
US11132544B2 (en) Visual fatigue recognition method, visual fatigue recognition device, virtual reality apparatus and storage medium
KR20160016955A (en) Manipulation of virtual object in augmented reality via intent
CN106303729B (en) Exchange method, interactive device and user equipment based on barrage
US20150063785A1 (en) Method of overlappingly displaying visual object on video, storage medium, and electronic device
CN105938390B (en) Content output apparatus, content outputting method
US11463618B2 (en) Apparatus for providing information and method of providing information, and non-transitory storage medium
CN105892663B (en) Information processing method and electronic equipment
CN104463782B (en) Image processing method, device and electronic equipment
JP2023515411A (en) Video rendering method, apparatus, electronic equipment and storage medium
CN113570609A (en) Image display method and device and electronic equipment
CN113625983A (en) Image display method, image display device, computer equipment and storage medium
US10242479B2 (en) Information processing device and information processing method
CN113132800B (en) Video processing method and device, video player, electronic equipment and readable medium
CN114690984B (en) Off-screen display method and electronic equipment
CN104902318A (en) Playing control method and terminal device
CN109448132B (en) Display control method and device, electronic equipment and computer readable storage medium
CN108027646A (en) A kind of terminal shows anti-fluttering method and device
CN117152022B (en) Image processing method and electronic equipment
CN107643934A (en) A kind of application message methods of exhibiting, system and terminal based on message bullet frame

Legal Events

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