CN106250234A - Pay close attention to processing method and the electronic equipment of operation - Google Patents
Pay close attention to processing method and the electronic equipment of operation Download PDFInfo
- Publication number
- CN106250234A CN106250234A CN201610587435.XA CN201610587435A CN106250234A CN 106250234 A CN106250234 A CN 106250234A CN 201610587435 A CN201610587435 A CN 201610587435A CN 106250234 A CN106250234 A CN 106250234A
- Authority
- CN
- China
- Prior art keywords
- concerned item
- close attention
- concern
- state
- concerned
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The present embodiments relate to data communication technology field, disclose a kind of processing method paying close attention to operation and electronic equipment.The processing method paying close attention to operation includes: receive the concern operation of the concerned item that at least one application module generates;When judge concerned item data base exists in described concerned item, and concerned item data base the current state of the described concerned item of record with described pay close attention to state corresponding after operation performs inconsistent time, concern is operated transmission to server;When judging concerned item data base does not exists described concerned item, described concerned item is added concerned item data base, and concern operation is sent to server.The embodiment of the present invention additionally provides a kind of electronic equipment.The embodiment of the present invention achieves the unified management closing pouring functions of each application module, avoid the repetitive operation to same concerned item independently realizing closing pouring functions in prior art due to each application module and may cause such that it is able to optimize the utilization of resources of electronic equipment internal and reduce energy consumption.
Description
Technical field
The present embodiments relate to data communication technology field, particularly to a kind of processing method paying close attention to operation and electronics
Equipment.
Background technology
At present, a lot of application programs in electronic equipment all have pass pouring functions, i.e. application program can provide a bag
Include the concern interface of multiple selectable concerned item, concerned item for example, certain sports league, certain program etc.;Consequently facilitating be
User pushes hot information (being directed to add the concerned item paid close attention to).
Inventor, during realizing the present invention, finds that prior art has following defects that along with developer is to respectively should
Obtain from strength to strength with the functional development of program, the application program of a lot of difference in functionalitys increasingly resource communization, the most permissible
Obtain some identical resource;Such as, two application programs potentially include identical concerned item;When respectively in the two application journey
After this concerned item is paid attention in by sequence, the relevant information of this concerned item can be obtained respectively.That is, the pass of existing each application program
Pouring functions is all independent, it is thus possible to occur that certain concerned item repeats the phenomenon paid attention in different application.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of processing method paying close attention to operation and electronic equipment, it is to avoid existing
Technology is completely independent the repetition of the state to same concerned item realizing closing pouring functions and may cause due to each application module
Amendment operation such that it is able to optimize the utilization of resources of electronic equipment internal and reduce energy consumption.
For solving above-mentioned technical problem, embodiments provide a kind of processing method paying close attention to operation, including: receive
The concern operation of the concerned item that at least one application module generates;When judging concerned item data base exists described concerned item,
And in described concerned item data base the current state of the described concerned item of record with described pay close attention to operation execution after corresponding state
Time inconsistent, concern operation is sent to server;When judging described concerned item data base does not exists described concerned item,
Described concerned item is added concerned item data base, and concern operation is sent to server.
The embodiment of the present invention additionally provides a kind of electronic equipment, including paying close attention to processing module, concerned item data base and many
Individual application module;Each application module can generate the concern operation of at least one concerned item, and sends to described concern process mould
Block;Pay close attention to processing module to be used for judging whether focused data storehouse exists described concerned item;When there is described concerned item, pay close attention to
Processing module is additionally operable to judge that in concerned item data base, the current state of the described concerned item of record is right after performing with concern operation
The state answered is the most consistent;When inconsistent, pay close attention to processing module and be additionally operable to send to server concern operation;When not existing
During described concerned item, pay close attention to processing module and be additionally operable to add in concerned item data base described concerned item, and concern operation is sent out
Deliver to server.
The embodiment of the present invention in terms of existing technologies, will be carried out paying close attention to the pass of operation by any one application module
Note item is stored in default concerned item data base and records the current state of this concerned item;Generate by application module receiving
The concern operation of concerned item time, by inquiry, whether concerned item data base exists the current shape of this concerned item and this concerned item
State;Decide whether to send to server the concern operation received.Thus, it is achieved that the concern merit of each application module
Can unified management, it is to avoid in prior art due to each application module be completely independent realize closing pouring functions and may cause right
The amendment that repeats of the state of same concerned item operates such that it is able to optimizes the utilization of resources of electronic equipment internal and reduces energy consumption.
It addition, it is corresponding after being revised as the current state of the described concerned item in concerned item data base paying close attention to operation execution
State after, also include: will pay close attention to operation confirmation signal send to generate pay close attention to operation described application module;Wherein,
Generate the application module paying close attention to operation and confirm the described concerned item of record in modification of signal application module according to what concern operated
State.That is, instant notice generates the application module paying close attention to operation so that this application module internal record of application module time update
The state of described concerned item.
It addition, it is right after the current state of described concerned item concerned item data base stored is revised as paying close attention to operation execution
After the state answered, also include: according to the default corresponding relation of concerned item Yu application module, obtain described concerned item corresponding many
Individual application module;The confirmation signal paying close attention to operation is sent to the multiple application modules corresponding to described concerned item;Wherein, corresponding
Multiple application modules in described concerned item confirm the described concern of record in modification of signal application module according to what concern operated
The state of item.Thus, as long as carrying out this concerned item paying close attention to operation in an application module, other include answering of this concerned item
Synchronized update all can be obtained by the state of this concerned item in module.
It addition, when paying close attention to operation and paying close attention to for cancelling, when receiving the confirmation signal paying close attention to operation that server returns,
Described concerned item in concerned item data base is removed.I.e., now concerned item data base only stores to be currently in and has focused on shape
The concerned item of state;The actually requirement to the storage capacity of concerned item data base is less;In other words, for electronic equipment
Speech, can more save memory space.
It addition, the concern processing module of electronic equipment is calendar application module.Calendar application module is due to function own
Needs can be constantly in open mode, therefore can monitor the concern operation of other application modules the moment.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the processing method paying close attention to operation according to the first embodiment;
Fig. 2 is the flow chart of the processing method paying close attention to operation according to the second embodiment;
Fig. 3 is the flow chart of the processing method paying close attention to operation according to the 3rd embodiment;
Fig. 4 is the flow chart of the processing method paying close attention to operation according to the 4th embodiment;
Fig. 5 is the block diagram of the virtual module of the electronic equipment according to the 5th embodiment;
Fig. 6 is the block diagram of the entity apparatus of the electronic equipment according to the 6th embodiment.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing to the present invention
Each embodiment be explained in detail.But, it will be understood by those skilled in the art that each embodiment party of the present invention
In formula, in order to make reader be more fully understood that, the application proposes many ins and outs.But, even if there is no these ins and outs
With many variations based on following embodiment and amendment, it is also possible to realize the application each claim skill required for protection
Art scheme.
First embodiment of the present invention relates to a kind of processing method paying close attention to operation, is applied to include paying close attention to processing module
With the electronic equipment of multiple application modules, electronic equipment for example, smart mobile phone.Pay close attention to processing module equal with multiple application modules
Being arranged in this electronic equipment, each application module such as may include that wallpaper application, calendar application, pleasure regard video etc., the most originally
This is not intended to be limited in any by embodiment.Each application module includes multiple concerned item, and user can be to it in each application module
Including arbitrary concerned item select pay attention in or cancel concern;The concern operation of this concerned item that each application module can generate
(signal).Paying close attention to operation can be to pay attention in or cancel concern;After paying attention in execution, the state of correspondence is for having focused on state,
Cancel state corresponding after paying close attention to execution for not pay close attention to state.
In present embodiment, the concern of concerned item based on same account title can be operated and use present embodiment institute
The processing method stated processes.Specifically, user in multiple application modules with same account title application account,
When user's concerned item to certain application module under this account title (with this account name login account) operates,
This application module generates binding has the concern of this account title to operate.Corresponding, concerned item data base stores each account name
Claim corresponding concern state storage area.Pay close attention to processing module and can identify each account title paid close attention to bound in operation, and look into
Look for the concern state storage area that this account title in concerned item data base is corresponding, to carry out subsequent treatment.So present embodiment
This does not do any restriction, and those skilled in the art can design according to actual needs.
The idiographic flow of the processing method paying close attention to operation of present embodiment is as shown in Figure 1.
Step 101: receive the concern operation of the concerned item that at least one application module generates.
That is, each application module selects to generate the concern operation of concerned item according to user, and the concern of this concerned item is grasped
Send to paying close attention to processing module.
Step 102: judge whether there is described concerned item in the concerned item data base preset.If existing, then enter step
103;If not existing, then enter step 104.
Wherein, the concerned item data base preset stores the concerned item being carried out paying close attention to operation.That is, pay close attention to when certain
After item is paid attention in, the current state that can be stored to concerned item data base and this concerned item is registered as having focused on state;When
When this concerned item is cancelled concern again, the current state of this concerned item is registered as not paying close attention to state.In other words, certain is paid close attention to
As long as item is cancelled again concern after being paid attention in or paying attention in, concerned item data base can store this concerned item and be somebody's turn to do
The current state of concerned item.
Therefore, if concerned item data base exists described concerned item, then it represents that this concerned item was once carried out paying close attention to behaviour
Make and at least paid attention in;If concerned item data base not existing described concerned item, then it represents that this concerned item is not added pass
Noted.
Step 103: after judging that in concerned item data base, the current state of the described concerned item of record performs with concern operation
Corresponding state is the most consistent.If consistent, then terminate;If inconsistent, then enter step 105.
Assuming to pay close attention to and operate as paying attention in, the state after its execution is for having focused on state;If record in concerned item data base
The current state of described concerned item for not paying close attention to state (may before pay close attention to be cancelled again), represent that this concerned item is current
Not yet paid attention in, then paying attention in of this is effective, enters step 105;Otherwise, if record is described in concerned item data base
The current state of concerned item, for having focused on state, represents that this concerned item has been paid attention in and (is probably in other application modules
The operation carried out), then paying attention in of this substantially belongs to repetitive operation, pays close attention to processing module and does not deals with it.
It should be noted that owing to the state of the concerned item of each application module is separate records, each application module is not
Know whether certain concerned item has been paid attention in other application modules or cancelled concern, it is thus possible to there will be and repeat behaviour
Make.Such as, application module A, B all includes concerned item C;After concerned item C is paid attention in application module A, application module A remembers
The state of concerned item C of record be to have focused on state (current state of concerned item C recorded in focused data storehouse is also for having focused on shape
State), and in application module B, the state of concerned item C of record remains as the state of concern;Now, may in application module B
Repeat concerned item C is paid attention in.
Step 104: concerned item is added concerned item data base.Then, step 105 is entered.
If this concerned item was not yet added concern, then this concerned item is added this concerned item data base.Need explanation
It is that the application module sending this concern operation can be bound to this concerned item and together be stored in concerned item data by concern processing module
Storehouse.
Step 105: concern operation is sent to server.
In the present embodiment, any one application module the concerned item carrying out paying close attention to operation is stored in default concern
In association database and record the current state of this concerned item;Operate in the concern receiving the concerned item generated by application module
Time, the current state of this concerned item and this concerned item whether is there is by inquiry concerned item data base;Decide whether
The concern operation received is sent to server.Thus, it is achieved that the unified management closing pouring functions of each application module, it is to avoid
Prior art is completely independent, due to each application module, the state to same concerned item realizing closing pouring functions and may cause
Repeat amendment operation such that it is able to optimize the utilization of resources of electronic equipment internal and reduce energy consumption.
The step of the most various methods divides, and is intended merely to describe clear, it is achieved time can merge into a step or
Some step is split, is decomposed into multiple step, as long as including identical logical relation, all at the protection domain of this patent
In;To adding inessential amendment in algorithm or in flow process or introducing inessential design, but do not change its algorithm
With the core design of flow process all in the protection domain of this patent.
Second embodiment of the present invention relates to a kind of processing method paying close attention to operation.Second embodiment is real first
Executing the improvement on the basis of mode, mainly the improvement is that: in this second embodiment, the processing method paying close attention to operation also includes
The state confirming this concerned item in modification of signal concerned item data base according to server this concern operation of notice generation in time
Application module.
The idiographic flow of the processing method paying close attention to operation of present embodiment is as shown in Figure 2.
Step 201: receive the concern operation of the concerned item that at least one application module generates.
That is, each application module selects to generate the concern operation of concerned item according to user, and the concern of this concerned item is grasped
Send to paying close attention to processing module.
Step 202: judge whether there is described concerned item in the concerned item data base preset.If existing, then enter step
203;If not existing, then enter step 204.
Wherein, the concerned item data base preset stores the concerned item being carried out paying close attention to operation.That is, pay close attention to when certain
After item is paid attention in, the current state that can be stored to concerned item data base and this concerned item is registered as having focused on state;When
When this concerned item is cancelled concern again, the current state of this concerned item is registered as not paying close attention to state.In other words, certain is paid close attention to
As long as item is cancelled again concern after being paid attention in or paying attention in, concerned item data base can store this concerned item and be somebody's turn to do
The current state of concerned item.
Therefore, if concerned item data base exists described concerned item, then it represents that this concerned item was once carried out paying close attention to behaviour
Make and at least paid attention in;If concerned item data base not existing described concerned item, then it represents that this concerned item is not added pass
Noted.
Step 203: after judging that in concerned item data base, the current state of the described concerned item of record performs with concern operation
Corresponding state is the most consistent.If consistent, then terminate;If inconsistent, then enter step 205.
Assuming to pay close attention to and operate as paying attention in, the state after its execution is for having focused on state;If record in concerned item data base
The current state of described concerned item for not paying close attention to state (may before pay close attention to be cancelled again), represent that this concerned item is current
Not yet paid attention in, then paying attention in of this is effective, enters step 105;Otherwise, if record is described in concerned item data base
The current state of concerned item, for having focused on state, represents that this concerned item has been paid attention in and (is probably in other application modules
The operation carried out), then paying attention in of this substantially belongs to repetitive operation, pays close attention to processing module and does not deals with it.
It should be noted that owing to the state of the concerned item of each application module is separate records, each application module is not
Know whether certain concerned item has been paid attention in other application modules or cancelled concern, it is thus possible to there will be and repeat behaviour
Make.Such as, application module A, B all includes concerned item C;After concerned item C is paid attention in application module A, application module A remembers
The state of concerned item C of record be to have focused on state (current state of concerned item C recorded in focused data storehouse is also for having focused on shape
State), and in application module B, the state of concerned item C of record remains as the state of concern;Now, may in application module B
Repeat concerned item C is paid attention in.
Step 204: concerned item is added concerned item data base.Then, step 205 is entered.
If this concerned item was not yet added concern, then this concerned item is added this concerned item data base.Need explanation
It is that the application module sending this concern operation can be bound to this concerned item and together be stored in concerned item data by concern processing module
Storehouse.
Step 205: concern operation is sent to server.
Step 206: judge whether to receive the confirmation signal paying close attention to operation that server returns.The most then enter step
207;If it is not, then terminate.
Actual, pay close attention to processing module internal preset effective waiting time;From paying close attention to processing module, concern operation is sent out
Timing is started, if being not received by the confirmation paying close attention to operation that server returns within this effective waiting time after delivering to server
Signal, then be defaulted as this request paying close attention to operation failure.
Step 207: the current state of the concerned item in concerned item data base is recorded as paying close attention to correspondence after operation performs
State.
Pay close attention to processing module and update the current state of the concerned item of record in concerned item data base.
Step 208: the confirmation signal paying close attention to operation is sent to generating the application module paying close attention to operation.
Wherein, record in the confirmation modification of signal application module that the application module paying close attention to operation operates according to this concern is generated
The state of described concerned item.That is, the state of the processing module this concerned item to generating in the application module paying close attention to operation is paid close attention to
It is updated.
In present embodiment, after receiving the confirmation signal that server returns, to this concerned item in concerned item data base
State modify and in time notice generate this concern operation application module.For the first embodiment, this reality
The technical scheme executing example is more perfect.
Third embodiment of the present invention relates to a kind of processing method paying close attention to operation.3rd embodiment and second is implemented
Mode is roughly the same, is in place of the main distinction: in this second embodiment, sends the confirmation signal paying close attention to operation to generating
The described described application module (i.e. step 208) paying close attention to operation.And in third embodiment of the invention, concern is operated really
Recognize signal to send to all application modules including this concerned item.
The flow chart of the processing method of the note operation of present embodiment is as shown in Figure 3.
Step 301: receive the concern operation of the concerned item that at least one application module generates.
That is, each application module selects to generate the concern operation of concerned item according to user, and the concern of this concerned item is grasped
Send to paying close attention to processing module.
Step 302: judge whether there is described concerned item in the concerned item data base preset.If existing, then enter step
303;If not existing, then enter step 304.
Wherein, the concerned item data base preset stores the concerned item being carried out paying close attention to operation.That is, pay close attention to when certain
After item is paid attention in, the current state that can be stored to concerned item data base and this concerned item is registered as having focused on state;When
When this concerned item is cancelled concern again, the current state of this concerned item is registered as not paying close attention to state.In other words, certain is paid close attention to
As long as item is cancelled again concern after being paid attention in or paying attention in, concerned item data base can store this concerned item and be somebody's turn to do
The current state of concerned item.
Therefore, if concerned item data base exists described concerned item, then it represents that this concerned item was once carried out paying close attention to behaviour
Make and at least paid attention in;If concerned item data base not existing described concerned item, then it represents that this concerned item is not added pass
Noted.
Step 303: after judging that in concerned item data base, the current state of the described concerned item of record performs with concern operation
Corresponding state is the most consistent.If consistent, then terminate;If inconsistent, then enter step 305.
Assuming to pay close attention to and operate as paying attention in, the state after its execution is for having focused on state;If record in concerned item data base
The current state of described concerned item for not paying close attention to state (may before pay close attention to be cancelled again), represent that this concerned item is current
Not yet paid attention in, then paying attention in of this is effective, enters step 105;Otherwise, if record is described in concerned item data base
The current state of concerned item, for having focused on state, represents that this concerned item has been paid attention in and (is probably in other application modules
The operation carried out), then paying attention in of this substantially belongs to repetitive operation, pays close attention to processing module and does not deals with it.
It should be noted that owing to the state of the concerned item of each application module is separate records, each application module is not
Know whether certain concerned item has been paid attention in other application modules or cancelled concern, it is thus possible to there will be and repeat behaviour
Make.Such as, application module A, B all includes concerned item C;After concerned item C is paid attention in application module A, application module A remembers
The state of concerned item C of record be to have focused on state (current state of concerned item C recorded in focused data storehouse is also for having focused on shape
State), and in application module B, the state of concerned item C of record remains as the state of concern;Now, may in application module B
Repeat concerned item C is paid attention in.
Step 304: concerned item is added concerned item data base.Then, step 305 is entered.
If this concerned item was not yet added concern, then this concerned item is added this concerned item data base.Need explanation
It is that the application module sending this concern operation can be bound to this concerned item and together be stored in concerned item data by concern processing module
Storehouse.
Step 305: concern operation is sent to server.
Step 306: judge whether to receive the confirmation signal paying close attention to operation that server returns.The most then enter step
307;If it is not, then terminate.
Actual, pay close attention to processing module internal preset effective waiting time;From paying close attention to processing module, concern operation is sent out
Timing is started, if being not received by the confirmation paying close attention to operation that server returns within this effective waiting time after delivering to server
Signal, then be defaulted as this request paying close attention to operation failure.
Step 307: the current state of the concerned item in concerned item data base is recorded as paying close attention to correspondence after operation performs
State.
Pay close attention to processing module and update the current state of the concerned item of record in concerned item data base.
Step 308: according to the default corresponding relation of concerned item Yu application module, obtaining corresponding multiple of described concerned item should
Use module.
Wherein, concerned item data base also stores the default corresponding relation of concerned item and application module.Pay close attention to processing module
Obtain all application modules including this concerned item.Can be in advance from each application module it should be noted that pay close attention to processing module
Obtain each concerned item that each application module includes, and then set up the default corresponding relation of this concerned item and application module;Or, respectively
Each concerned item that each application module can actively be included by application module sends to paying close attention to processing module, and then pays close attention to processing module
Set up the default corresponding relation of this concerned item and application module;So this is not intended to be limited in any by present embodiment.
Step 309: the confirmation signal paying close attention to operation is sent to the multiple application modules corresponding to described concerned item.
Wherein, each application module corresponding to described concerned item is respectively applied according to the described confirmation modification of signal paying close attention to operation
The state of the described concerned item of record in module.That is, as long as carrying out this concerned item paying close attention to operation in an application module, its
He includes that the state of this concerned item in the application module of this concerned item all can obtain synchronized update;Such that it is able to realize respectively should
With the message intercommunication of module.
In present embodiment, the confirmation signal paying close attention to operation is sent to all application modules including this concerned item.That is,
As long as carrying out this concerned item paying close attention to operation in an application module, other include this pass in the application module of this concerned item
The state of note item all can obtain synchronized update.For the second embodiment, can avoid owing to other application modules do not have
There is the problem upgraded in time and cause user's repetitive operation.
4th embodiment of the present invention relates to a kind of processing method paying close attention to operation.4th embodiment is real second
Execute the improvement on the basis of mode roughly the same, mainly the improvement is that: (i.e. receive after concerned item is cancelled and pays close attention to successfully
What server returned cancels the confirmation signal paid close attention to), the described concerned item in concerned item data base is removed.
The idiographic flow of the processing method paying close attention to operation of present embodiment is as shown in Figure 4.
Step 401: receive the concern operation of the concerned item that at least one application module generates.
That is, each application module selects to generate the concern operation of concerned item according to user, and the concern of this concerned item is grasped
Send to paying close attention to processing module.
Step 402: judge whether there is described concerned item in the concerned item data base preset.If existing, then enter step
403;If not existing, then enter step 404.
Wherein, the concerned item data base preset stores the concerned item being carried out paying close attention to operation.That is, pay close attention to when certain
After item is paid attention in, the current state that can be stored to concerned item data base and this concerned item is registered as having focused on state;When
When this concerned item is cancelled concern again, the current state of this concerned item is registered as not paying close attention to state.In other words, certain is paid close attention to
As long as item is cancelled again concern after being paid attention in or paying attention in, concerned item data base can store this concerned item and be somebody's turn to do
The current state of concerned item.
Therefore, if concerned item data base exists described concerned item, then it represents that this concerned item was once carried out paying close attention to behaviour
Make and at least paid attention in;If concerned item data base not existing described concerned item, then it represents that this concerned item is not added pass
Noted.
Step 403: after judging that in concerned item data base, the current state of the described concerned item of record performs with concern operation
Corresponding state is the most consistent.If consistent, then terminate;If inconsistent, then enter step 405.
Assuming to pay close attention to and operate as paying attention in, the state after its execution is for having focused on state;If record in concerned item data base
The current state of described concerned item for not paying close attention to state (may before pay close attention to be cancelled again), represent that this concerned item is current
Not yet paid attention in, then paying attention in of this is effective, enters step 105;Otherwise, if record is described in concerned item data base
The current state of concerned item, for having focused on state, represents that this concerned item has been paid attention in and (is probably in other application modules
The operation carried out), then paying attention in of this substantially belongs to repetitive operation, pays close attention to processing module and does not deals with it.
It should be noted that owing to the state of the concerned item of each application module is separate records, each application module is not
Know whether certain concerned item has been paid attention in other application modules or cancelled concern, it is thus possible to there will be and repeat behaviour
Make.Such as, application module A, B all includes concerned item C;After concerned item C is paid attention in application module A, application module A remembers
The state of concerned item C of record be to have focused on state (current state of concerned item C recorded in focused data storehouse is also for having focused on shape
State), and in application module B, the state of concerned item C of record remains as the state of concern;Now, may in application module B
Repeat concerned item C is paid attention in.
Step 404: concerned item is added concerned item data base.Then, step 405 is entered.
If this concerned item was not yet added concern, then this concerned item is added this concerned item data base.Need explanation
It is that the application module sending this concern operation can be bound to this concerned item and together be stored in concerned item data by concern processing module
Storehouse.
Step 405: concern operation is sent to server.
Step 406: judge whether to receive the confirmation signal paying close attention to operation that server returns.The most then enter step
407;If it is not, then terminate.
Step 407: judge whether described concern operation is to cancel paying close attention to.If so, step 408 is entered;If it is not, entrance step
409。
Step 408: the described concerned item in concerned item data base is removed.And enter step 410.
I.e., now concerned item data base only stores the concerned item being currently in the state of having focused on, actually to concerned item
The requirement of the storage capacity of data base is less;In other words, for electronic equipment, can more save memory space.
Step 409: the current state of the concerned item in concerned item data base is recorded as paying close attention to correspondence after operation performs
State.
Pay close attention to processing module and update the current state of the concerned item of record in concerned item data base.
Step 410: the confirmation signal paying close attention to operation is sent to generating the application module paying close attention to operation.
Wherein, record in the confirmation modification of signal application module that the application module paying close attention to operation operates according to this concern is generated
The state of described concerned item.That is, the state of the processing module this concerned item to generating in the application module paying close attention to operation is paid close attention to
It is updated.
Present embodiment in fact provides another realization approach of processing method paying close attention to operation, illustrate as
Under:
In present embodiment, continue to use in the second embodiment institute's illustrated example in step 203;If in application module A
Concerned item C is cancelled and pays close attention to, then paying close attention to processing module can remove concerned item C in concerned item data base, i.e. pays close attention to item number
According to storehouse no longer stores concerned item C.When again concerned item C being paid attention in application module B, owing to step 402 being sentenced
Break as no (concerned item data base does not exist concerned item C), hence into step 404 and perform subsequent step 405-408 successively.
Otherwise, if the method in such as the second embodiment, then concerned item data base still stores concerned item C;Due to step
(concerned item data base exists concerned item C) it is judged as YES, hence into step 203 and perform subsequent step successively in rapid 202
205-208。
In present embodiment, the concerned item being cancelled concern is deleted in time from concerned item data base.I.e., now pay close attention to
Association database only stores the concerned item being currently in the state of having focused on;Actually wanting the storage capacity of concerned item data base
Ask less;In other words, for electronic equipment, can more save memory space.
Fifth embodiment of the invention relates to a kind of electronic equipment, as it is shown in figure 5, include: pays close attention to processing module 11, pay close attention to
Association database 12 and multiple application module 13;
Each application module 13 can generate the concern operation of at least one concerned item.
Pay close attention to processing module 11 to operate for the concern receiving described concerned item, and judge whether focused data storehouse exists
Described concerned item.
If there is described concerned item, pay close attention to processing module 11 for judging the described concern of record in concerned item data base 12
The current state of item is the most consistent with paying close attention to state corresponding after operation performs;If inconsistent, concern processing module 11 is used for will
Pay close attention to operation to send to server;If there is not described concerned item, paying close attention to processing module 11 and entering the GATT for described concerned item is added
In note association database 12, and concern operation is sent to server.
The processing method paying close attention to operation described in electronic equipment as above and the first embodiment is corresponding.
On the basis of above-mentioned electronic equipment, further, pay close attention to processing module 11 to be additionally operable to return when receiving server
During the confirmation signal that the described concern returned operates, the current state of the described concerned item in concerned item data base 12 is recorded as institute
State and pay close attention to state corresponding after operation performs.
Pay close attention to processing module 11 to be additionally operable to send to generating described concern operation the described confirmation signal paying close attention to operation
Described application module 13;Wherein, generate the described application module 13 paying close attention to operation to repair according to the described confirmation signal paying close attention to operation
Change the state of the described concerned item of record in described application module 13.
Wherein, described concern processing module 11 can be calendar application module 13.
The processing method paying close attention to operation described in electronic equipment as above and the second embodiment is corresponding.
On the basis of above-mentioned electronic equipment, further, concerned item data base also stores concerned item and application mould
The default corresponding relation of block.Pay close attention to processing module and be additionally operable to the default corresponding relation according to concerned item Yu application module, obtain institute
State multiple application modules that concerned item is corresponding;Pay close attention to processing module to be additionally operable to send to right the described confirmation signal paying close attention to operation
Multiple application modules of concerned item described in Ying Yu;Wherein, each application module corresponding to described concerned item pays close attention to behaviour according to described
That makees confirms the state of the described concerned item of record in each application module of modification of signal.
The processing method paying close attention to operation described in electronic equipment as above and the 3rd embodiment is corresponding.
On the basis of above-mentioned electronic equipment, further, when paying close attention to operation and paying close attention to for cancelling, processing module 11 is paid close attention to
Can be also used for when receiving the confirmation signal of the described concern operation that server returns, by described concerned item data base 12
Described concerned item remove.I.e., now concerned item data base 12 the most only stores the concern being currently in the state of having focused on
?.
The processing method paying close attention to operation described in electronic equipment as above and the 4th embodiment is corresponding.
Wherein it is desired to explanation, each application module the most all can be realized by processor 21 with paying close attention to processing module;
Concerned item data base can be realized by memorizer 22.It addition, electronic equipment can also include input equipment 23, display 24 and wireless
Transceiver 25.Wireless transceiver 25 is for communicating wirelessly with server, with receiving and transmitting signal.Input equipment 23 such as keyboard,
Or Trackpad etc., for supplying user operation to input order, display 24 is used for showing each concerned item and state thereof;Or, defeated
Enter equipment can combine with display, such as touch control display.The side of the entity apparatus of the electronic equipment of present embodiment
Block diagram is as shown in Figure 6.
It is seen that, present embodiment is the system embodiment corresponding with any embodiment in first to fourth, this
Embodiment can with first to fourth in any embodiment work in coordination enforcement.In first to fourth, any embodiment carries
The relevant technical details arrived is the most effective, in order to reduce repetition, repeats no more here.Correspondingly, this reality
Execute the relevant technical details mentioned in mode to be also applicable in first to fourth in any embodiment.
It is noted that each module involved in present embodiment is logic module, in actual applications, one
Individual logical block can be a physical location, it is also possible to be a part for a physical location, it is also possible to multiple physics lists
The combination of unit realizes.Additionally, for the innovative part highlighting the embodiment of the present invention, will with solution not originally in present embodiment
The closest unit of technical problem relation that inventive embodiments is proposed introduces, but this is not intended that in present embodiment and does not deposits
Unit at other.
It will be appreciated by those skilled in the art that all or part of step realizing in above-described embodiment method can be by
Program instructs relevant hardware and completes, and this program is stored in a storage medium, including some instructions with so that one
Individual equipment (can be single-chip microcomputer, chip etc.) or processor (processor) perform method described in each embodiment of the application
All or part of step.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention,
And in actual applications, can to it, various changes can be made in the form and details, without departing from the spirit of the embodiment of the present invention
And scope.
Claims (13)
1. the processing method paying close attention to operation, it is characterised in that including:
Receive the concern operation of the concerned item that at least one application module generates;
When judging concerned item data base exists the described concerned item of record in described concerned item, and described concerned item data base
Current state with described pay close attention to that after operation performs, corresponding state is inconsistent time, pay close attention to operation transmission to server by described;
When judging described concerned item data base does not exists described concerned item, described concerned item is added described concern item number
According to storehouse, and pay close attention to operation transmission to server by described.
The processing method paying close attention to operation the most according to claim 1, it is characterised in that paying close attention to operation transmission extremely by described
After server, also include:
When receiving the confirmation signal of the described concern operation that described server returns, by the institute in described concerned item data base
The current state stating concerned item is revised as state corresponding after described concern operation performs.
The processing method paying close attention to operation the most according to claim 2, it is characterised in that by described concerned item data base
The current state of described concerned item be revised as described pay close attention to state corresponding after operation performs after, also include:
The described confirmation signal paying close attention to operation is sent to generating the described described application module paying close attention to operation;
Wherein, generate the described described application module paying close attention to operation to apply according to the described confirmation modification of signal paying close attention to operation
The state of the described concerned item of record in module.
The processing method paying close attention to operation the most according to claim 2, it is characterised in that described concerned item data base is being stored up
After the current state of the described concerned item deposited is revised as state corresponding after described concern operation performs, also include:
According to the default corresponding relation of concerned item Yu application module, obtain multiple application modules that described concerned item is corresponding;
The described confirmation signal paying close attention to operation is sent to the plurality of application module corresponding to described concerned item;
Wherein, each application module of confirmation modification of signal operated according to described concern corresponding to each application module of described concerned item
The state of the described concerned item of middle record.
The processing method paying close attention to operation the most according to claim 1, it is characterised in that described concern operation includes paying attention in
Or cancel concern;Described pay attention in execution after corresponding state for having focused on state, the shape of correspondence after performing is paid close attention in described cancellation
State is not for pay close attention to state.
The processing method paying close attention to operation the most according to claim 5, it is characterised in that when described concern operation is closed for cancelling
During note, and when receiving the confirmation signal of the described concern operation that described server returns, by described concerned item data base
Described concerned item remove.
7. an electronic equipment, it is characterised in that include paying close attention to processing module, concerned item data base and multiple application module;
Each application module can generate the concern operation of at least one concerned item, and sends to described concern processing module;
Described concern processing module is used for judging whether there is described concerned item in described focused data storehouse;
When there is described concerned item, described concern processing module is additionally operable to judge in described concerned item data base the described of record
It is the most consistent that the current state of concerned item operates state corresponding after performing with described concern;When inconsistent, at described concern
Reason module is additionally operable to pay close attention to operation transmission to server by described;
When there is not described concerned item, described concern processing module is additionally operable to described concerned item is added described concerned item data
In storehouse, and pay close attention to operation transmission to described server by described.
8. according to the electronic equipment that claim 7 is described, it is characterised in that described concern processing module is additionally operable to when receiving
During the confirmation signal that the described concern that described server returns operates, working as the described concerned item in described concerned item data base
Front status modifier is state corresponding after described concern operation performs.
Electronic equipment described in item the most according to Claim 8, it is characterised in that described concern processing module is additionally operable to described pass
The confirmation signal of note operation sends to generating the described described application module paying close attention to operation;
Wherein, generate the described described application module paying close attention to operation to apply according to the described confirmation modification of signal paying close attention to operation
The state of the described concerned item of record in module.
Electronic equipment described in item the most according to Claim 8, it is characterised in that described concerned item data base also stores concern
With the default corresponding relation of application module;
Described concern processing module is additionally operable to the default corresponding relation according to described concerned item Yu application module, obtains described concern
Multiple application modules that item is corresponding;
Described concern processing module is additionally operable to send to the institute corresponding to described concerned item the described confirmation signal paying close attention to operation
State multiple application module;
Wherein, each application module of confirmation modification of signal operated according to described concern corresponding to each application module of described concerned item
The state of the described concerned item of middle record.
11. according to the described electronic equipment of claim 7, it is characterised in that described concern operation includes paying attention in or cancelling
Pay close attention to;Described pay attention in execution after corresponding state for having focused on state, it is not that the state of correspondence after performing is paid close attention in described cancellation
Concern state.
12. electronic equipments according to claim 11, it is characterised in that when described concern operation is paid close attention to for cancelling, institute
State concern processing module and be additionally operable to when receiving the confirmation signal of the described concern operation that described server returns, by described pass
Described concerned item in note association database removes.
13. according to the described electronic equipment of claim 7, it is characterised in that described concern processing module is calendar application mould
Block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610587435.XA CN106250234A (en) | 2016-07-24 | 2016-07-24 | Pay close attention to processing method and the electronic equipment of operation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610587435.XA CN106250234A (en) | 2016-07-24 | 2016-07-24 | Pay close attention to processing method and the electronic equipment of operation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106250234A true CN106250234A (en) | 2016-12-21 |
Family
ID=57603385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610587435.XA Pending CN106250234A (en) | 2016-07-24 | 2016-07-24 | Pay close attention to processing method and the electronic equipment of operation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106250234A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108243178A (en) * | 2016-12-27 | 2018-07-03 | 武汉斗鱼网络科技有限公司 | A kind of method and system for obtaining main broadcaster and paying close attention to state |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724656A (en) * | 2012-05-21 | 2012-10-10 | 中兴通讯股份有限公司 | Device and method for updating state of user of mobile social network and mobile terminal |
CN102801656A (en) * | 2012-08-29 | 2012-11-28 | 腾讯科技(深圳)有限公司 | State control and modification method, equipment and system for implementing instant messaging application |
CN104852962A (en) * | 2015-04-09 | 2015-08-19 | 乐视致新电子科技(天津)有限公司 | Method, terminal device, server and system for processing focused information |
CN105094902A (en) * | 2015-07-13 | 2015-11-25 | 北京京东尚科信息技术有限公司 | System and method for controlling login state of application program |
CN105791094A (en) * | 2016-04-22 | 2016-07-20 | 刘冰 | User state setting method, device and system |
-
2016
- 2016-07-24 CN CN201610587435.XA patent/CN106250234A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724656A (en) * | 2012-05-21 | 2012-10-10 | 中兴通讯股份有限公司 | Device and method for updating state of user of mobile social network and mobile terminal |
CN102801656A (en) * | 2012-08-29 | 2012-11-28 | 腾讯科技(深圳)有限公司 | State control and modification method, equipment and system for implementing instant messaging application |
CN104852962A (en) * | 2015-04-09 | 2015-08-19 | 乐视致新电子科技(天津)有限公司 | Method, terminal device, server and system for processing focused information |
CN105094902A (en) * | 2015-07-13 | 2015-11-25 | 北京京东尚科信息技术有限公司 | System and method for controlling login state of application program |
CN105791094A (en) * | 2016-04-22 | 2016-07-20 | 刘冰 | User state setting method, device and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108243178A (en) * | 2016-12-27 | 2018-07-03 | 武汉斗鱼网络科技有限公司 | A kind of method and system for obtaining main broadcaster and paying close attention to state |
CN108243178B (en) * | 2016-12-27 | 2021-05-28 | 武汉斗鱼网络科技有限公司 | Method and system for acquiring anchor attention state |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110096857B (en) | Authority management method, device, equipment and medium for block chain system | |
CN103366135B (en) | The security system driven by tenant in storage cloud and method | |
CN109493072B (en) | Privacy contract protection method based on alliance block chain | |
CN104217332A (en) | Payment verification method, server and system | |
CN107770269A (en) | A kind of service response method and its terminal | |
CN108141405A (en) | Modification to the Email content transmitted | |
CN109388957A (en) | Information transfer method, device, medium and electronic equipment based on block chain | |
CN107480554A (en) | A kind of right management method, rights management device and intelligent terminal | |
CN110535679A (en) | Management method, framework, network slice sales platform and the management system of slice | |
CN108399331A (en) | Application process trial method and system | |
CN107734498A (en) | Data migration method and device of the SIM card to eSIM cards | |
CN112968977A (en) | Information interaction method and device | |
CN110427134A (en) | Data processing method, device, equipment and the readable storage medium storing program for executing of instant messaging | |
CN106339632A (en) | Method for allocating M2M device administration authority, user device and system | |
CN107690002A (en) | Communication means and device, system, computer installation and readable storage medium storing program for executing | |
CN109150981B (en) | Block chain network networking method, device, equipment and computer readable storage medium | |
CN110472391A (en) | Data access method and device, storage medium, electronic device | |
CN106250234A (en) | Pay close attention to processing method and the electronic equipment of operation | |
CN101438286A (en) | A method of enabling digital music content to be downloaded to and used on a portable wireless computing device | |
CN107180344A (en) | For recharge method, device and system | |
CN106383741A (en) | Application processing method and mobile device | |
CN106411718A (en) | Instant messaging application-based data synchronization method and device | |
CN106484417A (en) | A kind of the application list methods of exhibiting and device | |
CN116016780A (en) | Session service configuration method, device, equipment and medium based on multiple NLPs | |
CN115618715A (en) | Modeling method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161221 |