WO2022242585A1 - 控件的信息处理方法、装置、电子设备及存储介质 - Google Patents

控件的信息处理方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2022242585A1
WO2022242585A1 PCT/CN2022/092972 CN2022092972W WO2022242585A1 WO 2022242585 A1 WO2022242585 A1 WO 2022242585A1 CN 2022092972 W CN2022092972 W CN 2022092972W WO 2022242585 A1 WO2022242585 A1 WO 2022242585A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
attribute information
information
value
information processing
Prior art date
Application number
PCT/CN2022/092972
Other languages
English (en)
French (fr)
Inventor
李宝平
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022242585A1 publication Critical patent/WO2022242585A1/zh

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/451Execution arrangements for user interfaces
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the application belongs to the field of computer technology, and in particular relates to an information processing method, device, electronic equipment and storage medium of a control.
  • the user can only operate the current control alone.
  • users need to use the functions or services of multiple controls, they can only switch to these controls separately and operate separately.
  • the operation repetition rate is high, the efficiency is low, and problems such as missed operations and misoperations are prone to occur.
  • the purpose of the embodiments of the present application is to provide a control information processing method, device, electronic equipment and storage medium, which can solve the problems of low operation efficiency and error-proneness in related technologies when using multiple controls.
  • control information processing method including:
  • the attribute information of the second control includes at least second attribute information, and the second attribute information is associated with the first attribute information.
  • control information processing device including:
  • the first processing module is configured to update the property information of the second control based on the first target value when the value of the first property information of the first control on the desktop of the electronic device is updated to a first target value value;
  • the attribute information of the second control includes at least second attribute information, and the second attribute information is associated with the first attribute information.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • the embodiment of the present application provides a computer program product, wherein the computer program product is stored in a non-transitory readable storage medium, and the computer program product is executed by at least one processor to implement the following: The steps of the information processing method described in the first aspect.
  • the embodiment of the present application provides an electronic device configured to execute the steps of the information processing method described in the first aspect.
  • the controls can be associated with other controls, and can follow other controls to generate linkage updates, so that users can receive more effective information at the same time And service, the operation efficiency is higher, and it can effectively avoid missing operations or misoperations, and the accuracy is higher.
  • FIG. 1 is one of the schematic flowcharts of the information processing method of the control provided by the embodiment of the present application;
  • FIG. 2 is a schematic diagram of an example of a control in an information processing method for a control provided in an embodiment of the present application;
  • Fig. 3 is one of the schematic diagrams of updating the information of the control through user operation in the information processing method of the control provided by the embodiment of the present application;
  • Fig. 4 is the second schematic diagram of updating the information of the control through user operation in the information processing method of the control provided by the embodiment of the present application;
  • FIG. 5 is the second schematic flow diagram of the information processing method of the control provided by the embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an information processing device of a control provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the embodiment of the present application aims at the problems of low operation efficiency and error-proneness when using multiple controls in the prior art.
  • the control can be associated with other controls.
  • multiple associated controls can quickly give feedback to the user's operation simultaneously, and can display different information and services of other controls, so that users can receive more effective information and services at the same time, and the operation efficiency is higher. It can effectively avoid missing operation or misoperation, and the accuracy is higher.
  • Fig. 1 is one of the flow diagrams of the control information processing method provided by the embodiment of the present application.
  • the method can be executed by a device having a control function. As shown in Fig. 1, the method includes:
  • Step 101 when the value of the first property information of the first control on the desktop of the electronic device is updated to a first target value, based on the first target value, update the value of the property information of the second control.
  • the attribute information of the second control includes at least second attribute information, and the second attribute information is associated with the first attribute information.
  • the objects to be processed are at least two controls displayed on the desktop of the user electronic device, and there is associated attribute information in the attribute information of the at least two controls, that is, one control has at least There is one attribute information associated with at least one attribute information of another control.
  • the value of the attribute information of the control to be processed can be monitored in real time.
  • a date control it has two attribute information of date and week, wherein: the value of the date attribute information is used to indicate the current month and date, such as the value is March 25; the value of the week attribute information indicates the current week How many, if the value is Friday.
  • the value of the date attribute information can be monitored in real time, such as the value is March 25 or March 26, etc., and the value of the week attribute information can also be monitored, such as the value is Friday or Saturday, etc., and Whether the value of the date attribute information or the week attribute information is changed or updated can be judged according to the monitoring result.
  • the value of the attribute information of a certain control When it is detected that the value of the attribute information of a certain control is changed or updated, it can be used as the first control.
  • the updated value of a specific attribute information in the attribute information whose value has changed may be further determined, wherein the updated value may be called the first target value, and the specific attribute information may be called the first attribute information.
  • updating the value of the first attribute information of the first control to a first target value includes: receiving a first input from a user on the first control, and in response to the first input, setting the The value of the first property information of the first control is updated to the first target value; or when the first control meets the automatic update condition, the value of the first property information of the first control is updated The value is updated to the first target value.
  • the change of the attribute information value of the control in the embodiment of the present application may be generated by the user's operation, such as the user manually switches the date; it may also be a state change generated by the logic design of the control program itself, such as the automatic update of the weather state, Date auto update etc.
  • the embodiment of the present application may pre-set the use and presentation scenario of the control, for example, including the actual hardware environment of the control application and control settings. Then, according to the actual hardware environment and control settings, the user may perform a corresponding switching operation on the first control, and the switching operation is used to update the value of the first attribute information of the first control.
  • the user can slide the controls displayed on the touch panel left and right or up and down, or operate the arrows or buttons on the touch panel for switching attribute information values, or operate the corresponding keys on the keyboard, Or perform a corresponding operation through the connected operation panel, or directly assign a first target value to the first attribute information, etc., to update the first control.
  • the embodiment of the present application may receive the user's switching operation and use it as the user's first input. Afterwards, according to the first input by the user, the first attribute information of the first control is assigned a first target value.
  • the embodiment of the present application may set in advance the update results corresponding to sliding the first control left and right (for example, sliding left corresponds to updating to tomorrow date, sliding to the right corresponds to updating to the date corresponding to yesterday, etc.), if it is read that the user is sliding the first control to the left, then corresponding to the user’s first input, the embodiment of the present application sets the first attribute in the first control to The value of the information is updated to correspond to tomorrow's date.
  • the embodiment of the present application can set in advance the conditions that need to be met for the update of the first control, that is, the automatic update condition, and can monitor the value of the first attribute information of the first control in real time. Changes, and judge in real time whether the automatic update conditions are met. If it is satisfied, assign the first attribute information of the first control as the first target value.
  • the automatic update condition of the control may be set to include: the time reaches 00:00. If it is set in the logic design of the program itself in the control that the date attribute information of the control needs to be switched to the date of the next day when it reaches 00:00, then when the current time reaches 00:00, the date attribute information of the control ( That is, the value of the first attribute information) is updated to the date corresponding to tomorrow (that is, the first target value).
  • the value of the first attribute information of the first control is updated to the first target value, for the second control, that is, other controls except the first control or a specific control, according to the first
  • the association relationship between the attribute information may determine the attribute information associated with the first attribute information, that is, the second attribute information.
  • the value of the second property information can be updated based on the first target value, and the values of other property information of the second control can be further switched to values corresponding to the current value of the second property information.
  • the method further includes: outputting a prompt message or executing a prompt action, the prompt message or the prompt action being used to remind the user that the value of the attribute information of the second control has been updated synchronously.
  • the prompt message may be, for example, a text prompt message or a voice prompt message, etc.
  • the text prompt message may be output in the form of a pop-up window or a message notification.
  • the prompting action may include driving the mobile terminal to vibrate and the like.
  • the value of its date attribute information in the current state is March 26, and the value of its week attribute information is Friday, and March 26 corresponds to Friday in the current state.
  • the left-swipe operation switches the date attribute information corresponding to the date control to March 27, due to the corresponding relationship between the week attribute information and the date attribute information, the value of the week attribute information will also be switched to Saturday accordingly.
  • control is a desktop widget that can realize setting functions or services, and can be used to realize atomic operations of variables, states, etc. Display, and can directly control and operate the application through the small plug-in.
  • Figure 2 it is an example schematic diagram of the controls in the information processing method of the controls provided in the embodiment of the present application, which may include a date control 1, a weather control 2, a to-do list control 3, an album control 4 and a folder control 5 etc., among which:
  • Date control 1 when sliding left and right, you can switch the date and day of the week
  • Weather control 2 when swiped left and right, you can switch the weather conditions of different dates and time points;
  • the to-do item control 3 when swiped left and right, you can switch to-do items of different dates;
  • Folder control 5 when sliding left and right, you can switch to display files accessed on different dates.
  • control in the embodiment of the present application has at least one attribute information, which can be a parameter or variable associated with the control, so it can also be called a parameter or variable, which is used to describe the descriptive nature or characteristics of the control , descriptive properties or characteristics such as: control name, associated items, displayed text, background color, etc.
  • the above-mentioned date control can be associated with two variables of date and week, that is, it has two attribute information of date and week; the above-mentioned weather control has two attribute information of date and weather. Different states of the control can be changed by assigning different values to the attribute information of the control.
  • attribute information association means that at least one set of attribute information of different controls has the same information dimension, or is completely the same or associated, or is associated with a specific parameter or variable at the same time. That is to say, at least one attribute information of a control has the same information dimension as at least one attribute information of other controls, or is completely the same, or is associated, or is associated with the same specific parameter or variable at the same time.
  • the first control and the second control are set, when sliding the first control left and right, you can switch between different months and sales of last year; when you slide the second control left and right, you can Toggle between different months and sales of the year.
  • the second control can also be switched to the month and sales corresponding to this year.
  • the "month" attribute information of the first control and the second control are not exactly the same, but they have an association relationship, so they also belong to the associated attribute information.
  • FIG. 3 it is one of the schematic diagrams of updating the information of the control through user operation in the information processing method of the control provided by the embodiment of the present application.
  • the user operation slide the date control 1 to the right to yesterday, assuming that it is March 25th, Thursday; the corresponding album control 4 also automatically switches to the right to some photos taken yesterday, the file control 5 also automatically switches to the list of files visited yesterday, and the same goes for the to-do control 3 and the weather control 2 Also switch to the events and weather corresponding to March 25.
  • FIG. 4 Another example, as shown in Figure 4, is the second schematic diagram of updating the information of the control through user operation in the information processing method of the control provided by the embodiment of the present application.
  • the to-do item control 3 Through the user operation, slide the to-do item control 3 to the left to tomorrow Assuming that tomorrow is March 27, Saturday; the corresponding date control 1 will also automatically switch to tomorrow March 27, and the weather control 2 will also automatically switch to the weather conditions of tomorrow March 27, and the user can Watch out for tomorrow's weather. If one of the user’s to-do items is [go camping] at this time, but the weather control 2 shows that tomorrow is [storm], the user can change tomorrow’s itinerary based on this information and make a more reasonable decision.
  • the information processing method of the control provided by the embodiment of the present application uses the same information dimension of the attribute information of different controls, so that the control can be associated with other controls, and can follow other controls to generate linkage updates, so that users can receive at the same time More effective information and services can be obtained, the operation efficiency is higher, and missing operations or misoperations can be effectively avoided, and the accuracy is higher.
  • the method further includes: creating a control set based on the correlation between attribute information of different controls, the control set including at least the first control and the second control; in the control set
  • the value of the attribute information of any of the controls changes, an information update notification is sent to other controls in the control set, and the information update notification at least includes the value of the attribute information of any of the controls after the change Second target value.
  • the multiple controls may be associated with each other through the relationship between the attribute information of the controls in advance.
  • multiple controls with associated attribute information can be created to form a control set, that is, multiple controls including at least the above-mentioned first control and second control can be created to form a control set, and at least One piece of attribute information is associated with at least one piece of attribute information of other controls.
  • the date control, weather control, to-do list control, folder control, and photo album control in the above-mentioned embodiments all belong to the control of the "date" dimension, that is, the "date" attribute information of each control is associated.
  • event controls, attractions controls, food controls, and weather controls can be created based on the associated attribute information of "city", or the same information dimension.
  • event control left and right you can switch between different cities and their corresponding major historical events.
  • scenic spot control left and right you can switch between different cities and main attractions in the city area.
  • weather control left and right you can switch between different cities and their current weather conditions.
  • each control in the control set can subscribe to an "information update” event notification, that is, if other controls in the control set have an "information update” event, the control that subscribes to the "information update” event notification Need to be notified.
  • the "information update” event notification is also the information update notification, and the "information update” may only involve the update of the associated attribute information of the control, or it may be the update of any attribute information of the control, which is not specifically limited in the embodiment of the present application. .
  • the embodiment of the present application can monitor whether the state of each control in the control set changes, that is, whether the value of the attribute information of the control is updated.
  • This update can be generated by the user's operation, such as manually switching the date; it can also be The state changes generated by the logic design of the control program itself, such as the automatic update of the weather state. All controls in the same control collection need to be monitored, that is, to monitor whether there is an operation generated by the user, or whether its own state changes.
  • the new value of the property information after the change can be further determined, and the new value can be called the second target value.
  • an information update notification may be sent to controls in the control set that have subscribed to the "information update" event notification, and the information update notification may carry the second target value.
  • the first target value "March 27" can be obtained, and used as the first target value, encapsulated into an information update notification, and broadcast to other controls.
  • the method further includes: displaying the first control and the second control on the desktop of the electronic device, and displaying the first attribute based on the first display mode or the second display mode The value of the information and the value of the second attribute information.
  • the embodiment of the present application can display multiple controls to be processed, including the first control and the second control described in the above embodiments, on the same display interface on, that is, display on the desktop of the user's electronic device.
  • a date control, a weather control, a to-do list control, an album control, a folder control, etc. can be displayed on the same display interface.
  • the preset first display method or the second display method can be used In this manner, the values of the associated first property information and the second property information are displayed differently from the values of other controls or property information.
  • the first display mode is used to directly distinguish and display the value of the first attribute information and the value of the second attribute information from the values of other attribute information, and the type of the first display mode can be, for example, highlighted or colored font or bold font or font italics etc.
  • other attribute information may be at least one of the following attribute information:
  • the display status of other controls associated with the first attribute information in the display interface will be corresponding. Change or update, and the display state of the value of the first attribute information in the display interface and the display state of the value of the attribute information associated with the first attribute information are different from the display states of other attribute information.
  • the value of the date attribute information of the date control when the user slides the date control to the left through the touch screen of the display interface, the value of the date attribute information of the date control can be switched to March 27, and the date control can be The value "March 27" of the date attribute information is highlighted or displayed in colored fonts to achieve a distinctive display.
  • the date attribute information of the weather control associated with the date control 2 through the date attribute information is also switched to March 27, and the value of the date attribute information "March 27" is also highlighted or displayed in colored fonts .
  • the value of the weather attribute information can be switched to the weather information on March 27 correspondingly.
  • the second display mode is used to realize the value of the first attribute information and the value of the second attribute information and other attribute information by using the first control and the second control in a display mode different from other controls on the desktop of the electronic device. Values are displayed differently, and the type of the second display mode can be, for example, highlighting or color font display or bold font display. Wherein, displaying the first control and the second control differently refers to displaying it differently from other controls on the desktop of the electronic device except the first control and the second control.
  • the date control, weather control, and photo album control associated with the "date attribute information” and the event control, scenic spot control, and food control associated with the "city attribute information” are simultaneously displayed, And when the user slides the date control to the left through the touch screen of the user electronic device, the values of the attribute information of the date control, weather control and photo album control associated with the "date attribute information” can all be switched to the value of the next day for further processing. Display, and the values of these attribute information are highlighted or displayed in colored fonts, and will be displayed normally through the event control, scenic spot control and food control associated with the "city attribute information”.
  • the differential display of the controls associated with the "date attribute information the user can more conveniently observe the controls associated with the current operation and the key attribute information of the linkage, thereby facilitating the user to make a reasonable decision.
  • the user by simultaneously displaying the first control and the second control on the same display interface, it can provide convenience for the user's operation and viewing, and can display different information of other controls while the user switches the attribute information value of one control And services, it is convenient for users to make reasonable decisions through information comparison, which is more efficient.
  • the user by displaying the first attribute information of the first control and the second attribute information of the second control differently, the user can locate the associated control and attribute information more conveniently and quickly, thereby further improving operation efficiency.
  • the second schematic flow diagram of the control information processing method provided by the embodiment of the present application includes the following processing steps:
  • Step 501 create a set of controls with the same information dimension.
  • the control set may include, for example, date control, weather control, to-do list control, folder control, photo album control and other controls, all of which belong to the controls of the "date" dimension.
  • Step 502 subscribe an "information update” event for the control. All controls in the control collection subscribe to an "Information Update” event notification to indicate that if other controls send out an "Information Update” event, the current control needs to be notified.
  • the "information update” is just a synonym, and the specific event name can be freely defined.
  • Step 503 monitor whether the state of each control in the control set changes.
  • This state change can be caused by the user's operation, such as manually switching the date, or it can be a state change caused by the logic design of the control program itself, such as automatic update of the weather state Wait. That is to say, all the controls in the same set of controls need to monitor whether the user operates, or their own state changes.
  • Step 504 judging whether the state change has generated an "information update" event.
  • Step 505 if the state change generates an "information update” event, the current control can send out an "information update” event broadcast, and this embodiment of the present application can rebroadcast the "information update” event broadcast.
  • Step 506 through broadcasting, other controls in the control set receive the "information update” event notification.
  • the "information update” event notification carries the updated attribute information value.
  • Step 507 update the information and status of all associated controls according to the "information update" event notification. That is, each control can make corresponding response logic according to the events it subscribes to.
  • the information processing method of the control provided in the embodiment of the present application may be executed by an information processing device of the control, or a control module in the information processing device of the control for executing the information processing method of the control.
  • the information processing device of the control provided by the embodiment of the present application is described by taking the information processing method of the control executed by the information processing device of the control as an example.
  • FIG. 6 it is a schematic structural diagram of an information processing device for a control provided in the embodiment of the present application.
  • the device can be used to realize the information processing of the control in the above-mentioned embodiment of the information processing method for each control.
  • the device includes: first Processing module 601. in,
  • the first processing module 601 is configured to update the property information of the second control based on the first target value when the value of the first property information of the first control on the desktop of the electronic device is updated to a first target value. value.
  • the attribute information of the second control includes at least second attribute information, and the second attribute information is associated with the first attribute information.
  • the device also includes:
  • a receiving module configured to receive a user's first input on the first control
  • a second processing module configured to update the value of the first attribute information of the first control to the first target value in response to the first input
  • the device also includes:
  • a third processing module configured to update the value of the first attribute information of the first control to the first target value when the first control satisfies an automatic update condition.
  • the device also includes:
  • the fourth processing module is configured to create a control set based on the correlation between attribute information of different controls, and the control set includes at least the first control and the second control;
  • the fifth processing module is configured to send an information update notification to other controls in the control set when the value of the attribute information of any control in the control set changes, and the information update notification includes at least The second target value after the value of the attribute information of any control is changed.
  • the device also includes:
  • a first display module configured to display the first control and the second control on the desktop of the electronic device, and display the value of the first attribute information based on the first display mode or the second display mode and the value of the second attribute information.
  • the device also includes:
  • the prompt module is configured to output a prompt message or execute a prompt action, the prompt message or the prompt action is used to remind the user that the value of the attribute information of the second control has been updated synchronously.
  • the information processing device of the control in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the information processing device of the control in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the information processing device of the control provided by the embodiment of the present application can realize each process realized by the method embodiment in Fig. 1 to Fig. 5 , and in order to avoid repetition, details are not repeated here.
  • the embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, and programs or instructions stored in the memory 702 and operable on the processor 701,
  • an electronic device 700 including a processor 701, a memory 702, and programs or instructions stored in the memory 702 and operable on the processor 701,
  • the program or instruction is executed by the processor 701
  • each process of the information processing method embodiment of the above control can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810, etc. part.
  • the electronic device 800 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 810 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the processor 810 is configured to update the attribute information of the second control based on the first target value when the value of the first attribute information of the first control on the desktop of the electronic device is updated to a first target value value.
  • the controls can be associated with other controls, and can follow other controls to generate linkage updates, so that users can receive more valid information and information at the same time. service, the operation efficiency is higher, and it can effectively avoid missing operations or misoperations, and the accuracy is higher.
  • a user input unit 807 configured to receive a first input from a user on the first control
  • a processor 810 configured to, in response to the first input, update the value of the first property information of the first control to the first target value, or, when the first control satisfies an automatic update condition In the case of , update the value of the first attribute information of the first control to the first target value.
  • the processor 810 is further configured to create a control set based on correlations between attribute information of different controls, where the control set includes at least the first control and the second control; and, in the When the value of the attribute information of any control in the control set changes, an information update notification is sent to other controls in the control set, and the information update notification includes at least the value of the attribute information of any control The changed second target value.
  • the display unit 806 is configured to display the first control and the second control on the desktop of the electronic device, and display the first attribute based on the first display mode or the second display mode. The value of the information and the value of the second attribute information.
  • the user by simultaneously displaying the first control and the second control on the same display interface, it can provide convenience for the user's operation and viewing.
  • the user switches the attribute information value of a control, it can display different information and services of other controls. , which is convenient for users to make reasonable decisions through information comparison, which is more efficient.
  • the user by displaying the first attribute information of the first control and the second attribute information of the second control differently, the user can locate the associated control and attribute information more conveniently and quickly, thereby further improving operation efficiency.
  • the processor 810 is further configured to output a prompt message or execute a prompt action, where the prompt message or the prompt action is used to remind the user that the value of the attribute information of the second control has been updated synchronously.
  • the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072 .
  • the touch panel 8071 is also called a touch screen.
  • the touch panel 8071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 809 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, user interface, application programs or instructions, etc., and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, each process of the above-mentioned information processing method embodiment of the control is realized, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the implementation of the information processing method of the above control
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions, and realize the implementation of the information processing method of the above control
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application further provides a computer program product, the computer program product is stored in a non-transitory readable storage medium, and the computer program product is executed by at least one processor to implement the information processing method of the above control
  • the various processes of the embodiment can achieve the same technical effect, so in order to avoid repetition, details are not repeated here.
  • the embodiment of the present application further provides an electronic device, which is configured to implement each process of the embodiment of the information processing method of the above-mentioned controls, and can achieve the same technical effect, and to avoid repetition, details are not repeated here.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

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)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种控件的信息处理方法、装置、电子设备及存储介质,属于计算机技术领域。本申请所述方法包括:在电子设备的桌面上的第一控件的第一属性信息的值更新为第一目标值的情况下,基于所述第一目标值,更新第二控件的属性信息的值;其中,所述第二控件的属性信息至少包括第二属性信息,且所述第二属性信息与所述第一属性信息相关联。

Description

控件的信息处理方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求于2021年05月21日提交的申请号为2021105594909,发明名称为“控件的信息处理方法、装置、电子设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本申请。
技术领域
本申请属于计算机技术领域,具体涉及一种控件的信息处理方法、装置、电子设备及存储介质。
背景技术
目前,在用户通过移动终端使用控件的过程中,只能单独对当前控件进行操作。当用户需要使用多个控件的功能或服务时,只能分别切换到这些控件,分别进行操作,操作重复率高,效率低,且容易出现漏操作、误操作等问题。
发明内容
本申请实施例的目的是提供一种控件的信息处理方法、装置、电子设备及存储介质,能够解决相关技术在使用多个控件时操作效率低、易出错等的问题。
第一方面,本申请实施例提供了一种控件的信息处理方法,该方法包括:
在电子设备的桌面上的第一控件的第一属性信息的值更新为第一目标值的情况下,基于所述第一目标值,更新第二控件的属性信息的值;
其中,所述第二控件的属性信息至少包括第二属性信息,且所述第二 属性信息与所述第一属性信息相关联。
第二方面,本申请实施例提供了一种控件的信息处理的装置,包括:
第一处理模块,用于在电子设备的桌面上的第一控件的第一属性信息的值更新为第一目标值的情况下,基于所述第一目标值,更新第二控件的属性信息的值;
其中,所述第二控件的属性信息至少包括第二属性信息,且所述第二属性信息与所述第一属性信息相关联。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的信息处理方法的步骤。
第七方面,本申请实施例提供了一种电子设备,被配置为执行如第一方面所述的信息处理方法的步骤。
在本申请实施例中,通过不同控件的属性信息所具有的相同信息维度,使得控件可以跟其他控件互相关联,并可跟随其它控件产生联动更新,使用户可以同一时间接收到更多的有效信息和服务,操作效率更高,且能有效避免遗漏操作或误操作,准确性更高。
附图说明
图1为本申请实施例提供的控件的信息处理方法的流程示意图之一;
图2为本申请实施例提供的控件的信息处理方法中控件的示例示意图;
图3为本申请实施例提供的控件的信息处理方法中通过用户操作更新控件的信息的示意图之一;
图4为本申请实施例提供的控件的信息处理方法中通过用户操作更新控件的信息的示意图之二;
图5为本申请实施例提供的控件的信息处理方法的流程示意图之二;
图6为本申请实施例提供的控件的信息处理装置的结构示意图;
图7为本申请实施例提供的电子设备的结构示意图;
图8为实现本申请实施例的电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。
本申请实施例针对现有技术在使用多个控件时操作效率低、易出错等的问题,通过不同控件的属性信息所具有的相同信息维度,使得控件可以跟其他控件互相关联,当用户操作当前控件时,多个关联的控件可以同步对用户的操作快速作出反馈,并可显示其他控件不同的信息和服务,使用户可以同一时间接收到更多的有效信息和服务,操作效率更高,且能有效 避免遗漏操作或误操作,准确性更高。下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的控件的信息处理方法、装置、电子设备及存储介质进行详细地说明。
图1为本申请实施例提供的控件的信息处理方法的流程示意图之一,该方法可由具有控件功能的装置等执行,如图1所示,该方法包括:
步骤101,在电子设备的桌面上的第一控件的第一属性信息的值更新为第一目标值的情况下,基于所述第一目标值,更新第二控件的属性信息的值。
其中,所述第二控件的属性信息至少包括第二属性信息,且所述第二属性信息与所述第一属性信息相关联。
具体而言,本申请实施例中,待处理的对象是用户电子设备的桌面上显示的至少两个控件,且这至少两个控件的属性信息中存在相关联的属性信息,也即一个控件至少存在一个属性信息与另一个控件的至少一个属性信息相关联。
实际应用中,可以实时监测待处理的控件的属性信息的值。例如,对于日期控件,其具有日期和星期两个属性信息,其中:日期属性信息的值用于指示当前的月份和日期,如值为3月25日;星期属性信息的值则指示当前是星期几,如值为星期五。则在本申请实施例中,可以实时监测日期属性信息的值,如值是3月25日或3月26日等,同时也可以监测星期属性信息的值,如值是星期五或星期六等,并可根据监测结果判断日期属性信息或星期属性信息的值是否发生改变或更新。
当监测到某一控件的属性信息的值发生改变或更新时,可以将其作为第一控件。同时,可进一步确定值发生改变的属性信息中某个特定属性信息更新之后的值,其中该更新之后的值可称为是第一目标值,该特定属性信息可称为是第一属性信息。
可选地,所述第一控件的第一属性信息的值更新为第一目标值,包括:接收用户对所述第一控件的第一输入,并响应于所述第一输入,将所述第 一控件的所述第一属性信息的值更新为所述第一目标值;或在所述第一控件满足自动更新条件的情况下,将所述第一控件的所述第一属性信息的值更新为所述第一目标值。
具体而言,本申请实施例控件的属性信息值的改变可以是来自用户的操作所产生,比如用户手动切换日期;也可以是控件程序本身的逻辑设计产生的状态变化,例如天气状态自动更新、日期自动更新等。
对于来自用户的操作产生更新的场景,本申请实施例可以事先设置了控件的使用和呈现场景,例如包括控件应用的实际硬件环境和控件设置等。则根据实际硬件环境和控件设置,可以由用户对第一控件进行对应的切换操作,该切换操作用于更新第一控件的第一属性信息的值。例如,根据实际硬件环境和控件设置,用户可以通过左右滑动或上下滑动触摸面板上显示的控件,或者操作触摸面板上用于属性信息值切换的箭头或按钮,或者操作键盘上的对应的按键,或者通过接入的操作面板进行对应的操作,或者直接对第一属性信息赋值第一目标值等,来对第一控件进行更新操作。
在用户对第一控件进行了切换操作后,本申请实施例可以接收到用户的该切换操作,并可将其作为用户的第一输入。之后,根据用户的该第一输入,将第一控件的第一属性信息赋值为第一目标值。例如,在用户通过左右滑动第一控件进行切换操作的场景中,本申请实施例可以事先设置了向左滑动和向右滑动第一控件分别对应的更新结果(如向左滑动对应更新到明天对应的日期,向右滑动对应更新到昨天对应的日期等),如果读取到用户是向左滑动第一控件,则对应用户的该第一输入,本申请实施例将第一控件中第一属性信息的值更新为明天对应的日期。
对于控件程序本身的逻辑设计产生更新的场景,本申请实施例可以事先设置第一控件的更新需要满足的条件,也即自动更新条件,并可通过实时监测第一控件的第一属性信息值的变化情况,实时判断该自动更新条件是否达到满足。若达到满足,则将第一控件的第一属性信息赋值为第一目标值。
例如,在控件中存在关联到日期信息的属性信息时,可以设置控件的自动更新条件包括:时间到达00:00点。则若控件内程序本身的逻辑设计中设置了到达00:00点时需将控件的日期属性信息切换到后一天的日期,则在当前时间到达00:00点时,将控件的日期属性信息(即第一属性信息)的值更新为明天对应的日期(即第一目标值)。
在监测到第一控件的第一属性信息的值更新为第一目标值之后,对于第二控件,也即除第一控件外的其它控件或某一特定控件,根据与第一控件的第一属性信息间的关联关系,可以确定其与第一属性信息关联的属性信息,也即第二属性信息。同时,可基于第一目标值,更新该第二属性信息的值,并可进一步将第二控件的其它属性信息的值均切换为第二属性信息的当前值对应的值。
可选地,所述方法还包括:输出提示消息或执行提示动作,所述提示消息或所述提示动作用于提醒用户所述第二控件的属性信息的值已同步更新。
具体而言,本申请实施例在通过第二控件与第一控件的联动,更新第二控件的第二属性信息的值后,可以向用户输出提示消息或者执行设定的提示动作,以提醒用户第二控件的属性信息的值已发生同步更新,便于用户进一步操作或作出更合理的决策。其中,提示消息例如可以是文本提示消息或语音提示消息等,文本提示消息则可以以弹窗或消息通知的形式输出。其中,提示动作则可以包括驱动移动终端振动等。
需要说明的是,对于本申请实施例的控件,其可以存在多个属性信息,且各属性信息间存在对应关系。例如上述实施例的日期控件,当前状态下其日期属性信息的值是3月26日,其星期属性信息的值是星期五,当前状态下3月26日与星期五是相对应的。当左滑操作将日期控件对应的日期属性信息切换至3月27日时,由于星期属性信息与日期属性信息间的对应关系,其星期属性信息的值也会相应地切换到星期六。
本申请实施例中,控件是能够实现设定功能或服务的桌面小插件,可 用来实现变量、状态等在多线程下的原子性操作,即能够将应用的内部功能在桌面上通过小插件进行展现,并且可以通过小插件直接对应用进行控制和操作等。例如,可如图2所示,为本申请实施例提供的控件的信息处理方法中控件的示例示意图,可包括日期控件①、天气控件②、待办事项控件③、相册控件④和文件夹控件⑤等,其中:
日期控件①,被左右滑动时可以切换日期和星期几;
天气控件②,被左右滑动时可以切换不同日期和时间点的天气情况;
待办事项控件③,被左右滑动时可以切换不同日期的待办事项;
相册控件④,被左右滑动时可以切换显示不同日期拍摄的照片;
文件夹控件⑤,被左右滑动时可以切换显示不同日期访问过的文件。
其中,本申请实施例中的控件具有至少一个属性信息,该属性信息可以是控件所关联的参数或变量,因此也可称为是参数或变量,用于对控件的描述性性质或特征进行描述,描述性性质或特征如:控件名称、关联的事项、显示的文字、背景颜色等。
例如,上述举例的日期控件,其可以关联到日期和星期两个变量,也就是具有日期和星期两个属性信息;上述举例的天气控件,具有日期和天气两个属性信息。通过对控件的属性信息赋予不同的值,可以改变控件不同的状态。
本申请实施例中,属性信息相关联是指不同控件的至少一组属性信息是具有相同的信息维度的,或者完全相同或相关联的,或者同时关联至某一特定参数或变量的。也就是说,一个控件的至少一个属性信息与其它控件的至少一个属性信息是具有相同的信息维度的,或者完全相同的,或者相关联的,或者同时关联至同一特定参数或变量的。
例如,上述举例的日期控件、天气控件、待办事项控件、相册控件和文件夹控件中,均存在关联到“日期”这一特定参数的属性信息,因此“日期”即成为这些控件的属性信息中相关联的属性信息。
再如,在历年销售业绩比对场景中,若设置了第一控件和第二控件, 当左右滑动第一控件时,可以切换去年不同的月份和销售额,当左右滑动第二控件时,可以切换今年不同的月份和销售额。如果事先在去年各月份和今年各月份间建立了关联关系,则当左右滑动第一控件切换到去年对应的月份时,第二控件也可以切换到今年对应的月份和销售额。此时第一控件和第二控件的“月份”属性信息不完全相同,但是具有关联关系,因此也属于相关联的属性信息。
举例说明,如图3所示,为本申请实施例提供的控件的信息处理方法中通过用户操作更新控件的信息的示意图之一,通过用户操作,将日期控件①向右滑动到昨天,假设是3月25号,星期四;则对应的相册控件④也自动向右切换到昨天拍摄的一些照片,文件控件⑤也自动切换到昨天访问过到文件列表,同理待办事项控件③和天气控件②也切换到3月25号对应的事项和天气。
另举例说明,如图4所示,为本申请实施例提供的控件的信息处理方法中通过用户操作更新控件的信息的示意图之二,通过用户操作,将待办事项控件③向左滑动到明天的待办,假设明天是3月27号,星期六;则对应的日期控件①也自动切换到明天3月27日,天气控件②也自动切换到明天3月27日当天的天气情况,用户就可以关注到明天天气。假如此时用户待办事项中有一项是【去露营】,但天气控件②显示明天是【暴雨】,用户就可以根据此信息更改明天的行程,做出更合理的决策。
本申请实施例针提供的控件的信息处理方法,通过不同控件的属性信息所具有的相同信息维度,使得控件可以跟其他控件互相关联,并可跟随其它控件产生联动更新,使用户可以同一时间接收到更多的有效信息和服务,操作效率更高,且能有效避免遗漏操作或误操作,准确性更高。
可选地,所述方法还包括:基于不同控件的属性信息间的相互关联关系,创建控件集合,所述控件集合至少包括所述第一控件和所述第二控件;在所述控件集合中的任一控件的属性信息的值发生变化的情况下,向所述控件集合中的其他控件发送信息更新通知,所述信息更新通知中至少包括 所述任一控件的属性信息的值变化后的第二目标值。
具体而言,本申请实施例为实现多个控件的联动,事先可以通过控件属性信息间的关联关系,使这多个控件间产生关联关系。具体可以创建具有相关联的属性信息的多个控件,构成控件集合,也即可以创建至少包括上述第一控件和第二控件的多个控件构成控件集合,并将该控件集合中各控件的至少一个属性信息与其它控件的至少一个属性信息相关联。
例如,上述实施例举例的日期控件、天气控件、待办事项控件、文件夹控件和相册控件,都属于“日期”维度的控件,即各控件的“日期”属性信息是相关联的。
再如,可以基于“城市”这一相关联的属性信息,或者称为相同的信息维度,创建事件控件、景点控件、美食控件和天气控件等。当左右滑动事件控件时,可以切换不同的城市和其对应的历史重大事件,当左右滑动景点控件时,可以切换不同的城市和城市区域内主要的景点,当左右滑动美食控件时,可以切换不同的城市和城市区域内排名靠前的多个美食店铺,当左右滑动天气控件时,可以切换不同的城市及其当前天气情况。
本申请实施例中,可以为控件集合内的各控件均订阅一个“信息更新”事件通知,也即:如果控件集合内其他控件发生“信息更新”事件时,订阅“信息更新”事件通知的控件需要被通知。其中,“信息更新”事件通知也即信息更新通知,“信息更新”可以仅涉及控件的相关联的属性信息的更新,也可以是控件的任何属性信息的更新,本申请实施例并不作具体限定。
之后,本申请实施例可以监听控件集合中各控件的状态是否发生变化,也即控件的属性信息的值是否发生更新,这个更新可以是来自用户的操作所产生,比如手动切换日期;也可以是控件程序本身的逻辑设计产生的状态变化,例如天气状态自动更新。所有同一控件集合中的控件都需要被监听,也即监听是否有用户产生的操作,或者自身状态是否产生变化。
在通过上述监听确定其中任一控件的属性信息的值发生变化时,可以 进一步确定发生该变化后,该属性信息的新值,该新值可称为是第二目标值。之后,可以向该控件集合中订阅了“信息更新”事件通知的控件发送信息更新通知,并在该信息更新通知中携带该第二目标值。
举例说明,对于上述举例的日期控件、天气控件、待办事项控件、相册控件和文件夹控件,当通过用户向左滑动日期控件,将日期切换到后一天对应的日期3月27日时,本申请实施例可以获取到该第一目标值“3月27日”,并将其作为第一目标值,封装到信息更新通知中,向其它控件进行广播。
本申请实施例通过创建控件属性信息间具有关联关系的控件集合,并在其中任一控件的属性信息值发生改变时,发出信息更新通知,使得控件不再是单一的“信息孤岛”,而是能够与其他控件进行通信、联动或反馈,从而在同一时间提供更多的控件信息和服务,使不同信息和服务收益扩大化。
可选地,所述方法还包括:在所述电子设备的桌面上,显示所述第一控件和所述第二控件,且基于第一显示方式或第二显示方式,显示所述第一属性信息的值和所述第二属性信息的值。
具体而言,为了便于用户操作或通过信息对照进行合理决策,本申请实施例可以将待处理的多个控件,包括上述各实施例所述的第一控件和第二控件,在同一个显示界面上,即在用户电子设备的桌面上进行显示。例如,可如图2所示,将日期控件、天气控件、待办事项控件、相册控件和文件夹控件等,在同一个显示界面上进行显示。
在上述对第一控件和第二控件进行显示时,为了突出二者间相关联的属性信息,使用户更直观的查看到联动的关键信息,可以采用预设的第一显示方式或者第二显示方式,将相关联的第一属性信息和第二属性信息的值与其它控件或属性信息的值进行区别显示。
其中,第一显示方式用于直接将第一属性信息的值和第二属性信息的值与其它属性信息的值进行区别显示,第一显示方式的类型例如可以是高 亮或彩色字体或加粗字体或字体斜体显示等。其中,其它属性信息可以是以下属性信息中至少之一:
第一控件中除第一属性信息之外的属性信息;
第二控件中除第二属性信息之外的属性信息;
除第一控件和第二控件之外其它控件的属性信息。
当用户通过显示界面触摸屏或者其它操作方式,任意操作其中的任一个控件使其第一属性信息的值发生改变时,显示界面中其他与其通过第一属性信息关联的控件的显示状态均将发生相应改变或更新,且显示界面中第一属性信息的值的显示状态和与第一属性信息相关联的属性信息的值的显示状态均区别于其他属性信息的显示状态。
例如,图2所示的日期控件②,当用户通过显示界面触摸屏向左滑动该日期控件时,可以将该日期控件的日期属性信息的值切换到3月27日,且可以通过将该日期控件的日期属性信息的值“3月27日”采用高亮显示或使用彩色字体显示等以实现区别显示。此时,通过日期属性信息与日期控件②关联的天气控件的日期属性信息也切换到3月27日,且同样将其中日期属性信息的值“3月27日”高亮显示或使用彩色字体显示。同时,天气属性信息的值可对应的切换到3月27日的天气信息。
其中,第二显示方式用于通过将第一控件和第二控件采用区别于电子设备的桌面上其他控件的显示方式,实现第一属性信息的值和第二属性信息的值与其它属性信息的值的区别显示,第二显示方式的类型例如可以是高亮或彩色字体或加粗字体显示等。其中将第一控件和第二控件进行区别显示是指与电子设备的桌面中除第一控件和第二控件外的其它控件的区别显示。
例如,在当前用户电子设备的桌面上同时显示有通过“日期属性信息”相关联的日期控件、天气控件和相册控件,以及通过“城市属性信息”相关联的事件控件、景点控件和美食控件,且用户通过用户电子设备触摸屏向左滑动操作了日期控件的情况下,可以将通过“日期属性信息”相关联 的日期控件、天气控件和相册控件的属性信息的值均切换到此后一天的值进行显示,且这些属性信息的值均采用高亮显示或彩色字体显示,同时将通过“城市属性信息”相关联的事件控件、景点控件和美食控件进行常规显示。通过对利用“日期属性信息”相关联的各控件的区别显示,可以使用户更方便的观察出当前操作所关联的控件以及联动的关键属性信息,进而便于用户合理决策。
本申请实施例通过在同一显示界面上同时显示第一控件和第二控件,可以为用户的操作和查看提供便利,且可以在用户切换一个控件的属性信息值的同时,显示其他控件不同的信息和服务,方便用户通过信息对照进行合理决策,效率更高。同时,通过对第一控件的第一属性信息和第二控件的第二属性信息进行区别显示,能够使用户更方便快捷的定位到关联的控件和属性信息,从而进一步提高操作效率。
为更清楚的说明本申请实施例的技术方案,以下在上述各实施例的基础上进行举例说明,但不对本申请要求保护的范围进行限制。
如图5所示,为本申请实施例提供的控件的信息处理方法的流程示意图之二,其中包括以下处理步骤:
步骤501,创建具有相同信息维度的控件集合。该控件集合可以包括例如:日期控件、天气控件、待办事项控件、文件夹控件及相册控件等控件,这些控件都属于“日期”维度的控件。
步骤502,为控件订阅一个“信息更新”事件。控件集合中所有控件订阅一个“信息更新”的事件通知,用以表示:如果其他控件有发出“信息更新”事件,当前控件需要被通知。其中的“信息更新”只是一个代名词,具体事件名可以自由定义。
步骤503,监听控件集合中各控件状态是否产生变化,这个状态变化可以是来自用户的操作所产生,如手动切换日期,也可以是控件程序本身的逻辑设计产生的状态变化,例如天气状态自动更新等。也即,所有同一控件集合的控件都需要监听用户是否产生操作,或者自身的状态产生变化。
步骤504,判断状态变化是否产生了“信息更新”事件。
步骤505,如果状态变化产生了“信息更新”事件,则当前控件可以发出“信息更新”事件广播,本申请实施例可以转播该“信息更新”事件广播。
步骤506,通过广播,控件集合中其余的控件收到“信息更新”事件通知。该“信息更新”事件通知中携带了更新后的属性信息值。
步骤507,根据“信息更新”事件通知,更新所有关联的控件的信息和状态。也即,各个控件可以根据自身订阅的事件,做出对应的响应逻辑。
需要说明的是,本申请实施例提供的控件的信息处理方法,执行主体可以为控件的信息处理装置,或者该控件的信息处理装置中的用于执行控件的信息处理方法的控制模块。本申请实施例中以控件的信息处理装置执行控件的信息处理方法为例,说明本申请实施例提供的控件的信息处理装置。
如图6所示,为本申请实施例提供的控件的信息处理装置的结构示意图,该装置可以用于实现上述各控件的信息处理方法实施例中的控件的信息处理,该装置包括:第一处理模块601。其中,
第一处理模块601用于在电子设备的桌面上的第一控件的第一属性信息的值更新为第一目标值的情况下,基于所述第一目标值,更新第二控件的属性信息的值。其中,所述第二控件的属性信息至少包括第二属性信息,且所述第二属性信息与所述第一属性信息相关联。
可选地,所述装置还包括:
接收模块,用于接收用户对所述第一控件的第一输入;
第二处理模块,用于响应于所述第一输入,将所述第一控件的所述第一属性信息的值更新为所述第一目标值;
或,所述装置还包括:
第三处理模块,用于在所述第一控件满足自动更新条件的情况下,将所述第一控件的所述第一属性信息的值更新为所述第一目标值。
可选地,所述装置还包括:
第四处理模块,用于基于不同控件的属性信息间的相互关联关系,创建控件集合,所述控件集合至少包括所述第一控件和所述第二控件;
第五处理模块,用于在所述控件集合中的任一控件的属性信息的值发生变化的情况下,向所述控件集合中的其他控件发送信息更新通知,所述信息更新通知中至少包括所述任一控件的属性信息的值变化后的第二目标值。
可选地,所述装置还包括:
第一显示模块,用于在所述电子设备的桌面上,显示所述第一控件和所述第二控件,且基于第一显示方式或第二显示方式,显示所述第一属性信息的值和所述第二属性信息的值。
可选地,所述装置还包括:
提示模块,用于输出提示消息或执行提示动作,所述提示消息或所述提示动作用于提醒用户所述第二控件的属性信息的值已同步更新。
本申请实施例中的控件的信息处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的控件的信息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为IOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的控件的信息处理装置能够实现图1至图5的方法 实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701,存储器702,存储在存储器702上并可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述控件的信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
具体地,图8为实现本申请实施例的一种电子设备的硬件结构示意图。该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器810,用于在电子设备的桌面上的第一控件的第一属性信息的值更新为第一目标值的情况下,基于所述第一目标值,更新第二控件的属性信息的值。
本申请实施例中,通过不同控件的属性信息所具有的相同信息维度,使得控件可以跟其他控件互相关联,并可跟随其它控件产生联动更新,使用户可以同一时间接收到更多的有效信息和服务,操作效率更高,且能有效避免遗漏操作或误操作,准确性更高。
可选地,用户输入单元807,用于接收用户对所述第一控件的第一输入;
处理器810,用于响应于所述第一输入,将所述第一控件的所述第一属性信息的值更新为所述第一目标值,或者,在所述第一控件满足自动更新条件的情况下,将所述第一控件的所述第一属性信息的值更新为所述第一目标值。
可选地,处理器810,还用于基于不同控件的属性信息间的相互关联关系,创建控件集合,所述控件集合至少包括所述第一控件和所述第二控件;以及,在所述控件集合中的任一控件的属性信息的值发生变化的情况下,向所述控件集合中的其他控件发送信息更新通知,所述信息更新通知中至少包括所述任一控件的属性信息的值变化后的第二目标值。
本申请实施例通过创建控件属性信息间具有关联关系的控件集合,并在其中任一控件的属性信息值发生改变时,发出信息更新通知,使得控件不再是单一的“信息孤岛”,而是能够与其他控件进行通信、联动或反馈,从而在同一时间提供更多的控件信息和服务,使不同信息和服务收益扩大化。
可选地,显示单元806,用于在所述电子设备的桌面上,显示所述第一控件和所述第二控件,且基于第一显示方式或第二显示方式,显示所述第一属性信息的值和所述第二属性信息的值。
本申请实施例通过在同一显示界面上同时显示第一控件和第二控件,可以为用户的操作和查看提供便利,在用户切换一个控件的属性信息值的同时,显示其他控件不同的信息和服务,方便用户通过信息对照进行合理决策,效率更高。同时,通过对第一控件的第一属性信息和第二控件的第二属性信息进行区别显示,能够使用户更方便快捷的定位到关联的控件和属性信息,从而进一步提高操作效率。
可选地,处理器810,还用于输出提示消息或执行提示动作,所述提示消息或所述提示动作用于提醒用户所述第二控件的属性信息的值已同步更新。
本申请实施例通过在控件的属性信息发生同步更新时向用户输出提 示,可以便于用户进一步操作或作出更合理的决策。
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器809可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序或指令等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述控件的信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述控件的信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例另提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现上述控件的信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例另提供了一种电子设备,被配置为执行以实现上述控件的信息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的 方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种控件的信息处理方法,包括:
    在电子设备的桌面上的第一控件的第一属性信息的值更新为第一目标值的情况下,基于所述第一目标值,更新第二控件的属性信息的值;
    其中,所述第二控件的属性信息至少包括第二属性信息,且所述第二属性信息与所述第一属性信息相关联。
  2. 根据权利要求1所述的控件的信息处理方法,其中,所述第一控件的第一属性信息的值更新为第一目标值,包括:
    接收用户对所述第一控件的第一输入,并响应于所述第一输入,将所述第一控件的所述第一属性信息的值更新为所述第一目标值;或
    在所述第一控件满足自动更新条件的情况下,将所述第一控件的所述第一属性信息的值更新为所述第一目标值。
  3. 根据权利要求1或2所述的控件的信息处理方法,其中,所述方法还包括:
    基于不同控件的属性信息间的相互关联关系,创建控件集合,所述控件集合至少包括所述第一控件和所述第二控件;
    在所述控件集合中的任一控件的属性信息的值发生变化的情况下,向所述控件集合中的其他控件发送信息更新通知,所述信息更新通知中至少包括所述任一控件的属性信息的值变化后的第二目标值。
  4. 根据权利要求1或2所述的控件的信息处理方法,其中,所述方法还包括:
    在所述电子设备的桌面上,显示所述第一控件和所述第二控件,且基于第一显示方式或第二显示方式,显示所述第一属性信息的值和所述第二属性信息的值。
  5. 根据权利要求1或2所述的控件的信息处理方法,其中,所述方法还包括:
    输出提示消息或执行提示动作,所述提示消息或所述提示动作用于提醒用户所述第二控件的属性信息的值已同步更新。
  6. 一种控件的信息处理装置,其中,包括:
    第一处理模块,用于在电子设备的桌面上的第一控件的第一属性信息的值更新为第一目标值的情况下,基于所述第一目标值,更新第二控件的属性信息的值;
    其中,所述第二控件的属性信息至少包括第二属性信息,且所述第二属性信息与所述第一属性信息相关联。
  7. 根据权利要求6所述的控件的信息处理装置,其中,所述装置还包括:
    接收模块,用于接收用户对所述第一控件的第一输入;
    第二处理模块,用于响应于所述第一输入,将所述第一控件的所述第一属性信息的值更新为所述第一目标值;
    或,所述装置还包括:
    第三处理模块,用于在所述第一控件满足自动更新条件的情况下,将所述第一控件的所述第一属性信息的值更新为所述第一目标值。
  8. 根据权利要求6或7所述的控件的信息处理装置,其中,所述装置还包括:
    第四处理模块,用于基于不同控件的属性信息间的相互关联关系,创建控件集合,所述控件集合至少包括所述第一控件和所述第二控件;
    第五处理模块,用于在所述控件集合中的任一控件的属性信息的值发生变化的情况下,向所述控件集合中的其他控件发送信息更新通知,所述信息更新通知中至少包括所述任一控件的属性信息的值变化后的第二目标值。
  9. 根据权利要求6或7所述的控件的信息处理装置,其中,所述装置还包括:
    第一显示模块,用于在所述电子设备的桌面上,显示所述第一控件和 所述第二控件,且基于第一显示方式或第二显示方式,显示所述第一属性信息的值和所述第二属性信息的值。
  10. 根据权利要求6或7所述的控件的信息处理装置,其中,所述装置还包括:
    提示模块,用于输出提示消息或执行提示动作,所述提示消息或所述提示动作用于提醒用户所述第二控件的属性信息的值已同步更新。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的控件的信息处理方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的控件的信息处理方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5任一项所述的控件的信息处理方法。
  14. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的信息处理方法的步骤。
  15. 一种电子设备,被配置为执行如权利要求1至5中任一项所述的信息处理方法的步骤。
PCT/CN2022/092972 2021-05-21 2022-05-16 控件的信息处理方法、装置、电子设备及存储介质 WO2022242585A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110559490.9A CN113296862A (zh) 2021-05-21 2021-05-21 控件的信息处理方法、装置、电子设备及存储介质
CN202110559490.9 2021-05-21

Publications (1)

Publication Number Publication Date
WO2022242585A1 true WO2022242585A1 (zh) 2022-11-24

Family

ID=77323735

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092972 WO2022242585A1 (zh) 2021-05-21 2022-05-16 控件的信息处理方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN113296862A (zh)
WO (1) WO2022242585A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296862A (zh) * 2021-05-21 2021-08-24 维沃移动通信有限公司 控件的信息处理方法、装置、电子设备及存储介质
CN113779055A (zh) * 2021-09-10 2021-12-10 维沃移动通信有限公司 信息处理方法、信息处理装置、电子设备和可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026644A1 (en) * 2004-07-30 2006-02-02 Toru Yamagishi Receiving device and receiving method
CN103984553A (zh) * 2014-05-26 2014-08-13 中科创达软件股份有限公司 一种3d桌面显示方法和系统
CN104636361A (zh) * 2013-11-07 2015-05-20 华为技术有限公司 基于时间轴的文件管理方法和终端设备
CN304354047S (zh) * 2017-03-17 2017-11-14
CN113296862A (zh) * 2021-05-21 2021-08-24 维沃移动通信有限公司 控件的信息处理方法、装置、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026644A1 (en) * 2004-07-30 2006-02-02 Toru Yamagishi Receiving device and receiving method
CN104636361A (zh) * 2013-11-07 2015-05-20 华为技术有限公司 基于时间轴的文件管理方法和终端设备
CN103984553A (zh) * 2014-05-26 2014-08-13 中科创达软件股份有限公司 一种3d桌面显示方法和系统
CN304354047S (zh) * 2017-03-17 2017-11-14
CN113296862A (zh) * 2021-05-21 2021-08-24 维沃移动通信有限公司 控件的信息处理方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN113296862A (zh) 2021-08-24

Similar Documents

Publication Publication Date Title
US10831362B2 (en) Mobile terminal and object change support method for the same
WO2022242585A1 (zh) 控件的信息处理方法、装置、电子设备及存储介质
US20230262013A1 (en) Message Processing Method and Electronic Device
CN111355652A (zh) 管理通知消息的方法及终端
WO2022206699A1 (zh) 消息发送方法、装置及电子设备
CN112988006B (zh) 显示方法、装置、电子设备和存储介质
WO2022048632A1 (zh) 通知消息显示控制方法、装置、电子设备和可读存储介质
WO2023066109A1 (zh) 一种显示方法、装置、电子设备和可读存储介质
WO2023001064A1 (zh) 应用图标的显示方法、装置和电子设备
WO2023005828A1 (zh) 消息显示方法、装置和电子设备
CN111651110A (zh) 群聊消息显示方法、装置、电子设备及存储介质
WO2023143430A1 (zh) 信息显示方法及装置
WO2023093745A1 (zh) 应用图标管理方法, 装置, 电子设备及存储介质
WO2023045927A1 (zh) 对象移动方法和电子设备
WO2023045958A1 (zh) 应用图标显示方法、装置和电子设备
WO2023001265A1 (zh) 应用图标的显示方法、装置、电子设备和可读存储介质
WO2023025121A1 (zh) 显示方法、装置、电子设备及可读存储介质
CN112612391A (zh) 消息处理方法、装置和电子设备
CN113114845B (zh) 通知消息显示方法和装置
CN113325978B (zh) 消息显示方法、装置和电子设备
CN113268182B (zh) 应用图标的管理方法和电子设备
CN113590008A (zh) 聊天消息显示方法、装置及电子设备
CN112286611B (zh) 图标显示方法、装置和电子设备
CN112995406A (zh) 显示方法、装置和电子设备
WO2023078348A1 (zh) 应用程序显示方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22803907

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE