Movatterモバイル変換


[0]ホーム

URL:


CN110019552A - User pays close attention to the method and apparatus that state updates - Google Patents

User pays close attention to the method and apparatus that state updates
Download PDF

Info

Publication number
CN110019552A
CN110019552ACN201711392335.2ACN201711392335ACN110019552ACN 110019552 ACN110019552 ACN 110019552ACN 201711392335 ACN201711392335 ACN 201711392335ACN 110019552 ACN110019552 ACN 110019552A
Authority
CN
China
Prior art keywords
user
concern
content
relevant database
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711392335.2A
Other languages
Chinese (zh)
Inventor
王晓聪
周伟
孟祥雷
刘琦
刘冬
熊青峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co LtdfiledCriticalBeijing Jingdong Century Trading Co Ltd
Priority to CN201711392335.2ApriorityCriticalpatent/CN110019552A/en
Publication of CN110019552ApublicationCriticalpatent/CN110019552A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the present application discloses user and pays close attention to the method and apparatus that state updates.One specific embodiment of this method includes: the concern change request for receiving user and sending, wherein concern change request is for requesting the concern Status Change at least one type of service any in multiple pre-set business types;Based on concern change request, the data stored in relevant database are updated, wherein relevant database is used to store the relation data between the content information of the content of the subscriber identity information of user and each type of service of user's concern;Using updated relevant database, the concern state of user is updated.The embodiment reduces the difficulty to user behavior analysis and data mining by the unified storage of content information for the different service types for paying close attention to user.

Description

User pays close attention to the method and apparatus that state updates
Technical field
The invention relates to field of computer technology, and in particular to Internet technical field more particularly to user are closedThe method and apparatus that note state updates.
Background technique
With the development of internet technology, each service platform can provide the content of different service types for user.In order toMeet user and save/the needs of collecting content, each service platform provides the function of content concern for user, and user utilizes the functionInterested content can be browsed again.
Here by taking electric business platform as an example, the different service types such as commodity, shop, assessment, live streaming can be provided for userConcern.But when the type of service difference of user's attentinal contents, electric business platform needs to store respectively using different servicesUser's content of interest.Therefore, electric business platform is every increase a kind of type of service when, it is necessary to increase a set of service newly to storeThe data that user pays close attention in Added Business type.
Summary of the invention
The embodiment of the present application proposes user and pays close attention to the method and apparatus that state updates.
In a first aspect, the embodiment of the present application provides a kind of method that user pays close attention to state update, this method comprises: receivingRequest is changed in the concern that user sends, wherein concern change request for request in multiple pre-set business types it is any at leastA kind of concern Status Change of the content of type of service;Based on concern change request, the number stored in relevant database is updatedAccording to, wherein relevant database is used to store the content of the subscriber identity information of user and each type of service of user's concernRelation data between content information;Using updated relevant database, the concern state of user is updated.
In some embodiments, based on concern change request, the data stored in relevant database are updated, comprising: ifConcern change request is used to request to pay close attention to the content of any at least one type of service, then adds user's in relational databaseRelation data between subscriber identity information and the content information for requesting the content paid close attention to;If concern change request is for requestingCancel the content for paying close attention to any at least one type of service, then deletes the user information identity letter of user from relevant databaseRelation data between breath and the content information for the content for requesting cancellation to be paid close attention to.
In some embodiments, method further include: building user-oriented search engine, and using in relevant databaseData generate index data, to establish index data base;According to concern change request, index data base is updated;Based on userThe inquiry instruction inputted in a search engine inquires the index data in index data base, and query result is returnedTo user.
In some embodiments, method further include: when query result is returned to user, caching query results;AndWhen the data stored in updating relevant database, caching is updated using the data updated in relevant database.
In some embodiments, method further include: determine that user requests whether the content of change concern is effective content;BaseIn concern change request, the data stored in relevant database are updated, comprising: in response to determining that user requests change concernContent is effective content, then based on concern change request, updates the data stored in relevant database.
In some embodiments, method further include: determine whether user meets default verification condition;It is asked based on concern changeIt asks, updates the data stored in relevant database, further includes: preset verification condition in response to judging that user meets, then baseIn concern change request, the data stored in relevant database are updated.
In some embodiments, method further include: receive in the call relation type database that third-party server is sentThe call request of data;Judge whether third-party server has the calling permission of relevant database based on call request;IfIt is that the calling interface of relevant database is then returned to third-party server;If it is not, then sending unauthorized to third-party serverPrompt information.
In some embodiments, call request is used to indicate the mark of the target service type of third-party server request callKnow information, and target service type is at least one of multiple pre-set business types;Relationship is being returned to third-party serverAfter the calling interface of type database, method further include: according to call request, judge whether third-party server is provided in advanceThe calling permission of target service type;If so, obtaining the data of target service type from relevant database, and it is sent to theTripartite's server;If it is not, then sending the prompt information of unauthorized to third-party server.
Second aspect, the embodiment of the present application provide a kind of device that user's concern state updates, which includes: to receiveUnit is configured to receive the concern change request that user sends, wherein concern change request is for requesting to multiple default industryThe concern Status Change of the content of any at least one type of service in service type;First updating unit is configured to based on passNote change request, updates the data stored in relevant database, wherein relevant database is used to store user's body of userRelation data between the content information of the content of part information and each type of service of user's concern;Second updating unit, configurationFor utilizing updated relevant database, the concern state of user is updated.
In some embodiments, the first updating unit is configured specifically for: if concern change request is for requesting concern to be appointedThe content at least one type of service of anticipating then adds the subscriber identity information of user in relational database and requests concernRelation data between the content information of content;If concern change request cancels any at least one service class of concern for requestingThe content of type then deletes the user information identity information of user from relevant database and requests to cancel the content paid close attention toRelation data between content information.
In some embodiments, device further include: query unit is configured to building user-oriented search engine, andIndex data is generated using the data in relevant database, to establish index data base;And according to concern change request, moreNew index data base;And the inquiry instruction inputted in a search engine based on user, to the index data in index data baseIt is inquired, and query result is returned into user.
In some embodiments, device further include: cache unit is configured to when query result is returned to user,Caching query results;And update relevant database in store data when, utilize the number updated in relevant databaseIt is cached according to updating.
In some embodiments, device further include: the first determination unit is configured to determine that user requests change concernWhether content is effective content;First updating unit is further configured to: in response to determining that user requests in change concernHolding is effective content, then based on concern change request, updates the data stored in relevant database.
In some embodiments, device further include: the second determination unit is configured to determine whether user meets default testCard condition;First updating unit is further configured to: in response to judging that user meets default verification condition, then based on concernChange request, updates the data stored in relevant database.
In some embodiments, device further include: judging unit is configured to receive the calling that third-party server is sentThe call request of data in relevant database;And judge whether third-party server has relationship type based on call requestThe calling permission of database;If so, returning to the calling interface of relevant database to third-party server;If it is not, then toThe prompt information of tripartite's server transmission unauthorized.
In some embodiments, judging unit is further configured to: according to call request, judging that third-party server isThe no calling permission for being provided with target service type in advance;If so, obtaining the number of target service type from relevant databaseAccording to, and it is sent to third-party server;If it is not, then sending the prompt information of unauthorized to third-party server.
User provided by the embodiments of the present application pays close attention to the method and apparatus that state updates, and can receive being used for for user's transmissionThe concern changed to the concern state of the content of at least one type of service any in multiple pre-set business types is requested to becomeIt more requests, the identity information for requesting to determine user is changed according to the concern later and request request change concern is changed in the concernThe content information of content then updates the data stored in relevant database, is finally based on the updated relational databaseThe concern state of user's attentinal contents is updated, the content information for the different service types that user pays close attention to is united to realizeOne processing and storage, reduce the difficulty to user behavior analysis and data mining.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is otherFeature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart that the one embodiment for the method that state updates is paid close attention to according to the user of the application;
Fig. 3 is the schematic diagram that an application scenarios of the method that state updates are paid close attention to according to the user of the application;
Fig. 4 is the flow chart that another embodiment of the method that state updates is paid close attention to according to the user of the application;
Fig. 5 is the structural schematic diagram that the one embodiment for the device that state updates is paid close attention to according to the user of the application;
Fig. 6 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present applicationFigure.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouchedThe specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order toConvenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phaseMutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can pay close attention to the method that state updates or the dress that user's concern state updates using the user of the applicationThe exemplary system architecture 100 for the embodiment set.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be withIncluding various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send outSend message etc..Various client applications can be installed, such as the application of shopping class, social activity are put down on terminal device 101,102,103Platform software, web browser applications, searching class application, instant messaging tools, mailbox client etc..
Terminal device 101,102,103 can be with the functions such as display screen and supported web page browsing, content searchVarious electronic equipments, including but not limited to smart phone, tablet computer, E-book reader, MP3 player (MovingPicture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) is broadcastPut device, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103The content of concern state to be updated provides the backstage concern state supported and updates server.Backstage concern state updates server canThe processing such as to be analyzed, be stored to data such as the concern change requests received, and (updated content is closed by processing resultNote state) feed back to terminal device.
It should be noted that user provided by the embodiment of the present application pays close attention to the method for state update generally by server105 execute, and correspondingly, user pays close attention to the device that state updates and is generally positioned in server 105.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization needIt wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, the stream that the one embodiment for the method that state updates is paid close attention to according to the user of the application is shownJourney 200.The user pays close attention to the method that state updates, comprising the following steps:
Step 201, it receives the concern that user sends and changes request.
In the present embodiment, it is (such as shown in FIG. 1 to pay close attention to the electronic equipment of method operation that state updates thereon by userServer) terminal device of its progress content concern can be utilized from user by wired connection mode or radio connectionReceive concern change request, wherein above-mentioned concern change request can be used for requesting the concern Status Change to arbitrary content.It needsIt is noted that user can be by concern change request to any at least one type of service in multiple pre-set business typesThe concern state of content change.It should be pointed out that above-mentioned radio connection can include but is not limited to 3G/4G companyIt connects, WiFi connection, bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection and other are existingIn known or exploitation in the future radio connection.
In general, user can carry out the browsing of content using the client application such as shopping class application installed in terminalAnd concern, the concern function can satisfy collection/preservation that user thinks browsing content again to content of interest or laterDemand.The concern change request that user sends can be used for requesting the Status Change of not paying close attention to for the content that will do not paid close attention to be to have focused onState, i.e. concern request, for example, for the content A and content B of the different service types belonged in multiple pre-set business types,User wishes to pay close attention to content A and content B, and the concern that user can send content A and content B to above-mentioned electronic equipment at this time becomesIt more requests, in order to which the Status Change of not paying close attention to of content A and content B can be to have focused on state by above-mentioned electronic equipment.Alternatively,It is not pay close attention to state that user, which pays close attention to change request and can be also used for requesting the Status Change that has focused on for the content that will be concerned, i.e.,Cancel concern request.It is paid close attention to for example, user can send for the above-mentioned content A having focused on and content B to above-mentioned electronic equipmentChange is asked, so that above-mentioned electronic equipment can cancel concern of the user to content A and content B.
Step 202, based on concern change request, the data stored in relevant database are updated.
In the present embodiment, in order to save a large amount of user different service types of interest content related data,Above-mentioned electronic equipment can construct relevant database in advance, which can be used for storing the user identity of userRelation data between information and the content information of the content of user different service types of interest.It is connect based on step 201The concern change request that the user received sends, above-mentioned electronic equipment can change request to the concern and analyze, determine and useThe type (for example, concern request is requested or cancelled in concern) of the concern change request at family.Then, the user can be determined for exampleUser ID etc. is used for the subscriber identity information of identity user identity, and determines the interior of the content that the required change of the user is paid close attention toHold information.Finally, can be according to the type and identified subscriber identity information, content information updating of identified change requestThe data stored in above-mentioned relation type database.It is understood that above-mentioned relation type database is by paying close attention to a large number of usersThe contents of a variety of different service types carry out unified storage, so as to be called from relevant database convenient for electronic equipmentData to carry out behavioural analysis etc. to user, and each user can also inquire user from relevant database and think to browse againVarious businesses type content.
In some optional implementations of the present embodiment, above-mentioned concern change request can be concern request, be used forThe content of any at least one type of service in above-mentioned pre-set business type is paid close attention in request.At this point, above-mentioned electronic equipment can be withThe relation data between request generation subscriber identity information and content information is changed according to the concern, and the relation data is storedInto relevant database, to realize the update to relevant database.Alternatively, above-mentioned concern change request can also be to takeDisappear concern request, cancels in any at least one type of service in the above-mentioned pre-set business type having focused on for requestingHold.At this point, above-mentioned electronic equipment can be changed according to the concern requests to determine subscriber identity information and content information data, andIdentified data are searched and deleted in above-mentioned relation database, to realize the update to relevant database.
Step 203, using updated relevant database, the concern state of user is updated.
In the present embodiment, above-mentioned electronic equipment can use the relevant database more after updating relational databaseNew user pays close attention to the concern state that the content updated is requested in change.Here, pay close attention to state update can be by not byThe content identification of mark concern is that concern makes it be shown as concern state, or cancels and be identified as the concern of the content having focused on and make itIt is shown as not paying close attention to state.
It should be noted that method provided in this embodiment can be carried out by the access interface to each pre-set business typeIt is configured such that user can call this method concern/cancellation concern different service types content.Therefore, work as client applicationWhen increasing new type of service, user can be allowed to call this method visiting by modifying the configuration parameter of the above methodAsk the interface of Added Business type, so that user can use the above method to pay close attention to the content of the new business type, andCorrespondingly carry out data storage.As it can be seen that user provided in this embodiment, which pays close attention to the method that state updates, has good scalability.
In the prior art, the different service types in same client application are needed that different methods is called to close respectivelyNote/cancellation attentinal contents, and the content of the different service types of user's concern is also needed to store respectively, therefore,When user wants to look up the content for the multiple business type having focused on, which can only arrive respectively and be stored with each type of serviceIt is searched in the database of related data, and when the data for needing to call different service types analyze user behavior, is neededWill be from multiple data base call data, process is complicated, wastes time.Compared with prior art, user can be in the present embodimentThe content for paying close attention to any one or more type of service is paid close attention to/cancelled by calling the method in the present embodiment, and will be eachThe data of the content of user's each type of service of interest are collected, and are unifiedly stored in preset relevant database, justIts content of interest is searched from relevant database in user, be also convenient for calling the relevant data of different service types toFamily carries out behavioural analysis etc..
It is one of the application scenarios for the method that state update is paid close attention to according to the user of the present embodiment with continued reference to Fig. 3, Fig. 3Schematic diagram.In the application scenarios of Fig. 3, user can click in the commodity C in electric business platform needle commodity type of service close firstNote mark 301 initiates the concern change request of a request concern commodity C;Later, server can be from the background to above-mentioned concernChange request carries out analysis and obtains the User ID of the user and the content information (such as goods number or commodity title) of commodity C,And generate the relation data between User ID and the content information of commodity C;Then, server can deposit the relation data of generationIt stores up in relevant database;Finally, updating user to the concern state of commodity C, such as by the corresponding concern mark 301 of commodity CColor from white change into black to indicate that commodity C is never concerned state be updated to the state being concerned, such as Fig. 3It is shown.It is used provided by the present embodiment it should be noted that user when paying close attention to the content of any type of service, can callThe method that state updates is paid close attention to store and update the wanted attentinal contents of the user in family.
The method provided by the above embodiment of the application, can receive user's transmission is used for request to multiple pre-set businessRequest is changed in the concern that the concern state of any at least one type of service changes in type, is changed later according to the concernIt requests the identity information for determining user and concern change to request the content information of the attentinal contents of request change, then updates and closeIt is the data stored in type database, the concern shape to content of the user is finally updated based on the updated relational databaseThe content information for the different service types that user pays close attention to is uniformly processed and is stored to realize by state, reduces user behavior pointThe difficulty of analysis and data mining.
Referring next to Fig. 4, it illustrates another realities that the method that state updates is paid close attention to according to the user of the applicationApply the process 400 of example.User in the present embodiment pays close attention to the method that state updates and may include steps of:
Step 401, it receives the concern that user sends and changes request.
In the present embodiment, it is (such as shown in FIG. 1 to pay close attention to the electronic equipment of method operation that state updates thereon by userServer) terminal device of its progress content concern can be utilized from user by wired connection mode or radio connectionReceive concern change request, wherein above-mentioned concern change request can be used for requesting the concern Status Change to arbitrary content.It needsIt is noted that user can be by concern change request to any at least one type of service in multiple pre-set business typesThe concern state of content change.
Step 402, determine that user requests whether the content of change concern is effective content.
In the present embodiment, request is changed in the concern sent based on the user that step 401 obtains, and above-mentioned electronic equipment can be withObtain the validity that user requests the content of change concern state.As an example, above-mentioned electronic equipment can be by determining userThe validity of the identification information of request change attentinal contents requests whether the content of change concern is effective to judge user.ExampleSuch as, the concern change request of user is for requesting the ID of concern commodity C, the above-mentioned available commodity C of electronic equipment as markInformation, in order to which above-mentioned electronic equipment can determine whether the ID of commodity C is effective ID (such as commodity C undercarriage, then commodity CID it is invalid, otherwise the ID of commodity C is effective).
Step 403, it is effective content in response to determining that user requests the content of change concern, then is asked based on concern changeIt asks, updates the data stored in relevant database.
In the present embodiment, if it is effective content that above-mentioned electronic equipment, which judges that user requests the content of change concern,It can continue to change the concern and request to analyze, determine that the type of the change request of user is that concern request or cancellation are closedNote request.Then, above-mentioned electronic equipment can determine the user identity letter of the identity user identity such as User ID of the userBreath, and determine the content information of the content of the required change concern of the user.Finally, above-mentioned electronic equipment can according to reallyIt is stored in the type and identified subscriber identity information, content information updating above-mentioned relation type database of fixed change requestData.
In some optional implementations of the present embodiment, the concern sent based on the user that step 401 obtains is changedRequest, above-mentioned electronic equipment can also determine whether the user for sending concern change request meets default verification condition.When upperIt states electronic equipment and determines that the user of the user meets default verification condition, then it can update above-mentioned pass based on concern change requestIt is the data in type database.As an example, above-mentioned electronic equipment can determine such as user membership information, the blacklist of userWhether the equal of verification information meets preset condition to determine whether the user meets preset condition, and default verification condition here canThink the member that the user is client application and not in default blacklist;Therefore, when above-mentioned electronic equipment is obtaining userMembership information and blacklist verification information etc. after can use acquired information and judge whether the user is member and does not existIn default blacklist.Further, when the user information of acquired user meets default verification condition, above-mentioned electronic equipmentThe data stored in above-mentioned relation type database can be updated based on concern change request.
Step 404, using updated relevant database, the concern state of user is updated.
In the present embodiment, above-mentioned electronic equipment can use in the relevant database after updating relational databaseThe data of update update user and pay close attention to the concern state that the content updated is requested in change.
In some optional implementations of the present embodiment, user can use search engine in the relevant databaseThe data that middle inquiry and search wherein store.Above-mentioned electronic equipment can construct user-oriented search engine in advance, to useFamily, which can use the search engine, can need the content inquired to search for generally user.Further, above-mentioned electronics is setThe standby data that can use in above-mentioned relation type database generate index data, and the index data based on generation establishes index numberAccording to library.When input inquiry instructs user in constructed search engine, above-mentioned electronic equipment can use the inquiry instructionCorresponding index data is inquired in index data base, and the query result inquired is returned into user.Above-mentioned electronic equipmentIn the concern state of concern change request changed content for receiving user, above-mentioned electronic equipment can use updated passIt is the data that are stored in type database to update the index data in index data base.
In some optional implementations of this implementation, in order to improve the query performance of above-mentioned search engine, above-mentioned electricitySub- equipment can also cache higher data of user's access frequency etc..As an example, user using search engine intoWhen row content search, the query result inquired can be cached.In this way, user is utilizing search engine inquiry next timeWhen can directly be inquired in the buffer, to improve the efficiency of user's search engine inquiry.Above-mentioned electronic equipment is connecingWhen the state for requesting change user's request attentinal contents is changed in the concern for receiving user, above-mentioned electronic equipment can also utilize updateThe data stored in relevant database afterwards come update caching in data.
In some optional implementations of the present embodiment, above-mentioned electronic equipment is in building relevant database in advanceIt, can be from two dimension storing datas when storage subscriber identity information and the content information of user's attentinal contents.Wherein, firstA dimension is user's dimension, which can be dimension by subscriber identity information and content information using the identity information of userBetween relation data storage to one routing divide in table;Second dimension is content dimension, which can be closed with userThe content information of the content of note be dimension by between subscriber identity information and content information relation data storage to another way byDivide in table.It should be noted that the data stored in user's dimension and content dimension are substantially identical.In this way, being tieed up from twoDegree saves subscriber identity information and content information, and relevant database can be made both to be able to satisfy from user's dimension inquiry user and closedThe demand of content is infused, and is able to satisfy the demand from content dimension inquiry user's attentinal contents, is provided for the demand of service inquiryIt supports well.Further, above-mentioned electronic equipment can also carry out separate storage to the data of different business, for example, forData volume and all biggish mobile end data of queries, above-mentioned electronic equipment can carry out separate storage to it, improve businessThe performance of inquiry.
Step 405, the call request of the data in the call relation type database that third-party server is sent is received.
In this embodiment, the relevant database generated is stored using (such as electric business platform) for any client, theTripartite's platform (such as the downstream marketer etc. of electric business platform) can call the data stored in the relevant database, in order toThe third-party platform can reasonably adjust migration efficiency according to the data called.Call relation type number is needed in third-party platformWhen according to data in library, third-party server (such as server of third platform) can send to above-mentioned electronic equipment call firstThe call request of data in relevant database, so that above-mentioned electronic equipment can receive the call request.The call requestIn may include third-party server calling privileges configuration information.
Step 406, judge whether third-party server has the calling permission of relevant database based on call request.
In the present embodiment, the call request received based on step 405, the above-mentioned available third party's clothes of electronic equipmentThe calling privileges configuration information of business device.Therefore, above-mentioned electronic equipment may determine that whether the third-party server has above-mentioned passIt is the calling permission of type database.If above-mentioned electronic equipment determines that third-party server has the tune of above-mentioned relation type databaseWith permission, then step 407 can be gone to;If above-mentioned electronic equipment determines that third-party server does not have above-mentioned relation type dataThe calling permission in library, then can go to step 408.
Step 407, the calling interface of relevant database is returned to third-party server.
In the present embodiment, there is the calling of above-mentioned relation type database based on the third-party server that step 406 determinesPermission, above-mentioned electronic equipment can will return to the calling interface of relevant database to third-party server, in order to above-mentionedTripartite's server can call above-mentioned relation type database by calling interface.
Step 408, the prompt information of unauthorized is sent to third-party server.
In the present embodiment, do not have the tune of above-mentioned relation type database based on the third-party server that step 406 determinesWith permission, above-mentioned electronic equipment can refuse the call request of the relevant database of above-mentioned third-party server, and to thisThree servers send its uncommitted prompt information.
Step 409, according to call request, judge whether third-party server is provided with the calling of target service type in advancePermission.
In the present embodiment, above-mentioned call request can serve to indicate that the target service of the third-party server request callThe identification information of type, goal type of service can be at least one of multiple pre-set business types.Therefore, when upperElectronic equipment is stated when determining that third-party server has the calling permission of relevant database, can also be asked from above-mentioned callingAsk whether the middle determination third-party server is provided with the tune of the target service type of third-party server requirement calling in advanceWith permission, in order to third-party server can the calling required by obtaining it in relevant database target service typeRelated data.If above-mentioned electronic equipment determines tune of the third-party server configured with its required target service type calledWith permission, then step 410 can be gone to;If above-mentioned electronic equipment determines that the third-party server does not configure its required callingTarget service type calling permission, then can go to step 411.
Step 410, the data of target service type are obtained from relevant database, and are sent to third-party server.
In the present embodiment, target industry of the third-party server configured with calling required by it determined based on step 409The calling permission of service type, above-mentioned electronic equipment can be wanted from the acquisition third-party server in above-mentioned relation type databaseThe data for seeking the target service type of calling, then send third-party server for acquired data so that thisThe data that target service type is transferred from relevant database may be implemented in tripartite's server.
Step 411, the prompt information of unauthorized is sent to third-party server.
In the present embodiment, the third-party server determined based on step 409 does not configure the target of calling required by itThe calling permission of type of service, even if the third-party server has the calling permission of relational data, above-mentioned electronic equipmentIt can refuse the call request of third-party server, and send its uncommitted prompt information to the third-party server, withThe calling permission of the target service type of calling required by it is not configured convenient for prompt third-party platform device.As it can be seen that third partyPlatform can be adjusted from the content information that the different user stored in relevant database is paid close attention to based on the operation mode etc. of oneselfData of each target service type required for it, so that the third-party platform, which can do different service types, summarizes exhibitionShow.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of users to pay close attention to shapeThe one embodiment for the device that state updates, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically may be usedTo be applied in various electronic equipments.
As shown in figure 5, the present embodiment user pay close attention to state update device 500 include: receiving unit 501, first moreNew unit 502 and the second updating unit 503.Wherein, the concern change that receiving unit 501 is configured to receive user's transmission is askedIt asks, wherein concern change request is for requesting to the content of at least one type of service any in multiple pre-set business typesPay close attention to Status Change;First updating unit 502 is configured to request based on concern change, stores in update relevant databaseData, wherein relevant database is used to store the content of the subscriber identity information of user and each type of service of user's concernContent information between relation data;Second updating unit 503 is configured to update using updated relevant databaseThe concern state of user.
In some optional implementations of the present embodiment, the first updating unit 502 is further configured to: if concernChange request is used to request to pay close attention to the content of any at least one type of service, then the user of user is added in relational databaseRelation data between identity information and the content information for requesting the content paid close attention to;If concern change request is cancelled for requestingPay close attention to the content of any at least one type of service, then from relevant database delete user user information identity information andRequest to cancel the relation data between the content information for the content paid close attention to.
In some optional implementations of the present embodiment, it further includes inquiry that user, which pays close attention to the device 500 that state updates,Unit is configured to building user-oriented search engine, and generates index data using the data in relevant database, withEstablish index data base;And according to concern change request, update index data base;And it is defeated in a search engine based on userThe inquiry instruction entered inquires the index data in index data base, and query result is returned to user.
In some optional implementations of the present embodiment, it further includes caching that user, which pays close attention to the device 500 that state updates,Unit is configured to when query result is returned to user, caching query results;And it is deposited in updating relevant databaseWhen the data of storage, caching is updated using the data updated in relevant database.
In some optional implementations of the present embodiment, it further includes first that user, which pays close attention to the device 500 that state updates,Determination unit, whether the content for being configured to determine that user requests change concern is effective content;First updating unit 502 into oneStep is configured to: being effective content in response to determining that user requests the content of change concern, then based on concern change request, is updatedThe data stored in relevant database.
In some optional implementations of the present embodiment, it further includes second that user, which pays close attention to the device 500 that state updates,Determination unit is configured to determine whether user meets default verification condition;First updating unit 502 is further configured to:Verification condition is preset in response to judging that user meets, then request is changed based on concern, is stored in update relevant databaseData.
In some optional implementations of the present embodiment, it further includes judgement that user, which pays close attention to the device 500 that state updates,Unit is configured to receive the call request of the data in the call relation type database that third-party server is sent;And baseJudge whether third-party server has the calling permission of relevant database in call request;If so, to third party's serviceThe calling interface of device return relevant database;If it is not, then sending the prompt information of unauthorized to third-party server.
In some optional implementations of the present embodiment, call request is used to indicate third-party server request callTarget service type identification information, and target service type is at least one of multiple pre-set business types;Judgement is singleMember is further configured to: according to call request, judging whether third-party server is provided with the tune of target service type in advanceUse permission;If so, obtaining the data of target service type from relevant database, and it is sent to third-party server;If it is not,The prompt information of unauthorized is then sent to third-party server.
Below with reference to Fig. 6, it illustrates the terminal device/server computers for being suitable for being used to realize the embodiment of the present applicationThe structural schematic diagram of system 600.Terminal device/server shown in Fig. 6 is only an example, should not be to the embodiment of the present applicationFunction and use scope bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored inProgram in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 andExecute various movements appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to alwaysLine 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathodeThe output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as becauseThe network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such asDisk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereonComputer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart descriptionSoftware program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable mediumOn computer program, which includes the program code for method shown in execution flow chart.In such realityIt applies in example, which can be downloaded and installed from network by communications portion 609, and/or from detachable media611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processesAbove-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media orComputer readable storage medium either the two any combination.Computer readable storage medium for example can be --- butBe not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection,Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only depositReservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memoryPart or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or storesThe tangible medium of program, the program can be commanded execution system, device or device use or in connection.AndIn the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believedNumber, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but notIt is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computerAny computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit useIn by the use of instruction execution system, device or device or program in connection.Include on computer-readable mediumProgram code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc., Huo ZheshangAny appropriate combination stated.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereofMachine program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code canFully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet serviceProvider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journeyThe architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generationA part of one module, program segment or code of table, a part of the module, program segment or code include one or more useThe executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in boxThe function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actuallyIt can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuseMeaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holdingThe dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instructionCombination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hardThe mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packetInclude receiving unit, the first updating unit and the second updating unit.Wherein, the title of these units is not constituted under certain conditionsRestriction to the unit itself, for example, receiving unit is also described as " receiving the list for the concern change request that user sendsMember ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can beIncluded in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculatingMachine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that shouldDevice: it receives the concern that user sends and changes request, wherein concern change request is for requesting in multiple pre-set business typesThe concern Status Change of the content of any at least one type of service;Based on concern change request, update in relevant databaseThe data of storage, wherein relevant database is used to store the subscriber identity information of user and each type of service of user's concernContent content information between relation data;Using updated relevant database, the concern state of user is updated.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the artMember is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristicScheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent featureAny combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed hereinCan technical characteristic replaced mutually and the technical solution that is formed.

Claims (18)

CN201711392335.2A2017-12-212017-12-21User pays close attention to the method and apparatus that state updatesPendingCN110019552A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711392335.2ACN110019552A (en)2017-12-212017-12-21User pays close attention to the method and apparatus that state updates

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711392335.2ACN110019552A (en)2017-12-212017-12-21User pays close attention to the method and apparatus that state updates

Publications (1)

Publication NumberPublication Date
CN110019552Atrue CN110019552A (en)2019-07-16

Family

ID=67187035

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711392335.2APendingCN110019552A (en)2017-12-212017-12-21User pays close attention to the method and apparatus that state updates

Country Status (1)

CountryLink
CN (1)CN110019552A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110543502A (en)*2019-09-052019-12-06腾讯科技(深圳)有限公司Credit data processing method, device and equipment based on block chain and storage medium
CN111382176A (en)*2020-02-282020-07-07中国建设银行股份有限公司Information updating method and device
CN111813572A (en)*2020-06-162020-10-23上海中通吉网络技术有限公司 Method, device and device for recording user operation data changes, and storage medium
CN112559194A (en)*2020-12-152021-03-26北京百度网讯科技有限公司Application data processing method, device and equipment
CN112669175A (en)*2020-12-312021-04-16杭州冠家房地产营销策划有限公司Real estate marketing management method based on WeChat public number
CN114218503A (en)*2022-02-222022-03-22飞狐信息技术(天津)有限公司Attention relationship caching method and device, electronic equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1940922A (en)*2005-09-302007-04-04腾讯科技(深圳)有限公司Method and system for improving information search speed
CN102722481A (en)*2011-03-292012-10-10阿里巴巴集团控股有限公司 A processing method and search method for user favorite data
CN106033578A (en)*2015-03-132016-10-19阿里巴巴集团控股有限公司Information prompting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1940922A (en)*2005-09-302007-04-04腾讯科技(深圳)有限公司Method and system for improving information search speed
CN102722481A (en)*2011-03-292012-10-10阿里巴巴集团控股有限公司 A processing method and search method for user favorite data
CN106126630A (en)*2011-03-292016-11-16阿里巴巴集团控股有限公司The collection of a kind of business object, searching method and device
CN106033578A (en)*2015-03-132016-10-19阿里巴巴集团控股有限公司Information prompting method and device

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
华慰: "大众点评订单系统分库分表实践", 《HTTPS://TECH.MEITUAN.COM/2016/11/18/DIANPING-ORDER-DB-SHARDING.HTML》*
曾科: "数字社区系统的研究和实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》*
沈宁: "卡口数据集成平台的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》*
董献伦: "基于关系型数据库的数据切分问题研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》*
谢炯,刘仁义,刘南: "基于时空分区聚簇的海量时空数据性能优化方法研究", 《中国图象图形学报》*

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110543502A (en)*2019-09-052019-12-06腾讯科技(深圳)有限公司Credit data processing method, device and equipment based on block chain and storage medium
CN110543502B (en)*2019-09-052024-05-31腾讯科技(深圳)有限公司Credit data processing method, device, equipment and storage medium based on block chain
CN111382176A (en)*2020-02-282020-07-07中国建设银行股份有限公司Information updating method and device
CN111813572A (en)*2020-06-162020-10-23上海中通吉网络技术有限公司 Method, device and device for recording user operation data changes, and storage medium
CN112559194A (en)*2020-12-152021-03-26北京百度网讯科技有限公司Application data processing method, device and equipment
CN112669175A (en)*2020-12-312021-04-16杭州冠家房地产营销策划有限公司Real estate marketing management method based on WeChat public number
CN114218503A (en)*2022-02-222022-03-22飞狐信息技术(天津)有限公司Attention relationship caching method and device, electronic equipment and computer storage medium

Similar Documents

PublicationPublication DateTitle
CN110019552A (en)User pays close attention to the method and apparatus that state updates
US9798531B2 (en)Dependency-aware transformation of multi-function applications for on-demand execution
US11916729B2 (en)Automated configuration of a content delivery network
CN109446457A (en)Update method, terminal device and the medium of page data
CN109871388A (en)Data cache method, device, whole electronic equipment and storage medium
CN110019080A (en)Data access method and device
CN108984553A (en)Caching method and device
CN108965389A (en)Method for showing information
CN108494860A (en)WEB accesses system, WEB access methods and device for client
US11652908B2 (en)Split testing with custom cache keys for content delivery networks
CN111258988B (en)Asset management method, device, electronic equipment and medium
CN107844488A (en)Data query method and apparatus
CN108932640A (en)Method and apparatus for handling order
CN109885593A (en)Method and apparatus for handling information
CN110365745A (en)Data processing system, method, apparatus, server and computer-readable medium
CN110297995A (en)Method and apparatus for Information on Collection
CN113722007A (en)Configuration method, device and system of VPN branch equipment
US10757216B1 (en)Group profiles for group item recommendations
CN111222067B (en)Information generation method and device
US10185747B2 (en)Presenting publisher data sets in context
CN105243100B (en)Map rendering method provides the method and device of post-processing object information
CN109582580A (en)For debugging system, the method and apparatus of the page
CN110147368A (en)Data capture method and device for server
US20240061702A1 (en)Method and system for collecting user information according to providing virtual desktop infrastructure service
CN109426998A (en)Information-pushing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20190716


[8]ページ先頭

©2009-2025 Movatter.jp